Hi,

I have an issue with SMX 4.5.1

Environment : Win 7 64b, clean installation of SMX 4.5.1, JDK 1.6.0_31

I tried doing this (for testing, I know there is no route here) :


and I have an exception :


The same code work fine in SMX 4.4.2.

When I searched more, XMLInputFactory.newInstance() can't find the woodstox
API and the default API was used instead.

newInstance() calls javax.xml.stream.FactoryLocator, who is overrided in
*lib/endorsed/org.apache.servicemix.specs.jaxp-api-1.4-2.2.0.jar*
(-verbose:class)

FactoryLocator calls OsgiLocator.doLocate, but in Eclipse I don't enter into
first condition : if (factories != null), despite the fact that Eclipse
tells me factories is not empty (mouseover & watch expression)
factories contains all I need, including javax.xml.stream.XMLInputFactory
defined by woodstox bundle, I don't understand why the "if" failed




--
View this message in context: 
http://servicemix.396122.n5.nabble.com/SMX-4-5-1-FactoryLocator-broken-tp5717083.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to