dev@glassfish.java.net

Re: V3 : Upgrade Service Questions

From: Hong Zhang <Hong.Zhang_at_Sun.COM>
Date: Thu, 20 Aug 2009 16:06:25 -0400

>>
>> c:\kumar\workspaces\latest\glassfish\glassfishv3\glassfish\bin>.
>> \asadmin start-domain --upgrade=true --user admin --domaindir c:
>> \kumar\glassfish2.1\domains domain1
>> Deprecated syntax, instead use:
>> asadmin --user admin start-domain [options] ...
>> com.sun.enterprise.universal.xml.MiniXmlParserException:
>> com.ctc.wstx.exc.WstxIOException: www.sun.com
>> Command start-domain failed.
>
>
> I thought the syntax was (and have been using):
>
> asadmin start-domain --upgrade [etc] domain1
>
> Does --upgrade=true do the same thing? For what it's worth, you may
> want to try the 'java -jar <glassfish.jar>' route instead to avoid
> some domain.xml parsing issues. See [0] for more information. Since
> you didn't get the same errors I've seen, I wonder if
> "--upgrade=true" did anything.

The "--upgrade=true" did not work for me. After talking to Jerome, I am
now using "java -jar <GF_INSTALL>/modules/glassfish.jar -upgrade true"
(note, one dash before upgrade instead of two dashes) and it works for me.

- Hong

>
> [0] https://glassfish.dev.java.net/issues/show_bug.cgi?id=9127
>
> Cheers,
> Bobby
>
> p.s. Am just back from a couple days out of the office -- my token
> card broke and so I couldn't set up a vacation message so sorry for
> the delay with no apparent reason. To make things even more
> interesting, I'm only receiving email intermittently now (have filed
> a service request) so the trend could continue.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>