users@glassfish.java.net

Admin console application entry in domain.xml

From: Manish Gupta <Manish.K.Gupta_at_Sun.COM>
Date: Tue, 14 Oct 2008 20:18:12 +0530

After accessing admin console in GF v3 install for the first time, the
domain.xml is being updated with following entry under
<system-applications> node.

    <application enabled="true" context-root=""
location="file:/D:/GlassFishV3/prelude_build28/glassfishv3-prelude/glassfish/../glassfish/lib/install/applications/__admingui/"
directory-deployed="true" name="__admingui" object-type="system-admin">
      <engine sniffer="web" />
      <engine sniffer="security" />
    </application>
 
Now, if I change location attribute to
location="file:/${com.sun.aas.installRoot}/lib/install/applications/__admingui/",
I am getting following error message in the server.log and console is
not appearing on the browser.


[#|2008-10-14T20:07:53.609+0530|INFO|GlassFish10.0|global|_ThreadID=15;_ThreadName=Thread-3;|The
Admin Console is already installed, but not yet loaded.|#]

[#|2008-10-14T20:07:53.609+0530|INFO|GlassFish10.0|global|_ThreadID=15;_ThreadName=Thread-3;|The
Admin Console is loading...|#]

*[#|2008-10-14T20:07:53.609+0530|SEVERE|GlassFish10.0|global|_ThreadID=15;_ThreadName=Thread-3;|Cannot
determine original location for application : Illegal character in path
at index 8:
file:/D:\GlassFishV3\prelude_build28\glassfishv3-prelude\glassfish/lib/install/applications/__admingui/|#]
*
[#|2008-10-14T20:07:53.609+0530|INFO|GlassFish10.0|global|_ThreadID=15;_ThreadName=Thread-3;|The
Admin Console application is loaded.|#]

[#|2008-10-14T20:07:59.218+0530|INFO|GlassFish10.0|global|_ThreadID=16;_ThreadName=Thread-3;|AdminConsoleAdapter's
STATE IS: The Admin Console application is loaded.|#]