Date: Sun, 28 Mar 2010 13:14:11 +0300 From: "Ronald Klop" <ronald-freebsd8@klop.yi.org> To: freebsd-java@freebsd.org, "Achilleas Mantzios" <achill@matrix.gatewaynet.com> Subject: Re: jdk-1.6.0.3p4_12 Problem (Socket Thing) Message-ID: <op.u99ytxg58527sy@pinky> In-Reply-To: <201003261053.02118.achill@matrix.gatewaynet.com> References: <20100325140504.GA11277@erwo.net> <088FD04A-B8B5-4500-850C-476221153975@erwo.net> <20100326043112.GA19708@osiris.chen.org.nz> <201003261053.02118.achill@matrix.gatewaynet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 26 Mar 2010 10:53:01 +0200, Achilleas Mantzios <achill@matrix.gatewaynet.com> 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<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 >> > >> options=3<RXCSUM,TXCSUM> >> > >> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.u99ytxg58527sy>