tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Schönhaber <mailing-tomcat-u...@schoenhaber.de>
Subject Re: jsvc.exec error: Cannot find daemon loader
Date Wed, 22 Aug 2007 20:14:46 GMT
Ole Ersoy schrieb:

> I'm trying to run tomcat with jsvc.  I did all the things in the manual, and now I'm
trying to run it with:
> 
> ./bin/jsvc -cp ./bin/bootstrap.jar \
>         -outfile ./logs/catalina.out -errfile ./logs/catalina.err \
>         org.apache.catalina.startup.Bootstrap
> 
> And I get this in catalina.err:
> 
> 22/08/2007 12:17:31 6772 jsvc.exec error: Cannot find daemon loader org/apache/commons/daemon/support/DaemonLoader
> 22/08/2007 12:17:31 6771 jsvc.exec error: Service exit with a return value of 1
> 
> Any ideas how to fix this?

Add commons-daemon.jar to the classpath:

./bin/jsvc -cp ./bin/commons-daemon.jar:./bin/bootstrap.jar \
        -outfile ./logs/catalina.out -errfile ./logs/catalina.err \
        org.apache.catalina.startup.Bootstrap

Regards
  mks

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message