Question:

I suspect I have a leak, can JBoss tell me where it is.

Answer;

Yes. For connections the configuration is in conf/transaction-service.xml

  | <attribute name="Debug">true</attribute>
  | 
For statements (and from 3.2.4 ResultSets) you can add the following to
your -ds.xml

  | <track-statements>true</track-statements>
  | 

In production you will want to turn these off. You should have found all your
leaks during development.
Also from 3.2.4 you will want to comment out the cached connection manager valve
that checks for unclosed connections in jsps/servlets.
This is in deploy/jbossweb-xxx.sar/server.xml

  |          <!-- Check for unclosed connections -->
  |         <Valve className="org.jboss.web.tomcat.tc5.jca.CachedConnectionValve"
  |             
cachedConnectionManagerObjectName="jboss.jca:service=CachedConnectionManager" />
  | 
  | 

<a 
href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825661#3825661";>View 
the original post</a>

<a 
href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825661>Reply 
to the post</a>


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to