[
https://issues.apache.org/activemq/browse/SMXCOMP-465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50149#action_50149
]
vzhabiuk edited comment on SMXCOMP-465 at 3/2/09 5:19 AM:
-------------------------------------------------------------------
At first
{code}
Spec(69): registering service for key javax.xml.stream.XMLInputFactorywith
value bundleentry://1/META-INF/services/javax
.xml.stream.XMLInputFactory
{code}
It is loaded from the jaxp-ri bundle.(1)
After that it registers the service from other bundle
{code}
Spec(69): registering service for key javax.xml.stream.XMLInputFactorywith
value bundleentry://14/META-INF/services/java
x.xml.stream.XMLInputFactory
{code}
This time from the org.apache.servicemix.bundles.woodstox bundle (index 14)
{code}
Spec(69): registering service for key javax.xml.stream.XMLInputFactorywith
value bundleentry://69/META-INF/services/java
x.xml.stream.XMLInputFactory
{code}
The 3d time the service is registered from the stax-api specs bundle
was (Author: vzhabiuk):
At first
Spec(69): registering service for key javax.xml.stream.XMLInputFactorywith
value bundleentry://1/META-INF/services/javax
.xml.stream.XMLInputFactory
It is loaded from the jaxp-ri bundle.(1)
After that it registers the service from other bundle
Spec(69): registering service for key javax.xml.stream.XMLInputFactorywith
value bundleentry://14/META-INF/services/java
x.xml.stream.XMLInputFactory
This time from the org.apache.servicemix.bundles.woodstox bundle (index 14)
Spec(69): registering service for key javax.xml.stream.XMLInputFactorywith
value bundleentry://69/META-INF/services/java
x.xml.stream.XMLInputFactory
The 3d time the service is registered from the stax-api specs bundle
> 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.defaultclassloa...@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.