Eclipse cannot find a free socket for the debugger

Sebastiaan van Erk sebster at sebster.com
Tue Dec 2 03:10:07 PST 2003


I get the exact same problem since I upgraded the JDK to 1.4.2-p5 (from
1.4.1-p5).

I can use "Run", but "Debug" no longer works...

Does anybody have a workaround?
Or should I downgrade the JDK?

Greetings,
Sebastiaan van Erk

On Sat, 2003-11-22 at 17:29, Jan Schultze wrote:
> 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
> 
> _______________________________________________
> freebsd-java at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-unsubscribe at freebsd.org"



More information about the freebsd-java mailing list