Could you please clarify and help me to resolve below issue...
Caused by: java.lang.LinkageError: loader constraint violation: when resolving method "net.sf.json.JSONSerializer.toJSON(Ljava/lang/Object;)Lnet/sf/json/JSON;" the class loader (instance of org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) of the current class, org/apache/camel/dataformat/xmljson/XmlJsonDataFormat, and the class loader (instance of org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) for the method's defining class, net/sf/json/JSONSerializer, have different Class objects for the type net/sf/json/JSON used in the signature
Server: Fuse 6.3
Server: redhat linux
I could not replicate this issue in Windows platform. It hardly happens only in Linux platform.
while deploying it loads the class...and no issues... if we restart the server or update the bundle above issue is coming...
After restart the server sometimes it throws error when data reaches at xmljson endpoint. If that was happened deployment time then no issues. But its happening runtime. Why it it loaded many instances.