[Java] If you can’t login to your Glassfish Admin Console these days…

If you use Oracle’s Glassfish Application Server and cannot login to your admin Web Console (server loads forever after entering credentials), here’s what’s going on:

The Admin Web Application loads the available module updates from java.net upon login… however, if java.net is down (like right now), or if your internet connection died or is slow, your admin console won’t load. No, they didn’t build in a timeout and yes, this is the default behavior. Thanks, Oracle!

Fortunately, there’s a workaround (you might want to apply in any case…). There are two steps to get your Glassfish Server internet-independent:

  1. Disable Automatic Update Checks
    Rename $GLASSFISH_INST/glassfish/modules/console-updatecenter-plugin.jar to console-updatecenter-plugin.jar.disabled
  2. Disable News and other Internet-Dependent Admin GUI Features
    Set the following System Property (you can do that in the Admin GUI -provided that you can open it- in Configuration > JVM Settings > JVM Options):

That’s it! Now go out and enjoy your independent server 🙂


9 thoughts on “[Java] If you can’t login to your Glassfish Admin Console these days…

  1. No, Mark, no side effects at all for us. In the meantime, we’re also using these settings in production since there, of course, we don’t have direct internet connectivity.

    Besides, as a developer / operator I don’t want my Application Server to automatically update itself, loading some new JARs that may kill my applications. Anti-feature imho…


  2. Hi Mike,

    Thanks a lot.
    Please advise where to change the second setting?

    it is there somewhere in domain/config file?


  3. Hi rahul,

    I don’t know about current versions of Glassfish (It’s been a while since I last used it ;)), but back in the days, it was configurable in the Admin GUI where the post says: Configuration > JVM Settings > JVM Options. It’s basically a Java System Property set at JVM Startup time, but I don’t know from the top of my head where Glassfish stores these settings.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s