We have two web applications; AppA (as EAR) uses TwelveMonkeys and AppB (as WAR) uses JAI.
These web applications are deployed on Weblogic 12c, wherein each application is isolated from each other. They both have application-level classloaders (to ensure that libraries on one app do not conflict with another), and container-level and system-level classloaders.
We've configured the system to ensure that TwelveMonkeys is only loaded through the AppA app-level classloader. However, AppB somehow still sees TwelveMonkeys classes and encounters ClassCastExceptions
.
Is there a way to properly enforce TwelveMonkeys to be within the scope of one application only, and not all applications (which this situation seems to point at)?
Is this behavior typically attributed to TwelveMonkeys, or would this be a Weblogic issue? Does TwelveMonkeys play well with multiple applications in other containers?