procrun

How do I setup a standalone java application to run as a service using procrun?

I'm trying to setup a standalone java service using commons-daemon (procrun) Does anyone know where to get procrun and how to get it up and running? Are there any alternatives? (I would use Java Service Wrapper but I can't use GPL Licensed code) ...

Java Windows Service with Procrun, StopMethod problem

My Java class contains the following methods: public static void main(String[] argv) //start the service public static void stop() //stop the service I'm using Procrun from Apache Commons Daemon to setup the Java class as a Windows Service. I get an error when I try to stop the service "[618 javajni.c] [error] Static method 'void ...

Tomcat on Windows

Hi, I installed Tomcat 6.0.18 on Windows 2003 as a service. I try to set the CATALINA_OPTS environment variable but it seems to be ignored by Tomcat. Do I need to use the Tomcat Service Manager (procrun) instead? Is it normal that if I install Tomcat as a service it doesn't see the enviroment variables but it only wotks with procrun?...