Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-12667

[GSS](7.4.z) java.lang.RuntimeException: MQJCA1018: Only one session per connection is allowed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.4.5.GA
    • None
    • Web Services
    • None

      When using a JAX-WS Client to call a SOAP Webservice over JMS by using the Messaging Provider IBM WebSphere MQ. The WebService Provider of JBoss EAP (Apache CXF) produces an exception:

      2017-05-09 09:31:20,030 WARNING [org.apache.cxf.phase.PhaseInterceptorChain] (default task-3) Interceptor for

      {http://schema.hdigerling.de/testanwendung/kurzesLesen}

      kurzesLesen#

      {http://schema.hdigerling.de/testanwendung/kurzesLesen}
      kurzesLesen has thrown exception, unwinding now: java.lang.RuntimeException: MQJCA1018: Only one session per connection is allowed.
       at org.apache.cxf.transport.jms.util.JMSUtil.convertJmsException(JMSUtil.java:65)
       at org.apache.cxf.transport.jms.util.MessageListenerContainer.start(MessageListenerContainer.java:66)
       at org.apache.cxf.transport.jms.JMSConduit.setupReplyDestination(JMSConduit.java:183)
       at org.apache.cxf.transport.jms.JMSConduit.sendAndReceiveMessage(JMSConduit.java:195)
       at org.apache.cxf.transport.jms.JMSConduit.sendExchange(JMSConduit.java:145)
       at org.apache.cxf.transport.jms.MessageStreamUtil$SendingOutputStream.doClose(MessageStreamUtil.java:81)
       at org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:212)
       at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
       at org.apache.cxf.transport.jms.JMSConduit.close(JMSConduit.java:101)
       at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
       at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
       at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514)
       at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423)
       at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:324)
       at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:277)
       at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
       at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:139) 

        1. standalone-full-wmq.xml
          27 kB
          Brad Maxwell

              spyrkob Bartosz Spyrko-Smietanko
              rhn-support-bmaxwell Brad Maxwell
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: