MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
dbar12345
Post subject: failed to connect to remote VM. connection timed out  PostPosted: Aug 10, 2006 - 04:24 AM



Joined: Jun 24, 2006
Posts: 2

Hi.
I'm getting this error message "failed to connect to remote VM. connection timed out" when I'm trying to use remote debugging from Eclipse.
I started Weblogic with options:
export _JAVA_OPTIONS="$_JAVA_OPTIONS -Xdebug -Xnoagent -Djava.compiler=none -Xrunjdwp:server=y,transport=dt_socket,address=16122,suspend=n"
and weblogic log shows "Picked........" message, which means it's listening.

I have this problem only with connecting to the server on UNIX mashine. I can remote debug standalone java application (remote JVM).
Also, everything is OK when I'm using Weblogic server installed on Windows.

The interesting part is that when I change suspend=y -----> I can connect to remote weblogic server.......

Is this an issue related to timeout settings?

Thanks.
 
 View user's profile Send private message  
Reply with quote Back to top
support-scott
Post subject:   PostPosted: Aug 10, 2006 - 09:21 PM
Moderator
Moderator


Joined: May 06, 2003
Posts: 6761

It's likely caused by a small difference between the debugger implementations in JVM that's running Eclipse versus WebLogic. I'd recommend making sure that you're using the same release of JDK to run Eclipse as you are to run WebLogic.

BTW, I'm assuming you're using this method because WebLogic is running on a remote machine as described in our Remote Debugging quickstart. If you're debugging on your local machine then simply launching using the WebLogic connector we provide is much easier.

_________________
--Scott
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
sabirulla
Post subject: Failed to connect to remote VM. Connection timed out.  PostPosted: Feb 16, 2009 - 11:06 AM



Joined: Feb 16, 2009
Posts: 1

Hi,

I want to debug java remote application, if connect to debug, "Failed to connect to remote VM. Connection timed out".
this error is coming,If anybody face this problem please tell me the solution.
Sabirulla@gmail.com, i am using jboss server and linux os.
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Post subject: RE: Failed to connect to remote VM. Connection timed out.  PostPosted: Feb 19, 2009 - 04:16 AM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23818

sabirulla, that could be a multitude of things... there could be a firewall between you and the server or the server wasn't launched with the correct debug arguments to open up the ports to listen for debug connections... if you are launching it from MyEclipse this is all done automatically and you don't need to try and connect at all.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits