• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Remote debugging problem in eclipse

 
kanna kesavan
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 34229
341
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kanna,
Is the port open that the debugger is using?
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
kanna kesavan
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to find whether the port is open or not.
 
Joe Intrakamhang
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic