db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tomohito Nakayama (JIRA)" <derby-...@db.apache.org>
Subject [jira] Commented: (DERBY-187) Starting derby network server as a service in Win OS
Date Mon, 16 Oct 2006 11:44:36 GMT
    [ http://issues.apache.org/jira/browse/DERBY-187?page=comments#action_12442561 ] 
Tomohito Nakayama commented on DERBY-187:

I found that tomcat5.exe in Tomcat package is binary of procrun.

I could register DerbyNetServer as Windows service using next command.

tomcat5.exe //IS//Derby --DisplayName="derby" --StartMode=jvm --StopMode=exe --StartClass=org.apache.derby.drda.NetworkServerControl
--StartParams=start --Classpath=C:\work\20061015\db-derby-\lib\derby.jar;C:\work\20061015\db-derby-\lib\derbynet.jar
--Jvm=C:\j2sdk1.4.2_05\jre\bin\server\jvm.dll --StopClass=org.apache.derby.drda.NetworkServerControl

> Starting derby network server as a service in Win OS
> ----------------------------------------------------
>                 Key: DERBY-187
>                 URL: http://issues.apache.org/jira/browse/DERBY-187
>             Project: Derby
>          Issue Type: New Feature
>          Components: Services
>    Affects Versions:
>         Environment: OS will be only any flavour of Windows.
>            Reporter: Amit Handa
>            Priority: Minor
> The Derby Network Server Database could be started/stopped as a service in Windows OS.
> This may involve updating the win registry. Further work needs to be done to understand
what all will it require to do such a thing.
> I am putting below Andrew McIntyre's comments if they can help in getting a solution
to this problem.
> If you would like to see this functionality added, please add a JIRA entry for it.  The
easiest way to do this would be to provide a registry key file for Derby Network Server and
provide instructions on how to install it as a Windows service using instsrv and srvany. However,
we obviously can't redistribute those two utilities, but it would be nice to provide all the
parts to the solution. So, a little searching turned up this public domain srvany replacement:
> http://iain.cx/src/nssm/
> I haven't tried it, but I suggest trying it out to see how well it works. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message