My Oracle Support Banner

Unable To Override WebLogic Classpath With JARs Found In extend.sites.webapp-lib.war (Doc ID 2855082.1)

Last updated on JUNE 20, 2023

Applies to:

Oracle WebCenter Sites - Version 12.2.1.4.0 and later
Information in this document applies to any platform.

Symptoms

Following upgrade to 12.2.1.4.0 a custom application in extend.sites.webapp-lib.war is not able to classload 3rd party JAR dependencies. Despite hard-coding the dependencies into the classpath in setStartupEnv.sh or adding the reference in other ways, the application fails when trying to load com.bea.core.xlm.xmlbeans.jar and Apache POI related JAR files.

Incorrect location being used:
$ORACLE_HOME/wlserver/modules/com.bea.core.xml.xmlbeans.jar!/org/apache/xmlbeans/XmlOptions.class

We want to reference the xmlbeans jar file either from our app itself or from this location:
$ORACLE_HOME/oracle_common/modules/thirdparty/

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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.