You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Gert Vanthienen (JIRA)" <ji...@apache.org> on 2009/03/02 11:17:59 UTC

[jira] Created: (SMXCOMP-468) JMS consumer to provider route fails without DEBUG logging enabled

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.


[jira] Work started: (SMXCOMP-468) JMS consumer to provider route fails without DEBUG logging enabled

Posted by "Gert Vanthienen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMXCOMP-468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on SMXCOMP-468 started by Gert Vanthienen.

> 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.


[jira] Resolved: (SMXCOMP-468) JMS consumer to provider route fails without DEBUG logging enabled

Posted by "Gert Vanthienen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMXCOMP-468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gert Vanthienen resolved SMXCOMP-468.
-------------------------------------

    Resolution: Fixed

Fixed in http://svn.eu.apache.org/viewvc?view=rev&revision=749257

This issue had already been fixed in trunk, so I only added the additional unit tests there in http://svn.eu.apache.org/viewvc?view=rev&revision=749259 and http://svn.eu.apache.org/viewvc?view=rev&revision=749260


> 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.