Hi, Please test with 4.5.2 SNAPSHOT kit, I believe this already get fixed
[1]https://repository.apache.org/content/groups/snapshots-group/org/apache/servicemix/apache-servicemix/4.5.2-SNAPSHOT/ ------------- Freeman(Yue) Fang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://fusesource.com | http://www.redhat.com/ Twitter: freemanfang Blog: http://freemanfang.blogspot.com http://blog.sina.com.cn/u/1473905042 weibo: @Freeman小屋 On 2013-6-24, at 下午7:22, Fladnag wrote: > 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.
