Starting tomcat 6.X in Debug Mode

To start tomcat 6.x in debug mode, follow the instructions

1. Set System environment variables
  a. JPDA_TRANSPORT=dt_socket
  b. JPDA_ADDRESS=8000 (Any other port you like)

2. Start tomcat using catalina.bat jpda start . Make sure that you have restarted the command prompt window after setting environment variables.
C:\tomcat\bin>catalina.bat jpdat start

3. Debug program from the IDE and bind to 8000 (on JPDA_ADDRESS) port.

Comments

Leave a Reply




Related Post

Installing tomcat in ubuntu/linux
Changing root user password in mysql
How to know which java version is installed in linux?
org.springframework.web.context.ContextLoader – Context initialization failed
Setting up j2ee developer environment in ubuntu/linux
Technology