cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Huy Xuan Truong (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-6410) SOAP over JMS does not work on Spring 4, Apache CXF 3.0+
Date Tue, 19 May 2015 03:31:59 GMT
Huy Xuan Truong created CXF-6410:
------------------------------------

             Summary: SOAP over JMS does not work on Spring 4, Apache CXF 3.0+
                 Key: CXF-6410
                 URL: https://issues.apache.org/jira/browse/CXF-6410
             Project: CXF
          Issue Type: Bug
          Components: JMS
    Affects Versions: 3.0.5, 3.1.0
         Environment: Java 1.7, Spring Boot 1.2.3.RELEASE, Undertow web server, cxf-rt-transports-jms
version 3.0.5, cxf-rt-frontend-jaxws version 3.0.5, activemq-camel version 5.10.0
            Reporter: Huy Xuan Truong


When using SOAP over JMS on Spring 4+ & Apache CXF 3.0+, client can not send message to
the queue. Clients throws out this exception:

java.lang.RuntimeException: Could not create Transport. Reason: java.io.IOException: Transport
not scheme specified: [null]
	at org.apache.cxf.transport.jms.util.JMSUtil.convertJmsException(JMSUtil.java:68)
	at org.apache.cxf.transport.jms.JMSConduit.sendExchange(JMSConduit.java:162)
	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:307)
	at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:516)
	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:425)
	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:326)
	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:279)
	at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
	at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:138)
	at com.sun.proxy.$Proxy22.doORC(Unknown Source)
	at com.sps.vn.ocr.proxy.controller.OcrController$1.call(OcrController.java:86)
	at com.sps.vn.ocr.proxy.controller.OcrController$1.call(OcrController.java:1)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
Caused by: javax.jms.JMSException: Could not create Transport. Reason: java.io.IOException:
Transport not scheme specified: [null]
	at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:36)
	at org.apache.activemq.ActiveMQConnectionFactory.createTransport(ActiveMQConnectionFactory.java:317)
	at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:330)
	at org.apache.activemq.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:251)
	at org.apache.cxf.transport.jms.JMSFactory.createConnection(JMSFactory.java:102)
	at org.apache.cxf.transport.jms.JMSConduit.getConnection(JMSConduit.java:109)
	at org.apache.cxf.transport.jms.JMSConduit.sendExchange(JMSConduit.java:139)
	... 19 common frames omitted
Caused by: java.io.IOException: Transport not scheme specified: [null]
	at org.apache.activemq.transport.TransportFactory.findTransportFactory(TransportFactory.java:172)
	at org.apache.activemq.transport.TransportFactory.connect(TransportFactory.java:63)
	at org.apache.activemq.ActiveMQConnectionFactory.createTransport(ActiveMQConnectionFactory.java:315)
	... 24 common frames omitted



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message