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.
I guess I would recommend doing the 'install' a second time... in your
second location...
Editing all the various paths and ports is bound to be error prone...
If you need to create a second domain (instead of a second install, you
might want to try using asadmin's create-domain subcommand.
vbk
>
> 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
>