From owner-freebsd-java@FreeBSD.ORG Thu Mar 25 21:48:49 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED7D0106564A for ; Thu, 25 Mar 2010 21:48:49 +0000 (UTC) (envelope-from wilhelm.greiner@erwo.net) Received: from erwo.net (erwo.net [89.149.208.182]) by mx1.freebsd.org (Postfix) with ESMTP id AC8B28FC18 for ; Thu, 25 Mar 2010 21:48:49 +0000 (UTC) Received: by erwo.net (Postfix, from userid 1000) id 88C26DA922; Thu, 25 Mar 2010 22:48:48 +0100 (CET) Received: from [10.45.82.79] (dslc-082-082-098-142.pools.arcor-ip.net [82.82.98.142]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: erwo) by erwo.net (Postfix) with ESMTPSA id 41F70DA920 for ; Thu, 25 Mar 2010 22:48:48 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1077) From: Wilhelm Greiner In-Reply-To: <20100325174759.GC10202@osiris.chen.org.nz> Date: Thu, 25 Mar 2010 22:48:47 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <088FD04A-B8B5-4500-850C-476221153975@erwo.net> References: <20100325140504.GA11277@erwo.net> <20100325174759.GC10202@osiris.chen.org.nz> To: freebsd-java@freebsd.org X-Mailer: Apple Mail (2.1077) Subject: Re: jdk-1.6.0.3p4_12 Problem (Socket Thing) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Mar 2010 21:48:50 -0000 Hi, Am 25.03.2010 um 18:47 schrieb Jonathan Chen: > On Thu, Mar 25, 2010 at 03:05:04PM +0100, Wilhelm Greiner wrote: >=20 > [...] >> i have a Problem with the Port "jdk-1.6.0.3p4_12" on FreeBSD >> "8.0-RELEASE #0". >>=20 >> An Application dies with the Error "java.net.BindException: Can't = assign >> requested address". >>=20 >> In the lack of compatibility i cant use diablo JRE or Open Java = Runtime >> (the gpled Thing). >>=20 >> On my Test Box i disabled ipv6 in rc.conf, also i used the Java >> Parameter "-Djava.net.preferIPv4Stack=3Dtrue". >>=20 >> Also i read about problems with the loopback interface, the command >> "ifconfig lo0" says: >> lo0: flags=3D8049 metric 0 mtu 16384 >> options=3D3 >> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 >> inet6 ::1 prefixlen 128 >> inet 127.0.0.1 netmask 0xff000000 >>=20 >>=20 >> Think the settings should be ok, can anyone help please to find the = problem? >=20 > All this means is that the application is trying set up a listener on = a > tcp or udp port that is being used by some other process. Thanks for your reply. There is definitly no other process on the requested ports. On the box only ssh && syslog is up. I now also tested it with openjdk7 - it also dont work. Other Hints are welcome. best regards, Wilhelm=