aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Remote debugging problem in eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Remote debugging problem in eclipse" Watch "Remote debugging problem in eclipse" New topic
Author

Remote debugging problem in eclipse

kanna kesavan
Greenhorn

Joined: May 09, 2005
Posts: 6
Hi,
I am using eclipse IDE and weblogic 8.1 server.When i do remote debugging in local server ,i am getting a message "Failed to connect to remote vm.connection refused".All my settings are correct.Can anybody help me out to solve this?
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31079
    
163

Kanna,
Is the port open that the debugger is using?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17260
    
    6

Is the App Server running. Was it run with the correct java arguments to put it into debug mode. Are the App Server and IDE using the same port #

Also do a search in the JavaRanch newsletter for my article on setting up IntelliJ and Eclipse for remote debugging.

Good Luck.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
kanna kesavan
Greenhorn

Joined: May 09, 2005
Posts: 6
How to find whether the port is open or not.
Joe Intrakamhang
Greenhorn

Joined: Apr 26, 2005
Posts: 5
I had the same problem with port 8000. I changed the port to 8085 (an open port) and then everything started working. You can use any port that you would like that is not being currently used.

Look for address in your startup script and changed it to something else
-Xdebug -Xrunjdwp:transport=dt_socket,address=8085,server=y,suspend=

Joe
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Remote debugging problem in eclipse