On Thu, Sep 23, 2010 at 10:39 AM, xiaotao183 <[email protected]> wrote: > > Hi Claus, > > I already converted the castor jars using bnd to osgi-bundle but still no > luck. >
Using bnd is just a fallback way to install a jar in osgi. It has its drawbacks doing it that way. If the framework is not osgi compliant then it may not work properly with osgi. Especially when frameworks wants to load resources from the classpath, you can be in trouble. If the framework have a pluggable way of providing a custom resource loader, then we can adapt to that from Camel. So try looking into Castor documentation / javadoc how to do that. > I can find a camel-castor osgi bundle shipped with servicemix distribution > so I assume the castor is already installed as osgi by default > -- > View this message in context: > http://camel.465427.n5.nabble.com/camel-castor-class-not-found-exception-tp2850751p2850780.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus
