dev@glassfish.java.net

Re: Two G/F instances on same box

From: Sameer Tyagi <Sameer.Tyagi_at_Sun.COM>
Date: Fri, 27 Oct 2006 11:03:11 -0400

Yes that worked.

Thanks
/s


Tom Amiro wrote:

> 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
>