[jboss-user] [JCA/JBoss] - Re: Message DB + Oracle database connection count problems

adrian@jboss.org do-not-reply at jboss.com
Wed Jul 25 14:33:32 EDT 2007


"sks4jboss" wrote : 
  |     So does this means that this is an example of not closing the connection ? (This should definitely help in finding out when the connections are not closed.) 
  | 

The stacktrace is where the connection was allocated not where the current thread is

It does point to one place where JBoss does NOT do connection close checking
(in servlet initialization).


  | {org.jboss.resource.adapter.jdbc.WrappedConnection at 10e0edb=java.lang.Exception: STACKTRACE
  | at org.jboss.resource.connectionmanager.CachedConnectionManager.registerConnection(CachedConnectionManager.java:321)
  | at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:467)
  | at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:874)
  | at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:103)
  | at com.mobilgw.sam.common.WFComponentFactory.(WFComponentFactory.java:123)
  | .............
  | .............
  | at javax.servlet.GenericServlet.init(GenericServlet.java:211)
  | at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
  | at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
  | at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3857)
  | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4118)
  | at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
  | at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
  | at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) 
  | 

Feature request:
http://jira.jboss.com/jira/browse/JBAS-4581

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067549#4067549

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067549



More information about the jboss-user mailing list