1 Reply Latest reply on Jun 24, 2005 4:24 PM by Cesar Ruiz

    Error: Exception thrown by the agent : java.rmi.server.Expor

    GnanaShekar Subramani Newbie

      Hi,

      We are running JBoss on Jdk1.5. We have also enabled and started jmx agent for JBoss, by appending the following system properties to JAVA_OPTS in run.conf.
      JAVA_OPTS="-server -Xms128m -Xmx128m \
      -Dcom.sun.management.jmxremote.port=8000 \
      -Dcom.sun.management.jmxremote.authenticate=true \
      -Dcom.sun.management.jmxremote.ssl=false"

      This is used to monitor and mange JBoss using JConsole.
      After this I am getting the following error while stopping JBoss. Please suggest.
      ./shutdown.sh -S
      Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 8000; nested exception is:
      java.net.BindException: Address already in use

      Thanks & Regards,
      -GnanaShekar-