Hi,

Each specs jars will embed org.apache.servicemix.specs.locator.OsgiLocator, 
that's intended design.

The problem is that we shouldn't endorse new specs jars when use Karaf 2.2.x 
underlying, as Karaf 2.2.x doesn't support it
-------------
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:42, Fladnag wrote:

> 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