> From: walter.heesterm...@toyota-europe.com > [mailto:walter.heesterm...@toyota-europe.com] > Sent: Monday, June 03, 2013 3:01 AM > To: users@tomcat.apache.org > Subject: Tomcat 6 and Windows Service > > Hi, > > I'm running tomcat as Windows service. > > Now I like to add JMX support to the process: > > -Dcom.sun.management.jmxremote.port=10150 > -Dcom.sun.management.jmxremote.ssl=false > -Dcom.sun.management.jmxremote.authenticate=false > > Configuring the service > > > > added the above options to the Java options. The start is then working fine > and JMX is working fine. But since I made this service the > stop operation > is not working anymore. When I run via console, then I see that the stop is > complaining on port (used by JMX), already > in use. This is propably the > root cause of the stop not working. Is there a way to specify JVM arguments > for only the start operation? > > Please advise > Walter
Never seen that happen before. Normally you'd get port in use errors on startup. You are missing one line from your configuration. At the top you need: -Dcom.sun.management.jmxremote Add that line and try a different port number. Jeff --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org