1 Reply Latest reply on Apr 11, 2013 3:36 AM by Jeff Mesnil

    EAP 6.1.0 JMS warnings

    mike just Master

      I am using JBoss EAP 6.1.0 version. And I am seeing this kind of warnings when there are a lot of MDB messages being processed. This didnot happen in 7.1.1 version I used before. Could this be avoided or resolved?

       

       

      2013-04-01 13:48:29,593;[Finalizer];WARN ;org.hornetq.jms.client;HQ122008: I'm c
      losing a JMS connection you left open. Please make sure you close all JMS connec
      tions explicitly before letting them go out of scope!see stacktrace to find out
      where it was created: java.lang.Exception
              at org.hornetq.jms.client.HornetQConnection.<init>(HornetQConnection.jav
      a:146)
              at org.hornetq.jms.client.HornetQConnectionFactory.createConnectionInter
      nal(HornetQConnectionFactory.java:646)
              at org.hornetq.jms.client.HornetQConnectionFactory.createQueueConnection
      (HornetQConnectionFactory.java:119)
              at org.hornetq.jms.client.HornetQConnectionFactory.createQueueConnection
      (HornetQConnectionFactory.java:114)
              at com.globalsight.cxe.adaptermdb.BaseAdapterMDB.onMessage(BaseAdapterMD
      B.java:182)
              at sun.reflect.GeneratedMethodAccessor910.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$Ma
      nagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodIntercep
      torFactory.java:72)
              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.ja
      va:288)
              at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterc
      eptor.java:53)
              at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.proce
      ssInvocation(UserInterceptorFactory.java:58)
              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.ja
      va:288)
              at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterc
      eptor.java:53)
              at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.proce
      ssInvocation(UserInterceptorFactory.java:58)
              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.ja
      va:288)
              at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeIntercepto
      r.processInvocation(ExecutionTimeInterceptor.java:43)
              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.ja
      va:288)
              at org.jboss.as.ejb3.tx.EjbBMTInterceptor.handleInvocation(EjbBMTInterce
      ptor.java:104)
              at org.jboss.as.ejb3.tx.BMTInterceptor.processInvocation(BMTInterceptor.
      java:56)
              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.ja
      va:288)
              at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInte
      rceptor.java:21)
              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.ja
      va:288)
              at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInte
      rceptor.java:61)
              at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor
      .processInvocation(ComponentDispatcherInterceptor.java:53)
              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.ja
      va:288)
              at org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInv
      ocation(PooledInstanceInterceptor.java:51)
              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.ja
      va:288)
              at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInte
      rceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.ja
      va:288)
              at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1
      .processInvocation(ShutDownInterceptorFactory.java:64)
              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.ja
      va:288)
              at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processIn
      vocation(LoggingInterceptor.java:59)
              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.ja
      va:288)
              at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocati
      on(NamespaceContextInterceptor.java:50)
              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.ja
      va:288)
              at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.p
      rocessInvocation(AdditionalSetupInterceptor.java:65)
              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.ja
      va:288)
              at org.jboss.as.ejb3.component.messagedriven.MessageDrivenComponentDescr
      iption$5$1.processInvocation(MessageDrivenComponentDescription.java:196)
              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.ja
      va:288)
              at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInter
      ceptor.java:45)
              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.ja
      va:288)
              at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInte
      rceptor.java:61)
              at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:16
      5)
              at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDes
      cription.java:182)
              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.ja
      va:288)
              at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInte
      rceptor.java:61)
              at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocati
      onHandler.java:72)
              at javax.jms.MessageListener$$$view26.onMessage(Unknown Source)
              at sun.reflect.GeneratedMethodAccessor229.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.as.ejb3.inflow.MessageEndpointInvocationHandler.doInvoke(Me
      ssageEndpointInvocationHandler.java:140)
              at org.jboss.as.ejb3.inflow.AbstractInvocationHandler.invoke(AbstractInv
      ocationHandler.java:73)
              at $Proxy14.onMessage(Unknown Source)
              at org.hornetq.ra.inflow.HornetQMessageHandler.onMessage(HornetQMessageH
      andler.java:313)
              at org.hornetq.core.client.impl.ClientConsumerImpl.callOnMessage(ClientC
      onsumerImpl.java:1016)
              at org.hornetq.core.client.impl.ClientConsumerImpl.access$400(ClientCons
      umerImpl.java:52)
              at org.hornetq.core.client.impl.ClientConsumerImpl$Runner.run(ClientCons
      umerImpl.java:1161)
              at org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(Ordere
      dExecutorFactory.java:106)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
      utor.java:885)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
      .java:907)
              at java.lang.Thread.run(Thread.java:619)
      
      
        • 1. Re: EAP 6.1.0 JMS warnings
          Jeff Mesnil Master

          mike just wrote:

           

          I am using JBoss EAP 6.1.0 version. And I am seeing this kind of warnings when there are a lot of MDB messages being processed. This didnot happen in 7.1.1 version I used before. Could this be avoided or resolved?

           

           

          2013-04-01 13:48:29,593;[Finalizer];WARN ;org.hornetq.jms.client;HQ122008: I'm c
          losing a JMS connection you left open. Please make sure you close all JMS connec
          tions explicitly before letting them go out of scope!see stacktrace to find out
          where it was created: java.lang.Exception
                  at org.hornetq.jms.client.HornetQConnection.<init>(HornetQConnection.jav
          a:146)
                  at org.hornetq.jms.client.HornetQConnectionFactory.createConnectionInter
          nal(HornetQConnectionFactory.java:646)
                  at org.hornetq.jms.client.HornetQConnectionFactory.createQueueConnection
          (HornetQConnectionFactory.java:119)
                  at org.hornetq.jms.client.HornetQConnectionFactory.createQueueConnection
          (HornetQConnectionFactory.java:114)
                  at com.globalsight.cxe.adaptermdb.BaseAdapterMDB.onMessage(BaseAdapterMD
          B.java:182)

          The ConnectionFactory is created in your code in the BaseAdatperMDB class. It's up to you to close them properly to make this warning goes away.