Start tomcat 6 with debug

Pls follow the below steps to enable tomcat 6.x in debug

  1. Open catalina.bat, can be located at <TOMCAT_HOME>/bin
  2. Add below lines
    • set JPDA_TRANSPORT=dt_socket
    • set JPDA_ADDRESS=6666
  3. Save file & close it
  4. Start tomcat
    • <TOMCAT_HOME>/bin/catalina.bat jpda start
  5. Start eclipse & configure Remote Java Application for port 6666

Pls follow the below steps to enable tomcat 6.x in debug Open catalina.bat, can be located at <TOMCAT_HOME>/bin Add below lines set JPDA_TRANSPORT=dt_socket set JPDA_ADDRESS=6666 Save file & close it Start tomcat <TOMCAT_HOME>/bin/catalina.bat jpda start Start eclipse & configure Remote Java Application for port 6666

Leave a Reply

Your email address will not be published. Required fields are marked *