users@glassfish.java.net

appservAgentService.exe not functional on Windows 2003

From: <glassfish_at_javadesktop.org>
Date: Tue, 25 Mar 2008 09:56:23 PST

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