From owner-freebsd-java@FreeBSD.ORG Sun May 11 00:06:38 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 54E9537B401 for ; Sun, 11 May 2003 00:06:38 -0700 (PDT) Received: from smail-6.hanmail.net (smail-6.hanmail.net [211.43.197.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2794943F85 for ; Sun, 11 May 2003 00:06:37 -0700 (PDT) (envelope-from nobreakx86@hanmail.net) Received: from www10.hanmail.net ([211.32.117.30]) by smail-6.hanmail.net (8.12.1/8.9.1) with ESMTP id h4B76Qk0020173; Sun, 11 May 2003 16:06:28 +0900 Received: (from hanadmin@localhost) by www10.hanmail.net (8.12.1/8.9.1) id h4B76Jxj004441 for ; Sun, 11 May 2003 16:06:19 +0900 (KST) Content-Transfer-Encoding: 8bit X-Originating-IP: [218.145.113.136] From: "=?EUC-KR?B?sei9wr+1?=" Organization: =?EUC-KR?B?v8DHwrn2teU=?= To: X-Mailer: Daum Web Mailer 1.1 Date: Sun, 11 May 2003 16:06:19 +0900 (KST) Message-Id: <20030511160619.HM.90000000005gt5Y@www10.hanmail.net> Errors-To: X-Mailman-Approved-At: Sun, 11 May 2003 05:01:48 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="euc-kr" X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: [URGENT] Java hang little while. X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 May 2003 07:06:38 -0000 Hi... Sometimes(1time a 2 hour) jdk 1.3.1(patch 8) hang little while(30-90 secs) then work again. Looking at top/ps I see the java process stuck in 'kqread' status. I use tomcat 3.3.1 and FreeBSD 4.8-RC. Somebody help me? I've been searched to solve this problem these days... But there is no article about this... So I asking you... If you know about this problem, please help me. Thank you "¿ì¸® ÀÎÅͳÝ, Daum" [1]http://www.daum.net ¡ºÆò»ý¾²´Â ¹«·á ÇѸÞÀϳݡ» [2][daumday_mailfooter.gif] [3]¢¹2003 ´ÙÀ½ÀÇ ³¯¢· ¡Ú¿Í ÇÔ²²ÇÏ´Â ¿Á¤°ú ³¢ÀÇ ÇѹÙÅÁ ÃàÁ¦ [line_h.gif] [4][footer_spam.gif] [5]ÇѸÞÀÏ³Ý ½ºÆÔÁ¦·Î ½Ã½ºÅÛ ½ºÆÔ ¾ø´Â ÆíÁöÇÔ! ÇѸÞÀÏ³Ý ÆíÁöÇÔ! [@from=nobreakx86&rcpt=freebsd%2Djava%40freebsd%2Eorg&msgid=%3C2003051 1160619%2EHM%2E90000000005gt5Y%40www10%2Ehanmail%2Enet%3E] References 1. http://www.daum.net/ 2. http://daumday.daum.net/ 3. http://daumday.daum.net/ 4. http://hmm.daum.net/footer_spam 5. http://hmm.daum.net/footer_spam From owner-freebsd-java@FreeBSD.ORG Sun May 11 07:38:38 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 30A2937B401 for ; Sun, 11 May 2003 07:38:38 -0700 (PDT) Received: from turing.morons.org (turing.morons.org [209.237.229.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id B587B43F85 for ; Sun, 11 May 2003 07:38:37 -0700 (PDT) (envelope-from freebsd@spatula.net) Received: by turing.morons.org (Postfix, from userid 1001) id 8F074ADF1; Sun, 11 May 2003 07:38:37 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by turing.morons.org (Postfix) with ESMTP id 7F4A5ADE5; Sun, 11 May 2003 07:38:37 -0700 (PDT) Date: Sun, 11 May 2003 07:38:37 -0700 (PDT) From: Nick Johnson X-X-Sender: spatula@turing.morons.org To: =?EUC-KR?B?sei9wr+1?= In-Reply-To: <20030511160619.HM.90000000005gt5Y@www10.hanmail.net> Message-ID: <20030511073746.R8135@turing.morons.org> References: <20030511160619.HM.90000000005gt5Y@www10.hanmail.net> X-what-happen: someone set up us the bomb X-Message-Flags: Spatula Precedence: special-delivery MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=euc-kr Content-Transfer-Encoding: 8BIT cc: freebsd-java@freebsd.org Subject: Re: [URGENT] Java hang little while. X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 May 2003 14:38:38 -0000 Try doing a kill -3 to the process when it hangs so you can see a thread dump. It's probably just the garbage collector running. Nick On Sun, 11 May 2003, [EUC-KR] ±è½Â¿µ wrote: > > Hi... > Sometimes(1time a 2 hour) jdk 1.3.1(patch 8) hang little while(30-90 > secs) > then work again. Looking at top/ps I see the java process stuck in > 'kqread' status. I use tomcat 3.3.1 and FreeBSD 4.8-RC. > Somebody help me? I've been searched to solve this problem these > days... > But there is no article about this... So I asking you... If you know > about > this problem, please help me. > Thank you > > "¿ì¸® ÀÎÅͳÝ, Daum" [1]http://www.daum.net ¡ºÆò»ý¾²´Â ¹«·á ÇѸÞÀϳݡ» > > [2][daumday_mailfooter.gif] [3]¢¹2003 ´ÙÀ½ÀÇ ³¯¢· > ¡Ú¿Í ÇÔ²²ÇÏ´Â ¿Á¤°ú ³¢ÀÇ ÇѹÙÅÁ ÃàÁ¦ [line_h.gif] [4][footer_spam.gif] > [5]ÇѸÞÀÏ³Ý ½ºÆÔÁ¦·Î ½Ã½ºÅÛ > ½ºÆÔ ¾ø´Â ÆíÁöÇÔ! ÇѸÞÀÏ³Ý ÆíÁöÇÔ! > > [@from=nobreakx86&rcpt=freebsd%2Djava%40freebsd%2Eorg&msgid=%3C2003051 > 1160619%2EHM%2E90000000005gt5Y%40www10%2Ehanmail%2Enet%3E] > > References > > 1. http://www.daum.net/ > 2. http://daumday.daum.net/ > 3. http://daumday.daum.net/ > 4. http://hmm.daum.net/footer_spam > 5. http://hmm.daum.net/footer_spam > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > -- Help me reach my AIDS/Lifecycle fundraising goal: http://go2rider.org/spatula "The aptly-named morons.org is an obscenity-laced screed..." -- Robert P. Lockwood, Catholic League director of research Nick Johnson, version 2.1 http://www.spatula.net/ From owner-freebsd-java@FreeBSD.ORG Mon May 12 11:01:40 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 362D037B405 for ; Mon, 12 May 2003 11:01:40 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C00B043F3F for ; Mon, 12 May 2003 11:01:39 -0700 (PDT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h4CI1dUp034894 for ; Mon, 12 May 2003 11:01:39 -0700 (PDT) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h4CI1dtG034889 for java@freebsd.org; Mon, 12 May 2003 11:01:39 -0700 (PDT) Date: Mon, 12 May 2003 11:01:39 -0700 (PDT) Message-Id: <200305121801.h4CI1dtG034889@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: java@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 May 2003 18:01:40 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/02/25] java/35320 java linux-jdk-1.4 JVM fails when running Tomc 1 problem total. Non-critical problems From owner-freebsd-java@FreeBSD.ORG Tue May 13 14:42:07 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B7D4C37B401 for ; Tue, 13 May 2003 14:42:07 -0700 (PDT) Received: from web13507.mail.yahoo.com (web13507.mail.yahoo.com [216.136.175.86]) by mx1.FreeBSD.org (Postfix) with SMTP id DAFD543FA3 for ; Tue, 13 May 2003 14:42:06 -0700 (PDT) (envelope-from dyeske@yahoo.com) Message-ID: <20030513214206.8684.qmail@web13507.mail.yahoo.com> Received: from [68.114.30.244] by web13507.mail.yahoo.com via HTTP; Tue, 13 May 2003 14:42:06 PDT Date: Tue, 13 May 2003 14:42:06 -0700 (PDT) From: David Yeske To: FreeBSD-gnats-submit@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: java@freebsd.org cc: glewis@FreeBSD.org Subject: java/jdk13 does not autodetect itself X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 May 2003 21:42:08 -0000 >Submitter-Id: current-users >Originator: David Yeske >Organization: >Confidential: no >Synopsis: java/jdk13 does not autodetect itself >Severity: non-critical >Priority: low >Category: ports >Class: sw-bug >Release: FreeBSD 4.7-STABLE i386 >Environment: System: FreeBSD blue 4.7-STABLE FreeBSD 4.7-STABLE #1: Sat Feb 8 18:38:03 EST 2003 root@blue:/usr/obj/usr/src/sys/BLUE i386 >Description: NATIVE_BOOTSTRAP is not automatically set when the native jdk13 is installed >How-To-Repeat: run portupgrade after installation of jdk13 and it will require linux-sun-jdk13 if the revision of jdk13 has changed >Fix: http://futurebsd.sourceforge.net/freebsd/ports/patch-jdk13 __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com From owner-freebsd-java@FreeBSD.ORG Tue May 13 20:51:11 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C90A937B401; Tue, 13 May 2003 20:51:11 -0700 (PDT) Received: from titan.kgt.co.jp (titan.kgt.co.jp [210.141.246.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0B0C43F93; Tue, 13 May 2003 20:51:10 -0700 (PDT) (envelope-from haro@kgt.co.jp) Received: from navgw.tt.kgt.co.jp (navgw [210.141.246.71]) by titan.kgt.co.jp (Postfix) with ESMTP id 13FD349F01; Wed, 14 May 2003 12:51:09 +0900 (JST) Received: from tt.kgt.co.jp (pegasus [192.168.10.1]) by navgw.tt.kgt.co.jp (Postfix) with ESMTP id 9B94F47716; Wed, 14 May 2003 12:51:08 +0900 (JST) Received: from localhost [192.168.13.83] by tt.kgt.co.jp with ESMTP (SMTPD32-7.12) id AD2DB3800BC; Wed, 14 May 2003 12:51:09 +0900 Date: Wed, 14 May 2003 12:51:07 +0900 (JST) Message-Id: <20030514.125107.74756915.haro@kgt.co.jp> To: dyeske@yahoo.com From: Munehiro Matsuda In-Reply-To: <20030513214206.8684.qmail@web13507.mail.yahoo.com> References: <20030513214206.8684.qmail@web13507.mail.yahoo.com> X-Mailer: Mew version 2.2 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: java@freebsd.org cc: glewis@freebsd.org cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: java/jdk13 does not autodetect itself X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 May 2003 03:51:12 -0000 Hello David, From: David Yeske Date: Tue, 13 May 2003 14:42:06 -0700 (PDT) ::>Description: ::NATIVE_BOOTSTRAP is not automatically set when the native jdk13 is installed :: ::>How-To-Repeat: ::run portupgrade after installation of jdk13 and it will require linux-sun-jdk13 if the revision of ::jdk13 has changed I'm not sure, if this is the way to go. I myself add a following line (or similar one) in MAKE_ARGS section of /usr/local/etc/pkgtools.conf file for portupgrade to work. 'java/jdk13' => 'NATIVE_BOOTSTRAP=1', Hope this helps, Haro =------------------------------------------------------------------------------ _ _ Munehiro (haro) Matsuda -|- /_\ |_|_| Network & Security Dept., Kubota Graphics Technologies Inc. /|\ |_| |_|_| 2-8-8 Shinjuku Shinjuku-ku Tokyo 160-0022, Japan Tel: +81-3-3225-0373 Fax: +81-3-3225-0740 Email: haro@kgt.co.jp From owner-freebsd-java@FreeBSD.ORG Tue May 13 21:17:37 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CAA8037B405 for ; Tue, 13 May 2003 21:17:37 -0700 (PDT) Received: from web13501.mail.yahoo.com (web13501.mail.yahoo.com [216.136.175.80]) by mx1.FreeBSD.org (Postfix) with SMTP id 0FA2043F93 for ; Tue, 13 May 2003 21:17:37 -0700 (PDT) (envelope-from dyeske@yahoo.com) Message-ID: <20030514041736.88785.qmail@web13501.mail.yahoo.com> Received: from [68.114.30.244] by web13501.mail.yahoo.com via HTTP; Tue, 13 May 2003 21:17:36 PDT Date: Tue, 13 May 2003 21:17:36 -0700 (PDT) From: David Yeske To: Munehiro Matsuda In-Reply-To: <20030514.125107.74756915.haro@kgt.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: java@freebsd.org cc: glewis@freebsd.org Subject: Re: java/jdk13 does not autodetect itself X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 May 2003 04:17:38 -0000 What do other people think about this? Do we want to expand detection in ports in general? Is it bad to set NATIVE_BOOTSTRAP automatically? Is jdk13 any more or less unstable when it is built nativly? Is the long term goal to avoid using the linux versions of java when possible? Should your modification be added to the default pkgtools.conf? Is it possible to build jdk13 with a native or non native jdk14? --- Munehiro Matsuda wrote: > Hello David, > > From: David Yeske > Date: Tue, 13 May 2003 14:42:06 -0700 (PDT) > ::>Description: > ::NATIVE_BOOTSTRAP is not automatically set when the native jdk13 is installed > :: > ::>How-To-Repeat: > ::run portupgrade after installation of jdk13 and it will require linux-sun-jdk13 if the > revision of > ::jdk13 has changed > > I'm not sure, if this is the way to go. > > I myself add a following line (or similar one) in MAKE_ARGS section of > /usr/local/etc/pkgtools.conf file for portupgrade to work. > > 'java/jdk13' => 'NATIVE_BOOTSTRAP=1', > > Hope this helps, > Haro > =------------------------------------------------------------------------------ > _ _ Munehiro (haro) Matsuda > -|- /_\ |_|_| Network & Security Dept., Kubota Graphics Technologies Inc. > /|\ |_| |_|_| 2-8-8 Shinjuku Shinjuku-ku Tokyo 160-0022, Japan > Tel: +81-3-3225-0373 Fax: +81-3-3225-0740 > Email: haro@kgt.co.jp __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com From owner-freebsd-java@FreeBSD.ORG Wed May 14 10:55:54 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D433637B401 for ; Wed, 14 May 2003 10:55:54 -0700 (PDT) Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 03FA443F3F for ; Wed, 14 May 2003 10:55:52 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr1.xmission.com with spam-scanned (Exim 3.35 #1) id 19G0JL-0001Hu-01 for java@freebsd.org; Wed, 14 May 2003 11:45:03 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.35 #1) id 19G0Fr-00088i-01; Wed, 14 May 2003 11:41:30 -0600 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.12.9/8.12.9) with ESMTP id h4EHkTQf056285; Wed, 14 May 2003 11:46:31 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9/8.12.9/Submit) id h4EHkNgS056284; Wed, 14 May 2003 11:46:23 -0600 (MDT) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 14 May 2003 11:46:22 -0600 From: Greg Lewis To: David Yeske Message-ID: <20030514174622.GA56109@misty.eyesbeyond.com> References: <20030514.125107.74756915.haro@kgt.co.jp> <20030514041736.88785.qmail@web13501.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030514041736.88785.qmail@web13501.mail.yahoo.com> User-Agent: Mutt/1.4.1i X-Spam-Status: No, hits=-3.8 required=8.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, SIGNATURE_SHORT_DENSE,SPAM_PHRASE_01_02,USER_AGENT, USER_AGENT_MUTT,X_AUTH_WARNING version=2.43 X-Spam-Level: cc: java@freebsd.org cc: glewis@freebsd.org cc: Munehiro Matsuda Subject: Re: java/jdk13 does not autodetect itself X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 May 2003 17:55:55 -0000 On Tue, May 13, 2003 at 09:17:36PM -0700, David Yeske wrote: > What do other people think about this? I think its worth considering. Its not too difficult to do. > Do we want to expand detection in ports in general? > Is it bad to set NATIVE_BOOTSTRAP automatically? Its bad to set it automatically unless there is also a flag to turn it off, e.g. we would need to add a LINUX_BOOTSTRAP or a WITHOUT_NATIVE_BOOTSTRAP. > Is jdk13 any more or less unstable when it is built nativly? Identical. > Is the long term goal to avoid using the linux versions of java when possible? Its _my_ long term goal, whether its a goal of people in general I can't say. > Should your modification be added to the default pkgtools.conf? I would have to say no. This would make life unnecessarily difficult for users installing a JDK for the first time (if they did it with portinstall). People may also choose to do this a different way (for example, I have this setting in make.conf, not pkgtools.conf). > Is it possible to build jdk13 with a native or non native jdk14? I haven't tried this. I can only say that in general you need the same version to do the bootstrapping. You certainly can't bootstrap jdk14 with jdk13. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Wed May 14 12:59:00 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E3D9537B401; Wed, 14 May 2003 12:59:00 -0700 (PDT) Received: from puget.esil.univ-mrs.fr (puget.esil.univ-mrs.fr [139.124.41.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5571A43FAF; Wed, 14 May 2003 12:58:59 -0700 (PDT) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from puget.esil.univ-mrs.fr (localhost.esil.univ-mrs.fr [127.0.0.1]) h4EJxlnx078192; Wed, 14 May 2003 21:59:48 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from localhost (rv@localhost)h4EJxhaH078189; Wed, 14 May 2003 21:59:46 +0200 (CEST) X-Authentication-Warning: puget.esil.univ-mrs.fr: rv owned process doing -bs Date: Wed, 14 May 2003 21:59:42 +0200 (CEST) From: Herve Quiroz X-X-Sender: rv@puget.esil.univ-mrs.fr To: Greg Lewis In-Reply-To: <20030514174622.GA56109@misty.eyesbeyond.com> Message-ID: <20030514213828.T78142@puget.esil.univ-mrs.fr> References: <20030514.125107.74756915.haro@kgt.co.jp> <20030514041736.88785.qmail@web13501.mail.yahoo.com> <20030514174622.GA56109@misty.eyesbeyond.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: David Yeske cc: java@freebsd.org cc: glewis@freebsd.org cc: Munehiro Matsuda Subject: Re: java/jdk13 does not autodetect itself X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 May 2003 19:59:01 -0000 Hi all ! On Wed, 14 May 2003, Greg Lewis wrote: > On Tue, May 13, 2003 at 09:17:36PM -0700, David Yeske wrote: > > What do other people think about this? > > I think its worth considering. Its not too difficult to do. > > > Do we want to expand detection in ports in general? > > Is it bad to set NATIVE_BOOTSTRAP automatically? > > Its bad to set it automatically unless there is also a flag to turn it > off, e.g. we would need to add a LINUX_BOOTSTRAP or a > WITHOUT_NATIVE_BOOTSTRAP. IMHO, this could be addressed by the future USE_JAVA variables we discussed with Ernst and Greg recently (regarding bsd.java.mk/XSLT stuff) If the USE_JAVA allows to specify a particular JDK version (regardless of port but preferably native), we could just use it to even build the JDK ports themselves. And with the ability to override it with make arguments, it may work as if it had the NATIVE_BOOTSTRAP/WITHOUT_NATIVE_BOOTSTRAP variable. Well, actually it might work with the current bsd.java.mk settings. Because when you specify USE_JAVA=1.3, it first checks if native JDK 1.3 is installed and then it checks for the linux one. The bad thing is that if none is installed, it adds java/jdk13 in the dependencies, which is a kind of cyclic dependency. And speaking of this, to use USE_JAVA for JDK build you have to also define NO_RUN_DEPENDS_JAVA to have the linux JDK only part of BUILD_DEPENDS. What do you think of this ? If I've got enough (CPU) time in the next days, I'll test it anyway. I shall check the porter's handbook to learn what happens when a port is part of its own BUILD_DEPENDS... Regards, Herve From owner-freebsd-java@FreeBSD.ORG Wed May 14 16:56:46 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B1F6237B401 for ; Wed, 14 May 2003 16:56:46 -0700 (PDT) Received: from 141.com (mail1.141.com [65.168.139.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCAD843F3F for ; Wed, 14 May 2003 16:56:45 -0700 (PDT) (envelope-from arlankfo@141.com) Date: Wed, 14 May 2003 18:00:05 -0600 Message-Id: <200305141800.AA860619022@141.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "Andrew Lankford" To: X-Mailer: Subject: While we're on the subject of jdk13 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: arlankfo@141.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 May 2003 23:56:47 -0000 While we're on the subject of jdk13, I've noticed that some of the example applets on my latest build of jdk1.3 will lock up. cd /usr/local/jdk13/demo/applets/GraphicsTest appletviewer example1.html will draw a window and then return this: appletviewer in free(): error: chunk is already free SIGABRT 6* abort (generated by abort(3) routine) appletviewer in malloc(): error: recursive call SIGABRT 6* abort (generated by abort(3) routine) appletviewer in malloc(): error: recursive call ....and so on... This also happens with Dithertest, CardTest, and GraphLayout. I built it using portupgrade, and I think the only option I used was NATIVE_BOOTSTRAP. FreeBSD bogushost2 5.1-BETA FreeBSD 5.1-BETA #21: Wed May 7 23:40:40 EDT 2003 root@bogushost2:/usr/obj/usr/src/sys/ARL5KERNEL i386 Hope this helps, Andrew Lankford From owner-freebsd-java@FreeBSD.ORG Wed May 14 19:15:51 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E5C8C37B401 for ; Wed, 14 May 2003 19:15:51 -0700 (PDT) Received: from ms-smtp-03.southeast.rr.com (ms-smtp-03.southeast.rr.com [24.93.67.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDDD443FA3 for ; Wed, 14 May 2003 19:15:50 -0700 (PDT) (envelope-from mmercer@nc.rr.com) Received: from mail4.nc.rr.com (fe4 [24.93.67.51])h4F2EFMu025197 for ; Wed, 14 May 2003 22:14:18 -0400 (EDT) Received: from nc.rr.com ([24.74.129.103]) by mail4.nc.rr.com with Microsoft SMTPSVC(5.5.1877.757.75); Wed, 14 May 2003 22:17:52 -0400 Sender: mmercer@ms-smtp-03.southeast.rr.com Message-ID: <3EC2F851.9B3771A1@nc.rr.com> Date: Wed, 14 May 2003 22:15:45 -0400 From: Michael E Mercer X-Mailer: Mozilla 4.61 [en] (X11; U; FreeBSD 4.8-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: "'FreeBSD Java mailing list'" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: make build environment quirkyness X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: mmercer@nc.rr.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2003 02:15:52 -0000 Hello peoples, Today I just realized that when I build jdk14 on my 4.8-stable box, it uses -lc_r instead of -lpthread as mentioned in one of the makefiles or documents somewhere... anyways, I added "export" to Defs.gmk and Defs-bsd.gmk and rebuilt jdk14 and it then used the -lpthread library. What should I look at to try to figure why this is happening? Note: LimeWire (java) does seem to run a lot smoother now. Thanks Michael Mercer From owner-freebsd-java@FreeBSD.ORG Wed May 14 22:17:19 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A95F37B401 for ; Wed, 14 May 2003 22:17:19 -0700 (PDT) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C58943F85 for ; Wed, 14 May 2003 22:17:16 -0700 (PDT) (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 h4F7RESO052709; Thu, 15 May 2003 07:27:15 GMT Received: (from ml@localhost) by phantom.cris.net (8.12.6/8.12.2) id h4F5ORpn007663; Thu, 15 May 2003 08:24:27 +0300 (EEST) (envelope-from ml) Date: Thu, 15 May 2003 08:24:27 +0300 From: Alexey Zelkin To: Michael E Mercer Message-ID: <20030515082427.A7644@phantom.cris.net> References: <3EC2F851.9B3771A1@nc.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3EC2F851.9B3771A1@nc.rr.com>; from mmercer@nc.rr.com on Wed, May 14, 2003 at 10:15:45PM -0400 X-Operating-System: FreeBSD 4.7-STABLE i386 cc: 'FreeBSD Java mailing list' Subject: Re: make build environment quirkyness X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2003 05:17:19 -0000 hi, On Wed, May 14, 2003 at 10:15:45PM -0400, Michael E Mercer wrote: > Hello peoples, > > Today I just realized that when I build jdk14 on my 4.8-stable box, > it uses -lc_r instead of -lpthread as mentioned in one of the makefiles > or documents somewhere... anyways, I added "export" to Defs.gmk and Defs-bsd.gmk > > and rebuilt jdk14 and it then used the -lpthread library. > > What should I look at to try to figure why this is happening? Nothing should happen. libpthread.{,a,so} are missing at -STABLE and if build completes fine -- then your change was not affect build process. > Note: LimeWire (java) does seem to run a lot smoother now. > > Thanks > Michael Mercer > > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" From owner-freebsd-java@FreeBSD.ORG Thu May 15 03:44:17 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C36637B401 for ; Thu, 15 May 2003 03:44:17 -0700 (PDT) Received: from puget.esil.univ-mrs.fr (puget.esil.univ-mrs.fr [139.124.41.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BB0243FAF for ; Thu, 15 May 2003 03:44:16 -0700 (PDT) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from puget.esil.univ-mrs.fr (localhost.esil.univ-mrs.fr [127.0.0.1]) h4FAjBnx062917; Thu, 15 May 2003 12:45:11 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from localhost (rv@localhost)h4FAj9oo062914; Thu, 15 May 2003 12:45:09 +0200 (CEST) X-Authentication-Warning: puget.esil.univ-mrs.fr: rv owned process doing -bs Date: Thu, 15 May 2003 12:45:09 +0200 (CEST) From: Herve Quiroz X-X-Sender: rv@puget.esil.univ-mrs.fr To: Ernst de Haan In-Reply-To: <200305150858.53470.ernst.dehaan@nl.wanadoo.com> Message-ID: <20030515123431.U62774@puget.esil.univ-mrs.fr> References: <20030514.125107.74756915.haro@kgt.co.jp> <20030514213828.T78142@puget.esil.univ-mrs.fr> <200305150858.53470.ernst.dehaan@nl.wanadoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-java@FreeBSD.ORG Subject: Re: java/jdk13 does not autodetect itself X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2003 10:44:17 -0000 On Thu, 15 May 2003, Ernst de Haan wrote: > > Well, actually it might work with the current bsd.java.mk settings. > > Because when you specify USE_JAVA=1.3, it first checks if native JDK 1.3 > > is installed and then it checks for the linux one. The bad thing is that > > if none is installed, it adds java/jdk13 in the dependencies, which is a > > kind of cyclic dependency. And speaking of this, to use USE_JAVA for JDK > > This could be worked around quite easily in bsd.java.mk. It's a hack, that's > true, but only a small one :-) I've located where the modifications should take place: Stage 5, add another condition for each USE_JAVA: "java/$(PORTNAME)" != "$(_JAVA_PORT_...)" If you want I could provide a patch. My main problem regarding JDK port testing is that even though I have spare time, my CPU hasn't got enough of it ;) And building a native port takes a lot ! Too bad there's no branching for ports (everything is -CURRENT AFAIK) so people could test for themselves. Regards, Herve PS: I've had time to think about "bsd.java.mk 2.0" (while supervising an exam...) and I've come to some thoughts I would like to share. Maybe we should let the port building as-is for now and support it only in bsd.java.mk 2.0 ? I'll explain further in my next message (after a good meal that is). From owner-freebsd-java@FreeBSD.ORG Thu May 15 04:07:20 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 354EB37B401 for ; Thu, 15 May 2003 04:07:20 -0700 (PDT) Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F4A743FB1 for ; Thu, 15 May 2003 04:07:19 -0700 (PDT) (envelope-from Jan.Grant@bristol.ac.uk) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Thu, 15 May 2003 12:07:05 +0100 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 3.16 #1) id 19GGYW-00056w-00; Thu, 15 May 2003 12:05:48 +0100 Date: Thu, 15 May 2003 12:05:48 +0100 (BST) From: Jan Grant X-X-Sender: cmjg@mail.ilrt.bris.ac.uk To: Herve Quiroz In-Reply-To: <20030515123431.U62774@puget.esil.univ-mrs.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: Jan Grant cc: Ernst de Haan cc: freebsd-java Subject: bsd.java.mk and XML/XSLT Re: java/jdk13 does not autodetect itself X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2003 11:07:20 -0000 This is only an "in passing" comment and has no patches attached, so treat it accordingly. On Thu, 15 May 2003, Herve Quiroz wrote: > PS: I've had time to think about "bsd.java.mk 2.0" (while supervising an > exam...) and I've come to some thoughts I would like to share. Maybe we > should let the port building as-is for now and support it only in > bsd.java.mk 2.0 ? I'll explain further in my next message (after a good > meal that is). I know there's been some interest in XML and XSLT to describe the build process for various java ports. The latest (it's not that recent) thread on XML-related technologies on -arch raised a number of criticisms about the technologies*. major amongst these were that using XML for configuration in and of itself (a) did nothing for version control, and (b) was still semantically empty. So if XML configuration files are a part of the plan, might I suggest that they utilise a namespace (preferably one that contains a version indication)? Firstly, it gives an absolute grounds to hang a semantics off; secondly, it makes it (at least theoretically) possible to provide XSLT transforms that update older configuration formats. I s'pose my point is that Unix comes with a bunch of tools for dealing with its traditional file formats (awk, grep, sed, etc). One of the reasons XML is perceived as clunky is that corresponding XML technologies are "heavier" (eg, XSLT) and/or don't have any standard (even semi-standard) command-line tools for using in a Unix filter chain (eg, an XQuery tool that sits in the same conceptual space as find and grep). If the java ports system adopts XML for its configuration (which is a very java-flavoured thing to do) then it ought to use the technology "right" to address its critics. jan * most of which stemmed from their rampant misapplication, mind you :-) -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/ YKYBPTMRogueW... you try to move diagonally in vi. From owner-freebsd-java@FreeBSD.ORG Thu May 15 15:35:20 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E7BA37B438 for ; Thu, 15 May 2003 15:35:20 -0700 (PDT) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3282943F75 for ; Thu, 15 May 2003 15:35:19 -0700 (PDT) (envelope-from jonc@chen.org.nz) Received: from grimoire.chen.org.nz (localhost [127.0.0.1]) by chen.org.nz (8.12.9/8.12.9) with ESMTP id h4FMZ9wx075535; Fri, 16 May 2003 10:35:09 +1200 (NZST) (envelope-from jonc@grimoire.chen.org.nz) Received: (from jonc@localhost) by grimoire.chen.org.nz (8.12.9/8.12.9/Submit) id h4FMZ8Sj075534; Fri, 16 May 2003 10:35:08 +1200 (NZST) Date: Fri, 16 May 2003 10:35:08 +1200 From: Jonathan Chen To: "Remco van 't Veer" Message-ID: <20030515223508.GA75440@grimoire.chen.org.nz> References: <20030428214135.GB22798@grimoire.chen.org.nz> <20030429043605.GA69329@misty.eyesbeyond.com> <20030509082614.GC910@azrael.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030509082614.GC910@azrael.xs4all.nl> User-Agent: Mutt/1.4.1i cc: freebsd-java@freebsd.org Subject: Re: JDK1.4.1 and runaway processes. X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2003 22:35:20 -0000 On Fri, May 09, 2003 at 10:26:14AM +0200, Remco van 't Veer wrote: > I managed to reproduce the problem using java_g, used gcore to > generate a core file and had gdb write a backtrace. [.. core file backtrace removed ..] Remco, Could you please send-pr this so that it doesn't get lost? The bug is starting to annoy me big time; I just don't want people to forget about it. Cheers. -- Jonathan Chen ---------------------------------------------------------------------- Don't worry about avoiding temptation, as you grow older, it starts avoiding you. From owner-freebsd-java@FreeBSD.ORG Thu May 15 16:30:14 2003 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC65C37B401 for ; Thu, 15 May 2003 16:30:14 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C269F43F93 for ; Thu, 15 May 2003 16:30:13 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h4FNUDUp033000 for ; Thu, 15 May 2003 16:30:13 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h4FNUDHD032999; Thu, 15 May 2003 16:30:13 -0700 (PDT) Resent-Date: Thu, 15 May 2003 16:30:13 -0700 (PDT) Resent-Message-Id: <200305152330.h4FNUDHD032999@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-java@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Remco van 't Veer" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 21C2137B401 for ; Thu, 15 May 2003 16:29:54 -0700 (PDT) Received: from azrael.xs4all.nl (azrael.xs4all.nl [213.84.50.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id EBD7043FAF for ; Thu, 15 May 2003 16:29:52 -0700 (PDT) (envelope-from remco@azrael.xs4all.nl) Received: from azrael.xs4all.nl (localhost [127.0.0.1]) by azrael.xs4all.nl (8.12.8p1/8.12.8) with ESMTP id h4FNTpdu048324 for ; Fri, 16 May 2003 01:29:51 +0200 (CEST) (envelope-from remco@azrael.xs4all.nl) Received: (from remco@localhost) by azrael.xs4all.nl (8.12.8p1/8.12.8/Submit) id h4FNTpGs048323; Fri, 16 May 2003 01:29:51 +0200 (CEST) Message-Id: <200305152329.h4FNTpGs048323@azrael.xs4all.nl> Date: Fri, 16 May 2003 01:29:51 +0200 (CEST) From: "Remco van 't Veer" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: java/52302: jdk14 runnaway processes X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Remco van 't Veer List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2003 23:30:15 -0000 >Number: 52302 >Category: java >Synopsis: jdk14 runnaway processes >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu May 15 16:30:13 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Remco van 't Veer >Release: FreeBSD 4.8-RELEASE i386 >Organization: none >Environment: System: FreeBSD azrael.xs4all.nl 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Fri Apr 4 12:44:06 CEST 2003 root@azrael.xs4all.nl:/media/tmp/big/src/sys/AZRAEL i386 jdk-1.4.1p3_3 tomcat-4.1.24 >Description: When the jdk1.4.1 jvm spawns an external process, like tomcat does when compiling jsp files, it creates a new process which (sometimes) hangs and chews up processor time. I managed to reproduce the problem using java_g, used gcore to generate a core file and had gdb write a backtrace. Here's the output: Script started on Fri May 9 10:16:22 2003 $ ps ax | grep java_g 27543 p6 S 45:59.63 /usr/local/jdk1.4.1/bin/java_g -Djava.endorsed.dirs=/hm/remco/lib/tomcat8080/bin:/hm/remco/lib/tomcat8080/common/endors 28865 p6 R 317:19.24 /usr/local/jdk1.4.1/bin/java_g -Djava.endorsed.dirs=/hm/remco/lib/tomcat8080/bin:/hm/remco/lib/tomcat8080/common/endors 30484 pa S+ 0:00.01 grep java_g $ gcore -s 28865 $ ls -l core.28865 -rw-r--r-- 1 remco remco 204918784 May 9 10:17 core.28865 $ java_g -version java version "1.4.1-p3" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-p3-root_04_apr_2003_17_15) Java HotSpot(TM) Client VM (build 1.4.1-p3-root_04_apr_2003_17_15-debug, mixed mode) $ gdb /usr/local/jdk1.4.1/bin/java_g core.28865 GNU gdb 4.18 (FreeBSD) Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"...Deprecated bfd_read called at /big/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 2627 in elfstab_build_psymtabs Deprecated bfd_read called at /big/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 933 in fill_symbuf Core was generated by `java_g'. Reading symbols from /usr/lib/libc_r.so.4...done. Reading symbols from /usr/local/jdk1.4.1/jre/lib/i386/client/libjvm_g.so...done. Reading symbols from /usr/lib/libstdc++.so.3...done. Reading symbols from /usr/lib/libm.so.2...done. Reading symbols from /usr/local/jdk1.4.1/jre/lib/i386/native_threads/libhpi_g.so...done. Reading symbols from /usr/local/jdk1.4.1/jre/lib/i386/libverify_g.so...done. Reading symbols from /usr/local/jdk1.4.1/jre/lib/i386/libjava_g.so...done. Reading symbols from /usr/local/jdk1.4.1/jre/lib/i386/libzip_g.so...done. Reading symbols from /usr/local/jdk1.4.1/jre/lib/i386/libnet_g.so...done. Reading symbols from /usr/local/jdk1.4.1/jre/lib/i386/libawt_g.so...done. Reading symbols from /usr/local/jdk1.4.1/jre/lib/i386/libmlib_image_g.so...done. Reading symbols from /usr/X11R6/lib/libXp.so.6...done. Reading symbols from /usr/X11R6/lib/libXt.so.6...done. Reading symbols from /usr/X11R6/lib/libXext.so.6...done. Reading symbols from /usr/X11R6/lib/libXtst.so.6...done. Reading symbols from /usr/X11R6/lib/libXmu.so.6...done. Reading symbols from /usr/X11R6/lib/libX11.so.6...done. Reading symbols from /usr/X11R6/lib/libSM.so.6...done. Reading symbols from /usr/X11R6/lib/libICE.so.6...done. Reading symbols from /usr/X11R6/lib/libXThrStub.so.6...done. Reading symbols from /usr/libexec/ld-elf.so.1...done. #0 0x280bb395 in _thread_sig_handler () from /usr/lib/libc_r.so.4 (gdb) bt #0 0x280bb395 in _thread_sig_handler () from /usr/lib/libc_r.so.4 #1 0xbfbfffac in ?? () #2 0x280f6ef5 in _thread_leave_cancellation_point () from /usr/lib/libc_r.so.4 #3 0x280f724f in _thread_leave_cancellation_point () from /usr/lib/libc_r.so.4 #4 0x280f76fd in free () from /usr/lib/libc_r.so.4 #5 0x280b479b in fork () from /usr/lib/libc_r.so.4 #6 0x29f93b2e in Java_java_lang_UNIXProcess_forkAndExec (env=0x89394b8, process=0x8b2b62c, cmdarray=0x8b2b628, envp=0x0, path=0x8b2b620, stdin_fd=0x8b2b61c, stdout_fd=0x8b2b618, stderr_fd=0x8b2b614) at /big/ports/java/jdk14/work/control/build/bsd-i586/tmp/java/java.lang/java/obj_g/UNIXProcess_md.c:335 #7 0x2bb084bc in ?? () #8 0x2bb00eff in ?? () #9 0x2bafe19d in ?? () #10 0x28531054 in JavaCalls::call_helper (result=0x8b2b9b4, m=0x8b2b7c0, args=0x8b2b850, __the_thread__=0x8939418) at /big/ports/java/jdk14/work/hotspot/src/share/vm/runtime/javaCalls.cpp:387 #11 0x2875599c in os::os_exception_wrapper (f=0x28530bac , value=0x8b2b9b4, method=0x8b2b7c0, args=0x8b2b850, thread=0x8939418) at /big/ports/java/jdk14/work/hotspot/src/os/bsd/vm/os_bsd.cpp:1828 #12 0x28530b91 in JavaCalls::call (result=0x8b2b9b4, method={ = {_handle = 0x86e084c}, }, args=0x8b2b850, __the_thread__=0x8939418) at /big/ports/java/jdk14/work/hotspot/src/share/vm/runtime/javaCalls.cpp:315 #13 0x2854a3c5 in jni_invoke_nonstatic (env=0x89394b8, result=0x8b2b9b4, receiver=0x8760220, call_type=JNI_NONVIRTUAL, methodID=0x886ea98, args=0x8b2b998, __the_thread__=0x8939418) at /big/ports/java/jdk14/work/hotspot/src/share/vm/prims/jni.cpp:760 #14 0x2854c153 in jni_NewObjectV (env=0x89394b8, clazz=0x876021c, methodID=0x886ea98, args=0x8b2ba68 " \b") at /big/ports/java/jdk14/work/hotspot/src/share/vm/prims/jni.cpp:801 #15 0x29f9e638 in JNU_NewObjectByName (env=0x89394b8, class_name=0x29fa6dfc "java/lang/UNIXProcess", constructor_sig=0x29fa6dc0 "([Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V") at ../../../src/share/native/common/jni_util.c:369 #16 0x29f98a9a in Java_java_lang_Runtime_execInternal (env=0x89394b8, this=0x8b2bae8, cmdarray=0x8b2bae4, envp=0x0, path=0x8b2badc) at ../../../src/solaris/native/java/lang/Runtime_md.c:28 #17 0x2bb084bc in ?? () #18 0x2bb00f2a in ?? () #19 0x2bb00f2a in ?? () #20 0x2bb00e53 in ?? () #21 0x2bb00e53 in ?? () #22 0x2bb01159 in ?? () #23 0x2bafe19d in ?? () #24 0x28531054 in JavaCalls::call_helper (result=0x8b2bec8, m=0x8b2bd68, args=0x8b2be0c, __the_thread__=0x8939418) at /big/ports/java/jdk14/work/hotspot/src/share/vm/runtime/javaCalls.cpp:387 #25 0x2875599c in os::os_exception_wrapper (f=0x28530bac , value=0x8b2bec8, method=0x8b2bd68, args=0x8b2be0c, thread=0x8939418) at /big/ports/java/jdk14/work/hotspot/src/os/bsd/vm/os_bsd.cpp:1828 #26 0x28530b91 in JavaCalls::call (result=0x8b2bec8, method={ = {_handle = 0x86e0838}, }, args=0x8b2be0c, __the_thread__=0x8939418) at /big/ports/java/jdk14/work/hotspot/src/share/vm/runtime/javaCalls.cpp:315 #27 0x285302ed in JavaCalls::call_virtual (result=0x8b2bec8, spec_klass={ = {_handle = 0x86e0828}, }, name={ = { _handle = 0x29f021c8}, }, signature={ = {_handle = 0x29f0224c}, }, args=0x8b2be0c, __the_thread__=0x8939418) at /big/ports/java/jdk14/work/hotspot/src/share/vm/runtime/javaCalls.cpp:211 #28 0x28530385 in JavaCalls::call_virtual (result=0x8b2bec8, receiver={_handle = 0x86e0824}, spec_klass={ = { _handle = 0x86e0828}, }, name={ = {_handle = 0x29f021c8}, }, signature={ = { _handle = 0x29f0224c}, }, __the_thread__=0x8939418) ---Type to continue, or q to quit--- at /big/ports/java/jdk14/work/hotspot/src/share/vm/runtime/javaCalls.cpp:217 #29 0x2862222d in thread_entry (thread=0x8939418, __the_thread__=0x8939418) at /big/ports/java/jdk14/work/hotspot/src/share/vm/prims/jvm.cpp:1810 #30 0x287dd305 in JavaThread::thread_main_inner (this=0x8939418) at /big/ports/java/jdk14/work/hotspot/src/share/vm/runtime/thread.cpp:1321 #31 0x287dd1c1 in JavaThread::run (this=0x8939418) at /big/ports/java/jdk14/work/hotspot/src/share/vm/runtime/thread.cpp:1305 #32 0x28752808 in _start (data=0x8939418) at /big/ports/java/jdk14/work/hotspot/src/os/bsd/vm/os_bsd.cpp:557 #33 0x280840a8 in _thread_start () from /usr/lib/libc_r.so.4 #34 0x0 in ?? () (gdb) $ ^D Script done on Fri May 9 10:19:14 2003 >How-To-Repeat: Run an application which spawns external processes and sometimes.. >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-java@FreeBSD.ORG Thu May 15 16:53:18 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 22CF237B401 for ; Thu, 15 May 2003 16:53:18 -0700 (PDT) Received: from brmea-mail-3.sun.com (brmea-mail-3.Sun.COM [192.18.98.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5916B43F75 for ; Thu, 15 May 2003 16:53:13 -0700 (PDT) (envelope-from Ranjith.Mandala@Sun.COM) Received: from ha2sca-mail1.SFBay.Sun.COM ([129.145.155.62]) by brmea-mail-3.sun.com (8.12.9/8.12.9) with ESMTP id h4FNrCsa009010 for ; Thu, 15 May 2003 17:53:12 -0600 (MDT) Received: from ranjith (d-usca14-133-175 [129.145.133.175]) ESMTP id h4FNrC122526; Thu, 15 May 2003 16:53:12 -0700 (PDT) Date: Thu, 15 May 2003 16:53:12 -0700 (PDT) Message-ID: <9484473.1053042796580.JavaMail.ranjithm@ha2sca-mail1.sfbay.sun.com> From: Ranjith Mandala To: freebsd-java@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: postEmail $Id: PostEmail.java,v 1.17 2002/08/30 02:33:02 gmanwani Exp $ X-IM-Review-ID: 185900 cc: Ranjith.Mandala@Sun.COM Subject: Re: (Review ID: 185900) Can not get information for pid = 307 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2003 23:53:18 -0000 Hi, This Bug Report was submitted from http://java.sun.com/cgi-bin/bugreport.cgi and is being forwarded to you on behalf of jaime@e-twn.com. If you would like to respond. Please send an e-mail to the address listed at the end of this report. Regards, RM. ----------------- Original Bug Report------------------- category : java release : 1.4.1 subcategory : specification type : bug synopsis : Can not get information for pid = 307 description : FULL PRODUCT VERSION : java version "1.4.1_02" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_02-b06) Java HotSpot(TM) Client VM (build 1.4.1_02-b06, mixed mode) FULL OS VERSION : FreeBSD version 4.8 A DESCRIPTION OF THE PROBLEM : Unexpected Signal : 11 occurred at PC=0x2A4198A5 Function=loadClass (compiled Java code) Library=(N/A) Current Java thread: Dynamic libraries: Can not get information for pid = 307 Local Time = Thu May 15 18:43:31 2003 Elapsed Time = 36 # # HotSpot Virtual Machine Error : 11 # Error ID : 4F530E43505002E6 # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : we don't know EXPECTED VERSUS ACTUAL BEHAVIOR : EXPECTED - pdf file ERROR MESSAGES/STACK TRACES THAT OCCUR : Unexpected Signal : 11 occurred at PC=0x2A4198A5 Function=loadClass (compiled Java code) Library=(N/A) Current Java thread: Dynamic libraries: Can not get information for pid = 307 Local Time = Thu May 15 18:43:31 2003 Elapsed Time = 36 # # HotSpot Virtual Machine Error : 11 # Error ID : 4F530E43505002E6 # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # REPRODUCIBILITY : This bug can be reproduced always. workaround : suggested_val : cust_name : jaime valencia cust_email : jaime@e-twn.com jdcid : keyword : webbug company : twn software hardware : x86 OSversion : Linux bugtraqID : 0 dateCreated : 2003-05-15 16:54:33.2 dateEvaluated : 2003-05-15 17:52:29.658 From owner-freebsd-java@FreeBSD.ORG Thu May 15 22:39:46 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D60E137B401 for ; Thu, 15 May 2003 22:39:46 -0700 (PDT) Received: from mail.speakeasy.net (mail15.speakeasy.net [216.254.0.215]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47A9043F85 for ; Thu, 15 May 2003 22:39:46 -0700 (PDT) (envelope-from aah@acm.org) Received: (qmail 27480 invoked from network); 16 May 2003 05:39:45 -0000 Received: from unknown (HELO acm.org) (aah@[216.27.178.67]) (envelope-sender ) by mail15.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 16 May 2003 05:39:45 -0000 Message-ID: <3EC479A1.5080202@acm.org> Date: Thu, 15 May 2003 22:39:45 -0700 From: Andrew Houghton User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4a) Gecko/20030428 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: IntelliJ IDEA, JDK 1.4.1-p3, 5.0-p7, "Bad file descriptor" X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2003 05:39:47 -0000 Before I send this off to IntelliJ, I thought I'd try here to see if anyone has any ideas. For those of you who don't use IDEA, it seems to come down to an exception when the IDE does creates files itself -- by copying jars around or compiling source files, for instance. When I first create a project in the IDE, and the jar files are copied to the ~/.IntelliJIdea cache directory, I'm getting little dialog boxes that somethine like "Cannot copy to /usr/home/aah/.IntelliJIdea/system/jars/: Bad file descriptor". When I look in the .../system/jars directory, everything looks fine. I'm also seeing this when I try compilations on projects. I see the compilation proceed and I see errors and warnings -- briefly -- showing source paths and line numbers. Somewhere in the middle of the compilation, most (but not all) of those error references go away and the lines say 'Bad file descriptor'. Does anyone else using IDEA see this? Are there any known problems with the native JDK that might immediately be the culprit? Thanks, Andrew From owner-freebsd-java@FreeBSD.ORG Fri May 16 00:32:30 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D602737B404 for ; Fri, 16 May 2003 00:32:30 -0700 (PDT) Received: from puget.esil.univ-mrs.fr (puget.esil.univ-mrs.fr [139.124.41.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51C9043F85 for ; Fri, 16 May 2003 00:32:29 -0700 (PDT) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from puget.esil.univ-mrs.fr (localhost.esil.univ-mrs.fr [127.0.0.1]) h4G7XWnx098151 for ; Fri, 16 May 2003 09:33:32 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from localhost (rv@localhost)h4G7XVea098145 for ; Fri, 16 May 2003 09:33:31 +0200 (CEST) X-Authentication-Warning: puget.esil.univ-mrs.fr: rv owned process doing -bs Date: Fri, 16 May 2003 09:33:30 +0200 (CEST) From: Herve Quiroz X-X-Sender: rv@puget.esil.univ-mrs.fr To: freebsd-java@FreeBSD.ORG Message-ID: <20030516093007.W98105@puget.esil.univ-mrs.fr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: java/jdk13 does not autodetect itself (fwd) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2003 07:32:31 -0000 Hi, Here is a question I should have submitted to the community instead of only Ernst. Just a mistake with my mailer... Herve ---------- Forwarded message ---------- Date: Thu, 15 May 2003 14:52:12 +0200 (CEST) From: Herve Quiroz To: Ernst de Haan Cc: Herve Quiroz Subject: Re: java/jdk13 does not autodetect itself I am currently working on this patch and I have one question: Can we build the native JDK 1.3 using IBM or Blackdown linux JDK ? If this is not the case, it could be a little less trivial than what I expected. But still not impossible... Herve On Thu, 15 May 2003, Ernst de Haan wrote: > Please indeed provide a patch. > > Thanks! > > Ernst > From owner-freebsd-java@FreeBSD.ORG Fri May 16 14:04:56 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A799637B408; Fri, 16 May 2003 14:04:56 -0700 (PDT) Received: from gate.volant.org (gate.volant.org [207.111.218.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F54043F93; Fri, 16 May 2003 14:04:56 -0700 (PDT) (envelope-from patl+freebsd@volant.org) Received: from 64-144-229-193.client.dsl.net ([64.144.229.193] helo=[192.168.0.13]) by gate.volant.org with asmtp (TLSv1:DES-CBC3-SHA:168) (Exim 3.33 #1) id 19GmNX-000PvM-00; Fri, 16 May 2003 14:04:35 -0700 Date: Fri, 16 May 2003 14:04:31 -0700 From: Pat Lashley To: Greg Lewis , David Yeske Message-ID: <4234040000.1053119071@mccaffrey.phoenix.volant.org> In-Reply-To: <20030514174622.GA56109@misty.eyesbeyond.com> References: <20030514.125107.74756915.haro@kgt.co.jp> <20030514041736.88785.qmail@web13501.mail.yahoo.com> <20030514174622.GA56109@misty.eyesbeyond.com> X-Mailer: Mulberry/2.2.1 (Linux/x86 Demo) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline cc: java@freebsd.org cc: glewis@freebsd.org cc: Munehiro Matsuda Subject: Re: java/jdk13 does not autodetect itself X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2003 21:04:57 -0000 --On Wednesday, May 14, 2003 11:46:22 -0600 Greg Lewis wrote: > On Tue, May 13, 2003 at 09:17:36PM -0700, David Yeske wrote: >> What do other people think about this? > > I think its worth considering. Its not too difficult to do. > >> Do we want to expand detection in ports in general? >> Is it bad to set NATIVE_BOOTSTRAP automatically? > > Its bad to set it automatically unless there is also a flag to turn it > off, e.g. we would need to add a LINUX_BOOTSTRAP or a > WITHOUT_NATIVE_BOOTSTRAP. Or change the NATIVE_BOOTSTRAP test to actually check the value and not just the presence. That way there's no confusion about what to do if NATIVE_BOOTSTRAP and WITHOUT_NATIVE_BOOTSTRAP are both set... (It also opens up the possibility of a third 'if available' setting. The exact value to be used is left as an exercise for the reader...) (Personally, after 30+ years as a software engineer, I detest one-way switches. If you can explicitly set it, you should be able to explicitly turn it off as well.) -Pat From owner-freebsd-java@FreeBSD.ORG Fri May 16 14:14:25 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C3D1937B401 for ; Fri, 16 May 2003 14:14:25 -0700 (PDT) Received: from mgr5.xmission.com (mgr5.xmission.com [198.60.22.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB90D43F75 for ; Fri, 16 May 2003 14:14:22 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr5.xmission.com with spam-scanned (Exim 3.35 #1) id 19GmX0-0008G7-05 for freebsd-java@freebsd.org; Fri, 16 May 2003 15:14:22 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr5.xmission.com with esmtp (Exim 3.35 #1) id 19GmWs-0008Bi-05; Fri, 16 May 2003 15:14:20 -0600 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.12.9/8.12.9) with ESMTP id h4GLItMP001907; Fri, 16 May 2003 15:18:56 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9/8.12.9/Submit) id h4GLIrlI001906; Fri, 16 May 2003 15:18:53 -0600 (MDT) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Fri, 16 May 2003 15:18:52 -0600 From: Greg Lewis To: Herve Quiroz Message-ID: <20030516211852.GA1747@misty.eyesbeyond.com> References: <20030516093007.W98105@puget.esil.univ-mrs.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030516093007.W98105@puget.esil.univ-mrs.fr> User-Agent: Mutt/1.4.1i X-Spam-Status: No, hits=-40.2 required=8.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MUTT,X_AUTH_WARNING version=2.53 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.53 (1.174.2.15-2003-03-30-exp) cc: freebsd-java@freebsd.org Subject: Re: java/jdk13 does not autodetect itself (fwd) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2003 21:14:26 -0000 On Fri, May 16, 2003 at 09:33:30AM +0200, Herve Quiroz wrote: > I am currently working on this patch and I have one question: > > Can we build the native JDK 1.3 using IBM or Blackdown linux JDK ? Yes for Blackdown. Not sure for IBM. I can try and test that one a little later on tonight. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Fri May 16 18:22:42 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1DED037B401 for ; Fri, 16 May 2003 18:22:41 -0700 (PDT) Received: from JRAF.org (m198.net195-132-85.noos.fr [195.132.85.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3CE143F93 for ; Fri, 16 May 2003 18:22:40 -0700 (PDT) (envelope-from BoD@JRAF.org) Received: from bureau (bureau.JRAF.org [10.0.0.2]) by JRAF.org (Postfix) with SMTP id 2DD70377F5 for ; Sat, 17 May 2003 03:24:11 +0200 (CEST) Message-ID: <000501c31c12$cf8e89c0$0200000a@bureau> From: "BoD" To: Date: Sat, 17 May 2003 03:22:39 +0200 Organization: BoD inc. MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit 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 Subject: Encoding/accents problem X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: BoD List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 May 2003 01:22:42 -0000 Hi! I'm having encoding/accents problems with some of the Java JDKs. I have this simple program: class Test { public static void main(String[] av) throws Exception { System.out.println("é"); } } (that's a e with acute accent, used in french) Now look at this different results: ----- $ /usr/local/jdk1.3.1/bin/java -version java version "1.3.1-p7" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p7-bod-021102-00:40) Classic VM (build 1.3.1-p7-bod-021102-00:40, green threads, nojit) $ /usr/local/jdk1.3.1/bin/javac Test.java && /usr/local/jdk1.3.1/bin/java Test é ----- $ /usr/local/linux-sun-jdk1.3.1/bin/java -version java version "1.3.1_04" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_04-b02) Classic VM (build 1.3.1_04-b02, green threads, nojit) $ /usr/local/linux-sun-jdk1.3.1/bin/javac Test.java && /usr/local/linux-sun-jdk1.3.1/bin/java Test é ----- $ /usr/local/linux-sun-jdk1.4.1/bin/java -version java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01) Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode) $ /usr/local/linux-sun-jdk1.4.1/bin/javac Test.java && /usr/local/linux-sun-jdk1.4.1/bin/java Test ? (that's a question mark) ----- $ /usr/local/linux-blackdown-jdk1.4.1/bin/java -version java version "1.4.1" Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.4.1-beta) Java HotSpot(TM) Client VM (build Blackdown-1.4.1-beta, mixed mode) $ /usr/local/linux-blackdown-jdk1.4.1/bin/javac Test.java && /usr/local/linux-blackdown-jdk1.4.1/bin/java Test ? (question mark again) ----- $ /usr/local/linux-ibm-jdk1.4.0/bin/java -version java version "1.4.0" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0) Classic VM (build 1.4.0, J2RE 1.4.0 IBM build cxia32140-20020917a (JIT enabled: jitc)) $ /usr/local/linux-ibm-jdk1.4.0/bin/javac Test.java && /usr/local/linux-ibm-jdk1.4.0/bin/java Test é ----- Unfortunatelly I could not try the 1.4 "from sun sources" version as I have 4.7-RELEASE and the port said it needed a 4.8-STABLE at least. Now I need 1.4, so I could stay with ibm's one, but unfortunatelly jetty doesn't seem to work with it at all (just says nothing when I start it...) Thank you very much for your help ! Do I have to subscribe to a list to see the replies ? Thanks, BoD From owner-freebsd-java@FreeBSD.ORG Fri May 16 19:41:00 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5E5D937B401 for ; Fri, 16 May 2003 19:41:00 -0700 (PDT) Received: from palomar.yi.org (user-10cm1j3.cable.mindspring.com [64.203.6.99]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99B2343F75 for ; Fri, 16 May 2003 19:40:59 -0700 (PDT) (envelope-from erich@ucsd.edu) Received: from ucsd.edu (soledad [192.168.123.250]) by palomar.yi.org (8.12.8p1/8.12.8) with ESMTP id h4H2NRTG017431; Fri, 16 May 2003 19:23:27 -0700 (PDT) (envelope-from erich@ucsd.edu) Message-ID: <3EC5A101.9070807@ucsd.edu> Date: Fri, 16 May 2003 19:40:01 -0700 From: =?ISO-8859-1?Q?Eric_Hedstr=F6m?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4a) Gecko/20030401 X-Accept-Language: en-us, en MIME-Version: 1.0 To: BoD References: <000501c31c12$cf8e89c0$0200000a@bureau> In-Reply-To: <000501c31c12$cf8e89c0$0200000a@bureau> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit cc: freebsd-java@freebsd.org Subject: Re: Encoding/accents problem X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 May 2003 02:41:00 -0000 What do you get if you run one of the .class files that works (e.g. compiled with /usr/local/jdk1.3.1/bin/javac) and run it with the other VMs? You may also have to set your local environment to make sure it is set to use ISO8859-1 or -15, to make sure the VMs don't default to 7-bit US-ASCII. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/using-localization.html hope this helps, Eric BoD wrote: > Hi! > I'm having encoding/accents problems with some of the Java JDKs. > > I have this simple program: > > > > class Test > { > public static void main(String[] av) throws Exception > { > System.out.println("é"); > } > } > > (that's a e with acute accent, used in french) > > Now look at this different results: > > ----- > > $ /usr/local/jdk1.3.1/bin/java -version > java version "1.3.1-p7" > Java(TM) 2 Runtime Environment, Standard Edition (build > 1.3.1-p7-bod-021102-00:40) > Classic VM (build 1.3.1-p7-bod-021102-00:40, green threads, nojit) > > $ /usr/local/jdk1.3.1/bin/javac Test.java && /usr/local/jdk1.3.1/bin/java > Test > é > > ----- > > $ /usr/local/linux-sun-jdk1.3.1/bin/java -version > java version "1.3.1_04" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_04-b02) > Classic VM (build 1.3.1_04-b02, green threads, nojit) > > $ /usr/local/linux-sun-jdk1.3.1/bin/javac Test.java && > /usr/local/linux-sun-jdk1.3.1/bin/java Test > é > > ----- > > $ /usr/local/linux-sun-jdk1.4.1/bin/java -version > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01) > Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode) > > $ /usr/local/linux-sun-jdk1.4.1/bin/javac Test.java && > /usr/local/linux-sun-jdk1.4.1/bin/java Test > ? > > (that's a question mark) > ----- > > $ /usr/local/linux-blackdown-jdk1.4.1/bin/java -version > java version "1.4.1" > Java(TM) 2 Runtime Environment, Standard Edition (build > Blackdown-1.4.1-beta) > Java HotSpot(TM) Client VM (build Blackdown-1.4.1-beta, mixed mode) > > $ /usr/local/linux-blackdown-jdk1.4.1/bin/javac Test.java && > /usr/local/linux-blackdown-jdk1.4.1/bin/java Test > ? > > (question mark again) > ----- > > $ /usr/local/linux-ibm-jdk1.4.0/bin/java -version > java version "1.4.0" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0) > Classic VM (build 1.4.0, J2RE 1.4.0 IBM build cxia32140-20020917a (JIT > enabled: jitc)) > > $ /usr/local/linux-ibm-jdk1.4.0/bin/javac Test.java && > /usr/local/linux-ibm-jdk1.4.0/bin/java Test > é > > ----- > > Unfortunatelly I could not try the 1.4 "from sun sources" version as I have > 4.7-RELEASE and the port said it needed a 4.8-STABLE at least. > Now I need 1.4, so I could stay with ibm's one, but unfortunatelly jetty > doesn't seem to work with it at all (just says nothing when I start it...) > > Thank you very much for your help ! > > Do I have to subscribe to a list to see the replies ? > > Thanks, > > BoD > > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" From owner-freebsd-java@FreeBSD.ORG Sat May 17 01:39:17 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 140B237B401 for ; Sat, 17 May 2003 01:39:17 -0700 (PDT) Received: from gatesrv.RZ.UniBw-Muenchen.de (gatesrv.RZ.UniBW-Muenchen.de [137.193.11.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2CE6543F3F for ; Sat, 17 May 2003 01:39:16 -0700 (PDT) (envelope-from lutz@medusa.informatik.unibw-muenchen.de) Received: from medusa.informatik.unibw-muenchen.de (medusa.Informatik.UniBw-Muenchen.de [137.193.60.34])h4H8aFgQ012335 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 17 May 2003 10:36:15 +0200 (MEST) Received: from lutz by medusa.informatik.unibw-muenchen.de with local (Exim 4.20) id 19GxAF-000ObQ-T4 for freebsd-java@freebsd.org; Sat, 17 May 2003 10:35:35 +0200 From: Lutz Bichler Organization: University of the Federal Armed Forces Munich To: freebsd-java@freebsd.org Date: Sat, 17 May 2003 10:35:35 +0200 User-Agent: KMail/1.5.1 MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_XRfx+I+xkyh0AcH" Message-Id: <200305171035.35849.Lutz.Bichler@unibw-muenchen.de> Sender: Lutz Bichler Subject: NullPointerException in Together/jdk1.4.1-p3 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 May 2003 08:39:17 -0000 --Boundary-00=_XRfx+I+xkyh0AcH Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, i try to use Together with jdk-1.4.1-p3 and a NullPointerException whenever i try to open the "PrintOptions" dialog. The appearing trace is appended. Any idea what i can do about this, except from digging into the jdk code? Lutz --Boundary-00=_XRfx+I+xkyh0AcH Content-Type: text/plain; charset="us-ascii"; name="together-problem.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="together-problem.txt" Exception occurred during event dispatching: java.lang.NullPointerException at java.util.Hashtable.get(Hashtable.java:329) at javax.swing.AbstractAction$ArrayTable.get(AbstractAction.java:336) at javax.swing.InputMap.get(InputMap.java:103) at javax.swing.InputMap.get(InputMap.java:99) at javax.swing.JComponent.unregisterKeyboardAction(JComponent.java:1866) at com.togethersoft.util.ui.plaf.metal.OIMetalSplitPaneUI.installKeyboardActions(OIMetalSplitPaneUI.java:17) at javax.swing.plaf.basic.BasicSplitPaneUI.installUI(BasicSplitPaneUI.java:269) at javax.swing.JComponent.setUI(JComponent.java:449) at javax.swing.JSplitPane.setUI(JSplitPane.java:352) at javax.swing.JSplitPane.updateUI(JSplitPane.java:380) at javax.swing.JSplitPane.(JSplitPane.java:334) at javax.swing.JSplitPane.(JSplitPane.java:263) at com.togethersoft.modules.optionDialog.dialog.LazySplitPane.(LazySplitPane.java:9) at com.togethersoft.modules.optionDialog.dialog.DialogPane.createContentPane(DialogPane.java:57) at com.togethersoft.modules.optionDialog.dialog.DialogPane.(DialogPane.java:42) at com.togethersoft.modules.optionDialog.dialog.OptionDialog$2.run(OptionDialog.java:69) at com.togethersoft.modules.optionDialog.dialog.OptionDialog.(OptionDialog.java:90) at com.togethersoft.modules.optionDialog.OptionNavigator.showOptionDialog(OptionNavigator.java:113) at com.togethersoft.modules.optionDialog.Startup.run(Startup.java:35) at zao0.a([DashoPro-V2-050200]) at zao0.showConfigEditor([DashoPro-V2-050200]) at zaq0.showConfigEditor([DashoPro-V2-050200]) at com.togethersoft.modules.print.diagram.DiagramPrintDialog.callOptionsDialogAndUpdate([DashoPro-V2-050200]) at com.togethersoft.modules.print.diagram.DiagramPrintDialog.actionPerformed([DashoPro-V2-050200]) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1817) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245) at java.awt.Component.processMouseEvent(Component.java:5093) at java.awt.Component.processEvent(Component.java:4890) at java.awt.Container.processEvent(Container.java:1566) at java.awt.Component.dispatchEventImpl(Component.java:3598) at java.awt.Container.dispatchEventImpl(Container.java:1623) at java.awt.Component.dispatchEvent(Component.java:3439) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095) at java.awt.Container.dispatchEventImpl(Container.java:1609) at java.awt.Window.dispatchEventImpl(Window.java:1585) at java.awt.Component.dispatchEvent(Component.java:3439) at java.awt.EventQueue.dispatchEvent(EventQueue.java:450) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:140) at java.awt.Dialog.show(Dialog.java:538) at com.togethersoft.together.impl.windowSystem.IdeDialogImpl.show([DashoPro-V2-050200]) at com.togethersoft.modules.print.diagram.DiagramPrintDialog$1.run([DashoPro-V2-050200]) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178) at java.awt.EventQueue.dispatchEvent(EventQueue.java:448) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136) at java.awt.EventDispatchThread.run(EventDispatchThread.java:99) --Boundary-00=_XRfx+I+xkyh0AcH-- From owner-freebsd-java@FreeBSD.ORG Sat May 17 05:54:42 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E4B1337B40C for ; Sat, 17 May 2003 05:54:41 -0700 (PDT) Received: from mail.caraldi.com (caraldi.com [62.212.102.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09C0943FBF for ; Sat, 17 May 2003 05:54:41 -0700 (PDT) (envelope-from quenotj@caraldi.com) Received: from watt.intra.caraldi.com (watt.intra.caraldi.com [192.168.100.101]) by mail.caraldi.com (Postfix) with ESMTP id 1A913486 for ; Sat, 17 May 2003 14:54:38 +0200 (CEST) Received: by watt.intra.caraldi.com (Postfix, from userid 1001) id AA68791; Sat, 17 May 2003 14:54:36 +0200 (CEST) Date: Sat, 17 May 2003 14:54:36 +0200 From: Jean-Baptiste Quenot To: freebsd-java@freebsd.org Message-ID: <20030517125436.GA8377@watt.intra.caraldi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.4i Subject: [ANN] Work-in-progress Resin port X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 May 2003 12:54:42 -0000 I offer a work-in-progress port of Resin for FreeBSD on the following page: http://caraldi.com/jbq/resin/ It is useful to me, and I hope this can be useful to other people too. There are still many improvements to make, documented in the TODO list. Your comments are welcome, as well as pointers to existing efforts to port Resin on FreeBSD. Thanks in advance, -- Jean-Baptiste Quenot http://caraldi.com/jbq/ From owner-freebsd-java@FreeBSD.ORG Sat May 17 06:25:32 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6967037B401 for ; Sat, 17 May 2003 06:25:32 -0700 (PDT) Received: from JRAF.org (m198.net195-132-85.noos.fr [195.132.85.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8BB9F43F3F for ; Sat, 17 May 2003 06:25:29 -0700 (PDT) (envelope-from BoD@JRAF.org) Received: from bureau (bureau.JRAF.org [10.0.0.2]) by JRAF.org (Postfix) with SMTP id 2F81B378D2 for ; Sat, 17 May 2003 15:27:02 +0200 (CEST) Message-ID: <000701c31c77$ca548ad0$0200000a@bureau> From: "BoD" To: References: <000501c31c12$cf8e89c0$0200000a@bureau> <3EC5A101.9070807@ucsd.edu> Date: Sat, 17 May 2003 15:25:31 +0200 Organization: BoD inc. MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 8bit 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 Subject: Re: Encoding/accents problem X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: BoD List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 May 2003 13:25:32 -0000 Eric Hedström wrote: > What do you get if you run one of the .class files that works (e.g. > compiled with /usr/local/jdk1.3.1/bin/javac) and run it with the > other VMs? It works fine when I do that. > You may also have to set your local environment to make sure it is set > to use ISO8859-1 or -15, to make sure the VMs don't default to 7-bit > US-ASCII. > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/using-localization .html Well thank you very much! I've set the right env.vars and now everythings works as expected :) Now, may I ask what would you suggest has better performances between the linux sun jdk and the linux blackdown jdk? Thank you very much, BoD