From owner-freebsd-java@FreeBSD.ORG Sun Nov 18 01:48:17 2007 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC4FE16A41A; Sun, 18 Nov 2007 01:48:17 +0000 (UTC) (envelope-from arno@heho.snv.jussieu.fr) Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by mx1.freebsd.org (Postfix) with ESMTP id 53C7C13C467; Sun, 18 Nov 2007 01:48:17 +0000 (UTC) (envelope-from arno@heho.snv.jussieu.fr) Received: from heho.snv.jussieu.fr (heho.snv.jussieu.fr [134.157.184.22]) by shiva.jussieu.fr (8.13.8/jtpda-5.4) with ESMTP id lAI1m7aH089203 ; Sun, 18 Nov 2007 02:48:07 +0100 (CET) X-Ids: 164 Received: from heho.snv.jussieu.fr (localhost [127.0.0.1]) by heho.snv.jussieu.fr (8.13.3/jtpda-5.2) with ESMTP id lAI1m6th003158 ; Sun, 18 Nov 2007 02:48:06 +0100 (MET) Received: (from arno@localhost) by heho.snv.jussieu.fr (8.13.3/8.13.1/Submit) id lAI1m678003155; Sun, 18 Nov 2007 02:48:06 +0100 (MET) (envelope-from arno) To: Nate Williams References: <18239.29090.668331.584942@caddis.yogotech.com> From: "Arno J. Klaassen" Date: 18 Nov 2007 02:48:06 +0100 In-Reply-To: <18239.29090.668331.584942@caddis.yogotech.com> Message-ID: Lines: 39 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (shiva.jussieu.fr [134.157.0.164]); Sun, 18 Nov 2007 02:48:07 +0100 (CET) X-Virus-Scanned: ClamAV 0.88.7/4832/Sun Nov 18 02:07:36 2007 on shiva.jussieu.fr X-Virus-Status: Clean X-Miltered: at shiva.jussieu.fr with ID 473F99D7.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! Cc: java@freebsd.org, current@freebsd.org Subject: Re: mutex-bug in recent releng_[67]? 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, 18 Nov 2007 01:48:17 -0000 Nate Williams writes: > > I have serious problems with " Runtime.getRuntime ().exec ()" : either > > it hangs or gives a spinning mutex running at 99% cpu. > > This is a Java FAQ, Oops. Sorry for the noise .... > and is unrelated to FreeBSD. This program will hang > on any OS once you reach a certain threshold of unread output that the > OS will block the process until something 'reads' the data. > > What you need to do is once you execute the command, you need to have a > process that reads the output from the process. OK. I see (and most often do); but indeed I didn't in cases where I were just interested in the exit value of the command (and then afterwards read "proc.getErrorStream" to see what went wrong ... ). Thank you very much for your help. > [ .. ] > Here is my (trivial) implementation, use it as you see fit. > [ .. ] Thanx! I'l try. > Why it works on linux-sun-jdk15 is probably due to the fact that there > is more stack space allocated to processes, but if you modified the > process to generate more output ('ls -R /'), it will eventually fail. Yop, you're right. Best, Arno (a bit ashamed) From owner-freebsd-java@FreeBSD.ORG Mon Nov 19 11:07:03 2007 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2133316A4D2 for ; Mon, 19 Nov 2007 11:07:03 +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 13D5613C461 for ; Mon, 19 Nov 2007 11:07:03 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id lAJB72se040814 for ; Mon, 19 Nov 2007 11:07:02 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id lAJB72Al040810 for freebsd-java@FreeBSD.org; Mon, 19 Nov 2007 11:07:02 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 19 Nov 2007 11:07:02 GMT Message-Id: <200711191107.lAJB72Al040810@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, 19 Nov 2007 11:07:03 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- s ports/60083 java java/jdk14 - Unsafe use of getaddrinfo in jvm 1.4.2-p5 f java/72151 java JVM crash on 5.2.1-R o java/105482 java diablo-jdk1.5.0/jdk-1.5.0 java.nio.Selector bug o java/110912 java Java krb5 client leaks UDP connections o java/112595 java Java appletviewer frequently hangs (kse_release loop) o ports/113467 java Multiple "missing return value" errors building JDK on o java/114644 java tomcat goes out of PermSpace, jvm crashes 7 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- f ports/56928 java jce-aba port should install to $JAVA_HOME/jre/lib/ext f java/62837 java linux-sun-jdk14 executables hang with COMPAT_LINUX in o ports/84742 java make ports/java/jdk14 use dynamic Motif librarires o java/97461 java Diablo JDK does not report Update level in a format su o ports/113751 java java/linux-sun-jdk15: linux-sun-jdk-1.5.0.12,2 - java o ports/115279 java [UPDATE] java/java3d to 1.5.1 o java/115773 java java.nio channel selectors should use kqueue/kevent in o ports/116082 java java/linux-sun-jdk16 jconsole is unable to connect to o java/116667 java linux-sun-javac1.4 hangs on SMP o ports/116841 java cannot build java/jdk16 by using java/linux-sun-jdk16 o ports/118088 java java/eclipse-devel: The path of Variable Exec= in fil 11 problems total. From owner-freebsd-java@FreeBSD.ORG Tue Nov 20 03:50:02 2007 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CC7716A417 for ; Tue, 20 Nov 2007 03:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1C1FF13C47E for ; Tue, 20 Nov 2007 03:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id lAK3o1jc093358 for ; Tue, 20 Nov 2007 03:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id lAK3o14M093353; Tue, 20 Nov 2007 03:50:01 GMT (envelope-from gnats) Resent-Date: Tue, 20 Nov 2007 03:50:01 GMT Resent-Message-Id: <200711200350.lAK3o14M093353@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-java@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Andrew Reilly Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 57F7316A419 for ; Tue, 20 Nov 2007 03:49:05 +0000 (UTC) (envelope-from andrew@areilly.bpa.nu) Received: from omta02ps.mx.bigpond.com (omta02ps.mx.bigpond.com [144.140.83.154]) by mx1.freebsd.org (Postfix) with ESMTP id CC94913C458 for ; Tue, 20 Nov 2007 03:49:04 +0000 (UTC) (envelope-from andrew@areilly.bpa.nu) Received: from oaamta04ps.mx.bigpond.com ([124.188.162.219]) by omta02ps.mx.bigpond.com with ESMTP id <20071120034852.JQJN19085.omta02ps.mx.bigpond.com@oaamta04ps.mx.bigpond.com> for ; Tue, 20 Nov 2007 03:48:52 +0000 Received: from areilly.bpa.nu ([124.188.162.219]) by oaamta04ps.mx.bigpond.com with ESMTP id <20071120034852.NWNW9364.oaamta04ps.mx.bigpond.com@areilly.bpa.nu> for ; Tue, 20 Nov 2007 03:48:52 +0000 Received: (qmail 54594 invoked by uid 501); 20 Nov 2007 03:46:10 -0000 Message-Id: <20071120034610.54593.qmail@areilly.bpa.nu> Date: 20 Nov 2007 03:46:10 -0000 From: Andrew Reilly To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: java/118143: jdk16 build faild on RELENG_7 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Andrew Reilly List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2007 03:50:02 -0000 >Number: 118143 >Category: java >Synopsis: jdk16 build faild on RELENG_7 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 20 03:50:01 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Andrew Reilly >Release: FreeBSD 7.0-BETA3 amd64 >Organization: >Environment: System: FreeBSD duncan.reilly.home 7.0-BETA3 FreeBSD 7.0-BETA3 #1: Sun Nov 18 04:20:31 EST 2007 root@duncan:/usr/obj/usr/src/sys/DUNCAN amd64 Hardware is an Athlon64-X2 with 1G DRAM. Kernel is SMP. >Description: manually fetch files as required by jdk16 port cd /usr/ports/java/jdk16 make after some largish successfull-looking build, it stops with: gmake[5]: Leaving directory `/usr/ports/java/jdk16/work/control/build/bsd-amd64/hotspot/outputdir/bsd_amd64_compiler2/product' All done. gmake[4]: Leaving directory `/usr/ports/java/jdk16/work/control/build/bsd-amd64/hotspot/outputdir/bsd_amd64_compiler2/product' cd bsd_amd64_compiler2/product && ./test_gamma There was an error trying to initialize the HPI library. Could not create the Java virtual machine. gmake[3]: *** [product] Error 1 gmake[3]: Leaving directory `/usr/ports/java/jdk16/work/control/build/bsd-amd64/hotspot/outputdir' gmake[2]: *** [generic_build2] Error 2 gmake[2]: Leaving directory `/usr/ports/java/jdk16/work/hotspot/make' gmake[1]: *** [product] Error 2 gmake[1]: Leaving directory `/usr/ports/java/jdk16/work/hotspot/make' gmake: *** [hotspot-build] Error 2 *** Error code 2 Stop in /usr/ports/java/jdk16. *** Error code 1 Stop in /usr/ports/java/jdk16. >How-To-Repeat: see Description. >Fix: none, so far. My plan is to wait a while, re-sup ports tree and try again... For what it's worth, jdk15 built successfully, immediately previously, and I have had jdk16 build successfully (earlier revision) under RELENG_6. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-java@FreeBSD.ORG Tue Nov 20 09:35:43 2007 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 9F39816A46B for ; Tue, 20 Nov 2007 09:35:43 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id 67DB313C458 for ; Tue, 20 Nov 2007 09:35:43 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 4971 invoked from network); 20 Nov 2007 03:28:34 -0600 Received: from 124-170-214-198.dyn.iinet.net.au (HELO localhost) (124.170.214.198) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 20 Nov 2007 03:28:33 -0600 Date: Tue, 20 Nov 2007 20:28:25 +1100 From: Norberto Meijome To: FreeBSD Java ML Message-ID: <20071120202825.738ac3e4@meijome.net> In-Reply-To: <20071109105508.7867bd5a@meijome.net> References: <20071109105508.7867bd5a@meijome.net> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions ML Subject: FIXED: Java Plugin, FFox 2, Fbsd7 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, 20 Nov 2007 09:35:43 -0000 On Fri, 9 Nov 2007 10:55:08 +1100 Norberto Meijome wrote: > Hi list, > I have ffox 2, jdk1.5 and .16 installed and working ok for other programs. > > I have the 1.5 plugin loaded and recognised OK in about:plugins: > [betom@ayiin] [Fri Nov 9 10:41:19 2007] > /usr/local/lib/browser_plugins > $ sudo ln -s /usr/local/jdk1.5.0/jre/plugin/i386/ns7/libjavaplugin_oji.so libjavaplugin_oji.so > > When I try to load Sun's applet test ( http://www.java.com/en/download/help/testvm.xml ) , but I get this in the java console , and the applet doesn't load : > > Java Plug-in 1.5.0_13 > Using JRE version 1.5.0_13-p7 Java HotSpot(TM) Client VM > User home directory = /home/betom > > > ---------------------------------------------------- > c: clear console window > f: finalize objects on finalization queue > g: garbage collect > h: display this help message > l: dump classloader list > m: print memory usage > o: trigger logging > p: reload proxy configuration > q: hide console > r: reload policy configuration > s: dump system and deployment properties > t: dump thread list > v: dump thread stack > x: clear classloader cache > 0-5: set trace level to > ---------------------------------------------------- > > load: class testvmDynamicJavaCom.class not found. > java.lang.ClassNotFoundException: testvmDynamicJavaCom.class > at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:168) > at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:119) > at java.lang.ClassLoader.loadClass(ClassLoader.java:251) > at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:599) > at sun.applet.AppletPanel.createApplet(AppletPanel.java:723) > at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1815) > at sun.applet.AppletPanel.runLoader(AppletPanel.java:652) > at sun.applet.AppletPanel.run(AppletPanel.java:326) > at java.lang.Thread.run(Thread.java:595) > Caused by: java.io.IOException: open HTTP connection failed. > at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:271) > at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:44) > at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:158) > at java.security.AccessController.doPrivileged(Native Method) > at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:155) > ... 9 more > > ----------------------------- > > I tested it with JAVA_HOME unset (my default) and with JAVA_HOME set to /usr/local/jdk.1.5.0/, with JAVA_VERSION set and unset. > > When I try another applet, randomly on the web ( http://www.java.com/en/download/help/testvm.xml ) , i get the following too > > Java Plug-in 1.5.0_13 > Using JRE version 1.5.0_13-p7 Java HotSpot(TM) Client VM > User home directory = /home/betom > > > ---------------------------------------------------- > c: clear console window > f: finalize objects on finalization queue > g: garbage collect > h: display this help message > l: dump classloader list > m: print memory usage > o: trigger logging > p: reload proxy configuration > q: hide console > r: reload policy configuration > s: dump system and deployment properties > t: dump thread list > v: dump thread stack > x: clear classloader cache > 0-5: set trace level to > ---------------------------------------------------- > > load: class testvmDynamicJavaCom.class not found. > java.lang.ClassNotFoundException: testvmDynamicJavaCom.class > at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:168) > at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:119) > at java.lang.ClassLoader.loadClass(ClassLoader.java:251) > at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:599) > at sun.applet.AppletPanel.createApplet(AppletPanel.java:723) > at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1815) > at sun.applet.AppletPanel.runLoader(AppletPanel.java:652) > at sun.applet.AppletPanel.run(AppletPanel.java:326) > at java.lang.Thread.run(Thread.java:595) > Caused by: java.io.IOException: open HTTP connection failed. > at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:271) > at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:44) > at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:158) > at java.security.AccessController.doPrivileged(Native Method) > at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:155) > ... 9 more > load: class ping2.class not found. > java.lang.ClassNotFoundException: ping2.class > at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:168) > at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:119) > at java.lang.ClassLoader.loadClass(ClassLoader.java:251) > at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:599) > at sun.applet.AppletPanel.createApplet(AppletPanel.java:723) > at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1815) > at sun.applet.AppletPanel.runLoader(AppletPanel.java:652) > at sun.applet.AppletPanel.run(AppletPanel.java:326) > at java.lang.Thread.run(Thread.java:595) > Caused by: java.io.IOException: open HTTP connection failed. > at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:271) > at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:44) > at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:158) > at java.security.AccessController.doPrivileged(Native Method) > at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:155) > ... 9 more > > -------------------------------- > > If i load the 1.6 plugin instead, i get the same result, BUT ffox locks up , using over 60% CPU non stop. FFox stops refreshing its window , and I have to kill it. > > The environment is the same on 6.2 (eg, no lib paths defined,etc), but never had this problem... Any pointers? > > ( I reiterate, Eclipse, freemind, yed, Lucene's Luke analyzer, and others work just fine) > > thanks, Hi there, well, i figured what the problem is. I decided, when I moved to 7.0 , to enable IPV6 in my kernel. I don't actually have it set up properly, but i hope i'll be able to play with it soon. . Since then, all my java apps that relied on networking stopped working. I fixed most of them by adding to my environment: JAVAVM_OPTS_javaws=-J-Djava.net.preferIPv4Stack=true JAVAVM_OPTS_java=-Djava.net.preferIPv4Stack=true Under Eclipse, I have to run/debug applications passing -Djava.net.preferIPv4Stack=true to their environment. The fix for applets is very similar : in the java control panel, Java tab, 'Java applet Runtime Settings', set the Java Runtime parameters to "-Djava.net.preferIPv4Stack=true". and voila! everything working again. Hope this helps someone. best, B _________________________ {Beto|Norberto|Numard} Meijome "At times, to be silent is to lie." Miguel de Unamuno I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From owner-freebsd-java@FreeBSD.ORG Wed Nov 21 03:53:50 2007 Return-Path: Delivered-To: java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D168616A418; Wed, 21 Nov 2007 03:53:49 +0000 (UTC) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by mx1.freebsd.org (Postfix) with ESMTP id 9173213C461; Wed, 21 Nov 2007 03:53:49 +0000 (UTC) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (localhost [127.0.0.1]) by aldan.algebra.com (8.14.1/8.14.1) with ESMTP id lAL3rmK1050054 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 20 Nov 2007 22:53:48 -0500 (EST) (envelope-from mi+kde@aldan.algebra.com) Received: from localhost (localhost [[UNIX: localhost]]) by aldan.algebra.com (8.14.1/8.14.1/Submit) id lAL3rm4j050053; Tue, 20 Nov 2007 22:53:48 -0500 (EST) (envelope-from mi+kde@aldan.algebra.com) From: Mikhail Teterin To: java@FreeBSD.org Date: Tue, 20 Nov 2007 22:53:47 -0500 User-Agent: KMail/1.9.6 X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7whJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli" Cc: portmgr@FreeBSD.org Subject: linux-sun-jdk15 install failure 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: Wed, 21 Nov 2007 03:53:50 -0000 ... ===> Registering installation for linux_base-fc-4_10 ===> SECURITY REPORT: This port has installed the following files which may act as network servers and may therefore pose a remote security risk to the system. /compat/linux/usr/lib/libgssrpc.so.4.0 /compat/linux/usr/lib/libkrb5.so.3.2 (USES POSSIBLY INSECURE FUNCTIONS: mktemp) /compat/linux/lib/libselinux.so.1 /compat/linux/lib/libresolv-2.3.6.so If there are vulnerabilities in these programs there may be a security risk to the system. FreeBSD makes no guarantee about the security of ports included in the Ports Collection. Please type 'make deinstall' to deinstall the port if this is a concern. ===> Returning to build of linux-sun-jdk-1.5.0.14,2 Java Web Start Application: not found /home/opt/ports/java/linux-sun-jdk15/work/install.sfx: 2: Syntax error: "fi" unexpected *** Error code 2 Stop in /opt/ports/java/linux-sun-jdk15. From owner-freebsd-java@FreeBSD.ORG Wed Nov 21 03:56:25 2007 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D650416A41B; Wed, 21 Nov 2007 03:56:25 +0000 (UTC) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by mx1.freebsd.org (Postfix) with ESMTP id D377513C474; Wed, 21 Nov 2007 03:56:24 +0000 (UTC) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (localhost [127.0.0.1]) by aldan.algebra.com (8.14.1/8.14.1) with ESMTP id lAL3uNUC050089 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 20 Nov 2007 22:56:23 -0500 (EST) (envelope-from mi+kde@aldan.algebra.com) Received: from localhost (localhost [[UNIX: localhost]]) by aldan.algebra.com (8.14.1/8.14.1/Submit) id lAL3uNDo050088; Tue, 20 Nov 2007 22:56:23 -0500 (EST) (envelope-from mi+kde@aldan.algebra.com) From: Mikhail Teterin To: java@freebsd.org Date: Tue, 20 Nov 2007 22:56:22 -0500 User-Agent: KMail/1.9.6 References: <200711202253.47801@aldan> In-Reply-To: <200711202253.47801@aldan> X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7whJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli" Cc: portmgr@freebsd.org Subject: Re: linux-sun-jdk15 install failure 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: Wed, 21 Nov 2007 03:56:25 -0000 Sorry for the noise -- 1.5.0_14 is not in the ports yet... This is my=20 experimental machine. Yours, -mi On =D7=A6=D7=D4=CF=D2=CF=CB 20 =CC=C9=D3=D4=CF=D0=C1=C4 2007, Mikhail Teter= in wrote: =3D ... =3D =3D=3D=3D> Registering installation for linux_base-fc-4_10 =3D =3D=3D=3D> SECURITY REPORT:=20 =3D This port has installed the following files which may act as netw= ork =3D servers and may therefore pose a remote security risk to the syst= em. =3D /compat/linux/usr/lib/libgssrpc.so.4.0 =3D /compat/linux/usr/lib/libkrb5.so.3.2 (USES POSSIBLY INSECURE FUNCTIONS:= =20 =3D mktemp) =3D /compat/linux/lib/libselinux.so.1 =3D /compat/linux/lib/libresolv-2.3.6.so =3D=20 =3D If there are vulnerabilities in these programs there may be a sec= urity =3D risk to the system. FreeBSD makes no guarantee about the security= of =3D ports included in the Ports Collection. Please type 'make deinsta= ll' =3D to deinstall the port if this is a concern. =3D =3D=3D=3D> Returning to build of linux-sun-jdk-1.5.0.14,2 =3D Java Web Start Application: not found =3D /home/opt/ports/java/linux-sun-jdk15/work/install.sfx: 2: Syntax error:= "fi"=20 =3D unexpected =3D *** Error code 2 =3D=20 =3D Stop in /opt/ports/java/linux-sun-jdk15. =3D=20 From owner-freebsd-java@FreeBSD.ORG Wed Nov 21 05:11:04 2007 Return-Path: Delivered-To: java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A8E9416A41B for ; Wed, 21 Nov 2007 05:11:04 +0000 (UTC) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by mx1.freebsd.org (Postfix) with ESMTP id 5FC5113C442 for ; Wed, 21 Nov 2007 05:11:04 +0000 (UTC) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (localhost [127.0.0.1]) by aldan.algebra.com (8.14.1/8.14.1) with ESMTP id lAL5B3uD051430 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 21 Nov 2007 00:11:03 -0500 (EST) (envelope-from mi+kde@aldan.algebra.com) Received: from localhost (localhost [[UNIX: localhost]]) by aldan.algebra.com (8.14.1/8.14.1/Submit) id lAL5B3Sk051429 for java@FreeBSD.org; Wed, 21 Nov 2007 00:11:03 -0500 (EST) (envelope-from mi+kde@aldan.algebra.com) From: Mikhail Teterin To: java@FreeBSD.org Date: Wed, 21 Nov 2007 00:11:02 -0500 User-Agent: KMail/1.9.6 X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7whJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: jdk15..._14 update 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: Wed, 21 Nov 2007 05:11:04 -0000 --Boundary-00=_m37QH17eyqY20Zv Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello! The attached patches both update the JDK to the recently released patch-level 14. They also both modify the extraction algorithm to make it more reliable -- it currently hard-codes the line-number, where the data begins -- the number needs to change every time the JDK changes. The first method simply looks for the line "^exit 0", which is a more reliable indicator of the end of the shell-script, than a hard-coded line number. I like the second method even better, though, because it avoids running a Linux program at extract time (using a native unzip instead) and is, likely, even more reliable, than relying on "^exit 0" being in the right place. Whichever method you chose, future updates to the port should consist of simply bumping the JDK patch-level... Yours, -mi --Boundary-00=_m37QH17eyqY20Zv-- From owner-freebsd-java@FreeBSD.ORG Wed Nov 21 05:21:38 2007 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B29D16A468 for ; Wed, 21 Nov 2007 05:21:38 +0000 (UTC) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by mx1.freebsd.org (Postfix) with ESMTP id 01B1913C47E for ; Wed, 21 Nov 2007 05:21:37 +0000 (UTC) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (localhost [127.0.0.1]) by aldan.algebra.com (8.14.1/8.14.1) with ESMTP id lAL5LbaN001238 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 21 Nov 2007 00:21:37 -0500 (EST) (envelope-from mi+kde@aldan.algebra.com) Received: from localhost (localhost [[UNIX: localhost]]) by aldan.algebra.com (8.14.1/8.14.1/Submit) id lAL5LaPh001237 for java@freebsd.org; Wed, 21 Nov 2007 00:21:36 -0500 (EST) (envelope-from mi+kde@aldan.algebra.com) From: Mikhail Teterin To: java@freebsd.org Date: Wed, 21 Nov 2007 00:21:36 -0500 User-Agent: KMail/1.9.6 MIME-Version: 1.0 X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7whJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: jdk15..._14 update 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: Wed, 21 Nov 2007 05:21:38 -0000 --Boundary-00=_gB8QHJoDDRw5kt5 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello! The attached patches both update the JDK to the recently released patch-level 14. They also both modify the extraction algorithm to make it more reliable -- it currently hard-codes the line-number, where the data begins -- the number needs to change every time the JDK changes. The first method simply looks for the line "^exit 0", which is a more reliable indicator of the end of the shell-script, than a hard-coded line number. I like the second method even better, though, because it avoids running a Linux program at extract time (using a native unzip instead) and is, likely, even more reliable, than relying on "^exit 0" being in the right place. Whichever method you chose, future updates to the port should consist of simply bumping the JDK patch-level... Yours, -mi --Boundary-00=_gB8QHJoDDRw5kt5-- From owner-freebsd-java@FreeBSD.ORG Wed Nov 21 13:30:46 2007 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 2FB7516A41B for ; Wed, 21 Nov 2007 13:30:46 +0000 (UTC) (envelope-from unixmania@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.freebsd.org (Postfix) with ESMTP id 4ED7F13C461 for ; Wed, 21 Nov 2007 13:30:43 +0000 (UTC) (envelope-from unixmania@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so122252uge for ; Wed, 21 Nov 2007 05:30:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=DZePyfaWP4KGmD/08IMDi0fMRbxX7AlFOk37Hyi+7HA=; b=BHrgkGpBzhYV9Nx1cXiR+kL7VfKGPoBxFX2z2idEMjK7InGvUcJiY9WtVgZcpICPcZ+KkeiWkeyBq1A9i6P0PmE07iEPtcjweCvefec01mfUUrUKuspyX9/ArMn+9MrPYeAtmLL3z1OEbGOqDqVLukhMWLrufvk6voTPWcXt5b0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:mime-version:content-type; b=pbLkW51326puaocTHj6f/ZeS0dA37wlbLDNLO+DnFNsp+nT311ETudMVfL7JckY0SgJv+LerAeLXSc1fTM9DsRUr7QJ18tSsN8voy7deuAX/wQ+00UH3BBHOPHs7LwrN/84v08vCoNzEI2+Fiui9iDCWAOAAnQ68LH+4JmvfXMU= Received: by 10.66.219.11 with SMTP id r11mr1809195ugg.1195650361268; Wed, 21 Nov 2007 05:06:01 -0800 (PST) Received: by 10.66.218.20 with HTTP; Wed, 21 Nov 2007 05:06:01 -0800 (PST) Message-ID: Date: Wed, 21 Nov 2007 11:06:01 -0200 From: "Carlos A. M. dos Santos" To: "FreeBSD Java List" MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_12894_18738330.1195650361247" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: FreeBSD + Banco do Brasil + JDK 1.5 + IPv6 == BOOM 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: Wed, 21 Nov 2007 13:30:46 -0000 ------=_Part_12894_18738330.1195650361247 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Greetings from Brasil, I have 7.0-BETA2 i386 with Firefox 2.0.0.9 and JDK 1.5 (Java Plug-in 1.5.0_13) built from ports. My Java was generated with support for IPv6, because I need this for professional reasons, and this seems to be the cause of the problem described below. When I attempt to access my home banking system, at https://www2.bancobrasil.com.br/aapf/login.jsp?aapf.IDH=sim firefox fails to load the virtual keyboard applet used to provide the user password. The Java console shows a lengthy error trace starting with "java.net.ConnectException: Invalid argument" (see attachment). The problem does not happen if I generate Java without IPv6. It also does not happen if I use Firefox plus JDK 1.5 with IPv6 support on Novell Linux, so I'm not sure about where the problem lies. Any help will be appreciated. -- Carlos A. M. dos Santos ------=_Part_12894_18738330.1195650361247-- From owner-freebsd-java@FreeBSD.ORG Wed Nov 21 14:02:20 2007 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 CB8F616A41B for ; Wed, 21 Nov 2007 14:02:20 +0000 (UTC) (envelope-from brix@FreeBSD.org) Received: from solow.pil.dk (relay.pil.dk [195.41.47.164]) by mx1.freebsd.org (Postfix) with ESMTP id 8AE7A13C4DD for ; Wed, 21 Nov 2007 14:02:20 +0000 (UTC) (envelope-from brix@FreeBSD.org) Received: from tirith.brixandersen.dk (osgiliath.brixandersen.dk [87.53.223.189]) by solow.pil.dk (Postfix) with ESMTP id 773B11CC0ED for ; Wed, 21 Nov 2007 14:42:31 +0100 (CET) Received: by tirith.brixandersen.dk (Postfix, from userid 1001) id B6F1411438; Wed, 21 Nov 2007 14:42:30 +0100 (CET) Date: Wed, 21 Nov 2007 14:42:30 +0100 From: Henrik Brix Andersen To: freebsd-java@freebsd.org Message-ID: <20071121134230.GB4716@tirith.brixandersen.dk> Mail-Followup-To: freebsd-java@freebsd.org References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2B/JsCI69OhZNC5r" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://www.brixandersen.dk/files/HenrikBrixAndersen.asc User-Agent: Mutt/1.5.16 (2007-06-09) Subject: Re: FreeBSD + Banco do Brasil + JDK 1.5 + IPv6 == BOOM 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: Wed, 21 Nov 2007 14:02:20 -0000 --2B/JsCI69OhZNC5r Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 21, 2007 at 11:06:01AM -0200, Carlos A. M. dos Santos wrote: > firefox fails to load the virtual keyboard applet used to provide the > user password. The Java console shows a lengthy error trace starting > with "java.net.ConnectException: Invalid argument" (see attachment). Yeah, I had the same problem with my homebanking system - I have posted a work-around at my blog, that ough to work for you as well: http://blog.brixandersen.dk/?p=3D61 Brix --=20 Henrik Brix Andersen --2B/JsCI69OhZNC5r Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: GnuPG signed iD8DBQFHRDXGv+Q4flTiePgRAgV0AJ4pbm0AtjQpyb3YGxTk3ufF1JcnRgCggbNk 3Pjo47uINlZQ54EimVH/S3Y= =MlJE -----END PGP SIGNATURE----- --2B/JsCI69OhZNC5r-- From owner-freebsd-java@FreeBSD.ORG Wed Nov 21 15:04:01 2007 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 7647716A47A for ; Wed, 21 Nov 2007 15:04:01 +0000 (UTC) (envelope-from "cyb."@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id D056913C525 for ; Wed, 21 Nov 2007 15:04:00 +0000 (UTC) (envelope-from "cyb."@gmx.net) Received: (qmail invoked by alias); 21 Nov 2007 14:37:19 -0000 Received: from pD9588151.dip0.t-ipconnect.de (EHLO core2duo.local) [217.88.129.81] by mail.gmx.net (mp003) with SMTP; 21 Nov 2007 15:37:19 +0100 X-Authenticated: #4870692 X-Provags-ID: V01U2FsdGVkX1/XNmYlSgbXMqEEV2458RAWUQtbbDlo39aZKNRpRK QTu7WdzbhmVpI5 Date: Wed, 21 Nov 2007 15:37:13 +0100 From: Andreas Rudisch To: David Taylor Message-Id: <20071121153713.4fd79e33.cyb.@gmx.net> In-Reply-To: <20071108181055.GA20748@outcold.yadt.co.uk> References: <20071107181857.GA35213@outcold.yadt.co.uk> <20071107103941.G46367@turing> <20071108181055.GA20748@outcold.yadt.co.uk> X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Wed__21_Nov_2007_15_37_13_+0100_oyUcFZIFAWStRxaV" X-Y-GMX-Trusted: 0 Cc: freebsd-java@freebsd.org Subject: Re: FreeBSD 7 and java networking 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: Wed, 21 Nov 2007 15:04:01 -0000 --Signature=_Wed__21_Nov_2007_15_37_13_+0100_oyUcFZIFAWStRxaV Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, 8 Nov 2007 18:10:56 +0000 David Taylor wrote: > On Wed, 07 Nov 2007, Nick Johnson wrote: >=20 > > On Wed, 7 Nov 2007, David Taylor wrote: > >=20 > > > I've tried compiling java/jdk15 and java/jdk16 bootstrapping with > > > all three binary jdks (diablo 1.5, linux 1.5, linux 1.6). > > >=20 > > > They all give the same problem: > > >=20 > > > Running jbidwatcher or azureus results in a mass of messages > > > like the following, whenever network IO is attempted: > > >=20 > > > java.net.ConnectException: Invalid argument > >=20 > > Did you try running it with -Djava.net.preferIPv4Stack=3Dtrue ? >=20 > Thank you! >=20 > As it turns out, I'd just noticed the global "WITH_IPV6=3Dyes" > that I'd put in /etc/make.conf, and started recompiling java > without IPv6 support shortly before you sent that message. > I had already tried (both native jdks) with IPV6 turned > off in the "make config" menu -- or so I thought -- but > my choice was overriden by that forgotten entry. >=20 > The IPv6-less jdk works perfectly, now all that remains > is to figure out why IPv6 support has stopped working... >=20 > I'm fairly sure it worked fine before I switched motherboards > and upgraded to 7-CURRENT (now stable, or beta, or whatever). I updated from 6.2-release-p8 to 7.0-beta3 and rebuilt all my ports. Does Azureus work properly for you? For me it does not upload/download anything. I tried jdk15 and jdk16 both with and without IPv6 support. Using -Djava.net.preferIPv4Stack=3Dtrue does not seem to help. With FreeBSD 6.2 I had to add the following to libmap.conf to run Azureus: [/usr/local/jdk1.6.0/]=20 libpthread.so libc_r.so=20 libpthread.so.2 libc_r.so.6 This does not seem to help either. I am using ULE and SMP on an Intel Core2Duo. Andreas --=20 GnuPG key : 0x2A573565 | http://cyb.websimplex.de/pubkey.asc Fingerprint: 925D 2089 0BF9 8DE5 9166 33BB F0FD CD37 2A57 3565 --Signature=_Wed__21_Nov_2007_15_37_13_+0100_oyUcFZIFAWStRxaV Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHREKd8P3NNypXNWURAv1kAJ4pB3CMMET1edWR1AAo2sf/CwskAwCcClVD vLGC3tNYp6j44TPaVtZGjg8= =F15J -----END PGP SIGNATURE----- --Signature=_Wed__21_Nov_2007_15_37_13_+0100_oyUcFZIFAWStRxaV-- From owner-freebsd-java@FreeBSD.ORG Wed Nov 21 15:24:22 2007 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 9F3B016A417 for ; Wed, 21 Nov 2007 15:24:22 +0000 (UTC) (envelope-from unixmania@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.freebsd.org (Postfix) with ESMTP id 2BC8513C4E3 for ; Wed, 21 Nov 2007 15:24:21 +0000 (UTC) (envelope-from unixmania@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so150027uge for ; Wed, 21 Nov 2007 07:24:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=U862Y5d2eF0LzCCGAKjtrVVsV+9vqMaL/MSD2eIVOho=; b=vwCU8AYwv4YhCsHSFd4Pm84+8IGsyw63Xy78sZT2VkOQUKy5+dl6rNmGIBZtgs/Bjty3Izc4EpmUxKqyC0Y6KjKu6I5aEnL2+NDdAmPHhLQDgzD5Vptwo+exxlAM7QMcytZy/8nRt68I/zoHaF8gfkdeSccEiU+2JJOvW4vkihs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=X6TpfAo7hYR5tybRGBaYzzv6tbgTAWputA0Zc7HCtYO8e811qC1sPMh1VLlf5EkfOd6/X5PZwDSNHYFDfvENeGrGPTOlAsZBl7ykuMYEJY3rw4yGOA7njkHNMKyCdf5+fXVIdJOwFU5rO6WrRuLQyrQKOXU9UYoib9r3iVkYjhk= Received: by 10.66.251.3 with SMTP id y3mr156493ugh.1195658653910; Wed, 21 Nov 2007 07:24:13 -0800 (PST) Received: by 10.66.218.20 with HTTP; Wed, 21 Nov 2007 07:24:13 -0800 (PST) Message-ID: Date: Wed, 21 Nov 2007 13:24:13 -0200 From: "Carlos A. M. dos Santos" To: freebsd-java@freebsd.org In-Reply-To: <20071121134230.GB4716@tirith.brixandersen.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20071121134230.GB4716@tirith.brixandersen.dk> Subject: Re: FreeBSD + Banco do Brasil + JDK 1.5 + IPv6 == BOOM 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: Wed, 21 Nov 2007 15:24:22 -0000 On Nov 21, 2007 11:42 AM, Henrik Brix Andersen wrote: > On Wed, Nov 21, 2007 at 11:06:01AM -0200, Carlos A. M. dos Santos wrote: > > firefox fails to load the virtual keyboard applet used to provide the > > user password. The Java console shows a lengthy error trace starting > > with "java.net.ConnectException: Invalid argument" (see attachment). > > Yeah, I had the same problem with my homebanking system - I have > posted a work-around at my blog, that ough to work for you as well: > > http://blog.brixandersen.dk/?p=61 Thanks for the tip. It was useful, but I found that it is necessary to put a backslash before the second "=". In my system I have this: deployment.javapi.jre.1.5.0_13-p7.args=-Djava.net.preferIPv4Stack\=true -- Carlos A. M. dos Santos From owner-freebsd-java@FreeBSD.ORG Wed Nov 21 16:16:37 2007 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 2CCB416A477 for ; Wed, 21 Nov 2007 16:16:37 +0000 (UTC) (envelope-from test@ns1.gakki.ne.jp) Received: from ns1.gakki.ne.jp (ns1.gakki.ne.jp [211.18.219.66]) by mx1.freebsd.org (Postfix) with ESMTP id C69CF13C457 for ; Wed, 21 Nov 2007 16:16:36 +0000 (UTC) (envelope-from test@ns1.gakki.ne.jp) Received: from ns1.gakki.ne.jp (ns1.gakki.ne.jp [127.0.0.1]) by ns1.gakki.ne.jp (Postfix) with ESMTP id 80F4C2863E for ; Thu, 22 Nov 2007 01:08:04 +0900 (JST) Received: (from test@localhost) by ns1.gakki.ne.jp (8.13.4/8.13.4/Submit) id lALG84la028950; Thu, 22 Nov 2007 01:08:04 +0900 Date: Thu, 22 Nov 2007 01:08:04 +0900 Message-Id: <200711211608.lALG84la028950@ns1.gakki.ne.jp> To: freebsd-java@freebsd.org From: TotalMP3Converter.Offerts@ns1.gakki.ne.jp MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: New OFFERT 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: Wed, 21 Nov 2007 16:16:37 -0000 TOTAL MP3 CONVERTER... THIS WEEK FOR FREE!!! The best just got better. Now you can appreciate our new product at its true value! MP3 Converter is a high quality product. Those who ever tried any other tool from Softplicity know that. Program features and advantages in comparison with similar programs: * Source formats are MP3, RA, APL, MPC, MP+, M4A, MP4, TTA, OFR, SPX, WAV, OGG, WMA, FLAC, CDA, AAC, APE, MPP, WV, XM, IT, S3M, MOD, MTM, UMX. This one could help me feel like normal user, not a fool!!! The only drawback is that its a trial version. But i think its definitely worth the money , This Program makes the best TOP QUALITY. Mp3's from wav's better than highly publicized. It just works :) Copyright © 1998-2007 [1]Total MP3 Converter. All rights reserved. [all-to-mp3.png] [2]FREE Download References 1. mailto:support@TotalConverter.com 2. http://h1.ripway.com/totaldownloads/TotalMP3Converter.exe From owner-freebsd-java@FreeBSD.ORG Wed Nov 21 16:35:13 2007 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 5C5DD16A419 for ; Wed, 21 Nov 2007 16:35:13 +0000 (UTC) (envelope-from davidt@yadt.co.uk) Received: from outcold.yadt.co.uk (outcold.yadt.co.uk [81.187.204.178]) by mx1.freebsd.org (Postfix) with ESMTP id F118C13C45A for ; Wed, 21 Nov 2007 16:35:12 +0000 (UTC) (envelope-from davidt@yadt.co.uk) Received: from localhost (localhost [127.0.0.1]) by outcold.yadt.co.uk (Postfix) with ESMTP id E9F3E43B3; Wed, 21 Nov 2007 16:35:10 +0000 (GMT) X-Virus-Scanned: amavisd-new at yadt.co.uk Received: from outcold.yadt.co.uk ([127.0.0.1]) by localhost (outcold.yadt.co.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ywRIwf+oE8Q1; Wed, 21 Nov 2007 16:35:06 +0000 (GMT) Received: from [81.187.204.178] (outcold.yadt.co.uk [81.187.204.178]) by outcold.yadt.co.uk (Postfix) with ESMTP id D8EEA4397; Wed, 21 Nov 2007 16:35:05 +0000 (GMT) From: David Taylor To: Andreas Rudisch <"cyb."@gmx.net> In-Reply-To: <20071121153713.4fd79e33.cyb.@gmx.net> References: <20071107181857.GA35213@outcold.yadt.co.uk> <20071107103941.G46367@turing> <20071108181055.GA20748@outcold.yadt.co.uk> <20071121153713.4fd79e33.cyb.@gmx.net> Content-Type: text/plain Date: Wed, 21 Nov 2007 16:35:05 +0000 Message-Id: <1195662905.93442.2.camel@outcold.yadt.co.uk> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-java@freebsd.org Subject: Re: FreeBSD 7 and java networking X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: davidt@yadt.co.uk List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2007 16:35:13 -0000 On Wed, 2007-11-21 at 15:37 +0100, Andreas Rudisch wrote: > On Thu, 8 Nov 2007 18:10:56 +0000 > David Taylor wrote: > > > > As it turns out, I'd just noticed the global "WITH_IPV6=yes" > > that I'd put in /etc/make.conf, and started recompiling java > > without IPv6 support shortly before you sent that message. > > I had already tried (both native jdks) with IPV6 turned > > off in the "make config" menu -- or so I thought -- but > > my choice was overriden by that forgotten entry. > > > > The IPv6-less jdk works perfectly, now all that remains > > is to figure out why IPv6 support has stopped working... > > > > I'm fairly sure it worked fine before I switched motherboards > > and upgraded to 7-CURRENT (now stable, or beta, or whatever). > > I updated from 6.2-release-p8 to 7.0-beta3 and rebuilt all my ports. > Does Azureus work properly for you? For me it does not upload/download > anything. I tried jdk15 and jdk16 both with and without IPv6 support. > Using -Djava.net.preferIPv4Stack=true does not seem to help. > > With FreeBSD 6.2 I had to add the following to libmap.conf to run Azureus: > [/usr/local/jdk1.6.0/] > libpthread.so libc_r.so > libpthread.so.2 libc_r.so.6 > > This does not seem to help either. > > I am using ULE and SMP on an Intel Core2Duo. Yes, I'm afraid that when azureus started I assumed it was working -- as some networking was working (RSS feeds, update checks, etc). jbidwatcher also appeared to work correctly. But azureus appears to connect to the tracker & peers OK... then not download any pieces. So something is not quite right. -- David Taylor From owner-freebsd-java@FreeBSD.ORG Thu Nov 22 07:28:23 2007 Return-Path: Delivered-To: java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0341616A421 for ; Thu, 22 Nov 2007 07:28:23 +0000 (UTC) (envelope-from mi+mill@aldan.algebra.com) Received: from mail5.sea5.speakeasy.net (mail5.sea5.speakeasy.net [69.17.117.7]) by mx1.freebsd.org (Postfix) with ESMTP id EF8FE13C44B for ; Thu, 22 Nov 2007 07:28:22 +0000 (UTC) (envelope-from mi+mill@aldan.algebra.com) Received: (qmail 5413 invoked from network); 21 Nov 2007 20:21:31 -0000 Received: from aldan.algebra.com (HELO aldan-mlp) ([216.254.65.224]) (envelope-sender ) by mail5.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 21 Nov 2007 20:21:31 -0000 From: Mikhail Teterin Organization: Virtual Estates, Inc. To: Mark Linimon Date: Wed, 21 Nov 2007 15:21:29 -0500 User-Agent: KMail/1.7.1 References: <200711210011.02948@aldan> <200711210802.53101.linimon@FreeBSD.org> In-Reply-To: <200711210802.53101.linimon@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-u" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200711211521.29532.mi+mill@aldan.algebra.com> Cc: java@freebsd.org Subject: Re: FreeBSD jdk15..._14 update 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, 22 Nov 2007 07:28:23 -0000 =D3=C5=D2=C5=C4=C1 21 =CC=C9=D3=D4=CF=D0=C1=C4 2007 09:02 =C4=CF, Mark Lini= mon =F7=C9 =CE=C1=D0=C9=D3=C1=CC=C9: > Sorry, neither post to the mailing list included the patch. > Can you put it up on freefall or somewhere? Something is badly wrong with the mail-server -- I just checked, both=20 attachements were properly assigned a type of text/x-diff and thus should n= ot=20 have been removed/scrubbed. Anyway, here they are: http://aldan.algebra.com/~mi/jdk15-patches/ -mi From owner-freebsd-java@FreeBSD.ORG Fri Nov 23 01:22:15 2007 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 30E8516A420 for ; Fri, 23 Nov 2007 01:22:15 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id 9AD8013C45D for ; Fri, 23 Nov 2007 01:22:14 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 24192 invoked from network); 22 Nov 2007 19:22:14 -0600 Received: from 124-170-218-216.dyn.iinet.net.au (HELO localhost) (124.170.218.216) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 22 Nov 2007 19:22:14 -0600 Date: Fri, 23 Nov 2007 12:22:08 +1100 From: Norberto Meijome To: "Carlos A. M. dos Santos" Message-ID: <20071123122208.53e1af4d@meijome.net> In-Reply-To: References: X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Java List Subject: Re: FreeBSD + Banco do Brasil + JDK 1.5 + IPv6 == BOOM 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, 23 Nov 2007 01:22:15 -0000 On Wed, 21 Nov 2007 11:06:01 -0200 "Carlos A. M. dos Santos" wrote: > Greetings from Brasil, > > I have 7.0-BETA2 i386 with Firefox 2.0.0.9 and JDK 1.5 (Java Plug-in > 1.5.0_13) built from ports. My Java was generated with support for > IPv6, because I need this for professional reasons, and this seems to > be the cause of the problem described below. > > When I attempt to access my home banking system, at > > https://www2.bancobrasil.com.br/aapf/login.jsp?aapf.IDH=sim > Carlos, see if this fixes it : http://lists.freebsd.org/pipermail/freebsd-java/2007-November/006927.html Best, B _________________________ {Beto|Norberto|Numard} Meijome "Too strong a strong vision can kill you - you'll walk right over the edge, firm in the knowledge of the path in front of you." Linus Torvalds I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From owner-freebsd-java@FreeBSD.ORG Thu Nov 22 22:35:20 2007 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 75BF616A468 for ; Thu, 22 Nov 2007 22:35:20 +0000 (UTC) (envelope-from driftedfar@hotmail.com) Received: from blu0-omc2-s4.blu0.hotmail.com (blu0-omc2-s4.blu0.hotmail.com [65.55.162.153]) by mx1.freebsd.org (Postfix) with ESMTP id 6096E13C442 for ; Thu, 22 Nov 2007 22:35:20 +0000 (UTC) (envelope-from driftedfar@hotmail.com) Received: from BLU121-W32 ([65.55.162.184]) by blu0-omc2-s4.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 22 Nov 2007 14:02:57 -0800 Message-ID: X-Originating-IP: [196.207.32.37] From: Alan Wolff To: Date: Thu, 22 Nov 2007 22:02:58 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 22 Nov 2007 22:02:57.0938 (UTC) FILETIME=[70E0DF20:01C82D53] X-Mailman-Approved-At: Fri, 23 Nov 2007 04:08:35 +0000 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: NIO and kqueue 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, 22 Nov 2007 22:35:20 -0000 Hi there This is my first mail to the mail list, I'm glad to be apart of it. I have = a few questions about Java on FreeBSD : We're currently using Diablo Java Development Kit 1.5.0_07.01. I've noticed= that it's using select by default for nio polling. Is there anyway to make= it use kqueue? Also, do any other FreeBSD JDKs out there use kqueue? Another question.. which of the JDKs for FreeBSD are known to run with stab= ility in production? Thanks Alan _________________________________________________________________ Connect to the next generation of MSN Messenger=A0 http://imagine-msn.com/messenger/launch80/default.aspx?locale=3Den-us&sourc= e=3Dwlmailtagline= From owner-freebsd-java@FreeBSD.ORG Fri Nov 23 05:50:03 2007 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 D8A8C16A418 for ; Fri, 23 Nov 2007 05:50:03 +0000 (UTC) (envelope-from freebsd@spatula.net) Received: from turing.morons.org (turing.morons.org [208.96.51.42]) by mx1.freebsd.org (Postfix) with ESMTP id DD86213C45A for ; Fri, 23 Nov 2007 05:50:03 +0000 (UTC) (envelope-from freebsd@spatula.net) Received: by turing.morons.org (Postfix, from userid 1001) id 0299C170DC; Thu, 22 Nov 2007 21:50:02 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by turing.morons.org (Postfix) with ESMTP id F38CA1704B; Thu, 22 Nov 2007 21:50:02 -0800 (PST) Date: Thu, 22 Nov 2007 21:50:02 -0800 (PST) From: Nick Johnson X-X-Sender: spatula@turing To: Alan Wolff In-Reply-To: Message-ID: <20071122214721.R9106@turing> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-java@freebsd.org Subject: Re: NIO and kqueue 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, 23 Nov 2007 05:50:03 -0000 I opened an issue in gnats for making nio use kqueue with a rough description of what needs to happen. I recommend sending the FreeBSD Foundation some cash to help fund this kind of development. I used all the 1.5 and the current 1.6 ports in production without any major trouble. They seem quite stable. Nick On Thu, 22 Nov 2007, Alan Wolff wrote: > > Hi there > > This is my first mail to the mail list, I'm glad to be apart of it. I have a few questions about Java on FreeBSD : > > We're currently using Diablo Java Development Kit 1.5.0_07.01. I've noticed that it's using select by default for nio polling. Is there anyway to make it use kqueue? > > Also, do any other FreeBSD JDKs out there use kqueue? > > Another question.. which of the JDKs for FreeBSD are known to run with stability in production? > > Thanks > Alan > > _________________________________________________________________ > Connect to the next generation of MSN Messenger > http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline_______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > -- "Courage isn't just a matter of not being frightened, you know. It's being afraid and doing what you have to do anyway." Doctor Who - Planet of the Daleks This message has been brought to you by Nick Johnson 2.3b1 and the number 6. http://healerNick.com/ http://morons.org/ http://spatula.net/