camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet" <gno...@gmail.com>
Subject Re: org.apache.camel.spring doesnt contain ObjectFactory.class or jaxb.index
Date Tue, 17 Jun 2008 15:51:37 GMT
I've updated the wiki, but here is the correct list of bundles to deploy:

osgi install -s mvn:org.apache.geronimo.specs/geronimo-activation_1.1_spec/1.0.2
osgi install -s mvn:org.apache.geronimo.specs/geronimo-stax-api_1.0_spec/1.0.1
osgi install -s
mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jaxb-api-2.1/1.0.0
osgi install -s
mvn:http://people.apache.org/repo/m2-snapshot-repository!org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-impl-2.1.6/4.0-m2-SNAPSHOT
osgi install -s
mvn:http://people.apache.org/repo/m2-snapshot-repository!org.apache.camel/camel-core/1.4-SNAPSHOT
osgi install -s mvn:org.springframework/spring-tx/2.5.1
osgi install -s
mvn:http://people.apache.org/repo/m2-snapshot-repository!org.apache.camel/camel-spring/1.4-SNAPSHOT
osgi install -s
mvn:http://people.apache.org/repo/m2-snapshot-repository!org.apache.camel/camel-osgi/1.4-SNAPSHOT
osgi install -s
mvn:http://people.apache.org/repo/m2-snapshot-repository!org.apache.camel/camel-example-osgi/1.4-SNAPSHOT

The main reason of these problems is that we switched to Spring DM
1.1.0-m2, which changes a lot of things in how packages are imported
for spring applications.

On Tue, Jun 17, 2008 at 4:46 PM, cmoulliard <cmoulliard@gmail.com> wrote:
>
> What you propose does not solve the problem.
>
> FYI, I use the jars mentioned in the following document :
> http://servicemix.apache.org/kernel/1-quick-start.html
>
> osgi install -s
> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-api-2.0/4.0-m1
> osgi install -s
> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-impl-2.0.3/4.0-m1
>
>
>
> gnodet wrote:
>>
>> 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 <cmoulliard@gmail.com> 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 <cmoulliard@gmail.com>
>>>>> 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/
>>
>>
>
> --
> View this message in context: http://www.nabble.com/org.apache.camel.spring-doesnt-contain-ObjectFactory.class-or-jaxb.index-tp17897730s22882p17911486.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

Mime
View raw message