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
-10.4.1.3\lib\derby.jar;C:\Apache\derby -10.4.1.3\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.
thanks,
bryan