Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

java.rmi.server.ExportException thrown when stopping Tomcat

chuanjiang lo

2007-02-27

Replies:

Hi there,

I have edited the catalina.bat to enable jmx connections to tomcat server.

set JAVA_OPTS=%JAVA_OPTS% -
Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -
Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9004 -
Dcom.sun.management.jmxremote.authenticate=false -
Dcom.sun.management.jmxremote.ssl=false

After making the necessary settings, when i run the shutdown.bat, an
exception is thrown

Error: Exception thrown by the agent : java.rmi.server.ExportException: Port
alr
eady in use: 9004; nested exception is:
    java.net.BindException: Address already in use: JVM_Bind

Any advice on this issue?
©2008 junlu.com - Jax Systems, LLC, U.S.A.