From owner-freebsd-java@FreeBSD.ORG Thu Mar 25 14:24:47 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 3111E1065675 for ; Thu, 25 Mar 2010 14:24:47 +0000 (UTC) (envelope-from erwo@erwo.net) Received: from erwo.net (erwo.net [89.149.208.182]) by mx1.freebsd.org (Postfix) with ESMTP id EC3318FC1B for ; Thu, 25 Mar 2010 14:24:46 +0000 (UTC) Received: by erwo.net (Postfix, from userid 1000) id D5EB4DA91E; Thu, 25 Mar 2010 15:05:04 +0100 (CET) Date: Thu, 25 Mar 2010 15:05:04 +0100 From: Wilhelm Greiner To: freebsd-java@freebsd.org Message-ID: <20100325140504.GA11277@erwo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: fwd: 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 14:24:47 -0000 Hi, i now also tested it with openjdk6 (compiled). The Error Message "java.net.BindException" is exactly the same. In the Ports i see the openjdk7 Port since any days, does it make any sense to test this Port with the Applikation? It seems imho that it must be a FreeBSD Problem, with the loopback interface or whatever. Does anyone have a hint about that? regards, Wilhelm Old Post quoting: i have a Problem with the Port "jdk-1.6.0.3p4_12" on FreeBSD "8.0-RELEASE #0". An Application dies with the Error "java.net.BindException: Can't assign requested address". In the lack of compatibility i cant use diablo JRE or Open Java Runtime (the gpled Thing). On my Test Box i disabled ipv6 in rc.conf, also i used the Java Parameter "-Djava.net.preferIPv4Stack=true". Also i read about problems with the loopback interface, the command "ifconfig lo0" says: lo0: flags=8049 metric 0 mtu 16384 options=3 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 Think the settings should be ok, can anyone help please to find the problem? I dont have the sources of the applikation.