Web application deployed as shared library is not taking its deployment descriptors into consideration (Doc ID 1663142.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle WebLogic Server - Version 10.3.4 to 10.3.4
Information in this document applies to any platform.

Goal

The goal is to access a JSP deployed as shared library from another web application.

When a web application (master.war) refers to a JSP (ref.jsp) deployed as shared library, http://localhost:7001/master/ref.jsp, it will raise "Error 404--Not Found".
It works fine if shared library (ref.war) contains the precompiled jsp class.

Although the weblogic.xml in shared library contains element precompile set to true WLS does not precompile the jsp when the web application is deployed as shared library.

weblogic.xml:

 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms