文档介绍:本人多次遇到这个问题,在网上搜索好久,始终没有找到真正的解决措施。今天下午一次偶尔的机会发现了问题所在,根据问题,提出如下解决方案。
问题所在:
目前诸多人都在使用jdk的压缩版,使得tomcat服务不能对的设立java VM,导致
若有问题可以给我留言或者加我QQ: 4034348
TOMCAT5在WINDOWS下的某些命令行
Tomcatw monitor application
Tomcatw is a GUI application for monitoring and configuring Tomcat services.
The available command line options are:
//ES//
Edit service configuration
This is the default operation. It is called if the no option is provided but the executable is renamed to
//MS//
Monitor service
Put the icon in the system try
Command line arguments
Each command line directive is in the form of //XX//ServiceName
The available command line options are:
//TS//
Run the service as console application
This is the default operation. It is called if the no option is provided. The ServiceName is the name of the executable without exe sufix, meaning Tomcat5
//RS//
Run the service
Called only from ServiceManager
//SS//
Stop the service
//US//
Update service parameters
//IS//
Install service
//DS//
Delete service
Stops the service if running
Command line parameters
Each command parameter is prefixed with --. If the command line is prefixed with ++ then it's value will be appended to the existing option. If the environment variable with the same name as command line parameter but prefixed with PR_ exists it will take precedence. For example:
set PR_CLASSPATH=
is equivalent to providing
--Classpath=
as command line parameter.
ParameterName
Default
Description
--Description
Service name description (maximum 1024 characters)
--DisplayName
ServiceName
Service display name
--Install
//RS//ServiceName
Install image
--Startup
manual
Service startup mode can be either auto or manual
--DependsOn
List of services that this service depend on. Dependent services are separated using either # or ; characters
--Environment
List of environment variables that will be provided to the service in th