Can you try deploying this jaxb api instead of your own: http://repo1.maven.org/maven2/org/apache/servicemix/specs/org.apache.servicemix.specs.jaxb-api-2.1/1.0.0/org.apache.servicemix.specs.jaxb-api-2.1-1.0.0.jar
On Tue, Jun 17, 2008 at 3:30 PM, cmoulliard <[EMAIL PROTECTED]> wrote: > > I have updated to 1.4-SNAPSHOT.jar and this error has disapeared but I have a > new one : > > ClassNotFoundException : com.sun.xml.bind.v2.ContextFactory at > org.apache.camel.spring.handler.CamelNamespaceHandler.parseUsingJaxb(CamelNamespaceHandler.java:138) > > The class com.sun.xml.bind.v2.ContextFactory is well registered in Felix > because I can see it using the command 'packages' : > > Apache ServiceMix OSGI Common Bundles: jaxb-impl (41): com.sun.xml.bind.v2; > version=0.0.0 > Apache ServiceMix OSGI Common Bundles: jaxb-impl (41): com.sun.xml.txw2; > version=2.0.3 > Apache ServiceMix OSGI Common Bundles: jaxb-impl (41): > com.sun.xml.bind.v2.model.annotation; version=0.0.0 > Apache ServiceMix OSGI Common Bundles: jaxb-impl (41): > com.sun.xml.bind.unmarshaller; version=0.0.0 > Apache ServiceMix OSGI Common Bundles: jaxb-impl (41): > com.sun.xml.bind.api.impl; version=0.0.0 > Apache ServiceMix OSGI Common Bundles: jaxb-impl (41): > com.sun.xml.txw2.output; version=2.0.3 > Apache ServiceMix OSGI Common Bundles: jaxb-impl (41): > com.sun.xml.bind.v2.util; version=0.0.0 > Apache ServiceMix OSGI Common Bundles: jaxb-impl (41): > com.sun.xml.bind.v2.runtime.unmarshaller; version=0.0.0 > Apache ServiceMix OSGI Common Bundles: jaxb-impl (41): > com.sun.xml.bind.marshaller; version=0.0.0 > Apache ServiceMix OSGI Common Bundles: jaxb-impl (41): > com.sun.xml.bind.v2.model.runtime; version=0.0.0 > Apache ServiceMix OSGI Common Bundles: jaxb-impl (41): > com.sun.xml.bind.v2.runtime.reflect.opt; version=0.0.0 > Apache ServiceMix OSGI Common Bundles: jaxb-impl (41): > com.sun.xml.bind.v2.schemagen.xmlschema; version=0.0.0 > Apache ServiceMix OSGI Common Bundles: jaxb-impl (41): com.sun.istack; > version=0.0.0 > Apache ServiceMix OSGI Common Bundles: jaxb-impl (41): com.sun.xml.bind; > version=0.0.0 > Apache ServiceMix OSGI Common Bundles: jaxb-impl (41): > com.sun.xml.bind.v2.model.core; version=0.0.0 > Apache ServiceMix OSGI Common Bundles: jaxb-impl (41): > com.sun.xml.bind.v2.runtime.output; version=0.0.0 > Apache ServiceMix OSGI Common Bundles: jaxb-impl (41): > com.sun.xml.bind.v2.bytecode; version=0.0.0 > Apache ServiceMix OSGI Common Bundles: jaxb-impl (41): com.sun.xml.bind.api; > version=0.0.0 > Apache ServiceMix OSGI Common Bundles: jaxb-impl (41): > com.sun.xml.bind.v2.model.impl; version=0.0.0 > Apache ServiceMix OSGI Common Bundles: jaxb-impl (41): > com.sun.xml.bind.v2.model.nav; version=0.0.0 > Apache ServiceMix OSGI Common Bundles: jaxb-impl (41): > com.sun.xml.txw2.annotation; version=2.0.3 > Apache ServiceMix OSGI Common Bundles: jaxb-impl (41): > com.sun.xml.bind.v2.schemagen; version=0.0.0 > Apache ServiceMix OSGI Common Bundles: jaxb-impl (41): > com.sun.xml.bind.util; version=0.0.0 > Apache ServiceMix OSGI Common Bundles: jaxb-impl (41): > com.sun.xml.bind.v2.runtime.reflect; version=0.0.0 > Apache ServiceMix OSGI Common Bundles: jaxb-impl (41): > com.sun.xml.bind.v2.runtime; version=0.0.0 > Apache ServiceMix OSGI Common Bundles: jaxb-impl (41): > com.sun.xml.bind.annotation; version=0.0.0 > Apache ServiceMix OSGI Common Bundles: jaxb-impl (41): > com.sun.xml.bind.v2.runtime.property; version=0.0.0 > > > cmoulliard wrote: >> >> I use --> 1.3.0. >> >> >> gnodet wrote: >>> >>> Do you use the latest camel ? I think i fixed a bug recently about that ? >>> >>> On Tue, Jun 17, 2008 at 2:49 PM, cmoulliard <[EMAIL PROTECTED]> wrote: >>>> >>>> Hi, >>>> >>>> I had a strange error running Camel top of Felix 1.04 OSGI server. When >>>> I >>>> run my bundle (camel-osgi example), felix OSGI server send the following >>>> error on the console : >>>> >>>> org.apache.camel.spring doesnt contain ObjectFactory.class or jaxb.index >>>> >>>> Remark : such error does not appear in ServiceMix4 kernel >>>> >>>> What is the cause of this error ? >>>> >>>> Regards, >>>> >>>> charles >>>> -- >>>> View this message in context: >>>> http://www.nabble.com/org.apache.camel.spring-doesnt-contain-ObjectFactory.class-or-jaxb.index-tp17897730s22882p17897730.html >>>> Sent from the Camel - Users mailing list archive at Nabble.com. >>>> >>>> >>> >>> >>> >>> -- >>> Cheers, >>> Guillaume Nodet >>> ------------------------ >>> Blog: http://gnodet.blogspot.com/ >>> >>> >> >> > > -- > View this message in context: > http://www.nabble.com/org.apache.camel.spring-doesnt-contain-ObjectFactory.class-or-jaxb.index-tp17897730s22882p17902640.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/
