Remote Debbugging with Tomcat
In the catalina.sh or catalina.bat add the following statements with the other set declarations:
set JPDA_ADDRESS=8000 set JPDA_TRANSPORT=dt_socketcd (change directory) to tomcat bin in command prompt or secure shell
execute the command
catalina jpda startleave jpda running in it's environment.
In eclipse enter a break point where you would like the application to break.
Under the
Run go to the
open debug dialog option.
Start up your app and begin testing!
You can read the tutorial on the
tomcat wiki
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home