Hi,

I have seen these type conversion error thrown when loading value using
properties in OSGi. I find that i happens when I load OSGi configuration
properties from a file configuration.

However in my case, this tends to be more sporadic. When I traced the issue,
I found that if all my default Servicemix bundles were up and active, I had
no issues, however if the bundles were not installed yet and my application
bundle came up for install, I ran into the type converter issues.

My sense is that this is a case of bundle ordering and that the application
bundle could be getting picked up earlier than bundles that gave rise to
this exact error. I found this in Camel 2.6. It would be worth checking in
Camel 2.8-SNAPSHOT. I found it true for both Felix and Equinox.

In my case the type conversion failure was on String to Int. Which worked
just fine if set the bundle level correctly and above the camel core bundle.


Cheers,

Ashwin...

-----
---------------------------------------------------------
Ashwin Karpe
Apache Camel Committer & Sr Principal Consultant
FUSESource (a Progress Software Corporation subsidiary)
http://fusesource.com 

Blog: http://opensourceknowledge.blogspot.com 
CamelOne 2011: http://fusesource.com/camel2011 
---------------------------------------------------------
--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-2-5-0-startup-exception-tp4381307p4388646.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to