dev@glassfish.java.net

Re: Upgrade from glassfish to glassfish

From: Eduardo Pelegri-Llopart <pelegri_at_sun.com>
Date: Fri, 18 Aug 2006 09:48:01 -0700

Thanks, Shreedhar.

Could you summarize what is supposed to work? E.g.

* Can one upgrade from GF V1 fcs o GF V2 fcs?
* Can one upgrade from GF V1 fcs to GF V2 Mx for some Mx?
* Can one upgrade from GF V2 Mn to GF V2 Mm for some m,n?

Upgradability seems very important if we want aggressive use of the
Milestones, and I think we want that to be sure the final result is as
useful to the customer/community as possible...

Thanks!
        - eduard/o


Shreedhar Ganapathy wrote:
> Hello Rajiv
> You are right and I should have earlier posted a clarification to the
> alias.
> When the installations of GF have an incompatible change such as a class
> dependency of admin tool in the earlier build no longer being available
> in the newer build (example, GlassFishConfigureListener.java in b48 no
> longer being there in b05 v1ur1 in my pre-blog experimentation) then the
> admin tool would break unless the admin app also got updated.
> Seems to me that if the backup/restore would not touch system apps such
> as admin apps, this problem would go away but I hesitate to generalize.
>
> Byron and Kedar clarified when I discussed this with them (and here I
> share this information for benefit of others) that the backup/restore
> command's original intention was not to port a domain from one
> installation to another but to only save a good domain configuration for
> later use (say if the domain got corrupted) within the same installation.
>
> One of the alternatives suggested was to save the domain config
> directory from earlier build elsewhere and then do an in place install
> of newer build and then move back config dir. This might work subject to
> caveat that incompatible changes from earlier build to newer build in
> the installation bits could possibly pose problems and that inplace
> upgrade to newer build is an irreversible change.
>
> In sum, I think that if there is sufficient developer/user demand for
> build to build upgrades, then this should be considered an RFE and
> should be filed as such.
>
> best regards
> Shreedhar
>
> Rajiv Mordani wrote:
>
>> Shreedhar,
>> Unfortunately this does not seem to work. I tried to backup a
>> domain that was installed on glassfish v1 and then restore
>> it on glassfish v1 ur1 and some apps worked but in particular the
>> admin tool was broken.
>>
>> - Rajiv
>>
>> Shreedhar Ganapathy wrote:
>>
>>> Alright, I Will do so today or tomorrow.
>>>
>>> Eduardo Pelegri-Llopart wrote:
>>>
>>>> Shreedhar, what about writging a short blog on tihs? Later we need
>>>> to captgure it in the public wiki...
>>>>
>>>> - eduard/o
>>>>
>>>> Shreedhar Ganapathy wrote:
>>>>
>>>>> Hello Dmitry
>>>>> At present I believe there is no upgrade mechanism between nightly
>>>>> or promoted builds. A possible way is to use asadmin
>>>>> backup-domain/restore-domain commands which would back up your
>>>>> domain configuration to your specified directory and allow you to
>>>>> restore it when the new build is installed.
>>>>> See the documentation here:
>>>>> https://glassfish.dev.java.net/nonav/javaee5/docs/SJSASEETSG.pdf
>>>>> page 11
>>>>> and
>>>>> http://fisheye5.cenqua.com/viewrep/glassfish/appserv-docs/sman/cat1/backup-domain.1?r1=1.6.2.1&r2=1.6.2.2&u=-1&ignore=&k=k
>>>>>
>>>>>
>>>>> Hope this helps.
>>>>>
>>>>> regards
>>>>> Shreedhar
>>>>>
>>>>>
>>>>> Dmitry Mozheyko wrote:
>>>>>
>>>>>> Hello all.
>>>>>> How to safely upgrade glassfish version for example from v2-b09 to
>>>>>> v2-b11?
>>>>>> WBR, Dmitry
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>
>