How can I configure the Admin Console to be disconnected from the Internet?

  • To remove the GlassFish News node

    and the bottom frame of the Common Tasks page, add

    <jvm-options>-Dcom.sun.enterprise.tools.admingui.NO_NETWORK=true</jvm-options>

    under the <java-config> node in domain.xml file and restart the server.

    domain.xml
    <domain ...>
      <configs>
        <config name="server-config">
          <java-config ...>
            ...
            <jvm-options>-Dcom.sun.enterprise.tools.admingui.NO_NETWORK=true</jvm-options>
          </java-config>
        </config>
      </configs>
    </domain>
  • To prevent Update Center update check [1]
    1. Try running glassfishv3/bin/updatetool and set the update check frequency' preference to 'Never'.
      • This approach will affects the GUI as well as Admin Console.
    2. Remove glassfishv3/glassfish/modules/console-updatecenter-plugin.jar (or rename it, eg. console-updatecenter-plugin.jarX) and restart the server.

[1] http://forums.java.net/jive/message.jspa?messageID=476434#476434