users@glassfish.java.net

Re: appservAgentService.exe not functional on Windows 2003

From: <glassfish_at_javadesktop.org>
Date: Tue, 03 Jun 2008 12:24:19 PDT

The following command line worked for me.

sc.exe create GF2node binPath= "C:\Sun\Appserver\lib\appservAgentService.exe \"C:\Sun\Appserver\bin\asadmin.bat start-node-agent --user admin --passwordfile C:\Sun\Appserver\bin\password.txt <HOSTNAME>\" \"C:\Sun\Appserver\bin\asadmin.bat stop-node-agent <HOSTNAME>\"" start= auto DisplayName= "GF2 Nodeagent"

Please Note: I have masked the HostName. Also there are mandatory spaces in command line between <optionname> and <optionvalue> as required by sc.exe command.

Also you may observe the node-agent log file when you start/stop the service to get more debugging information. It is available under <InstallDir>\nodeagents\<nodeagentname>\logs\server.log.

Please make sure that your domain that the nodeagent is configured to is up and running before starting the agent service.

HTH
[Message sent by forum member 'scatari' (scatari)]

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