dev@glassfish.java.net

Re: lopsidedness of domaindir usage?

From: Ludovic Champenois <Ludovic.Champenois_at_Sun.COM>
Date: Wed, 17 Sep 2008 16:53:58 -0700

Kedar Mhaswade wrote:
>
>>> I'm only slightly concerned about reading the domain.xml file to find
>>> the port number; as others have said it's pretty close to a public
>>> interface already.
>> I actually think reading the http, ssl, and admin port numbers
>> correctly is more difficult than locating and patching the JVM config
>> options. The parsing code I wrote is quite flexible so if the rules
>> on how to locate this information changed, it ought to require only a
>> minor update to fix.
>
> Does it mean you rely on the id's of the http-listeners? If that's the
> case, we better agree upon those id's as well. e.g. How do you decide
> that the "admin port" is 4848 in your parsing sequence?
>
Hi,
We need to define these ids anyway for AMX usage. (see previous mail)

Lud