Using Eclipse Ganymede (though it should work for most flavors of eclipse)

1. In the Debug view, go to "Debug Configurations..." it'll be in the tool bar near the top of eclipse

2. In the Debug Configurations popup, select "Remote Java Application" from the list on the left and then click the New icon on the top of the list.

3. In the "connection properties" field set on the right side of the popup, enter in the IP address and the port the debugger should be listening on (more on this later).

4. Press the close button to save the new debug configuration.

5. You now need to set two environmental variables. On my dev box, I just set them in the control panel, on test servers I use a (very) short script:

set JPDA_ADDRESS=5005
set JPDA_TRANSPORT=dt_socket

The JPDA_ADDRESS variable is the port number you specified in step 3.

6. Start tomcat using the following command: %CATALINA_HOME%/bin catalina jpda start

7. Start the debug configuration you created in eclipse

Cheers,
Steve Hall





RickCromer wrote:
I'm trying to debug my application on the server and can't figure out how to hook the debugger into an JAX-WS Axis2 *.aar to Tomcat 6 deployment. Can someone help me with this? I've hooked into my SOAP services using Axis1 many times so I understand about setting up the debug connection.
Thanks,
Rick


Reply via email to