Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Remote Debugging with Eclipse and Tomcat(Remote Debugging with Eclipse and Tomcat)
Remote Debugging with Eclipse and Tomcat [message #483310] Mon, 31 August 2009 19:46 Go to next message
Eclipse UserFriend
Hello,

I'm having some issues trying to setup a remote debugging environment in eclipse. I'm running windows xp on the local machine and the remote machine is a linux box (both 32 bit machines).

I perform the following tomcat setup on the linux machine:
1. export JPDA_TRANSPORT=dt_socket
2. export JPDA_ADDRESS=8000
3. ./catalina.sh jpda start

I perform the following on my windows eclispe ide:
1. go to debug configurations menu
2. create a new Java Remote configuration with the host pointing to the linux machine and the port to 8000.
3. click debug

I get the following error in eclipse:
Failed to connect to remote VM. Connection refused.
Connection refused: connect

I'm on a machine that is not blocking any ports, but when I netstat I don't see port 8000 listening. Any help would be greatly appreciated!
Re: Remote Debugging with Eclipse and Tomcat [message #483517 is a reply to message #483310] Tue, 01 September 2009 16:22 Go to previous message
Eclipse UserFriend
On the Linux box, look at the resulting command line of the Java process and verify the "-Xdebug" command-line options look ok. Report what you found here if you don't see a problem with it.
Previous Topic:How to generate stubs by using WSDL in Eclipse3.4?
Next Topic:Change Signature Parameter Info
Goto Forum:
  


Current Time: Thu Nov 06 22:16:43 EST 2025

Powered by FUDForum. Page generated in 0.04122 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top