Configuring GlassFish 4 for remote administration


By default the GlassFish domain is not enabled for remote admin access. In order to do so you have to set the password (as the default one is empty) and enable the secure admin access. You can find more info in Security Guide.

  1. Navigate to bin folder in GlassFish installation folder and do:
    1. ./asadmin start-domain
    2. ./asadmin change-admin-password
    3. setup the new admin password
    4. ./asadmin enable-secure-admin
    5. use the admin and password you have just configured
    6. ./asadmin stop-domain
    7. ./asadmin start-domain
Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo