My Oracle Support Banner

JSP Compilation Fails on Oracle GlassFish Server 3.1.x When Security is Enabled. (Doc ID 1489733.1)

Last updated on OCTOBER 17, 2023

Applies to:

Oracle GlassFish Server - Version 3.1.2 and later
Information in this document applies to any platform.

Symptoms

The problem can be seen when you do the following:

 1) Enable security manager in server-config
 2) Comment out  this line in server.policy as below
 //    permission java.io.FilePermission       "<  3) Restart the GlassFish Server
 4) Deploy and launch a JSP or Servlet

 The following error is displayed on the browser and JSP compilation fails: 

 

 

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
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.