users@glassfish.java.net

Re: Moving domain onto other server

From: Alexis Moussine-Pouchkine <alexis.mp_at_sun.com>
Date: Fri, 16 Apr 2010 09:47:33 +0200

Ideally you would have scripted the configuration via asadmin or the RESTful API of the original instance and it would be just a matter of running the script against the new instance.
I'm curious, why wouldn't asupgrade help here?
Assuming your environments are identical you can try "asadmin backup-domain" and "asadmin restore-domain"
I wouldn't recommend hacking/editing domain.xml directly but that can give you an idea of the config that needs to be applied to the new install.
-Alexis

On 16 avr. 2010, at 05:52, glassfish_at_javadesktop.org wrote:

> Hi, I'm sure there must be some way to port the domain that I'm currently using for my glassfish to another server with a simliar glassfish version and OS. Could anyone point me in the right direction? Couldn't find anything about it in the documents and forums. Or maybe I'm just not looking in the right direction.
>
> Basically I just need to set up Glassfish on another computer with the same settings that I have in my current computer and I don't want to go about doing all the configurations that have already been done. Chances are, I'd miss some settings out.
>
> I'm using Glassfish 2.1.1 though in case it matters and I don't think asupgrade would help either. tia!
> [Message sent by forum member 'rogery']
>
> http://forums.java.net/jive/thread.jspa?messageID=397295
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>