users@glassfish.java.net

Re: [Fwd: [Fwd: Re: [Fwd: Proper migration procedure between "b" versions]]]

From: Binod <Binod.Pg_at_Sun.COM>
Date: Wed, 07 Dec 2005 23:06:05 +0530

Miguel A Paraz wrote:

>On 12/7/05, Binod <Binod.Pg_at_sun.com> wrote:
>
>
>>>Hi,
>>>I did both a: delete-domain / create-domain , and a reinstall, of b29 for Linux.
>>>
>>>./domains/domain1/applications/j2ee-apps/ is empty.
>>>
>>>
>>>
>>>
>>Now, start the appserver, wait for few seconds... The applications
>>should appear!
>>
>>
>
>
>Got it.
>
>After that, I stopped the domain, copied domain.xml from the old
>installation, and started the domain. It turns out the webapps are
>also defined in domain.xml, so this wasn't clean since their data
>wasn't loaded.
>
>I just reinstalled fresh, and created the JDBC pools and resources again.
>
>Is there a way of porting these between installations?
>
>
If you use "asadmin add-resources" and/or "asadmin multimode" [hope i
got them right!]
commands, some of the pain should go away.

Another option is to use the old domain in the new installation using
--domaindir option
in the asadmin commands. However, this might create issues, if there are
inconsistencies
between the two installations.

thanks,
Binod.