facebook

Using JMX with Tomcat 5.5.4 from MyEclipse

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #223255 Reply

    Steve Viens
    Member

    I just set this up and thought I should publish it someplace in case anyone else was interested.

    When creating a MyEclipse Application Server configuration for Tomcat 5 make sure to specify JDK 1.5 as your JDK and include the following JVM arguments.

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

    Start Tomcat 5 via MyEclipse and then use a JMX Console like MC4J [1] to connect. Be sure to use port 9004 when making the connection. I used the following Server URL to make the connection:

    jmx:rmi:///jndi/rmi://localhost:9004/jmxrmi

    Steve

    [1] MC4J – http://mc4j.sourceforge.net/

    #223260 Reply

    Riyad Kalla
    Member

    Excellent post, thank you for providing that information for everyone.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Using JMX with Tomcat 5.5.4 from MyEclipse

You must be logged in to post in the forum log in