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 13, 2023
Applies to:Oracle GlassFish Server - Version 3.1.1 and later
Information in this document applies to any platform.
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:
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.
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