From owner-freebsd-java@FreeBSD.ORG Wed Dec 3 00:51:02 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C3A5616A4CE for ; Wed, 3 Dec 2003 00:51:02 -0800 (PST) Received: from mail.profdata.nl (server.profdata.nl [213.196.2.244]) by mx1.FreeBSD.org (Postfix) with SMTP id F15E343FDF for ; Wed, 3 Dec 2003 00:51:00 -0800 (PST) (envelope-from sebster@sebster.com) Received: (qmail 22413 invoked from network); 3 Dec 2003 08:50:59 -0000 Received: from unknown (HELO ?10.0.0.6?) (80.126.80.226) by server.profdata.nl with SMTP; 3 Dec 2003 08:50:59 -0000 From: Sebastiaan van Erk To: freebsd-java@freebsd.org In-Reply-To: <1070363381.2752.4.camel@blauwoor.sebster.com> References: <3FBF8EDA.5040600@gmx.de> <1070363381.2752.4.camel@blauwoor.sebster.com> Content-Type: text/plain Organization: Insight Information Technologies Message-Id: <1070441434.632.6.camel@blauwoor.sebster.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Wed, 03 Dec 2003 09:50:35 +0100 Content-Transfer-Encoding: 7bit Subject: Re: Eclipse cannot find a free socket for the debugger X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Dec 2003 08:51:03 -0000 For those of you who have the same problem, it turns out that in FreeBSD 5.1 at least, the net.inet6.ip6.v6only is set to 1 by default. Turn it off with sysctl -w net.inet6.ip6.v6only=0 as root, and restart eclipse, and debugging will work just fine. Greetings, Sebastiaan van Erk On Tue, 2003-12-02 at 12:09, Sebastiaan van Erk wrote: > 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@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-java > > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org"