July 18, 2008
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 startup) [...]
Filed by Paul Gu at July 18th, 2008 under Java
No comments on this post yet
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 script so that you are [...]
Filed by Paul Gu at July 18th, 2008 under Java
No comments on this post yet