Prefer-web-inf-classes Precedence Is Ignored Between Webapp Modules In Same Application
(Doc ID 2242754.1)
Last updated on SEPTEMBER 29, 2020
Applies to:Oracle WebLogic Server - Version 10.3.6 and later
Information in this document applies to any platform.
The goal of this note is to clarify about the scope of the prefer-web-inf-classes (weblogic.xml) when set in one out of several webapp modules in the same application. Frequently there is misunderstanding in this regard when involving shared libraries.
In more detail the scenario this document depicts is for example an ear file with two webapp(war modules) and one of then has prefer-web-inf-classes set.
------- utility-api-v1.jar (appl path or system path level)
----- webapp1 (prefer-web-inf-classes FALSE)
----- webapp2 (prefer-web-inf-classes TRUE)
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