dev@glassfish.java.net

Re: V3 : Upgrade Service Questions

From: Bobby Bissett <Robert.Bissett_at_Sun.COM>
Date: Thu, 20 Aug 2009 15:42:14 -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.

[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.