Products | Versions |
---|---|
TIBCO ActiveMatrix BusinessWorks | 6.3.x |
Application using JAXB API would work fine in studio design time but fail with the below exception when deployed to an appnode in runtime
==================
orchestrate javax.xml.bind.JAXBException: ClassCastException: attempting to cast bundleresource://244.fwk1583722422/javax/xml/bind/JAXBContext.class to jar:file:/D:/tibco/tibcojre64/1.8.0/lib/rt.jar!/javax/xml/bind/JAXBContext.class. Please make sure that you are specifying the proper ClassLoader. ==================
Thread.currentThread().setContextClassLoader(getClass().getClassLoader());