You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Samuel Andrew McIntyre (JIRA)" <de...@db.apache.org> on 2005/03/29 08:41:18 UTC

[jira] Commented: (DERBY-187) Starting derby network server as a service in Win OS

     [ http://issues.apache.org/jira/browse/DERBY-187?page=comments#action_61703 ]
     
Samuel Andrew McIntyre commented on DERBY-187:
----------------------------------------------

Another, probably better solution than my previous suggestion would be one based around the Jakarta Commons Daemon project, which lives here:

http://jakarta.apache.org/commons/daemon/

andrew

> Starting derby network server as a service in Win OS
> ----------------------------------------------------
>
>          Key: DERBY-187
>          URL: http://issues.apache.org/jira/browse/DERBY-187
>      Project: Derby
>         Type: New Feature
>   Components: Services
>     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. 

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Re: [jira] Commented: (DERBY-187) Starting derby network server as a service in Win OS

Posted by Mamta Satoor <ms...@gmail.com>.
Hi,

I have been looking at making Network Server available as a Windows service. 

According to Apache Daemons project, I should use procrun to make a
java application as a windows service. But I haven't been able to
locate the procrun exectable, After little research on the web, I
found that in the absence of procrun executable on Windows, people
have been using tomcat to install their java applications as a
service. I will start investigating into it but if someone has any
input on this, please post it to the list. It will certainly help the
ball rolling on this issue.

thanks,
Mamta

On 4/12/05, Mamta Satoor <ms...@gmail.com> wrote:
> Hi,
> 
> I have been looking around on the Jakarta Commons Daemon page
> (http://jakarta.apache.org/commons/daemon/) to find out how a java
> application can be installed as a service on Windows. The page talks
> about using procrun for Win32 platforms but I see no binaries for the
> utility. The site has binaries page but nothing for Windows platform.
> 
> I looked around a little bit on the web to find out more about procrun
> but have only encountered some success stories about other 2 products
> in the area namely
> 1)JavaService by ObjectWeb Open Source Middleware javaservice.objectweb.org
> 2)Java Service Wrapper by Tanuki Software
> http://wrapper.tanukisoftware.org/doc/english/introduction.html
> 
> I have no idea about the licensing terms of the 2 products above but
> in the absence of generally available binaries for Jakarta Common
> Daemon project for Windows, it seems like we might need to look at
> other options.
> 
> If anybody knows more about this, please send in your thoughts. In the
> mean time I will explore JavaService and Java Service Wrapper.
> 
> Mamta
> 
> On 3/28/05, Samuel Andrew McIntyre (JIRA) <de...@db.apache.org> wrote:
> >     [ http://issues.apache.org/jira/browse/DERBY-187?page=comments#action_61703 ]
> >
> > Samuel Andrew McIntyre commented on DERBY-187:
> > ----------------------------------------------
> >
> > Another, probably better solution than my previous suggestion would be one based around the Jakarta Commons Daemon project, which lives here:
> >
> > http://jakarta.apache.org/commons/daemon/
> >
> > andrew
> >
> > > Starting derby network server as a service in Win OS
> > > ----------------------------------------------------
> > >
> > >          Key: DERBY-187
> > >          URL: http://issues.apache.org/jira/browse/DERBY-187
> > >      Project: Derby
> > >         Type: New Feature
> > >   Components: Services
> > >     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.
> >
> > --
> > 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
> > -
> > If you want more information on JIRA, or have a bug to report see:
> >   http://www.atlassian.com/software/jira
> >
> >
>

Re: [jira] Commented: (DERBY-187) Starting derby network server as a service in Win OS

Posted by Mamta Satoor <ms...@gmail.com>.
Hi,

I have been looking around on the Jakarta Commons Daemon page
(http://jakarta.apache.org/commons/daemon/) to find out how a java
application can be installed as a service on Windows. The page talks
about using procrun for Win32 platforms but I see no binaries for the
utility. The site has binaries page but nothing for Windows platform.

I looked around a little bit on the web to find out more about procrun
but have only encountered some success stories about other 2 products
in the area namely
1)JavaService by ObjectWeb Open Source Middleware javaservice.objectweb.org 
2)Java Service Wrapper by Tanuki Software
http://wrapper.tanukisoftware.org/doc/english/introduction.html

I have no idea about the licensing terms of the 2 products above but
in the absence of generally available binaries for Jakarta Common
Daemon project for Windows, it seems like we might need to look at
other options.

If anybody knows more about this, please send in your thoughts. In the
mean time I will explore JavaService and Java Service Wrapper.

Mamta

On 3/28/05, Samuel Andrew McIntyre (JIRA) <de...@db.apache.org> wrote:
>     [ http://issues.apache.org/jira/browse/DERBY-187?page=comments#action_61703 ]
> 
> Samuel Andrew McIntyre commented on DERBY-187:
> ----------------------------------------------
> 
> Another, probably better solution than my previous suggestion would be one based around the Jakarta Commons Daemon project, which lives here:
> 
> http://jakarta.apache.org/commons/daemon/
> 
> andrew
> 
> > Starting derby network server as a service in Win OS
> > ----------------------------------------------------
> >
> >          Key: DERBY-187
> >          URL: http://issues.apache.org/jira/browse/DERBY-187
> >      Project: Derby
> >         Type: New Feature
> >   Components: Services
> >     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.
> 
> --
> 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
> -
> If you want more information on JIRA, or have a bug to report see:
>   http://www.atlassian.com/software/jira
> 
>