Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Troubleshooting Guide

- Previous: Is the Administration Console Running on the Expected Port?
- Next: Cannot Access a Server Application

## Is the Security Manager Disabled?

### Description

According to the J2EE 1.4 Specification, the Security Manager is not optional; it must be enabled in the Application Server. Since there is no configuration interface in the Application Server for disabling the Security Manager, it can only be disabled by directly modifying the `domain.xml` configuration file in such a way that the following line is removed:

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

### Solution

The `-Djava.security.policy=yourPolicy` option must be present in the `domain.xml` file to access the Administration Console.

- Previous: Is the Administration Console Running on the Expected Port?
- Next: Cannot Access a Server Application

- © 2010, Oracle Corporation and/or its affiliates