From owner-freebsd-java@FreeBSD.ORG Sun Oct 19 06:45:07 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DFC2C16A4B3 for ; Sun, 19 Oct 2003 06:45:07 -0700 (PDT) Received: from travis.johnson.name (pcp01557418pcs.lehgha01.fl.comcast.net [68.54.76.60]) by mx1.FreeBSD.org (Postfix) with SMTP id AB4FA43FAF for ; Sun, 19 Oct 2003 06:45:06 -0700 (PDT) (envelope-from travis@travis.johnson.name) Received: (qmail 33669 invoked from network); 19 Oct 2003 13:45:15 -0000 Received: from localhost (HELO 10.0.3.1) (127.0.0.1) by travis.johnson.name with SMTP; 19 Oct 2003 13:45:15 -0000 Received: from 10.0.3.233 (SquirrelMail authenticated user travis@travis.johnson.name) by Hgate.lehgha01.fl.comcast.net with HTTP; Sun, 19 Oct 2003 09:45:15 -0400 (EDT) Message-ID: <50362.10.0.3.233.1066571115.squirrel@Hgate.lehgha01.fl.comcast.net> Date: Sun, 19 Oct 2003 09:45:15 -0400 (EDT) From: travis@travis.johnson.name To: java@freebsd.org User-Agent: SquirrelMail/1.4.1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal Subject: Error JDK1.4.1 - Cannot Compile X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Oct 2003 13:45:08 -0000 /usr/bin/gcc -c -o /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun/com.sun.tools.javadoc/javadoc/obj/javadoc_md.o -Di586 -DARCH='"i586"' -DRELEASE='"1.4.1-p3"' -DFULL_VERSION='"1.4.1-p3-travis_19_oct_2003_09_33"' -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_LITTLE_ENDIAN -I. -I/usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun/com.sun.tools.javadoc/javadoc/CClassHeaders -I../../../../src/solaris/javavm/export -I../../../../src/share/javavm/export -I../../../../src/share/javavm/include -I../../../../src/solaris/javavm/include -I../../../../src/share/bin -I../../../../src/solaris/bin -DJAVA_ARGS="{ \"-J-ms8m\", \"com.sun.tools.javadoc.Main\" }" -DPROGNAME='"javadoc"' -fno-strict-aliasing -fPIC -W -Wall -Wno-unused -Wno-parentheses ../../../../src/solaris/bin/java_md.c ../../../../src/solaris/bin/java_md.c:33:1: warning: "ARCH" redefined ../../../../src/solaris/bin/java_md.c:1:1: warning: this is the location of the previous definition Rebuilding /usr/ports/java/jdk14/work/control/build/bsd-i586/bin/javadoc because of /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun/com.sun.tools.javadoc/javadoc/obj/javadoc.o /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun/com.sun.tools.javadoc/javadoc/obj/javadoc_md.o /usr/ports/java/jdk14/work/control/build/bsd-i586/lib/i386/jvm.cfg /usr/bin/gcc -o /usr/ports/java/jdk14/work/control/build/bsd-i586/bin/javadoc -L/usr/ports/java/jdk14/work/control/build/bsd-i586/lib/i386 /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun/com.sun.tools.javadoc/javadoc/obj/javadoc.o /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun/com.sun.tools.javadoc/javadoc/obj/javadoc_md.o -lc_r -lc_r -lc_r /usr/bin/strip /usr/ports/java/jdk14/work/control/build/bsd-i586/bin/javadoc ; /bin/mkdir -p /usr/ports/java/jdk14/work/control/build/bsd-i586/bin /usr/ports/java/jdk14/work/control/build/bsd-i586/classes /usr/bin/touch /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun/com.sun.tools.javadoc/javadoc/obj/.program.dirs.i586 /usr/ports/java/jdk14/work/control/build/bsd-i586/bin/java -classpath ../../../tools/strip StripProperties < ../../../../src/share/classes/com/sun/tools/doclets/standard/resources/standard.properties > /usr/ports/java/jdk14/work/control/build/bsd-i586/classes/com/sun/tools/doclets/standard/resources/standard.properties /usr/ports/java/jdk14/work/control/build/bsd-i586/bin/java -classpath ../../../tools/strip StripProperties < ../../../../src/share/classes/com/sun/tools/doclets/resources/doclets.properties > /usr/ports/java/jdk14/work/control/build/bsd-i586/classes/com/sun/tools/doclets/resources/doclets.properties /usr/ports/java/jdk14/work/control/build/bsd-i586/bin/java -classpath ../../../tools/strip StripProperties < ../../../../src/share/classes/com/sun/tools/doclets/standard/resources/standard_ja.properties > /usr/ports/java/jdk14/work/control/build/bsd-i586/classes/com/sun/tools/doclets/standard/resources/standard_ja.properties /usr/ports/java/jdk14/work/control/build/bsd-i586/bin/java -classpath ../../../tools/strip StripProperties < ../../../../src/share/classes/com/sun/tools/doclets/resources/doclets_ja.properties > /usr/ports/java/jdk14/work/control/build/bsd-i586/classes/com/sun/tools/doclets/resources/doclets_ja.properties gmake[6]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/sun/javac/javadoc' gmake /usr/ports/java/jdk14/work/control/build/bsd-i586/bin/javadoc_g /usr/ports/java/jdk14/work/control/build/bsd-i586/classes/com/sun/tools/doclets/standard/resources/standard.properties /usr/ports/java/jdk14/work/control/build/bsd-i586/classes/com/sun/tools/doclets/resources/doclets.properties /usr/ports/java/jdk14/work/control/build/bsd-i586/classes/com/sun/tools/doclets/standard/resources/standard_ja.properties /usr/ports/java/jdk14/work/control/build/bsd-i586/classes/com/sun/tools/doclets/resources/doclets_ja.properties VARIANT=DBG gmake[6]: Entering directory `/usr/ports/java/jdk14/work/j2se/make/sun/javac/javadoc' /bin/mkdir -p /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun/com.sun.tools.javadoc/javadoc/obj_g rm -f /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun/com.sun.tools.javadoc/javadoc/.classes.list if [ -s /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun/com.sun.tools.javadoc/javadoc/.classes.list ] ; \ then /usr/local/linux-sun-jdk1.4.1/bin/javac -J-Xmx128m -classpath /usr/ports/java/jdk14/work/control/build/bsd-i586/classes -bootclasspath "/usr/ports/java/jdk14/work/control/build/bsd-i586/lib/jce.jar:/usr/ports/java/jdk14/work/control/build/bsd-i586/lib/jsse.jar" -sourcepath "/usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc:../../../../src/solaris/classes:../../../../src/share/classes" -d /usr/ports/java/jdk14/work/control/build/bsd-i586/classes \ ; \ fi gmake[5]: *** [debug] Segmentation fault (core dumped) gmake[5]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/sun/javac/javadoc' gmake[4]: *** [all] Error 1 gmake[4]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/sun/javac' gmake[3]: *** [all] Error 2 gmake[3]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java/javac' gmake[2]: *** [all] Error 1 gmake[2]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make' gmake: *** [j2se-build] Error 2 *** Error code 2 Stop in /usr/ports/java/jdk14. test# test# ls /var/db/pkg/ Hermes-1.3.2 gdbm-1.8.3 kdebase-3.1.2 linux-sun-jdk-1.4.1_2 Mesa-3.4.2_2 gdk-pixbuf-0.22.0 kdegames-3.1.2 linux_base-7.1_4 ORBit-0.5.17 gedit2-2.2.1 kdegraphics-3.1.2 lynx-2.8.4.1c ORBit2-2.6.2 gettext-0.11.5_1 kdelibs-3.1.2 m4-1.4_1 XFree86-Server-4.3.0_8 ghostscript-gnu-7.06 kdemultimedia-3.1.2 metacity-2.4.55 XFree86-VirtualFramebufferServer-4.3.0_1 gle-3.0.3 kdenetwork-3.1.2 metacity-setup-0.7.1_2 XFree86-clients-4.3.0_2 glib-1.2.10_9 kdeutils-3.1.2 mkcatalog-1.1 XFree86-documents-4.3.0 glib-2.2.1_1 koffice-1.2.1_1,1 mysql-client-4.1.0 XFree86-font75dpi-4.3.0 gmake-3.80 lcms-1.09,1 netscape-remote-1.0_1 XFree86-fontDefaultBitmaps-4.3.0 gnome-icon-theme-1.0.3 libIDL-0.8.1 netscape-wrapper-2000.07.07 XFree86-fontEncodings-4.3.0 gnomeapplets2-2.2.2 libart_lgpl2-2.3.12 oaf-0.6.10_1 XFree86-fontScalable-4.3.0 gnomeaudio-1.4.0 libaudiofile-0.2.3 open-motif-2.2.2_1 XFree86-libraries-4.3.0_5 gnomecontrolcenter2-2.2.1 libbonobo-2.2.2 pango-1.2.1_3 XFree86-manuals-4.3.0 gnomedesktop-2.2.2 libbonoboui-2.2.2 pcre-3.9 Xft-2.1.2 gnomegames2-2.2.1_1 libgail-gnome-1.0.2_1 perl-5.6.1_13 arts-1.1.2,1 gnomehier-1.0_8 libghttp-1.0.9 pilot-link-0.11.7_1 asclock-1.0 gnomemedia2-2.2.1.1_1 libglade2-2.0.1_1 pine-4.55 aspell-0.50.3_1 gnomemimedata-2.2.0_1 libgmp-2001.08.07 pkgconfig-0.15.0 at-spi-1.1.8 gnomepanel-2.2.2 libgnome-2.2.0.1 png-1.2.5_2 atk-1.2.4 gnomesession-2.2.2 libgnomecanvas-2.2.1 popt-1.6.4 automake-1.5,1 gnomesystemmonitor-2.0.4_1 libgnomeprint-2.2.1.2 proftpd-1.2.8 bison-1.75 gnometerminal-2.2.1 libgnomeprintui-2.2.1.2 py22-expat-2.2.2_2 bonobo-activation-2.2.1.1_1,1 gnomeuserdocs-1.4.1.1 libgnomeui-2.2.0.1_1 py22-numeric-21.0 bugbuddy2-2.2.104 gnomeutils2-2.2.2,1 libgnugetopt-1.2 python-2.2.2_2 cdparanoia-3.9.8_4 gnomevfs2-2.2.5 libgsf-1.8.0 qt-3.1.2 cups-base-1.1.18.0_5 gob-1.0.12 libgtop2-2.0.2 rsync-2.5.6_1 cvsup-16.1h gstreamer-0.6.1 libiconv-1.8_2 samba-2.2.8a db3-3.3.11,1 gstreamer-plugins-0.6.1_1 libmng-1.0.5 scrollkeeper-0.3.12_1,1 db41-4.1.25_1 gtk-1.2.10_9 libogg-1.0_1,3 sdocbook-xml-4.1.2.5 docbook-sk-4.1.2 gtk-2.2.1_1 librep-0.16.1_1 soup-0.7.11 docbook-xml-4.2 gtk-engines-0.12_2 librsvg2-2.2.5_1 sox-12.17.3_1 docbook-xsl-1.61.2 gtk-engines2-2.2.0 libtool-1.3.4_4 startup-notification-0.5_1 eel2-2.2.4 gtk-thinice-engine-2.0.2 libungif-4.1.0b1 tcl-8.3.5_2 eog2-2.2.1 gtkglarea-1.2.2_1 libunicode-0.4_3 tiff-3.5.7 esound-0.2.29 guile-1.6.4_1 libvorbis-1.0_1,3 tk-8.3.5_1 expat-1.95.6_1 guile-gtk-0.31 libwnck-2.2.1 unzip-5.50 fam-2.6.9_2 imake-4.3.0 libwww-5.4.0 uulib-0.5.18 fontconfig-2.2.0 imlib-1.9.14_1 libxml-1.8.17_1 vte-0.10.28 freetype2-2.1.4_1 intltool-0.26 libxml2-2.5.7_1 wget-1.8.2_3 gail-1.2.2 ispell-3.2.06_3 libxslt-1.0.30 wrapper-1.0_3 gconf-1.0.9_3 javavmwrapper-1.4 linc-1.0.2 xanim-2.92.0 gconf-editor-0.4.0 jpeg-6b_1 links-2.1.p9,1 zip-2.3_1 gconf2-2.2.0 kde-3.1.2 linux-netscape-communicator-4.8 test# ls /usr/ports/distfiles/ Hermes-1.3.2.tar.bz2 bug-buddy-2.0.8.tar.gz gnome-user-docs-1.4.1.1.tar.gz j2sdk-1_4_1-src-scsl.zip openmotif vid_iv32_2.1_freebsdELFx86.tgz KDE cdparanoia-III-alpha9.8.src.tgz gnome-utils-1.4.1.3.tar.gz j2sdk-1_4_1_02-linux-i586.bin pilot-link-0.11.7.tar.bz2 vid_iv41_1.1_freebsdELFx86.tgz Numeric-21.0.tar.gz cyrus-sasl-2.1.13.tar.gz gnome2 libghttp-1.0.9.tar.gz proftpd-1.2.8.tar.bz2 vid_iv50_1.0_freebsdELFx86.tgz aspell-0.50.3.tar.gz ggv-1.0.2.tar.gz gnomemm-1.2.4.tar.bz2 libgtop-1.0.13.tar.gz sox-12.17.3.tar.gz w3c-libwww-5.4.0.tgz aspell-en-0.51-0.tar.bz2 ghex-1.2.1.tar.gz gob-1.0.12.tar.gz libogg-1.0.tar.gz tcl8.3.5-src.tar.gz wget-1.8.2.tar.gz automake-1.5.tar.gz glade-0.6.4.tar.gz gst-plugins-0.6.1.tar.gz libsigc++-1.0.4.tar.gz tk8.3.5-src.tar.gz wget_1.8.2-10.diff.gz bdb glibwww-0.2.tar.gz gstreamer-0.6.1.tar.bz2 libunicode-0.4.gnome.tar.gz unzip550.tar.gz xalf-0.12.tgz bison-1.75.tar.bz2 gnome gtk-engines-0.12.tar.gz libvorbis-1.0.tar.gz uudeview-0.5.18.tar.gz xanim2920.tar.gz bsd-jdk131-patches-3.tar.gz gnome-applets-1.4.1.tar.gz gtkglarea-1.2.2.tar.gz m4-1.4.tar.gz vid_cvid_2.1_freebsdELFx86.tgz zcrypt29-exportable.zip bsd-jdk131-patches-8.tar.gz gnome-audio-1.4.0.tar.gz gtkmm-1.2.8.tar.bz2 metacity-setup-0.7.1.tar.gz vid_cyuv_1.0_freebsdELFx86.tgz zip23.tar.gz bsd-jdk14-patches-3.tar.gz gnome-guile-0.20.tar.gz gtop-1.0.13.tar.gz mysql-4.1.0-alpha.tar.gz vid_h261_1.0_freebsdELFx86.tgz bsd-jdk14-patches-4.tar.gz gnome-media-1.2.3.tar.gz guile-gtk-1.2-0.31.tar.gz openldap-2.1.20.tgz vid_h263_1.0_freebsdELFx86.tgz Thank you From owner-freebsd-java@FreeBSD.ORG Sun Oct 19 12:32:31 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 810BB16A4B3 for ; Sun, 19 Oct 2003 12:32:31 -0700 (PDT) Received: from smtp03.mrf.mail.rcn.net (smtp03.mrf.mail.rcn.net [207.172.4.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id D913F43FA3 for ; Sun, 19 Oct 2003 12:32:30 -0700 (PDT) (envelope-from roberthuff@rcn.com) Received: from 209-6-197-67.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.197.67] helo=jerusalem.litteratus.org.litteratus.org) by smtp03.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1ABJHx-0001jK-00 for java@freebsd.org; Sun, 19 Oct 2003 15:32:30 -0400 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16274.59085.382622.450043@jerusalem.litteratus.org> Date: Sun, 19 Oct 2003 15:32:29 -0400 To: java@freebsd.org X-Mailer: VM 7.14 under 21.5 (beta15) "celery" XEmacs Lucid Subject: JDK1.4.1 - more compile problems X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Oct 2003 19:32:31 -0000 I'm also having problems compiling jdk14 (1.4.1p4). The fetch, extract, and patch phases run without error, followed by: ===> jdk-1.4.1p4 depends on executable: zip - found ===> jdk-1.4.1p4 depends on file: /usr/X11R6/lib/libXm.so - found ===> jdk-1.4.1p4 depends on file: /usr/local/include/nspr/prtypes.h - found ===> jdk-1.4.1p4 depends on file: /usr/local/linux-sun-jdk1.4.2/bin/javac - found ===> jdk-1.4.1p4 depends on executable: gmake - found ===> Configuring for jdk-1.4.1p4 ===> Building for jdk-1.4.1p4 # Start of jdk build bsd i586 1.4.1-p4 build started: 03-03-19 15:23 ... and there is it sat for 72+ hours, using 66% of the CPU according to "top". I have a P4/2.2ghz, and I'm pretty sure that's not right. I wrote to the listed maintainer - phantom@freebsd.org - several times and got no response, so I'm bringing it here. How do I go about finding out what's broken? Robert Huff From owner-freebsd-java@FreeBSD.ORG Sun Oct 19 14:40:59 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E394816A4B3 for ; Sun, 19 Oct 2003 14:40:59 -0700 (PDT) Received: from phantom.cris.net (phantom.cris.net [212.110.130.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCFED43F85 for ; Sun, 19 Oct 2003 14:40:55 -0700 (PDT) (envelope-from ml@FreeBSD.org.ua) Received: (from ml@localhost) by phantom.cris.net (8.12.6/8.12.6) id h9JLo53c046575; Mon, 20 Oct 2003 00:50:05 +0300 (EEST) (envelope-from ml) Date: Mon, 20 Oct 2003 00:50:05 +0300 From: Alexey Zelkin To: travis@travis.johnson.name Message-ID: <20031020005005.A46542@phantom.cris.net> References: <50362.10.0.3.233.1066571115.squirrel@Hgate.lehgha01.fl.comcast.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <50362.10.0.3.233.1066571115.squirrel@Hgate.lehgha01.fl.comcast.net>; from travis@travis.johnson.name on Sun, Oct 19, 2003 at 09:45:15AM -0400 X-Operating-System: FreeBSD 4.7-STABLE i386 cc: java@freebsd.org Subject: Re: Error JDK1.4.1 - Cannot Compile X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Oct 2003 21:41:00 -0000 hi, On Sun, Oct 19, 2003 at 09:45:15AM -0400, travis@travis.johnson.name wrote: [..] > then /usr/local/linux-sun-jdk1.4.1/bin/javac -J-Xmx128m -classpath > /usr/ports/java/jdk14/work/control/build/bsd-i586/classes -bootclasspath > "/usr/ports/java/jdk14/work/control/build/bsd-i586/lib/jce.jar:/usr/ports/java/jdk14/work/control/build/bsd-i586/lib/jsse.jar" > -sourcepath > "/usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc:../../../../src/solaris/classes:../../../../src/share/classes" > -d /usr/ports/java/jdk14/work/control/build/bsd-i586/classes \ > ; \ > fi > gmake[5]: *** [debug] Segmentation fault (core dumped) As you may see from above chunk of text -- it's linux javac faulting. Please check archives for similar issues (I not sure about exact problem, but there were many linux_base related ones). From owner-freebsd-java@FreeBSD.ORG Sun Oct 19 14:42:26 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53BA616A4B3 for ; Sun, 19 Oct 2003 14:42:26 -0700 (PDT) Received: from phantom.cris.net (phantom.cris.net [212.110.130.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 871AC43FBD for ; Sun, 19 Oct 2003 14:42:22 -0700 (PDT) (envelope-from ml@FreeBSD.org.ua) Received: (from ml@localhost) by phantom.cris.net (8.12.6/8.12.6) id h9JLpavW046592; Mon, 20 Oct 2003 00:51:36 +0300 (EEST) (envelope-from ml) Date: Mon, 20 Oct 2003 00:51:36 +0300 From: Alexey Zelkin To: Robert Huff Message-ID: <20031020005136.B46542@phantom.cris.net> References: <16274.59085.382622.450043@jerusalem.litteratus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <16274.59085.382622.450043@jerusalem.litteratus.org>; from roberthuff@rcn.com on Sun, Oct 19, 2003 at 03:32:29PM -0400 X-Operating-System: FreeBSD 4.7-STABLE i386 cc: java@freebsd.org Subject: Re: JDK1.4.1 - more compile problems X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Oct 2003 21:42:26 -0000 hi, On Sun, Oct 19, 2003 at 03:32:29PM -0400, Robert Huff wrote: > > I'm also having problems compiling jdk14 (1.4.1p4). > The fetch, extract, and patch phases run without error, > followed by: > > ===> jdk-1.4.1p4 depends on executable: zip - found > ===> jdk-1.4.1p4 depends on file: /usr/X11R6/lib/libXm.so - found > ===> jdk-1.4.1p4 depends on file: /usr/local/include/nspr/prtypes.h - found > ===> jdk-1.4.1p4 depends on file: /usr/local/linux-sun-jdk1.4.2/bin/javac - found > ===> jdk-1.4.1p4 depends on executable: gmake - found > ===> Configuring for jdk-1.4.1p4 > ===> Building for jdk-1.4.1p4 > # Start of jdk build > bsd i586 1.4.1-p4 build started: 03-03-19 15:23 > > > ... and there is it sat for 72+ hours, using 66% of the CPU > according to "top". I have a P4/2.2ghz, and I'm pretty sure that's > not right. Check archives. This issue was discussed number of times. It's linux_base related issue, IIRC. Try installing linux_base-6. From owner-freebsd-java@FreeBSD.ORG Sun Oct 19 16:15:21 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7E59016A4B3 for ; Sun, 19 Oct 2003 16:15:21 -0700 (PDT) Received: from mail.speakeasy.net (mail5.speakeasy.net [216.254.0.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7765D43F93 for ; Sun, 19 Oct 2003 16:15:20 -0700 (PDT) (envelope-from aah@acm.org) Received: (qmail 9862 invoked from network); 19 Oct 2003 23:15:20 -0000 Received: from unknown (HELO acm.org) (aah@[216.27.178.67]) (envelope-sender ) by mail5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 19 Oct 2003 23:15:20 -0000 Message-ID: <3F931B2A.9040102@acm.org> Date: Sun, 19 Oct 2003 16:15:54 -0700 From: Andrew Houghton User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4.1) Gecko/20031011 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Alexey Zelkin References: <50362.10.0.3.233.1066571115.squirrel@Hgate.lehgha01.fl.comcast.net> <20031020005005.A46542@phantom.cris.net> In-Reply-To: <20031020005005.A46542@phantom.cris.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: java@freebsd.org cc: travis@travis.johnson.name Subject: Re: Error JDK1.4.1 - Cannot Compile X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Oct 2003 23:15:21 -0000 For what it's worth, I've seen this problem before. Simply restarting 'make build' (or whatever you're doing) on my box allowed the compilation to continue. It doesn't seem to be consistent for me, either -- sometimes the linux javac compiler will segfault, sometimes it won't, but in every case where it failed my compilation completed normally by simply restarting the make process (without cleaning first, of course). - a. Alexey Zelkin wrote: >hi, > >On Sun, Oct 19, 2003 at 09:45:15AM -0400, travis@travis.johnson.name wrote: > >[..] > > > >>then /usr/local/linux-sun-jdk1.4.1/bin/javac -J-Xmx128m -classpath >>/usr/ports/java/jdk14/work/control/build/bsd-i586/classes -bootclasspath >>"/usr/ports/java/jdk14/work/control/build/bsd-i586/lib/jce.jar:/usr/ports/java/jdk14/work/control/build/bsd-i586/lib/jsse.jar" >>-sourcepath >>"/usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc:../../../../src/solaris/classes:../../../../src/share/classes" >>-d /usr/ports/java/jdk14/work/control/build/bsd-i586/classes \ >> ; \ >>fi >>gmake[5]: *** [debug] Segmentation fault (core dumped) >> >> > >As you may see from above chunk of text -- it's linux javac faulting. >Please check archives for similar issues (I not sure about exact >problem, but there were many linux_base related ones). > > >_______________________________________________ >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" > > > From owner-freebsd-java@FreeBSD.ORG Sun Oct 19 17:05:21 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 791E116A4B3 for ; Sun, 19 Oct 2003 17:05:21 -0700 (PDT) Received: from phantom.cris.net (phantom.cris.net [212.110.130.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C61943FCB for ; Sun, 19 Oct 2003 17:05:14 -0700 (PDT) (envelope-from phantom@FreeBSD.org.ua) Received: (from phantom@localhost) by phantom.cris.net (8.12.6/8.12.6) id h9K0EJGA047439; Mon, 20 Oct 2003 03:14:19 +0300 (EEST) (envelope-from phantom) Date: Mon, 20 Oct 2003 03:14:17 +0300 From: Alexey Zelkin To: Andrew Houghton Message-ID: <20031020031417.A47397@phantom.cris.net> References: <50362.10.0.3.233.1066571115.squirrel@Hgate.lehgha01.fl.comcast.net> <20031020005005.A46542@phantom.cris.net> <3F931B2A.9040102@acm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3F931B2A.9040102@acm.org>; from aah@acm.org on Sun, Oct 19, 2003 at 04:15:54PM -0700 X-Operating-System: FreeBSD 4.7-STABLE i386 cc: java@freebsd.org cc: travis@travis.johnson.name Subject: Re: Error JDK1.4.1 - Cannot Compile X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2003 00:05:21 -0000 If you are using jdk 1.4.1 (linux) compiler -- try downgrading you linux_base to 6.2. Or try to upgrade linux-sun-jdk14 to 1.4.2. Unfortunatelly there are too much assumptions of glibc version and another stuff in linux jdk. It is not a FreeBSD only problem -- it applies to many linux guys as well. On Sun, Oct 19, 2003 at 04:15:54PM -0700, Andrew Houghton wrote: > For what it's worth, I've seen this problem before. Simply restarting > 'make build' (or whatever you're doing) on my box allowed the > compilation to continue. It doesn't seem to be consistent for me, > either -- sometimes the linux javac compiler will segfault, sometimes it > won't, but in every case where it failed my compilation completed > normally by simply restarting the make process (without cleaning first, > of course). > > - a. > > Alexey Zelkin wrote: > > >hi, > > > >On Sun, Oct 19, 2003 at 09:45:15AM -0400, travis@travis.johnson.name wrote: > > > >[..] > > > > > > > >>then /usr/local/linux-sun-jdk1.4.1/bin/javac -J-Xmx128m -classpath > >>/usr/ports/java/jdk14/work/control/build/bsd-i586/classes -bootclasspath > >>"/usr/ports/java/jdk14/work/control/build/bsd-i586/lib/jce.jar:/usr/ports/java/jdk14/work/control/build/bsd-i586/lib/jsse.jar" > >>-sourcepath > >>"/usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc:../../../../src/solaris/classes:../../../../src/share/classes" > >>-d /usr/ports/java/jdk14/work/control/build/bsd-i586/classes \ > >> ; \ > >>fi > >>gmake[5]: *** [debug] Segmentation fault (core dumped) > >> > >> > > > >As you may see from above chunk of text -- it's linux javac faulting. > >Please check archives for similar issues (I not sure about exact > >problem, but there were many linux_base related ones). > > > > > >_______________________________________________ > >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" > > > > > > > From owner-freebsd-java@FreeBSD.ORG Mon Aug 25 21:35:05 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5098016A4C0; Mon, 25 Aug 2003 21:35:05 -0700 (PDT) Received: from exchhz01.viatech.com.cn (ip-167-164-97-218.anlai.com [218.97.164.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id 636A643F75; Mon, 25 Aug 2003 21:34:58 -0700 (PDT) (envelope-from davidxu@viatech.com.cn) Received: from viatech.com.cn (ip-240-1-168-192.rev.dyxnet.com [192.168.1.240]) by exchhz01.viatech.com.cn with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id RKXCRRBP; Tue, 26 Aug 2003 12:16:31 +0800 Message-ID: <3F4AE462.3040808@viatech.com.cn> From: David Xu User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jeff Roberson References: <20030826000750.N12093-100000@mail.chesapeake.net> In-Reply-To: <20030826000750.N12093-100000@mail.chesapeake.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: "deischen@freebsd.org" cc: "threads@freebsd.org" cc: "freebsd-java@freebsd.org" Subject: Re: vmark hangs with libthr and libkse X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Tue, 26 Aug 2003 04:35:05 -0000 X-Original-Date: Tue, 26 Aug 2003 12:38:58 +0800 X-List-Received-Date: Tue, 26 Aug 2003 04:35:05 -0000 Jeff Roberson wrote: >>>> >>>> >>>Why do you need to do adjustrunqueue() in sched_prio? I also don't >>>understand the case in sched_switchout(). Can you please explain that? >>> >>> >>> >>> >>adjustrunqueue maintains kg_last_assigned and related things, when a >>thread's priority is changed, >>the thread might no longer can be in scheduler's run queue, instead it >>will be in ksegrp's runqueue, >>because there is higher priority thread, and a KSE it attached should be >>detached now, and the KSE >>will attach to another higher priority thread, ULE ignores this >>requirement, as I can understand, >>ULE is only aware of 1:1 between KSE and thread. >>It would be nice if scheduler interface is thread aware but not kse aware. >> >> > >Yes, wouldn't it be nice.. I don't think it should be ksegrp aware >either. oh well, it wasn't my design. > > SA process doesn't rely on kse and ksegrp because I introduced a kse_upcall structure, so I don't care someone drops kse or ksegrp and makes them as scheduler specific data structure. >Will you commit this patch? > > Will do. From owner-freebsd-java@FreeBSD.ORG Thu Oct 9 07:34:10 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B72AF16A4B3 for ; Thu, 9 Oct 2003 07:34:10 -0700 (PDT) Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 22BED43F85 for ; Thu, 9 Oct 2003 07:34:09 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr1.xmission.com with spam-scanned (Exim 3.35 #1) id 1A7brj-000275-01 for java@freebsd.org; Thu, 09 Oct 2003 08:34:07 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.35 #1) id 1A7brY-0001zG-01; Thu, 09 Oct 2003 08:33:56 -0600 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) h99EYpjG096111; Thu, 9 Oct 2003 08:34:52 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9p1/8.12.9/Submit) id h99EYnxL096110; Thu, 9 Oct 2003 08:34:49 -0600 (MDT) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Thu, 9 Oct 2003 08:34:48 -0600 From: Greg Lewis To: Martin Jessa Message-ID: <20031009143448.GA96036@misty.eyesbeyond.com> References: <20031009113133.430e8b28.freebsd@yazzy.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031009113133.430e8b28.freebsd@yazzy.org> User-Agent: Mutt/1.4.1i X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on mgr1.xmission.com X-Spam-Status: No, hits=-0.9 required=8.0 tests=BAYES_30 autolearn=no version=2.60 X-Spam-Level: cc: java@freebsd.org Subject: Re: JDK 1.3 loop? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2003 14:34:10 -0000 On Thu, Oct 09, 2003 at 11:31:33AM +0200, Martin Jessa wrote: > Got this annoying error trying to compile jdk-1.3 > Seems like a new installation of jdk-1.3 needs an existing installation of java for bootstrapping, which sounds absurd. Yeah! Imagine if gcc needed another C compiler to bootstrap itself! Oh wait... > I also have linux-sun-jdk-1.3.1.09 Sun Java Development Kit 1.3 for Linux installed. make JDK13DIR=/usr/local/linux-sun-jdk1.3.1 > Please CC: to me or ports@ as I dont subscribe to java@. > > ===> Returning to build of jdk-1.3.1p8_2 > ===> jdk-1.3.1p8_2 depends on executable: gmake - found > ===> jdk-1.3.1p8_2 depends on shared library: glib12.3 - found > ===> jdk-1.3.1p8_2 depends on shared library: gtk12.2 - found > ===> jdk-1.3.1p8_2 depends on shared library: nspr4.1 - found > ===> Configuring for jdk-1.3.1p8_2 > ===> Building for jdk-1.3.1p8_2 > # Start of jdk build > i386 Build started: 1.3.1-p8-root-031009-10:33 > ERROR: Your BOOTDIR environment variable does not point > to a valid Java 2 SDK for bootstrapping this build. > A Java 2 SDK 1.3.1 build must be bootstrapped against any > 1.3 build. Please update your ALT_BOOTDIR setting, or > just unset it, and start your build again. The Java version you're trying to bootstrap with doesn't run. Fix this and restart the build. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Fri Oct 10 22:34:50 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E7D816A4B3 for ; Fri, 10 Oct 2003 22:34:50 -0700 (PDT) Received: from mgr4.xmission.com (mgr4.xmission.com [198.60.22.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 642B943FA3 for ; Fri, 10 Oct 2003 22:34:49 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr4.xmission.com with spam-scanned (Exim 3.35 #1) id 1A8COu-0005lc-04 for freebsd-java@freebsd.org; Fri, 10 Oct 2003 23:34:48 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr4.xmission.com with esmtp (Exim 3.35 #1) id 1A8COs-0005jY-04; Fri, 10 Oct 2003 23:34:47 -0600 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) h9B5ZhjG020091; Fri, 10 Oct 2003 23:35:44 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9p1/8.12.9/Submit) id h9B5ZcYC020090; Fri, 10 Oct 2003 23:35:38 -0600 (MDT) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Fri, 10 Oct 2003 23:35:37 -0600 From: Greg Lewis To: Milo Hyson Message-ID: <20031011053537.GA19913@misty.eyesbeyond.com> References: <3F85E798.5000904@cyberlifelabs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F85E798.5000904@cyberlifelabs.com> User-Agent: Mutt/1.4.1i X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on mgr4.xmission.com X-Spam-Status: No, hits=-1.4 required=8.0 tests=BAYES_20 autolearn=no version=2.60 X-Spam-Level: cc: freebsd-java@freebsd.org Subject: Re: General opinion of 1.4.x? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2003 05:34:50 -0000 On Thu, Oct 09, 2003 at 03:56:24PM -0700, Milo Hyson wrote: > We've been keeping our production servers on native 1.3.1-p7 because the > Eyes Beyond website claims the 1.4.x patchset is still considered > alpha-quality. We'd really like to upgrade since there are so many > benefits to the 1.4 line, but we don't want to risk failures on live > systems. I've been using 1.4.1-p3 on my workstation for many months now > with only one minor problem (compiling JSPs sometimes causes the > compiler to hang). I'm curious to know what other people's experiences > and opinions are in using 1.4.x for production use. I just released 1.4.1p4. It features many fixes over 1.4.1p3. I would suggest trying that out if you wish to upgrade. Use in production is at your own risk though. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Sun Oct 19 20:30:55 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2EFE516A4B3 for ; Sun, 19 Oct 2003 20:30:55 -0700 (PDT) Received: from siralan.org (12-223-227-231.client.insightbb.com [12.223.227.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39AAF43F93 for ; Sun, 19 Oct 2003 20:30:54 -0700 (PDT) (envelope-from mikes@siralan.org) Received: from siralan.org (localhost [127.0.0.1]) by siralan.org (8.12.9p2/8.12.9) with ESMTP id h9K3UqN8069565 for ; Sun, 19 Oct 2003 22:30:53 -0500 (EST) (envelope-from mikes@siralan.org) Received: (from mikes@localhost) by siralan.org (8.12.9p2/8.12.9/Submit) id h9K3UqAI069564 for freebsd-java@freebsd.org; Sun, 19 Oct 2003 22:30:52 -0500 (EST) (envelope-from mikes) From: "Michael L. Squires" Message-Id: <200310200330.h9K3UqAI069564@siralan.org> To: freebsd-java@freebsd.org Date: Sun, 19 Oct 2003 22:30:52 -0500 (EST) In-Reply-To: <20031020031417.A47397@phantom.cris.net> from "Alexey Zelkin" at Oct 20, 2003 03:14:17 AM X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Success with 1.4.1/5.1-CURRENT of 10/17/linux_base 7.1 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2003 03:30:55 -0000 > If you are using jdk 1.4.1 (linux) compiler -- try downgrading > you linux_base to 6.2. Or try to upgrade linux-sun-jdk14 to 1.4.2. I compiked 1.4.1 under 5.1-CURRENT cvsup'd on 10/17 and completely recompiled and although the compilation took a long time it finished without errors. I'm running the 7.1 linux_base, also. This was done using the standard ports configuration, no changes. The system has 1GB memory and 2GB swap, Supermicro P6DGH dual PIII/850 with SCSI disks with a redundant PS - i.e., slow but very solid hardware. Mike Squires From owner-freebsd-java@FreeBSD.ORG Sun Oct 19 23:20:16 2003 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A1DE16A4B3 for ; Sun, 19 Oct 2003 23:20:16 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 997F943FBD for ; Sun, 19 Oct 2003 23:20:14 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h9K6KEFY086148 for ; Sun, 19 Oct 2003 23:20:14 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h9K6KER9086147; Sun, 19 Oct 2003 23:20:14 -0700 (PDT) (envelope-from gnats) Resent-Date: Sun, 19 Oct 2003 23:20:14 -0700 (PDT) Resent-Message-Id: <200310200620.h9K6KER9086147@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, Scott Dodson Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 29C1316A4B3 for ; Sun, 19 Oct 2003 23:15:01 -0700 (PDT) Received: from home.sdodson.com (67-50-89-87.br2.tbr.ga.frontiernet.net [67.50.89.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id D75A243FA3 for ; Sun, 19 Oct 2003 23:14:59 -0700 (PDT) (envelope-from sdodson@tommy.sdodson.com) Received: from home.sdodson.com (localhost [127.0.0.1]) by home.sdodson.com (8.12.9/8.12.9) with ESMTP id h9K6CiXp011478 for ; Mon, 20 Oct 2003 02:12:55 -0400 (EDT) (envelope-from sdodson@tommy.sdodson.com) Received: (from root@localhost) by home.sdodson.com (8.12.9/8.12.9/Submit) id h9K5883M011241; Mon, 20 Oct 2003 01:08:08 -0400 (EDT) (envelope-from sdodson) Message-Id: <200310200508.h9K5883M011241@home.sdodson.com> Date: Mon, 20 Oct 2003 01:08:08 -0400 (EDT) From: Scott Dodson To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: java/58269: JDK 1.4 port fails to build on current X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Scott Dodson List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2003 06:20:16 -0000 >Number: 58269 >Category: java >Synopsis: JDK 1.4 port fails to build on current >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Oct 19 23:20:14 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Scott Dodson >Release: FreeBSD 5.1-CURRENT i386 >Organization: >Environment: System: FreeBSD home.sdodson.com 5.1-CURRENT FreeBSD 5.1-CURRENT #7: Tue Sep 23 18:08:58 EDT 2003 sdodson@home.sdodson.com:/usr/obj/usr/src/sys/RAGE5 i386 >Description: JDK 1.4 port fails to build on current machine. I am using -DNODEBUG and -DNATIVE_BOOTSTRAP >How-To-Repeat: cd /usr/ports/java/jdk14 && make -DNODEBUG -DNATIVE_BOOTSTRAP install >Fix: --- Makefile.orig Mon Oct 13 16:57:50 2003 +++ Makefile Mon Oct 20 00:56:46 2003 @@ -81,6 +81,7 @@ j2se/make/common/Defs.gmk \ j2se/make/common/Program.gmk \ j2se/make/common/Defs-bsd.gmk \ + j2se/ext/plugin/build/solaris/GNUmakefile \ j2se/make/java/hpi/native/Makefile .include >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-java@FreeBSD.ORG Sun Oct 19 23:22:49 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 04D2316A4B3 for ; Sun, 19 Oct 2003 23:22:49 -0700 (PDT) Received: from phantom.cris.net (phantom.cris.net [212.110.130.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B84443FBD for ; Sun, 19 Oct 2003 23:22:46 -0700 (PDT) (envelope-from ml@FreeBSD.org.ua) Received: (from ml@localhost) by phantom.cris.net (8.12.6/8.12.6) id h9K6VxdE049840; Mon, 20 Oct 2003 09:31:59 +0300 (EEST) (envelope-from ml) Date: Mon, 20 Oct 2003 09:31:59 +0300 From: Alexey Zelkin To: java@freebsd.org Message-ID: <20031020093159.A49750@phantom.cris.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: FreeBSD 4.7-STABLE i386 Subject: jdk14 port users warning... X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2003 06:22:49 -0000 Gentelmen, Remembering that someone asked about potential problems with jdk14 I would like to warn everybody who use applications which utilize java to call external applications. Very rare (very very) jdk14 attempt to fork another copy fails. Or correctly to say fails to complete. Reasons of this behaviour still unclear and non-reproducible. Just be careful. And another "huge" problem... Drag'n'Drop does not work under FreeBSD (using native 1.4.1). If you need this "feature" please continue using linux-sun-jdk14. All other aspects of jdk14 port tested number of times perosnally by myself and Sun's JCK over and over. You should not expirience problems any problems (in case of usage of traditional environments). If your configuration is differ from default and you found a problem -- as usually report back to the mailing list. From owner-freebsd-java@FreeBSD.ORG Mon Oct 20 00:42:16 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A574A16A4B3 for ; Mon, 20 Oct 2003 00:42:16 -0700 (PDT) Received: from hannibal.gnapp.org (c-686570d5.05-16-73746f12.cust.bredbandsbolaget.se [213.112.101.104]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7440A43FCB for ; Mon, 20 Oct 2003 00:42:03 -0700 (PDT) (envelope-from david@israelsson.org) Received: from hannibal.gnapp.org (localhost [127.0.0.1]) by hannibal.gnapp.org (8.12.9/8.12.9) with ESMTP id h9K7gKH8000705; Mon, 20 Oct 2003 09:42:20 +0200 (CEST) (envelope-from david@israelsson.org) Received: (from david@localhost) by hannibal.gnapp.org (8.12.9/8.12.9/Submit) id h9K7gGO4000704; Mon, 20 Oct 2003 09:42:16 +0200 (CEST) X-Authentication-Warning: hannibal.gnapp.org: david set sender to david@israelsson.org using -f To: Robert Huff References: <16274.59085.382622.450043@jerusalem.litteratus.org> From: David Israelsson Date: Mon, 20 Oct 2003 09:42:15 +0200 In-Reply-To: <16274.59085.382622.450043@jerusalem.litteratus.org> (Robert Huff's message of "Sun, 19 Oct 2003 15:32:29 -0400") Message-ID: <87ismkicdk.fsf@dipsy.gnapp.org> User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Reasonable Discussion, berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: java@freebsd.org Subject: Re: JDK1.4.1 - more compile problems X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2003 07:42:16 -0000 Robert Huff writes: > I'm also having problems compiling jdk14 (1.4.1p4). > The fetch, extract, and patch phases run without error, > followed by: > > ===> jdk-1.4.1p4 depends on executable: zip - found > ===> jdk-1.4.1p4 depends on file: /usr/X11R6/lib/libXm.so - found > ===> jdk-1.4.1p4 depends on file: /usr/local/include/nspr/prtypes.h - found > ===> jdk-1.4.1p4 depends on file: /usr/local/linux-sun-jdk1.4.2/bin/javac - found > ===> jdk-1.4.1p4 depends on executable: gmake - found > ===> Configuring for jdk-1.4.1p4 > ===> Building for jdk-1.4.1p4 > # Start of jdk build > bsd i586 1.4.1-p4 build started: 03-03-19 15:23 > > > ... and there is it sat for 72+ hours, using 66% of the CPU > according to "top". I have a P4/2.2ghz, and I'm pretty sure that's > not right. > I wrote to the listed maintainer - phantom@freebsd.org - > several times and got no response, so I'm bringing it here. > How do I go about finding out what's broken? > You probably forgot to mount the Linux proc fs which is required for the Linux jdk to work. mount -t linprocfs linprocfs /compat/linux/proc /David From owner-freebsd-java@FreeBSD.ORG Mon Oct 20 03:03:28 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E1F7616A4B3 for ; Mon, 20 Oct 2003 03:03:28 -0700 (PDT) Received: from dec1.czu.cz (dec1.czu.cz [193.84.32.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8824D43FB1 for ; Mon, 20 Oct 2003 03:03:27 -0700 (PDT) (envelope-from pepe@pef.czu.cz) Received: from pef.czu.cz (pef.czu.cz [193.84.34.3]) by dec1.czu.cz (8.11.6/8.11.6) with ESMTP id h9KA32d09515 for ; Mon, 20 Oct 2003 12:03:02 +0200 Received: from PEF/SpoolDir by pef.czu.cz (Mercury 1.48); 20 Oct 03 12:03:02 +1100 Received: from SpoolDir by PEF (Mercury 1.48); 20 Oct 03 12:02:46 +1100 Received: from pef.czu.cz (193.84.34.230) by pef.czu.cz (Mercury 1.48) with ESMTP; 20 Oct 03 12:02:39 +1100 Message-ID: <3F93B29D.6000905@pef.czu.cz> Date: Mon, 20 Oct 2003 12:02:05 +0200 From: Josef Pospisil User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5b) Gecko/20030910 Thunderbird/0.2 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-MailScanner: Found to be clean X-MailScanner-SpamCheck: not spam, SpamAssassin (score=-2.8, required 5, AWL, BAYES_30, USER_AGENT_MOZILLA_UA) Subject: Tomcat remote debug X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2003 10:03:29 -0000 Hi, I wanna use Tomcat41 (or even Tomcat5) remote debugging with IntelliJ Idea, but I didn't find any posibility to pass any parameter (-Xdebug Xagent and so) to JavaVM through the tomcat41ctl command, which is usually used to start and stop Tomcat on freebsd. I've tried some other process to achieve this (setting JAVA_OPTS enviroment var. which leads to strange errors, when stoping Tomcat. Editing starting scripts in rc.d), but noone looks clean enough. Can anybody help me, or just direct me to some beautiful and functional solution :-). -- With best regards Pepe Josef Pospisil Provozne ekonomicka fakulta CZU From owner-freebsd-java@FreeBSD.ORG Mon Oct 20 06:17:48 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 558F016A4B3 for ; Mon, 20 Oct 2003 06:17:48 -0700 (PDT) Received: from imul.math.uni.lodz.pl (imul.math.uni.lodz.pl [212.191.65.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F91143FBF for ; Mon, 20 Oct 2003 06:17:47 -0700 (PDT) (envelope-from mg@fork.pl) Received: from localhost (localhost.math.uni.lodz.pl [127.0.0.1]) A8EB41F55 for ; Mon, 20 Oct 2003 15:16:22 +0200 (CEST) Received: from by localhost (amavisd-new, port ) id mDsmbV9K for ; Mon, 20 Oct 2003 15:16:01 +0200 (CEST) Received: from fork.pl (imul.math.uni.lodz.pl [212.191.65.2]) E01A71F3B for ; Mon, 20 Oct 2003 15:16:00 +0200 (CEST) Message-ID: <3F93E062.3030401@fork.pl> Date: Mon, 20 Oct 2003 15:17:22 +0200 From: Marcin Gryszkalis Organization: fork.pl User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030827 X-Accept-Language: en-us, en, pl MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavis/mks_vir at math.uni.lodz.pl Subject: file:/dev/random generated exception: null X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2003 13:17:48 -0000 I happened just once, anybody noticed anything similar? It's on p3, I'm going to upgrade to p4 today. bash-2.05b$ java -version java version "1.4.1-p3" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-p3-root_02_jun_2003_23_31) Java HotSpot(TM) Client VM (build 1.4.1-p3-root_02_jun_2003_23_31, mixed mode) trace: java.lang.InternalError: URLSeedGenerator file:/dev/random generated exception: null at sun.security.provider.SeedGenerator$URLSeedGenerator.getSeedByte(SeedGenerator.java:469) at sun.security.provider.SeedGenerator.getSeedBytes(SeedGenerator.java:137) at sun.security.provider.SeedGenerator.generateSeed(SeedGenerator.java:132) at sun.security.provider.SecureRandom.engineGenerateSeed(SecureRandom.java:112) at sun.security.provider.SecureRandom.engineNextBytes(SecureRandom.java:169) at java.security.SecureRandom.nextBytes(SecureRandom.java:381) at java.security.SecureRandom.next(SecureRandom.java:403) at java.util.Random.nextInt(Random.java:191) It's FreeBSD 4.9-RC #12: Fri Oct 3 23:00:12 CEST 2003 -- Marcin Gryszkalis jabber jid:mg@chrome.pl gg:2532994 http://fork.pl From owner-freebsd-java@FreeBSD.ORG Mon Oct 20 07:41:06 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 76A3B16A4B3 for ; Mon, 20 Oct 2003 07:41:06 -0700 (PDT) Received: from smtp101.mail.sc5.yahoo.com (smtp101.mail.sc5.yahoo.com [216.136.174.139]) by mx1.FreeBSD.org (Postfix) with SMTP id D30CF43F93 for ; Mon, 20 Oct 2003 07:41:05 -0700 (PDT) (envelope-from newbeb@yahoo.com) Received: from alb-24-25-148-156.nycap.rr.com (HELO yahoo.com) (newbeb@24.25.148.156 with plain) by smtp.mail.vip.sc5.yahoo.com with SMTP; 20 Oct 2003 14:41:04 -0000 Message-ID: <3F93F3CC.8090003@yahoo.com> Date: Mon, 20 Oct 2003 10:40:12 -0400 From: Brian Lloyd-Newberry User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Josef Pospisil References: <3F93B29D.6000905@pef.czu.cz> In-Reply-To: <3F93B29D.6000905@pef.czu.cz> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-java@freebsd.org Subject: Re: Tomcat remote debug X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: newbeb@yahoo.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2003 14:41:06 -0000 Josepf, Included inline below are the environment variables defined in the catalina.sh startup script that comes with 4.1.24. I don't use the port so I don't know what tomcat41ctl calls, but I hope this will help. Please note the JDPA_ options. -Brian # Start/Stop Script for the CATALINA Server # # Environment Variable Prequisites # # CATALINA_HOME May point at your Catalina "build" directory. # # CATALINA_BASE (Optional) Base directory for resolving dynamic # portions of a Catalina installation. If not # present, resolves to the same directory that # CATALINA_HOME points to. # # CATALINA_OPTS (Optional) Java runtime options used when the # "start", "stop", or "run" command is executed. # # CATALINA_TMPDIR (Optional) Directory path location of # temporary directory the JVM should use # (java.io.tmpdir). Defaults to $CATALINA_BASE/temp. # # JAVA_HOME Must point at your Java Development Kit # installation. # # JAVA_OPTS (Optional) Java runtime options used when the # "start", "stop", or "run" command is executed. # # JPDA_TRANSPORT (Optional) JPDA transport used when the "jpda start" # command is executed. The default is "dt_socket". # # JPDA_ADDRESS (Optional) Java runtime options used when the # "jpda start" command is executed. The default is # 8000. # # JSSE_HOME (Optional) May point at your Java Secure Sockets # Extension (JSSE) installation, whose JAR files will # be added to the system class path used to start # Tomcat. # # CATALINA_PID (Optional) Path of the file which should contains # the pid of catalina startup java process, when start # (fork) is used # Josef Pospisil wrote: > Hi, > I wanna use Tomcat41 (or even Tomcat5) remote debugging with IntelliJ > Idea, but I didn't find any posibility to pass any parameter (-Xdebug > Xagent and so) to JavaVM through the tomcat41ctl command, which is > usually used to start and stop Tomcat on freebsd. > I've tried some other process to achieve this (setting JAVA_OPTS > enviroment var. which leads to strange errors, when stoping Tomcat. > Editing starting scripts in rc.d), but noone looks clean enough. > Can anybody help me, or just direct me to some beautiful and functional > solution :-). From owner-freebsd-java@FreeBSD.ORG Mon Oct 20 08:09:25 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 21B8116A4B3 for ; Mon, 20 Oct 2003 08:09:25 -0700 (PDT) Received: from lennier.cc.vt.edu (lennier.cc.vt.edu [198.82.162.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 82CDF43F85 for ; Mon, 20 Oct 2003 08:09:23 -0700 (PDT) (envelope-from daniel.fisher@vt.edu) Received: from vivi.cc.vt.edu (IDENT:mirapoint@evil-vivi [10.1.1.12]) by lennier.cc.vt.edu (8.12.8/8.12.8) with ESMTP id h9KF9M1M299145 for ; Mon, 20 Oct 2003 11:09:23 -0400 (EDT) Received: from psych.iad.vt.edu (psych.iad.vt.edu [128.173.13.108]) by vivi.cc.vt.edu (Mirapoint Messaging Server MOS 3.3.7-GR) with SMTP id BVQ91526; Mon, 20 Oct 2003 11:09:21 -0400 (EDT) Date: Mon, 20 Oct 2003 11:08:39 -0400 From: Daniel Fisher To: freebsd-java@freebsd.org Message-Id: <20031020110839.54f1f3c8.daniel.fisher@vt.edu> In-Reply-To: <3F93E062.3030401@fork.pl> References: <3F93E062.3030401@fork.pl> Organization: Virginia Tech X-Mailer: Sylpheed version 0.9.6claws (GTK+ 1.2.10; i386-portbld-freebsd5.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: file:/dev/random generated exception: null X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2003 15:09:25 -0000 Looks like you ran out of random bytes in /dev/random, which is not uncommon. If you want to avoid this error use /dev/urandom. -Djava.security.egd=file:/dev/urandom -- Daniel Fisher On Mon, 20 Oct 2003 15:17:22 +0200 Marcin Gryszkalis wrote: > I happened just once, anybody noticed anything similar? > It's on p3, I'm going to upgrade to p4 today. > > bash-2.05b$ java -version > java version "1.4.1-p3" > Java(TM) 2 Runtime Environment, Standard Edition (build > 1.4.1-p3-root_02_jun_2003_23_31) Java HotSpot(TM) Client VM (build > 1.4.1-p3-root_02_jun_2003_23_31, mixed mode) > > trace: > java.lang.InternalError: URLSeedGenerator file:/dev/random generated > exception: null > at > sun.security.provider.SeedGenerator$URLSeedGenerator.getSeed > Byte(SeedGenerator.java:469) at > sun.security.provider.SeedGenerator.getSeedBytes(SeedGenerat > or.java:137) at > sun.security.provider.SeedGenerator.generateSeed(SeedGenerat > or.java:132) at > sun.security.provider.SecureRandom.engineGenerateSeed(Secure > Random.java:112) at > sun.security.provider.SecureRandom.engineNextBytes(SecureRan > dom.java:169) at > java.security.SecureRandom.nextBytes(SecureRandom.java:381) > at java.security.SecureRandom.next(SecureRandom.java:403) at > java.util.Random.nextInt(Random.java:191) > > It's FreeBSD 4.9-RC #12: Fri Oct 3 23:00:12 CEST 2003 > > > -- > Marcin Gryszkalis > jabber jid:mg@chrome.pl > gg:2532994 > http://fork.pl > > _______________________________________________ > 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" From owner-freebsd-java@FreeBSD.ORG Mon Oct 20 08:55:46 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A2F8816A4B3 for ; Mon, 20 Oct 2003 08:55:46 -0700 (PDT) Received: from phantom.cris.net (phantom.cris.net [212.110.130.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id F343A43F3F for ; Mon, 20 Oct 2003 08:55:43 -0700 (PDT) (envelope-from ml@FreeBSD.org.ua) Received: (from ml@localhost) by phantom.cris.net (8.12.6/8.12.6) id h9KG4eKo053400; Mon, 20 Oct 2003 19:04:40 +0300 (EEST) (envelope-from ml) Date: Mon, 20 Oct 2003 19:04:40 +0300 From: Alexey Zelkin To: Marcin Gryszkalis Message-ID: <20031020190440.A53354@phantom.cris.net> References: <3F93E062.3030401@fork.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3F93E062.3030401@fork.pl>; from mg@fork.pl on Mon, Oct 20, 2003 at 03:17:22PM +0200 X-Operating-System: FreeBSD 4.7-STABLE i386 cc: freebsd-java@freebsd.org Subject: Re: file:/dev/random generated exception: null X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2003 15:55:46 -0000 hi, Enable more entropy gathering using rndcontrol(8). On Mon, Oct 20, 2003 at 03:17:22PM +0200, Marcin Gryszkalis wrote: > I happened just once, anybody noticed anything similar? > It's on p3, I'm going to upgrade to p4 today. > > bash-2.05b$ java -version > java version "1.4.1-p3" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-p3-root_02_jun_2003_23_31) > Java HotSpot(TM) Client VM (build 1.4.1-p3-root_02_jun_2003_23_31, mixed mode) > > trace: > java.lang.InternalError: URLSeedGenerator file:/dev/random generated exception: null > at sun.security.provider.SeedGenerator$URLSeedGenerator.getSeedByte(SeedGenerator.java:469) > at sun.security.provider.SeedGenerator.getSeedBytes(SeedGenerator.java:137) > at sun.security.provider.SeedGenerator.generateSeed(SeedGenerator.java:132) > at sun.security.provider.SecureRandom.engineGenerateSeed(SecureRandom.java:112) > at sun.security.provider.SecureRandom.engineNextBytes(SecureRandom.java:169) > at java.security.SecureRandom.nextBytes(SecureRandom.java:381) > at java.security.SecureRandom.next(SecureRandom.java:403) > at java.util.Random.nextInt(Random.java:191) > > It's FreeBSD 4.9-RC #12: Fri Oct 3 23:00:12 CEST 2003 > > > -- > Marcin Gryszkalis > jabber jid:mg@chrome.pl > gg:2532994 > http://fork.pl > > _______________________________________________ > 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" From owner-freebsd-java@FreeBSD.ORG Mon Oct 20 11:01:36 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F0D016A4B3 for ; Mon, 20 Oct 2003 11:01:36 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id F229843FAF for ; Mon, 20 Oct 2003 11:01:20 -0700 (PDT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h9KI1KFY098939 for ; Mon, 20 Oct 2003 11:01:20 -0700 (PDT) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h9KI1K3T098933 for freebsd-java@freebsd.org; Mon, 20 Oct 2003 11:01:20 -0700 (PDT) (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 20 Oct 2003 11:01:20 -0700 (PDT) Message-Id: <200310201801.h9KI1K3T098933@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2003 18:01:36 -0000 Current FreeBSD problem reports Critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/08/22] java/41913 java JniHandler and ChannelUn Errors 1 problem total. Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/02/25] java/35320 java linux-jdk-1.4 JVM fails when running Tomc o [2003/10/12] java/57901 java java/jdk14 (jdk-1.4.1p4) fails to build 2 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/10/11] java/43929 java linux-ibm-jdk core dumps without System.e o [2002/10/18] java/44219 java Update port: textproc/cocoon to 2.0.3 o [2002/10/18] java/44251 java Create stylebook port o [2002/11/04] java/44922 java JVM crash o [2003/07/29] java/55032 java SVr4 emulation interferes with install o [2003/09/24] java/57192 java linux-ibm-java1.4 freeze o [2003/10/19] java/58269 java JDK 1.4 port fails to build on current 7 problems total. From owner-freebsd-java@FreeBSD.ORG Mon Oct 20 12:41:44 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F0EB816A4DB for ; Mon, 20 Oct 2003 12:41:44 -0700 (PDT) Received: from smtpzilla3.xs4all.nl (smtpzilla3.xs4all.nl [194.109.127.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id E51C543FE1 for ; Mon, 20 Oct 2003 12:41:40 -0700 (PDT) (envelope-from jckifbsd@xs4all.nl) Received: from xs4all.nl (redc.xs4all.nl [194.109.143.251]) by smtpzilla3.xs4all.nl (8.12.9/8.12.9) with ESMTP id h9KJfZkt029434 for ; Mon, 20 Oct 2003 21:41:36 +0200 (CEST) Message-ID: <3F943A68.9090305@xs4all.nl> Date: Mon, 20 Oct 2003 21:41:28 +0200 From: Johannes Kingma User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20030916 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Building jdk13 fails X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2003 19:41:45 -0000 Hello, I have diablo-jdk13 installed on current. When I try to build jdk13. I get this error. ===> Building for jdk-1.3.1p8_2 # Start of jdk build i386 Build started: 1.3.1-p8-johannes-031020-21:18 ERROR: Your BOOTDIR environment variable does not point to a valid Java 2 SDK for bootstrapping this build. A Java 2 SDK 1.3.1 build must be bootstrapped against any 1.3 build. Please update your ALT_BOOTDIR setting, or just unset it, and start your build again. Exiting because of the above error(s). gmake: *** [sanity] Error 1 *** Error code 2 Stop in /usr/ports/java/jdk13. Why this error, it should not with diablo-jdk13 installed? From owner-freebsd-java@FreeBSD.ORG Mon Oct 20 12:54:32 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A8A4816A4B3 for ; Mon, 20 Oct 2003 12:54:32 -0700 (PDT) Received: from www.innerdot.com (dsl093-130-242.sfo4.dsl.speakeasy.net [66.93.130.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 19F5743FBD for ; Mon, 20 Oct 2003 12:54:32 -0700 (PDT) (envelope-from jims@innerdot.com) Received: by www.innerdot.com (Postfix, from userid 1001) id 570E2ACDE; Mon, 20 Oct 2003 12:50:42 -0700 (PDT) To: java@freebsd.org Message-Id: <20031020195042.570E2ACDE@www.innerdot.com> Date: Mon, 20 Oct 2003 12:50:42 -0700 (PDT) From: jims@innerdot.com (Jim Spring) Subject: jdk1.4 plugin X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2003 19:54:32 -0000 Thanks to the recent patchset, jdk1.4 built cleanly and for most purposes is working well for me. The one thing I have not had any luck with is using the plugin. I'm running 5.1-Current (as of about a week ago). I've set the plugin up per the FAQ on mozilla (ie, make the softlink). I am using: /usr/local/jdk1.4.1/jre/plugin/i386/ns610/libjavaplugin_oji.so When I startup Firebird, it still is giving an error that it can't find shared objects. The first is libdl.so.2, which appears to live in /usr/compat/linux/lib. Setting the LD_LIBRARY_PATH to include this, I am then prompted for libgcc_s.so.1. Is this expected? Or am I being braindead and missing something? Any thoughts on correcting this? Thanks -jim From owner-freebsd-java@FreeBSD.ORG Mon Oct 20 16:22:28 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0FEA816A4B3 for ; Mon, 20 Oct 2003 16:22:28 -0700 (PDT) Received: from mgr5.xmission.com (mgr5.xmission.com [198.60.22.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id D42FA43FDF for ; Mon, 20 Oct 2003 16:22:26 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr5.xmission.com with spam-scanned (Exim 3.35 #1) id 1ABjM2-00026m-05 for freebsd-java@freebsd.org; Mon, 20 Oct 2003 17:22:26 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr5.xmission.com with esmtp (Exim 3.35 #1) id 1ABjLy-000246-05; Mon, 20 Oct 2003 17:22:23 -0600 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) h9KNNsjG058115; Mon, 20 Oct 2003 17:23:54 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9p1/8.12.9/Submit) id h9KNNqeD058114; Mon, 20 Oct 2003 17:23:52 -0600 (MDT) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Mon, 20 Oct 2003 17:23:51 -0600 From: Greg Lewis To: Daniel Fisher Message-ID: <20031020232351.GA58090@misty.eyesbeyond.com> References: <3F93E062.3030401@fork.pl> <20031020110839.54f1f3c8.daniel.fisher@vt.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031020110839.54f1f3c8.daniel.fisher@vt.edu> User-Agent: Mutt/1.4.1i X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on mgr5.xmission.com X-Spam-Status: No, hits=-1.4 required=8.0 tests=BAYES_20 autolearn=no version=2.60 X-Spam-Level: cc: freebsd-java@freebsd.org Subject: Re: file:/dev/random generated exception: null X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2003 23:22:28 -0000 On Mon, Oct 20, 2003 at 11:08:39AM -0400, Daniel Fisher wrote: > Looks like you ran out of random bytes in /dev/random, which is not > uncommon. > If you want to avoid this error use /dev/urandom. > -Djava.security.egd=file:/dev/urandom However, doing so will get you much lower quality random numbers. Depending on how much you value security this may not be acceptable. I'd try rndcontrol(8) first, as Alexey mentioned. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Mon Oct 20 16:23:38 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8CAF516A4BF for ; Mon, 20 Oct 2003 16:23:38 -0700 (PDT) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5429343FE0 for ; Mon, 20 Oct 2003 16:23:35 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr2.xmission.com with spam-scanned (Exim 3.35 #1) id 1ABjN4-0000Qc-02 for freebsd-java@freebsd.org; Mon, 20 Oct 2003 17:23:31 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 1ABjMz-0000MV-02; Mon, 20 Oct 2003 17:23:25 -0600 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) h9KNOujG058127; Mon, 20 Oct 2003 17:24:57 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9p1/8.12.9/Submit) id h9KNOtv2058126; Mon, 20 Oct 2003 17:24:55 -0600 (MDT) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Mon, 20 Oct 2003 17:24:54 -0600 From: Greg Lewis To: Johannes Kingma Message-ID: <20031020232454.GB58090@misty.eyesbeyond.com> References: <3F943A68.9090305@xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F943A68.9090305@xs4all.nl> User-Agent: Mutt/1.4.1i X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on mgr2.xmission.com X-Spam-Status: No, hits=-0.0 required=8.0 tests=BAYES_40 autolearn=no version=2.60 X-Spam-Level: cc: freebsd-java@FreeBSD.org Subject: Re: Building jdk13 fails X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2003 23:23:38 -0000 On Mon, Oct 20, 2003 at 09:41:28PM +0200, Johannes Kingma wrote: > I have diablo-jdk13 installed on current. When I try to build jdk13. I > get this error. Does Diablo actually work on -CURRENT? It doesn't work on 5.1-RELEASE. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Mon Oct 20 17:10:22 2003 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C51716A4BF; Mon, 20 Oct 2003 17:10:22 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B298043FA3; Mon, 20 Oct 2003 17:10:21 -0700 (PDT) (envelope-from glewis@FreeBSD.org) Received: from freefall.freebsd.org (glewis@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h9L0ALFY046270; Mon, 20 Oct 2003 17:10:21 -0700 (PDT) (envelope-from glewis@freefall.freebsd.org) Received: (from glewis@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h9L0ALCF046266; Mon, 20 Oct 2003 17:10:21 -0700 (PDT) (envelope-from glewis) Date: Mon, 20 Oct 2003 17:10:21 -0700 (PDT) From: Greg Lewis Message-Id: <200310210010.h9L0ALCF046266@freefall.freebsd.org> To: sdodson@sdodson.com, glewis@FreeBSD.org, freebsd-java@FreeBSD.org Subject: Re: java/58269: JDK 1.4 port fails to build on current X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2003 00:10:22 -0000 Synopsis: JDK 1.4 port fails to build on current State-Changed-From-To: open->closed State-Changed-By: glewis State-Changed-When: Mon Oct 20 17:10:13 PDT 2003 State-Changed-Why: Committed, thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=58269 From owner-freebsd-java@FreeBSD.ORG Mon Oct 20 17:20:24 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E26A16A4B3 for ; Mon, 20 Oct 2003 17:20:24 -0700 (PDT) Received: from mgr4.xmission.com (mgr4.xmission.com [198.60.22.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA83043F85 for ; Mon, 20 Oct 2003 17:20:23 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr4.xmission.com with spam-scanned (Exim 3.35 #1) id 1ABkG6-0001U0-04 for java@freebsd.org; Mon, 20 Oct 2003 18:20:23 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr4.xmission.com with esmtp (Exim 3.35 #1) id 1ABkG5-0001Sb-04; Mon, 20 Oct 2003 18:20:22 -0600 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) h9KNShjG058172; Mon, 20 Oct 2003 17:28:44 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9p1/8.12.9/Submit) id h9KNSf3K058171; Mon, 20 Oct 2003 17:28:41 -0600 (MDT) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Mon, 20 Oct 2003 17:28:41 -0600 From: Greg Lewis To: Jim Spring Message-ID: <20031020232841.GC58090@misty.eyesbeyond.com> References: <20031020195042.570E2ACDE@www.innerdot.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031020195042.570E2ACDE@www.innerdot.com> User-Agent: Mutt/1.4.1i X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on mgr4.xmission.com X-Spam-Status: No, hits=-0.9 required=8.0 tests=BAYES_30 autolearn=no version=2.60 X-Spam-Level: cc: java@freebsd.org Subject: Re: jdk1.4 plugin X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2003 00:20:24 -0000 On Mon, Oct 20, 2003 at 12:50:42PM -0700, Jim Spring wrote: > Thanks to the recent patchset, jdk1.4 built cleanly and for most > purposes is working well for me. > > The one thing I have not had any luck with is using the plugin. > I'm running 5.1-Current (as of about a week ago). I've set the > plugin up per the FAQ on mozilla (ie, make the softlink). I am > using: > > /usr/local/jdk1.4.1/jre/plugin/i386/ns610/libjavaplugin_oji.so > > When I startup Firebird, it still is giving an error that it can't > find shared objects. The first is libdl.so.2, which appears to > live in /usr/compat/linux/lib. Setting the LD_LIBRARY_PATH to > include this, I am then prompted for libgcc_s.so.1. The fact that it complains about a missing libdl.so.2 should be an immediate red flag. This is a Linux shared library! There is _no way_ the FreeBSD version of the plugin is linked against libdl.so.2. Please check that you don't have the Linux version of Firebird and that the browser plugin symlink is correctly pointing to the FreeBSD plugin. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Mon Oct 20 22:47:47 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9CCCA16A4B3; Mon, 20 Oct 2003 22:47:47 -0700 (PDT) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD67543FB1; Mon, 20 Oct 2003 22:47:46 -0700 (PDT) (envelope-from jonc@chen.org.nz) Received: by chen.org.nz (Postfix, from userid 1000) id 132DE1362A; Tue, 21 Oct 2003 18:47:41 +1300 (NZDT) Date: Tue, 21 Oct 2003 18:47:41 +1300 From: Jonathan Chen To: Alexey Zelkin Message-ID: <20031021054740.GB58899@grimoire.chen.org.nz> References: <20031020093159.A49750@phantom.cris.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031020093159.A49750@phantom.cris.net> User-Agent: Mutt/1.4.1i cc: java@freebsd.org Subject: Re: jdk14 port users warning... X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2003 05:47:47 -0000 On Mon, Oct 20, 2003 at 09:31:59AM +0300, Alexey Zelkin wrote: > Gentelmen, > > Remembering that someone asked about potential problems with jdk14 > I would like to warn everybody who use applications which utilize > java to call external applications. Very rare (very very) jdk14 > attempt to fork another copy fails. Or correctly to say fails to > complete. Reasons of this behaviour still unclear and non-reproducible. > Just be careful. Thanks for the work with the latest patchset. Being one of the people who experienced the fork+hang problem with jdk14p3, I must say that the recent patchset is a definite improvement. However, the problem still occurs for me (though not as often), especially when compiling jsp pages under jboss3 under load. Would it help at all if I were to provide core-images of the hanging processes to help with the debug procedure? Cheers. -- Jonathan Chen ---------------------------------------------------------------------- "I don't want to achive immortality through my works.. I want to achieve it through not dying" - Woody Allen From owner-freebsd-java@FreeBSD.ORG Tue Oct 21 00:13:24 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BFD7A16A4B3 for ; Tue, 21 Oct 2003 00:13:24 -0700 (PDT) Received: from phantom.cris.net (phantom.cris.net [212.110.130.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE42E43F3F for ; Tue, 21 Oct 2003 00:12:22 -0700 (PDT) (envelope-from phantom@FreeBSD.org.ua) Received: (from phantom@localhost) by phantom.cris.net (8.12.6/8.12.6) id h9L7GFar058476; Tue, 21 Oct 2003 10:16:15 +0300 (EEST) (envelope-from phantom) Date: Tue, 21 Oct 2003 10:16:14 +0300 From: Alexey Zelkin To: Jonathan Chen Message-ID: <20031021101614.A58313@phantom.cris.net> References: <20031020093159.A49750@phantom.cris.net> <20031021054740.GB58899@grimoire.chen.org.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20031021054740.GB58899@grimoire.chen.org.nz>; from jonc@chen.org.nz on Tue, Oct 21, 2003 at 06:47:41PM +1300 X-Operating-System: FreeBSD 4.7-STABLE i386 cc: java@freebsd.org Subject: Re: jdk14 port users warning... X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2003 07:13:25 -0000 hi, On Tue, Oct 21, 2003 at 06:47:41PM +1300, Jonathan Chen wrote: > On Mon, Oct 20, 2003 at 09:31:59AM +0300, Alexey Zelkin wrote: > > Gentelmen, > > > > Remembering that someone asked about potential problems with jdk14 > > I would like to warn everybody who use applications which utilize > > java to call external applications. Very rare (very very) jdk14 > > attempt to fork another copy fails. Or correctly to say fails to > > complete. Reasons of this behaviour still unclear and non-reproducible. > > Just be careful. > > Thanks for the work with the latest patchset. > > Being one of the people who experienced the fork+hang problem with > jdk14p3, I must say that the recent patchset is a definite improvement. > However, the problem still occurs for me (though not as often), especially > when compiling jsp pages under jboss3 under load. Would it help at all > if I were to provide core-images of the hanging processes to help with > the debug procedure? Send me personally backtrace from gdb. Unfortunatelly my bandwidth not allow me to download cores. PS: Hopefully 1.4.2 will change it a bit. The only one core I got with jdk 1.4.2 was only 40mb :-) From owner-freebsd-java@FreeBSD.ORG Tue Oct 21 08:18:29 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 86EF716A4BF for ; Tue, 21 Oct 2003 08:18:29 -0700 (PDT) Received: from lennier.cc.vt.edu (lennier.cc.vt.edu [198.82.162.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E57943F3F for ; Tue, 21 Oct 2003 08:18:28 -0700 (PDT) (envelope-from daniel.fisher@vt.edu) Received: from zidane.cc.vt.edu (IDENT:mirapoint@evil-zidane [10.1.1.13]) by lennier.cc.vt.edu (8.12.8/8.12.8) with ESMTP id h9LFIR1K156241 for ; Tue, 21 Oct 2003 11:18:27 -0400 (EDT) Received: from psych.iad.vt.edu (psych.iad.vt.edu [128.173.13.108]) by zidane.cc.vt.edu (Mirapoint Messaging Server MOS 3.3.7-GR) with SMTP id CBO09091; Tue, 21 Oct 2003 11:18:26 -0400 (EDT) Date: Tue, 21 Oct 2003 11:17:43 -0400 From: Daniel Fisher To: freebsd-java@freebsd.org Message-Id: <20031021111743.44ea9b25.daniel.fisher@vt.edu> In-Reply-To: <20031020232351.GA58090@misty.eyesbeyond.com> References: <3F93E062.3030401@fork.pl> <20031020110839.54f1f3c8.daniel.fisher@vt.edu> <20031020232351.GA58090@misty.eyesbeyond.com> Organization: Virginia Tech X-Mailer: Sylpheed version 0.9.6claws (GTK+ 1.2.10; i386-portbld-freebsd5.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: file:/dev/random generated exception: null X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2003 15:18:29 -0000 On Mon, 20 Oct 2003 17:23:51 -0600 Greg Lewis wrote: > On Mon, Oct 20, 2003 at 11:08:39AM -0400, Daniel Fisher wrote: > > Looks like you ran out of random bytes in /dev/random, which is not > > uncommon. > > If you want to avoid this error use /dev/urandom. > > -Djava.security.egd=file:/dev/urandom > > However, doing so will get you much lower quality random numbers. > Depending on how much you value security this may not be acceptable. > I'd try rndcontrol(8) first, as Alexey mentioned. In my experience /dev/urandom is the only way to guarantee that ssl connections do not fail due to lack of random bytes. This is a common problem on servers which make a lot of separate ssl connections and cannot gather enough entropy to keep up. However, if the load on your application allows using /dev/random you should do so. Just keep in mind you may see these errors every so often. There are also other ways to gather entropy, but I can't vouch for them: http://egd.sourceforge.net/ -- Daniel Fisher From owner-freebsd-java@FreeBSD.ORG Tue Oct 21 08:46:22 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E11B916A4B3 for ; Tue, 21 Oct 2003 08:46:21 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09EF243FBD for ; Tue, 21 Oct 2003 08:46:18 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) h9LFk3DK097406 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 21 Oct 2003 16:46:13 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id h9LFk3YO097405; Tue, 21 Oct 2003 16:46:03 +0100 (BST) (envelope-from matthew) Date: Tue, 21 Oct 2003 16:46:03 +0100 From: Matthew Seaman To: Daniel Fisher Message-ID: <20031021154603.GC94995@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Daniel Fisher , freebsd-java@freebsd.org References: <3F93E062.3030401@fork.pl> <20031020110839.54f1f3c8.daniel.fisher@vt.edu> <20031020232351.GA58090@misty.eyesbeyond.com> <20031021111743.44ea9b25.daniel.fisher@vt.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ghzN8eJ9Qlbqn3iT" Content-Disposition: inline In-Reply-To: <20031021111743.44ea9b25.daniel.fisher@vt.edu> User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-java@freebsd.org Subject: Re: file:/dev/random generated exception: null X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2003 15:46:22 -0000 --ghzN8eJ9Qlbqn3iT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 21, 2003 at 11:17:43AM -0400, Daniel Fisher wrote: > On Mon, 20 Oct 2003 17:23:51 -0600 > Greg Lewis wrote: >=20 > > On Mon, Oct 20, 2003 at 11:08:39AM -0400, Daniel Fisher wrote: > > > Looks like you ran out of random bytes in /dev/random, which is not > > > uncommon. > > > If you want to avoid this error use /dev/urandom. > > > -Djava.security.egd=3Dfile:/dev/urandom > >=20 > > However, doing so will get you much lower quality random numbers. > > Depending on how much you value security this may not be acceptable. > > I'd try rndcontrol(8) first, as Alexey mentioned. >=20 > In my experience /dev/urandom is the only way to guarantee that ssl > connections do not fail due to lack of random bytes. > This is a common problem on servers which make a lot of separate ssl > connections and cannot gather enough entropy to keep up. > However, if the load on your application allows using /dev/random you > should do so. > Just keep in mind you may see these errors every so often. > There are also other ways to gather entropy, but I can't vouch for them: > http://egd.sourceforge.net/ egd just does in user space essentially what the kernel does in kernel space to provide the entropy used for /dev/random. If your system is a heavy user of randomness, and normal interrupt activity isn't enough to keep up with demand, then you'll have to provide an external source of randomness. Some motherboard chipsets nowadays have a built in random source -- which is just a diode that gives you a 50-50 chance of being conductive at any time -- or you can use certain Crypto accelerator cards: see ubsec(4) and hifn(4). Alternatively this is the excuse you need to requisition that lava lamp without which no contemporary machine room could be considered complete... http://www.lavarnd.org/ Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --ghzN8eJ9Qlbqn3iT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/lVS7dtESqEQa7a0RAobQAKCIkrqF7TwYvskN2nekc6hziToftgCcDPyq fLHQpFOfpsF5jDYmoBCGr04= =fUFx -----END PGP SIGNATURE----- --ghzN8eJ9Qlbqn3iT-- From owner-freebsd-java@FreeBSD.ORG Tue Oct 21 13:48:01 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B1BFB16A4B3 for ; Tue, 21 Oct 2003 13:48:01 -0700 (PDT) Received: from piglet.sebster.com (a80-126-244-3.adsl.xs4all.nl [80.126.244.3]) by mx1.FreeBSD.org (Postfix) with SMTP id B5DA943FAF for ; Tue, 21 Oct 2003 13:47:59 -0700 (PDT) (envelope-from sebster@sebster.com) Received: (qmail 34200 invoked from network); 21 Oct 2003 20:47:58 -0000 Received: from unknown (HELO ?10.0.0.6?) (10.0.0.6) by eeyore.sebster.com with SMTP; 21 Oct 2003 20:47:58 -0000 From: Sebastiaan van Erk To: freebsd-java@freebsd.org Content-Type: text/plain Organization: Insight Information Technologies Message-Id: <1066769226.18137.7.camel@blauwoor.sebster.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Tue, 21 Oct 2003 22:47:07 +0200 Content-Transfer-Encoding: 7bit Subject: java 1.4.1-p4 plugin fails for mozilla-firebird 0.7 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2003 20:48:01 -0000 Hi all, I just installed a FreeBSD 5.1 current system and have troubles getting the java plugin running for mozilla. Any help will be appreciated... Greetings, Sebastiaan van Erk INFO: sebster@blauwoor(ttypb:8:0):~> uname -a FreeBSD blauwoor.sebster.com 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Tue Oct 21 08:18:51 CEST 2003 root@blauwoor.sebster.com:/usr/src/sys/i386/compile/GENERIC i386 sebster@blauwoor(ttypb:10:1):~> gcc -v Using built-in specs. Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 3.3.1 [FreeBSD] sebster@blauwoor(ttypb:11:0):~> firebird An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x3447708B Function=processTree+0x29B Library=/usr/local/jdk1.4.1/jre/lib/i386/libawt.so Current Java thread: at sun.awt.motif.MToolkit.run(Native Method) at java.lang.Thread.run(Thread.java:536) Dynamic libraries: 0x8048000 java_vm 0x28075000 /usr/lib/libc_r.so.5 0x28099000 /lib/libc.so.5 0x28174000 /usr/local/jdk1.4.1/jre/lib/i386/client/libjvm.so 0x285c4000 /usr/lib/libstdc++.so.4 0x28680000 /lib/libm.so.2 0x28699000 /usr/local/jdk1.4.1/jre/lib/i386/native_threads/libhpi.so 0x286a3000 /usr/local/jdk1.4.1/jre/lib/i386/libverify.so 0x286b8000 /usr/local/jdk1.4.1/jre/lib/i386/libjava.so 0x286d7000 /usr/local/jdk1.4.1/jre/lib/i386/libzip.so 0x343aa000 /usr/local/jdk1.4.1/jre/lib/i386/libawt.so 0x34621000 /usr/local/jdk1.4.1/jre/lib/i386/libmlib_image.so 0x2c256000 /usr/X11R6/lib/libXp.so.6 0x3466c000 /usr/X11R6/lib/libXt.so.6 0x346bd000 /usr/X11R6/lib/libXext.so.6 0x346cc000 /usr/X11R6/lib/libXtst.so.6 0x346d2000 /usr/X11R6/lib/libXmu.so.6 0x346f1000 /usr/X11R6/lib/libX11.so.6 0x347b9000 /usr/X11R6/lib/libSM.so.6 0x347c2000 /usr/X11R6/lib/libICE.so.6 0x347d9000 /usr/local/jdk1.4.1/jre/lib/i386/libjavaplugin_jni.so 0x347ff000 /usr/local/jdk1.4.1/jre/lib/i386/libfontmanager.so 0x348c6000 /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2 0x348c9000 /usr/X11R6/lib/libXcursor.so.1 0x348d2000 /usr/X11R6/lib/libXrender.so.1 0x348da000 /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2 0x348fb000 /usr/local/jdk1.4.1/jre/lib/i386/libnet.so 0x3490d000 /usr/local/jdk1.4.1/jre/lib/i386/libdcpr.so 0x2804b000 /libexec/ld-elf.so.1 Local Time = Tue Oct 21 22:34:18 2003 Elapsed Time = 19 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1-p4-root_21_oct_2003_14_13 mixed mode) # # An error report file has been saved as /tmp/hs_err_pid15740.log. # Please refer to the file for further information. # INTERNAL ERROR on Browser End: Pipe closed during read? State may be corrupt System error?:: Unknown error: 0 root@blauwoor(ttypc:114:0):/usr/X11R6/lib/firebird/lib/mozilla-1.5/plugins# ll total 22 lrwxr-xr-x 1 root wheel 62 Oct 21 22:21 libjavaplugin_oji.so -> /usr/local/jdk1.4.1/jre/plugin/i386/ns610/libjavaplugin_oji.so -rwxr-xr-x 1 root wheel 20960 Oct 20 21:38 libnullplugin.so From owner-freebsd-java@FreeBSD.ORG Tue Oct 21 16:26:22 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AEB9516A4B3 for ; Tue, 21 Oct 2003 16:26:22 -0700 (PDT) Received: from smaug.vex.net (ns.vex.net [216.138.210.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id A182A43FB1 for ; Tue, 21 Oct 2003 16:26:21 -0700 (PDT) (envelope-from x@Vex.Net) Received: from bee.vii.net (hs-209-135-75-127.interlinks.net [209.135.75.127]) by smaug.vex.net (Postfix) with ESMTP id 0AE2848587 for ; Tue, 21 Oct 2003 19:26:21 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by bee.vii.net (Postfix) with ESMTP id E04C76074 for ; Tue, 21 Oct 2003 19:25:27 -0400 (EDT) From: Tim Middleton Organization: xxvii.net To: freebsd-java@freebsd.org Date: Tue, 21 Oct 2003 19:25:27 -0400 User-Agent: KMail/1.5.4 X-Whee: Yes, Please. MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200310211925.27323.x@Vex.Net> Subject: freebsddom and java's flaming hoops X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-java@freebsd.org List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2003 23:26:22 -0000 In this frustrated moment, I find it a particularly bitter irony that that "Free BSD dom" banner flies atop on the Java 2 FreeBSD site... because after months of off and on attempting to get JDK 1.4 going on, there can be no less "free" feeling piece of software in the entire ports tree. Every time I think I've got eveyrthing needed and "make" i get another message, run into another problem, face another complication, have to wait for another patch, get set to click thorugh untold thousands of thousand licence agreements... go sign up for things... and on and on and on. Even the little javascript "accept" page on the Java 2 on BSD site itself thwacks me. Yes, I have privoxy installed... and it took me a while to realise that that stupid form to grant me the great privilege of downloading a "patch set" (surely the most well guarded patchset in all of "Free BSD dom"!) simply will not work with my proxy enabled. I figured this out after having failed on Konqueror, failed with Mozilla. Tweaked settings. Failed some more. Fired up a windows box... finally resorting to IE which I never use and hence is not set up for proxy... and finaly got my patchset. And had to then transfer it back to the freebsd box, growling all the way. Who would have guessed that downloading a FreeBSD patchset could be so complicated? It's almost enough to make one entertain wild dreams of those Mono/C# dreamers actually somehow succeeding and gleefully rejoicing as java's smug little mug is smashed into so much historic dust. Do I overstate? Did I mention I'm a little frustrated? No offence intended to anyone personally... I am grateful for your hard work patching and whatnot. But I am ... frustrated with all this crap... -- Tim Middleton | Cain Gang Ltd | Then suddenly, for no apparent reason, the x@veX.net | www.Vex.Net | unpittying orchestra struck up a polka. -D From owner-freebsd-java@FreeBSD.ORG Tue Oct 21 19:41:44 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C27B16A4B3 for ; Tue, 21 Oct 2003 19:41:44 -0700 (PDT) Received: from smtp.sw.oz.au (alt.aurema.com [203.217.18.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id C785B43F85 for ; Tue, 21 Oct 2003 19:41:42 -0700 (PDT) (envelope-from vance@aurema.com) Received: from smtp.sw.oz.au (localhost [127.0.0.1]) by smtp.sw.oz.au with ESMTP id h9M2fekn008367 for ; Wed, 22 Oct 2003 12:41:40 +1000 (EST) Received: (from vance@localhost) by smtp.sw.oz.au id h9M2feBx008366 for freebsd-java@freebsd.org; Wed, 22 Oct 2003 12:41:40 +1000 (EST) Date: Wed, 22 Oct 2003 12:41:40 +1000 From: Christopher Vance To: freebsd-java@freebsd.org Message-ID: <20031022024140.GB18351@aurema.com> References: <200310211925.27323.x@Vex.Net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <200310211925.27323.x@Vex.Net> User-Agent: Mutt/1.4.1i X-Scanned-By: MIMEDefang 2.33 (www . roaringpenguin . com / mimedefang) Subject: Re: freebsddom and java's flaming hoops X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2003 02:41:44 -0000 On Tue, Oct 21, 2003 at 07:25:27PM -0400, Tim Middleton wrote: >Do I overstate? Did I mention I'm a little frustrated? No offence intended to >anyone personally... I am grateful for your hard work patching and whatnot. >But I am ... frustrated with all this crap... So why don't you complain to Sun, who are the people requiring you to click through that stupid license? Or are you merely complaining that the FreeBSD people who work hard to port this stuff for you are attempting to obey the requirements Sun have placed on them? I have compiled versions between 1.1 and 1.4 at different times on my machines, with mo unreasonable problems. If you're not using portupgrade and a recent cvsup of /usr/ports, I'd suggest your problems are self-inflicted. -- Christopher Vance From owner-freebsd-java@FreeBSD.ORG Tue Oct 21 20:38:45 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B488616A4B3 for ; Tue, 21 Oct 2003 20:38:45 -0700 (PDT) Received: from mta3.adelphia.net (mta3.adelphia.net [68.168.78.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id 686FA43F3F for ; Tue, 21 Oct 2003 20:38:44 -0700 (PDT) (envelope-from parv_fm@mailsent.net) Received: from moo.holy.cow ([68.67.226.247]) by mta3.adelphia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20031022033847.REDC6440.mta3.adelphia.net@moo.holy.cow>; Tue, 21 Oct 2003 23:38:47 -0400 Received: by moo.holy.cow (Postfix, from userid 1001) id 86F9DAAF5; Tue, 21 Oct 2003 23:42:16 -0400 (EDT) Date: Tue, 21 Oct 2003 23:42:16 -0400 From: parv To: Christopher Vance Message-ID: <20031022034216.GA1895@moo.holy.cow> Mail-Followup-To: Christopher Vance , freebsd-java@freebsd.org References: <200310211925.27323.x@Vex.Net> <20031022024140.GB18351@aurema.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031022024140.GB18351@aurema.com> cc: freebsd-java@freebsd.org Subject: Re: freebsddom and java's flaming hoops X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2003 03:38:45 -0000 in message <20031022024140.GB18351@aurema.com>, wrote Christopher Vance thusly... > > I have compiled versions between 1.1 and 1.4 at different times on > my machines, with mo unreasonable problems. If you're not using > portupgrade and a recent cvsup of /usr/ports, I'd suggest your > problems are self-inflicted. Besides the license agreements, OP's problem was that he could not download the patches (unavailable from ports tree BTW) w/o first removing proxy software. There is no mention about not using a proxy to download the patches (at least it not in jdk13 port when i last built it). One have/had to learn about that fact by tiresome & frustrating tweaking. I was in the same boat when i tried downloading the patches very first time. An up to date ports tree cannot help there. Otherwise, i agree w/ you, Christopher. - Parv -- From owner-freebsd-java@FreeBSD.ORG Tue Oct 21 23:20:15 2003 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D33C16A4B3 for ; Tue, 21 Oct 2003 23:20:15 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8550843FA3 for ; Tue, 21 Oct 2003 23:20:14 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h9M6KEFY003221 for ; Tue, 21 Oct 2003 23:20:14 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h9M6KEqO003220; Tue, 21 Oct 2003 23:20:14 -0700 (PDT) (envelope-from gnats) Date: Tue, 21 Oct 2003 23:20:14 -0700 (PDT) Message-Id: <200310220620.h9M6KEqO003220@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Mark Linimon Subject: Re: java/57901: java/jdk14 (jdk-1.4.1p4) fails to build X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Mark Linimon List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2003 06:20:15 -0000 The following reply was made to PR java/57901; it has been noted by GNATS. From: Mark Linimon To: freebsd-gnats-submit@FreeBSD.org Cc: dan.naumov@ofw.fi Subject: Re: java/57901: java/jdk14 (jdk-1.4.1p4) fails to build Date: Wed, 22 Oct 2003 01:13:05 -0500 Followup containg in misfiled problem report ports/57949: Weird. I have rebooted the system and attemped to build again. This time it worked. I still don't understand how it could possibly run out of memory during the previous compile as there was free memory and free swap during the time the build failed. Any ideas ? From owner-freebsd-java@FreeBSD.ORG Wed Oct 22 03:05:18 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A5D2D16A4B3 for ; Wed, 22 Oct 2003 03:05:18 -0700 (PDT) Received: from Zeus.UBBCluj.Ro (Zeus.UBBCluj.Ro [193.231.18.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F43643FDF for ; Wed, 22 Oct 2003 03:05:17 -0700 (PDT) (envelope-from dan@Zeus.UBBCluj.Ro) Received: (from dan@localhost) by Zeus.UBBCluj.Ro (8.11.6/8.11.6) id h9MA5Bv12158 for freebsd-java@freebsd.org; Wed, 22 Oct 2003 13:05:11 +0300 Date: Wed, 22 Oct 2003 13:05:11 +0300 From: Dan Cojocar To: freebsd-java@freebsd.org Message-ID: <20031022130511.A11771@Zeus.UBBCluj.Ro> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Subject: possible bug in jdk1.4 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2003 10:05:18 -0000 Hello, I'm running tomcat inside idea, and after stoping the running process i get this: [ 49617] ERROR - ellij.execution.ProcessHandler - [ 49621] ERROR - ellij.execution.ProcessHandler - IntelliJ IDEA (Aurora) Build #957 [ 49623] ERROR - ellij.execution.ProcessHandler - JDK: 1.4.1-p4 [ 49626] ERROR - ellij.execution.ProcessHandler - VM: Java HotSpot(TM) Client VM [ 49627] ERROR - ellij.execution.ProcessHandler - Vendor: Sun Microsystems Inc. [ 49628] ERROR - ellij.execution.ProcessHandler - OS: FreeBSD [ 49635] ERROR - ellij.execution.ProcessHandler - java.io.IOException: Bad file descriptor at java.io.FileInputStream.readBytes(Native Method) at java.io.FileInputStream.read(FileInputStream.java:191) at java.io.BufferedInputStream.read1(BufferedInputStream.java:220) at java.io.BufferedInputStream.read(BufferedInputStream.java:277) at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:406) at sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:446) at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:180) at java.io.InputStreamReader.read(InputStreamReader.java:167) at java.io.BufferedReader.fill(BufferedReader.java:136) at java.io.BufferedReader.read(BufferedReader.java:157) I'm using jdk1.4 from ports. Thanks, Dan From owner-freebsd-java@FreeBSD.ORG Wed Oct 22 08:04:12 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9872E16A4B3 for ; Wed, 22 Oct 2003 08:04:12 -0700 (PDT) Received: from ns2.foolishgames.net (ns2.foolishgames.net [216.93.162.119]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C16943FB1 for ; Wed, 22 Oct 2003 08:04:11 -0700 (PDT) (envelope-from luke@foolishgames.com) Received: from foolishgames.com (adsl-64-109-110-183.dsl.gdrpmi.ameritech.net [64.109.110.183]) (authenticated bits=0)h9MF4Arv044992; Wed, 22 Oct 2003 08:04:11 -0700 (PDT) (envelope-from luke@foolishgames.com) Date: Wed, 22 Oct 2003 11:04:03 -0400 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) To: freebsd-java@freebsd.org From: Lucas Holt In-Reply-To: <200310211925.27323.x@Vex.Net> Message-Id: Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.552) cc: x@Vex.Net Subject: Re: freebsddom and java's flaming hoops X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2003 15:04:12 -0000 Why don't you change proxy servers if simple javascript doesn't work? JavaScript can be a security problem in windows, but i don't see why it would be disabled in other platforms. Otherwise your proxy just sucks. Even webtv's support javascript (generation 2 or higher). My sega dreamcast can view sites with javascript. What version of FreeBSD are you using? It will certainly build on 4.8 RELEASE and 4.9 RC using the ports system. Lucas Holt Luke@FoolishGames.com ________________________________________________________ FoolishGames.com (Jewel Fan Site) JustJournal.com (Free blogging) "Only two things are infinite, the universe and human stupidity, and I'm not sure about the former." - Albert Einstein (1879-1955) From owner-freebsd-java@FreeBSD.ORG Wed Oct 22 08:56:37 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 45ECC16A503 for ; Wed, 22 Oct 2003 08:56:37 -0700 (PDT) Received: from smaug.vex.net (ns.vex.net [216.138.210.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D5A343F75 for ; Wed, 22 Oct 2003 08:56:36 -0700 (PDT) (envelope-from x@Vex.Net) Received: from bee.vii.net (hs-209-135-75-127.interlinks.net [209.135.75.127]) by smaug.vex.net (Postfix) with ESMTP id 29CAE485C7; Wed, 22 Oct 2003 11:56:37 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by bee.vii.net (Postfix) with ESMTP id 6F8C65C7A; Wed, 22 Oct 2003 11:55:40 -0400 (EDT) From: Tim Middleton Organization: xxvii.net To: Lucas Holt , freebsd-java@freebsd.org Date: Wed, 22 Oct 2003 11:55:40 -0400 User-Agent: KMail/1.5.4 References: In-Reply-To: X-Whee: Yes, Please. MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200310221155.40121.x@Vex.Net> Subject: Re: freebsddom and java's flaming hoops X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-java@freebsd.org List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2003 15:56:37 -0000 On October 22, 2003 11:04 am, Lucas Holt wrote: > Why don't you change proxy servers if simple javascript doesn't work? Didn't realise it was the proxy that was the problem or I could have disabled it. Though that would have been yet another annoyance to have to do that just to download JDK patches for FreeBSD... just another flaming hoop... a small one, but still... why? Necessary? Maybe... but a potentially additional annoyance. > JavaScript can be a security problem in windows, but i don't see why it > would be disabled in other platforms. Otherwise your proxy just sucks. Well, this is of course simply flamebait: but, because 90% of the time javascript is just incredibly annoying (or worse) on the web, and serves no significantly useful function. My proxy certainly does not suck, it serves it's purpose extremely well... modifying javascript and blocking "ads" and certain javascript calls is one of them. It frees and makes my internet experence greatly improved... I've used it for years and years and years... it builds quickly and cleanly from the ports tree to. (-: Usually it doesn't get in the way of most legit uses of javascript; i'm not sure why it didn't like whatever paranoid technique is being used on the FreeBSD Java 2 site... I haven't looked that far into it. In konqueror i have javascript simply turned off by default; and enable it just on select sites where I know it is needed, and I want to be bothered. It's not security that is the main problem with javascript, it's the widespread annoyance factor. > Even webtv's support javascript (generation 2 or higher). My sega > dreamcast can view sites with javascript. Congratulations, webtv is certainly a standard to look down to. (-: > What version of FreeBSD are you using? It will certainly build on 4.8 5.1-CURRENT-20030821 ... and I do finally have JDK 1.5 building cleanly, with the recently updated patchset. Thanks. I also have the JDK 1.3 binary packge installed on a 4.8 box. It is amazingly annoying to install as well, of course, due to having to grab it from a special location, and click through the agreements and so forth... but at least it installed... and there's a few less flaming hoops... clearly I'm whining. But someone has to. (-: -- Tim Middleton | Cain Gang Ltd | There is a wisdom that is woe; but there x@veX.net | www.Vex.Net | is a woe that is madness. --Melville (MD) From owner-freebsd-java@FreeBSD.ORG Wed Oct 22 10:12:09 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 33F7E16A4B3 for ; Wed, 22 Oct 2003 10:12:09 -0700 (PDT) Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85C1043FD7 for ; Wed, 22 Oct 2003 10:12:06 -0700 (PDT) (envelope-from nate@yogotech.com) Received: from emerger.yogotech.com (emerger.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3p2a/8.9.3) with ESMTP id LAA23179; Wed, 22 Oct 2003 11:12:03 -0600 (MDT) (envelope-from nate@yogotech.com) Received: (from nate@localhost) by emerger.yogotech.com (8.12.9/8.12.8) id h9MHC2SR091551; Wed, 22 Oct 2003 11:12:02 -0600 (MDT) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16278.47714.351403.755887@emerger.yogotech.com> Date: Wed, 22 Oct 2003 11:12:02 -0600 To: freebsd-java@freebsd.org In-Reply-To: <200310221155.40121.x@Vex.Net> References: <200310221155.40121.x@Vex.Net> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid cc: Lucas Holt Subject: Re: freebsddom and java's flaming hoops X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Nate Williams List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2003 17:12:09 -0000 [ Javascript doesn't work with your proxy ] Ok, what do you propose? How do verify that the FreeBSD Foundation and Java teams fulfill all the legal obligations to Sun? > I also have the JDK 1.3 binary packge installed on a 4.8 box. It is amazingly > annoying to install as well, of course, due to having to grab it from a > special location, and click through the agreements and so forth... but at > least it installed... That it did, and you wouldn't believe the amount of time and effort required just to get a binary version released for FreeBSD. Alas, the few minutes you had to spend disabling your proxy apparently is more work than you can handle. > and there's a few less flaming hoops... clearly I'm > whining. But someone has to. (-: It's simpy amazing that anyone would want to continue working for free on this project when they are folks like you out there. Thank goodness there are others who appreciate what it takes. Nate ps. For what it's worth, in order to download *ANY* JVM from Sun requires that Javascript be enabled, so the FreeBSD project isn't requiring anything more than Java's company. From owner-freebsd-java@FreeBSD.ORG Wed Oct 22 10:33:16 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6168F16A4C1 for ; Wed, 22 Oct 2003 10:33:16 -0700 (PDT) Received: from twoface.shiftmanager.net (adsl-64-170-199-98.dsl.snfc21.pacbell.net [64.170.199.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30CD843F85 for ; Wed, 22 Oct 2003 10:33:15 -0700 (PDT) (envelope-from kwerle@pobox.com) Received: from mail.shiftmanager.net (localhost.shiftmanager.net [127.0.0.1]) h9MHaQ2q030676; Wed, 22 Oct 2003 10:36:26 -0700 (PDT) (envelope-from kwerle@pobox.com) Received: from 64.170.199.99 (SquirrelMail authenticated user kurt) by mail.shiftmanager.net with HTTP; Wed, 22 Oct 2003 10:36:26 -0700 (PDT) Message-ID: <50255.64.170.199.99.1066844186.squirrel@mail.shiftmanager.net> In-Reply-To: <16278.47714.351403.755887@emerger.yogotech.com> References: <200310221155.4 0121.x@Vex.Net> <16278.47714.351403.755887@emerger.yogotech.com> Date: Wed, 22 Oct 2003 10:36:26 -0700 (PDT) From: "Kurt Werle" To: "Nate Williams" User-Agent: SquirrelMail/1.4.0 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 Importance: Normal cc: Lucas Holt cc: freebsd-java@freebsd.org Subject: Re: freebsddom and java's flaming hoops X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2003 17:33:16 -0000 > [ Javascript doesn't work with your proxy ] > > Ok, what do you propose? How do verify that the FreeBSD Foundation and > Java teams fulfill all the legal obligations to Sun? Ya know what I've found to be nice? Apple ships a JVM with their product. No clicks needed. That's really nice. I wonder how they do it. Kurt From owner-freebsd-java@FreeBSD.ORG Wed Oct 22 10:42:29 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F19316A4B3 for ; Wed, 22 Oct 2003 10:42:29 -0700 (PDT) Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 324C443FAF for ; Wed, 22 Oct 2003 10:42:28 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr1.xmission.com with spam-scanned (Exim 3.35 #1) id 1ACN03-00026y-01 for freebsd-java@freebsd.org; Wed, 22 Oct 2003 11:42:24 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.35 #1) id 1ACN02-00025B-01; Wed, 22 Oct 2003 11:42:23 -0600 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) h9MHhsjG069628; Wed, 22 Oct 2003 11:43:55 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9p1/8.12.9/Submit) id h9MHhqAB069627; Wed, 22 Oct 2003 11:43:52 -0600 (MDT) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 22 Oct 2003 11:43:52 -0600 From: Greg Lewis To: freebsd-java@FreeBSD.org Message-ID: <20031022174352.GA69537@misty.eyesbeyond.com> References: <200310221155.40121.x@Vex.Net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200310221155.40121.x@Vex.Net> User-Agent: Mutt/1.4.1i X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on mgr1.xmission.com X-Spam-Status: No, hits=-0.0 required=8.0 tests=BAYES_40 autolearn=no version=2.60 X-Spam-Level: cc: Tim Middleton Subject: Re: freebsddom and java's flaming hoops X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2003 17:42:29 -0000 On Wed, Oct 22, 2003 at 11:55:40AM -0400, Tim Middleton wrote: > I also have the JDK 1.3 binary packge installed on a 4.8 box. It is amazingly > annoying to install as well, of course, due to having to grab it from a > special location, and click through the agreements and so forth... but at > least it installed... and there's a few less flaming hoops... clearly I'm > whining. But someone has to. (-: I'm desperately sorry that the legal agreements which constrain the distribution of several years of work by a number of people (me included) are annoying. I'll get right on that. Actually, I've been looking into how I can make the patchset download a little easier, but your posts have done little except get me a little agro and less inclined to work on that. Next time I'd appreciate it if you left out the whining. Constructive criticism is great. Wading through the whining to get to it just makes people less inclined to even read your post in the first place, let alone look for useful points (and you did in fact have one hidden away in the first post). "When you whine like a stuck pig, or flame like a blowtorch, then people get angry. If you want to ACCOMPLISH something, p'raps you should learn some tact." -- Random, on rec.games.mud -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Wed Oct 22 10:46:00 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A84D16A4B3 for ; Wed, 22 Oct 2003 10:46:00 -0700 (PDT) Received: from electricrain.com (electricrain.com [64.71.143.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 789FA43F75 for ; Wed, 22 Oct 2003 10:45:59 -0700 (PDT) (envelope-from fuzzy@electricrain.com) Received: (qmail 28866 invoked by uid 540); 22 Oct 2003 17:45:56 -0000 Date: Wed, 22 Oct 2003 10:45:56 -0700 From: Chris Doherty To: freebsd-java@freebsd.org Message-ID: <20031022174555.GE18899@zot.electricrain.com> References: <16278.47714.351403.755887@emerger.yogotech.com> <50255.64.170.199.99.1066844186.squirrel@mail.shiftmanager.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50255.64.170.199.99.1066844186.squirrel@mail.shiftmanager.net> User-Agent: Mutt/1.4i X-Operating-System: XEmacs X-Koan: mu. Organization: The Inside Foundation Subject: Re: freebsddom and java's flaming hoops X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: chris-freebsd@randomcamel.net List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2003 17:46:00 -0000 On Wed, Oct 22, 2003 at 10:36:26AM -0700, Kurt Werle said: > > [ Javascript doesn't work with your proxy ] > > > > Ok, what do you propose? How do verify that the FreeBSD Foundation and > > Java teams fulfill all the legal obligations to Sun? > > Ya know what I've found to be nice? > > Apple ships a JVM with their product. No clicks needed. That's really nice. > > I wonder how they do it. with a lot of NDAs and possibly money changing hands? and not having the JVM source available to users? all of which contradict the spirit, purpose, and capabilities of FreeBSD? if you want an OS producer that can and does act like a closed-source for-profit corporation, there are at least two for you to choose from. enjoy. meanwhile, the FreeBSD guys have gone god-knows-how-many rounds with Sun to make all this happen, outside of the coding effort itself. not only that, but they've produced tangible, useful results. I don't think we're in any position to provide unconstructive criticism regarding features of the situation that no one can really control. chris ------------------------------- Chris Doherty chris [at] randomcamel.net "I think," said Christopher Robin, "that we ought to eat all our provisions now, so we won't have so much to carry." -- A. A. Milne ------------------------------- From owner-freebsd-java@FreeBSD.ORG Wed Oct 22 10:48:33 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 670F916A4B3 for ; Wed, 22 Oct 2003 10:48:33 -0700 (PDT) Received: from mgr5.xmission.com (mgr5.xmission.com [198.60.22.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0287E43FCB for ; Wed, 22 Oct 2003 10:48:29 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr5.xmission.com with spam-scanned (Exim 3.35 #1) id 1ACN5v-0004H4-05 for freebsd-java@freebsd.org; Wed, 22 Oct 2003 11:48:28 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr5.xmission.com with esmtp (Exim 3.35 #1) id 1ACN5h-00040u-05; Wed, 22 Oct 2003 11:48:14 -0600 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) h9MHnfjG069692; Wed, 22 Oct 2003 11:49:41 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9p1/8.12.9/Submit) id h9MHnTAW069691; Wed, 22 Oct 2003 11:49:29 -0600 (MDT) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 22 Oct 2003 11:49:27 -0600 From: Greg Lewis To: Kurt Werle Message-ID: <20031022174927.GB69537@misty.eyesbeyond.com> References: <16278.47714.351403.755887@emerger.yogotech.com> <50255.64.170.199.99.1066844186.squirrel@mail.shiftmanager.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50255.64.170.199.99.1066844186.squirrel@mail.shiftmanager.net> User-Agent: Mutt/1.4.1i X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on mgr5.xmission.com X-Spam-Status: No, hits=-0.9 required=8.0 tests=BAYES_30 autolearn=no version=2.60 X-Spam-Level: cc: Nate Williams cc: Lucas Holt cc: freebsd-java@freebsd.org Subject: Re: freebsddom and java's flaming hoops X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2003 17:48:33 -0000 On Wed, Oct 22, 2003 at 10:36:26AM -0700, Kurt Werle wrote: > > [ Javascript doesn't work with your proxy ] > > > > Ok, what do you propose? How do verify that the FreeBSD Foundation and > > Java teams fulfill all the legal obligations to Sun? > > Ya know what I've found to be nice? > > Apple ships a JVM with their product. No clicks needed. That's really nice. Shipping != downloading The agreement with Sun allows the JDK to be distributed on CD by OEMs. I am aware of at least one vendor who plans to ship the Diablo JDK on their FreeBSD 4.9 cdrom. > I wonder how they do it. In Apple's case, they fork over a bunch of cash in licensing fees. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Wed Oct 22 11:31:38 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 91B5316A4B3 for ; Wed, 22 Oct 2003 11:31:38 -0700 (PDT) Received: from twoface.shiftmanager.net (adsl-64-170-199-98.dsl.snfc21.pacbell.net [64.170.199.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 78ED343F75 for ; Wed, 22 Oct 2003 11:31:37 -0700 (PDT) (envelope-from kwerle@pobox.com) Received: from mail.shiftmanager.net (localhost.shiftmanager.net [127.0.0.1]) h9MIYt2q031259; Wed, 22 Oct 2003 11:34:55 -0700 (PDT) (envelope-from kwerle@pobox.com) Received: from 64.170.199.99 (SquirrelMail authenticated user kurt) by mail.shiftmanager.net with HTTP; Wed, 22 Oct 2003 11:34:55 -0700 (PDT) Message-ID: <50550.64.170.199.99.1066847695.squirrel@mail.shiftmanager.net> In-Reply-To: <20031022174555.GE18899@zot.electricrain.com> References: <16278.47714.351403.755887@emerger.yogotech.com><50255.64.170.199.99.1 066844186.squirrel@mail.shiftmanager.net> <20031022174555.GE18899@zot.electricrain.com> Date: Wed, 22 Oct 2003 11:34:55 -0700 (PDT) From: "Kurt Werle" To: chris-freebsd@randomcamel.net User-Agent: SquirrelMail/1.4.0 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 Importance: Normal cc: freebsd-java@freebsd.org Subject: Re: freebsddom and java's flaming hoops X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2003 18:31:38 -0000 >> I wonder how they do it. > > with a lot of NDAs and possibly money changing hands? and not having the > JVM source available to users? all of which contradict the spirit, > purpose, and capabilities of FreeBSD? If I really want to, I can grab the Java sources. No matter who ships what, you always have to NDA to SUN if you want Java source. I just want the binaries. For that, I shouldn't need to jump hoops. (NOTE **SHOULD** not need to - this is the ideal) > if you want an OS producer that can and does act like a closed-source > for-profit corporation, there are at least two for you to choose > from. enjoy. Do you mean FreeBSD producers? Who and who? If I can buy a CD that would get me a solid FreeBSD system with Java included, I'll STFU. > meanwhile, the FreeBSD guys have gone god-knows-how-many rounds with Sun > to make all this happen, outside of the coding effort itself. not only > that, but they've produced tangible, useful results. And believe me, I appreciate the hell outta that! > I don't think we're > in any position to provide unconstructive criticism regarding features of > the situation that no one can really control. 2 points: 1. I am in a position to complain. I'm a user. It's what users do. It's up to suppliers to decide whether the users should get what they want (yeah, that's a somewhat rhetorical statement). 2. Clearly, someone can control the situation. It may take money, it may take favors, it may take asking. Kurt From owner-freebsd-java@FreeBSD.ORG Wed Oct 22 11:56:16 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4238216A4B3 for ; Wed, 22 Oct 2003 11:56:16 -0700 (PDT) Received: from mgr5.xmission.com (mgr5.xmission.com [198.60.22.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id E01D643FA3 for ; Wed, 22 Oct 2003 11:56:14 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr5.xmission.com with spam-scanned (Exim 3.35 #1) id 1ACO9V-0002OL-05 for freebsd-java@freebsd.org; Wed, 22 Oct 2003 12:56:14 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr5.xmission.com with esmtp (Exim 3.35 #1) id 1ACO9K-0002I1-05; Wed, 22 Oct 2003 12:56:02 -0600 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) h9MIvdjG069999; Wed, 22 Oct 2003 12:57:39 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9p1/8.12.9/Submit) id h9MIvaQC069998; Wed, 22 Oct 2003 12:57:36 -0600 (MDT) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 22 Oct 2003 12:57:36 -0600 From: Greg Lewis To: Kurt Werle Message-ID: <20031022185736.GA69838@misty.eyesbeyond.com> References: <20031022174555.GE18899@zot.electricrain.com> <50550.64.170.199.99.1066847695.squirrel@mail.shiftmanager.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50550.64.170.199.99.1066847695.squirrel@mail.shiftmanager.net> User-Agent: Mutt/1.4.1i X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on mgr5.xmission.com X-Spam-Status: No, hits=-0.9 required=8.0 tests=BAYES_30 autolearn=no version=2.60 X-Spam-Level: cc: chris-freebsd@randomcamel.net cc: freebsd-java@freebsd.org Subject: Re: freebsddom and java's flaming hoops X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2003 18:56:16 -0000 On Wed, Oct 22, 2003 at 11:34:55AM -0700, Kurt Werle wrote: > If I really want to, I can grab the Java sources. No matter who ships > what, you always have to NDA to SUN if you want Java source. I just want > the binaries. For that, I shouldn't need to jump hoops. (NOTE > **SHOULD** not need to - this is the ideal) You're somewhat misguided here. Fact 1: Downloading a Java binary for Solaris/Linux/Windows from the Java site requires you to agree to a click through license. Fact 2: Downloading a Java binary for FreeBSD from the FresBSD Foundation site requires you to agree to a click through license. Note that Fact 2 is _enforced_ by the licensing agreement with Sun. This isn't something that is going to change. If you want to try and change it, then complain to Sun. They required these terms in the license. > > if you want an OS producer that can and does act like a closed-source > > for-profit corporation, there are at least two for you to choose > > from. enjoy. > > Do you mean FreeBSD producers? Who and who? If I can buy a CD that would > get me a solid FreeBSD system with Java included, I'll STFU. Let me repeat myself. I know of at least one FreeBSD vendor who plans to do this for the FreeBSD 4.9 release. Again though, you are complaining to the wrong people. Noone here can force a FreeBSD vendor to put Java on their FreeBSD CD-ROMs. > 2 points: > 1. I am in a position to complain. I'm a user. It's what users do. > It's up to suppliers to decide whether the users should get what they want > (yeah, that's a somewhat rhetorical statement). Ok, so complain to said suppliers. Complaining on this list just fills the list with meaningless noise. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Wed Oct 22 12:16:34 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED0E416A4B3 for ; Wed, 22 Oct 2003 12:16:34 -0700 (PDT) Received: from twoface.shiftmanager.net (adsl-64-170-199-98.dsl.snfc21.pacbell.net [64.170.199.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13C4243FBD for ; Wed, 22 Oct 2003 12:16:34 -0700 (PDT) (envelope-from kwerle@pobox.com) Received: from mail.shiftmanager.net (localhost.shiftmanager.net [127.0.0.1]) h9MJJg2q031768; Wed, 22 Oct 2003 12:19:42 -0700 (PDT) (envelope-from kwerle@pobox.com) Received: from 64.170.199.99 (SquirrelMail authenticated user kurt) by mail.shiftmanager.net with HTTP; Wed, 22 Oct 2003 12:19:42 -0700 (PDT) Message-ID: <50832.64.170.199.99.1066850382.squirrel@mail.shiftmanager.net> Date: Wed, 22 Oct 2003 12:19:42 -0700 (PDT) From: "Kurt Werle" To: "Greg Lewis" User-Agent: SquirrelMail/1.4.0 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 Importance: Normal cc: freebsd-java@freebsd.org Subject: Re: freebsddom and java's flaming hoops X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2003 19:16:35 -0000 > On Wed, Oct 22, 2003 at 11:34:55AM -0700, Kurt Werle wrote: >> For that, I shouldn't need to jump hoops. (NOTE >> **SHOULD** not need to - this is the ideal) > > You're somewhat misguided here. > > Fact 1: Downloading a Java binary for Solaris/Linux/Windows from the Java > site requires you to agree to a click through license. I just downloaded the windows installer without clicking anything but "Download". http://java.com/en/download/manual.jsp Looks like I can do the same for Solaris and Linux. Why isn't FreeBSD on that list? NOTE: I KNOW the FreeBSD folks don't control that site. But if Linux is there, FreeBSD should be, too. > Let me repeat myself. I know of at least one FreeBSD vendor who plans to > do this for the FreeBSD 4.9 release. If you're willing to repeat yourself, so am I :-) Who? > Again though, you are complaining to the wrong people. > Noone here can force a FreeBSD vendor to put Java on their FreeBSD CD-ROMs. There may be FreeBSD vendors listening to this list. This IS the list to talk about freebsd-java, after all. Kurt From owner-freebsd-java@FreeBSD.ORG Wed Oct 22 13:44:17 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D38216A4B3 for ; Wed, 22 Oct 2003 13:44:17 -0700 (PDT) Received: from nwkea-mail-1.sun.com (nwkea-mail-1.sun.com [192.18.42.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC5A843F3F for ; Wed, 22 Oct 2003 13:44:15 -0700 (PDT) (envelope-from Ranjith.Mandala@Sun.COM) Received: from phys-d3-ha21sca-1 ([129.145.155.163]) by nwkea-mail-1.sun.com (8.12.10/8.12.9) with ESMTP id h9MKiBUP016294 for ; Wed, 22 Oct 2003 13:44:11 -0700 (PDT) Received: from chitti (vpn-129-147-155-15.Central.Sun.COM [129.147.155.15]) by ha21sca-mail1.sfbay.sun.com (iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003)) with ESMTP id <0HN6007FYEXMKB@ha21sca-mail1.sfbay.sun.com> for freebsd-java@freebsd.org; Wed, 22 Oct 2003 13:44:11 -0700 (PDT) Date: Wed, 22 Oct 2003 13:44:11 -0700 (PDT) Date-warning: Date header was inserted by ha21sca-mail1.sfbay.sun.com From: Ranjith Mandala To: freebsd-java@freebsd.org Message-id: <5527306.1066855505852.JavaMail.chitti1@ha21sca-mail1.sfbay.sun.com> MIME-version: 1.0 X-Mailer: postEmail $Id: PostEmail.java,v 1.18 2003/03/13 14:33:02 jfbrown Exp $ Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 7bit X-IM-Review-ID: 216395 cc: Ranjith.Mandala@Sun.COM Subject: Re: (Incident Review ID: 216395) assertion failure "must use byte registers if not P6" X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2003 20:44:17 -0000 --- Note: you can send us updates about your Incident --- --- by replying to this mail. Include all new information --- --- above these lines. Please do not send attachments. --- Hi Mr Spark Lover, This Bug Report was submitted from http://java.sun.com/cgi-bin/bugreport.cgi and is being forwarded to you on behalf of junkwho@hotmail.com. If you would like to respond. Please send an e-mail to the address listed at the end of this report. Regards, Ranjith ----------------- Original Bug Report ------------------- category : java release : 1.4.1 subcategory : install type : bug synopsis : assertion failure "must use byte registers if not P6" description : FULL PRODUCT VERSION : jdk 1.4.4 FULL OS VERSION : FreeBSD5-current A DESCRIPTION OF THE PROBLEM : > cat /usr/ports/java/jdk14/work/j2se/ext/plugin/make/hotspot.log # # HotSpot Virtual Machine Error, assertion failure # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # # Java VM: Java HotSpot(TM) Client VM (1.4.1-p4-root_18_oct_2003_11_48-debug mixed mode) # # assert(VM_Version::is_P6() || dest->has_byte_register(), "must use byte registers if not P6") # # Error ID: /w/nfsed/ports/java/jdk14/work/hotspot/src/cpu/i486/vm/c1_LIRAssembler_i486.cpp, 1145 # # Problematic Thread: prio=5 tid=0x0x80f4218 nid=0x80f2c00 runnable # Dumping core.... STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : just make ERROR MESSAGES/STACK TRACES THAT OCCUR : > cat /usr/ports/java/jdk14/work/j2se/ext/plugin/make/hotspot.log # # HotSpot Virtual Machine Error, assertion failure # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # # Java VM: Java HotSpot(TM) Client VM (1.4.1-p4-root_18_oct_2003_11_48-debug mixed mode) # # assert(VM_Version::is_P6() || dest->has_byte_register(), "must use byte registers if not P6") # # Error ID: /w/nfsed/ports/java/jdk14/work/hotspot/src/cpu/i486/vm/c1_LIRAssembler_i486.cpp, 1145 # # Problematic Thread: prio=5 tid=0x0x80f4218 nid=0x80f2c00 runnable # Dumping core.... REPRODUCIBILITY : This bug can be reproduced always. workaround : suggested_val : cust_name : Mr Spark Lover cust_email : junkwho@hotmail.com jdcid : keyword : webbug company : in person hardware : x86 OSversion : Linux bugtraqID : 0 dateCreated : 2003-10-18 05:20:52.8 dateEvaluated : 2003-10-22 14:44:14.638 From owner-freebsd-java@FreeBSD.ORG Wed Oct 22 14:46:30 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0991216A4B3 for ; Wed, 22 Oct 2003 14:46:30 -0700 (PDT) Received: from mobiledatanow.com (port-91-96.fastadsl.net.nz [203.96.91.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 778BE43FB1 for ; Wed, 22 Oct 2003 14:46:26 -0700 (PDT) (envelope-from jonc@mobiledatanow.com) Received: from baldur.mobiledatanow.com (baldur.mobiledatanow.com [192.168.2.7]) by mobiledatanow.com (Postfix) with ESMTP id ED7DC15243 for ; Thu, 23 Oct 2003 10:46:24 +1300 (NZDT) Received: from baldur.mobiledatanow.com (localhost [127.0.0.1]) h9MLkO7N018850 for ; Thu, 23 Oct 2003 10:46:24 +1300 (NZDT) (envelope-from jonc@baldur.mobiledatanow.com) Received: (from jonc@localhost) by baldur.mobiledatanow.com (8.12.9p2/8.12.9/Submit) id h9MLkNg3018849 for freebsd-java@freebsd.org; Thu, 23 Oct 2003 10:46:23 +1300 (NZDT) (envelope-from jonc) Date: Thu, 23 Oct 2003 10:46:23 +1300 From: Jonathan Chen To: freebsd-java@freebsd.org Message-ID: <20031022214623.GA18825@baldur.mobiledatanow.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="AqsLC8rIMeq19msA" Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: JDK1.4.1p4 java_g + JBoss3.2.1 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2003 21:46:30 -0000 --AqsLC8rIMeq19msA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, Does "java_g" with the latest patchset work as expected? I've just tried using it to run jboss3, and it's dumping core with an internal error. I've attached logs and core-dumps in case anyone is interested. Cheers. -- Jonathan Chen Mobile Data Now Tel: +64-9-636-8014 35K Maurice Rd Fax: +64-9-636-8534 Penrose, Auckland New Zealand --AqsLC8rIMeq19msA Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="hotspot.log" # # HotSpot Virtual Machine Error, Internal Error # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # # Java VM: Java HotSpot(TM) Server VM (1.4.1-p4-root_17_oct_2003_09_13-debug mixed mode) # # Fatal: invalid bci in line number table # # Error ID: /usr/ports/java/jdk14/work/hotspot/src/share/vm/oops/methodKlass.cpp, 276 # # Problematic Thread: prio=5 tid=0x0x81dba18 nid=0x86ef800 runnable # Dumping core.... --AqsLC8rIMeq19msA Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=typescript Content-Transfer-Encoding: quoted-printable Script started on Thu Oct 23 10:42:19 2003 baldur-jboss3.2,10:42am> gdb /usr/local/jdk1.4.1/bin/java_g java_g.core=09 GNU gdb 4.18 (FreeBSD) Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain condition= s. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"...Deprecated bfd_read cal= led at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxrea= d.c line 2627 in elfstab_build_psymtabs Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../..= /contrib/gdb/gdb/dbxread.c line 933 in fill_symbuf Core was generated by `java_g'. Program terminated with signal 6, Abort trap. Reading symbols from /usr/lib/libc_r.so.4...done. Reading symbols from /usr/local/jdk1.4.1/jre/lib/i386/server/libjvm_g.so... done. Reading symbols from /usr/lib/libstdc++.so.3...done. Reading symbols from /usr/lib/libm.so.2...done. Reading symbols from /usr/local/jdk1.4.1/jre/lib/i386/native_threads/libhpi= _g.so...done. Reading symbols from /usr/local/jdk1.4.1/jre/lib/i386/libverify_g.so...done. Reading symbols from /usr/local/jdk1.4.1/jre/lib/i386/libjava_g.so...done. Reading symbols from /usr/local/jdk1.4.1/jre/lib/i386/libzip_g.so...done. Reading symbols from /usr/local/jdk1.4.1/jre/lib/i386/libnet_g.so...done. Reading symbols from /usr/libexec/ld-elf.so.1...done. #0 0x280a9bbc in kill () from /usr/lib/libc_r.so.4 (gdb) bt #0 0x280a9bbc in kill () from /usr/lib/libc_r.so.4 #1 0x280f7e6e in abort () from /usr/lib/libc_r.so.4 #2 0x2894072c in os::abort (dump_core=3D1) at /usr/ports/java/jdk14/work/hotspot/src/os/bsd/vm/os_bsd.cpp:1074 #3 0x28570a8e in report_error (is_vm_internal_error=3D1,=20 file_name=3D0x29b3cc80 "/usr/ports/java/jdk14/work/hotspot/src/share/vm= /oops/methodKlass.cpp", line_no=3D276, title=3D0x29350b6d "Internal Error",= =20 format=3D0x29350b63 "Fatal: %s") at /usr/ports/java/jdk14/work/hotspot/src/share/vm/utilities/debug.cpp:= 343 #4 0x285703f3 in report_fatal ( file_name=3D0x29b3cc80 "/usr/ports/java/jdk14/work/hotspot/src/share/vm= /oops/methodKlass.cpp", line_no=3D276,=20 format=3D0x29b3cc40 "invalid bci in line number table") at /usr/ports/java/jdk14/work/hotspot/src/share/vm/utilities/debug.cpp:= 139 #5 0x288eb44a in methodKlass::oop_verify_on (this=3D0x32130ab8, obj=3D0x32= 702f10,=20 st=3D0x806b318) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/oops/methodKlass.cpp= :276 #6 0x28934a0d in oopDesc::verify_on (this=3D0x32702f10, st=3D0x806b318) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/oops/oop.cpp:83 #7 0x28934a3e in oopDesc::verify (this=3D0x32702f10) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/oops/oop.cpp:89 #8 0x2885a15e in vtableEntry::verify (this=3D0x3270536c, vt=3D0x872c04c,= =20 st=3D0x806b318) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/oops/klassVtable.cpp= :1300 #9 0x28859859 in klassVtable::verify (this=3D0x872c04c, st=3D0x806b318, fo= rced=3D1) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/oops/klassVtable.cpp= :1268 #10 0x28853207 in klassVtable::initialize_vtable2 (this=3D0x872c04c) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/oops/klassVtable.cpp= :311 #11 0x28851e67 in klassVtable::initialize_vtable (this=3D0x872c04c) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/oops/klassVtable.cpp= :163 #12 0x2863eba9 in instanceKlass::link_class_impl ( this_oop=3D{ =3D { =3D { _handle =3D 0x872c8cc}, }, },=20 __the_thread__=3D0x81dba18) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/oops/instanceKlass.c= pp:219 #13 0x2863e0ad in instanceKlass::link_class (this=3D0x32705068,=20 __the_thread__=3D0x81dba18) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/oops/instanceKlass.c= pp:160 #14 0x2863ede7 in instanceKlass::initialize_impl ( this_oop=3D{ =3D { =3D { _handle =3D 0x872c8c8}, }, },=20 __the_thread__=3D0x81dba18) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/oops/instanceKlass.c= pp:236 #15 0x2863d135 in instanceKlass::initialize (this=3D0x32705068,=20 __the_thread__=3D0x81dba18) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/oops/instanceKlass.c= pp:85 #16 0x2879aecd in find_class_from_class_loader (env=3D0x81dbab8,=20 name=3D{ =3D {_handle =3D 0x872c898}, }, init= =3D1 '\001',=20 loader=3D{_handle =3D 0x0}, protection_domain=3D{_handle =3D 0x0}, thro= wError=3D0,=20 __the_thread__=3D0x81dba18) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/prims/jvm.cpp:3042 #17 0x2875757d in JVM_FindClassFromClassLoader (env=3D0x81dbab8,=20 name=3D0x8776d64 "org/apache/xalan/templates/ElemNumber", init=3D1 '\00= 1',=20 ---Type to continue, or q to quit--- loader=3D0x0, throwError=3D0 '\000') at /usr/ports/java/jdk14/work/hotspot/src/share/vm/prims/jvm.cpp:537 #18 0x2a65575b in Java_java_lang_Class_forName0 (env=3D0x81dbab8,=20 this=3D0x8776e30, classname=3D0x8776e40, initialize=3D1 '\001', loader= =3D0x0) at ../../../src/share/native/java/lang/Class.c:114 #19 0x2c0b17a9 in ?? () #20 0x2c0a9f2a in ?? () #21 0x2c0a9f2a in ?? () #22 0x2c0a9f2a in ?? () #23 0x2c0a9e53 in ?? () #24 0x2c0a9e53 in ?? () #25 0x2c0a9e53 in ?? () #26 0x2c0a9f2a in ?? () #27 0x2c0a9f2a in ?? () #28 0x2c0a9e53 in ?? () #29 0x2c0a9e53 in ?? () #30 0x2c0a9f2a in ?? () #31 0x2c0aa230 in ?? () #32 0x2c0a9f2a in ?? () #33 0x2c0aa230 in ?? () #34 0x2c0aa230 in ?? () #35 0x2c0aa230 in ?? () #36 0x2c0aa159 in ?? () #37 0x2c0a9e53 in ?? () #38 0x2c0a9e53 in ?? () #39 0x2c0a9f2a in ?? () #40 0x2c0aa230 in ?? () #41 0x2c0a9f2a in ?? () #42 0x2c0aa230 in ?? () #43 0x2c0aa230 in ?? () #44 0x2c0aa230 in ?? () #45 0x2c0aa159 in ?? () #46 0x2c0aa159 in ?? () #47 0x2c0a9e53 in ?? () #48 0x2c0a9e53 in ?? () #49 0x2c0a719d in ?? () #50 0x2868af7c in JavaCalls::call_helper (result=3D0x877799c, m=3D0x87777d4= ,=20 args=3D0x8777924, __the_thread__=3D0x81dba18) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/runtime/javaCalls.cp= p:387 #51 0x28942670 in os::os_exception_wrapper ( f=3D0x2868aad4 , value=3D0x877799c, method=3D0x87777d4, args= =3D0x8777924,=20 thread=3D0x81dba18) at /usr/ports/java/jdk14/work/hotspot/src/os/bsd/vm/os_bsd.cpp:1865 #52 0x2868aab9 in JavaCalls::call (result=3D0x877799c, method=3D{ = =3D { _handle =3D 0x872c884}, }, args=3D0x8777924,=20 __the_thread__=3D0x81dba18) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/runtime/javaCalls.cp= p:315 #53 0x289cff3b in Reflection::invoke (klass=3D{ =3D { = =3D { _handle =3D 0x872c874}, }, },=20 reflected_method=3D{ =3D {_handle =3D 0x872c878}, },=20 receiver=3D{_handle =3D 0x872c868}, override=3D0, ptypes=3D{ = =3D { _handle =3D 0x872c870}, }, rtype=3DT_VOID,=20 args=3D{ =3D {_handle =3D 0x872c86c}, },=20 is_method_invoke=3D1, __the_thread__=3D0x81dba18) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/runtime/reflection.c= pp:811 ---Type to continue, or q to quit--- #54 0x289d57fc in Reflection::invoke_method (method_mirror=3D0x2e8b80c8,=20 receiver=3D{_handle =3D 0x872c868}, args=3D{ =3D { _handle =3D 0x872c86c}, }, __the_thread__=3D0x81dba= 18) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/runtime/reflection.c= pp:1381 #55 0x287a4f7b in JVM_InvokeMethod (env=3D0x81dbab8, method=3D0x8777bf8,=20 obj=3D0x8777bf4, args0=3D0x8777bf0) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/prims/jvm.cpp:3318 #56 0x2a64f6b4 in Java_sun_reflect_NativeMethodAccessorImpl_invoke0 ( env=3D0x81dbab8, unused=3D0x8777be8, m=3D0x8777bf8, obj=3D0x8777bf4,=20 args=3D0x8777bf0) at ../../../src/share/native/sun/reflect/NativeAccessors.c:15 #57 0x2c0b17a9 in ?? () #58 0x2c0a9f2a in ?? () #59 0x2c0a9f2a in ?? () #60 0x2c0aa230 in ?? () #61 0x2c0a9f2a in ?? () #62 0x2c0aa230 in ?? () #63 0x2c0aa230 in ?? () #64 0x2c0aa230 in ?? () #65 0x2c0aa159 in ?? () #66 0x2c0a9e53 in ?? () #67 0x2c0a9e53 in ?? () #68 0x2c0a9e53 in ?? () #69 0x2c0a9e53 in ?? () #70 0x2c0a9e53 in ?? () #71 0x2c0a9f2a in ?? () #72 0x2c0aa230 in ?? () #73 0x2c0a9f2a in ?? () #74 0x2c0aa230 in ?? () #75 0x2c0aa230 in ?? () #76 0x2c0aa230 in ?? () #77 0x2c0aa159 in ?? () #78 0x2c0a9e53 in ?? () #79 0x2c0a9f2a in ?? () #80 0x2c0aa230 in ?? () #81 0x2c0a9f2a in ?? () #82 0x2c0aa230 in ?? () #83 0x2c0aa230 in ?? () #84 0x2c0aa230 in ?? () #85 0x2c0aa159 in ?? () #86 0x2c0aa159 in ?? () #87 0x2c0a9e53 in ?? () #88 0x2c0a9e53 in ?? () #89 0x2c0a9e53 in ?? () #90 0x2c0a719d in ?? () #91 0x2868af7c in JavaCalls::call_helper (result=3D0x87786dc, m=3D0x8778514= ,=20 args=3D0x8778664, __the_thread__=3D0x81dba18) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/runtime/javaCalls.cp= p:387 #92 0x28942670 in os::os_exception_wrapper ( f=3D0x2868aad4 , value=3D0x87786dc, method=3D0x8778514, args= =3D0x8778664,=20 thread=3D0x81dba18) at /usr/ports/java/jdk14/work/hotspot/src/os/bsd/vm/os_bsd.cpp:1865 #93 0x2868aab9 in JavaCalls::call (result=3D0x87786dc, method=3D{ = =3D { _handle =3D 0x872c85c}, }, args=3D0x8778664,=20 __the_thread__=3D0x81dba18) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/runtime/javaCalls.cp= p:315---Type to continue, or q to quit--- #94 0x289cff3b in Reflection::invoke (klass=3D{ =3D { = =3D { _handle =3D 0x872c84c}, }, },=20 reflected_method=3D{ =3D {_handle =3D 0x872c850}, },=20 receiver=3D{_handle =3D 0x872c840}, override=3D0, ptypes=3D{ = =3D { _handle =3D 0x872c848}, }, rtype=3DT_VOID,=20 args=3D{ =3D {_handle =3D 0x872c844}, },=20 is_method_invoke=3D1, __the_thread__=3D0x81dba18) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/runtime/reflection.c= pp:811 #95 0x289d57fc in Reflection::invoke_method (method_mirror=3D0x2e8b8090,=20 receiver=3D{_handle =3D 0x872c840}, args=3D{ =3D { _handle =3D 0x872c844}, }, __the_thread__=3D0x81dba= 18) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/runtime/reflection.c= pp:1381 #96 0x287a4f7b in JVM_InvokeMethod (env=3D0x81dbab8, method=3D0x8778938,=20 obj=3D0x8778934, args0=3D0x8778930) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/prims/jvm.cpp:3318 #97 0x2a64f6b4 in Java_sun_reflect_NativeMethodAccessorImpl_invoke0 ( env=3D0x81dbab8, unused=3D0x8778928, m=3D0x8778938, obj=3D0x8778934,=20 args=3D0x8778930) at ../../../src/share/native/sun/reflect/NativeAccessors.c:15 #98 0x2c0b17a9 in ?? () #99 0x2c0a9f2a in ?? () #100 0x2c0a9f2a in ?? () #101 0x2c0aa230 in ?? () #102 0x2c0a9f2a in ?? () #103 0x2c0aa230 in ?? () #104 0x2c0aa230 in ?? () #105 0x2c0aa230 in ?? () #106 0x2c0aa159 in ?? () #107 0x2c0a9e53 in ?? () #108 0x2c0aa159 in ?? () #109 0x2c0a9e53 in ?? () #110 0x2c0aa159 in ?? () #111 0x2c0a719d in ?? () #112 0x2868af7c in JavaCalls::call_helper (result=3D0x8778ec8, m=3D0x8778d6= 8,=20 args=3D0x8778e0c, __the_thread__=3D0x81dba18) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/runtime/javaCalls.cp= p:387 #113 0x28942670 in os::os_exception_wrapper ( f=3D0x2868aad4 , value=3D0x8778ec8, method=3D0x8778d68, args= =3D0x8778e0c,=20 thread=3D0x81dba18) at /usr/ports/java/jdk14/work/hotspot/src/os/bsd/vm/os_bsd.cpp:1865 #114 0x2868aab9 in JavaCalls::call (result=3D0x8778ec8, method=3D{ = =3D { _handle =3D 0x872c838}, }, args=3D0x8778e0c,=20 __the_thread__=3D0x81dba18) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/runtime/javaCalls.cp= p:315 #115 0x2868a215 in JavaCalls::call_virtual (result=3D0x8778ec8,=20 spec_klass=3D{ =3D {_handle =3D 0x872c828}, },= =20 name=3D{ =3D {_handle =3D 0x2a5bcee8}, },=20 signature=3D{ =3D {_handle =3D 0x2a5bcf6c}, },= =20 args=3D0x8778e0c, __the_thread__=3D0x81dba18) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/runtime/javaCalls.cp= p:211 #116 0x2868a2ad in JavaCalls::call_virtual (result=3D0x8778ec8, receiver=3D{ _handle =3D 0x872c824}, spec_klass=3D{ =3D { ---Type to continue, or q to quit--- _handle =3D 0x872c828}, }, name=3D{ =3D { _handle =3D 0x2a5bcee8}, }, signature=3D{ = =3D { _handle =3D 0x2a5bcf6c}, }, __the_thread__=3D0x81db= a18) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/runtime/javaCalls.cp= p:217 #117 0x2877c155 in thread_entry (thread=3D0x81dba18, __the_thread__=3D0x81d= ba18) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/prims/jvm.cpp:1810 #118 0x28a5f841 in JavaThread::thread_main_inner (this=3D0x81dba18) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/runtime/thread.cpp:1= 321 #119 0x28a5f6fd in JavaThread::run (this=3D0x81dba18) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/runtime/thread.cpp:1= 305 #120 0x2893f50c in _start (data=3D0x81dba18) at /usr/ports/java/jdk14/work/hotspot/src/os/bsd/vm/os_bsd.cpp:592 #121 0x2808411c in _thread_start () from /usr/lib/libc_r.so.4 #122 0x0 in ?? () (gdb) baldur-jboss3.2,10:42am> ^D=08=08exit Script done on Thu Oct 23 10:42:51 2003 --AqsLC8rIMeq19msA-- From owner-freebsd-java@FreeBSD.ORG Wed Oct 22 14:57:11 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 999C016A4B3 for ; Wed, 22 Oct 2003 14:57:11 -0700 (PDT) Received: from phantom.cris.net (phantom.cris.net [212.110.130.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2C7A43FBF for ; Wed, 22 Oct 2003 14:57:09 -0700 (PDT) (envelope-from phantom@FreeBSD.org.ua) Received: (from phantom@localhost) by phantom.cris.net (8.12.6/8.12.6) id h9MM6N0c071632; Thu, 23 Oct 2003 01:06:23 +0300 (EEST) (envelope-from phantom) Date: Thu, 23 Oct 2003 01:06:23 +0300 From: Alexey Zelkin To: java@freebsd.org Message-ID: <20031023010623.B71141@phantom.cris.net> References: <20031020093159.A49750@phantom.cris.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20031020093159.A49750@phantom.cris.net>; from phantom@freebsd.org on Mon, Oct 20, 2003 at 09:31:59AM +0300 X-Operating-System: FreeBSD 4.7-STABLE i386 Subject: Re: jdk14 port users warning... X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2003 21:57:11 -0000 hi, Just wanted to let you know guys that probably fork() issue is no more a gostoper. I have made a patch which improved situation a lot. If nobody of our threads guru will object to my change -- I'll commit it. PS: to those who are interesting about details -- look for my most recent post to -threads. On Mon, Oct 20, 2003 at 09:31:59AM +0300, Alexey Zelkin wrote: > Gentelmen, > > Remembering that someone asked about potential problems with jdk14 > I would like to warn everybody who use applications which utilize > java to call external applications. Very rare (very very) jdk14 > attempt to fork another copy fails. Or correctly to say fails to > complete. Reasons of this behaviour still unclear and non-reproducible. > Just be careful. > > And another "huge" problem... Drag'n'Drop does not work under FreeBSD > (using native 1.4.1). If you need this "feature" please continue using > linux-sun-jdk14. > > All other aspects of jdk14 port tested number of times perosnally by myself > and Sun's JCK over and over. You should not expirience problems any > problems (in case of usage of traditional environments). If your > configuration is differ from default and you found a problem -- as > usually report back to the mailing list. From owner-freebsd-java@FreeBSD.ORG Wed Oct 22 17:08:03 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9647816A4B3 for ; Wed, 22 Oct 2003 17:08:03 -0700 (PDT) Received: from smaug.vex.net (ns.vex.net [216.138.210.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB87E43F75 for ; Wed, 22 Oct 2003 17:08:02 -0700 (PDT) (envelope-from x@Vex.Net) Received: from bee.vii.net (hs-209-135-75-156.interlinks.net [209.135.75.156]) by smaug.vex.net (Postfix) with ESMTP id ED40848551; Wed, 22 Oct 2003 20:08:01 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by bee.vii.net (Postfix) with ESMTP id D5A3E60B5; Wed, 22 Oct 2003 20:07:06 -0400 (EDT) From: Tim Middleton Organization: xxvii.net To: Greg Lewis , freebsd-java@FreeBSD.org Date: Wed, 22 Oct 2003 20:07:06 -0400 User-Agent: KMail/1.5.4 References: <200310221155.40121.x@Vex.Net> <20031022174352.GA69537@misty.eyesbeyond.com> In-Reply-To: <20031022174352.GA69537@misty.eyesbeyond.com> X-Whee: Yes, Please. MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200310222007.06150.x@Vex.Net> Subject: Re: freebsddom and java's flaming hoops X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-java@FreeBSD.org List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2003 00:08:03 -0000 On October 22, 2003 01:43 pm, Greg Lewis wrote: > distribution of several years of work by a number of people (me included) > are annoying. I'll get right on that. Thanks. Really appreciate that. (-; > agro and less inclined to work on that. Next time I'd appreciate it if > you left out the whining. Constructive criticism is great. Wading Constructiveness is sometimes found in how one takes a thing. I do seem to have offended you though; for that I sincerely apologise (if you can take anything I say seriously at this point; which may be doubtful). -- Tim Middleton | Cain Gang Ltd | There are a thousand hacking at the branches x@veX.net | www.Vex.Net | of evil [but who] at the root. --Thoreau (W) From owner-freebsd-java@FreeBSD.ORG Thu Oct 23 02:19:30 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A5BEB16A4B3; Thu, 23 Oct 2003 02:19:30 -0700 (PDT) Received: from phantom.cris.net (phantom.cris.net [212.110.130.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id A7F3543FDD; Thu, 23 Oct 2003 02:19:27 -0700 (PDT) (envelope-from phantom@FreeBSD.org.ua) Received: (from phantom@localhost) by phantom.cris.net (8.12.6/8.12.6) id h9N9Sdmx075628; Thu, 23 Oct 2003 12:28:39 +0300 (EEST) (envelope-from phantom) Date: Thu, 23 Oct 2003 12:28:39 +0300 From: Alexey Zelkin To: java@freebsd.org Message-ID: <20031023122839.A75570@phantom.cris.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: FreeBSD 4.7-STABLE i386 Subject: jdk14 fork() problem fix X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2003 09:19:30 -0000 hi, This is an intermediate version of fix of jdk fork problem (i.e. Runtime.getRuntime().exec() and friends). It does affect only people who use libc_r (kse and thr should not be affected). Please try this one and report me if it fixes problems for you. PS: If you are rebuilding already built jdk (i.e. object files are already compiled) remove 'control/build/bsd-i586/tmp/java/java.lang' directory before restarting of build. Index: UNIXProcess_md.c.bsd =================================================================== RCS file: /home/jdk14-cvs/jdk142-src/j2se/src/solaris/native/java/lang/UNIXProcess_md.c.bsd,v retrieving revision 1.2 diff -u -r1.2 UNIXProcess_md.c.bsd --- UNIXProcess_md.c.bsd 15 Oct 2003 15:49:39 -0000 1.2 +++ UNIXProcess_md.c.bsd 23 Oct 2003 10:20:48 -0000 @@ -22,6 +22,12 @@ #include #include +#if defined(__FreeBSD__) +#include +#include +#include +#endif + /* path in the environment */ static char **PATH = 0; /* effective uid */ @@ -228,6 +234,61 @@ } } +#if defined(__FreeBSD__) + +extern pid_t __sys_fork(void); + +static pid_t +jdk_fork_wrapper() +{ + pid_t resultPid; +#if (__FreeBSD_version < 5) + static int is_libc_r = -1; + void *funcref; + + if (is_libc_r == -1) { + is_libc_r = 1; + + /* + * BSDNOTE: Check for loaded symbols. + * + * If "_thr_critical_enter" is found assume we are using 'libthr'. + * If _kse_critical_enter is found assume we are using 'libkse'. + * Otherwise we are using libc_r. + * + * If libc_r is loaded, use fork system call drectly to avoid + * problems with using protected pages. + * + * --phantom + */ + funcref = dlsym(RTLD_DEFAULT, "_kse_critical_enter"); + if (funcref != NULL) + is_libc_r = 0; + else { + funcref = dlsym(RTLD_DEFAULT, "_thr_critical_enter"); + if (funcref != NULL) + is_libc_r = 0; + } + } + + if (is_libc_r == 0) { + /* Not a libc_r */ + resultPid = fork(); + } else { +#endif /* __FreeBSD_version < 5 */ + pthread_suspend_all_np(); + resultPid = __sys_fork(); + if (resultPid != 0) + /* leave child in single threading mode */ + pthread_resume_all_np(); +#if (__FreeBSD_version < 5) + } +#endif /* __FreeBSD_version < 5 */ + + return resultPid; +} +#endif /* __FreeBSD__ */ + JNIEXPORT jint JNICALL Java_java_lang_UNIXProcess_forkAndExec(JNIEnv *env, jobject process, @@ -335,8 +396,12 @@ if (path != NULL) { cwd = (char *)JNU_GetStringPlatformChars(env, path, NULL); } - + +#if defined(__FreeBSD__) + resultPid = jdk_fork_wrapper(); +#else resultPid = fork(); +#endif if (resultPid < 0) { char errmsg[128]; From owner-freebsd-java@FreeBSD.ORG Thu Oct 23 02:29:08 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E050416A4B3 for ; Thu, 23 Oct 2003 02:29:08 -0700 (PDT) Received: from phantom.cris.net (phantom.cris.net [212.110.130.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id A168143F85 for ; Thu, 23 Oct 2003 02:29:06 -0700 (PDT) (envelope-from ml@FreeBSD.org.ua) Received: (from ml@localhost) by phantom.cris.net (8.12.6/8.12.6) id h9N9bxPH075749; Thu, 23 Oct 2003 12:37:59 +0300 (EEST) (envelope-from ml) Date: Thu, 23 Oct 2003 12:37:59 +0300 From: Alexey Zelkin To: Jonathan Chen Message-ID: <20031023123759.A75720@phantom.cris.net> References: <20031022214623.GA18825@baldur.mobiledatanow.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20031022214623.GA18825@baldur.mobiledatanow.com>; from jonc@mobiledatanow.com on Thu, Oct 23, 2003 at 10:46:23AM +1300 X-Operating-System: FreeBSD 4.7-STABLE i386 cc: freebsd-java@freebsd.org Subject: Re: JDK1.4.1p4 java_g + JBoss3.2.1 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2003 09:29:09 -0000 hi, Short answer -- Use optimized version of java. Seriously -- I used java_g for running of GUI applications (like Forte) and everything was fine. It's only required to bump default stack size (-Xss option) to 512k or 1024k. On Thu, Oct 23, 2003 at 10:46:23AM +1300, Jonathan Chen wrote: > Hi, > > Does "java_g" with the latest patchset work as expected? I've just > tried using it to run jboss3, and it's dumping core with an internal > error. I've attached logs and core-dumps in case anyone is interested. > From owner-freebsd-java@FreeBSD.ORG Thu Oct 23 02:31:19 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A7A1F16A4B3 for ; Thu, 23 Oct 2003 02:31:19 -0700 (PDT) Received: from phantom.cris.net (phantom.cris.net [212.110.130.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DDC043FEC for ; Thu, 23 Oct 2003 02:31:17 -0700 (PDT) (envelope-from ml@FreeBSD.org.ua) Received: (from ml@localhost) by phantom.cris.net (8.12.6/8.12.6) id h9N9eSE7075787; Thu, 23 Oct 2003 12:40:28 +0300 (EEST) (envelope-from ml) Date: Thu, 23 Oct 2003 12:40:28 +0300 From: Alexey Zelkin To: Dan Cojocar Message-ID: <20031023124028.B75720@phantom.cris.net> References: <20031022130511.A11771@Zeus.UBBCluj.Ro> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20031022130511.A11771@Zeus.UBBCluj.Ro>; from dan@Zeus.UBBCluj.Ro on Wed, Oct 22, 2003 at 01:05:11PM +0300 X-Operating-System: FreeBSD 4.7-STABLE i386 cc: freebsd-java@freebsd.org Subject: Re: possible bug in jdk1.4 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2003 09:31:19 -0000 Thanks for report. I'll look on it. BTW, is it 100% reproducible error ? Or one which appears time-by-time ? On Wed, Oct 22, 2003 at 01:05:11PM +0300, Dan Cojocar wrote: > > Hello, > > I'm running tomcat inside idea, and after stoping the running process i get this: > > [ 49617] ERROR - ellij.execution.ProcessHandler - > [ 49621] ERROR - ellij.execution.ProcessHandler - IntelliJ IDEA (Aurora) Build #957 > [ 49623] ERROR - ellij.execution.ProcessHandler - JDK: 1.4.1-p4 > [ 49626] ERROR - ellij.execution.ProcessHandler - VM: Java HotSpot(TM) Client VM > [ 49627] ERROR - ellij.execution.ProcessHandler - Vendor: Sun Microsystems Inc. > [ 49628] ERROR - ellij.execution.ProcessHandler - OS: FreeBSD > [ 49635] ERROR - ellij.execution.ProcessHandler - > java.io.IOException: Bad file descriptor > at java.io.FileInputStream.readBytes(Native Method) > at java.io.FileInputStream.read(FileInputStream.java:191) > at java.io.BufferedInputStream.read1(BufferedInputStream.java:220) > at java.io.BufferedInputStream.read(BufferedInputStream.java:277) > at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:406) > at sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:446) > at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:180) > at java.io.InputStreamReader.read(InputStreamReader.java:167) > at java.io.BufferedReader.fill(BufferedReader.java:136) > at java.io.BufferedReader.read(BufferedReader.java:157) > > I'm using jdk1.4 from ports. > > Thanks, > Dan > _______________________________________________ > 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" From owner-freebsd-java@FreeBSD.ORG Thu Oct 23 03:49:00 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9CC3416A4B3 for ; Thu, 23 Oct 2003 03:49:00 -0700 (PDT) Received: from azrael.xs4all.nl (azrael.xs4all.nl [213.84.50.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6235E43FB1 for ; Thu, 23 Oct 2003 03:48:59 -0700 (PDT) (envelope-from remco@azrael.xs4all.nl) Received: from azrael.xs4all.nl (localhost.xs4all.nl [127.0.0.1]) by azrael.xs4all.nl (8.12.8p1/8.12.8) with ESMTP id h9NAmbUS095943; Thu, 23 Oct 2003 12:48:37 +0200 (CEST) (envelope-from remco@azrael.xs4all.nl) Received: (from remco@localhost) by azrael.xs4all.nl (8.12.8p1/8.12.8/Submit) id h9NAmbAS095942; Thu, 23 Oct 2003 12:48:37 +0200 (CEST) Date: Thu, 23 Oct 2003 12:48:36 +0200 From: "Remco van 't Veer" To: Alexey Zelkin Message-ID: <20031023104836.GB7723@azrael.xs4all.nl> References: <20031023122839.A75570@phantom.cris.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031023122839.A75570@phantom.cris.net> User-Agent: Mutt/1.5.4i cc: java@freebsd.org Subject: Re: jdk14 fork() problem fix X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2003 10:49:00 -0000 Thanx! I have a new compile running right now. It will take more than 10 hours to finish on my poor P3 so I hope to have some test results for you tomorrow. Remco On Thu, Oct 23, 2003 at 12:28, Alexey Zelkin wrote: > hi, > > This is an intermediate version of fix of jdk fork problem (i.e. > Runtime.getRuntime().exec() and friends). > > It does affect only people who use libc_r (kse and thr should not > be affected). > > Please try this one and report me if it fixes problems for you. > > PS: If you are rebuilding already built jdk (i.e. object files are > already compiled) remove 'control/build/bsd-i586/tmp/java/java.lang' directory > before restarting of build. > > Index: UNIXProcess_md.c.bsd > =================================================================== > RCS file: /home/jdk14-cvs/jdk142-src/j2se/src/solaris/native/java/lang/UNIXProcess_md.c.bsd,v > retrieving revision 1.2 > diff -u -r1.2 UNIXProcess_md.c.bsd > --- UNIXProcess_md.c.bsd 15 Oct 2003 15:49:39 -0000 1.2 > +++ UNIXProcess_md.c.bsd 23 Oct 2003 10:20:48 -0000 > @@ -22,6 +22,12 @@ > #include > #include > > +#if defined(__FreeBSD__) > +#include > +#include > +#include > +#endif > + > /* path in the environment */ > static char **PATH = 0; > /* effective uid */ > @@ -228,6 +234,61 @@ > } > } > > +#if defined(__FreeBSD__) > + > +extern pid_t __sys_fork(void); > + > +static pid_t > +jdk_fork_wrapper() > +{ > + pid_t resultPid; > +#if (__FreeBSD_version < 5) > + static int is_libc_r = -1; > + void *funcref; > + > + if (is_libc_r == -1) { > + is_libc_r = 1; > + > + /* > + * BSDNOTE: Check for loaded symbols. > + * > + * If "_thr_critical_enter" is found assume we are using 'libthr'. > + * If _kse_critical_enter is found assume we are using 'libkse'. > + * Otherwise we are using libc_r. > + * > + * If libc_r is loaded, use fork system call drectly to avoid > + * problems with using protected pages. > + * > + * --phantom > + */ > + funcref = dlsym(RTLD_DEFAULT, "_kse_critical_enter"); > + if (funcref != NULL) > + is_libc_r = 0; > + else { > + funcref = dlsym(RTLD_DEFAULT, "_thr_critical_enter"); > + if (funcref != NULL) > + is_libc_r = 0; > + } > + } > + > + if (is_libc_r == 0) { > + /* Not a libc_r */ > + resultPid = fork(); > + } else { > +#endif /* __FreeBSD_version < 5 */ > + pthread_suspend_all_np(); > + resultPid = __sys_fork(); > + if (resultPid != 0) > + /* leave child in single threading mode */ > + pthread_resume_all_np(); > +#if (__FreeBSD_version < 5) > + } > +#endif /* __FreeBSD_version < 5 */ > + > + return resultPid; > +} > +#endif /* __FreeBSD__ */ > + > JNIEXPORT jint JNICALL > Java_java_lang_UNIXProcess_forkAndExec(JNIEnv *env, > jobject process, > @@ -335,8 +396,12 @@ > if (path != NULL) { > cwd = (char *)JNU_GetStringPlatformChars(env, path, NULL); > } > - > + > +#if defined(__FreeBSD__) > + resultPid = jdk_fork_wrapper(); > +#else > resultPid = fork(); > +#endif > > if (resultPid < 0) { > char errmsg[128]; > _______________________________________________ > 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" -- From owner-freebsd-java@FreeBSD.ORG Thu Oct 23 05:39:39 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 698E216A4B3 for ; Thu, 23 Oct 2003 05:39:39 -0700 (PDT) Received: from Zeus.UBBCluj.Ro (Zeus.UBBCluj.Ro [193.231.18.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0393B43F93 for ; Thu, 23 Oct 2003 05:39:38 -0700 (PDT) (envelope-from dan@Zeus.UBBCluj.Ro) Received: (from dan@localhost) by Zeus.UBBCluj.Ro (8.11.6/8.11.6) id h9NCdMA21852; Thu, 23 Oct 2003 15:39:22 +0300 Date: Thu, 23 Oct 2003 15:39:22 +0300 From: Dan Cojocar To: Alexey Zelkin Message-ID: <20031023153922.A21503@Zeus.UBBCluj.Ro> References: <20031022130511.A11771@Zeus.UBBCluj.Ro> <20031023124028.B75720@phantom.cris.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20031023124028.B75720@phantom.cris.net>; from phantom@FreeBSD.org.ua on Thu, Oct 23, 2003 at 12:40:28PM +0300 cc: freebsd-java@freebsd.org Subject: Re: possible bug in jdk1.4 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2003 12:39:39 -0000 Alexey Zelkin > Alexey Zelkin > BTW, is it 100% reproducible error ? Or one which appears time-by-time ? Alexey Zelkin > It's 100% reproducible. Please informe me too when you got a solution. Thanks, Dan From owner-freebsd-java@FreeBSD.ORG Thu Oct 23 08:20:25 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8CF8316A4B3 for ; Thu, 23 Oct 2003 08:20:25 -0700 (PDT) Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 749AE43FB1 for ; Thu, 23 Oct 2003 08:20:24 -0700 (PDT) (envelope-from sheldonh@starjuice.net) Received: from sheldonh by axl.seasidesoftware.co.za with local (Exim 4.24; FreeBSD 5.1) id 1AChG7-0009J2-Ih; Thu, 23 Oct 2003 17:20:19 +0200 Date: Thu, 23 Oct 2003 17:20:19 +0200 From: Sheldon Hearn To: Dan Cojocar Message-ID: <20031023152019.GS29984@starjuice.net> Mail-Followup-To: Dan Cojocar , freebsd-java@freebsd.org References: <20031022130511.A11771@Zeus.UBBCluj.Ro> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031022130511.A11771@Zeus.UBBCluj.Ro> User-Agent: Mutt/1.5.4i Sender: Sheldon Hearn cc: freebsd-java@freebsd.org Subject: Re: possible bug in jdk1.4 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2003 15:20:25 -0000 On (2003/10/22 13:05), Dan Cojocar wrote: > I'm running tomcat inside idea, and after stoping the running process > i get this: ... > [ 49628] ERROR - ellij.execution.ProcessHandler - OS: FreeBSD > [ 49635] ERROR - ellij.execution.ProcessHandler - > java.io.IOException: Bad file descriptor > at java.io.FileInputStream.readBytes(Native Method) ... > I'm using jdk1.4 from ports. Which patchset? ls -d /var/db/pkg/jdk-* Ciao, Sheldon. From owner-freebsd-java@FreeBSD.ORG Thu Oct 23 09:40:43 2003 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F2FC16A4B3 for ; Thu, 23 Oct 2003 09:40:43 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC9BB43FEA for ; Thu, 23 Oct 2003 09:40:24 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h9NGeOFY001379 for ; Thu, 23 Oct 2003 09:40:24 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h9NGeODG001378; Thu, 23 Oct 2003 09:40:24 -0700 (PDT) (envelope-from gnats) Resent-Date: Thu, 23 Oct 2003 09:40:24 -0700 (PDT) Resent-Message-Id: <200310231640.h9NGeODG001378@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, "Remco van 't Veer" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0478C16A4B3 for ; Thu, 23 Oct 2003 09:32:30 -0700 (PDT) Received: from azrael.xs4all.nl (azrael.xs4all.nl [213.84.50.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF93F43F75 for ; Thu, 23 Oct 2003 09:32:28 -0700 (PDT) (envelope-from remco@azrael.xs4all.nl) Received: from azrael.xs4all.nl (localhost.xs4all.nl [127.0.0.1]) by azrael.xs4all.nl (8.12.8p1/8.12.8) with ESMTP id h9NGW6US003080 for ; Thu, 23 Oct 2003 18:32:07 +0200 (CEST) (envelope-from remco@azrael.xs4all.nl) Received: (from remco@localhost) by azrael.xs4all.nl (8.12.8p1/8.12.8/Submit) id h9NGW6rl003079; Thu, 23 Oct 2003 18:32:06 +0200 (CEST) Message-Id: <200310231632.h9NGW6rl003079@azrael.xs4all.nl> Date: Thu, 23 Oct 2003 18:32:06 +0200 (CEST) From: "Remco van 't Veer" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: java/58450: apache-ant doesn't install etc directory X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Remco van 't Veer List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2003 16:40:43 -0000 >Number: 58450 >Category: java >Synopsis: apache-ant doesn't install etc directory >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Oct 23 09:40:23 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Remco van 't Veer >Release: FreeBSD 4.8-RELEASE-p13 i386 >Organization: >Environment: System: FreeBSD azrael.xs4all.nl 4.8-RELEASE-p13 FreeBSD 4.8-RELEASE-p13 #0: Wed Oct 22 13:42:26 CEST 2003 remco@azrael.xs4all.nl:/usr/obj/usr/src/sys/AZRAEL i386 devel/apache-ant-1.5.4_1 >Description: The apache-ant port version 1.5.4_1 does not install the etc directory as found in the download. The files in this directory are useful since the documentation refers to them. For an example see docs/manual/CoreTasks/changelog.html >How-To-Repeat: Install apache-ant-1.5.4_1 and try to find changelog.xsl. >Fix: I've attached a patch for devel/apache-ant. --- ant.diff begins here --- ? work Index: Makefile =================================================================== RCS file: /home/ncvs/ports/devel/apache-ant/Makefile,v retrieving revision 1.29 diff -u -r1.29 Makefile --- Makefile 25 Sep 2003 09:40:14 -0000 1.29 +++ Makefile 23 Oct 2003 16:22:01 -0000 @@ -33,7 +33,7 @@ READMES= LICENSE README WHATSNEW -DATADIRS= lib +DATADIRS= lib etc .if !defined(NOPORTDOCS) DATADIRS+= docs .endif Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/devel/apache-ant/pkg-plist,v retrieving revision 1.16 diff -u -r1.16 pkg-plist --- pkg-plist 14 Aug 2003 13:12:07 -0000 1.16 +++ pkg-plist 23 Oct 2003 16:22:05 -0000 @@ -1,5 +1,16 @@ bin/ant %%T%%/bin/antRun +%%T%%/etc/changelog.xsl +%%T%%/etc/checkstyle-frames.xsl +%%T%%/etc/coverage-frames.xsl +%%T%%/etc/jdepend-frames.xsl +%%T%%/etc/jdepend.xsl +%%T%%/etc/junit-frames.xsl +%%T%%/etc/junit-noframes.xsl +%%T%%/etc/log.xsl +%%T%%/etc/maudit-frames.xsl +%%T%%/etc/mmetrics-frames.xsl +%%T%%/etc/tagdiff.xsl %%T%%/lib/ant.jar %%T%%/lib/optional.jar %%T%%/lib/README --- ant.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-java@FreeBSD.ORG Thu Oct 23 10:43:44 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0832B16A4B3 for ; Thu, 23 Oct 2003 10:43:44 -0700 (PDT) Received: from mwinf0603.wanadoo.fr (smtp6.wanadoo.fr [193.252.22.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id F0F4643FBD for ; Thu, 23 Oct 2003 10:43:42 -0700 (PDT) (envelope-from nouvelles.fraiches@free.fr) Received: from hplinux (AMarseille-107-1-12-252.w81-51.abo.wanadoo.fr [81.51.19.252]) by mwinf0603.wanadoo.fr (SMTP Server) with SMTP id 4F7702400160; Thu, 23 Oct 2003 19:43:41 +0200 (CEST) Date: Thu, 23 Oct 2003 19:59:05 +0200 From: Thomas Girard To: netbsd-java@NetBSD.org Message-Id: <20031023195905.6b2e861b.nouvelles.fraiches@free.fr> X-Mailer: Sylpheed version 0.9.4claws (GTK+ 1.2.10; i386--netbsdelf) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: current-users@NetBSD.org cc: freebsd-java@FreeBSD.org Subject: jdk1.4.1 patchset 4 and NetBSD X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2003 17:43:44 -0000 Hello all, as reported here: http://www.netbsd.org/Changes/#j2sdk-141 the fourth patchset includes support for NetBSD-current on i386. I must do something wrong because I can't compile it under my NetBSD/i386 1.6ZD. I've followed the instructions given in the BUILD file, including setenv DEV_ONLY YES , and typed 'ulimit -d unlimited' before starting. Please note that I'm compiling on an ext2 (tuned without any option) partition. * The sanity check reads: Build Machine Information: build machine = Build Directory Structure: CWD = /emul/linux/home/j2/control/make TOPDIR = ./../.. CONTROL_TOPDIR = ./../../control GENERICS_TOPDIR = ./../../generics HOTSPOT_TOPDIR = ./../../hotspot J2SE_TOPDIR = ./../../j2se MOTIF_TOPDIR = ./../../motif COBUNDLE_TOPDIR = ./../../cobundle Hotspot Settings: HOTSPOT_BUILD_JOBS = Bootstrap Settings: BOOTDIR = /usr/pkg/java/sun-1.4 BOOTSTRAP J2SDK VERSION: 1.4.2_01 OUTPUTDIR = /emul/linux/home/j2/control/build/bsd-i586 Build Tool Settings: UNIXCOMMAND_PATH = /bin/ COMPILER_PATH = /usr/bin/ DEVTOOLS_PATH = /usr/pkg/bin/ USRBIN_PATH = /usr/bin/ MOTIF_DIR = /usr/X11R6 CC_VER = gcc (GCC) 3.3.1 Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. PATH = /sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin Build Directives: USE_ONLY_BOOTDIR_TOOLS = USE_HOTSPOT_INTERPRETER_MODE = PEDANTIC = DEV_ONLY = YES J2RE_ONLY = NO_DOCS = NO_IMAGES = TOOLS_ONLY = true INSANE = Build Platform Settings: PLATFORM = bsd ARCH = i586 LIBARCH = i386 ARCH_FAMILY = i586 ARCH_DATA_MODEL = 32 OS_VERSION = 1.6ZD FREE_SPACE = 5164336 GNU Make Settings: MAKE = gmake MAKE VERSION = MAKECMDGOALS = sanity MAKEFLAGS = SHELL = /bin/sh Target Build Versions: JDK_VERSION = 1.4.1 MILESTONE = p4 BUILD_NUMBER = root_23_oct_2003_15_02 BUNDLE_DATE = 23_oct_2003 External File/Binary Locations: HOTSPOT_SERVER_PATH = /emul/linux/home/j2/control/build/bsd-i586/hotspot-i586/server HOTSPOT_CLIENT_PATH = /emul/linux/home/j2/control/build/bsd-i586/hotspot-i586/client OPT_JAVAWS = /java/re/javaws/1.2/promoted/pit_tested/bundles/javaws-1_2-bsd-i586-i.zip MOZILLA_PATH = /java/devtools MOZILLA_HEADERS_PATH = /java/devtools/share/plugin MOZILLA_LIBS_PATH = /java/devtools/bsd/plugin MOTIF_DIR = /usr/X11R6 CACERTS_FILE = ./../src/share/lib/security/cacerts WARNING: Your build environment has the variable DEV_ONLY defined. This will result in a development-only build of the J2SE workspace, lacking the documentation build and installation bundles. WARNING: You do not have access to the Java Web Start binary. These binaries may be optional for this build. Please check your access to /java/re/javaws/1.2/promoted/pit_tested/bundles/javaws-1_2-bsd-i586-i.zip and/or check your value of ALT_JAVAWS_PATH. This will make your images target build incomplete. Sanity check passed. * Also note that I haven't installed mozilla nor nspr. * The compilation fails with: Rebuilding /emul/linux/home/j2/control/build/bsd-i586/lib/i386/native_threads/libhpi.so because of /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_threads/obj/monitor_md.o /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_threads/obj/threads_md.o /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_threads/obj/condvar_md.o /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_threads/obj/interrupt_md.o /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_threads/obj/mutex_md.o /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_threads/obj/sys_api_td.o ... /usr/bin/gcc -fno-strict-aliasing -fPIC -W -Wall -Wno-unused -Wno-parentheses -pthread -Di586 -DARCH='"i586"' -DRELEASE='"1.4.1-p4"' -DFULL_VERSION='"1.4.1-p4-root_23_oct_2003_15_02"' -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_BSD_SOURCE -I. -I/emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_threads/CClassHeaders -I../../../../src/solaris/javavm/export -I../../../../src/share/javavm/export -I../../../../src/share/javavm/include -I../../../../src/solaris/javavm/include -I../../../../src/solaris/hpi/native_threads/include -I../../../../src/solaris/hpi/include -I../../../../src/solaris/hpi/export -I../../../../src/share/hpi/include -I../../../../src/share/hpi/export -D_REENTRANT -DNATIVE -DUSE_PTHREADS -DMOOT_PRIORITIES -DHAVE_FILIOH -L/emul/linux/home/j2/control/build/bsd-i586/lib/i386 -Wl,-R /emul/linux/home/j2/control/build/bsd-i586/lib/i386 -Wl,-R /emul/linux/home/j2/control/build/bsd-i586/lib/i386/server -shared -mimpure-text -o /emul/linux/home/j2 /control/build/bsd-i586/lib/i386/native_threads/libhpi.so `lorder /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_threads/obj/monitor_md.o /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_threads/obj/threads_md.o /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_threads/obj/condvar_md.o /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_threads/obj/interrupt_md.o /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_threads/obj/mutex_md.o /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_threads/obj/sys_api_td.o /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_threads/obj/threads_bsd.o /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_threads/obj/interrupt.o /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_threads/obj/linker_md.o /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_threads/obj/memory_md.o /emul/linux/ home/j2/control/build/bsd-i586/tmp/java/hpi/native_threads/obj/system_md.o /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_threads/obj/hpi.o | tsort -q` -pthread -pthread gcc: /emul/linux/home/j2/control/build/bsd-i586/lib/i386/server: No such file or directory gmake[5]: *** [/emul/linux/home/j2/control/build/bsd-i586/lib/i386/native_threads/libhpi.so] Error 1 gmake[5]: Leaving directory `/emul/linux/home/j2/j2se/make/java/hpi/native' gmake[4]: *** [optimized] Error 2 gmake[4]: Leaving directory `/emul/linux/home/j2/j2se/make/java/hpi/native' gmake[3]: *** [all] Error 1 gmake[3]: Leaving directory `/emul/linux/home/j2/j2se/make/java/hpi' gmake[2]: *** [all] Error 1 gmake[2]: Leaving directory `/emul/linux/home/j2/j2se/make/java' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/emul/linux/home/j2/j2se/make' gmake: *** [j2se-build] Error 2 * So my questions are : why is this happening ? How can I fix this ? Has someone successfully compiled this jdk under NetBSD ? * If that can help, I have put a full compilation log available here : http://nouvelles.fraiches.free.fr/j2se-netbsd.txt Regards, Thomas From owner-freebsd-java@FreeBSD.ORG Thu Oct 23 11:54:39 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F0BF716A4BF for ; Thu, 23 Oct 2003 11:54:39 -0700 (PDT) Received: from hotmail.com (law10-f85.law10.hotmail.com [64.4.15.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9AFB243FCB for ; Thu, 23 Oct 2003 11:54:38 -0700 (PDT) (envelope-from segr@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 23 Oct 2003 11:54:38 -0700 Received: from 142.59.20.123 by lw10fd.law10.hotmail.msn.com with HTTP; Thu, 23 Oct 2003 18:54:38 GMT X-Originating-IP: [142.59.20.123] X-Originating-Email: [segr@hotmail.com] From: "Stephane Raimbault" To: java@freebsd.org Date: Thu, 23 Oct 2003 12:54:38 -0600 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 23 Oct 2003 18:54:38.0414 (UTC) FILETIME=[1BED16E0:01C39997] Subject: tomcat5 + linux-sun-jdk1.4.2 on FreeBSD 4.8 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2003 18:54:40 -0000 Hi, I've recently built a box running FreeBSD 4.8 and installed linux-sun-jdk1.4.2 and tomcat 5 (both from the ports). It seems that java is running fine as far as I can tell # /usr/local/linux-sun-jdk1.4.2/bin/java -version java version "1.4.2_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_01-b06) Java HotSpot(TM) Client VM (build 1.4.2_01-b06, mixed mode) # However when I try to start tomcat the stdout.log file only fills with the following information: # cat /usr/local/jakarta-tomcat5.0/logs/stdout.log Oct 23, 2003 12:40:57 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on port 8180 Oct 23, 2003 12:40:58 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 2359 ms Oct 23, 2003 12:40:58 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Oct 23, 2003 12:40:58 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.0.12 Oct 23, 2003 12:40:58 PM org.apache.catalina.core.StandardHost getDeployer INFO: Create Host deployer for direct deployment ( non-jmx ) Oct 23, 2003 12:40:58 PM org.apache.catalina.core.StandardHostDeployer install INFO: Processing Context configuration file URL file:/usr/local/jakarta-tomcat5.0/conf/Catalina/localhost/manager.xml Oct 23, 2003 12:40:59 PM org.apache.catalina.core.StandardHostDeployer install INFO: Processing Context configuration file URL file:/usr/local/jakarta-tomcat5.0/conf/Catalina/localhost/admin.xml # I have succesfully installed both linux-sun-jdk1.4.2 + tomcat 5 on a FreeBSD 5.1 box and the stdout.log file seems to indicate a succesfull start and tomcat 5 works on this box. # cat /usr/local/jakarta-tomcat5.0/logs/stdout.log Oct 23, 2003 12:43:16 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on port 8180 Oct 23, 2003 12:43:16 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 3236 ms Oct 23, 2003 12:43:16 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Oct 23, 2003 12:43:16 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.0.12 Oct 23, 2003 12:43:16 PM org.apache.catalina.core.StandardHost getDeployer INFO: Create Host deployer for direct deployment ( non-jmx ) Oct 23, 2003 12:43:16 PM org.apache.catalina.core.StandardHostDeployer install INFO: Processing Context configuration file URL file:/usr/local/jakarta-tomcat5.0/conf/Catalina/localhost/manager.xml Oct 23, 2003 12:43:20 PM org.apache.catalina.core.StandardHostDeployer install INFO: Processing Context configuration file URL file:/usr/local/jakarta-tomcat5.0/conf/Catalina/localhost/admin.xml Oct 23, 2003 12:43:21 PM org.apache.struts.util.PropertyMessageResources INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true Oct 23, 2003 12:43:21 PM org.apache.struts.util.PropertyMessageResources INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true Oct 23, 2003 12:43:22 PM org.apache.struts.util.PropertyMessageResources INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true Oct 23, 2003 12:43:25 PM org.apache.catalina.core.StandardHostDeployer install INFO: Installing web application at context path /tomcat-docs from URL file:/usr/local/jakarta-tomcat5.0/webapps/tomcat-docs Oct 23, 2003 12:43:25 PM org.apache.catalina.core.StandardHostDeployer install INFO: Installing web application at context path /jsp-examples from URL file:/usr/local/jakarta-tomcat5.0/webapps/jsp-examples Oct 23, 2003 12:43:26 PM org.apache.catalina.core.StandardHostDeployer install INFO: Installing web application at context path from URL file:/usr/local/jakarta-tomcat5.0/webapps/ROOT Oct 23, 2003 12:43:26 PM org.apache.catalina.core.StandardHostDeployer install INFO: Installing web application at context path /servlets-examples from URL file:/usr/local/jakarta-tomcat5.0/webapps/servlets-examples Oct 23, 2003 12:43:27 PM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on port 8180 Oct 23, 2003 12:43:27 PM org.apache.jk.common.ChannelSocket init INFO: Port busy 8009 java.net.BindException: Address already in use Oct 23, 2003 12:43:27 PM org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8010 Oct 23, 2003 12:43:27 PM org.apache.jk.server.JkMain start INFO: Jk running ID=1 time=17/26 config=/usr/local/jakarta-tomcat5.0/conf/jk2.properties Oct 23, 2003 12:43:27 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 11224 ms # Is this a problem with FreeBSD 4.8, and any suggestions on how I can resolve this? What other information could I provide? Thank you. Stephane _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From owner-freebsd-java@FreeBSD.ORG Thu Oct 23 12:01:46 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B35CD16A4BF for ; Thu, 23 Oct 2003 12:01:46 -0700 (PDT) Received: from abbor.viewmark.com (abbor.viewmark.com [216.38.205.104]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF30643FAF for ; Thu, 23 Oct 2003 12:01:43 -0700 (PDT) (envelope-from sverre@abbor.viewmark.com) Received: from abbor.viewmark.com (localhost [127.0.0.1]) by abbor.viewmark.com (8.12.9p1/8.12.9) with ESMTP id h9NJ1d3J010147; Thu, 23 Oct 2003 13:01:39 -0600 (MDT) Received: from localhost (localhost [[UNIX: localhost]]) by abbor.viewmark.com (8.12.9p1/8.12.9) id h9NJ1bHr011606; Thu, 23 Oct 2003 13:01:38 -0600 (MDT) From: Sverre Froyen Organization: Viewmark To: Thomas Girard , netbsd-java@NetBSD.org Date: Thu, 23 Oct 2003 13:01:36 -0600 User-Agent: KMail/1.5.4 References: <20031023195905.6b2e861b.nouvelles.fraiches@free.fr> In-Reply-To: <20031023195905.6b2e861b.nouvelles.fraiches@free.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200310231301.36656.sverre@viewmark.com> cc: current-users@NetBSD.org cc: freebsd-java@FreeBSD.org Subject: Re: jdk1.4.1 patchset 4 and NetBSD X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2003 19:01:46 -0000 Hi, I received this error as well. Just create the missing directory and start the build again. Unfortunately, in my case, the build fails later when it attempts to use the new java. Running the command: /usr/local/src/java/control/build/bsd-i586/bin/java -version I get: Error: failed /usr/local/src/java/control/build/bsd-i586/lib/i386/client/libjvm.so, because /usr/local/src/java/control/build/bsd-i586/lib/i386/client/libjvm.so: Undefined PLT symbol "_Unwind_Resume" (symnum = 5141) I'm using the c++ compiler in the in-tree version of gcc 3.3.2, which is likely the reason for the error. I assume the patchset was made for gcc 2.95. Sverre On torsdag 23. oktober 2003, 11:59, Thomas Girard wrote: > Hello all, > > as reported here: > http://www.netbsd.org/Changes/#j2sdk-141 > > the fourth patchset includes support for NetBSD-current on i386. I > must do something wrong because I can't compile it under my > NetBSD/i386 1.6ZD. > > I've followed the instructions given in the BUILD file, including > setenv DEV_ONLY YES , and typed 'ulimit -d unlimited' before > starting. Please note that I'm compiling on an ext2 (tuned without > any option) partition. > > > * The sanity check reads: > Build Machine Information: > build machine = > > Build Directory Structure: > CWD = /emul/linux/home/j2/control/make > TOPDIR = ./../.. > CONTROL_TOPDIR = ./../../control > GENERICS_TOPDIR = ./../../generics > HOTSPOT_TOPDIR = ./../../hotspot > J2SE_TOPDIR = ./../../j2se > MOTIF_TOPDIR = ./../../motif > COBUNDLE_TOPDIR = ./../../cobundle > > Hotspot Settings: > HOTSPOT_BUILD_JOBS = > > Bootstrap Settings: > BOOTDIR = /usr/pkg/java/sun-1.4 > BOOTSTRAP J2SDK VERSION: 1.4.2_01 > OUTPUTDIR = /emul/linux/home/j2/control/build/bsd-i586 > > Build Tool Settings: > UNIXCOMMAND_PATH = /bin/ > COMPILER_PATH = /usr/bin/ > DEVTOOLS_PATH = /usr/pkg/bin/ > USRBIN_PATH = /usr/bin/ > MOTIF_DIR = /usr/X11R6 > CC_VER = gcc (GCC) 3.3.1 Copyright (C) 2003 Free Software > Foundation, Inc. This is free software; see the source for copying > conditions. There is NO warranty; not even for MERCHANTABILITY or > FITNESS FOR A PARTICULAR PURPOSE. PATH = > /sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R6/b >in:/usr/local/sbin:/usr/local/bin > > Build Directives: > USE_ONLY_BOOTDIR_TOOLS = > USE_HOTSPOT_INTERPRETER_MODE = > PEDANTIC = > DEV_ONLY = YES > J2RE_ONLY = > NO_DOCS = > NO_IMAGES = > TOOLS_ONLY = true > INSANE = > > Build Platform Settings: > PLATFORM = bsd > ARCH = i586 > LIBARCH = i386 > ARCH_FAMILY = i586 > ARCH_DATA_MODEL = 32 > OS_VERSION = 1.6ZD > FREE_SPACE = 5164336 > > GNU Make Settings: > MAKE = gmake > MAKE VERSION = > MAKECMDGOALS = sanity > MAKEFLAGS = > SHELL = /bin/sh > > Target Build Versions: > JDK_VERSION = 1.4.1 > MILESTONE = p4 > BUILD_NUMBER = root_23_oct_2003_15_02 > BUNDLE_DATE = 23_oct_2003 > > External File/Binary Locations: > HOTSPOT_SERVER_PATH = > /emul/linux/home/j2/control/build/bsd-i586/hotspot-i586/server > HOTSPOT_CLIENT_PATH = > /emul/linux/home/j2/control/build/bsd-i586/hotspot-i586/client > OPT_JAVAWS = > /java/re/javaws/1.2/promoted/pit_tested/bundles/javaws-1_2-bsd-i586-i >.zip MOZILLA_PATH = /java/devtools > MOZILLA_HEADERS_PATH = /java/devtools/share/plugin > MOZILLA_LIBS_PATH = /java/devtools/bsd/plugin > MOTIF_DIR = /usr/X11R6 > CACERTS_FILE = ./../src/share/lib/security/cacerts > > WARNING: Your build environment has the variable DEV_ONLY > defined. This will result in a development-only > build of the J2SE workspace, lacking the documentation > build and installation bundles. > > WARNING: You do not have access to the Java Web Start binary. > These binaries may be optional for this build. Please > check your access to > > /java/re/javaws/1.2/promoted/pit_tested/bundles/javaws-1_2-bsd-i586-i >.zip and/or check your value of ALT_JAVAWS_PATH. > This will make your images target build incomplete. > > Sanity check passed. > > > > > * Also note that I haven't installed mozilla nor nspr. > > > > * The compilation fails with: > > Rebuilding > /emul/linux/home/j2/control/build/bsd-i586/lib/i386/native_threads/li >bhpi.so because of > /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_thread >s/obj/monitor_md.o > /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_thread >s/obj/threads_md.o > /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_thread >s/obj/condvar_md.o > /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_thread >s/obj/interrupt_md.o > /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_thread >s/obj/mutex_md.o > /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_thread >s/obj/sys_api_td.o ... /usr/bin/gcc -fno-strict-aliasing -fPIC -W > -Wall -Wno-unused -Wno-parentheses -pthread -Di586 -DARCH='"i586"' > -DRELEASE='"1.4.1-p4"' > -DFULL_VERSION='"1.4.1-p4-root_23_oct_2003_15_02"' -D_GNU_SOURCE > -D_REENTRANT -D_THREAD_SAFE -D_BSD_SOURCE -I. > -I/emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_thre >ads/CClassHeaders -I../../../../src/solaris/javavm/export > -I../../../../src/share/javavm/export > -I../../../../src/share/javavm/include > -I../../../../src/solaris/javavm/include > -I../../../../src/solaris/hpi/native_threads/include > -I../../../../src/solaris/hpi/include > -I../../../../src/solaris/hpi/export > -I../../../../src/share/hpi/include > -I../../../../src/share/hpi/export -D_REENTRANT -DNATIVE > -DUSE_PTHREADS -DMOOT_PRIORITIES -DHAVE_FILIOH > -L/emul/linux/home/j2/control/build/bsd-i586/lib/i386 -Wl,-R > /emul/linux/home/j2/control/build/bsd-i586/lib/i386 -Wl,-R > /emul/linux/home/j2/control/build/bsd-i586/lib/i386/server -shared > -mimpure-text -o /emul/linux/home/j2 > /control/build/bsd-i586/lib/i386/native_threads/libhpi.so `lorder > /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_thread >s/obj/monitor_md.o > /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_thread >s/obj/threads_md.o > /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_thread >s/obj/condvar_md.o > /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_thread >s/obj/interrupt_md.o > /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_thread >s/obj/mutex_md.o > /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_thread >s/obj/sys_api_td.o > /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_thread >s/obj/threads_bsd.o > /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_thread >s/obj/interrupt.o > /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_thread >s/obj/linker_md.o > /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_thread >s/obj/memory_md.o /emul/linux/ > home/j2/control/build/bsd-i586/tmp/java/hpi/native_threads/obj/system >_md.o > /emul/linux/home/j2/control/build/bsd-i586/tmp/java/hpi/native_thread >s/obj/hpi.o | tsort -q` -pthread -pthread gcc: > /emul/linux/home/j2/control/build/bsd-i586/lib/i386/server: No such > file or directory gmake[5]: *** > [/emul/linux/home/j2/control/build/bsd-i586/lib/i386/native_threads/l >ibhpi.so] Error 1 gmake[5]: Leaving directory > `/emul/linux/home/j2/j2se/make/java/hpi/native' gmake[4]: *** > [optimized] Error 2 > gmake[4]: Leaving directory > `/emul/linux/home/j2/j2se/make/java/hpi/native' gmake[3]: *** [all] > Error 1 > gmake[3]: Leaving directory `/emul/linux/home/j2/j2se/make/java/hpi' > gmake[2]: *** [all] Error 1 > gmake[2]: Leaving directory `/emul/linux/home/j2/j2se/make/java' > gmake[1]: *** [all] Error 1 > gmake[1]: Leaving directory `/emul/linux/home/j2/j2se/make' > gmake: *** [j2se-build] Error 2 > > > * So my questions are : why is this happening ? How can I fix this ? > Has someone successfully compiled this jdk under NetBSD ? > > * If that can help, I have put a full compilation log available here > : http://nouvelles.fraiches.free.fr/j2se-netbsd.txt > > > Regards, > Thomas From owner-freebsd-java@FreeBSD.ORG Thu Oct 23 12:59:55 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 65EC316A4B3 for ; Thu, 23 Oct 2003 12:59:55 -0700 (PDT) Received: from iwmail.xpdial.com (iwgate.xpdial.com [68.156.89.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23D6E43F93 for ; Thu, 23 Oct 2003 12:59:54 -0700 (PDT) (envelope-from mark@s-wit.net) Received: from [192.168.101.4] by iwmail.xpdial.com (ArGoSoft Mail Server Pro for WinNT/2000/XP, Version 1.8 (1.8.4.1)); Thu, 23 Oct 2003 16:03:08 -0400 Message-ID: <002101c399a0$b4565640$6a1fa8c0@ocfl061> From: "M.D. DeWar" To: References: Date: Thu, 23 Oct 2003 16:03:17 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: linux-sun-jdk1.4.2 on FreeBSD 4.8 giving me pains X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2003 19:59:55 -0000 NEWBIE ALERT NEWBIE ALERT: When I try to run any java I get this: spiderman# ./java /temp/babylon-2.1_BETA/babylonServer Exception in thread "main" java.lang.NoClassDefFoundError: /temp/babylon-2/1_BET A/babylonServer I have tried to follow all the different java install instructions. I tried kafee 1.0.7 but got some other error. any help greatly greatly appreciated Thanks newbie Mark From owner-freebsd-java@FreeBSD.ORG Thu Oct 23 15:09:41 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED74716A4B3 for ; Thu, 23 Oct 2003 15:09:41 -0700 (PDT) Received: from hotmail.com (law10-oe26.law10.hotmail.com [64.4.14.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 543F743F3F for ; Thu, 23 Oct 2003 15:09:41 -0700 (PDT) (envelope-from segr@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 23 Oct 2003 15:09:41 -0700 Received: from 142.59.20.123 by law10-oe26.law10.hotmail.com with DAV; Thu, 23 Oct 2003 22:09:40 +0000 X-Originating-IP: [142.59.20.123] X-Originating-Email: [segr@hotmail.com] From: "Stephane Raimbault" To: "\"M.D. DeWar\"" References: Date: Thu, 23 Oct 2003 16:10:29 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: X-OriginalArrivalTime: 23 Oct 2003 22:09:41.0169 (UTC) FILETIME=[5B4FCA10:01C399B2] cc: java@freebsd.org Subject: Re: linux-sun-jdk1.4.2 on FreeBSD 4.8 giving me pains X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2003 22:09:42 -0000 Did you mount the linprocfs file system as mentioned during the port install ? If not, add the following line to /etc/fstab (to ensure it gets mounted on startup as well) linprocfs /compat/linux/proc linprocfs rw 0 0 then you can type as root: # mount linprocfs That should get you further along if you hadn't mounted the linprocfs file system yet. Cheers, Stephane. ----- Original Message ----- From: ""M.D. DeWar"" Newsgroups: mailing.freebsd.java Sent: Thursday, October 23, 2003 2:00 PM Subject: linux-sun-jdk1.4.2 on FreeBSD 4.8 giving me pains > NEWBIE ALERT NEWBIE ALERT: > > When I try to run any java I get this: > > spiderman# ./java /temp/babylon-2.1_BETA/babylonServer > Exception in thread "main" java.lang.NoClassDefFoundError: > /temp/babylon-2/1_BET > A/babylonServer > > I have tried to follow all the different java install instructions. > I tried kafee 1.0.7 but got some other error. > > any help greatly greatly appreciated > > Thanks > newbie Mark > > > _______________________________________________ > 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" From owner-freebsd-java@FreeBSD.ORG Thu Oct 23 20:59:37 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 61EAC16A4B3 for ; Thu, 23 Oct 2003 20:59:37 -0700 (PDT) Received: from enteljoven2.enteljoven.cl (enteljoven2.enteljoven.cl [164.77.63.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 27E4443FBD for ; Thu, 23 Oct 2003 20:59:36 -0700 (PDT) (envelope-from rdeiriar@spock.cl) Received: from spock.cl (CM600-lconC1-16-33.cm.vtr.net [200.104.16.33]) (AUTH: CRAM-MD5 roberto@spock.cl) by enteljoven2.enteljoven.cl with esmtp; Fri, 24 Oct 2003 00:59:47 -0300 Message-ID: <3F98A3AE.6020704@spock.cl> Date: Fri, 24 Oct 2003 00:59:42 -0300 From: Roberto de Iriarte User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031023 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Patchlevel 4 report. X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Oct 2003 03:59:37 -0000 I could not help but notice the complaints about the difficulties to get native Java running on FreeBSD. For a change, i wanted to say just thanks for the excellent work, i've found the new patchlevel to be very stable (on libc_r and libkse) and excellent performing (especially on libkse) For those who complain, in my experience, no J2SE implementation has been perfect, ever, but FreeBSD's 1.4.1 patchlevel 4 seems among the better ones in the limited testing that i've been able to perform so far, and i have seen really bad ones, like CompaQ J2SE 1.3 for Alpha, that would not complete VolanoMark if the JIT was enabled, even after eating up 2GB of ram, not to speak of the horrible performance of the Linux J2SE for Alpha, that was not even able to complete the Java2D demo! Somebody mentioned Apple's J2SE, it has bugs too (i've found nowhere to complain nor ways to debug it, the wonders of packaged software ....). Try to run the Car Configurator applet at http://www.bmw.de/ to experience one (It runs perfectly on FreeBSD native 1.4.1p4 plugin) FYI, i'm running CURRENT as of yesterday % uname -a FreeBSD netvista.spock.cl 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Thu Oct 23 01:45:10 CLST 2003 root@netvista.spock.cl:/usr/obj/usr/src/sys/GENERIC i386 Thanks again! Regards Roberto From owner-freebsd-java@FreeBSD.ORG Thu Oct 23 23:39:52 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC14F16A4B3 for ; Thu, 23 Oct 2003 23:39:52 -0700 (PDT) Received: from Zeus.UBBCluj.Ro (Zeus.UBBCluj.Ro [193.231.18.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5631643FBD for ; Thu, 23 Oct 2003 23:39:51 -0700 (PDT) (envelope-from dan@Zeus.UBBCluj.Ro) Received: (from dan@localhost) by Zeus.UBBCluj.Ro (8.11.6/8.11.6) id h9O6dbK14162; Fri, 24 Oct 2003 09:39:37 +0300 Date: Fri, 24 Oct 2003 09:39:36 +0300 From: Dan Cojocar To: Sheldon Hearn Message-ID: <20031024093936.A14056@Zeus.UBBCluj.Ro> References: <20031022130511.A11771@Zeus.UBBCluj.Ro> <20031023152019.GS29984@starjuice.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20031023152019.GS29984@starjuice.net>; from sheldonh@starjuice.net on Thu, Oct 23, 2003 at 05:20:19PM +0200 cc: freebsd-java@freebsd.org Subject: Re: possible bug in jdk1.4 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Oct 2003 06:39:53 -0000 Sheldon Hearn > Which patchset? Sheldon Hearn > Sheldon Hearn > ls -d /var/db/pkg/jdk-* Sheldon Hearn > Free# ls -d /var/db/pkg/jdk-* /var/db/pkg/jdk-nodebug-1.4.1p4 Free# Dan From owner-freebsd-java@FreeBSD.ORG Fri Oct 24 00:05:19 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 26CE716A4BF for ; Fri, 24 Oct 2003 00:05:19 -0700 (PDT) Received: from diomedes.noc.ntua.gr (diomedes.noc.ntua.gr [147.102.222.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2CFF43FB1 for ; Fri, 24 Oct 2003 00:05:16 -0700 (PDT) (envelope-from past@noc.ntua.gr) Received: from ajax.noc.ntua.gr (ajax.noc.ntua.gr [147.102.220.1]) h9O758ru063040; Fri, 24 Oct 2003 10:05:09 +0300 (EEST) (envelope-from past@noc.ntua.gr) Received: from noc.ntua.gr (hal.noc.ntua.gr [147.102.220.45]) by ajax.noc.ntua.gr (8.12.9p1/8.12.9) with ESMTP id h9O74toN051740; Fri, 24 Oct 2003 10:05:08 +0300 (EEST) (envelope-from past@noc.ntua.gr) Message-ID: <3F98CF17.7020805@noc.ntua.gr> Date: Fri, 24 Oct 2003 10:04:55 +0300 From: Panagiotis Astithas Organization: NTUA/NMC User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4.1) Gecko/20031017 X-Accept-Language: el, en-us, en MIME-Version: 1.0 To: Roberto de Iriarte References: <3F98A3AE.6020704@spock.cl> In-Reply-To: <3F98A3AE.6020704@spock.cl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-java@freebsd.org Subject: Re: Patchlevel 4 report. X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Oct 2003 07:05:19 -0000 Roberto de Iriarte wrote: > I could not help but notice the complaints about the difficulties to get > native Java > running on FreeBSD. > > For a change, i wanted to say just thanks for the excellent work, i've > found the > new patchlevel to be very stable (on libc_r and libkse) and excellent > performing > (especially on libkse) > > For those who complain, in my experience, no J2SE implementation has > been perfect, > ever, but FreeBSD's 1.4.1 patchlevel 4 seems among the better ones in > the limited > testing that i've been able to perform so far, and i have seen really > bad ones, like > CompaQ J2SE 1.3 for Alpha, that would not complete VolanoMark if the JIT > was enabled, even after eating up 2GB of ram, not to speak of the > horrible performance > of the Linux J2SE for Alpha, that was not even able to complete the > Java2D demo! > Somebody mentioned Apple's J2SE, it has bugs too (i've found nowhere to > complain > nor ways to debug it, the wonders of packaged software ....). Try to run > the Car Configurator applet at http://www.bmw.de/ to experience one (It > runs perfectly on FreeBSD native 1.4.1p4 plugin) > > FYI, i'm running CURRENT as of yesterday > % uname -a > FreeBSD netvista.spock.cl 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Thu Oct 23 > 01:45:10 CLST 2003 > root@netvista.spock.cl:/usr/obj/usr/src/sys/GENERIC i386 > > Thanks again! > Regards > Roberto > > _______________________________________________ > 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" In my humble opinion the greatest achievement the BSD Java team has accomplished, is the release of a proprietary codebase with as much freedom as possible. Had they followed the example of groups such as Blackdown, we would have been unable to gain insight into the porting effort and the hurdles encountered, nor follow it suit, until the binary release was eventually made. For that accomplishment alone, thank you all very much. Cheers, -- Panagiotis Astithas Electrical & Computer Engineer, PhD Network Management Center National Technical University of Athens, Greece From owner-freebsd-java@FreeBSD.ORG Fri Oct 24 02:15:26 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB8EA16A4B3 for ; Fri, 24 Oct 2003 02:15:26 -0700 (PDT) Received: from phantom.cris.net (phantom.cris.net [212.110.130.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1663C43F85 for ; Fri, 24 Oct 2003 02:15:24 -0700 (PDT) (envelope-from phantom@FreeBSD.org.ua) Received: (from phantom@localhost) by phantom.cris.net (8.12.6/8.12.6) id h9O9Omqe000844; Fri, 24 Oct 2003 12:24:48 +0300 (EEST) (envelope-from phantom) Date: Fri, 24 Oct 2003 12:24:48 +0300 From: Alexey Zelkin To: java@freebsd.org Message-ID: <20031024122448.A805@phantom.cris.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: FreeBSD 4.7-STABLE i386 Subject: workaround to run Diablo at 5.x X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Oct 2003 09:15:27 -0000 hi, After few expirements with running of my own compiled jdk I can suggest workaround to those who need to run Diablo at -CURRENT. Following actions need to be done at -CURRENT machine. 1. install compat4.i386 2. copy /usr/lib/libm.so.2 from -STABLE machine to /usr/lib/compat/ at -CURRENT machine 3. Before executing of java binary make sure that you've set LD_LIBRARY_PATH to '/usr/lib/compat' value. And then run java and enjoy. From owner-freebsd-java@FreeBSD.ORG Fri Oct 24 03:34:18 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C060A16A4B3 for ; Fri, 24 Oct 2003 03:34:18 -0700 (PDT) Received: from phantom.cris.net (phantom.cris.net [212.110.130.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id B932A43F75 for ; Fri, 24 Oct 2003 03:34:16 -0700 (PDT) (envelope-from ml@FreeBSD.org.ua) Received: (from ml@localhost) by phantom.cris.net (8.12.6/8.12.6) id h9OAhcJO001181; Fri, 24 Oct 2003 13:43:38 +0300 (EEST) (envelope-from ml) Date: Fri, 24 Oct 2003 13:43:38 +0300 From: Alexey Zelkin To: "M.D. DeWar" Message-ID: <20031024134338.A1162@phantom.cris.net> References: <002101c399a0$b4565640$6a1fa8c0@ocfl061> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <002101c399a0$b4565640$6a1fa8c0@ocfl061>; from mark@s-wit.net on Thu, Oct 23, 2003 at 04:03:17PM -0400 X-Operating-System: FreeBSD 4.7-STABLE i386 cc: java@freebsd.org Subject: Re: linux-sun-jdk1.4.2 on FreeBSD 4.8 giving me pains X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Oct 2003 10:34:18 -0000 hi, On Thu, Oct 23, 2003 at 04:03:17PM -0400, M.D. DeWar wrote: > NEWBIE ALERT NEWBIE ALERT: > > When I try to run any java I get this: > > spiderman# ./java /temp/babylon-2.1_BETA/babylonServer > Exception in thread "main" java.lang.NoClassDefFoundError: > /temp/babylon-2/1_BET > A/babylonServer Can you please try following command: ./java -classpath /tmp/babylon-2.1_BETA babylonServer > I have tried to follow all the different java install instructions. > I tried kafee 1.0.7 but got some other error. > > any help greatly greatly appreciated > > Thanks > newbie Mark > > > _______________________________________________ > 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" From owner-freebsd-java@FreeBSD.ORG Fri Oct 24 03:41:07 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 90EDA16A4B3 for ; Fri, 24 Oct 2003 03:41:07 -0700 (PDT) Received: from phantom.cris.net (phantom.cris.net [212.110.130.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 132F543FCB for ; Fri, 24 Oct 2003 03:41:05 -0700 (PDT) (envelope-from ml@FreeBSD.org.ua) Received: (from ml@localhost) by phantom.cris.net (8.12.6/8.12.6) id h9OAoDRm001226; Fri, 24 Oct 2003 13:50:13 +0300 (EEST) (envelope-from ml) Date: Fri, 24 Oct 2003 13:50:13 +0300 From: Alexey Zelkin To: Sverre Froyen Message-ID: <20031024135013.B1162@phantom.cris.net> References: <20031023195905.6b2e861b.nouvelles.fraiches@free.fr> <200310231301.36656.sverre@viewmark.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200310231301.36656.sverre@viewmark.com>; from sverre@viewmark.com on Thu, Oct 23, 2003 at 01:01:36PM -0600 X-Operating-System: FreeBSD 4.7-STABLE i386 cc: netbsd-java@NetBSD.org cc: current-users@NetBSD.org cc: freebsd-java@freebsd.org Subject: Re: jdk1.4.1 patchset 4 and NetBSD X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Oct 2003 10:41:07 -0000 hi, I think guys you first need to ask Christos Zoulas about it. He has made a lot of modifications in order to get jdk compiled, but reading some of diffs I can propose that it does not work yet at all. And BTW java makefiles are creating all required directories on its own and having such error signals that something is wrong. On Thu, Oct 23, 2003 at 01:01:36PM -0600, Sverre Froyen wrote: > Hi, > > I received this error as well. Just create the missing directory and > start the build again. Unfortunately, in my case, the build fails > later when it attempts to use the new java. Running the command: > > /usr/local/src/java/control/build/bsd-i586/bin/java -version > > I get: > > Error: failed > /usr/local/src/java/control/build/bsd-i586/lib/i386/client/libjvm.so, > because > /usr/local/src/java/control/build/bsd-i586/lib/i386/client/libjvm.so: > Undefined PLT symbol "_Unwind_Resume" (symnum = 5141) > > I'm using the c++ compiler in the in-tree version of gcc 3.3.2, which is > likely the reason for the error. I assume the patchset was made for > gcc 2.95. > > Sverre > > > On torsdag 23. oktober 2003, 11:59, Thomas Girard wrote: > > Hello all, > > > > as reported here: > > http://www.netbsd.org/Changes/#j2sdk-141 > > > > the fourth patchset includes support for NetBSD-current on i386. I > > must do something wrong because I can't compile it under my > > NetBSD/i386 1.6ZD. > > > > I've followed the instructions given in the BUILD file, including > > setenv DEV_ONLY YES , and typed 'ulimit -d unlimited' before > > starting. Please note that I'm compiling on an ext2 (tuned without > > any option) partition. From owner-freebsd-java@FreeBSD.ORG Fri Oct 24 09:50:13 2003 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6ECB616A4B3 for ; Fri, 24 Oct 2003 09:50:13 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D4A0943F3F for ; Fri, 24 Oct 2003 09:50:12 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h9OGoCFY018130 for ; Fri, 24 Oct 2003 09:50:12 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h9OGoCGo018129; Fri, 24 Oct 2003 09:50:12 -0700 (PDT) (envelope-from gnats) Date: Fri, 24 Oct 2003 09:50:12 -0700 (PDT) Message-Id: <200310241650.h9OGoCGo018129@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Herve Quiroz Subject: Re: java/58450: apache-ant doesn't install etc directory X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Herve Quiroz List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Oct 2003 16:50:13 -0000 The following reply was made to PR java/58450; it has been noted by GNATS. From: Herve Quiroz To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: Re: java/58450: apache-ant doesn't install etc directory Date: Fri, 24 Oct 2003 18:37:21 +0200 I think you forgot the following in pkg-plist: @dirrm %%T%%/etc Herve From owner-freebsd-java@FreeBSD.ORG Sat Oct 25 01:54:15 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F02416A4B3 for ; Sat, 25 Oct 2003 01:54:15 -0700 (PDT) Received: from kontor.bph.rub.de (kontor.bph.ruhr-uni-bochum.de [134.147.252.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C3F743FBF for ; Sat, 25 Oct 2003 01:54:14 -0700 (PDT) (envelope-from frankw@lecroy.bph.ruhr-uni-bochum.de) Received: from localhost (localhost [127.0.0.1]) by kontor.bph.rub.de (Postfix) with ESMTP id 39C9B39AC3 for ; Sat, 25 Oct 2003 10:54:13 +0200 (CEST) Received: from lecroy.bph.ruhr-uni-bochum.de (lecroy.bph.ruhr-uni-bochum.de [134.147.196.43]) by kontor.bph.rub.de (Postfix) with ESMTP id 7F08539AC2 for ; Sat, 25 Oct 2003 10:54:10 +0200 (CEST) Received: (from frankw@localhost)h9P8sqid014806 for freebsd-java@freebsd.org; Sat, 25 Oct 2003 10:54:52 +0200 (CEST) (envelope-from frankw) Date: Sat, 25 Oct 2003 10:54:52 +0200 From: Frank Wennmohs To: freebsd-java@freebsd.org Message-ID: <20031025085452.GB14758@lecroy.bph.ruhr-uni-bochum.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-Virus-Scanned: scanned by AMaViS 0.3.12 (BPH) - Sat Oct 25 10:54:12 2003 Subject: JAP under any JDK1.3.1 on a 4.8 System? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Oct 2003 08:54:15 -0000 Hello all! I am a real fan of the JAP (Java Anon Proxy) project. Trying to get it running on a 4.8 System fails in one way or another (with a JDK1.3.1). Here is what I tried: Using the the native JDK1.3.1p8 with green threads results in core dump in a 'SeedGeneratorThread'. Using native JDK1.3.1 with native threads results in an immediate return of 'User signal 1'. Using the Linux JDK1.3.1 results in an illegal ioctl on /dev/random. The Diablo JDK1.3.1 does indeed run the JAP applet, but not every request to the personal proxy is being processed. Did anyone get JAP running correctly under FreeBSD? Or does anyone have a suggestion what I could try in addition? Thanks in advance Frank From owner-freebsd-java@FreeBSD.ORG Sat Oct 25 07:10:28 2003 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA09016A4B3 for ; Sat, 25 Oct 2003 07:10:28 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E58A543FF5 for ; Sat, 25 Oct 2003 07:10:25 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h9PEAPFY017098 for ; Sat, 25 Oct 2003 07:10:25 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h9PEAPG7017097; Sat, 25 Oct 2003 07:10:25 -0700 (PDT) (envelope-from gnats) Resent-Date: Sat, 25 Oct 2003 07:10:25 -0700 (PDT) Resent-Message-Id: <200310251410.h9PEAPG7017097@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, Anton Yudin Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E38D216A4B3 for ; Sat, 25 Oct 2003 07:03:08 -0700 (PDT) Received: from ib.com.ua (ib.com.ua [217.144.67.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD82D43FBF for ; Sat, 25 Oct 2003 07:03:06 -0700 (PDT) (envelope-from toha@ib.com.ua) Received: from ib.com.ua (localhost.ib.com.ua [127.0.0.1]) by ib.com.ua (8.12.9p1/8.12.9) with ESMTP id h9PE2NPD040860 for ; Sat, 25 Oct 2003 17:02:23 +0300 (EEST) (envelope-from toha@ib.com.ua) Received: (from root@localhost) by ib.com.ua (8.12.9p1/8.12.9/Submit) id h9PE2MIM040859; Sat, 25 Oct 2003 17:02:22 +0300 (EEST) (envelope-from toha) Message-Id: <200310251402.h9PE2MIM040859@ib.com.ua> Date: Sat, 25 Oct 2003 17:02:22 +0300 (EEST) From: Anton Yudin To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: java/58524: new port: java/jmf - Java Media Framework X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Anton Yudin List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Oct 2003 14:10:29 -0000 >Number: 58524 >Category: java >Synopsis: new port: java/jmf - Java Media Framework >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Oct 25 07:10:20 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Anton Yudin >Release: FreeBSD 4.9-PRERELEASE i386 >Organization: >Environment: System: FreeBSD . 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #0: Sat Oct 4 12:20:49 EEST 2003 root@:/obj/usr/src/sys/IB i386 >Description: new port: java/jmf - Java Media Framework >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # java/jmf # java/jmf/Makefile # java/jmf/distinfo # java/jmf/pkg-descr # java/jmf/pkg-plist # echo c - java/jmf mkdir -p java/jmf > /dev/null 2>&1 echo x - java/jmf/Makefile sed 's/^X//' >java/jmf/Makefile << 'END-of-java/jmf/Makefile' X# New ports collection makefile for: Java Media Framework X# Date created: Sat Oct 25 16:05:29 EEST 2003 X# Whom: Anton Yudin X# X# $FreeBSD$ X# X XPORTNAME= jmf XPORTVERSION= 2.1.1e XCATEGORIES= java XMASTER_SITES= #http://java.sun.com/products/java-media/jmf/2.1.1/download.html XDISTNAME= ${PORTNAME}-${PORTVERSION:S/./_/g}-alljava X XMAINTAINER= toha@toha.org.ua XCOMMENT= Java Media Framework X XUSE_JAVA= 1.2+ XUSE_ZIP= YES XNO_BUILD= YES X XJAVASHAREDIR= share/java XTDIR= ${JAVASHAREDIR}/${PKGNAME} XPLIST_SUB+= T=${TDIR} X XWRKSRC= ${WRKDIR}/JMF-${PORTVERSION} X XRESTRICTED= "Redistribution of pre-compiled binaries is not permitted" XNO_CDROM= "Redistribution of pre-compiled binaries is not permitted" XNO_PACKAGE= "Redistribution of pre-compiled binaries is not permitted" X X.include X X# Check for JMF sources X.if !exists(${DISTDIR}/${DISTFILES}) && !defined(PACKAGE_BUILDING) XECHO_MSG=/usr/bin/printf XIGNORE= :\n\ XBecause of licensing restrictions, you must fetch the source distribution\n\ Xmanually. Please access:\n\ Xhttp://java.sun.com/products/java-media/jmf/2.1.1/download.html\n\ Xwith a web browser and follow the \"Download JMF ${PORTVERSION}\" link\n\ XSelect download format: cross-platform format\n\ XPlease place this file in ${DISTDIR}.\n X.endif X Xdo-install: X cd ${WRKSRC} && ${FIND} . -type d -exec ${INSTALL} -d ${PREFIX}/${TDIR}/'{}' \; && \ X ${FIND} . -type f -exec ${INSTALL_DATA} '{}' ${PREFIX}/${TDIR}/'{}' \; X ${LN} -sf ${PREFIX}/${TDIR}/lib/jmf.jar ${PREFIX}/${JAVASHAREDIR}/classes/jmf.jar X X.include END-of-java/jmf/Makefile echo x - java/jmf/distinfo sed 's/^X//' >java/jmf/distinfo << 'END-of-java/jmf/distinfo' XMD5 (jmf-2_1_1e-alljava.zip) = 5dafc2469b22d18420ada45972a88ec0 END-of-java/jmf/distinfo echo x - java/jmf/pkg-descr sed 's/^X//' >java/jmf/pkg-descr << 'END-of-java/jmf/pkg-descr' XJava Media Framework API X XThe Java Media Framework API (JMF) enables audio, video and other Xtime-based media to be added to Java applications and applets. This Xoptional package, which can capture, playback, stream and transcode Xmultiple media formats, extends the multimedia capabilities on the XJ2SE platform, and gives multimedia developers a powerful toolkit to Xdevelop scalable, cross-platform technology. X XWWW: http://java.sun.com/products/java-media/jmf/ END-of-java/jmf/pkg-descr echo x - java/jmf/pkg-plist sed 's/^X//' >java/jmf/pkg-plist << 'END-of-java/jmf/pkg-plist' Xshare/java/classes/jmf.jar X%%T%%/bin/JMF.ico X%%T%%/bin/jmfcustomizer X%%T%%/bin/jmfinit X%%T%%/bin/jmfregistry X%%T%%/bin/jmstudio X%%T%%/doc/attributions.html X%%T%%/doc/formats.html X%%T%%/doc/readme.html X%%T%%/lib/customizer.jar X%%T%%/lib/jmf.jar X%%T%%/lib/jmf.properties X%%T%%/lib/mediaplayer.jar X%%T%%/lib/multiplayer.jar X@dirrm %%T%%/bin X@dirrm %%T%%/doc X@dirrm %%T%%/lib X@dirrm %%T%% END-of-java/jmf/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-java@FreeBSD.ORG Sat Oct 25 07:19:53 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A2A4D16A4B3 for ; Sat, 25 Oct 2003 07:19:53 -0700 (PDT) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FB5943FB1 for ; Sat, 25 Oct 2003 07:19:52 -0700 (PDT) (envelope-from rootman22@comcast.net) Received: from 12-209-185-111.client.attbi.com ([12.209.185.111]) by comcast.net (rwcrmhc12) with SMTP id <20031025141952014003hckpe>; Sat, 25 Oct 2003 14:19:52 +0000 From: Joe Warner To: java@freebsd.org Date: Sat, 25 Oct 2003 08:21:24 -0600 User-Agent: KMail/1.5.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200310250821.24466.rootman22@comcast.net> Subject: Java Processes X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Oct 2003 14:19:53 -0000 Hi, Does anyone know how to control the number of Java processes that get spawned when running one of the variants in /usr/ports/java..? I'm running linux-ibm-jdk1.3.1 and when I launch /usr/local/linux-ibm-jdk1.3.1/bin/java it spawns 5 processes of java and it's bringing my system to it's knees! There was an older version that I used to run that only spawned 1 process and my system could handle it fine. I've looked through the supplied documentation, this list and even Google and can't find any instructions on how to limit these processes. Can someone point me in the right direction? Thanks Joe From owner-freebsd-java@FreeBSD.ORG Sat Oct 25 08:04:34 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D634516A4B3 for ; Sat, 25 Oct 2003 08:04:34 -0700 (PDT) Received: from mta02-svc.ntlworld.com (mta02-svc.ntlworld.com [62.253.162.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9108A43F93 for ; Sat, 25 Oct 2003 08:04:33 -0700 (PDT) (envelope-from antony.t.curtis@ntlworld.com) Received: from [10.10.10.100] ([81.98.110.96]) by mta02-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20031025150432.QCMU8170.mta02-svc.ntlworld.com@[10.10.10.100]>; Sat, 25 Oct 2003 16:04:32 +0100 From: Antony T Curtis To: Joe Warner In-Reply-To: <200310250821.24466.rootman22@comcast.net> References: <200310250821.24466.rootman22@comcast.net> Content-Type: text/plain Message-Id: <1067094267.4901.1.camel@pcgem.rdg.cyberkinetica.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Sat, 25 Oct 2003 16:04:28 +0100 Content-Transfer-Encoding: 7bit cc: java@freebsd.org Subject: Re: Java Processes X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Oct 2003 15:04:34 -0000 On Sat, 2003-10-25 at 15:21, Joe Warner wrote: > Hi, > > Does anyone know how to control the number of Java processes that get spawned > when running one of the variants in /usr/ports/java..? I'm running > linux-ibm-jdk1.3.1 and when I launch /usr/local/linux-ibm-jdk1.3.1/bin/java > it spawns 5 processes of java and it's bringing my system to it's knees! > There was an older version that I used to run that only spawned 1 process and > my system could handle it fine. Each thread in a Linux binary becomes 1 process under FreeBSD. > I've looked through the supplied documentation, this list and even Google and > can't find any instructions on how to limit these processes. Try using -classic option. -- Antony T Curtis BSc Unix Analyst Programmer http://homepage.ntlworld.com/antony.t.curtis/ From owner-freebsd-java@FreeBSD.ORG Sat Oct 25 09:01:33 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4512316A4B3 for ; Sat, 25 Oct 2003 09:01:33 -0700 (PDT) Received: from azrael.xs4all.nl (azrael.xs4all.nl [213.84.50.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id C626243F3F for ; Sat, 25 Oct 2003 09:01:31 -0700 (PDT) (envelope-from remco@azrael.xs4all.nl) Received: from azrael.xs4all.nl (localhost.xs4all.nl [127.0.0.1]) by azrael.xs4all.nl (8.12.8p1/8.12.8) with ESMTP id h9PG14US090825; Sat, 25 Oct 2003 18:01:05 +0200 (CEST) (envelope-from remco@azrael.xs4all.nl) Received: (from remco@localhost) by azrael.xs4all.nl (8.12.8p1/8.12.8/Submit) id h9PG13TH090824; Sat, 25 Oct 2003 18:01:03 +0200 (CEST) Date: Sat, 25 Oct 2003 18:01:03 +0200 From: "Remco van 't Veer" To: Alexey Zelkin Message-ID: <20031025160103.GC7723@azrael.xs4all.nl> References: <20031023122839.A75570@phantom.cris.net> <20031023104836.GB7723@azrael.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031023104836.GB7723@azrael.xs4all.nl> User-Agent: Mutt/1.5.4i cc: java@freebsd.org Subject: Re: jdk14 fork() problem fix X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Oct 2003 16:01:33 -0000 Hi, I've been running ant (with external processes like jikes and javadoc), compiling jsps and doing other stuff which fork processes with a jvm including your patch but I can't reproduce to problem. This ofcourse only proves my inability to repeat this bug and not that the problem has been fixed.. The hanging processes actually happend quiet often so I can say is much harder to reproduce. ;) I ran these tests on my FreeBSD 4.8 system. Does you remark about kse and thr mean this problem does not occure on systems using these technologies? Anyway, I am really happy with this patch and hope it will be included in the next version. Thank you for your fantastic work. Remco On Thu, Oct 23, 2003 at 12:48, Remco van 't Veer wrote: > Thanx! I have a new compile running right now. It will take > more than 10 hours to finish on my poor P3 so I hope to have some > test results for you tomorrow. > > Remco > > > On Thu, Oct 23, 2003 at 12:28, Alexey Zelkin wrote: > > > hi, > > > > This is an intermediate version of fix of jdk fork problem (i.e. > > Runtime.getRuntime().exec() and friends). > > > > It does affect only people who use libc_r (kse and thr should not > > be affected). > > > > Please try this one and report me if it fixes problems for you. > > > > PS: If you are rebuilding already built jdk (i.e. object files are > > already compiled) remove 'control/build/bsd-i586/tmp/java/java.lang' directory > > before restarting of build. > > > > Index: UNIXProcess_md.c.bsd > > =================================================================== > > RCS file: /home/jdk14-cvs/jdk142-src/j2se/src/solaris/native/java/lang/UNIXProcess_md.c.bsd,v > > retrieving revision 1.2 > > diff -u -r1.2 UNIXProcess_md.c.bsd > > --- UNIXProcess_md.c.bsd 15 Oct 2003 15:49:39 -0000 1.2 > > +++ UNIXProcess_md.c.bsd 23 Oct 2003 10:20:48 -0000 > > @@ -22,6 +22,12 @@ > > #include > > #include > > > > +#if defined(__FreeBSD__) > > +#include > > +#include > > +#include > > +#endif > > + > > /* path in the environment */ > > static char **PATH = 0; > > /* effective uid */ > > @@ -228,6 +234,61 @@ > > } > > } > > > > +#if defined(__FreeBSD__) > > + > > +extern pid_t __sys_fork(void); > > + > > +static pid_t > > +jdk_fork_wrapper() > > +{ > > + pid_t resultPid; > > +#if (__FreeBSD_version < 5) > > + static int is_libc_r = -1; > > + void *funcref; > > + > > + if (is_libc_r == -1) { > > + is_libc_r = 1; > > + > > + /* > > + * BSDNOTE: Check for loaded symbols. > > + * > > + * If "_thr_critical_enter" is found assume we are using 'libthr'. > > + * If _kse_critical_enter is found assume we are using 'libkse'. > > + * Otherwise we are using libc_r. > > + * > > + * If libc_r is loaded, use fork system call drectly to avoid > > + * problems with using protected pages. > > + * > > + * --phantom > > + */ > > + funcref = dlsym(RTLD_DEFAULT, "_kse_critical_enter"); > > + if (funcref != NULL) > > + is_libc_r = 0; > > + else { > > + funcref = dlsym(RTLD_DEFAULT, "_thr_critical_enter"); > > + if (funcref != NULL) > > + is_libc_r = 0; > > + } > > + } > > + > > + if (is_libc_r == 0) { > > + /* Not a libc_r */ > > + resultPid = fork(); > > + } else { > > +#endif /* __FreeBSD_version < 5 */ > > + pthread_suspend_all_np(); > > + resultPid = __sys_fork(); > > + if (resultPid != 0) > > + /* leave child in single threading mode */ > > + pthread_resume_all_np(); > > +#if (__FreeBSD_version < 5) > > + } > > +#endif /* __FreeBSD_version < 5 */ > > + > > + return resultPid; > > +} > > +#endif /* __FreeBSD__ */ > > + > > JNIEXPORT jint JNICALL > > Java_java_lang_UNIXProcess_forkAndExec(JNIEnv *env, > > jobject process, > > @@ -335,8 +396,12 @@ > > if (path != NULL) { > > cwd = (char *)JNU_GetStringPlatformChars(env, path, NULL); > > } > > - > > + > > +#if defined(__FreeBSD__) > > + resultPid = jdk_fork_wrapper(); > > +#else > > resultPid = fork(); > > +#endif > > > > if (resultPid < 0) { > > char errmsg[128]; > > _______________________________________________ > > 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" > > -- > _______________________________________________ > 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" -- From owner-freebsd-java@FreeBSD.ORG Sat Oct 25 10:31:07 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8936A16A4B3 for ; Sat, 25 Oct 2003 10:31:07 -0700 (PDT) Received: from phantom.cris.net (phantom.cris.net [212.110.130.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 838B743FA3 for ; Sat, 25 Oct 2003 10:31:04 -0700 (PDT) (envelope-from phantom@FreeBSD.org.ua) Received: (from phantom@localhost) by phantom.cris.net (8.12.6/8.12.6) id h9PHeTLo002273; Sat, 25 Oct 2003 20:40:29 +0300 (EEST) (envelope-from phantom) Date: Sat, 25 Oct 2003 20:40:29 +0300 From: Alexey Zelkin To: "Remco van 't Veer" Message-ID: <20031025204029.A2230@phantom.cris.net> References: <20031023122839.A75570@phantom.cris.net> <20031023104836.GB7723@azrael.xs4all.nl> <20031025160103.GC7723@azrael.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20031025160103.GC7723@azrael.xs4all.nl>; from rwvtveer@xs4all.nl on Sat, Oct 25, 2003 at 06:01:03PM +0200 X-Operating-System: FreeBSD 4.7-STABLE i386 cc: java@freebsd.org Subject: Re: jdk14 fork() problem fix X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Oct 2003 17:31:07 -0000 hi, On Sat, Oct 25, 2003 at 06:01:03PM +0200, Remco van 't Veer wrote: > I've been running ant (with external processes like jikes and > javadoc), compiling jsps and doing other stuff which fork > processes with a jvm including your patch but I can't reproduce > to problem. This ofcourse only proves my inability to repeat > this bug and not that the problem has been fixed.. The hanging > processes actually happend quiet often so I can say is much > harder to reproduce. ;) If problem persist then you'll notice processes which eats much of system time and not exiting without SIGKILL. > I ran these tests on my FreeBSD 4.8 system. Does you remark > about kse and thr mean this problem does not occure on systems > using these technologies? No. This problem is libc_r specific. > Anyway, I am really happy with this patch and hope it will be > included in the next version. Thank you for your fantastic work. Sure. Thank you for report! > On Thu, Oct 23, 2003 at 12:48, Remco van 't Veer wrote: > > > Thanx! I have a new compile running right now. It will take > > more than 10 hours to finish on my poor P3 so I hope to have some > > test results for you tomorrow. > > > > Remco > > > > > > On Thu, Oct 23, 2003 at 12:28, Alexey Zelkin wrote: > > > > > hi, > > > > > > This is an intermediate version of fix of jdk fork problem (i.e. > > > Runtime.getRuntime().exec() and friends). > > > > > > It does affect only people who use libc_r (kse and thr should not > > > be affected). > > > > > > Please try this one and report me if it fixes problems for you. > > > > > > PS: If you are rebuilding already built jdk (i.e. object files are > > > already compiled) remove 'control/build/bsd-i586/tmp/java/java.lang' directory > > > before restarting of build. > > > > > > Index: UNIXProcess_md.c.bsd > > > =================================================================== > > > RCS file: /home/jdk14-cvs/jdk142-src/j2se/src/solaris/native/java/lang/UNIXProcess_md.c.bsd,v > > > retrieving revision 1.2 > > > diff -u -r1.2 UNIXProcess_md.c.bsd > > > --- UNIXProcess_md.c.bsd 15 Oct 2003 15:49:39 -0000 1.2 > > > +++ UNIXProcess_md.c.bsd 23 Oct 2003 10:20:48 -0000 > > > @@ -22,6 +22,12 @@ > > > #include > > > #include > > > > > > +#if defined(__FreeBSD__) > > > +#include > > > +#include > > > +#include > > > +#endif > > > + > > > /* path in the environment */ > > > static char **PATH = 0; > > > /* effective uid */ > > > @@ -228,6 +234,61 @@ > > > } > > > } > > > > > > +#if defined(__FreeBSD__) > > > + > > > +extern pid_t __sys_fork(void); > > > + > > > +static pid_t > > > +jdk_fork_wrapper() > > > +{ > > > + pid_t resultPid; > > > +#if (__FreeBSD_version < 5) > > > + static int is_libc_r = -1; > > > + void *funcref; > > > + > > > + if (is_libc_r == -1) { > > > + is_libc_r = 1; > > > + > > > + /* > > > + * BSDNOTE: Check for loaded symbols. > > > + * > > > + * If "_thr_critical_enter" is found assume we are using 'libthr'. > > > + * If _kse_critical_enter is found assume we are using 'libkse'. > > > + * Otherwise we are using libc_r. > > > + * > > > + * If libc_r is loaded, use fork system call drectly to avoid > > > + * problems with using protected pages. > > > + * > > > + * --phantom > > > + */ > > > + funcref = dlsym(RTLD_DEFAULT, "_kse_critical_enter"); > > > + if (funcref != NULL) > > > + is_libc_r = 0; > > > + else { > > > + funcref = dlsym(RTLD_DEFAULT, "_thr_critical_enter"); > > > + if (funcref != NULL) > > > + is_libc_r = 0; > > > + } > > > + } > > > + > > > + if (is_libc_r == 0) { > > > + /* Not a libc_r */ > > > + resultPid = fork(); > > > + } else { > > > +#endif /* __FreeBSD_version < 5 */ > > > + pthread_suspend_all_np(); > > > + resultPid = __sys_fork(); > > > + if (resultPid != 0) > > > + /* leave child in single threading mode */ > > > + pthread_resume_all_np(); > > > +#if (__FreeBSD_version < 5) > > > + } > > > +#endif /* __FreeBSD_version < 5 */ > > > + > > > + return resultPid; > > > +} > > > +#endif /* __FreeBSD__ */ > > > + > > > JNIEXPORT jint JNICALL > > > Java_java_lang_UNIXProcess_forkAndExec(JNIEnv *env, > > > jobject process, > > > @@ -335,8 +396,12 @@ > > > if (path != NULL) { > > > cwd = (char *)JNU_GetStringPlatformChars(env, path, NULL); > > > } > > > - > > > + > > > +#if defined(__FreeBSD__) > > > + resultPid = jdk_fork_wrapper(); > > > +#else > > > resultPid = fork(); > > > +#endif > > > > > > if (resultPid < 0) { > > > char errmsg[128]; > > > _______________________________________________ > > > 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" > > > > -- > > _______________________________________________ > > 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" > > -- From owner-freebsd-java@FreeBSD.ORG Sat Oct 25 14:12:26 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E49C316A4B3; Sat, 25 Oct 2003 14:12:26 -0700 (PDT) Received: from enteljoven2.enteljoven.cl (enteljoven2.enteljoven.cl [164.77.63.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0E1743F93; Sat, 25 Oct 2003 14:12:25 -0700 (PDT) (envelope-from rdeiriar@spock.cl) Received: from spock.cl (CM600-lconC1-16-33.cm.vtr.net [200.104.16.33]) (AUTH: CRAM-MD5 roberto@spock.cl) by enteljoven2.enteljoven.cl with esmtp; Sat, 25 Oct 2003 18:12:38 -0300 Message-ID: <3F9AE749.7050307@spock.cl> Date: Sat, 25 Oct 2003 18:12:41 -0300 From: Roberto de Iriarte User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031023 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-mozilla@freebsd.org, freebsd-java@freebsd.org References: <20031023122839.A75570@phantom.cris.net> <20031023104836.GB7723@azrael.xs4all.nl> <20031025160103.GC7723@azrael.xs4all.nl> <20031025204029.A2230@phantom.cris.net> In-Reply-To: <20031025204029.A2230@phantom.cris.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: jdk14 fork() problem fix X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Oct 2003 21:12:27 -0000 [Crossposted to freebsd-mozilla@freebsd.org and freebsd-java@freebsd.org] I have experienced a similar problem when running flashpluginwrapper-20031006 (A wrapper libraryto allow the linux plugin for Macromedia Flash to be used with native mozilla), as well as the native 1.4.1 patchlevel 4 plugin with Mozlla, with libc_r (The problem does not manifest itself under 5-CURRENT with libkse). I've been unable to reproduce the bug with your patch applied, Regards and thanks for everything. Roberto. Alexey Zelkin wrote: hi, On Sat, Oct 25, 2003 at 06:01:03PM +0200, Remco van 't Veer wrote: >> I've been running ant (with external processes like jikes and >> javadoc), compiling jsps and doing other stuff which fork >> processes with a jvm including your patch but I can't reproduce >> to problem. This ofcourse only proves my inability to repeat >> this bug and not that the problem has been fixed.. The hanging >> processes actually happend quiet often so I can say is much >> harder to reproduce. > > If problem persist then you'll notice processes which eats much of system time and not exiting without SIGKILL. >> I ran these tests on my FreeBSD 4.8 system. Does you remark >> about kse and thr mean this problem does not occure on systems >> using these technologies? > > No. This problem is libc_r specific. >> Anyway, I am really happy with this patch and hope it will be >> included in the next version. Thank you for your fantastic work. > > Sure. Thank you for report! >> On Thu, Oct 23, 2003 at 12:48, Remco van 't Veer wrote: >> > > >>> > Thanx! I have a new compile running right now. It will take >>> > more than 10 hours to finish on my poor P3 so I hope to have some >>> > test results for you tomorrow. >>> > >>> > Remco >>> > >>> > >>> > On Thu, Oct 23, 2003 at 12:28, Alexey Zelkin wrote: >>> > >> >> >>>> > > hi, >>>> > > >>>> > > This is an intermediate version of fix of jdk fork problem (i.e. >>>> > > Runtime.getRuntime().exec() and friends). >>>> > > >>>> > > It does affect only people who use libc_r (kse and thr should not >>>> > > be affected). >>>> > > >>>> > > Please try this one and report me if it fixes problems for you. >>>> > > >>>> > > PS: If you are rebuilding already built jdk (i.e. object files are >>>> > > already compiled) remove 'control/build/bsd-i586/tmp/java/java.lang' directory >>>> > > before restarting of build. >>>> > > >>>> > > Index: UNIXProcess_md.c.bsd >>>> > > =================================================================== >>>> > > RCS file: /home/jdk14-cvs/jdk142-src/j2se/src/solaris/native/java/lang/UNIXProcess_md.c.bsd,v >>>> > > retrieving revision 1.2 >>>> > > diff -u -r1.2 UNIXProcess_md.c.bsd >>>> > > --- UNIXProcess_md.c.bsd 15 Oct 2003 15:49:39 -0000 1.2 >>>> > > +++ UNIXProcess_md.c.bsd 23 Oct 2003 10:20:48 -0000 >>>> > > @@ -22,6 +22,12 @@ >>>> > > #include >>>> > > #include >>>> > > >>>> > > +#if defined(__FreeBSD__) >>>> > > +#include >>>> > > +#include >>>> > > +#include >>>> > > +#endif >>>> > > + >>>> > > /* path in the environment */ >>>> > > static char **PATH = 0; >>>> > > /* effective uid */ >>>> > > @@ -228,6 +234,61 @@ >>>> > > } >>>> > > } >>>> > > >>>> > > +#if defined(__FreeBSD__) >>>> > > + >>>> > > +extern pid_t __sys_fork(void); >>>> > > + >>>> > > +static pid_t >>>> > > +jdk_fork_wrapper() >>>> > > +{ >>>> > > + pid_t resultPid; >>>> > > +#if (__FreeBSD_version < 5) >>>> > > + static int is_libc_r = -1; >>>> > > + void *funcref; >>>> > > + >>>> > > + if (is_libc_r == -1) { >>>> > > + is_libc_r = 1; >>>> > > + >>>> > > + /* >>>> > > + * BSDNOTE: Check for loaded symbols. >>>> > > + * >>>> > > + * If "_thr_critical_enter" is found assume we are using 'libthr'. >>>> > > + * If _kse_critical_enter is found assume we are using 'libkse'. >>>> > > + * Otherwise we are using libc_r. >>>> > > + * >>>> > > + * If libc_r is loaded, use fork system call drectly to avoid >>>> > > + * problems with using protected pages. >>>> > > + * >>>> > > + * --phantom >>>> > > + */ >>>> > > + funcref = dlsym(RTLD_DEFAULT, "_kse_critical_enter"); >>>> > > + if (funcref != NULL) >>>> > > + is_libc_r = 0; >>>> > > + else { >>>> > > + funcref = dlsym(RTLD_DEFAULT, "_thr_critical_enter"); >>>> > > + if (funcref != NULL) >>>> > > + is_libc_r = 0; >>>> > > + } >>>> > > + } >>>> > > + >>>> > > + if (is_libc_r == 0) { >>>> > > + /* Not a libc_r */ >>>> > > + resultPid = fork(); >>>> > > + } else { >>>> > > +#endif /* __FreeBSD_version < 5 */ >>>> > > + pthread_suspend_all_np(); >>>> > > + resultPid = __sys_fork(); >>>> > > + if (resultPid != 0) >>>> > > + /* leave child in single threading mode */ >>>> > > + pthread_resume_all_np(); >>>> > > +#if (__FreeBSD_version < 5) >>>> > > + } >>>> > > +#endif /* __FreeBSD_version < 5 */ >>>> > > + >>>> > > + return resultPid; >>>> > > +} >>>> > > +#endif /* __FreeBSD__ */ >>>> > > + >>>> > > JNIEXPORT jint JNICALL >>>> > > Java_java_lang_UNIXProcess_forkAndExec(JNIEnv *env, >>>> > > jobject process, >>>> > > @@ -335,8 +396,12 @@ >>>> > > if (path != NULL) { >>>> > > cwd = (char *)JNU_GetStringPlatformChars(env, path, NULL); >>>> > > } >>>> > > - >>>> > > + >>>> > > +#if defined(__FreeBSD__) >>>> > > + resultPid = jdk_fork_wrapper(); >>>> > > +#else >>>> > > resultPid = fork(); >>>> > > +#endif >>>> > > >>>> > > if (resultPid < 0) { >>>> > > char errmsg[128]; >>>> > > _______________________________________________ >>> From owner-freebsd-java@FreeBSD.ORG Sat Oct 25 16:01:01 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A02EB16A4B3 for ; Sat, 25 Oct 2003 16:01:01 -0700 (PDT) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2D2843FCB for ; Sat, 25 Oct 2003 16:01:00 -0700 (PDT) (envelope-from rootman22@comcast.net) Received: from 12-209-185-111.client.attbi.com ([12.209.185.111]) by comcast.net (sccrmhc13) with SMTP id <200310252300590160033anse>; Sat, 25 Oct 2003 23:01:00 +0000 From: Joe Warner To: Antony T Curtis Date: Sat, 25 Oct 2003 17:02:27 -0600 User-Agent: KMail/1.5.4 References: <200310250821.24466.rootman22@comcast.net> <1067094267.4901.1.camel@pcgem.rdg.cyberkinetica.com> In-Reply-To: <1067094267.4901.1.camel@pcgem.rdg.cyberkinetica.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200310251702.27618.rootman22@comcast.net> cc: java@freebsd.org Subject: Re: Java Processes X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Oct 2003 23:01:01 -0000 On Saturday 25 October 2003 09:04 am, Antony T Curtis wrote: > On Sat, 2003-10-25 at 15:21, Joe Warner wrote: > > Hi, > > > > Does anyone know how to control the number of Java processes that get > > spawned when running one of the variants in /usr/ports/java..? I'm > > running linux-ibm-jdk1.3.1 and when I launch > > /usr/local/linux-ibm-jdk1.3.1/bin/java it spawns 5 processes of java and > > it's bringing my system to it's knees! There was an older version that I > > used to run that only spawned 1 process and my system could handle it > > fine. > > Each thread in a Linux binary becomes 1 process under FreeBSD. > > > I've looked through the supplied documentation, this list and even Google > > and can't find any instructions on how to limit these processes. > > Try using -classic option. What kind of option is that? Java command line or make option? Thanks Joe From owner-freebsd-java@FreeBSD.ORG Sat Oct 25 17:08:20 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D9BCA16A4B3 for ; Sat, 25 Oct 2003 17:08:20 -0700 (PDT) Received: from mta05-svc.ntlworld.com (mta05-svc.ntlworld.com [62.253.162.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 847BA43FDF for ; Sat, 25 Oct 2003 17:08:19 -0700 (PDT) (envelope-from antony.t.curtis@ntlworld.com) Received: from [10.10.10.100] ([81.98.110.96]) by mta05-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20031026000816.ECAA2197.mta05-svc.ntlworld.com@[10.10.10.100]>; Sun, 26 Oct 2003 01:08:16 +0100 From: Antony T Curtis To: Joe Warner In-Reply-To: <200310251702.27618.rootman22@comcast.net> References: <200310250821.24466.rootman22@comcast.net> <1067094267.4901.1.camel@pcgem.rdg.cyberkinetica.com> <200310251702.27618.rootman22@comcast.net> Content-Type: text/plain Message-Id: <1067126895.4901.3.camel@pcgem.rdg.cyberkinetica.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Sun, 26 Oct 2003 01:08:15 +0100 Content-Transfer-Encoding: 7bit cc: java@freebsd.org Subject: Re: Java Processes X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Oct 2003 00:08:21 -0000 On Sun, 2003-10-26 at 00:02, Joe Warner wrote: > On Saturday 25 October 2003 09:04 am, Antony T Curtis wrote: > > On Sat, 2003-10-25 at 15:21, Joe Warner wrote: > > > Hi, > > > > > > Does anyone know how to control the number of Java processes that get > > > spawned when running one of the variants in /usr/ports/java..? I'm > > > running linux-ibm-jdk1.3.1 and when I launch > > > /usr/local/linux-ibm-jdk1.3.1/bin/java it spawns 5 processes of java and > > > it's bringing my system to it's knees! There was an older version that I > > > used to run that only spawned 1 process and my system could handle it > > > fine. > > > > Each thread in a Linux binary becomes 1 process under FreeBSD. > > > > > I've looked through the supplied documentation, this list and even Google > > > and can't find any instructions on how to limit these processes. > > > > Try using -classic option. > > What kind of option is that? Java command line or make option? The first option on the java command line. Alternatively, you can use JDK1.3 (Diablo) on FreeBSD, it will only create one process. -- Antony T Curtis BSc Unix Analyst Programmer http://homepage.ntlworld.com/antony.t.curtis/