Navigation |

July 18, 2008

Debugging Tomcat as an External Tool from Eclipse

You can also configure Eclipse to be able to start and stop tomcat as a program (this approach also seems to work well on Windows). To configure Eclipse to be able to start and stop tomcat: If you have not already done so, set a breakpoint somewhere in your code (preferably something not associated with [...]

Filed by Paul Gu at July 18th, 2008 under Java
No comments on this post yet

Setting Up Tomcat For Remote Debugging

To configure tomcat to allow remote debugging, start tomcat using the catalina startup script (from your tomcat home) instead of the normal startup script like so (tomcat must be stopped before you can change over): WIN: set JPDA_ADDRESS=8000set JPDA_TRANSPORT=dt_socketbin/catalina.bat jpda start UNIX: export JPDA_ADDRESS=8000export JPDA_TRANSPORT=dt_socketbin/catalina.sh jpda start We recommend adding this stuff to your startup [...]

Filed by Paul Gu at July 18th, 2008 under Java
No comments on this post yet