Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » In debug mode, Eclipse says "Cannot connect to VM"
In debug mode, Eclipse says "Cannot connect to VM" [message #302813] Sat, 29 April 2006 13:54 Go to next message
Eclipse UserFriend
Originally posted by: pulsar6000.hotmail.com

I'm trying to solve the problem with the debug tool, but I don't know what
to do more. I have debugged in Eclipse many times, but now Eclipse always
says "Cannot connect to VM" and the console shows the following message:
"FATAL ERROR in native method: No transports initialized
err:: No such file or directory
Error [2] in connect() call!
Socket transport failed to init.
Transport dt_socket failed to initialize, rc = -1.

Despite of not debugging, Eclipse compiles and work well.
Some idea? :(
Re: In debug mode, Eclipse says "Cannot connect to VM" [message #302903 is a reply to message #302813] Tue, 02 May 2006 10:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse3.rizzoweb.com

Aeror wrote:
> I'm trying to solve the problem with the debug tool, but I don't know
> what to do more. I have debugged in Eclipse many times, but now Eclipse
> always says "Cannot connect to VM" and the console shows the following
> message:
> "FATAL ERROR in native method: No transports initialized
> err:: No such file or directory
> Error [2] in connect() call!
> Socket transport failed to init.
> Transport dt_socket failed to initialize, rc = -1.
>
> Despite of not debugging, Eclipse compiles and work well.
> Some idea? :(
>

Java debugging uses TCP/IP sockets by default (even when debugging on
the same computer). Software firewalls can block such TCP/IP activity,
thus making debugging fail.
I can't say for sure if that is your problem, but you should check if
you have a firewall running (don't forget that windoze xp has a built-in
firewall that may or may not be enabled) and try shutting it down to see
if that resolves the problem.
I seem to remember that SP2 of windoze xp enabled some more strict
policy in the firewall that caused some people problems. So if you
recently upgraded your windoze it might have changed your firewall settings.

Hope this helps,
Eric
Re: In debug mode, Eclipse says "Cannot connect to VM" [message #302906 is a reply to message #302903] Tue, 02 May 2006 11:43 Go to previous message
Eclipse UserFriend
Originally posted by: pulsar6000.hotmail.com

Eric, thank you very much! It was the firewall! (kerio firewall). I didn't
have the rule for that strange connection... I'm surprised by this subject.

Again, thanks a lot! :)
Previous Topic:PDE Ant Build directory structure
Next Topic:build.xml: Could not create task or type of type: eclipse.incrementalBuild
Goto Forum:
  


Current Time: Sun Jul 20 13:00:56 EDT 2025

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

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

Back to the top