wood burning stoves 2.0*
The moose likes Tomcat and the fly likes Stopping Tomcat appserver using catalina.sh Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Stopping Tomcat appserver using catalina.sh" Watch "Stopping Tomcat appserver using catalina.sh" New topic

Stopping Tomcat appserver using catalina.sh

Chase Bonham
Ranch Hand

Joined: Jul 15, 2006
Posts: 50
Some of the JVM arguments I pass is

-Dcom.sun.management.jmxremote.port=7813 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false

I have noticed that the

org.apache.catalina.startup.Bootstrap gives this error consistently when these args are passed.

"Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 7813; nested exception is:
java.net.BindException: Address already in use"

Is there a know bug about Tomcat not able to close JMX ports on shutdown?
I agree. Here's the link: http://aspose.com/file-tools
subject: Stopping Tomcat appserver using catalina.sh