0
我試圖用jsvc運行tomcat 7,但即使我相信我的類路徑是正確的,但仍然收到錯誤。JSVC和Tomcat的問題7
我開始,如下所示:
# export JAVA_HOME=/opt/java/jdk1.7.0_07
# export CATALINA_HOME=/usr/share/tomcat7
# ./bin/jsvc -cp ./bin/bootstrap.jar:./bin/commons-daemon.jar -outfile logs/catalina.out -errfile /var/tmp/catalina.err org.apache.catalina.startup.Bootstrap
不過,我收到以下錯誤:
# cat /var/tmp/catalina.err
Cannot find daemon loader org/apache/commons/daemon/support/DaemonLoader
Service exit with a return value of 1
我會很感激你能提供任何幫助。
乾杯, 岐