Following the documentation on:
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."
There are no entries in the nodeagent log as it never seems to even get that far.
Has anyone successfully used appservAgentService.exe to create a windows service for the glassfish
nodeagent on Windows 2003 Server?