users@glassfish.java.net

Re: Two instances of Glassfish on the same machine!

From: kedar <Kedar.Mhaswade_at_Sun.COM>
Date: Tue, 22 Dec 2009 12:06:25 -0800

Hassan Schroeder wrote:
> On Mon, Dec 21, 2009 at 4:12 AM, Jonathan Costa Muniz
> <joncmuniz_at_hotmail.com> wrote:
>> Two instances of Glassfish on the same machine!
>
>> I saw that not only change the ports 4848, 8080, and 8181.
>> I'm using glassfishv3
>
> Have you tried it? I have 2 instances, one using ports 4848 + 8080
> and one on 4849 + 8081. No problems other than having to remember
> to specify the non-default admin port from the command line :-)

Alternatively, set AS_ADMIN_PORT as an environment variable in the
other setup and you don't have to specify that on command line
every time.

>
> FWIW,