users@glassfish.java.net

Inconsistent jmx-connector settings between a DAS and a node

From: <glassfish_at_javadesktop.org>
Date: Thu, 03 Sep 2009 02:44:07 PDT

Hello,


I have setup a glassfish v2.1 b60e with one DAS, one node and one instance in that node.
This setup has one specificity: those three are on the same server but configured with different IP addresses.

Here follow extracts of the domain.xml of the DAS, the node and the instance:
DAS:
[i] <node-agent name="NODE01" start-servers-in-startup="true" system-jmx-connector-name="system">
      <jmx-connector accept-all="false" address="[b]X.Y.Z.W[/b]" auth-realm-name="admin-realm" enabled="true" name="system" port="2351" protocol="rmi_jrmp" security-enabled="true">
        <ssl cert-nickname="s1as" client-auth-enabled="false" ssl2-enabled="false" ssl3-enabled="true" tls-enabled="true" tls-rollback-enabled="true"/>
        <property name="client-hostname" value="theCanonicalHostNameOfTheServer"/>
      </jmx-connector>[/i]

Node or instance:
 [i] <node-agent name="NODE01" start-servers-in-startup="true" system-jmx-connector-name="system">
      <jmx-connector accept-all="false" address="[b]0.0.0.0[/b]" auth-realm-name="admin-realm" enabled="true" name="system" port="2351" protocol="rmi_jrmp" security-enabled="true">
        <ssl cert-nickname="s1as" client-auth-enabled="false" ssl2-enabled="false" ssl3-enabled="true" tls-enabled="true" tls-rollback-enabled="true"/>
        <property name="client-hostname" value="theCanonicalHostNameOfTheServer"/>
      </jmx-connector>[/i]

The respective domain.xml have been generated by GlassFish itself. No manual modification.
As you can see, the definition of the jmx connector is not the same whether you consider the DAS domain.xml or the node/instance domain.xml. The specific IP address of the node (X.Y.Z.W) is replaced by 0.0.0.0.

Note: the DAS IP address is the only one that resolves to [i]theCanonicalHostNameOfTheServer[/i].

Is this a bug ?
Or is there a specific reason that can explain why X.Y.Z.W has been replaced by 0.0.0.0 ?



Bye
[Message sent by forum member 'vkoniecz' (vincent.konieczek_at_mpsa.com)]

http://forums.java.net/jive/thread.jspa?messageID=362778