Sun GlassFish Enterprise Server v3 Prelude Troubleshooting Guide

Is the Security Manager Disabled?

Description

The Security Manager is not optional; it must be enabled in Enterprise Server. Because there is no configuration interface in Enterprise Server for disabling the Security Manager, it can only be disabled when you directly modify the domain.xml configuration file in such a way that the following line is removed or commented out:


<jvm-option\>-Djava.security.policy=yourPolicy</jvm-option\>

Solution

Verify that the -Djava.security.policy=yourPolicy option is present in the domain.xml file.