users@glassfish.java.net

CLI137 Command start-node-agent failed. -- more detail in post ...

From: <glassfish_at_javadesktop.org>
Date: Sun, 24 Aug 2008 20:47:24 PDT

I cannot get a new node agent running.

In asadmin, I type :
asadmin> start-node-agent --user admin --port 4868 nodeagent1
and the result is :
Please enter the master password [Enter to accept the default]:>
Redirecting output to D:/Sun/SDK/nodeagents/nodeagent1/agent/logs/server.log
Redirecting application output to D:/Sun/SDK/nodeagents/nodeagent1/agent/logs/server.log
Node Agent nodeagent1 failed to startup. Please check the server log for more details.
CLI137 Command start-node-agent failed.

The error in the server.log is :

---------------- quote -------------------------

[#|2008-08-25T15:02:31.979+1200|INFO|sun-appserver9.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;|NAGT0004:Starting Node Agent...|#]

[#|2008-08-25T15:02:31.994+1200|CONFIG|sun-appserver9.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;|DAS url = service:jmx:rmi:///jndi/rmi://localhost:2706/management/rmi-jmx-connector|#]

[#|2008-08-25T15:02:32.072+1200|INFO|sun-appserver9.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;|NAGT0025:The node agent could not configure logging levels. Default logging level will be used.|#]

[#|2008-08-25T15:02:32.072+1200|INFO|sun-appserver9.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;|NAGT0038:Executing Synchronization for node-agent With DAS|#]

[#|2008-08-25T15:02:45.151+1200|INFO|sun-appserver9.1|javax.ee.enterprise.system.tools.synchronization|_ThreadID=10;_ThreadName=main;|SYNC001: Unable to communicate with Domain Administration Server. Skipping synchronization.|#]

[#|2008-08-25T15:02:45.151+1200|SEVERE|sun-appserver9.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;|NAGT0035:The NodeAgent failed to complete the intial synchronization with the DAS. Please make sure the DAS is running and is accessible from the NodeAgents server|#]

[#|2008-08-25T15:02:47.151+1200|WARNING|sun-appserver9.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;|NAGT0013:Stopping Node Agent...|#]

---------------- end quote -------------------------

The node agent is visible in the DAS, but its Node Agent Status is "Stopped".

My configuration is :
- one instance running on a single Windows Vista workstation
- two domains : domain1 and domain3 running on the same workstation
- nodeagent1 created on domain3 (DAS port 4868)

It seems to me the problem is with asadmin connecting to DAS on jmx port 2706. I have enabled security on the DAS Admin Service JMX page. I've also tried with this disabled, and the JMX security disabled on the node agent config in DAS as well.

Where else should I look ? Or, how can I get more details of this error ?
[Message sent by forum member 'haryadoon' (haryadoon)]

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