users@glassfish.java.net

Re: Admin console application entry in domain.xml

From: Kedar Mhaswade <Kedar.Mhaswade_at_Sun.COM>
Date: Tue, 14 Oct 2008 10:04:19 -0700

Please don't change the location entry of system-applications. It's supposed
to be read-only, AFAIK. May I know why you want to change it?

Thanks,
Kedar

Tim Quinn wrote:
> Manish,
>
> Manish Gupta wrote:
>> 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.
> Use the property com.sun.aas.installRootURI instead. As you can see,
> the format of the original attribute value is a URI, not a native file
> path. The problem is that you are using a native file path property
> where a URI is needed.
>
> - Tim
>>
>>
>> [#|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.|#]
>>
>