camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem jiang <willem.ji...@gmail.com>
Subject Re: Camel - unmarshal().serialization() - ClassNotFoundException
Date Sun, 02 Dec 2012 12:35:05 GMT
Hi,

You need to consider to upgrade the camel version to 2.9.x.
This issue should be fixed by CAMEL-4915[1]

[1]https://issues.apache.org/jira/browse/
CAMEL-4915


-- 
Willem Jiang

Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English)
          http://jnn.javaeye.com (http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang 
Weibo: willemjiang





On Friday, November 30, 2012 at 6:04 AM, Matthieu Vincent wrote:

> Hi,
> 
> I'm trying to unmarshal with serialization method a bean that is not the
> current bundle but in a commons components bundle.
> 
> I get the following error when camel tries to unmarshal my bean :
> 
> 22:43:11,865 | ERROR | nModule-thread-1 | DefaultErrorHandler | 89 -
> org.apache.camel.camel-core - 2.8.0.fuse-06-11 | Failed delivery for
> exchangeId: ID-ITEM-64684-49962-1354223882336-2-1. Exhausted after delivery
> attempt: 1 caught: java.lang.ClassNotFoundException:
> commons.InformationInput java.lang.ClassNotFoundException:
> commons.InformationInput at
> java.net.URLClassLoader$1.run(URLClassLoader.java:202)[:1.6.0_33] at
> java.security.AccessController.doPrivileged(Native Method)[:1.6.0_33] at
> java.net.URLClassLoader.findClass(URLClassLoader.java:190)[:1.6.0_33] at
> java.lang.ClassLoader.loadClass(ClassLoader.java:306)[:1.6.0_33]
> http://stackoverflow.com/questions/6749334/osgi-bundle-access-spring-context-file-from-another-bundleat
> java.lang.ClassLoader.loadClass(ClassLoader.java:247)[:1.6.0_33] at
> org.apache.felix.framework.ModuleImpl.doImplicitBootDelegation(ModuleImpl.java:1610)
> at
> org.apache.felix.framework.ModuleImpl.searchDynamicImports(ModuleImpl.java:1547)
> 
> My bundle containing the bean is correctly started and i've defined the *
> commons* package in the *Export-Package* of the bundle definition
> 
> Does anyone managed to such thing ?
> 
> Thanks !!
> 
> Mat 



Mime
View raw message