dev@glassfish.java.net

Re: lopsidedness of domaindir usage?

From: Bill Shannon <bill.shannon_at_sun.com>
Date: Thu, 11 Sep 2008 14:16:24 -0700

Ludovic Champenois wrote:
> Ludovic Champenois wrote:
>> Lloyd Chambers wrote:
>>> +1
>>>
>>> ...and please be prepared to have an interface to "import" when doing
>>> ARC review. :)
>>>
>> Would be nice isn't it?
>> Yes, it would have been nice to have some code to share, but as Kedar
>> mentioned, it was not seen important for V3 prelude.
>> We would also need an OSR to add the exported interface JAR into the
>> NetBeans product.
>> Another one for adding it in Eclipse.
>> So far, java is an external public interface. Domain.xml content is as
>> well.
> Ho, and the implementation of stop server would also need to cover these
> cases:
> 1/ server is stopped at a break point
> 2/ server has been started in profiler mode, but nobody has attached to
> it, so the server is waiting...
> 3/ server is in a mode where admin commands do not work anymore for
> whatever reason (and we have cases where jps itself does not respond to
> get the lists of VMs so you cannot know which one to kill:-)
>
> Not sure asadmin or a java api without environment context knowledge
> (specific to Eclipse or specific to NetBeans) can address these cases.

I'm sure you're the best qualified to design an API that NetBeans and
Eclipse can use.

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?