I have an issue for quite  a long time with web administration console in Glassfish 3.x. When I try to access it, I point my browser to http://127.0.0.1:4848, the first access shows me the usual "Web console is loading stuff", after a while, by looking at the log, I see the web administration is ready. I then hit refresh, it redirects me to http://127.0.0.1:4848/common/index.jsf with a (not so) beautiful 404 error !

The discovery

I found the workaround by telling myself, wait, it never asked me to login....

Let's try to hit http://127.0.0.1:4848/login.jsf, well, I got the usual login screen, I enter my login credential, and got redirected to http://127.0.0.1:4848/common/index.jsf.... but now it works ! (I tried looking at Glassfish sources to identify and narrow down the source of my problem, but with a quick lookup, I couldn't figure out where the things are supposed to be done...)

The Useful tip !

To make it short, bookmark or be used to access the web administration console for your Glassfish 3.x server via http://127.0.0.1:4848/login.jsf

!

Swift macro : @VisibleForTesting

As an ancient Java developer, I’ve learned to use a set of annotations to bring meta programming in my projects. Meta programming can be ...… Continue reading

Dark Mode iOS Snapshot

Published on January 10, 2021

Git-gone

Published on December 31, 2020