Skip to main content

How to configure Glassfish as a service

No replies
rajaniyer123
Offline
Joined: 2007-12-18

Hi Kindly note that as I am trying to start Glassfish as a service in windows 2000 but as I am getting error, in which it will not created the service, and it show syntax of sc command at all time

Please can anybody verify the syntax

sc create domain1 binPath="D:\Program Files\glassfish\lib\appservService.exe \"D:\Program Files\glassfish\bin\asadmin.bat\ start-domain --user admin --passwordfile D:\password.txt domain1\" \"D:\Program Files\glassfish\bin\asadmin.bat\" stop-domain domain1\" start=auto DisplayName="Glassfish Domain1"