JMS consumer to provider route fails without DEBUG logging enabled
------------------------------------------------------------------
Key: SMXCOMP-468
URL: https://issues.apache.org/activemq/browse/SMXCOMP-468
Project: ServiceMix Components
Issue Type: Bug
Components: servicemix-jms
Affects Versions: 3.2.3
Reporter: Gert Vanthienen
Assignee: Gert Vanthienen
Fix For: 3.2.4
When running a JMS consumer to JMS provider route and DEBUG logging has not
been enabled, you run into:
{noformat}
16:07:17,057 | INFO | pool-flow.seda.servicemix-jms-thread-1 |
PhaseInterceptorChain | oap.core.PhaseInterceptorChain 89 | Interceptor has
thrown exception, unwinding now
org.apache.servicemix.soap.api.Fault: javax.xml.stream.XMLStreamException: Can
not create StAX reader for the Source passed - neither reader, input stream nor
system id was accessible; can not use other types of sources (like embedded SAX
streams)
at org.apache.servicemix.soap.util.stax.StaxUtil.createReader(StaxUtil.java:75)
at
org.apache.servicemix.soap.interceptors.xml.BodyOutInterceptor.handleMessage(BodyOutInterceptor.java:37)
at
org.apache.servicemix.soap.core.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:85)
at
org.apache.servicemix.soap.interceptors.xml.StaxOutInterceptor.handleMessage(StaxOutInterceptor.java:51)
at
org.apache.servicemix.soap.core.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:85)
at
org.apache.servicemix.jms.endpoints.DefaultProviderMarshaler.createMessage(DefaultProviderMarshaler.java:75)
at
org.apache.servicemix.jms.endpoints.JmsProviderEndpoint.processInOnlyInSession(JmsProviderEndpoint.java:546)
at
org.apache.servicemix.jms.endpoints.JmsProviderEndpoint$1.doInJms(JmsProviderEndpoint.java:516)
at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:437)
at
org.apache.servicemix.jms.endpoints.JmsProviderEndpoint.processInOnly(JmsProviderEndpoint.java:527)
at
org.apache.servicemix.jms.endpoints.JmsProviderEndpoint.process(JmsProviderEndpoint.java:484)
at
org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:540)
at
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:492)
at
org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:623)
at
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.xml.stream.XMLStreamException: Can not create StAX reader for
the Source passed - neither reader, input stream nor system id was accessible;
can not use other types of sources (like embedded SAX streams)
at com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:768)
at
com.ctc.wstx.stax.WstxInputFactory.createXMLStreamReader(WstxInputFactory.java:341)
at org.apache.servicemix.soap.util.stax.StaxUtil.createReader(StaxUtil.java:73)
... 20 more
{noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.