dev@glassfish.java.net

Re: domain.xml in notepad

From: Anissa Lam <Anissa.Lam_at_Sun.COM>
Date: Thu, 14 Dec 2006 10:13:31 -0800

Please see in line regarding Admin Console.

Arun Gupta wrote:
> See in line ...
>
> kedar wrote:
>>
>> Also, any reason why you won't use
>> "asadmin create-jvm-options"m or the GUI for this?
> Yeah, here are my few reasons:
>
>
> 3). I know I need to add jvm-options in domain.xml but how do I map it
> to the clicks in asadmin console. I think having a search feature in
> admin console to enable that would be helpful. I could figure out
> where these values need to be specified in console though.
If you select Application Server from the tree, the right frame will
show the General information about the server, and there is a JVM tab
where you can set the JVM options.

There is a 'Help' button on the top frame to bring up the online help,
it will show you different task in Admin Console. Type in JVM Option
and it will show where and how to configure the JVM options.
(However, for b28, we switch to the new GUI and online help is missing
due to a P1 bug with Woodstock components. We hope to get this fixed
soon.)

>
>
> 5). A "restart required" allows me to stop the server instance but
> then asks to start the instance from command line. Since the admin
> console has privileges to stop the server, it should be able to
> restart it as well and there by simplifying the steps.
This is the most commonly requested feature. An Enhancement issue has
been logged against admin.
https://glassfish.dev.java.net/issues/show_bug.cgi?id=522
The status is RESOLVED - LATER

thanks
Anissa.


>
> All this may look intuitive to users already familiar GlassFish but
> certainly not to a new user. For reasons 1)-4), I find it more
> convenient to open up domain.xml in an editor, search for jvm-options
> and add mine there :)
>
> Thanks,
> -Arun
>
>>
>> Thanks,
>> Kedar
>>
>> Arun Gupta wrote:
>>> domain.xml comes gobbled up in notepad and it's hard to edit. I
>>> added a jvm-option using XML Notepad [1] and that messed up the
>>> complete file and now I'm getting:
>>>
>>> -- cut here --
>>> com.sun.enterprise.config.ConfigException: Error refreshing
>>> ConfigContext:C:\tes
>>> tbed\glassfish\domains\domain1\config\domain.xml
>>> cause: Failed to create the XML-DOM Document. Check your XML to
>>> make sure it is
>>> correct.
>>> Element type "DOMAIN" must be declared.
>>> CLI156 Could not start the domain domain1.
>>> -- cut here --
>>>
>>> I'd rather use notepad provided domain.xml can be displayed
>>> XML-formatted. Any reason it's not ?
>>>
>>> [1] http://www.snapfiles.com/download/dlxmlnotepad.html
>>>
>>> -Arun
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>