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: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]