> From: walter.heesterm...@toyota-europe.com 
> [mailto:walter.heesterm...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to