0 Replies Latest reply on May 10, 2007 5:07 PM by thorque

    Problems with Tomcat and JMX

    thorque

      Hello,

      I have a problem with the embedded tomcat and jmx. I have extend the launcher configuration. Adding the following to the VM-Argumants at the Arguments page:

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


      This work fine at startup. Tomcat now can be managed by a JMX-Console. But if I am restarting or stopping tomcat this error message occurs:
      Fehler: Agent-Ausnahmefehler : java.rmi.server.ExportException: Port already in use: 7730; nested exception is:
       java.net.BindException: Address already in use: JVM_Bind


      It seems that the same configuration is used for starting and stopping. Is there a workaround?

      Thorsten