tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Walter.Heesterm...@toyota-europe.com
Subject RE: Tomcat 6 and Windows Service
Date Wed, 05 Jun 2013 14:00:10 GMT
Ok, I will use the following:

1. Start using the normal Services dialog
2. Stop using shutdown script

Regards
Walter




From:   "Caldarale, Charles R" <Chuck.Caldarale@unisys.com>
To:     Tomcat Users List <users@tomcat.apache.org>, 
Date:   05/06/2013 15:05
Subject:        RE: Tomcat 6 and Windows Service



> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message