dev@glassfish.java.net

Re: action for module leads (upgrade)

From: Bobby Bissett <bobby.bissett_at_oracle.com>
Date: Tue, 16 Nov 2010 12:01:55 -0500

On Nov 15, 2010, at 7:19 PM, Marina Vatkina wrote:
> I usually remove glassfish3/glassfish/domains/domain1/osgi-cache when I test 3.0->3.1 upgrade.

Yep, that's the only advice I have to give, so no cheat sheet Tim. Issue had a brief lifetime here:
https://glassfish.dev.java.net/issues/show_bug.cgi?id=11880

Technically, 3.0 -> 3.1 isn't really an upgrade, so you ought to be able to just start a 3.1 server with a 3.0 domain (removing the osgi cache) -- this is the update center use case. On the other hand, running an upgrade on a domain that doesn't need it is supposed to be a no-op, so you can run 'asadmin start-domain --upgrade' on a 3.0 or 3.1 domain if you'd like. (*)

Cheers,
Bobby

(*) Which is funny timing because I just realized this morning I hadn't tried that in a while. Was mildly surprised that it worked (except for a minor issue I see in every upgrade).