users@glassfish.java.net

Move admin console to different URI

From: <glassfish_at_javadesktop.org>
Date: Thu, 30 Sep 2010 07:53:04 PDT

For security reasons, I'd like to move my GlassFish (3.0.1) Admin Console to a new URI. With the default configuration, if you type
http://localhost:4848/asdfasdf and haven't loaded the admin console before, you get a 'page loading' screen, THEN a 404. I'd like for the console to only respond to requests for a specific URI (e.g., http://localhost:4848/adminconsole) and for all other URIs to simply return a 404. Is there a way? I tried playing with the [i]adminConsoleContextRoot[/i] property in domain.xml, but didn't have any luck.

Thanks
[Message sent by forum member 'calhoun']

http://forums.java.net/jive/thread.jspa?messageID=484035