JSP Compilation Fails on Oracle GlassFish Server 3.1.x When Security is Enabled.

(Doc ID 1489733.1)

Last updated on APRIL 04, 2017

Applies to:

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


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:




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