We have a web application that can be deployed to many application servers, including Oracle 10g. However, on this platform we are faced with class problems. Webapp uses JAXB 2, but Oracle 10g ships with JAXB 1, and this causes errors. To get around this, we configured Oracle to prefer classes in our webapp, but now we get the above error when trying to instantiate a JAXB context.
Finding exceptions related to loader restrictions is like a class that was loaded by one class loader is trying to access what is a private package in the same package, but loaded by another class loader. I tried to remove all the banks in our webapp that include javax.xml.namespace.QName, and checked that this is an instance included in Oracle that is matched, but the error still occurs. Any ideas?
(This is a follow-up from an earlier question regarding 10g and JAXB 2.)
source
share