db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Pendleton <bpendle...@amberpoint.com>
Subject Re: DERBY-4530: Unable to run derby as windows service
Date Mon, 01 Feb 2010 21:30:54 GMT
> Could you pls help me in explaining the steps how to create derby 
> service and run successfully?
> C:\Softwares\apache-tomcat-5.5.28\apache-tomcat-5.5.28\bin\tomcat5.exe 
> //IS//DerbyServer1 --DisplayName="DerbyServer1" --StartMode=jvm 
> --StopMode=exe --StartClass=org.apache.derby.drda.NetworkServerControl 
> --StartParams=start --Classpath=C:\Apache\derby 
> -\lib\derby.jar;C:\Apache\derby -\lib\derbynet.jar 
> --Jvm=C:\DB\DBDIMB\Software\Java\jre\bin\server\jvm.dll 
> --StopClass=org.apache.derby.drda.NetworkServerControl 
> --StopParams=shutdown

This looks like a fine command. Did you pass it to "sc create"?

You need to do "sc create" to define the service to Windows, then "sc start"
and "sc stop" should start and stop it.



View raw message