users@glassfish.java.net

Node-agent can't connect to DAS

From: <glassfish_at_javadesktop.org>
Date: Wed, 17 Dec 2008 06:09:55 PST

Hi all,

I've setup a Glassfish cluster with two servers. The DAS is on server-1 and I have one node-agent running on this server. But starting a node-agent on server-2 seems to be impossible.

First I run the [i]"asadmin create-node-agent"[/i] command and all is fine, the node shows up in the DAS webinterface with rendezvous = true.

After a [i]"asadmin start-node-agent cluster1-node2-agent"[/i] command I get the following error:

[code][#|2008-12-17T14:48:36.265+0100|SEVERE|sun-appserver9.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;10.0.0.3;4848;|NAGT0029:It appears that Domain Administration Server (DAS) [host=10.0.0.3], [port=4848] is not configured properly for RMI communication. This usually happens when a socket at given port communicates over a protocol other than RMI. A probable cause is this Node Agent is trying to synchronize with DAS before the initial rendezvous phase.|#][/code]

So I tried "asadmin login --host 10.0.0.3 --port 4848" and this works. I can telnet on hostname and ip on port 4848, jms-ping works and list-clusters works. So what is going wrong, I've been at this for a couple of days without any luck, can anyone help me out with this?

Many thanks for any replies in advance.
[Message sent by forum member 'mvveen' (mvveen)]

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