Eclipse cannot find a free socket for the debugger

Jan Schultze nichtduaberich at gmx.de
Sat Nov 22 08:30:12 PST 2003


Hello everyone,

Everytime I try to run the debugger in Eclipse (2.1.1_2), I get the 
following error message:

	Exception occured during launching
	Reason:
	Cannot find a free socket for the debugger

I'm running FreeBSD 5.1 Release with a native jdk1.4.2-p5. I'm not sure 
if the problems is related to the jdk or eclipse port or some stupid 
mistake of mine. Has anyone had the same problem or maybe solved it?

FYI workspace/.metadata/.log contains this stack trace:

!SESSION Nov 21, 2003 16:36:02.872
---------------------------------------------java.version=1.4.2-p5
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=freebsd, ARCH=x86, WS=gtk, NL=de_DE
Command-line arguments: -os freebsd -ws gtk -arch x86 -install
file:/usr/local/eclipse/
!ENTRY org.eclipse.core.resources 1 1 Nov 21, 2003 16:36:02.875
!MESSAGE Could not load library: libcore_2_1_0a.so.  This library
provides platform-specific optimizations for certain file system
operations.  This library is not present on all platforms, so this may
not be an error.  The resources plug-in will safely fall back to using
java.io.File functionality.
!ENTRY org.eclipse.debug.ui 4 120 Nov 21, 2003 16:36:22.71
!MESSAGE Error logged from Debug UI:
!STACK 1
org.eclipse.core.runtime.CoreException: Cannot find a free socket for
the debugger
         at
org.eclipse.jdt.launching.AbstractVMRunner.abort(AbstractVMRunner.java:44)
         at
org.eclipse.jdt.internal.launching.StandardVMDebugger.run(StandardVMDebugger.java:126)
         at
org.eclipse.jdt.internal.launching.JavaLocalApplicationLaunchConfigurationDelegate.launch(JavaLocalApplicationLaunchConfigurationDelegate.java:111)
         at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:156)
         at
org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:676)
         at
org.eclipse.debug.ui.DebugUITools.buildAndLaunch(DebugUITools.java:538)
         at org.eclipse.debug.ui.DebugUITools$2.run(DebugUITools.java:487)
         at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
!ENTRY org.eclipse.jdt.launching 4 118 Nov 21, 2003 16:36:22.75
!MESSAGE Cannot find a free socket for the debugger

Regards,
Jan



More information about the freebsd-java mailing list