My Oracle Support Banner

How To Load Only The ${com.sun.aas.instanceRoot}/config/server.policy File In Oracle GlassFish Server 2.1.1 (Doc ID 1414174.1)

Last updated on FEBRUARY 16, 2024

Applies to:

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

Goal

The Oracle GlassFish Server 2.1.1 is designed to combine the grant statements from the following three files to establish the policy context:

$GF_HOME/domains/<domain-name>/config/server.policy
${java.home}/lib/security/java.policy
${user.home}/.java.policy


Sometimes the users may have a requirement where he/she may want only the $GF_HOME/domains/<domain-name>/config/server.policy file to be loaded by the GlassFish Server and ignore the policy files that are bundled with the JDK or under the user home directory.

Solution

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
Goal
Solution


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