javax.jms.JMSException: No currently active Session. This JMS provider cannot be used outside a MessageListener.onMessage() invocation

Oracle Community | b67addd7-d5b6-46f0-8b49-d7efb74ee4ac | 2 weeks ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    ActiveMQ-RA 5.7 deployment in Weblogic12c (Migration from JBoss)

    Oracle Community | 2 weeks ago | b67addd7-d5b6-46f0-8b49-d7efb74ee4ac
    javax.jms.JMSException: No currently active Session. This JMS provider cannot be used outside a MessageListener.onMessage() invocation
  2. 0

    ActiveMQ - User - XAException: Stopped

    nabble.com | 8 months ago
    javax.ejb.EJBTransactionRolledbackException
  3. 0

    'Invalid Session state' - MARC

    marc.info | 1 year ago
    javax.jms.JMSException: Wire format negociation timeout: peer did not send his wire format. at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:58) at org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1185) at org.apache.activemq.ActiveMQConnection.ensureConnectionInfoSent(ActiveMQConnection.jav \ a:1263) at org.apache.activemq.ActiveMQConnection.createSession(ActiveMQConnection.java:276) at org.apache.activemq.ra.ManagedConnectionProxy.createSessionProxy(ManagedConnectionProx \ y.java:116) at org.apache.activemq.ra.ManagedConnectionProxy.createSession(ManagedConnectionProxy.jav \ a:106) at org.springframework.jms.core.JmsTemplate.createSession(JmsTemplate.java:826) at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:420) at org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:476) at org.springframework.jms.core.JmsTemplate.convertAndSend(JmsTemplate.java:557) at org.springframework.jms.core.JmsTemplate.convertAndSend(JmsTemplate.java:548)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 9291#256178267

    GitHub | 4 months ago | wildfly-ci
    javax.ejb.EJBException: javax.jms.JMSRuntimeException: AMQ119016: Connection failure detected. Unblocking a blocking call that will never get a response

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.jms.JMSException

      No currently active Session. This JMS provider cannot be used outside a MessageListener.onMessage() invocation

      at org.apache.activemq.ra.InboundSessionProxy.getSessionAndProducer()
    2. ActiveMQ :: RA
      InboundSessionProxy.createQueue
      1. org.apache.activemq.ra.InboundSessionProxy.getSessionAndProducer(InboundSessionProxy.java:82)[?:?]
      2. org.apache.activemq.ra.InboundSessionProxy.getSession(InboundSessionProxy.java:57)[?:?]
      3. org.apache.activemq.ra.InboundSessionProxy.createQueue(InboundSessionProxy.java:169)[?:?]
      3 frames
    3. com.comps.messaging
      ActiveMQPublisherImpl.sendMessage
      1. com.comps.messaging.ActiveMQPublisherImpl.sendMessage(ActiveMQPublisherImpl.java:567)[comps_messaging.jar:?]
      1 frame
    4. com.comps.service
      TNMigrationServices.processRequest
      1. com.comps.service.tnmigration.sync.delegate.RequestSender.sendRequest(RequestSender.java:42)[TNMigrationWS.jar:?]
      2. com.comps.service.tnmigration.sync.delegate.TNMigrationServices.processRequest(TNMigrationServices.java:38)[TNMigrationWS.jar:?]
      2 frames
    5. com.comps.tnmigration
      TNMigrationWSImpl.reserveTN
      1. com.comps.tnmigration.ws.TNMigrationWSImpl.reserveTN(TNMigrationWSImpl.java:394)[_wl_cls_gen.jar:?]
      1 frame
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_112]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[?:1.8.0_112]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_112]
      4. java.lang.reflect.Method.invoke(Method.java:498)[?:1.8.0_112]
      4 frames
    7. weblogic.wsee.jaxws
      WLSInstanceResolver$WLSInvoker.invoke
      1. weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker.invoke(WLSInstanceResolver.java:120)[com.oracle.webservices.wls.wls-soap-stack-impl.jar:?]
      2. weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker.invoke(WLSInstanceResolver.java:93)[com.oracle.webservices.wls.wls-soap-stack-impl.jar:?]
      2 frames
    8. JAX-WS RI Runtime Bundle
      ServletAdapter.handle
      1. com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:149)[com.sun.xml.ws.jaxws-rt.jar:2.2.11-b150616.1732]
      2. com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:88)[com.sun.xml.ws.jaxws-rt.jar:2.2.11-b150616.1732]
      3. com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:1136)[com.sun.xml.ws.jaxws-rt.jar:2.2.11-b150616.1732]
      4. com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:1050)[com.sun.xml.ws.jaxws-rt.jar:2.2.11-b150616.1732]
      5. com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:1019)[com.sun.xml.ws.jaxws-rt.jar:2.2.11-b150616.1732]
      6. com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:877)[com.sun.xml.ws.jaxws-rt.jar:2.2.11-b150616.1732]
      7. com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:419)[com.sun.xml.ws.jaxws-rt.jar:2.2.11-b150616.1732]
      8. com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:868)[com.sun.xml.ws.jaxws-rt.jar:2.2.11-b150616.1732]
      9. com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:422)[com.sun.xml.ws.jaxws-rt.jar:2.2.11-b150616.1732]
      10. com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:169)[com.sun.xml.ws.jaxws-rt.jar:2.2.11-b150616.1732]
      10 frames
    9. weblogic.wsee.jaxws
      HttpServletAdapter$AuthorizedInvoke.run
      1. weblogic.wsee.jaxws.WLSServletAdapter.handle(WLSServletAdapter.java:229)[com.oracle.webservices.wls.wls-soap-stack-impl.jar:?]
      2. weblogic.wsee.jaxws.HttpServletAdapter$AuthorizedInvoke.run(HttpServletAdapter.java:667)[com.oracle.webservices.wls.wls-soap-stack-impl.jar:?]
      2 frames
    10. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:368)[com.oracle.weblogic.security.subject.jar:12.2.1.2]
      1 frame
    11. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:163)[com.oracle.weblogic.security.subject.jar:12.2.1.2]
      1 frame
    12. weblogic.wsee.util
      ServerSecurityHelper.authenticatedInvoke
      1. weblogic.wsee.util.ServerSecurityHelper.authenticatedInvoke(ServerSecurityHelper.java:108)[com.oracle.webservices.wls.wls-soap-stack-impl.jar:?]
      1 frame
    13. weblogic.wsee.jaxws
      JAXWSServlet.doRequest
      1. weblogic.wsee.jaxws.HttpServletAdapter$3.run(HttpServletAdapter.java:286)[com.oracle.webservices.wls.wls-soap-stack-impl.jar:?]
      2. weblogic.wsee.jaxws.HttpServletAdapter.post(HttpServletAdapter.java:295)[com.oracle.webservices.wls.wls-soap-stack-impl.jar:?]
      3. weblogic.wsee.jaxws.JAXWSServlet.doRequest(JAXWSServlet.java:128)[com.oracle.webservices.wls.wls-soap-stack-impl.jar:?]
      3 frames
    14. Atmosphere weblogic
      AbstractAsyncServlet.service
      1. weblogic.servlet.http.AbstractAsyncServlet.service(AbstractAsyncServlet.java:103)[com.bea.core.weblogic.web.api.jar:12.2.1.2]
      1 frame
    15. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:790)[javax.servlet.javax.servlet-api.jar:3.1.0]
      1 frame
    16. Atmosphere weblogic
      WebAppServletContext$ServletInvocationAction.run
      1. weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286)[com.oracle.weblogic.servlet.jar:12.2.1.2]
      2. weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)[com.oracle.weblogic.servlet.jar:12.2.1.2]
      3. weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)[com.oracle.weblogic.servlet.jar:12.2.1.2]
      4. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350)[com.oracle.weblogic.servlet.jar:12.2.1.2]
      5. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:247)[com.oracle.weblogic.servlet.jar:12.2.1.2]
      6. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3679)[com.oracle.weblogic.servlet.jar:12.2.1.2]
      7. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3649)[com.oracle.weblogic.servlet.jar:12.2.1.2]
      7 frames
    17. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)[com.oracle.weblogic.security.subject.jar:12.2.1.2]
      1 frame
    18. weblogic.security.service
      SecurityManager.runAsForUserCode
      1. weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:197)[com.oracle.weblogic.security.subject.jar:12.2.1.2]
      1 frame
    19. weblogic.servlet.provider
      WlsSubjectHandle.run
      1. weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)[com.oracle.weblogic.servlet.jar:12.2.1.2]
      2. weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)[com.oracle.weblogic.servlet.jar:12.2.1.2]
      2 frames
    20. Atmosphere weblogic
      ServletRequestImpl.run
      1. weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2433)[com.oracle.weblogic.servlet.jar:12.2.1.2]
      2. weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2281)[com.oracle.weblogic.servlet.jar:12.2.1.2]
      3. weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2259)[com.oracle.weblogic.servlet.jar:12.2.1.2]
      4. weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1691)[com.oracle.weblogic.servlet.jar:12.2.1.2]
      5. weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1651)[com.oracle.weblogic.servlet.jar:12.2.1.2]
      5 frames
    21. weblogic.servlet.provider
      ContainerSupportProviderImpl$WlsRequestExecutor.run
      1. weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:270)[com.oracle.weblogic.servlet.jar:12.2.1.2]
      1 frame
    22. weblogic.invocation
      ComponentInvocationContextManager.runAs
      1. weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)[com.bea.core.utils.full.jar:12.2.1.2]
      2. weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)[com.bea.core.utils.full.jar:12.2.1.2]
      2 frames
    23. weblogic.work
      ExecuteThread.run
      1. weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)[com.oracle.weblogic.work.jar:12.2.1.2]
      2. weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)[com.bea.core.weblogic.workmanager.jar:12.2.1.2]
      3. weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:640)[com.bea.core.weblogic.workmanager.jar:12.2.1.2]
      4. weblogic.work.ExecuteThread.execute(ExecuteThread.java:406)[com.bea.core.weblogic.workmanager.jar:12.2.1.2]
      5. weblogic.work.ExecuteThread.run(ExecuteThread.java:346)[com.bea.core.weblogic.workmanager.jar:12.2.1.2]
      5 frames