How to start tomcat service using java-server option?

I am using tomcat as a window service and I want to enable the java-server option for jvm. I tried to do this by setting the -server option to the java tab in the Tomcat6w application (tomcat monitoring application). However, this did not help, Tomcat was not started, it seems that Tomcat6w expects only D or X options for jvm. Does anyone know how I can put the -server option in this case?

+3
source share
2 answers

Install the JDK and configure the service (double-click the Tomcat tray icon and open the Java tab) to use jdk/jre/bin/server/jvm.dllinstead (by default) jre/bin/client/jvm.dll.

+3
source

or

, jdk jvm.dll

tomcat service install tomcat

tomcat -

, ,

sc

0

Source: https://habr.com/ru/post/1755165/


All Articles