users@glassfish.java.net

Re: Is it possible to change the context root for the admin console?

From: <glassfish_at_javadesktop.org>
Date: Fri, 26 Oct 2007 09:11:01 PDT

Interesting question. Maybe we should provide a configuration setting on the admin console
itself! Perhaps you can file an RFE.

Alternatively, the only way to change the context root of admingui application is to hand-edit the
domain.xml and look for
[code]

   <web-module availability-enabled="false" context-root="" directory-deployed="true" enabled="true"
 location="${com.sun.aas.installRoot}/lib/install/applications/admingui/adminGUI_war"
name="admingui" object-type="system-admin">

[/code]

and change the context-root attribute to that of your choice. This will relocate the admin console
application from root-context of __asadmin virtual server to the context of your choice.

Again, this is not really tested, but expected to work. So, give it a try.

Let me know if it works.

Regards,
Kedar
[Message sent by forum member 'km' (km)]

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