I've been using commons-daemon happily with Tomcat 4.1.x for quite some time
now. I'd suggest starting from
http://cvs.apache.org/viewcvs/jakarta-commons/daemon/src/native/unix/native/Tomcat.sh?rev=1.1.1.1&content-type=text/vnd.viewcvs-markup
and modifying as nessary.
----- Original Message -----
From: "Marten Lehmann" <lehmann@(protected)>
Newsgroups: gmane.comp.jakarta.tomcat.user
Sent: Thursday, December 04, 2003 9:46 AM
Subject: anyone running tomcat-4.1.29 with commons-daemons?
> Hello,
>
> I'm trying to use the commons-daemons package as of 20031204.tar.gz with
> jakarta-tomcat-4.1.29, everything should be in the right place, but jsvc
> exits with
>
>
java.lang.NoSuchMethodException:
> org.apache.catalina.startup.BootstrapService.init([Ljava.lang.String;)
> at
java.lang.Class.getMethod1 (
Class.java:1888)
> at
java.lang.Class.getMethod (
Class.java:1056)
> at
>
org.apache.commons.daemon.support.DaemonLoader.load (
DaemonLoader.java:165)
> jsvc.exec error: Cannot load daemon
> jsvc.exec error: Service exit with a return value of 3
>
> commons-daemon.jar and bootstrap.jar are available at the defined place.
> Does this release maybe only work with tomcat 5? Any help would be great!
>
> Regards
> Marten
>
> Regards
> Marten