org.ow2.jonas.tests.applications.connectionsleaks
Class ConnectionLeakServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.ow2.jonas.tests.applications.connectionsleaks.ConnectionLeakServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class ConnectionLeakServlet
extends HttpServlet

This class is getting a JDBC connection and forgot to close the SQL Connection

Author:
Florent Benoit
See Also:
Serialized Form

Constructor Summary
ConnectionLeakServlet()
           
 
Method Summary
protected  void doGet(HttpServletRequest req, HttpServletResponse response)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionLeakServlet

public ConnectionLeakServlet()
Method Detail

doGet

protected void doGet(HttpServletRequest req,
                     HttpServletResponse response)
              throws ServletException,
                     IOException
Overrides:
doGet in class HttpServlet
Throws:
ServletException
IOException


Copyright © 2010 OW2 Consortium. All Rights Reserved.