users@glassfish.java.net

Re: Communication trouble DAS - Node Agent

From: <glassfish_at_javadesktop.org>
Date: Tue, 24 Nov 2009 22:09:56 PST

Let's see what options can be availed of:

1. Can you try creating your NA with your expected IP address using the --agent* options in create-node-agent:
./asadmin create-node-agent --asdas
Usage: create-node-agent [--terse=false] [--echo=false] [--interactive=true] [--host DAS_host(Default localhost)] [--port 4848|4849] [--user DAS_user] [--passwordfile file_name] [--agentdir nodeagent_path] [--agentport port_number] [--savemasterpassword=false] [--secure=true] [--agentproperties (name=value)[:name=value]*] [nodeagent_name]

2. Or else you can add java.rmi.server.hostname property to NA and DAS VMs to force the RMI stubs of their JMX connector servers to have an IP you desire. For DAS you can set it in domain.xml. For NA in the command above (or you can try setting that in the processLauncher.xml -- beware that it is not a published interface)

3. Lastly, if that 10.97.20.23 interface is not used anywhere else, may be you can get rid of that from NA host ?
[Message sent by forum member 'ne110415' ]

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