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 Murach's Java Servlets and JSP this week in the Servlets 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?
Don't get me started about those stupid light bulbs.
subject: Stopping Tomcat appserver using catalina.sh
Similar Threads
port already in use
Correct Weblogic client libraries for Tomcat 4.1?
problem with errorPage and isErrorPage="true"
Confused regarding isErrorPage
Tomcat 5.0.24 can't use error page