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.
October 6, 2008 | Filed Under J2ee
Comments
Leave a Reply
