dev@glassfish.java.net

Re: domain.xml in notepad

From: kedar <Kedar.Mhaswade_at_Sun.COM>
Date: Wed, 13 Dec 2006 16:41:12 -0800

This is something that I had been
asking for long. But couldn't convince people.
Can you file an enhancement request?

Also, any reason why you won't use
"asadmin create-jvm-options"m or the GUI for this?

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
>