Has anyone created a windows service for glassfish nodeagent on windows 2003.
Following the documentation on:
http://docs.sun.com/app/docs/doc/819-3671/ablwz?a=view
I created my service with the following syntax:
sc.exe create GF2node binPath= "C:\glassfish\lib\appservAgentService.exe \"C:\glassfish\bin\asadmin.bat start-node-agent --user admin --passwordfile C:\glassfish\password.txt node01\" \"C:\glassfish\bin\asadmin.bat stop-node-agent node01\"" start= auto DisplayName= "GF2 Nodeagent"
The service gets created but will not start.
I get an error:
Could not start the GF2 Nodeagent service on Local Computer."
"Error 1053: The service did not respond to the start or control request in a timely fashion."
Has anyone successfully used appservAgentService.exe to create a windows service for the glassfish nodeagent?
TIA,
Andrew
[Message sent by forum member 'areplogle' (areplogle)]
http://forums.java.net/jive/thread.jspa?messageID=265746