You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Bingliu <li...@gmail.com> on 2011/04/11 08:12:47 UTC

Camel2.7 working in the OSGI container

Hi,
Now i am using camel(version 2.7) in the osgi bundle, but when it started,
some problem have been catched like these:
Caused by: org.apache.camel.TypeConverterLoaderException: Failed to load
type converters because of: Cannot load type converters using OSGi bundle: 2
	at
org.apache.camel.impl.osgi.Activator$BundleTypeConverterLoader.load(Activator.java:292)
	at
org.apache.camel.core.osgi.OsgiTypeConverter.addingService(OsgiTypeConverter.java:60)
In camel 2.7, the camel-core.jar can not startup with a bundle ?

--
View this message in context: http://camel.465427.n5.nabble.com/Camel2-7-working-in-the-OSGI-container-tp4295256p4295256.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel2.7 working in the OSGI container

Posted by Willem Jiang <wi...@gmail.com>.
Yes, we need more information not just a stack trace.
what's the OSGi bundle: 2?

How did you wrap the bundle with your type converter?

Willem
On 4/11/11 11:55 PM, Christian Müller wrote:
> Which bundles did you installed? Which runtime do you use?
>
> Christian
>
> On Mon, Apr 11, 2011 at 8:12 AM, Bingliu<li...@gmail.com>  wrote:
>
>> Hi,
>> Now i am using camel(version 2.7) in the osgi bundle, but when it started,
>> some problem have been catched like these:
>> Caused by: org.apache.camel.TypeConverterLoaderException: Failed to load
>> type converters because of: Cannot load type converters using OSGi bundle:
>> 2
>>         at
>>
>> org.apache.camel.impl.osgi.Activator$BundleTypeConverterLoader.load(Activator.java:292)
>>         at
>>
>> org.apache.camel.core.osgi.OsgiTypeConverter.addingService(OsgiTypeConverter.java:60)
>> In camel 2.7, the camel-core.jar can not startup with a bundle ?
>>
>> --
>> View this message in context:
>> http://camel.465427.n5.nabble.com/Camel2-7-working-in-the-OSGI-container-tp4295256p4295256.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>


-- 
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
          http://jnn.javaeye.com (Chinese)
Twitter: willemjiang

Connect at CamelOne May 24-26
The Open Source Integration Conference
http://camelone.com

Re: Camel2.7 working in the OSGI container

Posted by Christian Müller <ch...@gmail.com>.
Which bundles did you installed? Which runtime do you use?

Christian

On Mon, Apr 11, 2011 at 8:12 AM, Bingliu <li...@gmail.com> wrote:

> Hi,
> Now i am using camel(version 2.7) in the osgi bundle, but when it started,
> some problem have been catched like these:
> Caused by: org.apache.camel.TypeConverterLoaderException: Failed to load
> type converters because of: Cannot load type converters using OSGi bundle:
> 2
>        at
>
> org.apache.camel.impl.osgi.Activator$BundleTypeConverterLoader.load(Activator.java:292)
>        at
>
> org.apache.camel.core.osgi.OsgiTypeConverter.addingService(OsgiTypeConverter.java:60)
> In camel 2.7, the camel-core.jar can not startup with a bundle ?
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Camel2-7-working-in-the-OSGI-container-tp4295256p4295256.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>