Uploaded image for project: 'Cloud Enablement'
  1. Cloud Enablement
  2. CLOUD-2455

[BxMS] ERROR IJ000315: Pool amq-ConnectionFactory has 1 active handles

XMLWordPrintable

    • Hide

      Disable connection tracking (add tracking="false" attribute to the <connection-definition> )

      Show
      Disable connection tracking (add tracking="false" attribute to the <connection-definition> )
    • CLOUD Maintenance Sprint 16

      Running multiple clients over A-MQ, the clients sometimes get no replies, with the following errors in the kieserver logs.

      It seems the problem is related to connection tracking, which is enabled by default on EAP 7. Disabling the connection tracking seems to work OK.

      See also https://issues.jboss.org/browse/JBEAP-2844

      10:32:37,289 ERROR [org.jboss.jca.core.connectionmanager.listener.TxConnectionListener] (default-threads - 2) IJ000315: Pool amq-ConnectionFactory has 1 active handles
      10:32:37,302 ERROR [org.jboss.jca.core.connectionmanager.listener.TxConnectionListener] (default-threads - 50) IJ000315: Pool amq-ConnectionFactory has 1 active handles
      10:32:37,308 ERROR [org.jboss.jca.core.connectionmanager.listener.TxConnectionListener] (default-threads - 49) IJ000315: Pool amq-ConnectionFactory has 1 active handles
      10:32:37,330 INFO  [stdout] (default-threads - 2) 19 Executing process instance 19 of process defitiontion: FactsProcess
      10:32:37,331 INFO  [stdout] (default-threads - 2) 19 Ending process node
      10:32:37,331 INFO  [stdout] (default-threads - 2) 19 Executing process instance 19 of process definition: FactsProcess
      10:32:37,332 INFO  [stdout] (default-threads - 2) 19 Ending process node
      10:32:37,337 INFO  [stdout] (default-threads - 2) generated id:'230a8108-0a36-402c-b233-fd3c80c1351f' for process: '19'
      10:32:37,338 INFO  [stdout] (default-threads - 50) 20 Executing process instance 20 of process defitiontion: FactsProcess
      10:32:37,338 INFO  [stdout] (default-threads - 50) 20 Ending process node
      10:32:37,339 INFO  [stdout] (default-threads - 50) 20 Executing process instance 20 of process definition: FactsProcess
      10:32:37,339 INFO  [stdout] (default-threads - 50) 20 Ending process node
      10:32:37,342 INFO  [stdout] (default-threads - 49) 21 Executing process instance 21 of process defitiontion: FactsProcess
      10:32:37,343 INFO  [stdout] (default-threads - 49) 21 Ending process node
      10:32:37,343 INFO  [stdout] (default-threads - 49) 21 Executing process instance 21 of process definition: FactsProcess
      10:32:37,344 INFO  [stdout] (default-threads - 49) 21 Ending process node
      10:32:37,351 INFO  [stdout] (default-threads - 50) generated id:'30993c4a-89d3-4970-ab3c-9d24fae35998' for process: '20'
      10:32:37,351 INFO  [stdout] (default-threads - 49) generated id:'5d43c1c6-42b0-4775-9a06-8abd39ae8a8f' for process: '21'
      10:32:37,351 ERROR [org.jboss.as.ejb3.invocation] (default-threads - 2) WFLYEJB0034: EJB Invocation failed on component KieServerMDB for method public void org.kie.server.jms.KieServerMDB.onMessage(javax.jms.Message): javax.ejb.EJBException: org.kie.server.jms.JMSRuntimeException: Unable to create response message or write to it [msg id: a8fa70dc-681a-4af9-9c6f-912a94c6e9e4].
      	at org.jboss.as.ejb3.tx.BMTInterceptor.handleException(BMTInterceptor.java:83)
      	at org.jboss.as.ejb3.tx.EjbBMTInterceptor.checkStatelessDone(EjbBMTInterceptor.java:91)
      	at org.jboss.as.ejb3.tx.EjbBMTInterceptor.handleInvocation(EjbBMTInterceptor.java:106)
      	at org.jboss.as.ejb3.tx.BMTInterceptor.processInvocation(BMTInterceptor.java:58)
      	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      	at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45)
      	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      	at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)
      	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      	at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
      	at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52)
      	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      	at org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51)
      	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      	at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437)
      	at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:73)
      	at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:83)
      	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      	at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
      	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      	at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:43)
      	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      	at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100)
      	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      	at org.jboss.as.ejb3.deployment.processors.StartupAwaitInterceptor.processInvocation(StartupAwaitInterceptor.java:22)
      	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      	at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)
      	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      	at org.jboss.as.ejb3.deployment.processors.EjbSuspendInterceptor.processInvocation(EjbSuspendInterceptor.java:53)
      	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      	at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:66)
      	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      	at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
      	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      	at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54)
      	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      	at org.jboss.as.ejb3.component.messagedriven.MessageDrivenComponentDescription$5$1.processInvocation(MessageDrivenComponentDescription.java:239)
      	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      	at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64)
      	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      	at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)
      	at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:632)
      	at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61)
      	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      	at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)
      	at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80)
      	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      	at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
      	at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198)
      	at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185)
      	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      	at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
      	at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73)
      	at org.kie.server.jms.KieServerMDB$$$view5.onMessage(Unknown Source)
      	at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.jboss.as.ejb3.inflow.MessageEndpointInvocationHandler.doInvoke(MessageEndpointInvocationHandler.java:139)
      	at org.jboss.as.ejb3.inflow.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:73)
      	at org.kie.server.jms.KieServerMDB$$$endpoint1.onMessage(Unknown Source)
      	at org.apache.activemq.ra.MessageEndpointProxy$MessageEndpointAlive.onMessage(MessageEndpointProxy.java:123)
      	at org.apache.activemq.ra.MessageEndpointProxy.onMessage(MessageEndpointProxy.java:64)
      	at org.apache.activemq.ActiveMQSession.run(ActiveMQSession.java:1041)
      	at org.apache.activemq.ra.ServerSessionImpl.run(ServerSessionImpl.java:169)
      	at org.jboss.jca.core.workmanager.WorkWrapper.run(WorkWrapper.java:223)
      	at org.jboss.threads.SimpleDirectExecutor.execute(SimpleDirectExecutor.java:33)
      	at org.jboss.threads.QueueExecutor.runTask(QueueExecutor.java:808)
      	at org.jboss.threads.QueueExecutor.access$100(QueueExecutor.java:45)
      	at org.jboss.threads.QueueExecutor$Worker.run(QueueExecutor.java:849)
      	at java.lang.Thread.run(Thread.java:748)
      	at org.jboss.threads.JBossThread.run(JBossThread.java:320)
      Caused by: org.kie.server.jms.JMSRuntimeException: Unable to create response message or write to it [msg id: a8fa70dc-681a-4af9-9c6f-912a94c6e9e4].
      	at org.kie.server.jms.KieServerMDB.marshallResponse(KieServerMDB.java:278)
      	at org.kie.server.jms.KieServerMDB.onMessage(KieServerMDB.java:216)
      	at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
      	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      	at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437)
      	at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:82)
      	at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:93)
      	at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
      	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      	at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437)
      	at org.openshift.kieserver.jms.redirect.RedirectInterceptor.doIntercept(RedirectInterceptor.java:190)
      	at sun.reflect.GeneratedMethodAccessor91.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptor.java:89)
      	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      	at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43)
      	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      	at org.jboss.as.ejb3.tx.EjbBMTInterceptor.handleInvocation(EjbBMTInterceptor.java:103)
      	... 68 more
      Caused by: javax.jms.IllegalStateException: The Session is closed
      	at org.apache.activemq.ra.ManagedSessionProxy.getSession(ManagedSessionProxy.java:99)
      	at org.apache.activemq.ra.ManagedSessionProxy.createTextMessage(ManagedSessionProxy.java:279)
      	at org.kie.server.jms.KieServerMDB.marshallResponse(KieServerMDB.java:274)
      	... 89 more
      
      

              rhn-support-fspolti Filippe Spolti
              maschmid@redhat.com Marek Schmidt
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: