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 Sun, 15 Oct 2006 15:56:36 GMT
    [ http://issues.apache.org/jira/browse/DERBY-187?page=comments#action_12442403 ] 
Tomohito Nakayama commented on DERBY-187:

I tried sc.exe command in Windows XP ...

Result was as next.

C:\Documents and Settings\中山智仁>sc create derby binPath= "C:\j2sdk1.4.2_05\bin\java.exe
-classpath C:\work\20061015\db-derby-\lib\derby.jar;C:\work\20061015\db-derby-\lib\derbynet.jar
org.apache.derby.drda.NetworkServerControl start" DisplayName= derby
[SC] CreateService SUCCESS

C:\Documents and Settings\中山智仁>sc start derby
[SC] StartService FAILED 1053:

It seems that just running NetworkServer program is not resulted to run as service ...
I think somewhat like & in unix is needed ...

> 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