Requesting A Non-Existant JSP In Oracle GlassFish Server Results In A HTTP 500 Error When Use-Precompiled=True In sun-web.xml
(Doc ID 1438227.1)
Last updated on OCTOBER 12, 2022
Applies to:
Oracle GlassFish Server - Version 3.1.1 and laterInformation in this document applies to any platform.
Symptoms
Accessing a non-existent JSP file results in an HTTP 500 error being reported, rather than a HTTP 404 which is the normal expected response when trying to access a missing resource.
The following error is seen in the server.log file:
Changes
Deploy an application that is packaged with precompiled JSPs, and in which the property use-precompiled has been set to true in the sun-web.xml that signals that the web module contains precompiled JSP files, and has no JSP source files.
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 |