From owner-freebsd-java@FreeBSD.ORG Sun Mar 28 11:30:37 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 66553106566C for ; Sun, 28 Mar 2010 11:30:37 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from viefep15-int.chello.at (viefep15-int.chello.at [62.179.121.35]) by mx1.freebsd.org (Postfix) with ESMTP id 9BCBC8FC0C for ; Sun, 28 Mar 2010 11:30:36 +0000 (UTC) Received: from edge04.upcmail.net ([192.168.13.239]) by viefep11-int.chello.at (InterMail vM.8.01.02.02 201-2260-120-106-20100312) with ESMTP id <20100328111412.CAXP28222.viefep11-int.chello.at@edge04.upcmail.net>; Sun, 28 Mar 2010 13:14:12 +0200 Received: from pinky ([212.83.93.41]) by edge04.upcmail.net with edge id ybEA1d01k0tYspQ04bEBK5; Sun, 28 Mar 2010 13:14:12 +0200 X-SourceIP: 212.83.93.41 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: freebsd-java@freebsd.org, "Achilleas Mantzios" References: <20100325140504.GA11277@erwo.net> <088FD04A-B8B5-4500-850C-476221153975@erwo.net> <20100326043112.GA19708@osiris.chen.org.nz> <201003261053.02118.achill@matrix.gatewaynet.com> Date: Sun, 28 Mar 2010 13:14:11 +0300 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Ronald Klop" Message-ID: In-Reply-To: <201003261053.02118.achill@matrix.gatewaynet.com> User-Agent: Opera Mail/10.51 (Win32) X-Cloudmark-Analysis: v=1.1 cv=ZDt3ILgE3VX9xkJc7+9REBIC4hFTL6V7NAq0V56QRNQ= c=1 sm=0 a=a2F-97vjK0MA:10 a=-e8MBd7zOhoA:10 a=IkcTkHD0fZMA:10 a=Rh5JslpUAAAA:8 a=COfzQ7OkAAAA:8 a=lVBABN-2AAAA:8 a=ufsNW5t-c4d_9V4vGmMA:9 a=fgxxFr5obNUudc6lwPjkpFjRutIA:4 a=QEXdDO2ut3YA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Cc: 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: Sun, 28 Mar 2010 11:30:37 -0000 On Fri, 26 Mar 2010 10:53:01 +0200, Achilleas Mantzios wrote: > Στις Friday 26 March 2010 06:31:12 ο/η Jonathan Chen έγραψε: >> On Thu, Mar 25, 2010 at 10:48:47PM +0100, Wilhelm Greiner wrote: >> > Hi, >> > >> > Am 25.03.2010 um 18:47 schrieb Jonathan Chen: >> > >> > > On Thu, Mar 25, 2010 at 03:05:04PM +0100, Wilhelm Greiner wrote: >> > > >> > > [...] >> > >> 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? >> > > >> > > 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. >> >> Add the result of `hostname` to the 127.0.0.1 aliases in /etc/hosts. > > Additionally with what Jonathan wrote, could it be that the port is a > privileged one (<1024) and the user > not root? > Can you share part of your program, so people can reproduce your problem? Ronald.