Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 326034 - Not able to launch the Debug configuration
Summary: Not able to launch the Debug configuration
Status: CLOSED DUPLICATE of bug 65385
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows Vista
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-23 07:22 EDT by saurav sarkar CLA
Modified: 2011-02-17 14:10 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description saurav sarkar CLA 2010-09-23 07:22:34 EDT
Build Identifier: 

Hi All,

When i go out of the office network.I can not debug on runtime workbench.
Though the run mode works.

Please see this forum entry for more details.

http://www.eclipse.org/forums/index.php?t=msg&goto=557156&S=eaf2e8681371c2dca6972c39d25bf6a0#msg_557156


This is the entry in the console

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:690]
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)

This is the entry in the error log.

java.net.SocketException: socket closed
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(Unknown Source)
at java.net.ServerSocket.implAccept(Unknown Source)
at java.net.ServerSocket.accept(Unknown Source)
at org.eclipse.jdi.internal.connect.SocketTransportService.accept(SocketTransportService.java:95)
at org.eclipse.jdi.internal.connect.SocketTransportImpl.accept(SocketTransportImpl.java:56)
at org.eclipse.jdi.internal.connect.SocketListeningConnectorImpl.accept(SocketListeningConnectorImpl.java:135)
at org.eclipse.jdt.internal.launching.StandardVMDebugger$ConnectRunnable.run(StandardVMDebugger.java:107)
at java.lang.Thread.run(Unknown Source)


I understand that this could be a firewall problem.I am on Vista and then the Windows Firewall could not be turned off due to some group policy.

Is there any workaround for this?
Please provide your suggestions on this

Thanks and Regards,
Saurav

Reproducible: Always
Comment 1 Darin Wright CLA 2010-09-23 09:21:47 EDT
Yes, this looks like a firewall issue. Looks similar to bug 260093. You need to configure the firewall to enable local TCP.
Comment 2 saurav sarkar CLA 2010-09-25 01:19:59 EDT
I have disabled the firewall and IPS for McAfee HIPS and it works fine.
I was thinking if we could have a better error message showing the actual error to the user.Like a marker in the problems view with a hint.

cheers,
Saurav
Comment 3 Gunnar Wagenknecht CLA 2011-02-17 04:58:49 EST
Oddly, one of my colleagues also have issues. The trace is exactly the same but there are no JDWP error messages. The OS is Windows XP and the internal firewall is disabled.

It works with a JDK 1.6.0_23 but not with 1.6.0_24.
Comment 4 Michael Rennie CLA 2011-02-17 14:10:55 EST

*** This bug has been marked as a duplicate of bug 65385 ***