[英]How to run tomcat service with java -server option?
I am using tomcat as a window service and I want to turn on the java -server option on for the jvm. 我使用tomcat作为窗口服务,我想打开jvm的java -server选项。 I tried to do this by putting a -server option into the java tab in Tomcat6w application (the tomcat monitor application).
我尝试通过在Tomcat6w应用程序(tomcat监视器应用程序)的java选项卡中添加-server选项来实现此目的。 However, this didn't work, Tomcat wasn't started, looklike Tomcat6w expects only D or X options for the jvm.
但是,这没有用,Tomcat没有启动,看起来Tomcat6w只能为jvm选择D或X选项。 Anyone knows how can I put the -server option in this case?
任何人都知道如何在这种情况下放置-server选项?
安装JDK并配置服务(双击Tomcat托盘图标并打开Java选项卡)以使用jdk/jre/bin/server/jvm.dll
而不是(默认) jre/bin/client/jvm.dll
。
or 要么
make sure you have jdk with server jvm.dll 确保你有jdk与服务器jvm.dll
then 然后
service remove tomcat service install tomcat 服务删除tomcat服务安装tomcat
where tomcat is the name of the service 其中tomcat是服务的名称
if you dont know it find using 如果你不知道它发现使用
sc query sc查询
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.