Another idea :

With -verbose:class, I see that OsgiLocator was loaded from two jars :

[Loaded org.apache.servicemix.specs.locator.OsgiLocator from
mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jsr311-api-1.1.1/1.9.0]
[Loaded org.apache.servicemix.specs.locator.OsgiLocator from
C:\apache-servicemix-4.5.1\bin\..\lib\endorsed\org.apache.servicemix.specs.jaxb-api-2.2-2.2.0.jar]

Maybe classes was registered in one class and retrieved with the other ? 

This could explain why I don't enter into the "if" : factories was really
empty.

in SMX 4.4.2, there is no OsgiLocator in any jar at lib\endorsed




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

Reply via email to