开发者

Starting Tomcat from bat file issues

开发者 https://www.devze.com 2023-03-29 13:43 出处:网络
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

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 !

0

精彩评论

暂无评论...
验证码 换一张
取 消