dev@glassfish.java.net

Re: Upgrade from glassfish to glassfish

From: ludo <Ludovic.Champenois_at_Sun.COM>
Date: Fri, 18 Aug 2006 11:11:04 -0700

Suresh Potiny wrote:
> I second Ludo's point. It should be possible to keep any user created
> data outside of installation directory.
Well, it is possible, but not set by default.
Just edit the (ASINSTALL)/config/asenv.(bat|sh) file and change:

set AS_ACC_CONFIG=C:\Sun\AppServerb48\domains\domain1\config\sun-acc.xml
set AS_DEF_DOMAINS_PATH=C:\Sun\AppServerb48\domains

I did not try and if it does not work it is a bug.
I guess the NetBeans plugin will have to change also since it does not
use this AS_DEF_DOMAINS_PATH value ...:-(

Ludo
>
> Suresh
>
> ludo wrote:
>
>> Rajiv Mordani wrote:
>>
>>> Thanks Shreedhar. In my opinion if one has a running domain it
>>> should continue to run as is when we move to
>>> a newer version of glassfish, specially if it is just a bug fix
>>> release. I am not advocating build to build updates but atleast
>>> have the ability to update from say the fcs build of glassfish v1 to
>>> the fcs build of glassfish v1 ur1. Build to build
>>> would be a nice to have. I think we should definitely look at an
>>> upgrade story for glassfish.
>>>
>>> - Rajiv
>>>
>>
>>
>> One thing we could consider in the future is to put the default
>> domains/ location outside the installation directory of the server.
>> These domains are really parts of "My Documents" or my user directory.
>> So by installing a new server (or upgrading the bits), the domains
>> area would stay intact.
>> Then the task of being able to understand or and migrate this domains
>> area would be done at server start-up time: a server version should
>> know the domain version and do the appropriate upgrade, or tell the
>> user that this domain is *not* compatible with this server version.
>>
>> Netbeans has similar concept with a NetBeans user dir (IDE settings),
>> as well as Eclipse (called workspace).
>> Do you store your OpenOffice or MSDTOffice documents in the
>> installation directory? Not me.
>>
>> Ludo
>>
>> ---------------------------------------------------------------------
>> 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
>