Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Debugging fails with cannot connect to VM message(java debugging problem)
Debugging fails with cannot connect to VM message [message #506648] Fri, 08 January 2010 09:03 Go to next message
Eclipse UserFriend
For whatever reason I can run a java program but not debug it:

The error message on console is:
ERROR: transport error 202: connect failed: Connection refused
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:708]
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)

Operating system is:
Linux satellita 2.6.32-trunk-686 #1 SMP Thu Jan 7 05:05:10 UTC 2010 i686 GNU/Linux

Eclipse IDE for Java Developers Build id: 20090920-1017
3.5.1.M20090917-0800 and 1.2.1.20090918-0703

Looing at similar messages in the forum, they are pointing to firewall problems
and I have checked that also:

# iptables -L -v
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination

Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination


It has stopped working after some update, but I have no clue
where the problem is ... Rolling Eyes

Tnx Thomas
Re: Debugging fails with cannot connect to VM message [message #506702 is a reply to message #506648] Fri, 08 January 2010 16:15 Go to previous message
Eclipse UserFriend
Answering my own question ...
There was a change in sysctl. configuration, best explained probably here
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560142#35
The cause of ipv6 Problems with java

This was/is a debian problem.
For Joe Average user very hard to find!

Thomas
Previous Topic:bindings are null
Next Topic:question on src folder in linux
Goto Forum:
  


Current Time: Fri Mar 21 17:59:24 EDT 2025

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

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

Back to the top