tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Tomcat 6 and Windows Service
Date Wed, 05 Jun 2013 13:04:08 GMT
> From: Walter.Heestermans@toyota-europe.com [mailto:Walter.Heestermans@toyota-europe.com]

> Subject: RE: Tomcat 6 and Windows Service

> I can set the following Java options 

> -Dcom.sun.management.jmxremote.port=10150

> The stop  using shudown class is org.apache.catalina.startup.Bootstrap 
> with argument stop, stays hanging because the java process to stop the 
> service tries to connect port 10150;

Initiating a stop creates another process which uses all of the options specified, thus creating
the port conflict you're seeing.  If you configure the ports using the JMX listener, only
the server process will use them.

http://tomcat.apache.org/tomcat-6.0-doc/config/listeners.html#JMX_Remote_Lifecycle_Listener_-_org.apache.catalina.mbeans.JmxRemoteLifecycleListener

You can also stop Tomcat by sending the process an appropriate signal, or running the shutdown.bat
script (even when Tomcat is running as a service).

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus
for use only by the intended recipient. If you received this in error, please contact the
sender and delete the e-mail and its attachments from all computers.

 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message