Class Loading Conflict when Attempting To Use Sites JARs With prefer-application-packages node in weblogic.xml in Sites App Integration
(Doc ID 2174843.1)
Last updated on NOVEMBER 14, 2024
Applies to:
Oracle WebCenter Sites - Version 12.2.1.0.0 and laterInformation in this document applies to any platform.
Symptoms
When attempting to use Sites provided WEB-INF/lib/asm-5.0.3.jar file with <package-name>org.objectweb.asm.*</package-name> for an application integration, only the asm-3.1.jar is being picked up.
There are multiple versions of the ASM jar installed on the system, such as:
./oracle_common/modules/asm-3.1.jar
./wcsites/webcentersites/sites-home/lib/asm-3.1.jar
./wcsites/webcentersites/sites-home/lib/asm-5.0.3.jar
./wcsites/webcentersites/sites-home/lib/asm-all-repackaged-2.2.0-b14.jar
If the asm-5.0.3.jar is needed to be the primary referenced JAR, then you generally use the <prefer-application-packages> in the weblogic.xml file. However, this is failing to work to work and causes a class conflict
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |