From owner-freebsd-java@FreeBSD.ORG Mon Mar 22 11:07:07 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 1B2791065670 for ; Mon, 22 Mar 2010 11:07:07 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0A7098FC1F for ; Mon, 22 Mar 2010 11:07:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o2MB76bb015091 for ; Mon, 22 Mar 2010 11:07:06 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o2MB76LS015089 for freebsd-java@FreeBSD.org; Mon, 22 Mar 2010 11:07:06 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 22 Mar 2010 11:07:06 GMT Message-Id: <201003221107.o2MB76LS015089@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-java@FreeBSD.org 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: Mon, 22 Mar 2010 11:07:07 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- f ports/142704 java [PATCH] java/jai-imageio: use $SUB_FILES to dynamicall o java/141919 java Serious remote vulnerability in the JRE o java/138729 java java/jdk16: setting 'export AWT_TOOLKIT=MToolkit' caus o java/138728 java java/jdk16: SIGSEGV in java runtime o java/128948 java java/jdk16 built from source can't bind a socket, but o java/128809 java JVM aborted when GNU RXTX write to serial port. o java/123555 java linux-sun-jdk15, linux-sun-jdk16 produce a coredump o java/122513 java native JDKs unbuildable with Linux ones o java/121692 java java/jdk16: Java 1.5 1.5.0.14p8 crashes in RMI TCP Con o ports/121420 java java/jdk16: Java applet fails to find class under fire o ports/121416 java java/jdk15 can't build if BIN environment variable is o ports/120372 java java/linux-sun-jdk16: linux-sun-jre1.6.0 plugin doesn' o java/120146 java java/jdk15: netbeans 6.0 causes java core dump on amd6 o ports/119732 java java/linux-sun-jre16: linux-sun-jre16 plugin doesn't w o java/119063 java An unexpected error has been detected by Java Runtime o java/118956 java eclipse and netbeans break on diablo-jdk15 o java/118496 java Eclipse packages do not work with 6.3-RC1/amd64 o ports/116841 java cannot build java/jdk16 by using java/linux-sun-jdk16 o java/116667 java linux-sun-javac1.4 hangs on SMP o ports/116082 java java/linux-sun-jdk16 jconsole is unable to connect to o java/115773 java [request] java.nio channel selectors should use kqueue o java/114644 java tomcat goes out of PermSpace, jvm crashes o ports/113751 java java/linux-sun-jdk15: linux-sun-jdk-1.5.0.12,2 - java o ports/113467 java Multiple "missing return value" errors building JDK on o java/112595 java Java appletviewer frequently hangs (kse_release loop) o java/110912 java Java krb5 client leaks UDP connections f java/105482 java diablo-jdk1.5.0/jdk-1.5.0 java.nio.Selector bug o java/97461 java Diablo JDK does not report Update level in a format su o ports/84742 java make ports/java/jdk14 use dynamic Motif librarires s java/62837 java linux-sun-jdk14 executables hang with COMPAT_LINUX in 30 problems total. From owner-freebsd-java@FreeBSD.ORG Mon Mar 22 18:01:38 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 3789A1065673 for ; Mon, 22 Mar 2010 18:01:37 +0000 (UTC) (envelope-from freebsd-announce@chthonic.com) Received: from chanas.pair.com (chanas.pair.com [209.68.2.166]) by mx1.freebsd.org (Postfix) with SMTP id C9EFF8FC15 for ; Mon, 22 Mar 2010 18:01:36 +0000 (UTC) Received: (qmail 23746 invoked by uid 3329); 22 Mar 2010 17:34:54 -0000 Date: Mon, 22 Mar 2010 13:34:54 -0400 From: "J. Altman" To: freebsd-java@freebsd.org Message-ID: <20100322173454.GA9749@chanas.pair.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: Java Sandbox in a distance learning environ X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "J. Altman" List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2010 18:01:38 -0000 Greetings... An online course provider requires this: "Your browser must also support Java applets." And says this about Open Source Java installations: "Students have had success using the Linux operating system and Mozilla on a variety of platforms, such as RedHat and Debian. If you use a lesser-known flavor of Linux, be sure to thoroughly try out the Learning Sandbox to make sure it works for you. If by chance it doesn't, simply let us know within 7 days for a full refund." Under a closed-source OS, using Java in this environ is likely to be trouble-free. I am not as sure about this on FreeBSD, so my questions. My beginner's understanding is that the installations and use of Java on a desktop can be hairy and potentially troublesome. I have reviewed, briefly, some recent traffic on this list, and the downloads page at http://www.freebsdfoundation.org/downloads/java.shtml. My current desktop, running Xfce, but not KDE: uname -a FreeBSD whisperer.chthonixia.net 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Wed Mar 17 22:12:19 EDT 2010 root@whisperer.chthonixia.net:/usr/obj/usr/src/sys/WHISPERER amd64 1) Can anyone offer some speculation about the ease of use for Java on this version of FreeBSD? While I am generally ready for a mild challenge in installing software for a desktop, this is probably not the time nor the best environ for such a challenge. From what I can tell, overall, I'm probably going to find it easier to use a closed-source OS. Or am I mistaken in my apprehension of a basic skill and clue level for installing and using, for the long term, Java on a FreeBSD desktop? 2) I saw some list traffic that indicated KDE might be the best candidate for using Java with few, if any, headaches. Any thoughts on that? I'm not subscribed to the list; so if possible, please Cc: me on the reply. Thanks for any help, and best regards, Joe From owner-freebsd-java@FreeBSD.ORG Tue Mar 23 18:07:02 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 050AA106564A for ; Tue, 23 Mar 2010 18:07:02 +0000 (UTC) (envelope-from sigmar.muuga@mobisolutions.com) Received: from mail-fx0-f226.google.com (mail-fx0-f226.google.com [209.85.220.226]) by mx1.freebsd.org (Postfix) with ESMTP id 9147E8FC14 for ; Tue, 23 Mar 2010 18:07:01 +0000 (UTC) Received: by fxm26 with SMTP id 26so4426491fxm.35 for ; Tue, 23 Mar 2010 11:07:00 -0700 (PDT) Received: by 10.204.140.67 with SMTP id h3mr2517223bku.137.1269366269767; Tue, 23 Mar 2010 10:44:29 -0700 (PDT) Received: from [192.168.5.198] (118.192.50.195.sta.estpak.ee [195.50.192.118]) by mx.google.com with ESMTPS id g18sm27734349bkw.7.2010.03.23.10.44.28 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 23 Mar 2010 10:44:29 -0700 (PDT) Message-ID: <4BA8FDFA.3090305@mobisolutions.com> Date: Tue, 23 Mar 2010 19:44:26 +0200 From: Sigmar Muuga Organization: Mobi Solutions User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; et; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Maven and gethostbyname_r X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Sigmar Muuga List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Mar 2010 18:07:02 -0000 Hello, while running maven on my FreeBSD 6.1 RELEASE, I got error like this: Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom /libexec/ld-elf.so.1: /usr/local/diablo-jdk1.6.0/jre/lib/i386/libnet.so: Undefined symbol "gethostbyname_r" I am using diablo jre 1.6 How to avoid it or what is missing? Sigmar From owner-freebsd-java@FreeBSD.ORG Tue Mar 23 20:04:41 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 A2BFB106564A for ; Tue, 23 Mar 2010 20:04:41 +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 66CF78FC19 for ; Tue, 23 Mar 2010 20:04:41 +0000 (UTC) Received: by erwo.net (Postfix, from userid 1000) id BCB22DA912; Tue, 23 Mar 2010 20:49:13 +0100 (CET) Received: from [10.45.82.69] (dslc-082-082-115-188.pools.arcor-ip.net [82.82.115.188]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: erwo) by erwo.net (Postfix) with ESMTPSA id 81273DA910 for ; Tue, 23 Mar 2010 20:49:13 +0100 (CET) Message-ID: <4BA91B36.8020101@erwo.net> Date: Tue, 23 Mar 2010 20:49:10 +0100 From: Wilhelm Greiner User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: freebsd-java@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: 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: Tue, 23 Mar 2010 20:04:41 -0000 Hi, 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. Wilhelm 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. From owner-freebsd-java@FreeBSD.ORG Thu Mar 25 17:48:02 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 91635106566B for ; Thu, 25 Mar 2010 17:48:02 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from chen.org.nz (ip-58-28-152-174.static-xdsl.xnet.co.nz [58.28.152.174]) by mx1.freebsd.org (Postfix) with ESMTP id 4301B8FC08 for ; Thu, 25 Mar 2010 17:48:02 +0000 (UTC) Received: by chen.org.nz (Postfix, from userid 1000) id 0EFE0E0479; Fri, 26 Mar 2010 06:47:59 +1300 (NZDT) Date: Fri, 26 Mar 2010 06:47:59 +1300 From: Jonathan Chen To: Wilhelm Greiner Message-ID: <20100325174759.GC10202@osiris.chen.org.nz> References: <20100325140504.GA11277@erwo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100325140504.GA11277@erwo.net> User-Agent: Mutt/1.4.2.3i Cc: freebsd-java@freebsd.org Subject: Re: 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 17:48:02 -0000 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. Check you app's configuration again. -- Jonathan Chen ---------------------------------------------------------------------- When you don't know what you are doing, do it neatly. 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= From owner-freebsd-java@FreeBSD.ORG Fri Mar 26 04:31:14 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 C6BE5106566C for ; Fri, 26 Mar 2010 04:31:14 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from chen.org.nz (ip-58-28-152-174.static-xdsl.xnet.co.nz [58.28.152.174]) by mx1.freebsd.org (Postfix) with ESMTP id 6F8438FC13 for ; Fri, 26 Mar 2010 04:31:14 +0000 (UTC) Received: by chen.org.nz (Postfix, from userid 1000) id 2E478E0479; Fri, 26 Mar 2010 17:31:12 +1300 (NZDT) Date: Fri, 26 Mar 2010 17:31:12 +1300 From: Jonathan Chen To: Wilhelm Greiner Message-ID: <20100326043112.GA19708@osiris.chen.org.nz> References: <20100325140504.GA11277@erwo.net> <20100325174759.GC10202@osiris.chen.org.nz> <088FD04A-B8B5-4500-850C-476221153975@erwo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <088FD04A-B8B5-4500-850C-476221153975@erwo.net> User-Agent: Mutt/1.4.2.3i Cc: freebsd-java@freebsd.org 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: Fri, 26 Mar 2010 04:31:14 -0000 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. -- Jonathan Chen ---------------------------------------------------------------------- "Nyuck, nyuck, nyuck" - Curly From owner-freebsd-java@FreeBSD.ORG Fri Mar 26 08:53:05 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 5262C106568C for ; Fri, 26 Mar 2010 08:53:05 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (host3.dynacom.ondsl.gr [62.103.35.211]) by mx1.freebsd.org (Postfix) with ESMTP id 8D45F8FC12 for ; Fri, 26 Mar 2010 08:53:04 +0000 (UTC) Received: from smadev.internal.net (localhost [127.0.0.1]) by smadev.internal.net (8.14.2/8.14.2) with ESMTP id o2Q8r2Ue043986 for ; Fri, 26 Mar 2010 10:53:02 +0200 (EET) (envelope-from achill@matrix.gatewaynet.com) Received: from localhost (localhost [[UNIX: localhost]]) by smadev.internal.net (8.14.2/8.14.2/Submit) id o2Q8r2R9043984 for freebsd-java@freebsd.org; Fri, 26 Mar 2010 10:53:02 +0200 (EET) (envelope-from achill@matrix.gatewaynet.com) From: Achilleas Mantzios Organization: Dynacom Tankers Mgmt To: freebsd-java@freebsd.org User-Agent: KMail/1.9.7 References: <20100325140504.GA11277@erwo.net> <088FD04A-B8B5-4500-850C-476221153975@erwo.net> <20100326043112.GA19708@osiris.chen.org.nz> In-Reply-To: <20100326043112.GA19708@osiris.chen.org.nz> MIME-Version: 1.0 Content-Disposition: inline Date: Fri, 26 Mar 2010 10:53:01 +0200 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <201003261053.02118.achill@matrix.gatewaynet.com> 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: Fri, 26 Mar 2010 08:53:05 -0000 =CE=A3=CF=84=CE=B9=CF=82 Friday 26 March 2010 06:31:12 =CE=BF/=CE=B7 Jonath= an Chen =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5: > On Thu, Mar 25, 2010 at 10:48:47PM +0100, Wilhelm Greiner wrote: > > Hi, > >=20 > > Am 25.03.2010 um 18:47 schrieb Jonathan Chen: > >=20 > > > 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 as= sign > > >> requested address". > > >>=20 > > >> In the lack of compatibility i cant use diablo JRE or Open Java Runt= ime > > >> (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. > >=20 > > Thanks for your reply. > >=20 > > There is definitly no other process on the requested ports. > >=20 > > On the box only ssh && syslog is up. >=20 > 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 privi= leged one (<1024) and the user not root? =2D-=20 Achilleas Mantzios