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 [EMAIL PROTECTED]

-----Original Message-----
From: Thomas J. Taylor [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 06, 2005 8:20 AM
To: 'Derby Discussion'; [EMAIL PROTECTED]
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:[EMAIL PROTECTED]
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 [EMAIL PROTECTED]

-----Original Message-----
From: Stanley Bradbury [mailto:[EMAIL PROTECTED]
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
>
>
>  
>






Reply via email to