You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Volodymyr Zhabiuk (JIRA)" <ji...@apache.org> on 2009/02/26 11:51:59 UTC
[jira] Commented: (SMXCOMP-465) ClassNoDefFoundError in the
org.apache.servicemix.http.processors.ConsumerProcessor
[ https://issues.apache.org/activemq/browse/SMXCOMP-465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50015#action_50015 ]
Volodymyr Zhabiuk commented on SMXCOMP-465:
-------------------------------------------
If I add the com.ctc.wstx.stax;resolution:=optional import to the manifest.mf of the servicemix-http bundle, the XMLInputFactory implementation class is loaded successfully
> ClassNoDefFoundError in the org.apache.servicemix.http.processors.ConsumerProcessor
> -----------------------------------------------------------------------------------
>
> Key: SMXCOMP-465
> URL: https://issues.apache.org/activemq/browse/SMXCOMP-465
> Project: ServiceMix Components
> Issue Type: Bug
> Reporter: Volodymyr Zhabiuk
>
> When the http request is processed by the ConsumerProcessor, the implementation of the javax.xml.stream.XMLInputFactory can not be found
> Requested factory com.ctc.wstx.stax.WstxInputFactory cannot be located. Classloader =org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader@145f5e3
> at javax.xml.stream.FactoryLocator.loadFactory(FactoryLocator.java:126)
> at javax.xml.stream.FactoryLocator.locate(FactoryLocator.java:115)
> at javax.xml.stream.FactoryLocator.locate(FactoryLocator.java:51)
> at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:41)
> at org.apache.servicemix.soap.marshalers.SoapMarshaler.getInputFactory(SoapMarshaler.java:92)
> at org.apache.servicemix.soap.marshalers.SoapReader.readSoapUsingStax(SoapReader.java:162)
> at org.apache.servicemix.soap.marshalers.SoapReader.read(SoapReader.java:89)
> at org.apache.servicemix.soap.marshalers.SoapReader.read(SoapReader.java:76)
> at org.apache.servicemix.http.processors.ConsumerProcessor.createContext(ConsumerProcessor.java:231)
> at org.apache.servicemix.http.processors.ConsumerProcessor.process(ConsumerProcessor.java:158)
> at org.apache.servicemix.http.HttpBridgeServlet.service(HttpBridgeServlet.java:56)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
> at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:363)
> at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
> at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
> at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
> at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> at org.mortbay.jetty.Server.handle(Server.java:324)
> at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
> at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879)
> at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:741)
> at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:207)
> I have seen, that in other SMX projects you add the com.ctc.wstx.stax;resolution:=optional import statement.
> I'm using the Apache ServiceMix Specs :: STAX API 1.0 bundle
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.