If you mean a Windows NT/2000/XP service, the installer for Tomcat uses Alexandria Software Consulting's (free) JavaService package, which you can get at http://www.alexandriasc.com/software/JavaService/index.html
I've used it for running other Java programs as NT services, and it works well, and is reasonably well-documented. A little fiddly to set up, but that's Windows complexity more than the JavaService package. If you mean *nix, try 'man inittab' and/or 'ls /etc/rc*'. Cheers, Greg Trasuk, President StratusCom Manufacturing Systems Inc. - We use information technology to solve business problems on your plant floor. http://stratuscom.ca >-----Original Message----- >From: Per Thomas Jahr [mailto:[EMAIL PROTECTED]] >Sent: January 14, 2003 09:46 >To: [EMAIL PROTECTED] >Subject: How to use commons-daemon.jar > > >Hi, > >I'm in a project where we need a java server program to run as a >service/daemon. After some searching I found that Tomcat >4.1.18 includes >a commons-daemon.jar file. > >How can I use this from my own server? Is Tomcat using it? I really >couldn't find any documentation on how to use it. > > >commons-daemon homepage: >http://jakarta.apache.org/commons/sandbox/daemon/index.html > > >Thanks >-- >Per Thomas Jahr > > >-- >To unsubscribe, e-mail: ><mailto:tomcat-user->[EMAIL PROTECTED]> >For >additional commands, >e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
