You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2009/10/21 11:10:53 UTC

[jira] Commented: (SMX4-408) servicemix-util bundle shouldn't mark import package javax.xml.stream as optional

    [ https://issues.apache.org/activemq/browse/SMX4-408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54864#action_54864 ] 

Freeman Fang commented on SMX4-408:
-----------------------------------

after have chat with Guillaume, the solution for this issue should be ensure stax-api bundle get loaded before servicemix-utils bundle, so the optional import package could be resolved correctly

> servicemix-util bundle shouldn't mark import package javax.xml.stream as optional
> ---------------------------------------------------------------------------------
>
>                 Key: SMX4-408
>                 URL: https://issues.apache.org/activemq/browse/SMX4-408
>             Project: ServiceMix 4
>          Issue Type: Bug
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>             Fix For: 4.1.0
>
>
> this will fix the bridge/bridge-camel demo failure in latest snapshot.
> currently we saw exception like
> 22:41:39,552 | ERROR | mix-jms-thread-2 | JmsComponent | icemix.common.AsyncBaseLifeCycle 480 | Error processing exchange org.apache.servicemix.jbi.runtime.impl.InOnlyImpl@e41cab
> java.lang.NoClassDefFoundError: javax/xml/stream/XMLStreamException
> at org.apache.servicemix.soap.marshalers.SoapMarshaler.getSourceTransformer(SoapMarshaler.java:111)
> at org.apache.servicemix.soap.marshalers.SoapWriter.writeContents(SoapWriter.java:218)
> at org.apache.servicemix.soap.marshalers.SoapWriter.writeSimpleMessage(SoapWriter.java:127)
> at org.apache.servicemix.soap.marshalers.SoapWriter.write(SoapWriter.java:92)
> at org.apache.servicemix.jms.DefaultJmsMarshaler.toJMS(DefaultJmsMarshaler.java:89)
> at org.apache.servicemix.jms.DefaultJmsMarshaler.toJMS(DefaultJmsMarshaler.java:116)
> at org.apache.servicemix.jms.AbstractJmsProcessor.fromNMS(AbstractJmsProcessor.java:216)
> at org.apache.servicemix.jms.AbstractJmsProcessor.createMessageFromExchange(AbstractJmsProcessor.java:263)
> at org.apache.servicemix.jms.multiplexing.MultiplexingProviderProcessor.process(MultiplexingProviderProcessor.java:129)
> at org.apache.servicemix.soap.SoapEndpoint.process(SoapEndpoint.java:390)
> at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:627)
> at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:581)
> at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchangeInTx(AsyncBaseLifeCycle.java:478)
> at org.apache.servicemix.common.AsyncBaseLifeCycle$2.run(AsyncBaseLifeCycle.java:347)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
> at java.lang.Thread.run(Thread.java:613)
> in the log file
> So SourceTranformer class in utils module do need javax.xml.stream package get resolved.

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