You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Ron Gavlin (JIRA)" <ji...@apache.org> on 2008/08/10 08:14:52 UTC

[jira] Created: (SM-1508) servicemix-cxf service with outbound attachment and jms transport generates XMLStreamReader error

servicemix-cxf service with outbound attachment and jms transport generates XMLStreamReader error
-------------------------------------------------------------------------------------------------

                 Key: SM-1508
                 URL: https://issues.apache.org/activemq/browse/SM-1508
             Project: ServiceMix
          Issue Type: Bug
          Components: servicemix-cxf-bc, servicemix-cxf-se
    Affects Versions: 3.2.2
         Environment: Apache SMX 3.2.2, Windows XP, Sun JDK 1.5.0_12
            Reporter: Ron Gavlin
            Priority: Critical
         Attachments: cxf-wsdl-first-http2jms-bridge.zip

Modified cxf-wsdl-first with outbound attachment and jms transport generates XMLStreamReader error. See stack trace below. A sample test case has been attached. FYI, this test case works when run on IONA FUSE ESB 3.3.1.0. It is broken when run on IONA FUSE ESB 3.3.1.3 and Apache SMX 3.2.2.

Aug 10, 2008 2:06:54 AM org.apache.cxf.transport.jms.JMSDestination$JMSExecutor run
INFO: run the incoming message in the threadpool
Aug 10, 2008 2:06:54 AM org.apache.cxf.transport.jbi.JBITransportFactory setDeliveryChannel
INFO: configuring DeliveryChannel:      org.apache.servicemix.common.EndpointDeliveryChannel@14790be
Aug 10, 2008 2:06:56 AM org.apache.cxf.transport.jbi.JBITransportFactory setDeliveryChannel
INFO: configuring DeliveryChannel:      org.apache.servicemix.common.EndpointDeliveryChannel@14790be
Aug 10, 2008 2:06:56 AM org.apache.cxf.phase.PhaseInterceptorChain doIntercept
INFO: Interceptor has thrown exception, unwinding now
org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader.
        at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:183)

        at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:54)
        at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:221)
        at org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:141)
        at org.apache.cxf.transport.jms.JMSConduit$JMSOutputStream.handleResponse(JMSConduit.java:388)
        at org.apache.cxf.transport.jms.JMSConduit$JMSOutputStream.doClose(JMSConduit.java:258)
        at org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:156)
        at org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:230)
        at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
        at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
        at org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
        at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
        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: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '-' (code 45) in prolog; expected '<'
 at [row,col {unknown-source}]: [2,1]
        at com.ctc.wstx.sr.StreamScanner.throwUnexpectedChar(StreamScanner.java:623)
        at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2047)
        at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1069)
        at com.ctc.wstx.sr.BasicStreamReader.nextTag(BasicStreamReader.java:1095)
        at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:83)
        ... 17 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SM-1508) servicemix-cxf service with outbound attachment and jms transport generates XMLStreamReader error

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

Freeman Fang resolved SM-1508.
------------------------------

    Fix Version/s: 3.2.3
       Resolution: Fixed

commit fix
http://svn.apache.org/viewvc?rev=687364&view=rev
Besides fix in servicemix, we also need fix for CXF-1755

> servicemix-cxf service with outbound attachment and jms transport generates XMLStreamReader error
> -------------------------------------------------------------------------------------------------
>
>                 Key: SM-1508
>                 URL: https://issues.apache.org/activemq/browse/SM-1508
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-cxf-bc, servicemix-cxf-se
>    Affects Versions: 3.2.2
>         Environment: Apache SMX 3.2.2, Windows XP, Sun JDK 1.5.0_12
>            Reporter: Ron Gavlin
>            Assignee: Freeman Fang
>            Priority: Critical
>             Fix For: 3.2.3
>
>         Attachments: cxf-wsdl-first-http2jms-bridge.zip
>
>
> Modified cxf-wsdl-first with outbound attachment and jms transport generates XMLStreamReader error. See stack trace below. A sample test case has been attached. FYI, this test case works when run on IONA FUSE ESB 3.3.1.0. It is broken when run on IONA FUSE ESB 3.3.1.3 and Apache SMX 3.2.2.
> Aug 10, 2008 2:06:54 AM org.apache.cxf.transport.jms.JMSDestination$JMSExecutor run
> INFO: run the incoming message in the threadpool
> Aug 10, 2008 2:06:54 AM org.apache.cxf.transport.jbi.JBITransportFactory setDeliveryChannel
> INFO: configuring DeliveryChannel:      org.apache.servicemix.common.EndpointDeliveryChannel@14790be
> Aug 10, 2008 2:06:56 AM org.apache.cxf.transport.jbi.JBITransportFactory setDeliveryChannel
> INFO: configuring DeliveryChannel:      org.apache.servicemix.common.EndpointDeliveryChannel@14790be
> Aug 10, 2008 2:06:56 AM org.apache.cxf.phase.PhaseInterceptorChain doIntercept
> INFO: Interceptor has thrown exception, unwinding now
> org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader.
>         at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:183)
>         at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:54)
>         at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:221)
>         at org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:141)
>         at org.apache.cxf.transport.jms.JMSConduit$JMSOutputStream.handleResponse(JMSConduit.java:388)
>         at org.apache.cxf.transport.jms.JMSConduit$JMSOutputStream.doClose(JMSConduit.java:258)
>         at org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:156)
>         at org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:230)
>         at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>         at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>         at org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>         at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>         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: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '-' (code 45) in prolog; expected '<'
>  at [row,col {unknown-source}]: [2,1]
>         at com.ctc.wstx.sr.StreamScanner.throwUnexpectedChar(StreamScanner.java:623)
>         at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2047)
>         at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1069)
>         at com.ctc.wstx.sr.BasicStreamReader.nextTag(BasicStreamReader.java:1095)
>         at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:83)
>         ... 17 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SM-1508) servicemix-cxf service with outbound attachment and jms transport generates XMLStreamReader error

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45115#action_45115 ] 

Freeman Fang commented on SM-1508:
----------------------------------

commit fix 
http://svn.apache.org/viewvc?rev=687947&view=rev for trunk

> servicemix-cxf service with outbound attachment and jms transport generates XMLStreamReader error
> -------------------------------------------------------------------------------------------------
>
>                 Key: SM-1508
>                 URL: https://issues.apache.org/activemq/browse/SM-1508
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-cxf-bc, servicemix-cxf-se
>    Affects Versions: 3.2.2
>         Environment: Apache SMX 3.2.2, Windows XP, Sun JDK 1.5.0_12
>            Reporter: Ron Gavlin
>            Assignee: Freeman Fang
>            Priority: Critical
>             Fix For: 3.2.3
>
>         Attachments: cxf-wsdl-first-http2jms-bridge.zip
>
>
> Modified cxf-wsdl-first with outbound attachment and jms transport generates XMLStreamReader error. See stack trace below. A sample test case has been attached. FYI, this test case works when run on IONA FUSE ESB 3.3.1.0. It is broken when run on IONA FUSE ESB 3.3.1.3 and Apache SMX 3.2.2.
> Aug 10, 2008 2:06:54 AM org.apache.cxf.transport.jms.JMSDestination$JMSExecutor run
> INFO: run the incoming message in the threadpool
> Aug 10, 2008 2:06:54 AM org.apache.cxf.transport.jbi.JBITransportFactory setDeliveryChannel
> INFO: configuring DeliveryChannel:      org.apache.servicemix.common.EndpointDeliveryChannel@14790be
> Aug 10, 2008 2:06:56 AM org.apache.cxf.transport.jbi.JBITransportFactory setDeliveryChannel
> INFO: configuring DeliveryChannel:      org.apache.servicemix.common.EndpointDeliveryChannel@14790be
> Aug 10, 2008 2:06:56 AM org.apache.cxf.phase.PhaseInterceptorChain doIntercept
> INFO: Interceptor has thrown exception, unwinding now
> org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader.
>         at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:183)
>         at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:54)
>         at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:221)
>         at org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:141)
>         at org.apache.cxf.transport.jms.JMSConduit$JMSOutputStream.handleResponse(JMSConduit.java:388)
>         at org.apache.cxf.transport.jms.JMSConduit$JMSOutputStream.doClose(JMSConduit.java:258)
>         at org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:156)
>         at org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:230)
>         at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>         at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>         at org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>         at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>         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: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '-' (code 45) in prolog; expected '<'
>  at [row,col {unknown-source}]: [2,1]
>         at com.ctc.wstx.sr.StreamScanner.throwUnexpectedChar(StreamScanner.java:623)
>         at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2047)
>         at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1069)
>         at com.ctc.wstx.sr.BasicStreamReader.nextTag(BasicStreamReader.java:1095)
>         at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:83)
>         ... 17 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SM-1508) servicemix-cxf service with outbound attachment and jms transport generates XMLStreamReader error

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

Guillaume Nodet updated SM-1508:
--------------------------------

    Fix Version/s: servicemix-cxf-bc-2008.01

> servicemix-cxf service with outbound attachment and jms transport generates XMLStreamReader error
> -------------------------------------------------------------------------------------------------
>
>                 Key: SM-1508
>                 URL: https://issues.apache.org/activemq/browse/SM-1508
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-cxf-bc, servicemix-cxf-se
>    Affects Versions: 3.2.2
>         Environment: Apache SMX 3.2.2, Windows XP, Sun JDK 1.5.0_12
>            Reporter: Ron Gavlin
>            Assignee: Freeman Fang
>            Priority: Critical
>             Fix For: 3.2.3, 3.3, servicemix-cxf-bc-2008.01
>
>         Attachments: cxf-wsdl-first-http2jms-bridge.zip
>
>
> Modified cxf-wsdl-first with outbound attachment and jms transport generates XMLStreamReader error. See stack trace below. A sample test case has been attached. FYI, this test case works when run on IONA FUSE ESB 3.3.1.0. It is broken when run on IONA FUSE ESB 3.3.1.3 and Apache SMX 3.2.2.
> Aug 10, 2008 2:06:54 AM org.apache.cxf.transport.jms.JMSDestination$JMSExecutor run
> INFO: run the incoming message in the threadpool
> Aug 10, 2008 2:06:54 AM org.apache.cxf.transport.jbi.JBITransportFactory setDeliveryChannel
> INFO: configuring DeliveryChannel:      org.apache.servicemix.common.EndpointDeliveryChannel@14790be
> Aug 10, 2008 2:06:56 AM org.apache.cxf.transport.jbi.JBITransportFactory setDeliveryChannel
> INFO: configuring DeliveryChannel:      org.apache.servicemix.common.EndpointDeliveryChannel@14790be
> Aug 10, 2008 2:06:56 AM org.apache.cxf.phase.PhaseInterceptorChain doIntercept
> INFO: Interceptor has thrown exception, unwinding now
> org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader.
>         at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:183)
>         at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:54)
>         at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:221)
>         at org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:141)
>         at org.apache.cxf.transport.jms.JMSConduit$JMSOutputStream.handleResponse(JMSConduit.java:388)
>         at org.apache.cxf.transport.jms.JMSConduit$JMSOutputStream.doClose(JMSConduit.java:258)
>         at org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:156)
>         at org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:230)
>         at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>         at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>         at org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>         at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>         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: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '-' (code 45) in prolog; expected '<'
>  at [row,col {unknown-source}]: [2,1]
>         at com.ctc.wstx.sr.StreamScanner.throwUnexpectedChar(StreamScanner.java:623)
>         at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2047)
>         at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1069)
>         at com.ctc.wstx.sr.BasicStreamReader.nextTag(BasicStreamReader.java:1095)
>         at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:83)
>         ... 17 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SM-1508) servicemix-cxf service with outbound attachment and jms transport generates XMLStreamReader error

Posted by "Ron Gavlin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45068#action_45068 ] 

Ron Gavlin commented on SM-1508:
--------------------------------

FYI, I suspect SM-1336 is responsible for this regression.

This is a showstopper issue for us. If someone could take a look at it, it would be greatly appreciated.

Thanks,

- Ron

> servicemix-cxf service with outbound attachment and jms transport generates XMLStreamReader error
> -------------------------------------------------------------------------------------------------
>
>                 Key: SM-1508
>                 URL: https://issues.apache.org/activemq/browse/SM-1508
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-cxf-bc, servicemix-cxf-se
>    Affects Versions: 3.2.2
>         Environment: Apache SMX 3.2.2, Windows XP, Sun JDK 1.5.0_12
>            Reporter: Ron Gavlin
>            Priority: Critical
>         Attachments: cxf-wsdl-first-http2jms-bridge.zip
>
>
> Modified cxf-wsdl-first with outbound attachment and jms transport generates XMLStreamReader error. See stack trace below. A sample test case has been attached. FYI, this test case works when run on IONA FUSE ESB 3.3.1.0. It is broken when run on IONA FUSE ESB 3.3.1.3 and Apache SMX 3.2.2.
> Aug 10, 2008 2:06:54 AM org.apache.cxf.transport.jms.JMSDestination$JMSExecutor run
> INFO: run the incoming message in the threadpool
> Aug 10, 2008 2:06:54 AM org.apache.cxf.transport.jbi.JBITransportFactory setDeliveryChannel
> INFO: configuring DeliveryChannel:      org.apache.servicemix.common.EndpointDeliveryChannel@14790be
> Aug 10, 2008 2:06:56 AM org.apache.cxf.transport.jbi.JBITransportFactory setDeliveryChannel
> INFO: configuring DeliveryChannel:      org.apache.servicemix.common.EndpointDeliveryChannel@14790be
> Aug 10, 2008 2:06:56 AM org.apache.cxf.phase.PhaseInterceptorChain doIntercept
> INFO: Interceptor has thrown exception, unwinding now
> org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader.
>         at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:183)
>         at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:54)
>         at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:221)
>         at org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:141)
>         at org.apache.cxf.transport.jms.JMSConduit$JMSOutputStream.handleResponse(JMSConduit.java:388)
>         at org.apache.cxf.transport.jms.JMSConduit$JMSOutputStream.doClose(JMSConduit.java:258)
>         at org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:156)
>         at org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:230)
>         at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>         at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>         at org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>         at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>         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: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '-' (code 45) in prolog; expected '<'
>  at [row,col {unknown-source}]: [2,1]
>         at com.ctc.wstx.sr.StreamScanner.throwUnexpectedChar(StreamScanner.java:623)
>         at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2047)
>         at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1069)
>         at com.ctc.wstx.sr.BasicStreamReader.nextTag(BasicStreamReader.java:1095)
>         at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:83)
>         ... 17 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Work started: (SM-1508) servicemix-cxf service with outbound attachment and jms transport generates XMLStreamReader error

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

Work on SM-1508 started by Freeman Fang.

> servicemix-cxf service with outbound attachment and jms transport generates XMLStreamReader error
> -------------------------------------------------------------------------------------------------
>
>                 Key: SM-1508
>                 URL: https://issues.apache.org/activemq/browse/SM-1508
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-cxf-bc, servicemix-cxf-se
>    Affects Versions: 3.2.2
>         Environment: Apache SMX 3.2.2, Windows XP, Sun JDK 1.5.0_12
>            Reporter: Ron Gavlin
>            Assignee: Freeman Fang
>            Priority: Critical
>         Attachments: cxf-wsdl-first-http2jms-bridge.zip
>
>
> Modified cxf-wsdl-first with outbound attachment and jms transport generates XMLStreamReader error. See stack trace below. A sample test case has been attached. FYI, this test case works when run on IONA FUSE ESB 3.3.1.0. It is broken when run on IONA FUSE ESB 3.3.1.3 and Apache SMX 3.2.2.
> Aug 10, 2008 2:06:54 AM org.apache.cxf.transport.jms.JMSDestination$JMSExecutor run
> INFO: run the incoming message in the threadpool
> Aug 10, 2008 2:06:54 AM org.apache.cxf.transport.jbi.JBITransportFactory setDeliveryChannel
> INFO: configuring DeliveryChannel:      org.apache.servicemix.common.EndpointDeliveryChannel@14790be
> Aug 10, 2008 2:06:56 AM org.apache.cxf.transport.jbi.JBITransportFactory setDeliveryChannel
> INFO: configuring DeliveryChannel:      org.apache.servicemix.common.EndpointDeliveryChannel@14790be
> Aug 10, 2008 2:06:56 AM org.apache.cxf.phase.PhaseInterceptorChain doIntercept
> INFO: Interceptor has thrown exception, unwinding now
> org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader.
>         at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:183)
>         at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:54)
>         at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:221)
>         at org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:141)
>         at org.apache.cxf.transport.jms.JMSConduit$JMSOutputStream.handleResponse(JMSConduit.java:388)
>         at org.apache.cxf.transport.jms.JMSConduit$JMSOutputStream.doClose(JMSConduit.java:258)
>         at org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:156)
>         at org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:230)
>         at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>         at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>         at org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>         at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>         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: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '-' (code 45) in prolog; expected '<'
>  at [row,col {unknown-source}]: [2,1]
>         at com.ctc.wstx.sr.StreamScanner.throwUnexpectedChar(StreamScanner.java:623)
>         at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2047)
>         at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1069)
>         at com.ctc.wstx.sr.BasicStreamReader.nextTag(BasicStreamReader.java:1095)
>         at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:83)
>         ... 17 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (SM-1508) servicemix-cxf service with outbound attachment and jms transport generates XMLStreamReader error

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

Freeman Fang reassigned SM-1508:
--------------------------------

    Assignee: Freeman Fang

> servicemix-cxf service with outbound attachment and jms transport generates XMLStreamReader error
> -------------------------------------------------------------------------------------------------
>
>                 Key: SM-1508
>                 URL: https://issues.apache.org/activemq/browse/SM-1508
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-cxf-bc, servicemix-cxf-se
>    Affects Versions: 3.2.2
>         Environment: Apache SMX 3.2.2, Windows XP, Sun JDK 1.5.0_12
>            Reporter: Ron Gavlin
>            Assignee: Freeman Fang
>            Priority: Critical
>         Attachments: cxf-wsdl-first-http2jms-bridge.zip
>
>
> Modified cxf-wsdl-first with outbound attachment and jms transport generates XMLStreamReader error. See stack trace below. A sample test case has been attached. FYI, this test case works when run on IONA FUSE ESB 3.3.1.0. It is broken when run on IONA FUSE ESB 3.3.1.3 and Apache SMX 3.2.2.
> Aug 10, 2008 2:06:54 AM org.apache.cxf.transport.jms.JMSDestination$JMSExecutor run
> INFO: run the incoming message in the threadpool
> Aug 10, 2008 2:06:54 AM org.apache.cxf.transport.jbi.JBITransportFactory setDeliveryChannel
> INFO: configuring DeliveryChannel:      org.apache.servicemix.common.EndpointDeliveryChannel@14790be
> Aug 10, 2008 2:06:56 AM org.apache.cxf.transport.jbi.JBITransportFactory setDeliveryChannel
> INFO: configuring DeliveryChannel:      org.apache.servicemix.common.EndpointDeliveryChannel@14790be
> Aug 10, 2008 2:06:56 AM org.apache.cxf.phase.PhaseInterceptorChain doIntercept
> INFO: Interceptor has thrown exception, unwinding now
> org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader.
>         at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:183)
>         at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:54)
>         at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:221)
>         at org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:141)
>         at org.apache.cxf.transport.jms.JMSConduit$JMSOutputStream.handleResponse(JMSConduit.java:388)
>         at org.apache.cxf.transport.jms.JMSConduit$JMSOutputStream.doClose(JMSConduit.java:258)
>         at org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:156)
>         at org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:230)
>         at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>         at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>         at org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>         at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>         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: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '-' (code 45) in prolog; expected '<'
>  at [row,col {unknown-source}]: [2,1]
>         at com.ctc.wstx.sr.StreamScanner.throwUnexpectedChar(StreamScanner.java:623)
>         at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2047)
>         at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1069)
>         at com.ctc.wstx.sr.BasicStreamReader.nextTag(BasicStreamReader.java:1095)
>         at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:83)
>         ... 17 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SM-1508) servicemix-cxf service with outbound attachment and jms transport generates XMLStreamReader error

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

Freeman Fang updated SM-1508:
-----------------------------

    Fix Version/s: 3.3

> servicemix-cxf service with outbound attachment and jms transport generates XMLStreamReader error
> -------------------------------------------------------------------------------------------------
>
>                 Key: SM-1508
>                 URL: https://issues.apache.org/activemq/browse/SM-1508
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-cxf-bc, servicemix-cxf-se
>    Affects Versions: 3.2.2
>         Environment: Apache SMX 3.2.2, Windows XP, Sun JDK 1.5.0_12
>            Reporter: Ron Gavlin
>            Assignee: Freeman Fang
>            Priority: Critical
>             Fix For: 3.2.3, 3.3
>
>         Attachments: cxf-wsdl-first-http2jms-bridge.zip
>
>
> Modified cxf-wsdl-first with outbound attachment and jms transport generates XMLStreamReader error. See stack trace below. A sample test case has been attached. FYI, this test case works when run on IONA FUSE ESB 3.3.1.0. It is broken when run on IONA FUSE ESB 3.3.1.3 and Apache SMX 3.2.2.
> Aug 10, 2008 2:06:54 AM org.apache.cxf.transport.jms.JMSDestination$JMSExecutor run
> INFO: run the incoming message in the threadpool
> Aug 10, 2008 2:06:54 AM org.apache.cxf.transport.jbi.JBITransportFactory setDeliveryChannel
> INFO: configuring DeliveryChannel:      org.apache.servicemix.common.EndpointDeliveryChannel@14790be
> Aug 10, 2008 2:06:56 AM org.apache.cxf.transport.jbi.JBITransportFactory setDeliveryChannel
> INFO: configuring DeliveryChannel:      org.apache.servicemix.common.EndpointDeliveryChannel@14790be
> Aug 10, 2008 2:06:56 AM org.apache.cxf.phase.PhaseInterceptorChain doIntercept
> INFO: Interceptor has thrown exception, unwinding now
> org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader.
>         at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:183)
>         at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:54)
>         at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:221)
>         at org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:141)
>         at org.apache.cxf.transport.jms.JMSConduit$JMSOutputStream.handleResponse(JMSConduit.java:388)
>         at org.apache.cxf.transport.jms.JMSConduit$JMSOutputStream.doClose(JMSConduit.java:258)
>         at org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:156)
>         at org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:230)
>         at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>         at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>         at org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>         at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>         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: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '-' (code 45) in prolog; expected '<'
>  at [row,col {unknown-source}]: [2,1]
>         at com.ctc.wstx.sr.StreamScanner.throwUnexpectedChar(StreamScanner.java:623)
>         at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2047)
>         at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1069)
>         at com.ctc.wstx.sr.BasicStreamReader.nextTag(BasicStreamReader.java:1095)
>         at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:83)
>         ... 17 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SM-1508) servicemix-cxf service with outbound attachment and jms transport generates XMLStreamReader error

Posted by "Ron Gavlin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45097#action_45097 ] 

Ron Gavlin commented on SM-1508:
--------------------------------

Freeman,

Much thanks for your timely fix.

- Ron

> servicemix-cxf service with outbound attachment and jms transport generates XMLStreamReader error
> -------------------------------------------------------------------------------------------------
>
>                 Key: SM-1508
>                 URL: https://issues.apache.org/activemq/browse/SM-1508
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-cxf-bc, servicemix-cxf-se
>    Affects Versions: 3.2.2
>         Environment: Apache SMX 3.2.2, Windows XP, Sun JDK 1.5.0_12
>            Reporter: Ron Gavlin
>            Assignee: Freeman Fang
>            Priority: Critical
>             Fix For: 3.2.3
>
>         Attachments: cxf-wsdl-first-http2jms-bridge.zip
>
>
> Modified cxf-wsdl-first with outbound attachment and jms transport generates XMLStreamReader error. See stack trace below. A sample test case has been attached. FYI, this test case works when run on IONA FUSE ESB 3.3.1.0. It is broken when run on IONA FUSE ESB 3.3.1.3 and Apache SMX 3.2.2.
> Aug 10, 2008 2:06:54 AM org.apache.cxf.transport.jms.JMSDestination$JMSExecutor run
> INFO: run the incoming message in the threadpool
> Aug 10, 2008 2:06:54 AM org.apache.cxf.transport.jbi.JBITransportFactory setDeliveryChannel
> INFO: configuring DeliveryChannel:      org.apache.servicemix.common.EndpointDeliveryChannel@14790be
> Aug 10, 2008 2:06:56 AM org.apache.cxf.transport.jbi.JBITransportFactory setDeliveryChannel
> INFO: configuring DeliveryChannel:      org.apache.servicemix.common.EndpointDeliveryChannel@14790be
> Aug 10, 2008 2:06:56 AM org.apache.cxf.phase.PhaseInterceptorChain doIntercept
> INFO: Interceptor has thrown exception, unwinding now
> org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader.
>         at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:183)
>         at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:54)
>         at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:221)
>         at org.apache.servicemix.cxfbc.CxfBcProviderMessageObserver.onMessage(CxfBcProviderMessageObserver.java:141)
>         at org.apache.cxf.transport.jms.JMSConduit$JMSOutputStream.handleResponse(JMSConduit.java:388)
>         at org.apache.cxf.transport.jms.JMSConduit$JMSOutputStream.doClose(JMSConduit.java:258)
>         at org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:156)
>         at org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:230)
>         at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>         at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>         at org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>         at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>         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: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '-' (code 45) in prolog; expected '<'
>  at [row,col {unknown-source}]: [2,1]
>         at com.ctc.wstx.sr.StreamScanner.throwUnexpectedChar(StreamScanner.java:623)
>         at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2047)
>         at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1069)
>         at com.ctc.wstx.sr.BasicStreamReader.nextTag(BasicStreamReader.java:1095)
>         at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:83)
>         ... 17 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.