|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
Running Derby as a ServiceI 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 ServiceHi 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 ServiceI 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@... -----Original Message----- From: Stanley Bradbury [mailto:Stan.Bradbury@...] 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 ServiceOn 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 ServiceI'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@...] Sent: Tuesday, September 06, 2005 10:18 AM To: 'Stanley Bradbury' Cc: derby-user@... 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@... -----Original Message----- From: Stanley Bradbury [mailto:Stan.Bradbury@...] 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 ServiceThanks 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@... -----Original Message----- From: Thomas J. Taylor [mailto:thomas.taylor@...] Sent: Tuesday, September 06, 2005 8:20 AM To: 'Derby Discussion'; ollie@... 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@...] Sent: Tuesday, September 06, 2005 10:18 AM To: 'Stanley Bradbury' Cc: derby-user@... 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@... -----Original Message----- From: Stanley Bradbury [mailto:Stan.Bradbury@...] 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 ServiceHi,
the installation of Derby as a Windows service is described here: http://www.vogella.de/articles/ApacheDerby/article.html#service Best regards, Lars |
| Free embeddable forum powered by Nabble | Forum Help |