Access Control In GlassFish 2.1.x Blocks All Access

(Doc ID 2083658.1)

Last updated on MARCH 10, 2016

Applies to:

Oracle GlassFish Server - Version 2.1.1 to 2.1.1 [Release 2.1]
Information in this document applies to any platform.


 Attempting to restrict access via hostname blocks all access to GlassFish Server. For example, if the following is defined in the "testing" configuration for the virtual server called "test":

$ ./asadmin set
$ ./asadmin set

Updates domain.xml with:

       <virtual-server id="test" network-listeners="http-listener-1,http-listener-2">

          <property name="allowRemoteHost" value=""></property>

          <property name="denyRemoteHost" value=""></property>

Both hosts will be denied access.


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