You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-user@db.apache.org by Michael Oliver <ol...@alariussystems.com> on 2005/09/05 15:50:42 UTC
Running Derby as a Service
I did not find instructions in the guides about running Derby as a service.
I can run the StartNetworkServer.bat file and I can put a shortcut to that
batch file in the Startup directory...but I would prefer to run it as a
service.
Any guidance will be appreciated.
Mike Oliver
RE: Running Derby as a Service
Posted by VOGELLA <La...@gmail.com>.
Hi,
the installation of Derby as a Windows service is described here:
http://www.vogella.de/articles/ApacheDerby/article.html#service
Best regards, Lars
--
View this message in context: http://www.nabble.com/Running-Derby-as-a-Service-tp785986p25741945.html
Sent from the Apache Derby Users mailing list archive at Nabble.com.
Re: Running Derby as a Service
Posted by "Michael J. Segel" <ms...@segel.com>.
On Tuesday 06 September 2005 09:17, Michael Oliver wrote:
> Michael Oliver wrote:
> >I did not find instructions in the guides about running Derby as a
> > service. I can run the StartNetworkServer.bat file and I can put a
> > shortcut to that batch file in the Startup directory...but I would prefer
> > to run it as a service.
> >
> >Any guidance will be appreciated.
> >
> >Mike Oliver
Switch to Linux or Unix?
Unless you can redirect standard err and standard out to a file in windows...
That would solve your problems....
--
Michael Segel
Principal
MSCC
(312) 952-8175
RE: Running Derby as a Service
Posted by Michael Oliver <ol...@alariussystems.com>.
Thanks I will try that too.
Does anyone know any potential pitfalls from using srvany.exe to run the
startNetworkServer.bat (with some small changes to CD to the DERBY_INSTALL,
etc.?
Michael Oliver
CTO
Alarius Systems LLC
6800 E. Lake Mead Blvd, #1096
Las Vegas, NV 89156
Phone:(702)643-7425
Fax:(702)974-0341
*Note new email changed from oliverm@matrix-media.com
-----Original Message-----
From: Thomas J. Taylor [mailto:thomas.taylor@itqa.miami.edu]
Sent: Tuesday, September 06, 2005 8:20 AM
To: 'Derby Discussion'; ollie@alariussystems.com
Subject: RE: Running Derby as a Service
I've used the open-source 'Java Service Launcher (JSL)'
(http://sourceforge.net/projects/jslwin) for about a year. It's easy to
setup and configure and seems stable. It's also pretty small (an .exe file
(40k) and an .ini file (1k) are all you need).
Thomas
-----Original Message-----
From: Michael Oliver [mailto:ollie@alariussystems.com]
Sent: Tuesday, September 06, 2005 10:18 AM
To: 'Stanley Bradbury'
Cc: derby-user@db.apache.org
Subject: RE: Running Derby as a Service
I will give it a try thanks.
BTW I got part way there by using srvany.exe and the StartNetworkServer.bat
however it runs but I don't know it that is sufficient.
Michael Oliver
CTO
Alarius Systems LLC
6800 E. Lake Mead Blvd, #1096
Las Vegas, NV 89156
Phone:(702)643-7425
Fax:(702)974-0341
*Note new email changed from oliverm@matrix-media.com
-----Original Message-----
From: Stanley Bradbury [mailto:Stan.Bradbury@gmail.com]
Sent: Monday, September 05, 2005 9:25 AM
To: Derby Discussion
Subject: Re: Running Derby as a Service
Hi Michael -
I have not done this myself but assisted a developer in getting this
working. The main issue was that the Network Server requires a console and
(as I understand it) there is no default output console associated with
processes running as a service. There are probably a number of ways to get
this working, in this case the developer was successful using the open
source Java Service Wrapper by Tanuki Software. Access this software at:
http://wrapper.tanukisoftware.org/doc/english/index.html.
Hope this helps.
Michael Oliver wrote:
>I did not find instructions in the guides about running Derby as a service.
>I can run the StartNetworkServer.bat file and I can put a shortcut to
>that batch file in the Startup directory...but I would prefer to run it
>as a service.
>
>Any guidance will be appreciated.
>
>Mike Oliver
>
>
>
>
RE: Running Derby as a Service
Posted by "Thomas J. Taylor" <th...@itqa.miami.edu>.
I've used the open-source 'Java Service Launcher (JSL)'
(http://sourceforge.net/projects/jslwin) for about a year. It's easy to
setup and configure and seems stable. It's also pretty small (an .exe file
(40k) and an .ini file (1k) are all you need).
Thomas
-----Original Message-----
From: Michael Oliver [mailto:ollie@alariussystems.com]
Sent: Tuesday, September 06, 2005 10:18 AM
To: 'Stanley Bradbury'
Cc: derby-user@db.apache.org
Subject: RE: Running Derby as a Service
I will give it a try thanks.
BTW I got part way there by using srvany.exe and the StartNetworkServer.bat
however it runs but I don't know it that is sufficient.
Michael Oliver
CTO
Alarius Systems LLC
6800 E. Lake Mead Blvd, #1096
Las Vegas, NV 89156
Phone:(702)643-7425
Fax:(702)974-0341
*Note new email changed from oliverm@matrix-media.com
-----Original Message-----
From: Stanley Bradbury [mailto:Stan.Bradbury@gmail.com]
Sent: Monday, September 05, 2005 9:25 AM
To: Derby Discussion
Subject: Re: Running Derby as a Service
Hi Michael -
I have not done this myself but assisted a developer in getting this
working. The main issue was that the Network Server requires a console and
(as I understand it) there is no default output console associated with
processes running as a service. There are probably a number of ways to get
this working, in this case the developer was successful using the open
source Java Service Wrapper by Tanuki Software. Access this software at:
http://wrapper.tanukisoftware.org/doc/english/index.html.
Hope this helps.
Michael Oliver wrote:
>I did not find instructions in the guides about running Derby as a service.
>I can run the StartNetworkServer.bat file and I can put a shortcut to
>that batch file in the Startup directory...but I would prefer to run it
>as a service.
>
>Any guidance will be appreciated.
>
>Mike Oliver
>
>
>
>
RE: Running Derby as a Service
Posted by Michael Oliver <ol...@alariussystems.com>.
I will give it a try thanks.
BTW I got part way there by using srvany.exe and the StartNetworkServer.bat
however it runs but I don't know it that is sufficient.
Michael Oliver
CTO
Alarius Systems LLC
6800 E. Lake Mead Blvd, #1096
Las Vegas, NV 89156
Phone:(702)643-7425
Fax:(702)974-0341
*Note new email changed from oliverm@matrix-media.com
-----Original Message-----
From: Stanley Bradbury [mailto:Stan.Bradbury@gmail.com]
Sent: Monday, September 05, 2005 9:25 AM
To: Derby Discussion
Subject: Re: Running Derby as a Service
Hi Michael -
I have not done this myself but assisted a developer in getting this
working. The main issue was that the Network Server requires a console and
(as I understand it) there is no default output console associated with
processes running as a service. There are probably a number of ways to get
this working, in this case the developer was successful using the open
source Java Service Wrapper by Tanuki Software. Access this software at:
http://wrapper.tanukisoftware.org/doc/english/index.html.
Hope this helps.
Michael Oliver wrote:
>I did not find instructions in the guides about running Derby as a service.
>I can run the StartNetworkServer.bat file and I can put a shortcut to
>that batch file in the Startup directory...but I would prefer to run it
>as a service.
>
>Any guidance will be appreciated.
>
>Mike Oliver
>
>
>
>
Re: Running Derby as a Service
Posted by Stanley Bradbury <St...@gmail.com>.
Hi Michael -
I have not done this myself but assisted a developer in getting this
working. The main issue was that the Network Server requires a console
and (as I understand it) there is no default output console associated
with processes running as a service. There are probably a number of
ways to get this working, in this case the developer was successful
using the open source Java Service Wrapper by Tanuki Software. Access
this software at:
http://wrapper.tanukisoftware.org/doc/english/index.html.
Hope this helps.
Michael Oliver wrote:
>I did not find instructions in the guides about running Derby as a service.
>I can run the StartNetworkServer.bat file and I can put a shortcut to that
>batch file in the Startup directory...but I would prefer to run it as a
>service.
>
>Any guidance will be appreciated.
>
>Mike Oliver
>
>
>
>