dev@glassfish.java.net

Re: lopsidedness of domaindir usage?

From: Bill Shannon <bill.shannon_at_sun.com>
Date: Fri, 12 Sep 2008 13:29:08 -0700

Ludovic Champenois wrote:
>> After starting the server and getting a process handle for the server,
>> what information from domain.xml is needed by the IDE that it can't get
>> using one of the existing public interfaces?
> When the server is running, *all* can be done with mbeans/amx/_asadmin
> REST apis assuming you know the admin port number and admin password.
> The issues are more related to before it is started or when it is not
> working (expected like profiler/debug or not expected) or when a server
> has gone thru changes not known by the IDE (i.e you register ocalhost
> 8080/4848 to NetBeans, and the day after outside Nb, you change it to a
> different port number...)
> How an IDE can nicely handles these cases is what makes it good or not.

So, in addition to a process handle, you need to get port number(s) of the
server you just started?

Is that enough?