Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 2.8
-
Fix Version/s: None
-
Labels:None
-
Environment:Oracle WebLogic
-
Testcase included:yes
-
Patch Submitted:Yes
Description
The current handling of defaultLibBundleDir leads to some issues on Oracle Weblogic 10+. The Ear plugin currently sets library-directory to the value of defaultLibBundleDir in the application.xml for EARs v5+. Some of Oracle's classloading features break (specifically "Generic File Loading") when this element is set. defaultLibBundleDir has to be set to APP-INF/lib since this is the magic library folder for WebLogic.
The patch adds a parameter to prevent setting library-directory for cases like this.
I am confused. library-directory is only written if you set the defaultLibDirectory. If I understand you well, you're saying you must use it (to use the magic APP-INF/lib thing) but we should not write the value in that case?
I believe you're asking here to workaround a bug in Weblogic, right. Has this been reported by any chance?