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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Stopping Tomcat appserver using catalina.sh" Watch "Stopping Tomcat appserver using catalina.sh" New topic
Author

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?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Stopping Tomcat appserver using catalina.sh
 
Similar Threads
Correct Weblogic client libraries for Tomcat 4.1?
port already in use
problem with errorPage and isErrorPage="true"
Confused regarding isErrorPage
Tomcat 5.0.24 can't use error page