admin@glassfish.java.net

getting admin port number

From: Carla Mott <carla.mott_at_oracle.com>
Date: Mon, 21 Jun 2010 00:10:54 -0700

Hi

What's the easiest way for code in the DAS to get the admin port
number? I see that I can get the hostname from a system property but
what about the port? I need to pass these values to some commands when
running over ssh.

Thanks,
Carla