dev@glassfish.java.net

Re: Two G/F instances on same box

From: Tom Amiro <Tom.Amiro_at_Sun.COM>
Date: Fri, 27 Oct 2006 09:42:46 -0400

Sameer,

I install GF from the snapshot image and configure it for different ports
by changing the defaults in the setup.xml. I'll bet you can put GF
in two locations and edit the setup.xml for each to keep them
from bumping into each other.

Tom


Sameer Tyagi wrote:

> How do I set up 2 GF instances on the same box ?
>
> I copied the existing dir and edited the paths in all the files in the
> bin dir, edited the configs\asenv
> and edited all the ports in the domain.xml.
>
> However it just hangs after this line
> C:\Glassfish2\bin>asadmin start-domain domain1
> Starting Domain domain1, please wait.
> Log redirected to C:\glassfish2\domains\domain1\logs\server.log.
>
> Any ideas ?
>
> /s
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>