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

sks4jboss do-not-reply at jboss.com
Thu Nov 15 01:03:43 EST 2007


Hi Adrian,

Problem reoccured again for us last nite. We managed to get listInUseConnections from CachedConnectionManager. Below is the output. It shows only  4 connections  . We haven't modified WeakHashMAp to HashMap. But in use connections still have the first connection created (So I believe that weakhashmap isnt loosing any data) .
Max configured connection is 130 and we ran out of Connections.

anonymous wrote : 
  | 
  | org.jboss.resource.adapter.jdbc.WrappedConnection at 12183f6=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:125)
  |         at com.mobilgw.sam.common.SAMconfigPropsMgr.(SAMconfigPropsMgr.java:53)
  |         at
  | com.mobilgw.sam.common.SAMconfigPropsMgr.getInstance(SAMconfigPropsMgr.java:36)
  |         at
  | com.mobilgw.sam.common.messaging.SAMMessagingInitialiserServ.init(SAMMessagingInitialiserServ.java:52)
  |         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)
  |         at
  | org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
  |         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  |         at
  | org.apache.catalina.core.StandardContext.init(StandardContext.java:5005)
  |         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)
  |         at
  | org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
  |         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  |         at
  | org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:274)
  |         at
  | org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:91)
  |         at
  | org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:357)
  |         at org.jboss.web.WebModule.startModule(WebModule.java:68)
  |         at org.jboss.web.WebModule.startService(WebModule.java:46)
  |         at
  | org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
  |         at
  | org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
  |         at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
  |         at
  | sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:324)
  |         at
  | org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  |         at
  | org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
  |         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  |         at
  | org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:897)
  |         at $Proxy0.start(Unknown Source)
  |         at org.jboss.system.ServiceController.start(ServiceController.java:418)
  |         at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
  |         at
  | sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:324)
  |         at
  | org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  |         at
  | org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
  |         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  |         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
  |         at $Proxy24.start(Unknown Source)
  |         at
  | org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:394)
  |         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
  |         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
  |         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
  |         at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
  |         at
  | sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:324)
  |         at
  | org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  |         at
  | org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  |         at
  | org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  |         at
  | org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
  |         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  |         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
  |         at $Proxy8.deploy(Unknown Source)
  |         at
  | org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:325)
  |         at
  | org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:501)
  |         at
  | org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
  |         at
  | org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:277)
  |         at
  | org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
  |         at
  | org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
  |         at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
  |         at
  | sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:324)
  |         at
  | org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  |         at
  | org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
  |         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  |         at
  | org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:897)
  |         at $Proxy0.start(Unknown Source)
  |         at org.jboss.system.ServiceController.start(ServiceController.java:418)
  |         at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
  |         at
  | sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:324)
  |         at
  | org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  |         at
  | org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
  |         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  |         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
  |         at $Proxy4.start(Unknown Source)
  |         at org.jboss.deployment.SARDeployer.start(SARDeployer.java:273)
  |         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
  |         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
  |         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
  |         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
  |         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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  |         at
  | org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  |         at
  | org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  |         at
  | org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
  |         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  |         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
  |         at $Proxy5.deploy(Unknown Source)
  |         at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:434)
  |         at org.jboss.system.server.ServerImpl.start(ServerImpl.java:315)
  |         at org.jboss.Main.boot(Main.java:195)
  |         at org.jboss.Main$1.run(Main.java:463)
  |         at java.lang.Thread.run(Thread.java:534)
  | , org.jboss.resource.adapter.jdbc.WrappedConnection at 231e5d=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.cp.celcom.WFCelcomComponentFactory.(WFCelcomComponentFactory.java:118)
  |         at
  | com.mobilgw.sam.plugin.celcom.CheckAllowBlacklist.checkSubscriberForAllowBlackList(CheckAllowBlacklist.java:193)
  |         at
  | com.mobilgw.sam.plugin.celcom.CheckAllowBlacklist.execute(CheckAllowBlacklist.java:113)
  |         at
  | com.mobilgw.sam.executionengine.adapter.JavaAdapterHandler.execute(JavaAdapterHandler.java:84)
  |         at
  | com.mobilgw.sam.executionengine.ExecutionEngine.execute(ExecutionEngine.java:551)
  |         at
  | com.mobilgw.sam.executionengine.ExecutionEngine.execute(ExecutionEngine.java:453)
  |         at
  | com.mobilgw.sam.executionengine.ExecutionEngine.execute(ExecutionEngine.java:448)
  |         at
  | com.mobilgw.sam.executionengine.ExecutionEngine.execute(ExecutionEngine.java:359)
  |         at
  | com.mobilgw.sam.executionengine.queue.SmsService.run(SmsService.java:575)
  |         at java.lang.Thread.run(Thread.java:534)
  | , org.jboss.resource.adapter.jdbc.WrappedConnection at 16253e=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.cp.celcom.WFCelcomComponentFactory.(WFCelcomComponentFactory.java:118)
  |         at
  | com.mobilgw.sam.plugin.celcom.CheckAllowBlacklist.checkSubscriberForAllowBlackList(CheckAllowBlacklist.java:193)
  |         at
  | com.mobilgw.sam.plugin.celcom.CheckAllowBlacklist.execute(CheckAllowBlacklist.java:113)
  |         at
  | com.mobilgw.sam.executionengine.adapter.JavaAdapterHandler.execute(JavaAdapterHandler.java:84)
  |         at
  | com.mobilgw.sam.executionengine.ExecutionEngine.execute(ExecutionEngine.java:551)
  |         at
  | com.mobilgw.sam.executionengine.ExecutionEngine.execute(ExecutionEngine.java:453)
  |         at
  | com.mobilgw.sam.executionengine.ExecutionEngine.execute(ExecutionEngine.java:448)
  |         at
  | com.mobilgw.sam.executionengine.ExecutionEngine.execute(ExecutionEngine.java:359)
  |         at
  | com.mobilgw.sam.executionengine.queue.SmsSubService.run(SmsSubService.java:482)
  |         at java.lang.Thread.run(Thread.java:534)
  | 
  | 

Thanks in Advance,
Suds

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

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



More information about the jboss-user mailing list