users@glassfish.java.net

Glashfish 2.1 clustering

From: <glassfish_at_javadesktop.org>
Date: Mon, 06 Apr 2009 04:34:54 PDT

Hi All,

I have installed Glashfish AS 2.1 and created my own domain using the following command

>asadmin create-domain --adminport 5000 --adminuser admin J2EE

after this I started this domain

>asadmin start-domain --user admin J2EE

after this I have created node manager using the following command

>asadmin create-node-agent --host 172.16.1.46 --port 5000 mynodeagent5

While starting the nodeagent I am getting the following error....

C:\Sun\AppServer\bin>asadmin start-node-agent --user admin mynodeagent5

Please enter the master password [Enter to accept the default]:>
Redirecting output to C:/Sun/AppServer/nodeagents/mynodeagent5/agent/logs/server.log
Redirecting application output to C:/Sun/AppServer/nodeagents/mynodeagent5/agent/logs/server.log
Node Agent mynodeagent5 failed to startup. Please check the server log for more details.
CLI137 Command start-node-agent failed.


server.log
-------------

-Dcom.sun.aas.instanceRoot=C:/Sun/AppServer/nodeagents/mynodeagent5/agent
-Dcom.sun.aas.configRoot=C:/Sun/AppServer/config
-Dcom.sun.aas.defaultLogFile=C:/Sun/AppServer/nodeagents/mynodeagent5/agent/logs/server.log
-Dcom.sun.aas.instanceName=mynodeagent5
-Dcom.sun.aas.isNodeAgent=true
-Dcom.sun.aas.promptForIdentity=true
-Dcom.sun.appserv.admin.pluggable.features=com.sun.enterprise.ee.admin.pluggable.EEClientPluggableFeatureImpl
-Dcom.sun.appserv.nss.db=C:/Sun/AppServer/nodeagents/mynodeagent5/agent/config
-Dcom.sun.appserv.pluggable.features=com.sun.enterprise.ee.server.pluggable.EEPluggableFeatureImpl
-Djava.endorsed.dirs=C:/Sun/AppServer/lib/endorsed
-Djava.library.path=C:\Sun\AppServer\lib;C:\Sun\AppServer\lib;C:\Sun\AppServer\bin;C:\Sun\AppServer\bin
-Djava.security.auth.login.config=C:/Sun/AppServer/nodeagents/mynodeagent5/agent/config/login.conf
-Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
-Djmx.invoke.getters=true
-XX:+UnlockDiagnosticVMOptions
-XX:LogFile=C:/Sun/AppServer/nodeagents/mynodeagent5/agent/logs/jvm.log
-XX:+LogVMOutput
-cp
C:/Sun/AppServer/lib/comms-appserv-rt.jar;C:\Sun\AppServer\lib\appserv-launch.jar;C:/Sun/AppServer/lib\appserv-admin.jar;C:/Sun/AppServer/lib\appserv-ee.jar;C:/Sun/AppServer/lib\appserv-ext.jar;C:/Sun/AppServer/lib\appserv-rt.jar;C:/Sun/AppServer/lib\appserv-se.jar;C:/Sun/AppServer/lib\javaee.jar
com.sun.enterprise.ee.nodeagent.NodeAgentMain
start
 startInstancesOverride=NOTSET
syncInstances=false
monitorInterval=5

[#|2009-04-06T16:41:19.937-0500|INFO|sun-appserver2.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;|NAGT0004:Starting Node Agent...|#]



[#|2009-04-06T16:41:19.984-0500|CONFIG|sun-appserver2.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;|DAS url = service:jmx:rmi:///jndi/rmi://172.16.1.46:5000/management/rmi-jmx-connector|#]



[#|2009-04-06T16:41:19.984-0500|CONFIG|sun-appserver2.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;|NodeAgent url = service:jmx:rmi_jrmp://0.0.0.0:3708|#]



[#|2009-04-06T16:41:20.078-0500|INFO|sun-appserver2.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;service:jmx:s1ashttp://172.16.1.46:5000;|NAGT0021:The nodeagent is attempting to rendezvoused with the DAS on URL service:jmx:s1ashttp://172.16.1.46:5000|#]



[#|2009-04-06T16:41:20.156-0500|SEVERE|sun-appserver2.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;service:jmx:s1ashttp://172.16.1.46:5000 == java.io.IOException: Invalid user or password;|NAGT0022:The nodeagent failed to rendezvous with the DAS on URL service:jmx:s1ashttp://172.16.1.46:5000 == java.io.IOException: Invalid user or password|#]



[#|2009-04-06T16:41:22.171-0500|WARNING|sun-appserver2.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;|NAGT0013:Stopping Node Agent...|#]

Please help me to resolve this eroor...

Thanks in advance,
Krishna
[Message sent by forum member 'jv_krishna5252' (jv_krishna5252)]

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