I am trying to start tomcat by invoking catalina.bat through a SQL server job. The job calls the startup.bat which in turn calls the catalina.bat. Catalina.bat gets executed completely, but the server does not come up. These are the parameters that get printed while catalina.bat gets called.
start "Tomcat" "\\remotemachine\java\jre\bin\java" -Djava.util.logging.config.file="\\remotemachine\web\conf\logging.properties" -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs="\\remotemachine\web\endorsed" -classpath "\\remotemachine\web\bin\bootstra开发者_JAVA技巧p.jar" -Djava.security.manager -Djava.security.policy=="" -Dcatalina.base="\\remotemachine\web" -Dcatalina.home="\\remotemachine\web" -Djava.io.tmpdir="\\remotemachine\web\temp" org.apache.catalina.startup.Bootstrap start
\remotemachine\web - refers to the tomcat home directory. Is there anything else that should be added in the classpath ?
Thanks in advance !
精彩评论