+1

However, I wonder this may be an issue of documentation about using sc command on Windows when using Derby ....

How to Create a Windows Service Using Sc.exe :
   http://support.microsoft.com/kb/251192

Best regards.


Riyaz Mansoor (JIRA) wrote:

[ http://issues.apache.org/jira/browse/DERBY-187?page=comments#action_12442371 ] Riyaz Mansoor commented on DERBY-187:
-------------------------------------


Guys i think this needs to be implemented. Recently Tomcat did the same for 
their project. Please vote for this feature.

Riyaz

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: 10.0.2.1
       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.


--
/*

       Tomohito Nakayama
       [EMAIL PROTECTED]
       [EMAIL PROTECTED]
       [EMAIL PROTECTED]

       Naka
       http://www5.ocn.ne.jp/~tomohito/TopPage.html

*/

Reply via email to