users@glassfish.java.net

Re: Two instances of Glassfish on the same machine!

From: Hassan Schroeder <hassan.schroeder_at_gmail.com>
Date: Tue, 22 Dec 2009 12:12:26 -0800

On Tue, Dec 22, 2009 at 12:06 PM, kedar <Kedar.Mhaswade_at_sun.com> wrote:

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

I'm not sure I understand "the other setup". An environment variable
will be present regardless of which instance I'm trying to start.

Can you clarify what you're suggesting?

-- 
Hassan Schroeder ------------------------ hassan.schroeder_at_gmail.com
twitter: @hassan