My Oracle Support Banner

Oracle GlassFish Server Does Not Redirect to Custom Error Pages For HTTP Error Code 500 (Doc ID 1348162.1)

Last updated on FEBRUARY 09, 2024

Applies to:

Oracle GlassFish Server - Version 2.1 to 2.1.1 [Release 2.1]
Information in this document applies to any platform.

Symptoms

Oracle GlassFish Application Server can be configured to redirect to custom defined error pages when it returns HTTP Error codes, for example 404, 500 etc., rather than the default error page. This can be achieved by setting the send-error_n property for the virtual server.  Below is a example of the domain.xml file with this property set :


However, this feature does not work in GF 2.1.1 when the HTTP status code is 500.

Changes

 

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
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.