From owner-freebsd-java Mon Jan 20 23:38: 8 2003 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 8357537B401 for ; Mon, 20 Jan 2003 23:38:07 -0800 (PST) Received: from gddsn.org.cn (mail.gddsn.org.cn [210.21.6.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id B516943F6D for ; Mon, 20 Jan 2003 23:38:06 -0800 (PST) (envelope-from wsk@ns.gddsn.org.cn) Received: from mail.gddsn.org.cn (wsk [192.168.168.136]) by gddsn.org.cn (Postfix) with ESMTP id B851038CBCE for ; Tue, 21 Jan 2003 15:37:59 +0800 (CST) Message-ID: <3E2CF8D9.7040902@mail.gddsn.org.cn> Date: Tue, 21 Jan 2003 15:38:01 +0800 From: Suken Woo User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; zh-CN; rv:1.1) Gecko/20021218 X-Accept-Language: zh-cn, en-us, en MIME-Version: 1.0 To: java@freebsd.org Subject: JIT compiler could not be found with jdk1.3.1p7? Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org hi,all: the JIT compiler could not be found with jdk1.3.1p7 under FBSD4.7R but i does work fine with jdk1.3.1p6 under 4.5 STABLE. any ideas? bestRegards --Warning: JIT compiler "OpenJIT" not found. Will use interpreter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jan 21 11: 2:44 2003 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 2444B37B401 for ; Tue, 21 Jan 2003 11:02:43 -0800 (PST) Received: from mail.tinkerbox.org (adsl-64-168-139-138.dsl.snfc21.pacbell.net [64.168.139.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6C2B43E4A for ; Tue, 21 Jan 2003 11:02:37 -0800 (PST) (envelope-from bruno@tinkerbox.org) Received: from duron.bschwand.net (duron.bschwand.net [192.168.137.4]) by mail.tinkerbox.org (Postfix) with ESMTP id 0FADE19CD for ; Tue, 21 Jan 2003 11:16:29 -0800 (PST) Date: Tue, 21 Jan 2003 11:16:28 -0800 (PST) From: bruno schwander X-Sender: bruno@duron.bschwand.net To: java@freebsd.org Subject: jdk13 freebsd build failure Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I get this rm -f ../../../build/bsd-i386/tmp/sun/javax.sound/jsound/.classes.list if [ -s ../../../build/bsd-i386/tmp/sun/javax.sound/jsound/.classes.list ] ; \ then ../../../build/bsd-i386/bin/javac -J-Xms16m -J-Xmx256m -J-Djava.compiler=NONE -classpath ../../../build/bsd-i386/classes -bootclasspath "" -sourcepath "../../../build/bsd-i386/gensrc:../../../src/solaris/classes:../../../src/share/classes" -d ../../../build/bsd-i386/classes \ ; \ fi gmake[3]: *** No rule to make target `../../../build/bsd-i386/classes/META-INF/services/javax.sound.sampled.spi.FormatConversionProvider', needed by `copy-files'. Stop. gmake[3]: Leaving directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/javax/sound' gmake[2]: *** [optimized] Error 2 gmake[2]: Leaving directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/javax/sound' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/javax' gmake: *** [all] Error 1 *** Error code 2 Stop in /usr/ports/java/jdk13. when trying to build jdk13. I just cvsup'ed my ports tree. Running 4.6 stable. Any workaround/fix ? Thanks bruno To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jan 21 15:12:56 2003 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 2499D37B405 for ; Tue, 21 Jan 2003 15:12:55 -0800 (PST) Received: from www.kjkoster.org (213-84-106-195.adsl.xs4all.nl [213.84.106.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7838643F6B for ; Tue, 21 Jan 2003 15:12:45 -0800 (PST) (envelope-from kjkoster@kjkoster.org) Received: from kjkoster.org (LikeEver [192.168.0.1]) by www.kjkoster.org (8.12.6/8.12.5) with ESMTP id h0LNE5ae025346 for ; Wed, 22 Jan 2003 00:14:08 +0100 (CET) (envelope-from kjkoster@kjkoster.org) Message-ID: <3E2DD42E.F869D0EC@kjkoster.org> Date: Wed, 22 Jan 2003 00:13:50 +0100 From: Kees Jan Koster X-Mailer: Mozilla 4.8 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: FreeBSD Java Mailinglist Subject: ports/47245: daemonctl scribbles over log file when single file is specified Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Dear All, I have proposed a patch to the daemonctl program that some of you may use to control JSP or EJB containers. I found a problem where log files are mangled when you point stdout and stderr to one and the same file. I believe the following ports are affected. java/jboss2 java/jboss3 www/orion www/orion-devel www/jakarta-tomcat3 www/jakarta-tomcat4 www/jakarta-tomcat41 http://www.freebsd.org/cgi/query-pr.cgi?pr=47245 I would appreciate it if you could test the patch at the bottom of the page (not the earlier one) and send post your feedback. Thank you for your time. Kees Jan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jan 21 16:40:47 2003 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 F0E8E37B401 for ; Tue, 21 Jan 2003 16:40:45 -0800 (PST) Received: from gddsn.org.cn (mail.gddsn.org.cn [210.21.6.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2602943EB2 for ; Tue, 21 Jan 2003 16:40:45 -0800 (PST) (envelope-from wsk@ns.gddsn.org.cn) Received: from mail.gddsn.org.cn (wsk [192.168.168.136]) by gddsn.org.cn (Postfix) with ESMTP id DB02138CBCE; Wed, 22 Jan 2003 08:40:37 +0800 (CST) Message-ID: <3E2DE886.5040908@mail.gddsn.org.cn> Date: Wed, 22 Jan 2003 08:40:38 +0800 From: Suken Woo User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; zh-CN; rv:1.1) Gecko/20021218 X-Accept-Language: zh-cn, en-us, en MIME-Version: 1.0 To: Clive Lin , java Subject: Re: JIT compiler could not be found with jdk1.3.1p7? References: <3E2CF8D9.7040902@mail.gddsn.org.cn> <20030121142855.GA35820@fatpipi.cirx.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Clive Lin : >reinstall openjit perhaps? > >On Tue, Jan 21, 2003 at 03:38:01PM +0800, Suken Woo wrote: > > >>hi,all: >>the JIT compiler could not be found with jdk1.3.1p7 under FBSD4.7R >>but i does work fine with jdk1.3.1p6 under 4.5 STABLE. any ideas? >>bestRegards >> >>--Warning: JIT compiler "OpenJIT" not found. Will use interpreter >> >> >>To Unsubscribe: send mail to majordomo@FreeBSD.org >>with "unsubscribe freebsd-java" in the body of the message >> I'd been do it as you say before ,but it still does't work. confused! >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Jan 22 4:23:46 2003 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 0059837B401 for ; Wed, 22 Jan 2003 04:23:45 -0800 (PST) Received: from gddsn.org.cn (mail.gddsn.org.cn [210.21.6.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C01243EB2 for ; Wed, 22 Jan 2003 04:23:45 -0800 (PST) (envelope-from wsk@ns.gddsn.org.cn) Received: from mail.gddsn.org.cn (wsk [192.168.168.136]) by gddsn.org.cn (Postfix) with ESMTP id 3AF3838CBCE; Wed, 22 Jan 2003 20:23:37 +0800 (CST) Message-ID: <3E2E8D4C.1060106@mail.gddsn.org.cn> Date: Wed, 22 Jan 2003 20:23:40 +0800 From: Suken Woo User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; zh-CN; rv:1.1) Gecko/20021218 X-Accept-Language: zh-cn, en-us, en MIME-Version: 1.0 To: Achilleus Mantzios , java Subject: Re: JIT compiler could not be found with jdk1.3.1p7? References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Achilleus Mantzios : >On Wed, 22 Jan 2003, Suken Woo wrote: > > >For OpenJIT, >you will only need /jre/classes/org/OpenJIT/*.class >(or the .jar file in ../../lib) >and the /jre/lib/i386/libOpenJIT.so > > > > yup,I do it as u said and it work fine under FBSD4.5 STABLE with jdk1.3.1 p6 but except my OS(4.7R jdk1.3.1 p7). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Jan 22 8:33:42 2003 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 6DE5937B401 for ; Wed, 22 Jan 2003 08:33:40 -0800 (PST) Received: from baraca.united.net.ua (ns.united.net.ua [193.111.8.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5C2D43F18 for ; Wed, 22 Jan 2003 08:33:37 -0800 (PST) (envelope-from sobomax@portaone.com) Received: from vega.vega.com (root@xDSL-2-2.united.net.ua [193.111.9.226]) by baraca.united.net.ua (8.12.6/8.12.6) with ESMTP id h0MGXRWd056634; Wed, 22 Jan 2003 18:33:33 +0200 (EET) (envelope-from sobomax@portaone.com) Received: from portaone.com (big_brother.vega.com [192.168.1.1]) by vega.vega.com (8.12.6/8.12.5) with ESMTP id h0MGXaUk043319; Wed, 22 Jan 2003 18:33:36 +0200 (EET) (envelope-from sobomax@portaone.com) Message-ID: <3E2EC7E7.1D52D115@portaone.com> Date: Wed, 22 Jan 2003 18:33:43 +0200 From: Maxim Sobolev Organization: Porta Software Ltd X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) X-Accept-Language: en,uk,ru MIME-Version: 1.0 To: java@freebsd.org Cc: Trofimov Dmitry Subject: [Fwd: jdk23 + ports] Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Folks, Please help. -Maxim -------- Original Message -------- Subject: jdk23 + ports Date: Wed, 22 Jan 2003 15:05:41 +0200 From: Trofimov Dmitry To: sobomax@FreeBSD.org Port jdk13 didn't compiles. make error. I use FreeBSD 4.7p3. ports collection updates 20.01.2003 class=`echo sun_plugin_security_TrustDecider | sed s/_/./g` ; \ /usr/ports/java/jdk13/work/j2sdk1.3.1/build/bsd-i386/bin/javah -jni -d ../../tmp/bsd/i386/CClassHeaders $class gcc -Wall -D_GNU_SOURCE -DXP_UNIX -DVERSION="\"1.3.1-p7-dmitry-030121-18:16\"" -DDATE="\"ÑÎ×-21-2003\"" -DARCH="\"i386\"" -DRAPTOR_API -DNEW_STREAMING_API -c -I/usr/local/include -O -I../../oji-plugin/src/motif/common -o ../../tmp/bsd/i386/utils.o ../../oji-plugin/src/motif/common/utils.c g++ -Wall -Wno-unused -Wconversion -c -I/usr/local/include -O -D_GNU_SOURCE -DXP_UNIX -DVERSION="\"1.3.1-p7-dmitry-030121-18:16\"" -DDATE="\"ÑÎ×-21-2003\"" -DARCH="\"i386\"" -DRAPTOR_API -DNEW_STREAMING_API -I../../oji-plugin/include/solaris/navig4/nspr -I../../oji-plugin/include/solaris/navig4/xpcom -I../../oji-plugin/include/solaris/navig4/caps -I../../oji-plugin/include/solaris/navig4/js -I../../oji-plugin/include/solaris/navig4/raptor -I../../tmp/bsd/i386/CClassHeaders -I../../oji-plugin/include/solaris/navig4/oji -I../../oji-plugin/include/solaris/navig4/plugin -I../../oji-plugin/src/motif/common -I../../oji-plugin/src/motif/navig4 -I/usr/X11R6/include -I../../oji-plugin/src/motif/badapter -I../../../../src/share/javavm/export -I../../../../src/solaris/javavm/export -I/usr/X11R6/include -o ../../tmp/bsd/i386/GetFactory.o ../../oji-plugin/src/motif/common/GetFactory.cpp In file included from ../../oji-plugin/src/motif/navig4/Navig4.h:17, from ../../oji-plugin/src/motif/common/GetFactory.cpp:56: /usr/local/include/utils.h: In function `char * copystring(const char *)': /usr/local/include/utils.h:94: ANSI C++ forbids implicit conversion from `void *' in initialization /usr/local/include/utils.h: In function `char * catstring(char *, const char *)': /usr/local/include/utils.h:104: ANSI C++ forbids implicit conversion from `void *' in assignment /usr/local/include/utils.h:106: ANSI C++ forbids implicit conversion from `void *' in assignment ../../oji-plugin/src/motif/common/GetFactory.cpp: In function `void version_error(char *)': ../../oji-plugin/src/motif/common/GetFactory.cpp:91: implicit declaration of function `int plugin_error(...)' ../../oji-plugin/src/motif/common/GetFactory.cpp: In function `nsresult JPI_NSGetFactory(nsISupports *, const nsCID &, const char *, const char *, nsIFactory **)': ../../oji-plugin/src/motif/common/GetFactory.cpp:156: implicit declaration of function `int load_function(...)' ../../oji-plugin/src/motif/common/GetFactory.cpp:160: implicit declaration of function `int init_utils(...)' gmake[1]: *** [../../tmp/bsd/i386/GetFactory.o] ïÛÉÂËÁ 1 gmake[1]: Leaving directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/ext/plugin/build/solaris' gmake: *** [plugin-all] ïÛÉÂËÁ 1 *** Error code 2 Stop in /usr/ports/java/jdk13. Regards, Trofimov Dmitry. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Jan 22 10:57:59 2003 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 8AB6A37B401 for ; Wed, 22 Jan 2003 10:57:56 -0800 (PST) Received: from mail.nsu.ru (mx.nsu.ru [193.124.215.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5294743ED8 for ; Wed, 22 Jan 2003 10:57:54 -0800 (PST) (envelope-from fjoe@iclub.nsu.ru) Received: from drweb by mail.nsu.ru with drweb-scanned (Exim 3.20 #1) id 18bQ4H-00047e-00; Thu, 23 Jan 2003 00:57:45 +0600 Received: from iclub.nsu.ru ([193.124.215.97] ident=root) by mail.nsu.ru with esmtp (Exim 3.20 #1) id 18bQ4G-00047G-00; Thu, 23 Jan 2003 00:57:44 +0600 Received: from iclub.nsu.ru (fjoe@localhost [127.0.0.1]) by iclub.nsu.ru (8.12.6/8.12.6) with ESMTP id h0MIvbRV000672; Thu, 23 Jan 2003 00:57:37 +0600 (NS) (envelope-from fjoe@iclub.nsu.ru) Received: (from fjoe@localhost) by iclub.nsu.ru (8.12.6/8.12.6/Submit) id h0MIvalL000671; Thu, 23 Jan 2003 00:57:36 +0600 (NS) Date: Thu, 23 Jan 2003 00:57:36 +0600 From: Max Khon To: Maxim Sobolev Cc: java@freebsd.org, Trofimov Dmitry Subject: Re: [Fwd: jdk23 + ports] Message-ID: <20030123005736.A597@iclub.nsu.ru> References: <3E2EC7E7.1D52D115@portaone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <3E2EC7E7.1D52D115@portaone.com>; from sobomax@portaone.com on Wed, Jan 22, 2003 at 06:33:43PM +0200 X-Spam-Status: No, hits=-3.2 required=5.0 tests=FWD_MSG,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, SPAM_PHRASE_00_01,TO_BE_REMOVED_REPLY,USER_AGENT, USER_AGENT_MUTT version=2.43 X-Envelope-To: sobomax@portaone.com, java@freebsd.org, trdmitry@mail.ru Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org hi, there! On Wed, Jan 22, 2003 at 06:33:43PM +0200, Maxim Sobolev wrote: > Please help. which package does /usr/local/include/utils.h belong to? I do not have such file and jdk 1.3 builds just fine on my 4.7-STABLE system > -------- Original Message -------- > Subject: jdk23 + ports > Date: Wed, 22 Jan 2003 15:05:41 +0200 > From: Trofimov Dmitry > To: sobomax@FreeBSD.org > > Port jdk13 didn't compiles. make error. > I use FreeBSD 4.7p3. > ports collection updates 20.01.2003 > > class=`echo sun_plugin_security_TrustDecider | sed s/_/./g` ; \ > /usr/ports/java/jdk13/work/j2sdk1.3.1/build/bsd-i386/bin/javah -jni -d > ../../tmp/bsd/i386/CClassHeaders $class > gcc -Wall -D_GNU_SOURCE -DXP_UNIX > -DVERSION="\"1.3.1-p7-dmitry-030121-18:16\"" -DDATE="\"ÑÎ×-21-2003\"" > -DARCH="\"i386\"" -DRAPTOR_API -DNEW_STREAMING_API -c > -I/usr/local/include -O -I../../oji-plugin/src/motif/common -o > ../../tmp/bsd/i386/utils.o ../../oji-plugin/src/motif/common/utils.c > g++ -Wall -Wno-unused -Wconversion -c -I/usr/local/include -O > -D_GNU_SOURCE -DXP_UNIX -DVERSION="\"1.3.1-p7-dmitry-030121-18:16\"" > -DDATE="\"ÑÎ×-21-2003\"" -DARCH="\"i386\"" -DRAPTOR_API > -DNEW_STREAMING_API -I../../oji-plugin/include/solaris/navig4/nspr > -I../../oji-plugin/include/solaris/navig4/xpcom > -I../../oji-plugin/include/solaris/navig4/caps > -I../../oji-plugin/include/solaris/navig4/js > -I../../oji-plugin/include/solaris/navig4/raptor > -I../../tmp/bsd/i386/CClassHeaders > -I../../oji-plugin/include/solaris/navig4/oji > -I../../oji-plugin/include/solaris/navig4/plugin > -I../../oji-plugin/src/motif/common > -I../../oji-plugin/src/motif/navig4 -I/usr/X11R6/include > -I../../oji-plugin/src/motif/badapter > -I../../../../src/share/javavm/export > -I../../../../src/solaris/javavm/export -I/usr/X11R6/include -o > ../../tmp/bsd/i386/GetFactory.o > ../../oji-plugin/src/motif/common/GetFactory.cpp > In file included from ../../oji-plugin/src/motif/navig4/Navig4.h:17, > from > ../../oji-plugin/src/motif/common/GetFactory.cpp:56: > /usr/local/include/utils.h: In function `char * copystring(const char > *)': > /usr/local/include/utils.h:94: ANSI C++ forbids implicit conversion > from `void *' in initialization > /usr/local/include/utils.h: In function `char * catstring(char *, > const char *)': > /usr/local/include/utils.h:104: ANSI C++ forbids implicit conversion > from `void *' in assignment > /usr/local/include/utils.h:106: ANSI C++ forbids implicit conversion > from `void *' in assignment > ../../oji-plugin/src/motif/common/GetFactory.cpp: In function `void > version_error(char *)': > ../../oji-plugin/src/motif/common/GetFactory.cpp:91: implicit > declaration of function `int plugin_error(...)' > ../../oji-plugin/src/motif/common/GetFactory.cpp: In function > `nsresult JPI_NSGetFactory(nsISupports *, const nsCID &, const char *, > const char *, nsIFactory **)': > ../../oji-plugin/src/motif/common/GetFactory.cpp:156: implicit > declaration of function `int load_function(...)' > ../../oji-plugin/src/motif/common/GetFactory.cpp:160: implicit > declaration of function `int init_utils(...)' > gmake[1]: *** [../../tmp/bsd/i386/GetFactory.o] ïÛÉÂËÁ 1 > gmake[1]: Leaving directory > `/usr/ports/java/jdk13/work/j2sdk1.3.1/ext/plugin/build/solaris' > gmake: *** [plugin-all] ïÛÉÂËÁ 1 > *** Error code 2 > > Stop in /usr/ports/java/jdk13. > > Regards, Trofimov Dmitry. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Jan 22 17:53:25 2003 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 A84B337B401 for ; Wed, 22 Jan 2003 17:53:24 -0800 (PST) Received: from tandem.milestonerdl.com (tandem.milestonerdl.com [204.107.138.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id B73A043F18 for ; Wed, 22 Jan 2003 17:53:23 -0800 (PST) (envelope-from mtr+javafreebsd@dull.net) Received: from tandem.milestonerdl.com (localhost [IPv6:::1]) by tandem.milestonerdl.com (8.12.6/8.12.5) with ESMTP id h0N1aZ9k031595 for ; Wed, 22 Jan 2003 19:36:37 -0600 (CST) (envelope-from mtr+javafreebsd@dull.net) Received: (from marc@localhost) by tandem.milestonerdl.com (8.12.6/8.12.3/Submit) id h0N1WXFd031575 for freebsd-java@FreeBSD.ORG; Wed, 22 Jan 2003 19:32:33 -0600 (CST) Date: Wed, 22 Jan 2003 19:32:33 -0600 (CST) Message-Id: <200301230132.h0N1WXFd031575@tandem.milestonerdl.com> X-Authentication-Warning: tandem.milestonerdl.com: marc set sender to mtr+javafreebsd@dull.net using -f From: MR@tandem.milestonerdl.com To: Subject: jdk 1.4.0 (native) and font problem. Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org In an effort to get Compiere http://www.compiere.org/ up and running on FreeBSD, I tried the latest 1.4.0 build of Java. And, unlike 1.4.0 IBM/Sun/Blackdown versions, it doesn't crash. Instead, for every letter, I see a square little box. Alas, I don't read box. Any ideas on how to have java display text and not boxes? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Jan 22 18:23:50 2003 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 3281037B401 for ; Wed, 22 Jan 2003 18:23:50 -0800 (PST) Received: from gddsn.org.cn (mail.gddsn.org.cn [210.21.6.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 58ACA43F13 for ; Wed, 22 Jan 2003 18:23:49 -0800 (PST) (envelope-from wsk@ns.gddsn.org.cn) Received: from mail.gddsn.org.cn (wsk [192.168.168.136]) by gddsn.org.cn (Postfix) with ESMTP id 8179638CBCE; Thu, 23 Jan 2003 10:23:42 +0800 (CST) Message-ID: <3E2F5230.1040102@mail.gddsn.org.cn> Date: Thu, 23 Jan 2003 10:23:44 +0800 From: Suken Woo User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; zh-CN; rv:1.1) Gecko/20021218 X-Accept-Language: zh-cn, en-us, en MIME-Version: 1.0 To: "Adrian Damn it!" , java Subject: Re: JIT compiler could not be found with jdk1.3.1p7? References: <3E2CF8D9.7040902@mail.gddsn.org.cn> <20030121142855.GA35820@fatpipi.cirx.org> <3E2DE886.5040908@mail.gddsn.org.cn> <3E2F41B2.8010409@charter.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > Get the source and build it yourself, gmake, gmake install will install > it correctly. you may need to use ./configure > --with-JAVA_HOME=/usr/local/java or some similar syntax, it`s in the > source directions. I install it with ports before. and I will try it as you said.thanks again! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Jan 22 18:56:12 2003 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 9F92937B401 for ; Wed, 22 Jan 2003 18:56:11 -0800 (PST) Received: from smtp.jcnet.ad.jp (smtp.jcnet.ad.jp [218.219.80.139]) by mx1.FreeBSD.org (Postfix) with SMTP id C419343ED8 for ; Wed, 22 Jan 2003 18:56:10 -0800 (PST) (envelope-from westbay@users.sourceforge.net) Received: (qmail 22528 invoked from network); 23 Jan 2003 11:56:03 +0900 Received: from cr1-167-204.seaple.icc.ne.jp (HELO users.sourceforge.net) (219.117.167.204) by ml01vsv.sv.jcnet.ad.jp with SMTP; 23 Jan 2003 11:56:03 +0900 Date: Thu, 23 Jan 2003 11:56:02 +0900 Subject: Re: jdk 1.4.0 (native) and font problem. Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v551) Cc: To: MR@tandem.milestonerdl.com From: Michael Westbay (Dev) In-Reply-To: <200301230132.h0N1WXFd031575@tandem.milestonerdl.com> Message-Id: <355542AC-2E7E-11D7-9946-000A9575BE46@users.sourceforge.net> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.551) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 2003.1.23, at 10:32 AM, MR@tandem.milestonerdl.com-san wrote: > In an effort to get Compiere http://www.compiere.org/ up and running > on FreeBSD, I tried the latest 1.4.0 build of Java. > [...] > Instead, for every letter, I see a square little box. Alas, I don't > read > box. Any ideas on how to have java display text and not boxes? Boxes are usually cause by not having a particular font. I get them often with half-pitch Katana in some Japanese applications. I'd say that the problem is related to your psfonts*.properties file, but I can't say just what exactly. Starting places include: Do you have a lot of .ttf files in $JRE_HOME/lib/fonts? Do you have a localized psfont.properties file in $JRE_HOME/lib? Hope this helps. --- Michael Westbay Work: Beacon-IT http://www.beacon-it.co.jp/ Home: http://www1.seaple.icc.ne.jp/westbay Commentary: http://www.japanesebaseball.com/forum/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jan 23 4:50: 8 2003 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 3A10337B401 for ; Thu, 23 Jan 2003 04:50:03 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA27043F43 for ; Thu, 23 Jan 2003 04:50:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h0NCo1NS078382 for ; Thu, 23 Jan 2003 04:50:01 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h0NCo14W078380; Thu, 23 Jan 2003 04:50:01 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 09C8E37B401 for ; Thu, 23 Jan 2003 04:45:09 -0800 (PST) Received: from hfep08.dion.ne.jp (hfep08.dion.ne.jp [203.181.105.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id E396C43E4A for ; Thu, 23 Jan 2003 04:45:07 -0800 (PST) (envelope-from haro@h4.dion.ne.jp) Received: from localhost ([211.126.16.162]) by hfep08.dion.ne.jp with ESMTP id <20030123124503690.UMFJ@hfep08.dion.ne.jp> for ; Thu, 23 Jan 2003 21:45:03 +0900 Message-Id: <20030123.214235.59462241.haro@h4.dion.ne.jp> Date: Thu, 23 Jan 2003 21:42:35 +0900 (JST) From: Munehiro Matsuda To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: java/47397: [PATCH] java/jdk13 to enable HotSpot compilation Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 47397 >Category: java >Synopsis: [PATCH] java/jdk13 to enable HotSpot compilation >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 Jan 23 04:50:01 PST 2003 >Closed-Date: >Last-Modified: >Originator: Munehiro Matsuda >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD jkpc11.ttr.kubota.co.jp 5.0-CURRENT FreeBSD 5.0-CURRENT #39: Thu Jan 23 00:14:20 JST 2003 haro@jkpc11.ttr.kubota.co.jp:/home/haro/tmp/sys/i386/compile/NEWJKPC11 i386 For FreeBSD 5-CURRENT/5.0-RELEASE with jdk-1.3.1p7_2. Also, FreeBSD 4-STABLE should be ok. >Description: The included patch does: - Should fix java/jdk13 port compilation on FreeBSD 5-CURRENT/5.0-RELEASE. Only tested with 5-CURRENT system. - Add WITH_HOTSPOT knob to enable compilation with HotSpot VM. WITH_HOTSPOT knob accepts "core", "compiler1", "compiler2" as value to select type of VM. Defaults to "core". When WITH_HOTSPOT is enabled, WITH_NATIVE_THREADS knob is also enabled. - For 4-STABLE systems, BUILD_DEPENDS on lang/gcc32 port, when WITH_HOTSPOT knob is specified, - Enables/fix to allow NATIVE_BOOTSTRAP with HotSpot enabled jdk13. - NODEBUG also works with WITH_HOTSPOT knob. - Show warning message about HotSpot VM being experimental. No update/fixes are done to the HotSpot VM itself. >How-To-Repeat: - Apply the patch to java/jdk13 directory. - Then type, something like, make WITH_HOTSPOT="core" install or make NATIVE_BOOTSTRAP=t WITH_HOTSPOT="compiler1" etc.... >Fix: begin 644 jdk13-hotspot-build.patch.gz M'XL("%NZ+SX``VID:S$S+6AO='-P;W0M8G5I;&0N<&%T8V@`Y#MK5^+(MI_U M5^Q19QK$\-96'/LT0EKI1F`1[.Y99\[-Q*2`*"3U'$$._[^'CQ^W86OK8O!%O6SVE;.=O:?OI=)Y79&?"Z:E3WR#%4;>7:F\ M`W\28+MUWFJV!>PVY)EEF,/M'%Z90_C%0-(6,S+?6H/+[O5`[;6O+UJ=[#;4 MVVUU4.]?R(.S+6TR@=G$'YD6F%-MQ%Q",W$99^R$6,J=E`+&>NV6,E"5Z_/< MV593/K^^J)WM[$1D85LBLG&J:J<^:'V5U<%E7ZXWE>QV[B4(^/$C.7[9'2B] M[B";H`[X$1,%!U?U+[**`BEBZ++7PJ4;.8Q98&F>.6<[<:E*Q1*Q>I! MM;PL&,T7"[4DW"KK$6NYI?G!`$>0$Q/WGN)3GN'L#'1[.D/5<$I)U)TN7UK$ M>G[=:C?#*6"-=KY1K>T^];G^@-%O]Y\)$ MLT8%_G@[QU54[GP5&K+XU-L#M=&]ZK7:79WM/[6ZCWA9&?V-:29F& MR\Q5CXJE8HGL)I,<^G#&&2\6UTET#&A52U)LC3S-20BA.?H8+@X MSK8XV-8N=)C.7%=S'F%H.X"[-F,.L`?/T73/M"VPA^#:OH-`PO(JA^3I2NCJ M2D?"\B9,T]]1$NR(N\G]:<5/W
    ])[EQV56OE(MG('M=>O*'[<-8 MFS,@GN*HP+.!6=H-AHN0^-XU:[$4 M@CD#,H\%*_L/X-,1#C%;+IP"T\@<'R MD=%3VA8+-]7T,-"=PM",*R2M)M^R&H:CC[I!SJ;_A;:,M$X$J;VGQN55MXD, M]\'/W<,^#?TI%*)ZPA7BI'I0#H/?WM.50#"V/1<%*>4K^5+!=?2"[:KZS"^@ M.:MF]?BH,)\*3#@)9Z'Q-"Y)N2,6"CP(E_*<08ILN/NVZX4,)SV1B$/G7=S= M0;_>0TU!_:[/9KBL')[V6YO;)FZ49IG>HWX'0\VO,4)+8W"!B M(6?*H^NQ*7H05W`$>(%R:?[$2R'Q`@6.035=-<*P$O^2F=^J4G.#Y4Z*&RP" M_Q-V]D*+09?TJ?7]>0RRD*0LA'ZV_DT[]JOHYW4UR@=#$4TV(T_`DH_@G3B MK3*K%_^G4J.HHT!D=;0B]'KB2X8+*&_/\2T&;#KS'DDB#%?(X:=6I[F\BR!Y MCS.4&N,VZB$F:OC$P9L@V'X/+:-_Q:'+\6C^@^8,^M?R\[:14@%3K>JN]3=! M4;L9:*E:W@PSI'X;YF1$*!8*Q_7#LM"@!RMP4^C M*M5*U5HQ6(L<+<81>?(C43$Y:!CVK%2FP?JR4>D\47W\O=G_K@Q-NS/4H. MT$]0I5FXU>;:GOQ=QA&>&4@/L'<+_PI*`)0-8'ZV\Q<^DT*77/[P&Q:?0?4@ MS>'=?WT3R>\[/O07EAVY%V>9\&YE%M"LOT25,D=8[?X.I$_O=M[!NR?,8DRL M=/;*\/SN+PY*B3,F,O,=H(*95]9H+#_(8/Y9E$[^M9\5.T,2DM...G,IFU.N MU,HGL;U6P\?* M9;TOJY@39?GR(YFPT1@\8,3`:9/I76=@C'+R@ M!BV!Y`+W#Y/*WS'!)P2YGT?P`Q:;AD$X*'5J[P+,)"LF6N9HG$>MP7+7\;%" M#FI;BU(NJB#^VS<=9AP`UI2+LG?&'')EHE)"C>.87`]K8\TQ<'.C%?PU;T/M M%'[-ZSL"O6E!'[_=_&AZEP=YCKQZB'8T?H4_2A0@J1XA6:)L\D`)R+>[GO3I MI&3%6O6P=GBX&MA*D<])"12B9@XB!2H6UL_\.J_/9LMZCQP2B>+FT+,)XS+# MY"?C7NN(FJ[X_RBRB=VH0^=[8VI-%&;B6T7[GFL>RX\_B*"T@$P6G#@L)1`A M3YA\\FF)A[.I-EM^'*(*QU[6E:C$2]V^10&X24:>#>7-&SS-/]S\QY50Z4-G'CBKR8"FW$*)*KZ@D&TYA.1NFAT,D<_NW" MS/=X)W(?O0S'1^Z%'FAYV_<.N!.C6W>LH0^C),K1G$> M)KHK[&6"]DHV&XA=QK MO!7"/:_+/(_:4U@GX0K=H1AXMJNV)%224FLHWKMT>SB(Y*B^ M.!"9PCV#>VIR!HDCWF!((?12DZ#S?/Y@K*'WQR%]?(!TW9GIH2?W$)$V90>\ M94)3V'#(=%ZTJY1P:C?4<4/N+"`D6(T]'?9:C>23;Z:% M"-D2V+UC>M0]E3`%%(V\Q+!E2PZN[=+3,4:J"367=3:C[O?2K*:J*H-F0U7/ M2G33IIX%-06.JJK2O>XW9'PZD*]Z[?I`5@?U\[:L8BV\@N.B0!Y-YM/D-C+)'%E%UPSSK0;=O2H88J6W(U4?X0^(6C@Y'9QN]48X]V* MP+/\N,AQ2]U2RIRA09U-:6;/5B<.16"2;GV4,6788!/MD1D26I2ECU,`[*GI M24,'51L)H"4R)P5HY#/7#7!(8J?,"98$*:`ZO6S!C&%DNHC+Y6+)G6:JU,/A MQ-8\U&7^SFQE%+4Y**:ER!C28:+5V;W1,'O3-=P7E][`.%XFF[:B5$#-T]&M M)47:@[QB&:9C,6JY7MIZ3YDS8F(8=7@]A#:9;(1"1H:^Q5]62;J;QLY0_,F70SL?6[-(@1 M!YFN&YFL&TE7$_8P8Q:]P)`"*;30C2U#HEMDUL@;2^1%]+1EQ7F,8DB:^@U).[> MT_AQF.T8"!`IRP:'@&H_2E=W0_,TR67ZNIV?T>L?#-EBSS3'T1Y3K0]%YL:' M%Q1(TQDFW>%0(W.^QCHWN,24";B6(RNRZ#24`F*BW;!4JPR&4;;UHZ&YIFVI MJZVZB4H*H/!^&SE%"Z-HL<;%?AH%[[Q3ITDS#MQQT@&M7.QC6 M8B"AR%$BPC-$:VXZMC5EE@=SS3'%.WGJT-?[#36ZN)`[4;?+#"`Z;F[;ODM`,;`L$>_D@3^KUJ".:R]$KOURC`4'+M"R& M*6E7%^*@<\4P*1F/N*NFCD5MCK_KB$L\XA/_7W6IL7)]'Q6O_\DN->W"AC[U MYE6F-@EEE\&[[<:U4 MXC/%='HOZ)BCL8?BG%0DI%>BAJ'B6W!EZH[M\E?N[@&T+#U_(.:<((R"C-:Q M!+9,&_HVY:\];6)#?>+9!]!`UXX::IG:`9Q4*\7*`5SGE7P]+^;7L9CE-%VL MFUSFS)D1C(C_O,1R[:%WC^M'919Y#\P[AZ:!7LG4)OR$#Z7LCLD\*HI,BPR" M)U@"!;J<=!$@L].(8VHM9NYD\P!_V+[`@)N';%)[`A5>G]A8,[D^:OVZV<&I M(YKD\UP`<:`;M*T)L0>:KF-"H=%!CZA^QS@T=4/O.#%U3!<9:'32DKRO0$'G MD1BE*EBB\98#GXVRB14K".]8*"PV\FOP5J"4+T>#HFBEY@'&(\.-3BQB&8)) M*DD#02///1`SA$HA[_SX5)3TPV]`KTMQ,7EW&S(H/^Z2D16S#(:/'9'H\@71 M8,CN84@]:B02HA/V@+5L&-+R812*VHDZD>$]QOA3T4!(>6QH3NIC++/2'IMV MVE/TC2N/[W4TXN"I234M*-UVO=]2DF`F8VPX"^""M]'Q<2IY5G!C5;`JXE#' M=5IY&K1R7V8D`9?"R`0K$<]=P8\IB!6L2;`5@D:[U;G^OB2JY7$56%U!3.>T M5=9]5!Z//7BK\(]N8;$$G-])6$QQA0YTU)TQW1QBE$=S1^;I2!AG`,'HF]CT M+2).BHJ[)8Z"^LCGL>J=ID&Y8TP>(JC2T1HP>BNV0%8IKP&;V-9(_".PHZH` MBT&N\`:PRMP*:QQHF;<5SCC4,FLKC'&H&&=",Z"PS_=FI2 M3\*CYB+O=8H#6+P=2:Z1.DD$[4+I2.)YPZXX?0+*0.W+BMS_*C?53]V^>HW7 M:A&*#Z5B1*QN&#Q

    V-U;GU^_L+FWM&TO M[.RM3U^G(>O2W_`1:Z20\N,"96:V2TV01UIWB9)?2LRS]*J6MV+(8/`2>'/* M%:'"I8K'Q8*%;MD(XP+WR7.,-/S=L0;W!9O6U!I19QNS=CK,B;'&$@A_Y1_J M'5+PPZB$0>J.+5XB-OB[=D`BTMB^#\X.#S7=LQW>*1_C#'ST#Y#@VAIICE@] M4<[`;;`!]*V2%'B=N>7L`SQD8X>ZGS!+\'S'@OT,`>_CH^QO#Z?P'$,6:#G_ M#K!E;@W;I^)E+3("WH\AB^$+^!#?`F$FY'@M/@Z\O\I*!;,9X8@?:6\Q^UL8AZX%L)ADD$Y$M4/HN<,V="RF``H3 M=LEY=A%Z*)B:EBH(GJ&[."XF/^WVZ>H,[2$VX_TP^1$SPM@B9@KH%RB=+H-O M)G,:C[A_\VXUZ4732+2]8DY8U,3R]X;<&[2Z':C5@NYRX,@P*J.QPTYC!_A9 M[!O,'>YX:TR`A'C.^W+]2Z_;Z@P011PHIB:98E&B@+(R#;&:FF MBV.9P+B&V87"\X%A9I@5RKX;.ZX9I#F)'S.=*\VJ6LU".O[`WE;P&PO\_*<\ M87+S!A1Q#%R?=GGS!G8P4%+;$<+BG+(64Z>LQ8C*,AAC&K^SI":!N<77C\.S MM4LHAB-?.8Q[D"4_$H"&3*]!M!#VM8@BOK]A*<2C,GI]T55+DKG7W0FS,H$9 M$>`^N;P(;S`>`/!D6_7VLP\).H'?Z/6[S>O&(&[^6(`AV1DB8X[:L`VF*A3N MSN#P$&NG4K%<7;7]3=/>)Z?%C1EZ/.:*PF6J45T9LY!>OWYQ5:=7NW+_4[TA M)U9Q=^9HHZG&H["#\9&E3+SJM>4KN3.H^-[M55O=,4@+KFH;#4>EV"3/RD+LM/K4K4 MKWT)#"29(+]_?P%2-(!?05?TAE]!&36+:.=>0YLW-QO-)>JZ`52K4L.!JA+? M,A_X=F(8(7#Z#=9+RSF>VASV:H7?^/;HT]D&>^$_PPF/T8KBWLVC*B5T>QU0 MJ@6M`WZ]*;V(@8X%E6OEDUHIY6#O^_@A.]XFM2>:8[J%\!:)?O1 MXR3H)&^I=GB2[)S_.QB)Z4KM,'ZHJ7QQL,BM'==W9X#%#AU0<5TZ M7?M\RMO@.6;Y4PB/W7&P)U"NE9[:Z1Z(BS]D);CZC/G403CZK=X:!#=7UP/Y MNQI[T.BB1M$])X.F(LK@_1'S%"2!WEE!A\T4WAO+K++@QH#0G\,3"8$./1,? M@-^AWJFW^_];R=7]-`C$\&?V5YP/EPR-;"R[.$DT1IEFS*_$/?A&-I@$)QF! MD?CB_V[;.SY.%W<^D#'2]MJ#HW+DMB M/;I@S_#N!UVGC_[4QS$L*ZZR?$%D]]N$AB@5FZTF"Q>Q(=+*LB76[X.[V;7H M:/>)^W$21AI;5)5\LW@-@VN8L9?9G6<-CMG09N]9'JZJ-Z82390BQ:VH3$C! M8EUN**ZB;[D89,W@;JQWD>,XE$$E0X5+AHIQ4P:NEG_$0U+,BVI;7YW`0%9= M4FPB(VVL[-$A^$"Q6!?9[1(<)_;V^GF^24[SC[2L`2'-_Q_>VURW'B"4Q%8) M+K5*$!.U='5;);3$>K&]*SPQ;GURXA*$&'_HZ88MOVQ%P#G(X3SPYZ$JM^-< M!]]0_C>-NG"='CO$1%T$&E^$R^"AQ&@^[CX1`8?%J(\U+Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jan 23 5:47:36 2003 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 437AF37B401 for ; Thu, 23 Jan 2003 05:47:34 -0800 (PST) Received: from mail.nsu.ru (mx.nsu.ru [193.124.215.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0749543ED8 for ; Thu, 23 Jan 2003 05:47:32 -0800 (PST) (envelope-from fjoe@iclub.nsu.ru) Received: from drweb by mail.nsu.ru with drweb-scanned (Exim 3.20 #1) id 18bhhZ-0004HB-00 for freebsd-java@freebsd.org; Thu, 23 Jan 2003 19:47:29 +0600 Received: from iclub.nsu.ru ([193.124.215.97] ident=root) by mail.nsu.ru with esmtp (Exim 3.20 #1) id 18bhhY-0004Gs-00 for freebsd-java@freebsd.org; Thu, 23 Jan 2003 19:47:28 +0600 Received: from iclub.nsu.ru (fjoe@localhost [127.0.0.1]) by iclub.nsu.ru (8.12.6/8.12.6) with ESMTP id h0NDlJRV026005 for ; Thu, 23 Jan 2003 19:47:19 +0600 (NS) (envelope-from fjoe@iclub.nsu.ru) Received: (from fjoe@localhost) by iclub.nsu.ru (8.12.6/8.12.6/Submit) id h0NDlJmU026004 for freebsd-java@freebsd.org; Thu, 23 Jan 2003 19:47:19 +0600 (NS) Date: Thu, 23 Jan 2003 19:47:19 +0600 From: Max Khon To: freebsd-java@freebsd.org Subject: /usr/local/include/utils.h Message-ID: <20030123194719.B25462@iclub.nsu.ru> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="T4sUOijqQbZv57TR" Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Spam-Status: No, hits=0.4 required=5.0 tests=SPAM_PHRASE_00_01,UPPERCASE_25_50,USER_AGENT, USER_AGENT_MUTT version=2.43 X-Envelope-To: freebsd-java@freebsd.org Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --T4sUOijqQbZv57TR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline hi, there! Attached patch should fix problem with utils.h (which is taken from /usr/local/include instead of local jdk source) /fjoe --T4sUOijqQbZv57TR Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="GNUmakefile.diff" --- j2sdk1.3.1/ext/plugin/build/solaris/GNUmakefile.orig Thu Jan 23 19:32:58 2003 +++ j2sdk1.3.1/ext/plugin/build/solaris/GNUmakefile Thu Jan 23 19:40:52 2003 @@ -167,7 +167,7 @@ EXTRA_LIBS=-pthread # green threads libhpi.so must be loaded at link time due to libc issues. GREEN_EXTRA_LIBS=-L$(JAVALIB)/green_threads -lhpi$(DBG) -EXTRA_CFLAGS=-I$(INTL_INCLUDE) +EXTRA_CFLAGS= GCC=$(CXX) GCCLD_SHARELIB_FLAG=$(LD_SHARELIB_FLAG) @@ -363,7 +363,7 @@ -I$(COMMONSRCDIR) -I$(NAVIG4SRCDIR) \ -I$(MOTIF_INCLUDE) -I$(BADAPTER) \ -I$(SHARE_INCLUDE) -I$(SOLARIS_INCLUDE) \ - -I$(X11_INCLUDE) + -I$(X11_INCLUDE) -I$(INTL_INCLUDE) INCLUDES5= \ -I$(CCLASSHEADERS) \ @@ -371,7 +371,8 @@ -I$(X11_INCLUDE) -I$(MOTIF_INCLUDE) \ -I$(SHARE_INCLUDE) -I$(SOLARIS_INCLUDE) \ -I$(MOZ5_HDRS) -I$(LIBG_HDRS) \ - -I$(GTK_HDRS) -I$(LIBIDL_HDRS) -I$(LIBG_LIB)/glib/include + -I$(GTK_HDRS) -I$(LIBIDL_HDRS) -I$(LIBG_LIB)/glib/include \ + -I$(INTL_INCLUDE) GTKFLAGS = -I$(BOOT_INCLUDES) GTKLIBS = $(TOOLS_LIB) -lgtk -lgdk -lgmodule -lglib -lXext @@ -636,7 +637,8 @@ $(PLUGIN): $(COMMON_OFILES) ifeq ($(findstring BSD,$(OS)), BSD) export LD_LIBRARY_PATH; LD_LIBRARY_PATH=$(X11_LIB); \ - $(CXX) $(LD_SHARELIB_FLAG) $(LDFLAGS) -o $(@) $(COMMON_OFILES) + $(CXX) $(LD_SHARELIB_FLAG) $(LDFLAGS) -o $(@) $(COMMON_OFILES) \ + -L$(INTL_LIB) -lintl else export LD_LIBRARY_PATH; LD_LIBRARY_PATH=$(X11_LIB); \ $(CXX) $(LD_SHARELIB_FLAG) $(LDFLAGS) -o $(@) $(COMMON_OFILES) --T4sUOijqQbZv57TR-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jan 23 6:19:27 2003 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 ED50D37B401 for ; Thu, 23 Jan 2003 06:19:26 -0800 (PST) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F2C843F5B for ; Thu, 23 Jan 2003 06:19:24 -0800 (PST) (envelope-from ml@phantom.cris.net) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by relay1.cris.net (8.12.6/8.12.6) with ESMTP id h0NF9QsU078460; Thu, 23 Jan 2003 15:09:27 GMT Received: (from ml@localhost) by phantom.cris.net (8.12.6/8.12.2) id h0NEPR6f003309; Thu, 23 Jan 2003 16:25:27 +0200 (EET) (envelope-from ml) Date: Thu, 23 Jan 2003 16:25:27 +0200 From: Alexey Zelkin To: MR@tandem.milestonerdl.com Cc: freebsd-java@FreeBSD.ORG Subject: Re: jdk 1.4.0 (native) and font problem. Message-ID: <20030123162527.A3268@phantom.cris.net> References: <200301230132.h0N1WXFd031575@tandem.milestonerdl.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200301230132.h0N1WXFd031575@tandem.milestonerdl.com>; from MR@tandem.milestonerdl.com on Wed, Jan 22, 2003 at 07:32:33PM -0600 X-Operating-System: FreeBSD 4.7-STABLE i386 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org hi, This is known problem at 4.7-STABLE. I have found a reason of it while working on 1.4.1 and fixed version will be availabe in upcoming patchset 1 of jdk 1.4.1. On Wed, Jan 22, 2003 at 07:32:33PM -0600, MR@tandem.milestonerdl.com wrote: > In an effort to get Compiere http://www.compiere.org/ up and running > on FreeBSD, I tried the latest 1.4.0 build of Java. > > And, unlike 1.4.0 IBM/Sun/Blackdown versions, it doesn't crash. > > Instead, for every letter, I see a square little box. Alas, I don't read > box. Any ideas on how to have java display text and not boxes? > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jan 23 6:38:31 2003 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 2431837B401 for ; Thu, 23 Jan 2003 06:38:30 -0800 (PST) Received: from oak.FernUni-Hagen.de (oak.fernuni-hagen.de [132.176.114.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E05843EB2 for ; Thu, 23 Jan 2003 06:38:28 -0800 (PST) (envelope-from jfh@es-i2.FernUni-Hagen.de) Received: from amavis by oak.FernUni-Hagen.de with scanned-ok (Exim 4.04) id 18biUq-0002Vo-00 for freebsd-java@freebsd.org; Thu, 23 Jan 2003 15:38:24 +0100 Received: from es-i2.fernuni-hagen.de ([132.176.7.81]) by oak.FernUni-Hagen.de with esmtp (Exim 4.04) id 18biUi-0002VF-00; Thu, 23 Jan 2003 15:38:16 +0100 Received: from jfh00.fernuni-hagen.de (jfh00.fernuni-hagen.de [132.176.7.6]) by es-i2.fernuni-hagen.de (Postfix) with ESMTP id 552DE5903; Thu, 23 Jan 2003 15:38:15 +0100 (CET) Received: by jfh00.fernuni-hagen.de (Postfix, from userid 1001) id D4087243DF; Thu, 23 Jan 2003 15:38:16 +0100 (CET) Date: Thu, 23 Jan 2003 15:38:16 +0100 From: Fritz Heinrichmeyer To: freebsd-java@freebsd.org, freebsd-questions@freebsd.org Subject: Any working combination of jdk and tomcat with stable Message-ID: <20030123143816.GA4292@jfh00.fernuni-hagen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.3i X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Tomcat4.0.6 and tomcat4.1.18 do not work here with 4.7-STABLE, 4.1.12 did some month ago (stand alone server). I am interested to hear of working combination. I use native jdk-1.3.1 (appletviewer works ...) -- Fritz Heinrichmeyer mailto:fritz.heinrichmeyer@fernuni-hagen.de FernUniversitaet Hagen, LG ES, 58084 Hagen (Germany) tel:+49 2331/987-1166 fax:987-355 http://www-es.fernuni-hagen.de/~jfh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jan 23 9:45: 8 2003 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 4356A37B401; Thu, 23 Jan 2003 09:45:07 -0800 (PST) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5304543E4A; Thu, 23 Jan 2003 09:45:06 -0800 (PST) (envelope-from ernst@zaphod.euronet.nl) Received: from zaphod.euronet.nl (localhost [127.0.0.1]) by zaphod.euronet.nl (8.12.6/8.12.6) with ESMTP id h0NF8O9c090305; Thu, 23 Jan 2003 16:08:24 +0100 (CET) (envelope-from ernst@zaphod.euronet.nl) Received: (from ernst@localhost) by zaphod.euronet.nl (8.12.6/8.12.6/Submit) id h0NF8NMc090304; Thu, 23 Jan 2003 16:08:23 +0100 (CET) Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan To: Fritz Heinrichmeyer , freebsd-java@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Any working combination of jdk and tomcat with stable Date: Thu, 23 Jan 2003 16:08:23 +0100 User-Agent: KMail/1.4.3 References: <20030123143816.GA4292@jfh00.fernuni-hagen.de> In-Reply-To: <20030123143816.GA4292@jfh00.fernuni-hagen.de> X-Address: Muiderstraat 1, Amsterdam, Netherlands MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200301231608.23859.znerd@FreeBSD.org> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thursday 23 January 2003 15:38, Fritz Heinrichmeyer wrote: > Tomcat4.0.6 and tomcat4.1.18 do not work here with 4.7-STABLE, 4.1.12 > did some month ago (stand alone server). I am interested to hear of > working combination. I use native jdk-1.3.1 (appletviewer works ...) What doesn't work? Both Orion 1.5.2 and Tomcat 4.1.18 work under 4.7-STABLE and FreeBSD 5.0-R here... Ernst To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jan 23 10: 5:41 2003 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 A58C837B401 for ; Thu, 23 Jan 2003 10:05:40 -0800 (PST) Received: from mgr3.xmission.com (mgr3.xmission.com [198.60.22.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD66A43F43 for ; Thu, 23 Jan 2003 10:05:39 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr3.xmission.com with spam-scanned (Exim 3.35 #1) id 18bljP-0005ho-03; Thu, 23 Jan 2003 11:05:39 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr3.xmission.com with esmtp (Exim 3.35 #1) id 18bljO-0005hK-03; Thu, 23 Jan 2003 11:05:39 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id h0NI5Sr76632; Fri, 24 Jan 2003 04:35:28 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Fri, 24 Jan 2003 04:35:27 +1030 From: Greg Lewis To: bruno schwander Cc: java@FreeBSD.ORG Subject: Re: jdk13 freebsd build failure Message-ID: <20030124043527.A76567@misty.eyesbeyond.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from bruno@tinkerbox.org on Tue, Jan 21, 2003 at 11:16:28AM -0800 X-Spam-Status: No, hits=-3.5 required=8.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, SIGNATURE_SHORT_DENSE,SPAM_PHRASE_00_01,USER_AGENT, USER_AGENT_MUTT,X_AUTH_WARNING version=2.43 X-Spam-Level: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Jan 21, 2003 at 11:16:28AM -0800, bruno schwander wrote: > I get this [Error deleted for brevity] > when trying to build jdk13. I just cvsup'ed my ports tree. Running 4.6 > stable. Any workaround/fix ? Make sure TAR is set to gtar. The Makefile should do this for you, but this is the second time I've seen it reported that it hasn't recently. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jan 23 10:14: 4 2003 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 0983137B401; Thu, 23 Jan 2003 10:14:04 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A022D43ED8; Thu, 23 Jan 2003 10:14:03 -0800 (PST) (envelope-from glewis@FreeBSD.org) Received: from freefall.freebsd.org (glewis@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h0NIE3NS003645; Thu, 23 Jan 2003 10:14:03 -0800 (PST) (envelope-from glewis@freefall.freebsd.org) Received: (from glewis@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h0NIE3Mi003641; Thu, 23 Jan 2003 10:14:03 -0800 (PST) Date: Thu, 23 Jan 2003 10:14:03 -0800 (PST) From: Greg Lewis Message-Id: <200301231814.h0NIE3Mi003641@freefall.freebsd.org> To: glewis@FreeBSD.org, freebsd-java@FreeBSD.org, glewis@FreeBSD.org Subject: Re: java/47397: [PATCH] java/jdk13 to enable HotSpot compilation Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: [PATCH] java/jdk13 to enable HotSpot compilation Responsible-Changed-From-To: freebsd-java->glewis Responsible-Changed-By: glewis Responsible-Changed-When: Thu Jan 23 10:13:32 PST 2003 Responsible-Changed-Why: I'll take this. http://www.freebsd.org/cgi/query-pr.cgi?pr=47397 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jan 23 10:15: 9 2003 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 D246137B401 for ; Thu, 23 Jan 2003 10:15:08 -0800 (PST) Received: from mgr4.xmission.com (mgr4.xmission.com [198.60.22.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5285943E4A for ; Thu, 23 Jan 2003 10:15:08 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr4.xmission.com with spam-scanned (Exim 3.35 #1) id 18blsa-0004Km-04 for freebsd-java@freebsd.org; Thu, 23 Jan 2003 11:15:08 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr4.xmission.com with esmtp (Exim 3.35 #1) id 18blsY-0004Jj-04; Thu, 23 Jan 2003 11:15:07 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id h0NIF2Y76684; Fri, 24 Jan 2003 04:45:02 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Fri, 24 Jan 2003 04:45:01 +1030 From: Greg Lewis To: Max Khon Cc: freebsd-java@FreeBSD.ORG Subject: Re: /usr/local/include/utils.h Message-ID: <20030124044501.B76567@misty.eyesbeyond.com> References: <20030123194719.B25462@iclub.nsu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030123194719.B25462@iclub.nsu.ru>; from fjoe@iclub.nsu.ru on Thu, Jan 23, 2003 at 07:47:19PM +0600 X-Spam-Status: No, hits=-3.5 required=8.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, SIGNATURE_SHORT_DENSE,SPAM_PHRASE_00_01,USER_AGENT, USER_AGENT_MUTT,X_AUTH_WARNING version=2.43 X-Spam-Level: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Jan 23, 2003 at 07:47:19PM +0600, Max Khon wrote: > hi, there! > > Attached patch should fix problem with utils.h (which is taken from > /usr/local/include instead of local jdk source) Thanks Max! I'll squeeze this in before patchset 8. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jan 23 10:32:39 2003 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 6431137B401 for ; Thu, 23 Jan 2003 10:32:38 -0800 (PST) Received: from mail.tinkerbox.org (adsl-64-168-139-138.dsl.snfc21.pacbell.net [64.168.139.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id D51FA43EB2 for ; Thu, 23 Jan 2003 10:32:37 -0800 (PST) (envelope-from bruno@tinkerbox.org) Received: from duron.bschwand.net (duron.bschwand.net [192.168.137.4]) by mail.tinkerbox.org (Postfix) with ESMTP id E008219B5; Thu, 23 Jan 2003 10:46:30 -0800 (PST) Date: Thu, 23 Jan 2003 10:46:28 -0800 (PST) From: bruno schwander X-Sender: bruno@duron.bschwand.net To: Greg Lewis Cc: java@FreeBSD.ORG Subject: SOLVED: Re: jdk13 freebsd build failure In-Reply-To: <20030124043527.A76567@misty.eyesbeyond.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I installed gtar and set TAR in the environment and it has been building for quite a while now, so I assume it is going through Effectively, the makefile should be doing that but that section of the makefile went straight through. Probably some problem with the OS version checking ? Anyway, thanks for the tip ! bruno On Fri, 24 Jan 2003, Greg Lewis wrote: > On Tue, Jan 21, 2003 at 11:16:28AM -0800, bruno schwander wrote: > > I get this > > [Error deleted for brevity] > > > when trying to build jdk13. I just cvsup'ed my ports tree. Running 4.6 > > stable. Any workaround/fix ? > > Make sure TAR is set to gtar. The Makefile should do this for you, but > this is the second time I've seen it reported that it hasn't recently. > > -- > Greg Lewis Email : glewis@eyesbeyond.com > Eyes Beyond Web : http://www.eyesbeyond.com > Information Technology FreeBSD : glewis@FreeBSD.org > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jan 23 10:59: 7 2003 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 7193137B401 for ; Thu, 23 Jan 2003 10:59:06 -0800 (PST) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5409143EB2 for ; Thu, 23 Jan 2003 10:59:05 -0800 (PST) (envelope-from jonc@chen.org.nz) Received: from grimoire.chen.org.nz (localhost [127.0.0.1]) by chen.org.nz (8.12.6/8.12.6) with ESMTP id h0NIwt8X067716; Fri, 24 Jan 2003 07:58:57 +1300 (NZDT) (envelope-from jonc@grimoire.chen.org.nz) Received: (from jonc@localhost) by grimoire.chen.org.nz (8.12.6/8.12.6/Submit) id h0NIwtWX067715; Fri, 24 Jan 2003 07:58:55 +1300 (NZDT) Date: Fri, 24 Jan 2003 07:58:55 +1300 From: Jonathan Chen To: bruno schwander Cc: java@FreeBSD.ORG Subject: Re: SOLVED: Re: jdk13 freebsd build failure Message-ID: <20030123185855.GA67616@grimoire.chen.org.nz> References: <20030124043527.A76567@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Jan 23, 2003 at 10:46:28AM -0800, bruno schwander wrote: > I installed gtar and set TAR in the environment and it has been building > for quite a while now, so I assume it is going through > > Effectively, the makefile should be doing that but that section of the > makefile went straight through. Probably some problem with the OS version > checking ? This usually indicates that there's a problem with your userland & kernel being not in sync. -- Jonathan Chen ---------------------------------------------------------------------- Vini, vidi, velcro... I came, I saw, I stuck around To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jan 23 13:10:34 2003 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 D71D137B401 for ; Thu, 23 Jan 2003 13:10:32 -0800 (PST) Received: from smtp.web.de (smtp02.web.de [217.72.192.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id 586AE43F75 for ; Thu, 23 Jan 2003 13:10:31 -0800 (PST) (envelope-from g.w.k@web.de) Received: from [217.232.181.152] (helo=pD9E8B598.dip.t-dialin.net) by smtp.web.de with asmtp (WEB.DE(Exim) 4.93 #1) id 18bobl-0000fL-00; Thu, 23 Jan 2003 22:09:58 +0100 Subject: Re: Any working combination of jdk and tomcat with stable From: "Georg-W. Koltermann" To: Fritz Heinrichmeyer Cc: freebsd-java@freebsd.org In-Reply-To: <20030123143816.GA4292@jfh00.fernuni-hagen.de> References: <20030123143816.GA4292@jfh00.fernuni-hagen.de> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 23 Jan 2003 22:11:01 +0100 Message-Id: <1043356262.260.16.camel@bat.localnet> Mime-Version: 1.0 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I have Tomcat 4.0.2 working with jdk1.3.1p7, both hotspot and classic VM, on 4.7-STABLE (-STABLE cvsuped about two months ago). Tomcat 4.1.18 dumps core with hotspot, I believe this is the same location in gethostbyaddr() that was reported in thread http://docs.freebsd.org/cgi/getmsg.cgi?fetch=0+0+archive/2002/freebsd-java/20021201.freebsd-java however I haven't found time to try the suggested fix. I currently run Tomcat 4.1.18 with the classic VM, which works just fine. I also run Tomcat in combination with Apache and mod_jk, works just as well once you master compilation of mod_jk (I used the latest source distribution of mod_jk from the Jakarta web site, I believe the mod_jk in ports is or once was, at least, targeted at Tomcat3). What's your problem, specifically? Just saying "doesn't work" doesn't give me much of a clue. -- Regards, Georg. Am Do, 2003-01-23 um 15.38 schrieb Fritz Heinrichmeyer: > > Tomcat4.0.6 and tomcat4.1.18 do not work here with 4.7-STABLE, 4.1.12 > did some month ago (stand alone server). I am interested to hear of working combination. I use native jdk-1.3.1 (appletviewer works ...) > > -- > Fritz Heinrichmeyer mailto:fritz.heinrichmeyer@fernuni-hagen.de > FernUniversitaet Hagen, LG ES, 58084 Hagen (Germany) > tel:+49 2331/987-1166 fax:987-355 http://www-es.fernuni-hagen.de/~jfh > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jan 23 13:18:48 2003 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 065AE37B401 for ; Thu, 23 Jan 2003 13:18:47 -0800 (PST) Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9744C43F3F for ; Thu, 23 Jan 2003 13:18:46 -0800 (PST) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.36 #1 (Debian)) id 18bok8-0000ea-00; Thu, 23 Jan 2003 13:18:36 -0800 Date: Thu, 23 Jan 2003 13:18:35 -0800 To: "Georg-W. Koltermann" Cc: Fritz Heinrichmeyer , freebsd-java@freebsd.org, "Bill Huey (Hui)" Subject: Re: Any working combination of jdk and tomcat with stable Message-ID: <20030123211835.GA2492@gnuppy.monkey.org> References: <20030123143816.GA4292@jfh00.fernuni-hagen.de> <1043356262.260.16.camel@bat.localnet> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1043356262.260.16.camel@bat.localnet> User-Agent: Mutt/1.5.3i From: Bill Huey (Hui) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Jan 23, 2003 at 10:11:01PM +0100, Georg-W. Koltermann wrote: > Tomcat 4.1.18 dumps core with hotspot, I believe this is the same > location in gethostbyaddr() that was reported in thread > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=0+0+archive/2002/freebsd-java/20021201.freebsd-java > however I haven't found time to try the suggested fix. I currently run > Tomcat 4.1.18 with the classic VM, which works just fine. I'll get to fixing that pretty soon. Hopefully, new patch release system will be put into place so that interaction with the user base will be easier. That would make things much easier for me to pump out to the public for testing and I've been sitting on some stuff for a while that's trivial to finish, but I haven't done so just yet. Hmmm, I'm suggesting that minor OS revisions will still have a formal patch set for it, but the CVS system should take distribution of immediate bug fixes and stuff related to things in between minor OS revision. It's parallels -stable for formal patch releases and the cvs for cvsup-ing the OS rest of the time. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jan 23 13:32:22 2003 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 8820E37B401 for ; Thu, 23 Jan 2003 13:32:12 -0800 (PST) Received: from mail.nsu.ru (mx.nsu.ru [193.124.215.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB42443F13 for ; Thu, 23 Jan 2003 13:32:09 -0800 (PST) (envelope-from fjoe@iclub.nsu.ru) Received: from drweb by mail.nsu.ru with drweb-scanned (Exim 3.20 #1) id 18bovk-0002cp-00; Fri, 24 Jan 2003 03:30:36 +0600 Received: from iclub.nsu.ru ([193.124.215.97] ident=root) by mail.nsu.ru with esmtp (Exim 3.20 #1) id 18bovj-0002cB-00; Fri, 24 Jan 2003 03:30:35 +0600 Received: from iclub.nsu.ru (fjoe@localhost [127.0.0.1]) by iclub.nsu.ru (8.12.6/8.12.6) with ESMTP id h0NLUNRV039034; Fri, 24 Jan 2003 03:30:23 +0600 (NS) (envelope-from fjoe@iclub.nsu.ru) Received: (from fjoe@localhost) by iclub.nsu.ru (8.12.6/8.12.6/Submit) id h0NLUMDN039033; Fri, 24 Jan 2003 03:30:22 +0600 (NS) Date: Fri, 24 Jan 2003 03:30:21 +0600 From: Max Khon To: Greg Lewis Cc: freebsd-java@freebsd.org Subject: Re: /usr/local/include/utils.h Message-ID: <20030124033021.A38610@iclub.nsu.ru> References: <20030123194719.B25462@iclub.nsu.ru> <20030124044501.B76567@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="rwEMma7ioTxnRzrJ" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030124044501.B76567@misty.eyesbeyond.com>; from glewis@eyesbeyond.com on Fri, Jan 24, 2003 at 04:45:01AM +1030 X-Spam-Status: No, hits=-3.0 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01, USER_AGENT,USER_AGENT_MUTT version=2.43 X-Envelope-To: glewis@eyesbeyond.com, freebsd-java@freebsd.org Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --rwEMma7ioTxnRzrJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline hi, there! On Fri, Jan 24, 2003 at 04:45:01AM +1030, Greg Lewis wrote: > > Attached patch should fix problem with utils.h (which is taken from > > /usr/local/include instead of local jdk source) > > Thanks Max! I'll squeeze this in before patchset 8. I have another (not thoroughly tested) patch to make -DWITH_NATIVE_THREADS compile on post-4.7 system A replacement for j2sdk1.3.1/src/solaris/hpi/native_threads/src/threads_bsd.c attached. It will not compile on 4.7-RELEASE and earlier, probably some #ifdef munging should be added but I haven't bumped __FreeBSD_version after pthreads API modifications. Probably 470101 could be used to filter out most pre-4.7 installations and it will safely work for 4.8-RELEASE and later (including 5.0-RELEASE and later). I haven't looked at PR posted today that fixes something related to native threads (by the way is it really necessary to use native threads for hotspot?) -- it's hard to read .uue and probably will not have enough spare time to fix problems with native threads my patch may introduce but I will be glad to hear work/doesn't work reports and do submit this file so it can be tested and probably integrated to patchset8 by someone else. /fjoe --rwEMma7ioTxnRzrJ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="threads_bsd.c" /* * BSDI $Id: threads_bsd.c,v 1.12 2002/02/07 05:19:54 glewis Exp $ * * from @(#)threads_solaris.c 1.3 98/09/16 * * Copyright 1994-1998 by Sun Microsystems, Inc., * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. * All rights reserved. * * This software is the confidential and proprietary information * of Sun Microsystems, Inc. ("Confidential Information"). You * shall not disclose such Confidential Information and shall use * it only in accordance with the terms of the license agreement * you entered into with Sun. */ /* * Implementation of HPI that can not be expressed with POSIX threads. */ #include "hpi_impl.h" #include "monitor_md.h" #include "threads_md.h" #include "np.h" #include #include #if defined(__FreeBSD__) #include #undef pthread_attr_default #undef pthread_mutexattr_default #undef pthread_condattr_default #include "pthread_private.h" #endif #include #include #include #include #include #include #include #include #include /* * Forward declarations. */ /* Private functions used to implement native threading. --billh */ #ifdef DEBUG_BSD_NATIVE_THREADS void dumpThreadLogStates(pthread_t); void dumpThreadStates(); #endif /* * Suspend a thread. Used to implement java.lang.Thread.suspend(), * which is deprecated. */ int np_suspend(sys_thread_t *tid) { return pthread_suspend_np(tid->sys_thread); } /* * Resume a suspended thread. Used to implement java.lang.Thread.resume(), * which is deprecated. */ int np_continue(sys_thread_t *tid) { return pthread_resume_np(tid->sys_thread); } /* * If there is any initialization is required by the non-POSIX parts. */ void np_initialize_thread(sys_thread_t *tid) { return; } /* * Get the stack start address, and max stack size for the current thread. */ int np_stackinfo(void **addr, long *sizep) { pthread_attr_t attr; size_t size; if ((errno = pthread_attr_init(&attr))) return SYS_ERR; if ((errno = pthread_attr_get_np(pthread_self(), &attr))) goto err; if ((errno = pthread_attr_getstackaddr(&attr, addr))) goto err; if ((errno = pthread_attr_getstacksize(&attr, &size))) goto err; *sizep = size; pthread_attr_destroy(&attr); return SYS_OK; err: pthread_attr_destroy(&attr); return SYS_ERR; } /* * We appear to use this code to suspend threads and get snapshots of * their state from the profiler. If that's the case, then it ought * to suffice to use pthread_suspend_np() and pthread_resume_np(). */ void np_profiler_init(sys_thread_t *tid) { /* We should probably attach the newly allocated pthread's thread structure to the JVM's threading abstraction here, or maybe do nothing () ? --billh */ } int np_profiler_suspend(sys_thread_t *tid) { if (errno = pthread_suspend_np(tid->sys_thread)) return SYS_ERR; return SYS_OK; } int np_profiler_continue(sys_thread_t *tid) { if (errno = pthread_resume_np(tid->sys_thread)) return SYS_ERR; return SYS_OK; } /* * Instead of picking over saved registers, we sum a chunk of the stack. */ bool_t np_profiler_thread_is_running(sys_thread_t *tid) { /* This function didn't show up any where in a grep of all the sources, nor do any of the other non-posix implementations (Linux, Solaris) have a function body more complicated than the single statement "return TRUE;". Do this for the FreeBSD implementation too, since this is a silly function anyways. --billh */ return TRUE; } int np_initialize() { return SYS_OK; } static void record_thread_regs() { struct pthread *self = pthread_self(); sys_thread_t *tid = ThreadQueue; int i; for (i = 0; i < ActiveThreadCount && tid != NULL; i++, tid = tid->next) { struct pthread *thread = tid->sys_thread; if (thread == 0) { /* * thread is still in the process of being initalized. * So GC should not care about this thread. Just * set its sp to 0, and this will force GC to ignore it. */ tid->sp = 0; continue; } tid->sp = thread->stack; /* Potential race here if the stack isn't setup before GC. --billh */ /* * The thread that calls this function will alway be the JVM GC thread, * so skip over it in the list of threads. */ if (thread != self && (thread->flags & PTHREAD_FLAGS_PRIVATE) == 0) { register_t *regbase; #ifdef DEBUG_BSD_NATIVE_THREADS /* * Got search candidate.. */ if (thread->state != PS_SUSPENDED) dumpThreadLogStates(thread); #endif regbase = (register_t*) &thread->ctx.jb[0]; tid->regs[0] = regbase[6]; /* eax */ tid->regs[1] = 0; /* ecx (missing) */ tid->regs[2] = 0; /* edx (missing) */ tid->regs[3] = regbase[1]; /* ebx */ tid->regs[4] = regbase[3]; /* ebp */ tid->regs[5] = regbase[4]; /* esi */ tid->regs[6] = regbase[5]; /* edi */ #ifdef DEBUG_BSD_NATIVE_THREADS dumpThreadStates(); #endif } } #ifdef DEBUG_BSD_NATIVE_THREADS fprintf(stderr, "\n\n\nCalling GC thread\n\n\n"); fflush(stderr); #endif } /* * Suspend all other threads, and record their contexts (register * set or stack pointer) into the sys_thread structure, so that a * garbage collect can be run. */ int np_single(void) { sysAssert(SYS_QUEUE_LOCKED(sysThreadSelf())); pthread_suspend_all_np(); record_thread_regs(); return SYS_OK; } /* * Continue threads suspended earlier. But clear their context * recorded in sys_thread structure first. */ void np_multi(void) { sysAssert(SYS_QUEUE_LOCKED(sysThreadSelf())); pthread_resume_all_np(); } #ifdef DEBUG_BSD_NATIVE_THREADS /* pthreads hackery begins --billh */ char SignalList [][16] = { "PS_RUNNING", "PS_SIGTHREAD", "PS_MUTEX_WAIT", "PS_COND_WAIT", "PS_FDLR_WAIT", "PS_FDLW_WAIT", "PS_FDR_WAIT", "PS_FDW_WAIT", "PS_FILE_WAIT", "PS_POLL_WAIT", "PS_SELECT_WAIT", "PS_SLEEP_WAIT", "PS_WAIT_WAIT", "PS_SIGSUSPEND", "PS_SIGWAIT", "PS_SPINBLOCK", "PS_JOIN", "PS_SUSPENDED", "PS_DEAD", "PS_DEADLOCK", "PS_STATE_MAX", "boundless" }; char *getThreadStateString(enum pthread_state threadState) { if (threadState < SATAN) return SignalList[threadState]; else return SignalList[SATAN-1]; } void dumpThreadStates() { int threadCount = 0; struct pthread *thread; struct pthread *self = pthread_self(); _thread_kern_sig_defer(); TAILQ_FOREACH(thread, &_thread_list, tle) { if (thread != self) { /* special case this --billh */ printf("\tthread %d\t%s\n", threadCount, getThreadStateString(thread->state)); if (thread->state != PS_SUSPENDED) dumpThreadLogStates(thread); } else { printf("\tgc thread %d\t%s\n", threadCount, getThreadStateString(thread->state)) } ++threadCount; } _thread_kern_sig_undefer(); printf("\n"); } /* [A snippet from Dan Eichen's email on the subject] You can also look at src/gnu/usr.bin/binutils/gdb/freebsd-uthread.c. It knows how to iterate through all the threads and pull out (and even set) thread contexts. All the threads are stored in a TAILQ called _thread_list. There is one thread that is private to the threads library (uthread_gc.c) and is marked with thread->flags & PTHREAD_FLAGS_PRIVATE. I don't think you want to include that thread in whatever you are doing, but that's up to you to decide. [end] 1) Write the code to extract the x86's registers from the jmp_buf and ucontext_t. --billh */ void dumpThreadLogStates(pthread_t thread) { int i; for(i=0; i < STATE_LOG_SIZE; ++i) { printf("\t\t%s, %s\n", getThreadStateString (thread->state_log[i].state), getSuspendStateString(thread->suspended) ); printf("\t\tState change fname = %s, lineno = %d, state = %d\n", thread->state_log[i].fname, thread->state_log[i].lineno, thread->state_log[i].state); if (thread->state_log[i].state == PS_SUSPENDED) { printf("\t\t***\n"); return; } } printf("\t\t***XXX\n"); } #endif --rwEMma7ioTxnRzrJ-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jan 23 13:48: 6 2003 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 8E37037B401 for ; Thu, 23 Jan 2003 13:48:05 -0800 (PST) Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id E34C243ED8 for ; Thu, 23 Jan 2003 13:48:04 -0800 (PST) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.36 #1 (Debian)) id 18bpB2-0000lV-00; Thu, 23 Jan 2003 13:46:24 -0800 Date: Thu, 23 Jan 2003 13:46:24 -0800 To: Max Khon Cc: Greg Lewis , freebsd-java@freebsd.org, "Bill Huey (Hui)" Subject: Re: /usr/local/include/utils.h Message-ID: <20030123214624.GA2919@gnuppy.monkey.org> References: <20030123194719.B25462@iclub.nsu.ru> <20030124044501.B76567@misty.eyesbeyond.com> <20030124033021.A38610@iclub.nsu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030124033021.A38610@iclub.nsu.ru> User-Agent: Mutt/1.5.3i From: Bill Huey (Hui) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Jan 24, 2003 at 03:30:21AM +0600, Max Khon wrote: > I have another (not thoroughly tested) patch to make > -DWITH_NATIVE_THREADS compile on post-4.7 system > > A replacement for j2sdk1.3.1/src/solaris/hpi/native_threads/src/threads_bsd.c > attached. It will not compile on 4.7-RELEASE and earlier, probably > some #ifdef munging should be added but I haven't bumped __FreeBSD_version > after pthreads API modifications. Probably 470101 could be used > to filter out most pre-4.7 installations and it will safely work > for 4.8-RELEASE and later (including 5.0-RELEASE and later). Native threads don't fully work anyway and it was largely a stepping stone for HotSpot, so the key component for native threading is to get HotSpot fully compiling with the latest changes. I have a libc_r jmp_buf thingy in the works that suppose to fix the problems with 1.4 J2SE along with 1.3.1, but I haven't finished it yet. I slacked off waiting for the new ucontext stuff to be committed for libc_r. > I haven't looked at PR posted today that fixes something related > to native threads (by the way is it really necessary to use > native threads for hotspot?) -- it's hard to read .uue Yes, HotSpot is pure native threading. > and probably will not have enough spare time to fix problems with > native threads my patch may introduce but I will be glad to > hear work/doesn't work reports and do submit this file so it > can be tested and probably integrated to patchset8 by someone else. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jan 23 16:31:26 2003 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 29F1437B401 for ; Thu, 23 Jan 2003 16:31:25 -0800 (PST) Received: from mail.nsu.ru (mx.nsu.ru [193.124.215.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 38F3843F13 for ; Thu, 23 Jan 2003 16:31:23 -0800 (PST) (envelope-from fjoe@iclub.nsu.ru) Received: from drweb by mail.nsu.ru with drweb-scanned (Exim 3.20 #1) id 18brjB-0003AG-00; Fri, 24 Jan 2003 06:29:49 +0600 Received: from iclub.nsu.ru ([193.124.215.97] ident=root) by mail.nsu.ru with esmtp (Exim 3.20 #1) id 18brjA-0003A0-00; Fri, 24 Jan 2003 06:29:48 +0600 Received: from iclub.nsu.ru (fjoe@localhost [127.0.0.1]) by iclub.nsu.ru (8.12.6/8.12.6) with ESMTP id h0O0TgRV044213; Fri, 24 Jan 2003 06:29:42 +0600 (NS) (envelope-from fjoe@iclub.nsu.ru) Received: (from fjoe@localhost) by iclub.nsu.ru (8.12.6/8.12.6/Submit) id h0O0TepM044212; Fri, 24 Jan 2003 06:29:40 +0600 (NS) Date: Fri, 24 Jan 2003 06:29:40 +0600 From: Max Khon To: Bill Huey Cc: Greg Lewis , freebsd-java@freebsd.org Subject: Re: /usr/local/include/utils.h Message-ID: <20030124062940.A44070@iclub.nsu.ru> References: <20030123194719.B25462@iclub.nsu.ru> <20030124044501.B76567@misty.eyesbeyond.com> <20030124033021.A38610@iclub.nsu.ru> <20030123214624.GA2919@gnuppy.monkey.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030123214624.GA2919@gnuppy.monkey.org>; from billh@gnuppy.monkey.org on Thu, Jan 23, 2003 at 01:46:24PM -0800 X-Spam-Status: No, hits=-3.0 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01, USER_AGENT,USER_AGENT_MUTT version=2.43 X-Envelope-To: billh@gnuppy.monkey.org, glewis@eyesbeyond.com, freebsd-java@freebsd.org Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org hi, there! On Thu, Jan 23, 2003 at 01:46:24PM -0800, Bill Huey wrote: > > I have another (not thoroughly tested) patch to make > > -DWITH_NATIVE_THREADS compile on post-4.7 system > > > > A replacement for j2sdk1.3.1/src/solaris/hpi/native_threads/src/threads_bsd.c > > attached. It will not compile on 4.7-RELEASE and earlier, probably > > some #ifdef munging should be added but I haven't bumped __FreeBSD_version > > after pthreads API modifications. Probably 470101 could be used > > to filter out most pre-4.7 installations and it will safely work > > for 4.8-RELEASE and later (including 5.0-RELEASE and later). > > Native threads don't fully work anyway and it was largely a stepping > stone for HotSpot, so the key component for native threading is to > get HotSpot fully compiling with the latest changes. I have a libc_r > jmp_buf thingy in the works that suppose to fix the problems with 1.4 > J2SE along with 1.3.1, but I haven't finished it yet. I slacked off > waiting for the new ucontext stuff to be committed for libc_r. This file (the file I attached) contains jmp_buf stuff + use of pthread_get_attr_np to get thread stack address and its size in portable (between libc_r versions) way. I think it could be useful for 1.3.1 HotSpot too. > > I haven't looked at PR posted today that fixes something related > > to native threads (by the way is it really necessary to use > > native threads for hotspot?) -- it's hard to read .uue > > Yes, HotSpot is pure native threading. I mean: is jdk13 built with -DWITH_NATIVE_THREADS required for HotSpot? I saw this requirement on some Japanese sites. /fjoe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jan 23 17:12:19 2003 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 41CA737B401 for ; Thu, 23 Jan 2003 17:12:18 -0800 (PST) Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0C5243F5B for ; Thu, 23 Jan 2003 17:12:17 -0800 (PST) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.36 #1 (Debian)) id 18bsMl-0000zL-00; Thu, 23 Jan 2003 17:10:43 -0800 Date: Thu, 23 Jan 2003 17:10:42 -0800 To: Max Khon Cc: Greg Lewis , freebsd-java@freebsd.org, "Bill Huey (Hui)" Subject: Re: /usr/local/include/utils.h Message-ID: <20030124011042.GA3765@gnuppy.monkey.org> References: <20030123194719.B25462@iclub.nsu.ru> <20030124044501.B76567@misty.eyesbeyond.com> <20030124033021.A38610@iclub.nsu.ru> <20030123214624.GA2919@gnuppy.monkey.org> <20030124062940.A44070@iclub.nsu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030124062940.A44070@iclub.nsu.ru> User-Agent: Mutt/1.5.3i From: Bill Huey (Hui) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Jan 24, 2003 at 06:29:40AM +0600, Max Khon wrote: > This file (the file I attached) contains jmp_buf stuff + > use of pthread_get_attr_np to get thread stack address and its size > in portable (between libc_r versions) way. > I think it could be useful for 1.3.1 HotSpot too. Where's the attachment ? Getting those values needs to also respect how safepointing is done and how Solaris's LWP stuff backs a thread with various run states. Fortunately, I've done the thinking and have figured out that you can just get any thread context, manipulate it as long as it's not the current thread, so it's likely your patch will work (yet to see it). > I mean: is jdk13 built with -DWITH_NATIVE_THREADS required for HotSpot? > I saw this requirement on some Japanese sites. Well, it's partially required. It needs it and a small series of files to compile correctly since HotSpot then uses some those compiled files to interface to. The JVM itself is used as a supporting library to HotSpot, scary I know. :) The native threading stuff you're compiling is glue to the JVM for HotSpot. The native threading interface stuff contains stuff that it partially needs, but the threading system is pure HotSpot, C++ and other wierd stuff. It's also very scary. :) bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jan 23 17:16:36 2003 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 0044637B401 for ; Thu, 23 Jan 2003 17:16:34 -0800 (PST) Received: from mail.nsu.ru (mx.nsu.ru [193.124.215.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE3F943E4A for ; Thu, 23 Jan 2003 17:16:33 -0800 (PST) (envelope-from fjoe@iclub.nsu.ru) Received: from drweb by mail.nsu.ru with drweb-scanned (Exim 3.20 #1) id 18bsQv-0002Wl-00; Fri, 24 Jan 2003 07:15:01 +0600 Received: from iclub.nsu.ru ([193.124.215.97] ident=root) by mail.nsu.ru with esmtp (Exim 3.20 #1) id 18bsQu-0002WQ-00; Fri, 24 Jan 2003 07:15:00 +0600 Received: from iclub.nsu.ru (fjoe@localhost [127.0.0.1]) by iclub.nsu.ru (8.12.6/8.12.6) with ESMTP id h0O1EpRV045331; Fri, 24 Jan 2003 07:14:51 +0600 (NS) (envelope-from fjoe@iclub.nsu.ru) Received: (from fjoe@localhost) by iclub.nsu.ru (8.12.6/8.12.6/Submit) id h0O1EpSB045330; Fri, 24 Jan 2003 07:14:51 +0600 (NS) Date: Fri, 24 Jan 2003 07:14:50 +0600 From: Max Khon To: Bill Huey Cc: Greg Lewis , freebsd-java@freebsd.org Subject: Re: /usr/local/include/utils.h Message-ID: <20030124071450.A45276@iclub.nsu.ru> References: <20030123194719.B25462@iclub.nsu.ru> <20030124044501.B76567@misty.eyesbeyond.com> <20030124033021.A38610@iclub.nsu.ru> <20030123214624.GA2919@gnuppy.monkey.org> <20030124062940.A44070@iclub.nsu.ru> <20030124011042.GA3765@gnuppy.monkey.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030124011042.GA3765@gnuppy.monkey.org>; from billh@gnuppy.monkey.org on Thu, Jan 23, 2003 at 05:10:42PM -0800 X-Spam-Status: No, hits=-2.7 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_03_05, USER_AGENT,USER_AGENT_MUTT version=2.43 X-Envelope-To: billh@gnuppy.monkey.org, glewis@eyesbeyond.com, freebsd-java@freebsd.org Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org hi, there! On Thu, Jan 23, 2003 at 05:10:42PM -0800, Bill Huey wrote: > > This file (the file I attached) contains jmp_buf stuff + > > use of pthread_get_attr_np to get thread stack address and its size > > in portable (between libc_r versions) way. > > I think it could be useful for 1.3.1 HotSpot too. > > Where's the attachment ? original e-mail contained an attachement. should I repost to mailing list or send it privately? > Getting those values needs to also respect how safepointing is done and > how Solaris's LWP stuff backs a thread with various run states. > Fortunately, I've done the thinking and have figured out that you can > just get any thread context, manipulate it as long as it's not the > current thread, so it's likely your patch will work (yet to see it). > > > I mean: is jdk13 built with -DWITH_NATIVE_THREADS required for HotSpot? > > I saw this requirement on some Japanese sites. > > Well, it's partially required. It needs it and a small series of files > to compile correctly since HotSpot then uses some those compiled files > to interface to. The JVM itself is used as a supporting library to HotSpot, > scary I know. :) The native threading stuff you're compiling is glue > to the JVM for HotSpot. > > The native threading interface stuff contains stuff that it partially > needs, but the threading system is pure HotSpot, C++ and other wierd > stuff. It's also very scary. :) thanks for explanation! /fjoe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jan 23 17:31:48 2003 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 21A0037B401 for ; Thu, 23 Jan 2003 17:31:48 -0800 (PST) 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 4ABD743F18 for ; Thu, 23 Jan 2003 17:31:47 -0800 (PST) (envelope-from kurt@twoface.shiftmanager.net) Received: from localhost (localhost.shiftmanager.net [127.0.0.1]) by twoface.shiftmanager.net (8.12.6/8.12.6) with ESMTP id h0O1bf7m087248 for ; Thu, 23 Jan 2003 17:37:42 -0800 (PST) (envelope-from kurt@twoface.shiftmanager.net) Date: Thu, 23 Jan 2003 17:37:41 -0800 (PST) From: Kurt Werle Reply-To: Kurt Werle To: freebsd-java@FreeBSD.ORG Subject: Native JDK? In-Reply-To: <20030124012757.D51F137B405@hub.freebsd.org> Message-ID: <20030123173455.T85978-100000@twoface.shiftmanager.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org It's been many months since the FreeBSD team announced they were going to ship a native version of the JDK with version 4.5. Here we are at 5.0, and I don't see any sign of that Shipped Native Port. Should I give up hope and just use a linux box for my Java work, or is there still a chance that the port will be done (in the near future)? Thanks, Kurt --- kwerle@pobox.com http://www.pobox.com/~kwerle/ Tired of spam? Control your Mailserver (or .forward)? http://tess.sf.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jan 23 17:45:11 2003 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 72FC337B401 for ; Thu, 23 Jan 2003 17:45:08 -0800 (PST) Received: from seed.net.tw (sn13.seed.net.tw [139.175.54.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F55C43F43 for ; Thu, 23 Jan 2003 17:45:02 -0800 (PST) (envelope-from leafy@leafy.idv.tw) Received: from [211.74.134.3] (port=49491 helo=leafy.idv.tw) by seed.net.tw with esmtp (Seednet 4.10:4) id 18bstx-000JcO-00 for freebsd-java@freebsd.org; Fri, 24 Jan 2003 09:45:01 +0800 Received: from leafy.idv.tw (nobody@localhost [127.0.0.1]) by leafy.idv.tw (8.12.6/8.12.6) with ESMTP id h0O1j0IA094709 for ; Fri, 24 Jan 2003 09:45:00 +0800 (CST) (envelope-from leafy@leafy.idv.tw) Received: (from leafy@localhost) by leafy.idv.tw (8.12.6/8.12.6/Submit) id h0O1ixOp094708 for freebsd-java@freebsd.org; Fri, 24 Jan 2003 09:44:59 +0800 (CST) Date: Fri, 24 Jan 2003 09:44:59 +0800 From: leafy To: freebsd-java@freebsd.org Subject: The output from the lastest patch on -current Message-ID: <20030124014459.GA94646@leafy.idv.tw> Mail-Followup-To: freebsd-java@freebsd.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Qxx1br4bt0+wmkIi" Content-Disposition: inline User-Agent: Mutt/1.5.3i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --Qxx1br4bt0+wmkIi Content-Type: text/plain; charset=big5 Content-Disposition: inline Hi, Attached is the output from "java -version". I used the latest Hotspot patch from last night on this list and world is: Thu Jan 23 13:04:06 CST(GMT+8). leafy -- "Without the userland, the kernel is useless." --inspired by The Tao of Programming --Qxx1br4bt0+wmkIi Content-Type: text/plain; charset=big5 Content-Disposition: attachment; filename=log Java HotSpot(TM) Core VM warning: os::allocate_thread_local_storage: pthread_key = 0x00000000 sizep == 0x00100000 Java HotSpot(TM) Core VM warning: os::thread_local_storage_at: can't find the key for "index = 0x00000000" Java HotSpot(TM) Core VM warning: os::thread_local_storage_at_put: index = 0x00000000, value = 0x08066000 Java HotSpot(TM) Core VM warning: must be the same thread, slowly 0x08066000, 0x08066000 Java HotSpot(TM) Core VM warning: Attempt to guard stack yellow zone failed. Java HotSpot(TM) Core VM warning: Attempt to guard stack red zone failed. Java HotSpot(TM) Core VM warning: os::thread_local_storage_at: can't find the key for "index = 0x00000000" Java HotSpot(TM) Core VM warning: os::thread_local_storage_at_put: index = 0x00000000, value = 0x08061480 Java HotSpot(TM) Core VM warning: must be the same thread, slowly 0x08061480, 0x08061480 sizep == 0x00010000 sizep == 0x00040000 Java HotSpot(TM) Core VM warning: os::thread_local_storage_at: can't find the key for "index = 0x00000000" Java HotSpot(TM) Core VM warning: os::thread_local_storage_at_put: index = 0x00000000, value = 0x08066600 Java HotSpot(TM) Core VM warning: must be the same thread, slowly 0x08066600, 0x08066600 Java HotSpot(TM) Core VM warning: Attempt to guard stack yellow zone failed. Java HotSpot(TM) Core VM warning: Attempt to guard stack red zone failed. sizep == 0x00040000 Java HotSpot(TM) Core VM warning: os::thread_local_storage_at: can't find the key for "index = 0x00000000" Java HotSpot(TM) Core VM warning: os::thread_local_storage_at_put: index = 0x00000000, value = 0x08066800 Java HotSpot(TM) Core VM warning: must be the same thread, slowly 0x08066800, 0x08066800 Java HotSpot(TM) Core VM warning: Attempt to guard stack yellow zone failed. Java HotSpot(TM) Core VM warning: Attempt to guard stack red zone failed. sizep == 0x00010000 Java HotSpot(TM) Core VM warning: os::thread_local_storage_at: can't find the key for "index = 0x00000000" Java HotSpot(TM) Core VM warning: os::thread_local_storage_at_put: index = 0x00000000, value = 0x08061680 Java HotSpot(TM) Core VM warning: must be the same thread, slowly 0x08061680, 0x08061680 sizep == 0x00010000 Java HotSpot(TM) Core VM warning: os::thread_local_storage_at: can't find the key for "index = 0x00000000" Java HotSpot(TM) Core VM warning: os::thread_local_storage_at_put: index = 0x00000000, value = 0x08061780 Java HotSpot(TM) Core VM warning: must be the same thread, slowly 0x08061780, 0x08061780 java version "1.3.1-p7" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p7-leafy-030124-03:07) Java HotSpot(TM) Core VM (build 1.3.1-internal, interpreted mode) sizep == 0x00040000 Java HotSpot(TM) Core VM warning: os::thread_local_storage_at: can't find the key for "index = 0x00000000" Java HotSpot(TM) Core VM warning: os::thread_local_storage_at_put: index = 0x00000000, value = 0x08066e00 Java HotSpot(TM) Core VM warning: must be the same thread, slowly 0x08066e00, 0x08066e00 Java HotSpot(TM) Core VM warning: Attempt to guard stack yellow zone failed. Java HotSpot(TM) Core VM warning: Attempt to guard stack red zone failed. Java HotSpot(TM) Core VM warning: os::thread_local_storage_at_put: index = 0x00000000, value = 0x00000000 Java HotSpot(TM) Core VM warning: os::thread_local_storage_at: can't find the key for "index = 0x00000000" Java HotSpot(TM) Core VM warning: must be the same thread, slowly 0x00000000, 0x00000000 Java HotSpot(TM) Core VM warning: os::thread_local_storage_at: can't find the key for "index = 0x00000000" Java HotSpot(TM) Core VM warning: os::thread_local_storage_at: can't find the key for "index = 0x00000000" Java HotSpot(TM) Core VM warning: os::thread_local_storage_at_put: index = 0x00000000, value = 0x00000000 Java HotSpot(TM) Core VM warning: os::thread_local_storage_at: can't find the key for "index = 0x00000000" Java HotSpot(TM) Core VM warning: must be the same thread, slowly 0x00000000, 0x00000000 Java HotSpot(TM) Core VM warning: os::thread_local_storage_at: can't find the key for "index = 0x00000000" Java HotSpot(TM) Core VM warning: os::thread_local_storage_at: can't find the key for "index = 0x00000000" Java HotSpot(TM) Core VM warning: os::thread_local_storage_at_put: index = 0x00000000, value = 0x00000000 Java HotSpot(TM) Core VM warning: os::thread_local_storage_at: can't find the key for "index = 0x00000000" Java HotSpot(TM) Core VM warning: must be the same thread, slowly 0x00000000, 0x00000000 Java HotSpot(TM) Core VM warning: os::thread_local_storage_at: can't find the key for "index = 0x00000000" Java HotSpot(TM) Core VM warning: os::thread_local_storage_at: can't find the key for "index = 0x00000000" Java HotSpot(TM) Core VM warning: os::thread_local_storage_at_put: index = 0x00000000, value = 0x00000000 Java HotSpot(TM) Core VM warning: os::thread_local_storage_at: can't find the key for "index = 0x00000000" Java HotSpot(TM) Core VM warning: must be the same thread, slowly 0x00000000, 0x00000000 Java HotSpot(TM) Core VM warning: os::thread_local_storage_at: can't find the key for "index = 0x00000000" Java HotSpot(TM) Core VM warning: os::thread_local_storage_at: can't find the key for "index = 0x00000000" --Qxx1br4bt0+wmkIi-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jan 23 17:48:11 2003 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 6723137B401 for ; Thu, 23 Jan 2003 17:48:10 -0800 (PST) Received: from smtp.sw.oz.au (gw.softway.com.au [203.31.96.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95BC843EB2 for ; Thu, 23 Jan 2003 17:48:08 -0800 (PST) (envelope-from vance@aurema.com) Received: (from vance@localhost) by smtp.sw.oz.au (8.8.8+Sun/8.8.8) id MAA07136; Fri, 24 Jan 2003 12:47:47 +1100 (EST) Date: Fri, 24 Jan 2003 12:47:47 +1100 From: Christopher Vance To: Kurt Werle Cc: freebsd-java@FreeBSD.ORG Subject: Re: Native JDK? Message-ID: <20030124124747.C7039@aurema.com> References: <20030124012757.D51F137B405@hub.freebsd.org> <20030123173455.T85978-100000@twoface.shiftmanager.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030123173455.T85978-100000@twoface.shiftmanager.net>; from kurt@twoface.shiftmanager.net on Thu, Jan 23, 2003 at 05:37:41PM -0800 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Jan 23, 2003 at 05:37:41PM -0800, Kurt Werle wrote: : It's been many months since the FreeBSD team announced they were going to : ship a native version of the JDK with version 4.5. Here we are at 5.0, : and I don't see any sign of that Shipped Native Port. : : Should I give up hope and just use a linux box for my Java work, or is : there still a chance that the port will be done (in the near future)? Why don't you compile one from the port? That's how I got mine and lotsa people dunnit. I would guess the delay in getting a package out is due to Sun's bureaucracy. -- Christopher Vance To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jan 23 17:52: 4 2003 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 9009537B401 for ; Thu, 23 Jan 2003 17:52:03 -0800 (PST) Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28EB543ED8 for ; Thu, 23 Jan 2003 17:52:03 -0800 (PST) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.36 #1 (Debian)) id 18bt0b-0001qy-00; Thu, 23 Jan 2003 17:51:53 -0800 Date: Thu, 23 Jan 2003 17:51:53 -0800 To: leafy Cc: freebsd-java@freebsd.org, "Bill Huey (Hui)" Subject: Re: The output from the lastest patch on -current Message-ID: <20030124015153.GA7116@gnuppy.monkey.org> References: <20030124014459.GA94646@leafy.idv.tw> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030124014459.GA94646@leafy.idv.tw> User-Agent: Mutt/1.5.3i From: Bill Huey (Hui) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Jan 24, 2003 at 09:44:59AM +0800, leafy wrote: > Hi, > > Attached is the output from "java -version". I used the latest Hotspot patch from last night on this list and world is: Thu Jan 23 13:04:06 CST(GMT+8). > > leafy It's debug code, my own even. Ignore it. :) The next patchset should have this removed. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jan 23 17:54:19 2003 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 E180A37B401 for ; Thu, 23 Jan 2003 17:54:18 -0800 (PST) Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C4B043E4A for ; Thu, 23 Jan 2003 17:54:18 -0800 (PST) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.36 #1 (Debian)) id 18bt2j-0001rS-00; Thu, 23 Jan 2003 17:54:05 -0800 Date: Thu, 23 Jan 2003 17:54:05 -0800 To: Christopher Vance Cc: Kurt Werle , freebsd-java@FreeBSD.ORG, "Bill Huey (Hui)" Subject: Re: Native JDK? Message-ID: <20030124015405.GB7116@gnuppy.monkey.org> References: <20030124012757.D51F137B405@hub.freebsd.org> <20030123173455.T85978-100000@twoface.shiftmanager.net> <20030124124747.C7039@aurema.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030124124747.C7039@aurema.com> User-Agent: Mutt/1.5.3i From: Bill Huey (Hui) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Jan 24, 2003 at 12:47:47PM +1100, Christopher Vance wrote: > I would guess the delay in getting a package out is due to Sun's > bureaucracy. It's legit though. Well, uh, the good thing about this matter is that there's been a lot progress on getting our stuff certified and that last I heard (cc-ed) was that we just got certification for J2SE 1.3.1 under green threads from Sun. Uh, keep this quiet. ;) bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jan 23 17:57:31 2003 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 34EDA37B401 for ; Thu, 23 Jan 2003 17:57:30 -0800 (PST) Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id C672743ED8 for ; Thu, 23 Jan 2003 17:57:29 -0800 (PST) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.36 #1 (Debian)) id 18bt4d-0001rq-00; Thu, 23 Jan 2003 17:56:03 -0800 Date: Thu, 23 Jan 2003 17:56:02 -0800 To: Max Khon Cc: Greg Lewis , freebsd-java@freebsd.org, "Bill Huey (Hui)" Subject: Re: /usr/local/include/utils.h Message-ID: <20030124015602.GC7116@gnuppy.monkey.org> References: <20030123194719.B25462@iclub.nsu.ru> <20030124044501.B76567@misty.eyesbeyond.com> <20030124033021.A38610@iclub.nsu.ru> <20030123214624.GA2919@gnuppy.monkey.org> <20030124062940.A44070@iclub.nsu.ru> <20030124011042.GA3765@gnuppy.monkey.org> <20030124071450.A45276@iclub.nsu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030124071450.A45276@iclub.nsu.ru> User-Agent: Mutt/1.5.3i From: Bill Huey (Hui) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Jan 24, 2003 at 07:14:50AM +0600, Max Khon wrote: > original e-mail contained an attachement. should I repost to > mailing list or send it privately? Either way is fine, publically would be fine as well as to me and Greg. It's not very difficult to do, but I've been pretty unmotivated to do it since I'm trying to move into kernel work. :) bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jan 23 18: 1: 0 2003 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 6988237B401 for ; Thu, 23 Jan 2003 18:00:59 -0800 (PST) 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 DA68443F6D for ; Thu, 23 Jan 2003 18:00:58 -0800 (PST) (envelope-from kurt@twoface.shiftmanager.net) Received: from localhost (localhost.shiftmanager.net [127.0.0.1]) by twoface.shiftmanager.net (8.12.6/8.12.6) with ESMTP id h0O26r7m087381; Thu, 23 Jan 2003 18:06:53 -0800 (PST) (envelope-from kurt@twoface.shiftmanager.net) Date: Thu, 23 Jan 2003 18:06:53 -0800 (PST) From: Kurt Werle Reply-To: Kurt Werle To: Bill Huey Cc: freebsd-java@FreeBSD.ORG Subject: Re: Native JDK? In-Reply-To: <20030124015405.GB7116@gnuppy.monkey.org> Message-ID: <20030123180330.W87330-100000@twoface.shiftmanager.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, 23 Jan 2003, Bill Huey wrote: > On Fri, Jan 24, 2003 at 12:47:47PM +1100, Christopher Vance wrote: > > I would guess the delay in getting a package out is due to Sun's > > bureaucracy. Much as I dislike SUN, I gotta think they're not the only issue here. > It's legit though. Well, uh, the good thing about this matter is > that there's been a lot progress on getting our stuff certified > and that last I heard (cc-ed) was that we just got certification for > J2SE 1.3.1 under green threads from Sun. Uh, keep this quiet. ;) That sounds like it's almost really exciting. I was really excited back pre-4.5 when that announcement was made, but now I'm just feeling dubiously hopeful (tm). What happens next, and when can we expect it to happen? Oh, and when was "last I heard"? Thanks, Kurt --- kwerle@pobox.com http://www.pobox.com/~kwerle/ Tired of spam? Control your Mailserver (or .forward)? http://tess.sf.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jan 23 18: 9: 3 2003 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 309EE37B401 for ; Thu, 23 Jan 2003 18:08:49 -0800 (PST) Received: from mail.nsu.ru (mx.nsu.ru [193.124.215.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3867743F13 for ; Thu, 23 Jan 2003 18:08:47 -0800 (PST) (envelope-from fjoe@iclub.nsu.ru) Received: from drweb by mail.nsu.ru with drweb-scanned (Exim 3.20 #1) id 18btFU-0004Zf-00; Fri, 24 Jan 2003 08:07:16 +0600 Received: from iclub.nsu.ru ([193.124.215.97] ident=root) by mail.nsu.ru with esmtp (Exim 3.20 #1) id 18btFT-0004ZS-00; Fri, 24 Jan 2003 08:07:15 +0600 Received: from iclub.nsu.ru (fjoe@localhost [127.0.0.1]) by iclub.nsu.ru (8.12.6/8.12.6) with ESMTP id h0O271RV046717; Fri, 24 Jan 2003 08:07:01 +0600 (NS) (envelope-from fjoe@iclub.nsu.ru) Received: (from fjoe@localhost) by iclub.nsu.ru (8.12.6/8.12.6/Submit) id h0O270iE046710; Fri, 24 Jan 2003 08:07:00 +0600 (NS) Date: Fri, 24 Jan 2003 08:06:59 +0600 From: Max Khon To: Bill Huey Cc: Greg Lewis , freebsd-java@freebsd.org Subject: Re: /usr/local/include/utils.h Message-ID: <20030124080659.A46417@iclub.nsu.ru> References: <20030123194719.B25462@iclub.nsu.ru> <20030124044501.B76567@misty.eyesbeyond.com> <20030124033021.A38610@iclub.nsu.ru> <20030123214624.GA2919@gnuppy.monkey.org> <20030124062940.A44070@iclub.nsu.ru> <20030124011042.GA3765@gnuppy.monkey.org> <20030124071450.A45276@iclub.nsu.ru> <20030124015602.GC7116@gnuppy.monkey.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="ZPt4rx8FFjLCG7dd" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030124015602.GC7116@gnuppy.monkey.org>; from billh@gnuppy.monkey.org on Thu, Jan 23, 2003 at 05:56:02PM -0800 X-Spam-Status: No, hits=-3.0 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01, USER_AGENT,USER_AGENT_MUTT version=2.43 X-Envelope-To: billh@gnuppy.monkey.org, glewis@eyesbeyond.com, freebsd-java@freebsd.org Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --ZPt4rx8FFjLCG7dd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline hi, there! On Thu, Jan 23, 2003 at 05:56:02PM -0800, Bill Huey wrote: > > original e-mail contained an attachement. should I repost to > > mailing list or send it privately? > > Either way is fine, publically would be fine as well as to me > and Greg. It's not very difficult to do, but I've been pretty > unmotivated to do it since I'm trying to move into kernel work. :) hmm, ok, I'll repost it. The file should be placed instead of j2sdk1.3.1/src/solaris/hpi/native_threads/src/threads_bsd.c Basically it contains the following changes: - catchup with latest changes to ucontext (use jmp_buf only) - use pthread_attr_get_np to get thread stack address and its size both should be #ifdef'ed with '#if __FreeBSD_version >= 470101' if we would like to support FreeBSD 4.7-RELEASE and earlier (this will leave some window between 4.7-RELEASE and 4.8-RELEASE where it will not compile but basically it's ok) /fjoe --ZPt4rx8FFjLCG7dd Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="threads_bsd.c" /* * BSDI $Id: threads_bsd.c,v 1.12 2002/02/07 05:19:54 glewis Exp $ * * from @(#)threads_solaris.c 1.3 98/09/16 * * Copyright 1994-1998 by Sun Microsystems, Inc., * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. * All rights reserved. * * This software is the confidential and proprietary information * of Sun Microsystems, Inc. ("Confidential Information"). You * shall not disclose such Confidential Information and shall use * it only in accordance with the terms of the license agreement * you entered into with Sun. */ /* * Implementation of HPI that can not be expressed with POSIX threads. */ #include "hpi_impl.h" #include "monitor_md.h" #include "threads_md.h" #include "np.h" #include #include #if defined(__FreeBSD__) #include #undef pthread_attr_default #undef pthread_mutexattr_default #undef pthread_condattr_default #include "pthread_private.h" #endif #include #include #include #include #include #include #include #include #include /* * Forward declarations. */ /* Private functions used to implement native threading. --billh */ #ifdef DEBUG_BSD_NATIVE_THREADS void dumpThreadLogStates(pthread_t); void dumpThreadStates(); #endif /* * Suspend a thread. Used to implement java.lang.Thread.suspend(), * which is deprecated. */ int np_suspend(sys_thread_t *tid) { return pthread_suspend_np(tid->sys_thread); } /* * Resume a suspended thread. Used to implement java.lang.Thread.resume(), * which is deprecated. */ int np_continue(sys_thread_t *tid) { return pthread_resume_np(tid->sys_thread); } /* * If there is any initialization is required by the non-POSIX parts. */ void np_initialize_thread(sys_thread_t *tid) { return; } /* * Get the stack start address, and max stack size for the current thread. */ int np_stackinfo(void **addr, long *sizep) { pthread_attr_t attr; size_t size; if ((errno = pthread_attr_init(&attr))) return SYS_ERR; if ((errno = pthread_attr_get_np(pthread_self(), &attr))) goto err; if ((errno = pthread_attr_getstackaddr(&attr, addr))) goto err; if ((errno = pthread_attr_getstacksize(&attr, &size))) goto err; *sizep = size; pthread_attr_destroy(&attr); return SYS_OK; err: pthread_attr_destroy(&attr); return SYS_ERR; } /* * We appear to use this code to suspend threads and get snapshots of * their state from the profiler. If that's the case, then it ought * to suffice to use pthread_suspend_np() and pthread_resume_np(). */ void np_profiler_init(sys_thread_t *tid) { /* We should probably attach the newly allocated pthread's thread structure to the JVM's threading abstraction here, or maybe do nothing () ? --billh */ } int np_profiler_suspend(sys_thread_t *tid) { if (errno = pthread_suspend_np(tid->sys_thread)) return SYS_ERR; return SYS_OK; } int np_profiler_continue(sys_thread_t *tid) { if (errno = pthread_resume_np(tid->sys_thread)) return SYS_ERR; return SYS_OK; } /* * Instead of picking over saved registers, we sum a chunk of the stack. */ bool_t np_profiler_thread_is_running(sys_thread_t *tid) { /* This function didn't show up any where in a grep of all the sources, nor do any of the other non-posix implementations (Linux, Solaris) have a function body more complicated than the single statement "return TRUE;". Do this for the FreeBSD implementation too, since this is a silly function anyways. --billh */ return TRUE; } int np_initialize() { return SYS_OK; } static void record_thread_regs() { struct pthread *self = pthread_self(); sys_thread_t *tid = ThreadQueue; int i; for (i = 0; i < ActiveThreadCount && tid != NULL; i++, tid = tid->next) { struct pthread *thread = tid->sys_thread; if (thread == 0) { /* * thread is still in the process of being initalized. * So GC should not care about this thread. Just * set its sp to 0, and this will force GC to ignore it. */ tid->sp = 0; continue; } tid->sp = thread->stack; /* Potential race here if the stack isn't setup before GC. --billh */ /* * The thread that calls this function will alway be the JVM GC thread, * so skip over it in the list of threads. */ if (thread != self && (thread->flags & PTHREAD_FLAGS_PRIVATE) == 0) { register_t *regbase; #ifdef DEBUG_BSD_NATIVE_THREADS /* * Got search candidate.. */ if (thread->state != PS_SUSPENDED) dumpThreadLogStates(thread); #endif regbase = (register_t*) &thread->ctx.jb[0]; tid->regs[0] = regbase[6]; /* eax */ tid->regs[1] = 0; /* ecx (missing) */ tid->regs[2] = 0; /* edx (missing) */ tid->regs[3] = regbase[1]; /* ebx */ tid->regs[4] = regbase[3]; /* ebp */ tid->regs[5] = regbase[4]; /* esi */ tid->regs[6] = regbase[5]; /* edi */ #ifdef DEBUG_BSD_NATIVE_THREADS dumpThreadStates(); #endif } } #ifdef DEBUG_BSD_NATIVE_THREADS fprintf(stderr, "\n\n\nCalling GC thread\n\n\n"); fflush(stderr); #endif } /* * Suspend all other threads, and record their contexts (register * set or stack pointer) into the sys_thread structure, so that a * garbage collect can be run. */ int np_single(void) { sysAssert(SYS_QUEUE_LOCKED(sysThreadSelf())); pthread_suspend_all_np(); record_thread_regs(); return SYS_OK; } /* * Continue threads suspended earlier. But clear their context * recorded in sys_thread structure first. */ void np_multi(void) { sysAssert(SYS_QUEUE_LOCKED(sysThreadSelf())); pthread_resume_all_np(); } #ifdef DEBUG_BSD_NATIVE_THREADS /* pthreads hackery begins --billh */ char SignalList [][16] = { "PS_RUNNING", "PS_SIGTHREAD", "PS_MUTEX_WAIT", "PS_COND_WAIT", "PS_FDLR_WAIT", "PS_FDLW_WAIT", "PS_FDR_WAIT", "PS_FDW_WAIT", "PS_FILE_WAIT", "PS_POLL_WAIT", "PS_SELECT_WAIT", "PS_SLEEP_WAIT", "PS_WAIT_WAIT", "PS_SIGSUSPEND", "PS_SIGWAIT", "PS_SPINBLOCK", "PS_JOIN", "PS_SUSPENDED", "PS_DEAD", "PS_DEADLOCK", "PS_STATE_MAX", "boundless" }; char *getThreadStateString(enum pthread_state threadState) { if (threadState < SATAN) return SignalList[threadState]; else return SignalList[SATAN-1]; } void dumpThreadStates() { int threadCount = 0; struct pthread *thread; struct pthread *self = pthread_self(); _thread_kern_sig_defer(); TAILQ_FOREACH(thread, &_thread_list, tle) { if (thread != self) { /* special case this --billh */ printf("\tthread %d\t%s\n", threadCount, getThreadStateString(thread->state)); if (thread->state != PS_SUSPENDED) dumpThreadLogStates(thread); } else { printf("\tgc thread %d\t%s\n", threadCount, getThreadStateString(thread->state)) } ++threadCount; } _thread_kern_sig_undefer(); printf("\n"); } /* [A snippet from Dan Eichen's email on the subject] You can also look at src/gnu/usr.bin/binutils/gdb/freebsd-uthread.c. It knows how to iterate through all the threads and pull out (and even set) thread contexts. All the threads are stored in a TAILQ called _thread_list. There is one thread that is private to the threads library (uthread_gc.c) and is marked with thread->flags & PTHREAD_FLAGS_PRIVATE. I don't think you want to include that thread in whatever you are doing, but that's up to you to decide. [end] 1) Write the code to extract the x86's registers from the jmp_buf and ucontext_t. --billh */ void dumpThreadLogStates(pthread_t thread) { int i; for(i=0; i < STATE_LOG_SIZE; ++i) { printf("\t\t%s, %s\n", getThreadStateString (thread->state_log[i].state), getSuspendStateString(thread->suspended) ); printf("\t\tState change fname = %s, lineno = %d, state = %d\n", thread->state_log[i].fname, thread->state_log[i].lineno, thread->state_log[i].state); if (thread->state_log[i].state == PS_SUSPENDED) { printf("\t\t***\n"); return; } } printf("\t\t***XXX\n"); } #endif --ZPt4rx8FFjLCG7dd-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jan 23 18:11:55 2003 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 9DC3437B401 for ; Thu, 23 Jan 2003 18:11:54 -0800 (PST) Received: from corb.mc.mpls.visi.com (corb.mc.mpls.visi.com [208.42.156.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12C9643E4A for ; Thu, 23 Jan 2003 18:11:54 -0800 (PST) (envelope-from veldy@veldy.net) Received: from veldy.net (veldy-host33.dsl.visi.com [209.98.200.33]) by corb.mc.mpls.visi.com (Postfix) with ESMTP id 65031832F; Thu, 23 Jan 2003 20:11:53 -0600 (CST) Received: from cascade (cascade.veldy.net [192.168.1.1]) by veldy.net (Postfix) with SMTP id A5E5B5D2D; Thu, 23 Jan 2003 20:11:52 -0600 (CST) Message-ID: <007b01c2c34d$f56aa3e0$0101a8c0@cascade> From: "Thomas T. Veldhouse" To: "Christopher Vance" , References: <20030124012757.D51F137B405@hub.freebsd.org> <20030123173455.T85978-100000@twoface.shiftmanager.net> <20030124124747.C7039@aurema.com> Subject: Re: Native JDK? Date: Thu, 23 Jan 2003 20:11:51 -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.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Funny you should mention Beauracracy. I am sure that Sun does not see it, but they had better open their eyes and take a good hard look at this because they are going to be lapped again and it will be from Microsoft .NET. I can honestly tell you that this really is a cool technology, and very useful, regardless if it was made by Microsoft or not. Tom Veldhouse ----- Original Message ----- From: "Christopher Vance" To: "Kurt Werle" Cc: Sent: Thursday, January 23, 2003 7:47 PM Subject: Re: Native JDK? > > Why don't you compile one from the port? > > That's how I got mine and lotsa people dunnit. > > I would guess the delay in getting a package out is due to Sun's > bureaucracy. > > -- > Christopher Vance > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jan 23 18:16: 8 2003 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 1BC0737B401 for ; Thu, 23 Jan 2003 18:16:08 -0800 (PST) Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id C358A43ED8 for ; Thu, 23 Jan 2003 18:16:06 -0800 (PST) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.36 #1 (Debian)) id 18btMY-0001u5-00; Thu, 23 Jan 2003 18:14:34 -0800 Date: Thu, 23 Jan 2003 18:14:34 -0800 To: Max Khon Cc: Greg Lewis , freebsd-java@freebsd.org, "Bill Huey (Hui)" Subject: Re: /usr/local/include/utils.h Message-ID: <20030124021434.GA7316@gnuppy.monkey.org> References: <20030123194719.B25462@iclub.nsu.ru> <20030124044501.B76567@misty.eyesbeyond.com> <20030124033021.A38610@iclub.nsu.ru> <20030123214624.GA2919@gnuppy.monkey.org> <20030124062940.A44070@iclub.nsu.ru> <20030124011042.GA3765@gnuppy.monkey.org> <20030124071450.A45276@iclub.nsu.ru> <20030124015602.GC7116@gnuppy.monkey.org> <20030124080659.A46417@iclub.nsu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030124080659.A46417@iclub.nsu.ru> User-Agent: Mutt/1.5.3i From: Bill Huey (Hui) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Jan 24, 2003 at 08:06:59AM +0600, Max Khon wrote: > hmm, ok, I'll repost it. Oh, that thing that I ignored and didn't realize was important. :) I thought you were talking about a much smaller patch than that from a more recent email. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jan 23 18:18:40 2003 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 9787737B401 for ; Thu, 23 Jan 2003 18:18:39 -0800 (PST) Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1448843EB2 for ; Thu, 23 Jan 2003 18:18:39 -0800 (PST) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.36 #1 (Debian)) id 18btQT-0001uc-00; Thu, 23 Jan 2003 18:18:37 -0800 Date: Thu, 23 Jan 2003 18:18:37 -0800 To: Kurt Werle Cc: freebsd-java@FreeBSD.ORG, "Bill Huey (Hui)" Subject: Re: Native JDK? Message-ID: <20030124021837.GB7316@gnuppy.monkey.org> References: <20030124015405.GB7116@gnuppy.monkey.org> <20030123180330.W87330-100000@twoface.shiftmanager.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030123180330.W87330-100000@twoface.shiftmanager.net> User-Agent: Mutt/1.5.3i From: Bill Huey (Hui) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Jan 23, 2003 at 06:06:53PM -0800, Kurt Werle wrote: > Much as I dislike SUN, I gotta think they're not the only issue here. Na, Sun's cool, a bit irrelevant, they're client side stuff sucks, but they're still doing pretty snazzy things. > That sounds like it's almost really exciting. I was really excited back > pre-4.5 when that announcement was made, but now I'm just feeling > dubiously hopeful (tm). It's definitely something that's been brewing for a long time and we recently got some private help from some folks. They'll be credited for doing the work and hopefully, we can then administratively deal with what's left and then start shipping some kind of binary. > What happens next, and when can we expect it to happen? Oh, and when was > "last I heard"? Ask Greg, as a busy as he is, he should have more answers than me. I'm not sure what's going to happen since the entire development group is in hybernation at this time it seems. (cough) Muuust dooo kerrrnel work... bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jan 23 18:24: 7 2003 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 9E80D37B405 for ; Thu, 23 Jan 2003 18:24:06 -0800 (PST) Received: from mail.nsu.ru (mx.nsu.ru [193.124.215.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id C13BB43E4A for ; Thu, 23 Jan 2003 18:24:05 -0800 (PST) (envelope-from fjoe@iclub.nsu.ru) Received: from drweb by mail.nsu.ru with drweb-scanned (Exim 3.20 #1) id 18btUL-0007wN-00; Fri, 24 Jan 2003 08:22:37 +0600 Received: from iclub.nsu.ru ([193.124.215.97] ident=root) by mail.nsu.ru with esmtp (Exim 3.20 #1) id 18btUK-0007vt-00; Fri, 24 Jan 2003 08:22:36 +0600 Received: from iclub.nsu.ru (fjoe@localhost [127.0.0.1]) by iclub.nsu.ru (8.12.6/8.12.6) with ESMTP id h0O2MURV047105; Fri, 24 Jan 2003 08:22:30 +0600 (NS) (envelope-from fjoe@iclub.nsu.ru) Received: (from fjoe@localhost) by iclub.nsu.ru (8.12.6/8.12.6/Submit) id h0O2MTUW047104; Fri, 24 Jan 2003 08:22:29 +0600 (NS) Date: Fri, 24 Jan 2003 08:22:29 +0600 From: Max Khon To: Bill Huey Cc: Greg Lewis , freebsd-java@freebsd.org Subject: Re: /usr/local/include/utils.h Message-ID: <20030124082229.B46417@iclub.nsu.ru> References: <20030123194719.B25462@iclub.nsu.ru> <20030124044501.B76567@misty.eyesbeyond.com> <20030124033021.A38610@iclub.nsu.ru> <20030123214624.GA2919@gnuppy.monkey.org> <20030124062940.A44070@iclub.nsu.ru> <20030124011042.GA3765@gnuppy.monkey.org> <20030124071450.A45276@iclub.nsu.ru> <20030124015602.GC7116@gnuppy.monkey.org> <20030124080659.A46417@iclub.nsu.ru> <20030124021434.GA7316@gnuppy.monkey.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030124021434.GA7316@gnuppy.monkey.org>; from billh@gnuppy.monkey.org on Thu, Jan 23, 2003 at 06:14:34PM -0800 X-Spam-Status: No, hits=-2.2 required=5.0 tests=IN_REP_TO,REFERENCES,SPAM_PHRASE_00_01,USER_AGENT, USER_AGENT_MUTT version=2.43 X-Envelope-To: billh@gnuppy.monkey.org, glewis@eyesbeyond.com, freebsd-java@freebsd.org Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org hi, there! On Thu, Jan 23, 2003 at 06:14:34PM -0800, Bill Huey wrote: > > hmm, ok, I'll repost it. > > Oh, that thing that I ignored and didn't realize was > important. :) > > I thought you were talking about a much smaller patch > than that from a more recent email. ugh, nevermind :) hope this patch will help a bit /fjoe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jan 23 19: 1:20 2003 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 51B1B37B401 for ; Thu, 23 Jan 2003 19:01:19 -0800 (PST) Received: from grebe.mail.pas.earthlink.net (grebe.mail.pas.earthlink.net [207.217.120.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2ACE43F13 for ; Thu, 23 Jan 2003 19:01:13 -0800 (PST) (envelope-from parv_fm@mailsent.net) Received: from sdn-ap-029dcwashp0218.dialsprint.net ([65.177.104.218] helo=moo.holy.cow) by grebe.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 18bu5g-0004Yr-00 for freebsd-java@freebsd.org; Thu, 23 Jan 2003 19:01:13 -0800 Received: by moo.holy.cow (Postfix, from userid 1001) id D7645B766; Thu, 23 Jan 2003 22:04:06 -0500 (EST) Date: Thu, 23 Jan 2003 22:04:06 -0500 From: parv To: freebsd-java@freebsd.org Subject: (pr 31254) "libgcj.spec missing" while trying to complie w/ gcc-3.2.1_20021119 Message-ID: <20030124030406.GA1705@moo.holy.cow> Mail-Followup-To: freebsd-java@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org there was/is a pr 31254... http://www.freebsd.org/cgi/query-pr.cgi?pr=31254 ...which describes my problem. only difference is i am using gcc 3.2.1 20021119. when trying to compile w/ gcj32, error message is produced... gcj32: libgcj.spec: No such file or directory ...i am contacting the list as suggested in the pr (before submitting my own pr). any suggestions (to get gcj32 get going)? i will be more than happy to retest/reinstall gcc 32 if somebody can confirm gcj32 works for them. - parv -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jan 23 23:53:39 2003 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 D1B4E37B401 for ; Thu, 23 Jan 2003 23:53:37 -0800 (PST) Received: from oak.FernUni-Hagen.de (oak.fernuni-hagen.de [132.176.114.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1351E43F7E for ; Thu, 23 Jan 2003 23:53:26 -0800 (PST) (envelope-from jfh@es-i2.FernUni-Hagen.de) Received: from amavis by oak.FernUni-Hagen.de with scanned-ok (Exim 4.04) id 18byeS-0007RZ-00 for freebsd-java@freebsd.org; Fri, 24 Jan 2003 08:53:24 +0100 Received: from es-i2.fernuni-hagen.de ([132.176.7.81]) by oak.FernUni-Hagen.de with esmtp (Exim 4.04) id 18byeO-0007RC-00; Fri, 24 Jan 2003 08:53:20 +0100 Received: from jfh00.fernuni-hagen.de (jfh00.fernuni-hagen.de [132.176.7.6]) by es-i2.fernuni-hagen.de (Postfix) with ESMTP id DC5DE5903; Fri, 24 Jan 2003 08:53:19 +0100 (CET) Received: by jfh00.fernuni-hagen.de (Postfix, from userid 1001) id 99C20243BA; Fri, 24 Jan 2003 08:53:20 +0100 (CET) Content-Type: text/plain; charset="iso-8859-1" From: Fritz Heinrichmeyer Organization: fernuni To: "Georg-W. Koltermann" Subject: Re: Any working combination of jdk and tomcat with stable Date: Fri, 24 Jan 2003 08:53:20 +0100 User-Agent: KMail/1.4.3 Cc: freebsd-java@freebsd.org References: <20030123143816.GA4292@jfh00.fernuni-hagen.de> <1043356262.260.16.camel@bat.localnet> In-Reply-To: <1043356262.260.16.camel@bat.localnet> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200301240853.20375.fritz.heinrichmeyer@fernuni-hagen.de> X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thursday 23 January 2003 22:11, Georg-W. Koltermann wrote: > I have Tomcat 4.0.2 working with jdk1.3.1p7, both hotspot and classic > VM, on 4.7-STABLE (-STABLE cvsuped about two months ago). > > What's your problem, specifically? Just saying "doesn't work" doesn't > give me much of a clue. You are right but first i wanted to hear whether i am alone. Tomcat 4.0.6 now completely fails with: Starting service Tomcat-Standalone 2 Apache Tomcat/4.0.6 =20 3 Exception during startup processing 4 java.lang.reflect.InvocationTargetException:=20 java.lang.NoClassDefFoundError: org/apache/naming/JndiPermission my FreeBSD-STABLE is a little newer (last week). Tomcat 4.1.18: First there was a permission denied error as tomcat is not= =20 allowed to write /usr/local/jakarta-tomcat4.1/conf. After i gave this=20 directory to user www tomcat started, but then=20 http://www-es.fernuni-hagen.de:8180/index.jsp produces a lot of errors org.apache.jasper.JasperException: Unable to compile class for JSP ..... java.io.FileNotFoundException:=20 /usr/local/jakarta-tomcat4.1/work/Standalone/localhost/_/index_jsp.java I installed this ports from my selfproduced packages btw. --=20 Fritz Heinrichmeyer mailto:fritz.heinrichmeyer@fernuni-hagen.de FernUniversitaet Hagen, LG ES, 58084 Hagen (Germany) tel:+49 2331/987-1166 fax:987-355 http://www-es.fernuni-hagen.de/~jfh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jan 24 3:47:14 2003 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 ED2F637B401; Fri, 24 Jan 2003 03:47:12 -0800 (PST) Received: from nr4.i-p-d.nl (nr4.i-p-d.nl [217.18.64.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id E328543F13; Fri, 24 Jan 2003 03:47:11 -0800 (PST) (envelope-from co9@xs4all.nl) Received: from xs4all.nl ([212.136.217.101]) by nr4.i-p-d.nl (8.12.3/8.12.5) with ESMTP id h0OBl60J031432; Fri, 24 Jan 2003 12:47:06 +0100 (CET) (envelope-from co9@xs4all.nl) Message-ID: <3E3127D3.7030907@xs4all.nl> Date: Fri, 24 Jan 2003 12:47:31 +0100 From: Robin Schilham User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20030104 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java , billh@gnuppy.monkey.ORG, glewis@FreeBSD.org Subject: Re: jboss3 java core dump References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Andriy Podanenko wrote: > Has anybody fix the problem ? > http://www.geocrawler.com/archives/3/162/2002/12/0/10270779/ > and the yet one: > jboss3 make java core dump on FreeBSD (5.0-RELENG) > jdk13 from ports (patchset 7) > jboss3 from ports > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message I had the same problem with jboss3 with jdk-1.3.1p7_2 on FreeBSD 5.0-RELEASE. It seems that the SIGBUS is cause by line 311 of j2sdk1.3.1/src/solaris/native/java/net/InetAddressImpl.c. After inserting some debugging output, it turned out that the test at line 308 should be if (hp == NULL || hp == -1) { instead of if (hp == NULL) { Of course this should be considered as a temporary workaround. Regards, Robin Schilham To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jan 24 8:57:25 2003 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 095C837B401 for ; Fri, 24 Jan 2003 08:57:24 -0800 (PST) Received: from plato.webprogrammers.net (plato.webprogrammers.net [204.221.75.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4417643F18 for ; Fri, 24 Jan 2003 08:57:23 -0800 (PST) (envelope-from jstepka@webprogrammers.net) Received: from jstepkalaptop (heimdal.imaginet.com [206.146.4.1]) by plato.webprogrammers.net (8.12.6/8.12.6) with SMTP id h0OGqfqD032405; Fri, 24 Jan 2003 10:52:42 -0600 (CST) (envelope-from jstepka@webprogrammers.net) Message-ID: <003d01c2c3c9$8de4a550$ed0310ac@mpls.imaginet.corp> From: "Justen Stepka" To: "Christopher Vance" , "Bill Huey (Hui)" Cc: "Kurt Werle" , , "Bill Huey (Hui)" References: <20030124012757.D51F137B405@hub.freebsd.org> <20030123173455.T85978-100000@twoface.shiftmanager.net> <20030124124747.C7039@aurema.com> <20030124015405.GB7116@gnuppy.monkey.org> Subject: Re: Native JDK? Date: Fri, 24 Jan 2003 10:56: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.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Where does all of this sit with regards to getting the HotSpot VM certified too? Thanks, Justen Stepka ----- Original Message ----- From: "Bill Huey (Hui)" To: "Christopher Vance" Cc: "Kurt Werle" ; ; "Bill Huey (Hui)" Sent: Thursday, January 23, 2003 7:54 PM Subject: Re: Native JDK? > On Fri, Jan 24, 2003 at 12:47:47PM +1100, Christopher Vance wrote: > > I would guess the delay in getting a package out is due to Sun's > > bureaucracy. > > It's legit though. Well, uh, the good thing about this matter is > that there's been a lot progress on getting our stuff certified > and that last I heard (cc-ed) was that we just got certification for > J2SE 1.3.1 under green threads from Sun. Uh, keep this quiet. ;) > > bill > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jan 24 11:40:45 2003 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 750B237B401 for ; Fri, 24 Jan 2003 11:40:44 -0800 (PST) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF48243ED8 for ; Fri, 24 Jan 2003 11:40:43 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr2.xmission.com with spam-scanned (Exim 3.35 #1) id 18c9di-0000S4-02 for freebsd-java@freebsd.org; Fri, 24 Jan 2003 12:37:22 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 18c9aP-0007fb-02; Fri, 24 Jan 2003 12:33:58 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id h0OJXrS39855; Sat, 25 Jan 2003 06:03:53 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Sat, 25 Jan 2003 06:03:52 +1030 From: Greg Lewis To: Robin Schilham Cc: freebsd-java@freebsd.org Subject: Re: jboss3 java core dump Message-ID: <20030125060352.A39692@misty.eyesbeyond.com> References: <3E3127D3.7030907@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: <3E3127D3.7030907@xs4all.nl>; from co9@xs4all.nl on Fri, Jan 24, 2003 at 12:47:31PM +0100 X-Spam-Status: No, hits=-3.1 required=8.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, SIGNATURE_SHORT_DENSE,SPAM_PHRASE_00_01, TO_BE_REMOVED_REPLY,USER_AGENT,USER_AGENT_MUTT, X_AUTH_WARNING version=2.43 X-Spam-Level: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Jan 24, 2003 at 12:47:31PM +0100, Robin Schilham wrote: > Andriy Podanenko wrote: > > Has anybody fix the problem ? > > http://www.geocrawler.com/archives/3/162/2002/12/0/10270779/ > > and the yet one: > > jboss3 make java core dump on FreeBSD (5.0-RELENG) > > jdk13 from ports (patchset 7) > > jboss3 from ports > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-java" in the body of the message > > I had the same problem with jboss3 with jdk-1.3.1p7_2 on FreeBSD > 5.0-RELEASE. It seems that the SIGBUS is cause by line 311 of > j2sdk1.3.1/src/solaris/native/java/net/InetAddressImpl.c. After > inserting some debugging output, it turned out that the test > at line 308 should be > if (hp == NULL || hp == -1) { > instead of > if (hp == NULL) { > Of course this should be considered as a temporary workaround. I just looked at the code in question and it seems to mix int and struct hostent * with merry abandon. Yuck. I think a better fix is to change the prototype of copy_hostent on line 470 to static HOST_RETURN and change return (-1) to return (HOST_R_BAD) on line 504. I haven't tested this yet though. Comments? -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jan 24 14:40: 6 2003 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 0D3A137B405 for ; Fri, 24 Jan 2003 14:40:04 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C81443F5B for ; Fri, 24 Jan 2003 14:40:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h0OMe2NS018773 for ; Fri, 24 Jan 2003 14:40:02 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h0OMe2Bd018772; Fri, 24 Jan 2003 14:40:02 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0448637B401 for ; Fri, 24 Jan 2003 14:34:05 -0800 (PST) Received: from udp.nttmcl.com (udp.nttmcl.com [216.69.70.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5E0943EB2 for ; Fri, 24 Jan 2003 14:34:04 -0800 (PST) (envelope-from root@udp.nttmcl.com) Received: from udp.nttmcl.com (localhost [127.0.0.1]) by udp.nttmcl.com (8.12.6/8.12.6) with ESMTP id h0OMYBx1006098; Fri, 24 Jan 2003 14:34:11 -0800 (PST) (envelope-from root@udp.nttmcl.com) Received: (from root@localhost) by udp.nttmcl.com (8.12.6/8.12.6/Submit) id h0OMYB5x006097; Fri, 24 Jan 2003 14:34:11 -0800 (PST) Message-Id: <200301242234.h0OMYB5x006097@udp.nttmcl.com> Date: Fri, 24 Jan 2003 14:34:11 -0800 (PST) From: "Shannon -jj Behrens" To: FreeBSD-gnats-submit@FreeBSD.org Cc: gene@nttmcl.com X-Send-Pr-Version: 3.113 Subject: java/47447: linux-sun-jdk1.4.1: java command can't find java.lang.Object Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 47447 >Category: java >Synopsis: linux-sun-jdk1.4.1: java command can't find java.lang.Object >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jan 24 14:40:02 PST 2003 >Closed-Date: >Last-Modified: >Originator: Shannon -jj Behrens >Release: FreeBSD 4.7-RELEASE-p2 i386 >Organization: NTT MCL, INC. >Environment: System: FreeBSD udp.nttmcl.com 4.7-RELEASE-p2 FreeBSD 4.7-RELEASE-p2 #1: Thu Jan 23 15:26:13 PST 2003 root@:/usr/obj/usr/src/sys/GENERIC i386 This was a relatively fresh system. I did not have any other versions of Java on my system. >Description: When running the java command I get the following: # /usr/local/linux-sun-jdk1.4.1/bin/java count = 3714, total = 8508 Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object Please note that this bug is the same for either root or normal users. Also note that setting JAVA_HOME as well as CLASSPATH did not fix the problem. >How-To-Repeat: /usr/local/linux-sun-jdk1.4.1/bin/java To work around this problem, I'm using the linux-blackdown-jdk1.4.1 port. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jan 24 14:50: 4 2003 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 5A2B437B408 for ; Fri, 24 Jan 2003 14:50:02 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07F0C43F1E for ; Fri, 24 Jan 2003 14:50:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h0OMo0NS021017 for ; Fri, 24 Jan 2003 14:50:00 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h0OMo0Yc021016; Fri, 24 Jan 2003 14:50:00 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1D7D37B401 for ; Fri, 24 Jan 2003 14:42:19 -0800 (PST) Received: from udp.nttmcl.com (udp.nttmcl.com [216.69.70.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 508E543EB2 for ; Fri, 24 Jan 2003 14:42:19 -0800 (PST) (envelope-from root@udp.nttmcl.com) Received: from udp.nttmcl.com (localhost [127.0.0.1]) by udp.nttmcl.com (8.12.6/8.12.6) with ESMTP id h0OMgVx1006204; Fri, 24 Jan 2003 14:42:31 -0800 (PST) (envelope-from root@udp.nttmcl.com) Received: (from root@localhost) by udp.nttmcl.com (8.12.6/8.12.6/Submit) id h0OMgVSP006203; Fri, 24 Jan 2003 14:42:31 -0800 (PST) Message-Id: <200301242242.h0OMgVSP006203@udp.nttmcl.com> Date: Fri, 24 Jan 2003 14:42:31 -0800 (PST) From: "Shannon -jj Behrens" To: FreeBSD-gnats-submit@FreeBSD.org Cc: gene@nttmcl.com X-Send-Pr-Version: 3.113 Subject: java/47448: linux-blackdown-jdk-1.4.1: syscall mmap2 is obsoleted Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 47448 >Category: java >Synopsis: linux-blackdown-jdk-1.4.1: syscall mmap2 is obsoleted >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: Fri Jan 24 14:50:00 PST 2003 >Closed-Date: >Last-Modified: >Originator: Shannon -jj Behrens >Release: FreeBSD 4.7-RELEASE-p2 i386 >Organization: NTT MCL, INC. >Environment: System: FreeBSD udp.nttmcl.com 4.7-RELEASE-p2 FreeBSD 4.7-RELEASE-p2 #1: Thu Jan 23 15:26:13 PST 2003 root@:/usr/obj/usr/src/sys/GENERIC i386 >Description: When running the java command from the linux-blackdown-jdk-1.4.1 port, I get the following error message on the system console: linux: syscall mmap2 is obsoleted or not implemented (pid=4300) >How-To-Repeat: Run the java command from the linux-blackdown-jdk-1.4.1 port. >Fix: This port recommends that you use one of the other Java ports. That is the suggested workaround, I think. Unfortunately, I specifically need to use a 1.4 jdk. :-/ >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Jan 25 2:50:28 2003 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 BEC6237B401 for ; Sat, 25 Jan 2003 02:50:26 -0800 (PST) Received: from smtpzilla3.xs4all.nl (smtpzilla3.xs4all.nl [194.109.127.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2A9B43ED8 for ; Sat, 25 Jan 2003 02:50:25 -0800 (PST) (envelope-from co9@xs4all.nl) Received: from xs4all.nl (a194-109-252-84.adsl.xs4all.nl [194.109.252.84]) by smtpzilla3.xs4all.nl (8.12.0/8.12.0) with ESMTP id h0PAmFMb083678; Sat, 25 Jan 2003 11:48:17 +0100 (CET) Message-ID: <3E326B6E.1080700@xs4all.nl> Date: Sat, 25 Jan 2003 11:48:14 +0100 From: Robin Schilham User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2.1) Gecko/20030121 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Greg Lewis Cc: freebsd-java@freebsd.org Subject: Re: jboss3 java core dump References: <3E3127D3.7030907@xs4all.nl> <20030125060352.A39692@misty.eyesbeyond.com> In-Reply-To: <20030125060352.A39692@misty.eyesbeyond.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Greg Lewis wrote: > On Fri, Jan 24, 2003 at 12:47:31PM +0100, Robin Schilham wrote: > >>Andriy Podanenko wrote: >> >>>Has anybody fix the problem ? >>>http://www.geocrawler.com/archives/3/162/2002/12/0/10270779/ >>>and the yet one: >>>jboss3 make java core dump on FreeBSD (5.0-RELENG) >>> jdk13 from ports (patchset 7) >>> jboss3 from ports >>> >>> >>>To Unsubscribe: send mail to majordomo@FreeBSD.org >>>with "unsubscribe freebsd-java" in the body of the message >> >>I had the same problem with jboss3 with jdk-1.3.1p7_2 on FreeBSD >>5.0-RELEASE. It seems that the SIGBUS is cause by line 311 of >>j2sdk1.3.1/src/solaris/native/java/net/InetAddressImpl.c. After >>inserting some debugging output, it turned out that the test >>at line 308 should be >> if (hp == NULL || hp == -1) { >>instead of >> if (hp == NULL) { >>Of course this should be considered as a temporary workaround. > > > I just looked at the code in question and it seems to mix int and > struct hostent * with merry abandon. Yuck. I think a better fix is to > change the prototype of copy_hostent on line 470 to static HOST_RETURN > and change return (-1) to return (HOST_R_BAD) on line 504. I haven't > tested this yet though. Comments? > The changes that you proposed do not seem to solve the problem. The value of hp is still -1 in some cases, which causes the SIGBUS at line 311. The following java class illustrates the problem: import java.net.*; import java.io.*; public class Crash { public static void main(String[] args) { int port = 8083; InetAddress bindAddress = null; int backlog = 50; ServerSocket server = null; try { server = new ServerSocket(port, backlog, bindAddress); // the following statement causes a SIGBUS: System.out.println("Started server: " + server); } catch (IOException e) { System.out.println("caught exception: " + e); } } } Regards, Robin Schilham To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Jan 25 20:19:59 2003 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 DC27A37B401 for ; Sat, 25 Jan 2003 20:19:57 -0800 (PST) Received: from cabrillo.edu (boris.cabrillo.cc.ca.us [207.62.187.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 878F743F13 for ; Sat, 25 Jan 2003 20:19:57 -0800 (PST) (envelope-from wiholt@cabrillo.edu) Received: from [63.249.101.109] (account ) by cabrillo.edu (CommuniGate Pro WebUser 3.5.9) with HTTP id 4073305 for ; Sat, 25 Jan 2003 20:19:52 -0800 From: "William Holt" Subject: 5.0-RELEASE core dumps running Jetty To: freebsd-java@freebsd.org X-Mailer: CommuniGate Pro Web Mailer v.3.5.9 Date: Sat, 25 Jan 2003 20:19:52 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I have been trying to use Jetty on 5.0 and still not having any luck. I recently pinned it down to a problem with trying to convert a ServerSocket to a String! The following short program crashes in exactly the same way as Jetty. I have tracked it further to the native class InetAddressImpl.c Specifically getHostByAddr( int ) seems to be causing the problem. I haven't got any response to previous posts - is anyone else seeing this problem? Please try and run the following small program and let me know if it core dumps on your 5.0 release system. Thank you, -Will PS: this is using jdk1.31p7 - just go to /usr/ports/www/jetty and type make and it will build it for you. ===============snip===================== import java.net.*; public class CrashBSD { static public void main( String args[] ) { try { ServerSocket ss = new ServerSocket( 0 ); System.out.println( ss ); } catch ( Exception e ) { System.out.println( e ); System.exit( 1 ); } } } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message