Friday, June 5, 2009

Hints For Weaveline Use

Eclipse and Tomcat

order in the Eclipse debugging an application hosted on a remote server that contains exactly the same code You must configure as follows
Tomcat and Eclipse.

The next steps are:

0 .- First of all, stop the server

1 .- catalina.sh, write:
JPDA_TRANSPORT = dt_socket
JPDA_ADDRESS = 8081 (listening port)

2 .- Eclipse:
Run -> Debug Configurations -> Remote Java Application -> New Configuration:
Project Name (your code)
Server Ip
you want debugging listener port (8081)

3 .- Boot the server with the "jpda start"
. / jpda startup.sh start

4 .- Put breakpoints in the code you want

5 .- Ready!

I hope it's useful. Greetings


[ps: thanks to Nacho for the explanation]

0 comments:

Post a Comment