Subscribe to
Posts [Atom]


Remote Debbugging with Tomcat

Thursday, June 19, 2008

In the catalina.sh or catalina.bat add the following statements with the other set declarations:
set JPDA_ADDRESS=8000
set JPDA_TRANSPORT=dt_socket

cd (change directory) to tomcat bin in command prompt or secure shell

execute the command catalina jpda start
leave 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