From owner-freebsd-java Sun Mar 16 23:28: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 9AB3937B405 for ; Sun, 16 Mar 2003 23:28:36 -0800 (PST) Received: from mta06-svc.ntlworld.com (mta06-svc.ntlworld.com [62.253.162.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id 548D043F75 for ; Sun, 16 Mar 2003 23:28:35 -0800 (PST) (envelope-from antony.t.curtis@ntlworld.com) Received: from pcgem.rdg.cyberkinetica.com ([81.98.110.96]) by mta06-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20030317072833.GFMC20605.mta06-svc.ntlworld.com@pcgem.rdg.cyberkinetica.com> for ; Mon, 17 Mar 2003 07:28:33 +0000 Content-Type: text/plain; charset="us-ascii" From: Antony T Curtis To: freebsd-java@FreeBSD.ORG Subject: JDK 1.3.1 performance Date: Mon, 17 Mar 2003 07:28:31 +0000 User-Agent: KMail/1.4.2 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200303170728.33168.antony.t.curtis@ntlworld.com> 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 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Java benchmark using Volano client/server Results are scaled, bigger is better. classic=09=091.000 (1094 messages per second) +tya=09=091.107 +shujit=091.114 +OpenJIT=091.154 native=09=090.675 +tya=09=090.868 +shujit=090.833 +OpenJIT=090.847 HotSpot -Xint=090.983 client=091.427 server=090.746 jdk1.4 -Xint=090.896 client=091.301 server=091.234 These benchmarks should be important to people running networked java=20 programs. Please note, I only ran the tests once, and both client and ser= ver=20 are sitting on the same box. The JDK1.3.1 is with my own patches (includes some maybe bad fixes for=20 - -native). I expected -native to have a much lower performance than -classic as Free= BSD#s=20 userland threads have much heavier context switching than Java's green=20 threads (which by nature, know about what it's running). What is surprisi= ng=20 is that -server performs so badly whereas on 1.4, it performs reasonably. These results tell me that we need KSE's for native threading to be truel= y=20 effective and that we should not implement Java's threading on top of a=20 KSEified pthread but directly on FreeBSD-5's KSE api. I'm tempted to roll a different threading for native on FreeBSD 4 based u= pon=20 rfork()... Just my $0.02 worth... - --=20 Antony T Curtis BSc Unix Analyst Programmer http://homepage.ntlworld.com/antony.t.curtis/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+dXkhql7dp2cddmIRAks7AJsFL37Oq9EhCi2dEZjueynkGSfhoQCff/7G dhgy8klgwXt873e3DEGJB00=3D =3DF5XB -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 17 2:28: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 B291637B401 for ; Mon, 17 Mar 2003 02:28:40 -0800 (PST) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 6955E43F93 for ; Mon, 17 Mar 2003 02:28:39 -0800 (PST) (envelope-from cinekcvs@gmx.net) Received: (qmail 28428 invoked by uid 0); 17 Mar 2003 10:28:38 -0000 Received: from pD9E1E174.dip.t-dialin.net (HELO natalia) (217.225.225.116) by mail.gmx.net (mp018-rz3) with SMTP; 17 Mar 2003 10:28:38 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Cinek To: freebsd-java@freebsd.org Subject: Guten Tag Date: Mon, 17 Mar 2003 11:27:04 +0100 User-Agent: KMail/1.4.3 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200303171127.10429.cinekcvs@gmx.net> 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 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ich bin gerade in Dortmund angekommen. Nur Wahnsinnige auf der Autobahn heute. Mindestens zwei Unf=E4lle und mic= h h=E4tte=20 auch einer um ein Haar erwischt (Rechts=FCberholer), aber eine Hupe ist s= chon=20 eine gute Erfindung. Ich habe die Ethernet-Karte eingebaut. Funktioniert ohne Probleme. :) Bin= =20 jetzt online damit. Wir sehen/h=F6ren uns am Samstag. Wenn was ist, dann schreib mir. Ich bin= fast=20 immer online (es sei denn am Arbeiten). Martin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+daL+fOppJvxzHgsRAuI8AJ90DTvDZQrRNb+bJxc4RX31QeVUtwCfWVXz WFc+WgKNOdAHplIk/eFPIKo=3D =3DGWvy -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 17 7: 9: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 C48E037B404; Mon, 17 Mar 2003 07:09:17 -0800 (PST) Received: from mailgw.cscoms.com (mailgw.cscoms.com [202.183.255.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 80C494406A; Mon, 17 Mar 2003 07:08:40 -0800 (PST) (envelope-from job2546@thaimail.com) Received: from cscoms.com (mail.cscoms.com [202.183.255.23]) by mailgw.cscoms.com (8.12.8/8.12.3) with ESMTP id h2HF1sin061590; Mon, 17 Mar 2003 22:02:09 +0700 (ICT) Received: from ME (dial-144.ras-21.bkk.c.cscoms.com [203.170.145.144]) by cscoms.com (8.12.8/8.12.3) with SMTP id h2HEpswo024877; Mon, 17 Mar 2003 21:51:55 +0700 (GMT) Date: Mon, 17 Mar 2003 21:51:54 +0700 (GMT) Message-Id: <200303171451.h2HEpswo024877@cscoms.com> From: job2546@thaimail.com Subject: "ถ้าคุณยังทำสิ่งที่คุณทำอยู่วันนี้ พรุ่งนี้ก็จะเหมือนวันนี้ X-Priority: 1 (Highest) Reply-To: job2546@thaimail.com X-Mailer: Microsoft Outlook Express 5.00.2615.200 MIME-Version: 1.0 Content-type: multipart/mixed; boundary="#MYBOUNDARY#" X-Virus-Scanned: by amavisd-milter (http://amavis.org/) To: undisclosed-recipients: ; 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 --#MYBOUNDARY# Content-Type: text/plain; charset=ansi Content-Transfer-Encoding: 8bit "หากคุณล้มเหลวที่จะวางแผน ย่อมแปลว่าคุณวางแผนที่จะล้มเหลว" จิม โรห์น นักปรัชญาอันดับ 1 ของโลก เช่น คุณคิดว่าในชีวิตนี้เราคงไม่มีทางรวย คุณก็ไจะไม่มีทางรวยเลย หรือ "คุณคิดว่าสักวันถึงฉันต้องรวยแน่ๆ" จิม โรห์น บอกว่า "ถ้าคุณยังทำสิ่งที่คุณทำอยู่ทุกวันนี้ อีก 3 ปีข้างหน้าลองคิดดูว่า คุณจะมีโอกาสรวยได้หรือไม่" "ถ้าคำตอบคือ ใช่ คุณกำลังจะรวย" ก็ยินดีกับคุณด้วยครับคุณกำลังจะรวยแล้ว "แต่ถ้าคำตอบคือ ไม่ คุณไม่สามารถรวยได้" คุณต้องเปลี่ยนอะไรสักอย่างในชีวิตคุณแล้ว จิม โรห์น บอกอีกว่า "ถ้าคุณยังทำสิ่งที่คุณทำอยู่วันนี้ พรุ่งนี้ก็จะเหมือนวันนี้ ไปเรื่อยๆไม่มีที่สิ้นสุด" หมายความว่า -ถ้าวันนี้คุณยังต้องวิ่งหาเงิน จ่ายหนี้ต่างๆ -ถ้าวันนี้คุณยังถูกเจ้านายกดขี่ ใช้งานอย่างหนัก -ถ้าวันนี้คุณยังหาทางออกไม่ได้ ลองเปิดโอกาสให้ตัวเองดู เปิดใจของคุณให้กว้างแล้วเดินตามเรามาหรือปล่อยให้โอกาสนี้หลุดลอยไป ============================================================ คุณสามารถเข้าไปดูรายละเอียดเพิ่มเติมและกรอกข้อมูลเพื่อขอรับข้อมูลเบื้องต้นฟรี ! ได้ที่ http://www.geocities.com/thaigetrich/easywork ============================================================ ขออภัยหากข้อความนี้ถูกส่งไปยังคุณโดยบังเอิญ หากคุณไม่ต้องการรับข้อความนี้อีกกรุณา mail มาที่ www.ecommerce.web1000.com/unsub --#MYBOUNDARY#-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 17 7: 9: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 022CC37B409; Mon, 17 Mar 2003 07:09:54 -0800 (PST) Received: from mailgw.cscoms.com (mailgw.cscoms.com [202.183.255.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 877F844047; Mon, 17 Mar 2003 07:09:15 -0800 (PST) (envelope-from job2546@thaimail.com) Received: from cscoms.com (mail.cscoms.com [202.183.255.23]) by mailgw.cscoms.com (8.12.8/8.12.3) with ESMTP id h2HF2Lip061968; Mon, 17 Mar 2003 22:03:11 +0700 (ICT) Received: from ME (dial-144.ras-21.bkk.c.cscoms.com [203.170.145.144]) by cscoms.com (8.12.8/8.12.3) with SMTP id h2HEpuwo024914; Mon, 17 Mar 2003 21:51:58 +0700 (GMT) Date: Mon, 17 Mar 2003 21:51:56 +0700 (GMT) Message-Id: <200303171451.h2HEpuwo024914@cscoms.com> From: job2546@thaimail.com Subject: "ถ้าคุณยังทำสิ่งที่คุณทำอยู่วันนี้ พรุ่งนี้ก็จะเหมือนวันนี้ X-Priority: 1 (Highest) Reply-To: job2546@thaimail.com X-Mailer: Microsoft Outlook Express 5.00.2615.200 MIME-Version: 1.0 Content-type: multipart/mixed; boundary="#MYBOUNDARY#" X-Virus-Scanned: by amavisd-milter (http://amavis.org/) To: undisclosed-recipients: ; 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 --#MYBOUNDARY# Content-Type: text/plain; charset=ansi Content-Transfer-Encoding: 8bit "หากคุณล้มเหลวที่จะวางแผน ย่อมแปลว่าคุณวางแผนที่จะล้มเหลว" จิม โรห์น นักปรัชญาอันดับ 1 ของโลก เช่น คุณคิดว่าในชีวิตนี้เราคงไม่มีทางรวย คุณก็ไจะไม่มีทางรวยเลย หรือ "คุณคิดว่าสักวันถึงฉันต้องรวยแน่ๆ" จิม โรห์น บอกว่า "ถ้าคุณยังทำสิ่งที่คุณทำอยู่ทุกวันนี้ อีก 3 ปีข้างหน้าลองคิดดูว่า คุณจะมีโอกาสรวยได้หรือไม่" "ถ้าคำตอบคือ ใช่ คุณกำลังจะรวย" ก็ยินดีกับคุณด้วยครับคุณกำลังจะรวยแล้ว "แต่ถ้าคำตอบคือ ไม่ คุณไม่สามารถรวยได้" คุณต้องเปลี่ยนอะไรสักอย่างในชีวิตคุณแล้ว จิม โรห์น บอกอีกว่า "ถ้าคุณยังทำสิ่งที่คุณทำอยู่วันนี้ พรุ่งนี้ก็จะเหมือนวันนี้ ไปเรื่อยๆไม่มีที่สิ้นสุด" หมายความว่า -ถ้าวันนี้คุณยังต้องวิ่งหาเงิน จ่ายหนี้ต่างๆ -ถ้าวันนี้คุณยังถูกเจ้านายกดขี่ ใช้งานอย่างหนัก -ถ้าวันนี้คุณยังหาทางออกไม่ได้ ลองเปิดโอกาสให้ตัวเองดู เปิดใจของคุณให้กว้างแล้วเดินตามเรามาหรือปล่อยให้โอกาสนี้หลุดลอยไป ============================================================ คุณสามารถเข้าไปดูรายละเอียดเพิ่มเติมและกรอกข้อมูลเพื่อขอรับข้อมูลเบื้องต้นฟรี ! ได้ที่ http://www.geocities.com/thaigetrich/easywork ============================================================ ขออภัยหากข้อความนี้ถูกส่งไปยังคุณโดยบังเอิญ หากคุณไม่ต้องการรับข้อความนี้อีกกรุณา mail มาที่ www.ecommerce.web1000.com/unsub --#MYBOUNDARY#-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 17 8:43: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 C5D8E37B401 for ; Mon, 17 Mar 2003 08:43:54 -0800 (PST) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8702043F3F for ; Mon, 17 Mar 2003 08:43:53 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr2.xmission.com with spam-scanned (Exim 3.35 #1) id 18uxdv-0007g9-02 for freebsd-java@freebsd.org; Mon, 17 Mar 2003 09:39:19 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 18uxcH-0006CZ-02; Mon, 17 Mar 2003 09:37:40 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id h2HGaoM01555; Tue, 18 Mar 2003 03:06:50 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 18 Mar 2003 03:06:44 +1030 From: Greg Lewis To: Antony T Curtis Cc: freebsd-java@FreeBSD.ORG Subject: Re: [CFR] jdk1.3.1 java_wrapper script update patch Message-ID: <20030318030643.A1528@misty.eyesbeyond.com> References: <20030315.003054.74755042.haro@h4.dion.ne.jp> <200303151334.38233.antony.t.curtis@ntlworld.com> <20030316032338.A94004@misty.eyesbeyond.com> <200303152311.06060.antony.t.curtis@ntlworld.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200303152311.06060.antony.t.curtis@ntlworld.com>; from antony.t.curtis@ntlworld.com on Sat, Mar 15, 2003 at 11:11:03PM +0000 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 Sat, Mar 15, 2003 at 11:11:03PM +0000, Antony T Curtis wrote: > On Saturday 15 March 2003 4:53 pm, Greg Lewis wrote: > > That would certainly be interesting. A good test to see if KSE pthreads > > is up to it for sure. > > Yep - if I had a spare PC..... Also possible is another "hpi" specially for > KSE threads... ie, go right to the base syscalls w/o the pthreads layer. I'm not sure how much benefit would be gained by this since you may end up having to do a lot of what the pthreads wrapper does anyway. > I wonder if it's possible to make a "hpi" using the linuxthreads port... Yes. Just use the Linux version of the native thread code and link against the appropriate library. There are a couple of small changes needed, but thats essentially it. -- 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 Mon Mar 17 8:56: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 7B01E37B401 for ; Mon, 17 Mar 2003 08:56:40 -0800 (PST) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7E0343FBF for ; Mon, 17 Mar 2003 08:56:38 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr2.xmission.com with spam-scanned (Exim 3.35 #1) id 18uxr8-0000Sh-02 for freebsd-java@freebsd.org; Mon, 17 Mar 2003 09:52:58 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 18uxpK-0007Xn-02; Mon, 17 Mar 2003 09:51:07 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id h2HGp1V01594; Tue, 18 Mar 2003 03:21:01 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 18 Mar 2003 03:20:59 +1030 From: Greg Lewis To: Antony T Curtis Cc: freebsd-java@FreeBSD.ORG Subject: Re: [CFR] jdk1.3.1 java_wrapper script update patch Message-ID: <20030318032058.B1528@misty.eyesbeyond.com> References: <20030315.003054.74755042.haro@h4.dion.ne.jp> <20030316032338.A94004@misty.eyesbeyond.com> <200303152311.06060.antony.t.curtis@ntlworld.com> <200303160336.59352.antony.t.curtis@ntlworld.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200303160336.59352.antony.t.curtis@ntlworld.com>; from antony.t.curtis@ntlworld.com on Sun, Mar 16, 2003 at 03:36:57AM +0000 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 Sun, Mar 16, 2003 at 03:36:57AM +0000, Antony T Curtis wrote: > Okay - I can confirm that there is a problem in the native threading code. > SIGUSR1 is being thrown frequently without being caught properly and some > other cruft with uninitialized structures. Yes, this is a known problem with native threads. IIRC this is inherited from the Linux version where SIGUSR1 is thrown to do user initiated thread preemption. The BSD code never was modified to handle the SIGUSR1. > I have some code here which works much smoother - dispite removing all other > references to pthread_t internal references, I ended up introducing another > which I'm blaming on the fact that the UTS/libc_r allows signals to be > delivered while still in critical sections of it instead of unwinding to > where signals can be delivered safely. > > It's working well but not perfect... Both client and server hotspot are now > performing reasonably well without hiccups... native+tya gives near on-par > performance on the Java2D demo. Sounds good :). -- 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 Mon Mar 17 11: 1: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 4A28337B401 for ; Mon, 17 Mar 2003 11:01:38 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC5A543FDF for ; Mon, 17 Mar 2003 11:01:33 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h2HJ1XNS011168 for ; Mon, 17 Mar 2003 11:01:33 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h2HJ1XoF011156 for java@freebsd.org; Mon, 17 Mar 2003 11:01:33 -0800 (PST) Date: Mon, 17 Mar 2003 11:01:33 -0800 (PST) Message-Id: <200303171901.h2HJ1XoF011156@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 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 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 o [2002/10/05] java/43724 java linux_base-7.1 + linux-sun-jdk-1.3.1.04 d 2 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/10/11] java/43925 java New port: net/beepcore-java (supersedes p 1 problem total. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 17 16:11:37 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 6F45C37B401 for ; Mon, 17 Mar 2003 16:11:36 -0800 (PST) Received: from paiol.terra.com.br (paiol.terra.com.br [200.176.3.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71C2443F75 for ; Mon, 17 Mar 2003 16:11:35 -0800 (PST) (envelope-from trabunix@terra.com.br) Received: from bertioga.terra.com.br (bertioga.terra.com.br [200.176.3.77]) by paiol.terra.com.br (Postfix) with ESMTP id 456767C2CA for ; Mon, 17 Mar 2003 21:11:34 -0300 (BRT) Received: from terra.com.br (meros.terra.com.br [200.176.3.185]) (authenticated user trabunix) by bertioga.terra.com.br (Postfix) with ESMTP id 0B8EB3F8036 for ; Mon, 17 Mar 2003 21:11:34 -0300 (BRT) Date: Mon, 17 Mar 2003 22:11:33 -0200 Message-Id: Subject: =?iso-8859-1?Q?java12._installation_problem?= MIME-Version: 1.0 X-Sensitivity: 3 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable From: "=?iso-8859-1?Q?trabunix?=" To: "=?iso-8859-1?Q?freebsd-java?=" X-XaM3-API-Version: 3.2 R28 (B53 pl3) X-type: 0 X-SenderIP: 200.181.85.31 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 was installing jdk12 and this message appeared:=0D=0A=0D=0A=3D=3D=3D> = Extracting for jdk-1.2.2p11=0D=0A>> Checksum OK for jdk1_2_2-src.tar.gz.=0D= =0A>> Checksum OK for bsd-jdk122-patches-11.tar.gz.=0D=0A=3D=3D=3D> jdk= -1.2.2p11 depends on executable: gm4 - found=0D=0A=3D=3D=3D> jdk-1.2.2p= 11 depends on executable: zip - found=0D=0A=3D=3D=3D> jdk-1.2.2p11 depe= nds on file: /usr/local/jdk1.1.8/bin/javac - found=0D=0A=3D=3D=3D> jdk-= 1.2.2p11 depends on file: /usr/X11R6/lib/libXm.so - not found=0D=0A=3D=3D= =3D> Verifying install for /usr/X11R6/lib/libXm.so in /usr/ports/x11-t= oolkits = /open-motif=0D=0A=3D=3D=3D> Patching for= open-motif-2.2.2_1=0D=0A=3D=3D=3D> Applying FreeBSD patches for open-mo= tif-2.2.2_1=0D=0AIgnoring previously applied (or reversed) patch.=0D=0A1 = out of 1 hunks ignored--saving rejects to Makefile.in.rej=0D=0A>> Patch p= atch-Makefile.in failed to apply cleanly.=0D=0A*** Error code 1=0D=0A=0D=0A= Stop in /usr/ports/x11-toolkits/open-motif.=0D=0A*** Error code 1=0D=0A=0D= =0AStop in /usr/ports/java/jdk12.=0D=0A=0D=0AI followed what the messages= indicated to me to do. But the version of java 1.2.2 at ports is 013 and= at sun's site is 014(linux-sun-java) and I have to do this installation = with NOCHECKSUM=3Dyes. Anyboby can help me ?(I need use the version 1.2) = To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 17 22:37: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 55D3137B404 for ; Mon, 17 Mar 2003 22:37:40 -0800 (PST) Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6427D43FAF for ; Mon, 17 Mar 2003 22:37:39 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr1.xmission.com with spam-scanned (Exim 3.35 #1) id 18vAcW-0008ET-01 for freebsd-java@freebsd.org; Mon, 17 Mar 2003 23:30:44 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.35 #1) id 18vAb2-0007gN-01; Mon, 17 Mar 2003 23:29:13 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id h2I6T8Y04284; Tue, 18 Mar 2003 16:59:08 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 18 Mar 2003 16:59:08 +1030 From: Greg Lewis To: trabunix Cc: freebsd-java Subject: Re: java12. installation problem Message-ID: <20030318165907.A4065@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 trabunix@terra.com.br on Mon, Mar 17, 2003 at 10:11:33PM -0200 X-Spam-Status: No, hits=-3.8 required=8.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, SIGNATURE_SHORT_DENSE,SPAM_PHRASE_02_03,SUPERLONG_LINE, TO_LOCALPART_EQ_REAL,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 Mon, Mar 17, 2003 at 10:11:33PM -0200, trabunix wrote: > I was installing jdk12 and this message appeared: > > ===> Extracting for jdk-1.2.2p11 > >> Checksum OK for jdk1_2_2-src.tar.gz. > >> Checksum OK for bsd-jdk122-patches-11.tar.gz. > ===> jdk-1.2.2p11 depends on executable: gm4 - found > ===> jdk-1.2.2p11 depends on executable: zip - found > ===> jdk-1.2.2p11 depends on file: /usr/local/jdk1.1.8/bin/javac - found > ===> jdk-1.2.2p11 depends on file: /usr/X11R6/lib/libXm.so - not found > ===> Verifying install for /usr/X11R6/lib/libXm.so in /usr/ports/x11-toolkits /open-motif > ===> Patching for open-motif-2.2.2_1 > ===> Applying FreeBSD patches for open-motif-2.2.2_1 > Ignoring previously applied (or reversed) patch. > 1 out of 1 hunks ignored--saving rejects to Makefile.in.rej > >> Patch patch-Makefile.in failed to apply cleanly. > *** Error code 1 > > Stop in /usr/ports/x11-toolkits/open-motif. > *** Error code 1 The error is occurring in x11-toolkits/open-motif not in jdk12. > Stop in /usr/ports/java/jdk12. > > I followed what the messages indicated to me to do. But the version of java 1.2.2 at ports is 013 and at sun's site is 014(linux-sun-java) and I have to do this installation with NOCHECKSUM=yes. Anyboby can help me ?(I need use the version 1.2) -- 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 Tue Mar 18 8:18: 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 6F95437B401 for ; Tue, 18 Mar 2003 08:18:08 -0800 (PST) Received: from ciistr1.ist.utl.pt (ciistr1.ist.utl.pt [193.136.128.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id B1B5643F93 for ; Tue, 18 Mar 2003 08:18:07 -0800 (PST) (envelope-from hununu@netcabo.pt) Received: from dequim.ist.utl.pt (dequim.ist.utl.pt [193.136.165.110]) by ciistr1.ist.utl.pt (Postfix on SuSE Linux 7.1 (Alpha)) with ESMTP id 9C07F48018 for ; Tue, 18 Mar 2003 16:17:47 +0000 (WET) Received: from netcabo.pt (bio98.ist.utl.pt [193.136.165.131]) by dequim.ist.utl.pt (Postfix) with ESMTP id 01BF874F1 for ; Tue, 18 Mar 2003 16:17:45 +0000 (WET) Message-ID: <3E7746BE.3020004@netcabo.pt> Date: Tue, 18 Mar 2003 16:18:06 +0000 From: Bruno Afonso User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030210 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: IDEs 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 Hello, I am very happy to see the advances made with JDK1.4 (I even have it compiled on a 5.0-p4) and I'm waiting for the day that I can work in FreeBSD to program in Java. I would like to know if someone has ported Eclipse or if the project (I read something in the archives) hasn't advanced due to lack of time. Is anyone doing devel work with FreeBSD using java? I suppose people aren't using IDEs. :-) thank you -- Bruno Miguel Afonso Biological Eng Student DEQ,IST - Portugal brunomiguel@dequim.ist.utl.pt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 18 8:22: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 B44F837B404 for ; Tue, 18 Mar 2003 08:22:30 -0800 (PST) Received: from trinity.spray.se (trinity.spray.se [212.78.193.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B95A43F93 for ; Tue, 18 Mar 2003 08:22:29 -0800 (PST) (envelope-from markus.svensson2@spray.se) Received: from tuxdeamon (h251n5c1o1020.bredband.skanova.com [217.209.160.251]) by trinity.spray.se (Postfix) with ESMTP id AD15882F681 for ; Tue, 18 Mar 2003 17:22:26 +0100 (MET) From: "Markus Svensson" To: Subject: Re: IDEs Date: Tue, 18 Mar 2003 17:22:29 +0100 Message-ID: <000201c2ed6a$92341bc0$4119fea9@tuxdeamon> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal 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 >I am very happy to see the advances made with JDK1.4 (I even have it >compiled on a 5.0-p4) and I'm waiting for the day that I can work in >FreeBSD to program in Java. I would like to know if someone has ported >Eclipse or if the project (I read something in the archives) hasn't >advanced due to lack of time. Is anyone doing devel work with FreeBSD >using java? I suppose people aren't using IDEs. :-) I don't know about Eclipse, but I use my FreeBSD 5.0R box for Java dev, using the latest NetBeans release. I don't use the native JDK, though (haven't had time to compile it yet). ;-) >thank you Best Regards, Markus Svensson, -- Here success is written in blood-red colours, designed by the thirst for power. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 18 8:29: 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 3AF8E37B401 for ; Tue, 18 Mar 2003 08:28:59 -0800 (PST) Received: from b.smtp-out.sonic.net (b.smtp-out.sonic.net [208.201.224.39]) by mx1.FreeBSD.org (Postfix) with SMTP id 3F36E43F93 for ; Tue, 18 Mar 2003 08:28:58 -0800 (PST) (envelope-from milo@cyberlifelabs.com) Received: (qmail 16103 invoked from network); 18 Mar 2003 16:28:57 -0000 Received: from sub.sonic.net (208.201.224.8) by b.smtp-out.sonic.net with SMTP; 18 Mar 2003 16:28:57 -0000 Received: from cyberlifelabs.com (adsl-64-142-14-252.sonic.net [64.142.14.252]) by sub.sonic.net (8.11.6/8.8.5) with ESMTP id h2IGSvm20256 for ; Tue, 18 Mar 2003 08:28:57 -0800 X-envelope-info: Message-ID: <3E774948.5000508@cyberlifelabs.com> Date: Tue, 18 Mar 2003 08:28:56 -0800 From: Milo Hyson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2.1) Gecko/20030317 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@FreeBSD.ORG Subject: Re: IDEs References: <3E7746BE.3020004@netcabo.pt> In-Reply-To: <3E7746BE.3020004@netcabo.pt> 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 Bruno Afonso wrote: > Hello, > > I am very happy to see the advances made with JDK1.4 (I even have it > compiled on a 5.0-p4) and I'm waiting for the day that I can work in > FreeBSD to program in Java. I would like to know if someone has ported > Eclipse or if the project (I read something in the archives) hasn't > advanced due to lack of time. Is anyone doing devel work with FreeBSD > using java? I suppose people aren't using IDEs. :-) > I use NetBeans on FreeBSD 4.7 with the Linux 1.3.1 JDK. It's a bit slugish on a 1 GHz Athlon, but it gets the job done and it saves a lot of time over pure hand-coding. -- Milo Hyson CyberLife Labs To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 18 8:41: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 0628437B401 for ; Tue, 18 Mar 2003 08:41:30 -0800 (PST) Received: from mail2.uits.uconn.edu (mail2.uits.uconn.edu [137.99.25.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1220C43F85 for ; Tue, 18 Mar 2003 08:41:29 -0800 (PST) (envelope-from matt@forsetti.com) Received: from [137.99.80.149] (d80h149.public.uconn.edu [137.99.80.149]) by mail2.uits.uconn.edu (8.11.6/8.11.6) with ESMTP id h2IGf6x04407; Tue, 18 Mar 2003 11:41:07 -0500 Subject: Re: IDEs From: Matthew Smith To: Markus Svensson Cc: freebsd-java@FreeBSD.ORG In-Reply-To: <000201c2ed6a$92341bc0$4119fea9@tuxdeamon> References: <000201c2ed6a$92341bc0$4119fea9@tuxdeamon> Content-Type: text/plain Organization: Message-Id: <1048005664.2249.12.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 18 Mar 2003 11:41:04 -0500 Content-Transfer-Encoding: 7bit X-MailScanner: Found to be clean X-MailScanner-SpamCheck: not spam, SpamAssassin (score=-3.8, required 6, AWL, BALANCE_FOR_LONG, IN_REP_TO, QUOTED_EMAIL_TEXT, REFERENCES) 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 Netbeans on Native JDK 1.4 on -STABLE is MUCH faster -- it is now a usable environment! -Matt On Tue, 2003-03-18 at 11:22, Markus Svensson wrote: > >I am very happy to see the advances made with JDK1.4 (I even have it > >compiled on a 5.0-p4) and I'm waiting for the day that I can work in > >FreeBSD to program in Java. I would like to know if someone has ported > >Eclipse or if the project (I read something in the archives) hasn't > >advanced due to lack of time. Is anyone doing devel work with FreeBSD > >using java? I suppose people aren't using IDEs. :-) > > I don't know about Eclipse, but I use my FreeBSD 5.0R box for Java dev, > using the latest NetBeans release. I don't use the native JDK, though > (haven't had time to compile it yet). ;-) > > >thank you > > Best Regards, > Markus Svensson, > > -- > Here success is written in blood-red colours, > designed by the thirst for power. > > > > 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 Tue Mar 18 8:54:17 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 EB70237B404 for ; Tue, 18 Mar 2003 08:54:16 -0800 (PST) Received: from trinity.spray.se (trinity.spray.se [212.78.193.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id DDBE643FA3 for ; Tue, 18 Mar 2003 08:54:15 -0800 (PST) (envelope-from markus.svensson2@spray.se) Received: from tuxdeamon (h251n5c1o1020.bredband.skanova.com [217.209.160.251]) by trinity.spray.se (Postfix) with ESMTP id 1AE0382F722; Tue, 18 Mar 2003 17:54:14 +0100 (MET) From: "Markus Svensson" To: "'Bruno Afonso'" , Subject: RE: IDEs Date: Tue, 18 Mar 2003 17:54:16 +0100 Message-ID: <003001c2ed6f$031b2aa0$4119fea9@tuxdeamon> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <3E774D1A.6030305@dequim.ist.utl.pt> 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 run it on a Athlon XP1800+ with 1Gb RAM, and it's a bit slow, but > > bearable. ;-) > > I run it using Sun-Linux JDK 1.4.1 > > It would be interesting to compare with native JDK :) Perhaps someone on the list knows 'bout this? Performance on emulation vs. native? Best Regards, Markus Svensson, -- Here success is written in blood-red colours, designed by the thirst for power. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 18 9: 4:13 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 E9E8737B404 for ; Tue, 18 Mar 2003 09:04:11 -0800 (PST) Received: from t-mta3.odn.ne.jp (mfep3.odn.ne.jp [143.90.131.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5343743F93 for ; Tue, 18 Mar 2003 09:04:08 -0800 (PST) (envelope-from sugimura@jp.FreeBSD.org) Received: from localhost ([210.197.247.177]) by t-mta3.odn.ne.jp with ESMTP id <20030318170407396.PVZU.3767.t-mta3.odn.ne.jp@mta3.odn.ne.jp>; Wed, 19 Mar 2003 02:04:07 +0900 Date: Wed, 19 Mar 2003 02:06:34 +0900 (JST) Message-Id: <20030319.020634.653277864.sugimura@jp.FreeBSD.org> To: freebsd-java@FreeBSD.ORG Cc: hununu@netcabo.pt Subject: Re: IDEs From: SUGIMURA Takashi =?iso-2022-jp?B?GyRCP3lCPBsoQiAbJEI1LjtOGyhC?= In-Reply-To: <3E7746BE.3020004@netcabo.pt> References: <3E7746BE.3020004@netcabo.pt> X-Mailer: Mew version 3.1 on XEmacs 21.4.12 (Portable Code) Mime-Version: 1.0 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 Hello, >I am very happy to see the advances made with JDK1.4 (I even have it >compiled on a 5.0-p4) and I'm waiting for the day that I can work in >FreeBSD to program in Java. I would like to know if someone has ported >Eclipse or if the project (I read something in the archives) hasn't >advanced due to lack of time. Is anyone doing devel work with FreeBSD >using java? I suppose people aren't using IDEs. :-) > Thanks for Alexander Kabaev, he ported Eclipse for FreeBSD. Last week I tried it and I found it works well. Here are the screenshots. http://yasudakei.org/sugimura/image/eclipse-20030312-1.png http://yasudakei.org/sugimura/image/eclipse-20030312-2.png But I always write codes with XEmacs, so I cannot evaluate it for more details. Just FYI. --- SUGIMURA Takashi http://YasudaKei.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 18 9:13: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 BCFCD37B404 for ; Tue, 18 Mar 2003 09:13:21 -0800 (PST) Received: from ciistr1.ist.utl.pt (ciistr1.ist.utl.pt [193.136.128.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7C7943F75 for ; Tue, 18 Mar 2003 09:13:20 -0800 (PST) (envelope-from hununu@netcabo.pt) Received: from dequim.ist.utl.pt (dequim.ist.utl.pt [193.136.165.110]) by ciistr1.ist.utl.pt (Postfix on SuSE Linux 7.1 (Alpha)) with ESMTP id 7A23448026; Tue, 18 Mar 2003 17:13:19 +0000 (WET) Received: from netcabo.pt (bio98.ist.utl.pt [193.136.165.131]) by dequim.ist.utl.pt (Postfix) with ESMTP id 13DFB74F1; Tue, 18 Mar 2003 17:13:17 +0000 (WET) Message-ID: <3E7753C1.6040702@netcabo.pt> Date: Tue, 18 Mar 2003 17:13:37 +0000 From: Bruno Afonso User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030210 X-Accept-Language: en-us, en MIME-Version: 1.0 To: SUGIMURA Takashi , freebsd-java@freebsd.org Subject: Eclipse port 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 Where can we find more information about the port? -- Bruno Miguel Afonso Biological Eng Student DEQ,IST - Portugal brunomiguel@dequim.ist.utl.pt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 18 9:22: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 0E45F37B401 for ; Tue, 18 Mar 2003 09:22:40 -0800 (PST) Received: from mail2.uits.uconn.edu (mail2.uits.uconn.edu [137.99.25.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72E7743F75 for ; Tue, 18 Mar 2003 09:22:37 -0800 (PST) (envelope-from matt@forsetti.com) Received: from [137.99.80.149] (d80h149.public.uconn.edu [137.99.80.149]) by mail2.uits.uconn.edu (8.11.6/8.11.6) with ESMTP id h2IHMQx23459; Tue, 18 Mar 2003 12:22:26 -0500 Subject: Re: IDEs From: Matt Smith To: Bruno Afonso Cc: freebsd-java@freebsd.org In-Reply-To: <3E774FE4.6050004@dequim.ist.utl.pt> References: <000201c2ed6a$92341bc0$4119fea9@tuxdeamon> <1048005664.2249.12.camel@localhost> <3E774FE4.6050004@dequim.ist.utl.pt> Content-Type: text/plain Organization: Message-Id: <1048008144.2249.18.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 18 Mar 2003 12:22:24 -0500 Content-Transfer-Encoding: 7bit X-MailScanner: Found to be clean X-MailScanner-SpamCheck: not spam, SpamAssassin (score=-3.3, required 6, AWL, BALANCE_FOR_LONG, IN_REP_TO, QUOTED_EMAIL_TEXT, REFERENCES, SIGNATURE_SHORT_DENSE) 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, 2003-03-18 at 11:57, Bruno Afonso wrote: > Matthew Smith wrote: > > Netbeans on Native JDK 1.4 on -STABLE is MUCH faster -- it is now a > > usable environment! > > -Matt > > On Tue, 2003-03-18 at 11:22, Markus Svensson wrote: > > How fast is it now, compared with other C-coded Java IDE (if you have > tried them)? I've always found NetBeans so sluggish.. :| Well, there is no getting around the fact that it is a large app coded in Java. :) But, on my 1.8GHz/512MB, it is pretty speedy now. "Usable" I would say. I liked some of the simple C-coded IDEs, but I haven't found any free/opensource/"in ports collection if possible" that really offer the features of Netbeans, so I really can't compare apples to apples here. If you know of any, let me know, and I will try to compare them. Hope that helps! -Matt -- Matt Smith To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 18 9:41: 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 41DA837B404 for ; Tue, 18 Mar 2003 09:41:07 -0800 (PST) Received: from t-mta3.odn.ne.jp (mfep3.odn.ne.jp [143.90.131.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id 66E5743F93 for ; Tue, 18 Mar 2003 09:41:06 -0800 (PST) (envelope-from sugimura@jp.FreeBSD.org) Received: from localhost ([210.197.247.177]) by t-mta3.odn.ne.jp with ESMTP id <20030318174105951.PXZU.3767.t-mta3.odn.ne.jp@mta3.odn.ne.jp>; Wed, 19 Mar 2003 02:41:05 +0900 Date: Wed, 19 Mar 2003 02:43:33 +0900 (JST) Message-Id: <20030319.024333.336529847.sugimura@jp.FreeBSD.org> To: hununu@netcabo.pt Cc: freebsd-java@freebsd.org Subject: Re: Eclipse port From: SUGIMURA Takashi =?iso-2022-jp?B?GyRCP3lCPBsoQiAbJEI1LjtOGyhC?= In-Reply-To: <3E7753C1.6040702@netcabo.pt> References: <3E7753C1.6040702@netcabo.pt> X-Mailer: Mew version 3.1 on XEmacs 21.4.12 (Portable Code) Mime-Version: 1.0 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 >Where can we find more information about the port? > Please read this thread: http://docs.freebsd.org/cgi/mid.cgi?db=irt&id=20030307173825.76a2bd30.ak03@gte.com # Now in Japan it is midnight, I am going to sleep.. --- SUGIMURA Takashi http://YasudaKei.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 18 10:31: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 F3ECB37B401 for ; Tue, 18 Mar 2003 10:31:17 -0800 (PST) Received: from alicia.nttmcl.com (alicia.nttmcl.com [216.69.69.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A1E843F75 for ; Tue, 18 Mar 2003 10:31:17 -0800 (PST) (envelope-from jj@alicia.nttmcl.com) Received: from alicia.nttmcl.com (localhost [127.0.0.1]) by alicia.nttmcl.com (8.12.5/8.12.5) with ESMTP id h2IIVHvm047294 for ; Tue, 18 Mar 2003 10:31:17 -0800 (PST) (envelope-from jj@alicia.nttmcl.com) Received: (from jj@localhost) by alicia.nttmcl.com (8.12.5/8.12.5/Submit) id h2IIVGsT047293 for freebsd-java@freebsd.org; Tue, 18 Mar 2003 10:31:17 -0800 (PST) Date: Tue, 18 Mar 2003 10:31:16 -0800 From: Shannon -jj Behrens To: freebsd-java@freebsd.org Subject: Signal 11: Function=_XmStrings+0x1B3D Message-ID: <20030318183116.GA47017@alicia.nttmcl.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Hi, I'm getting the following error, and it does not seem to be affected by memory usage, so I doubt that it's bad memory. I know that this port isn't that stable, but it's worked well for me in the past, and I absolutely need 1.4 :-/ Thanks, -jj Yes, dear? uname -a FreeBSD udp.nttmcl.com 4.8-RC2 FreeBSD 4.8-RC2 #0: Sun Mar 16 02:09:14 GMT 2003 root@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/GENERIC i386 Yes, dear? Yes, dear? ls /var/db/pkg/linux* linux-sun-jdk-1.4.1_2 linux_base-6.1_4 Yes, dear? javavm -jar SwingSet2.jar An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x348BFC4A Function=_XmStrings+0x1B3D Library=/usr/local/linux-sun-jdk1.4.1/jre/lib/i386/libawt.so Current Java thread: at sun.awt.motif.MToolkit.loadSystemColors(Native Method) at java.awt.SystemColor.updateSystemColors(SystemColor.java:417) at java.awt.SystemColor.(SystemColor.java:409) at sun.awt.motif.MComponentPeer.pSetBackground(Native Method) at sun.awt.motif.MPanelPeer.setBackground(MPanelPeer.java:69) at sun.awt.motif.MComponentPeer.initialize(MComponentPeer.java:179) at sun.awt.motif.MComponentPeer.init(MComponentPeer.java:225) at sun.awt.motif.MWindowPeer.init(MWindowPeer.java:93) at sun.awt.motif.MFramePeer.(MFramePeer.java:58) at sun.awt.motif.MToolkit.createFrame(MToolkit.java:197) at java.awt.Frame.addNotify(Frame.java:469) - locked <0x2c722300> (a java.awt.Component$AWTTreeLock) at java.awt.Window.pack(Window.java:426) at SwingSet2.createSplashScreen(SwingSet2.java:662) at SwingSet2.(SwingSet2.java:205) at SwingSet2.main(SwingSet2.java:237) Dynamic libraries: Can not get information for pid = 949 Local Time = Tue Mar 18 10:20:41 2003 Elapsed Time = 5 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as /tmp/hs_err_pid949.log. # Please refer to the file for further information. # Abort trap To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 18 11:20:54 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 28A0737B401 for ; Tue, 18 Mar 2003 11:20:53 -0800 (PST) Received: from metafocus.net (cbshost-12-155-142-123.sbcox.net [12.155.142.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A04543F3F for ; Tue, 18 Mar 2003 11:20:52 -0800 (PST) (envelope-from mudman@metafocus.net) Received: from metafocus.net (localhost [127.0.0.1]) by metafocus.net (8.12.8/8.12.6) with ESMTP id h2IJLiwq010422 for ; Tue, 18 Mar 2003 11:21:44 -0800 (PST) (envelope-from mudman@metafocus.net) Received: from localhost (mudman@localhost) by metafocus.net (8.12.8/8.12.6/Submit) with ESMTP id h2IJLiOs010419 for ; Tue, 18 Mar 2003 11:21:44 -0800 (PST) Date: Tue, 18 Mar 2003 11:21:44 -0800 (PST) From: Dave To: freebsd-java@freebsd.org Subject: Java as Root? 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 downloaded JDK 1.4 off of the sunjava website. I had chosen the linux version and my FreeBSD box is all ready to go for linux emu. I run java or javac, and I get a core. I was just about to delete them (I had logged in root now to do the task) and I thought I would invoke them one more time, and to my surprise they executed just fine. Surely it must of been a path criss-cross I thought, but I checked it and I checked it twice, and sure enough, my new JDK 1.4 won't let me run it except as root. I even managed to compile a few test files. Naturally, I'm not about to go developing in root so I decided I'll just use my wife's windows machine for the time being until I can get a lower privileged account to work. What is up with this??? Has anyone else noticed? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 18 11:28:43 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 0CA0A37B401 for ; Tue, 18 Mar 2003 11:28:42 -0800 (PST) Received: from alicia.nttmcl.com (alicia.nttmcl.com [216.69.69.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BD0E43FBD for ; Tue, 18 Mar 2003 11:28:39 -0800 (PST) (envelope-from jj@alicia.nttmcl.com) Received: from alicia.nttmcl.com (localhost [127.0.0.1]) by alicia.nttmcl.com (8.12.5/8.12.5) with ESMTP id h2IJSbvm048392; Tue, 18 Mar 2003 11:28:37 -0800 (PST) (envelope-from jj@alicia.nttmcl.com) Received: (from jj@localhost) by alicia.nttmcl.com (8.12.5/8.12.5/Submit) id h2IJSbhv048391; Tue, 18 Mar 2003 11:28:37 -0800 (PST) Date: Tue, 18 Mar 2003 11:28:37 -0800 From: Shannon -jj Behrens To: Dave Cc: freebsd-java@FreeBSD.ORG Subject: Re: Java as Root? Message-ID: <20030318192837.GA48173@alicia.nttmcl.com> References: 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 There's a PR for this. There's a kernel patch to fix it. However, if I remember right, it's easiest to just make sure you use linux_base-6 instead of 7. Of course, I'm probably getting bugs confused :-/ Best Regards, -jj On Tue, Mar 18, 2003 at 11:21:44AM -0800, Dave wrote: > I downloaded JDK 1.4 off of the sunjava website. I had chosen the linux > version and my FreeBSD box is all ready to go for linux emu. > > I run java or javac, and I get a core. I was just about to delete them (I > had logged in root now to do the task) and I thought I would invoke them > one more time, and to my surprise they executed just fine. Surely it must > of been a path criss-cross I thought, but I checked it and I checked it > twice, and sure enough, my new JDK 1.4 won't let me run it except as root. > I even managed to compile a few test files. > > Naturally, I'm not about to go developing in root so I decided I'll just > use my wife's windows machine for the time being until I can get a lower > privileged account to work. > > What is up with this??? Has anyone else noticed? -- Hacker is to software engineer as Climbing Mt. Everest is to building a Denny's there. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 18 12:26: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 5EC1937B401 for ; Tue, 18 Mar 2003 12:26:21 -0800 (PST) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 49DD043FAF for ; Tue, 18 Mar 2003 12:26:20 -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.8/8.12.8) with ESMTP id h2IKQF4l057045 for ; Wed, 19 Mar 2003 08:26:18 +1200 (NZST) (envelope-from jonc@grimoire.chen.org.nz) Received: (from jonc@localhost) by grimoire.chen.org.nz (8.12.8/8.12.8/Submit) id h2IKQFKs057044 for freebsd-java@freebsd.org; Wed, 19 Mar 2003 08:26:15 +1200 (NZST) Date: Wed, 19 Mar 2003 08:26:15 +1200 From: Jonathan Chen To: freebsd-java@freebsd.org Subject: JDK 1.4.1: Swing warnings Message-ID: <20030318202615.GA56892@grimoire.chen.org.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 I'm running the SwingSet2 demo in /usr/local/jdk1.4.1/demo/jfc/SwingSet2, and I'm getting these warnings: Mar 19, 2003 8:24:18 AM java.util.prefs.FileSystemPreferences$3 run WARNING: Could not create system preferences directory. System preferences are unusable. Mar 19, 2003 8:24:50 AM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode WARNING: Could not lock System prefs.Unix error code 139531924. Mar 19, 2003 8:24:50 AM java.util.prefs.FileSystemPreferences syncWorld WARNING: Couldn't flush system prefs: java.util.prefs.BackingStoreException: Couldn't get file lock. Mar 19, 2003 8:25:20 AM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode WARNING: Could not lock System prefs.Unix error code 139531924. Mar 19, 2003 8:25:20 AM java.util.prefs.FileSystemPreferences syncWorld WARNING: Couldn't flush system prefs: java.util.prefs.BackingStoreException: Couldn't get file lock. Anyone here know what they are and why they're showing up? Cheers. -- Jonathan Chen ---------------------------------------------------------------------- "Lots of folks confuse bad management with destiny" - Kin Hubbard To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 18 18:15: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 4ADFB37B404 for ; Tue, 18 Mar 2003 18:15:35 -0800 (PST) Received: from uhpux01.beacon-it.co.jp (bconns1.beacon-it.co.jp [61.120.53.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87CAE43F3F for ; Tue, 18 Mar 2003 18:15:31 -0800 (PST) (envelope-from westbay@seaple.icc.ne.jp) Received: from seaple.icc.ne.jp (uhvsrv.beacon-it.co.jp [172.22.106.252]) by uhpux01.beacon-it.co.jp (8.9.3/8.9.3) with ESMTP id LAA19954; Wed, 19 Mar 2003 11:28:50 +0900 Date: Wed, 19 Mar 2003 11:15:26 +0900 Subject: Re: IDEs Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v551) Cc: freebsd-java@FreeBSD.ORG To: Bruno Afonso From: Westbay Family In-Reply-To: <3E7746BE.3020004@netcabo.pt> Message-Id: 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 Afonso-san wrote: > I am very happy to see the advances made with JDK1.4 (I even have it > compiled on a 5.0-p4) and I'm waiting for the day that I can work in > FreeBSD to program in Java. I've been programming in Java on FreeBSD since 1998. It's always been possible. > I would like to know if someone has ported Eclipse or if the project > (I read something in the archives) hasn't advanced due to lack of > time. Is anyone doing devel work with FreeBSD using java? I suppose > people aren't using IDEs. While vi and Ant are my two favorite tools, when I turn to an IDE - usually for starting a project or getting to know someone else's code - I use Together J/Together Control Center. It runs just fine on FreeBSD (after tweaking the license thing - I'd sent Together detailed instructions on getting the Licence to work on FreeBSD, but they didn't appear to do anything with it). FreeBSD has long been a great platform for Java development. --- 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 Tue Mar 18 20:40:24 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 80CB437B401 for ; Tue, 18 Mar 2003 20:40:22 -0800 (PST) Received: from ongs.co.jp (ns.ongs.co.jp [202.216.232.58]) by mx1.FreeBSD.org (Postfix) with SMTP id 09E4343F75 for ; Tue, 18 Mar 2003 20:40:16 -0800 (PST) (envelope-from daichi@freebsd.org) Received: (qmail 17059 invoked from network); 19 Mar 2003 04:46:48 -0000 Received: from unknown (HELO parancell.ongs.co.jp) (202.216.232.62) by ns.ongs.co.jp with SMTP; 19 Mar 2003 04:46:48 -0000 Date: Wed, 19 Mar 2003 13:40:19 +0900 From: daichi To: Shannon -jj Behrens Cc: freebsd-java@FreeBSD.ORG Subject: Re: Signal 11: Function=_XmStrings+0x1B3D Message-Id: <20030319134019.1620eff8.daichi@freebsd.org> In-Reply-To: <20030318183116.GA47017@alicia.nttmcl.com> References: <20030318183116.GA47017@alicia.nttmcl.com> Organization: FreeBSD Project X-Mailer: Sylpheed version 0.8.10 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 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 Uhmm, this looks like the same error reported by Sugimura-san and Matsuda-san before. http://docs.freebsd.org/cgi/getmsg.cgi?fetch=353921+0+archive/2003/freebsd-java/20030316.freebsd-java http://docs.freebsd.org/cgi/getmsg.cgi?fetch=358974+0+archive/2003/freebsd-java/20030316.freebsd-java http://docs.freebsd.org/cgi/getmsg.cgi?fetch=429432+0+archive/2003/freebsd-java/20030316.freebsd-java Please try unset XMODIFIERS env variable and set MALLOC_OPTIONS env value to 'aj'. % unset XMODIFIERS % setenv MALLOC_OPTIONS aj % setenv JAVA_HOME /usr/local/jdk1.4.1/ % setenv PATH $JAVA_HOME/bin:$PATH % cd /usr/local/jdk1.4.1/demo/jfc/SwingSet2/ % java -jar SwingSet2.jar > Hi, > > I'm getting the following error, and it does not seem to be affected by > memory usage, so I doubt that it's bad memory. I know that this port isn't > that stable, but it's worked well for me in the past, and I absolutely need > 1.4 :-/ > > Thanks, > -jj > > Yes, dear? uname -a > FreeBSD udp.nttmcl.com 4.8-RC2 FreeBSD 4.8-RC2 #0: Sun Mar 16 02:09:14 GMT 2003 root@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/GENERIC i386 > Yes, dear? Yes, dear? ls /var/db/pkg/linux* > linux-sun-jdk-1.4.1_2 linux_base-6.1_4 > Yes, dear? javavm -jar SwingSet2.jar > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x348BFC4A > Function=_XmStrings+0x1B3D > Library=/usr/local/linux-sun-jdk1.4.1/jre/lib/i386/libawt.so > > Current Java thread: > at sun.awt.motif.MToolkit.loadSystemColors(Native Method) > at java.awt.SystemColor.updateSystemColors(SystemColor.java:417) > at java.awt.SystemColor.(SystemColor.java:409) > at sun.awt.motif.MComponentPeer.pSetBackground(Native Method) > at sun.awt.motif.MPanelPeer.setBackground(MPanelPeer.java:69) > at sun.awt.motif.MComponentPeer.initialize(MComponentPeer.java:179) > at sun.awt.motif.MComponentPeer.init(MComponentPeer.java:225) > at sun.awt.motif.MWindowPeer.init(MWindowPeer.java:93) > at sun.awt.motif.MFramePeer.(MFramePeer.java:58) > at sun.awt.motif.MToolkit.createFrame(MToolkit.java:197) > at java.awt.Frame.addNotify(Frame.java:469) > - locked <0x2c722300> (a java.awt.Component$AWTTreeLock) > at java.awt.Window.pack(Window.java:426) > at SwingSet2.createSplashScreen(SwingSet2.java:662) > at SwingSet2.(SwingSet2.java:205) > at SwingSet2.main(SwingSet2.java:237) > > Dynamic libraries: > Can not get information for pid = 949 > > Local Time = Tue Mar 18 10:20:41 2003 > Elapsed Time = 5 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as /tmp/hs_err_pid949.log. > # Please refer to the file for further information. > # > Abort trap -- daichi@freebsd.org, http://people.freebsd.org/~daichi/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 19 0: 0: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 B6D1E37B404 for ; Wed, 19 Mar 2003 00:00:53 -0800 (PST) Received: from ulysses.noc.ntua.gr (ulysses.noc.ntua.gr [147.102.222.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FB7143FAF for ; Wed, 19 Mar 2003 00:00:51 -0800 (PST) (envelope-from mantzios@softlab.ece.ntua.gr) Received: from theseas.softlab.ece.ntua.gr (theseas.softlab.ece.ntua.gr [147.102.1.1]) by ulysses.noc.ntua.gr (8.11.6/8.11.6) with ESMTP id h2J80mu37421 for ; Wed, 19 Mar 2003 10:00:48 +0200 (EET) Received: from theseas.softlab.ece.ntua.gr (mantzios@localhost [127.0.0.1]) by theseas.softlab.ece.ntua.gr (8.12.3/8.12.3/Debian-6.1) with ESMTP id h2J80nCF012526 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Wed, 19 Mar 2003 10:00:49 +0200 Received: from localhost (mantzios@localhost) by theseas.softlab.ece.ntua.gr (8.12.3/8.12.3/Debian-6.1) with ESMTP id h2J80lOv012522 for ; Wed, 19 Mar 2003 10:00:48 +0200 X-Authentication-Warning: theseas.softlab.ece.ntua.gr: mantzios owned process doing -bs Date: Wed, 19 Mar 2003 10:00:47 +0200 (EET) From: Mantzios Achilleus To: freebsd-java@FreeBSD.ORG Subject: JAI for FreeBSD 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 is there a port?? ---------------------------------------------------------------- | go to the source -> http://www.softlab.ece.ntua.gr/~mantzios | ---------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 19 0:12:16 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 7C30837B404 for ; Wed, 19 Mar 2003 00:12:15 -0800 (PST) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id E0A5C43F3F for ; Wed, 19 Mar 2003 00:12:13 -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 h2J8CT9c018698; Wed, 19 Mar 2003 09:12:29 +0100 (CET) (envelope-from ernst@zaphod.euronet.nl) Received: (from ernst@localhost) by zaphod.euronet.nl (8.12.6/8.12.6/Submit) id h2J8CRh5018329; Wed, 19 Mar 2003 09:12:27 +0100 (CET) From: Ernst de Haan Organization: Wanadoo Nederland B.V. To: Mantzios Achilleus , freebsd-java@FreeBSD.ORG Subject: Re: JAI for FreeBSD Date: Wed, 19 Mar 2003 09:12:26 +0100 User-Agent: KMail/1.5 References: In-Reply-To: X-Address: Muiderstraat 1, Amsterdam, Netherlands MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200303190912.26501.ernst.dehaan@nl.wanadoo.com> 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 Wednesday 19 March 2003 09:00, Mantzios Achilleus wrote: > is there a port?? What is JAI ? Ernst To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 19 0:17:49 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 1CBF837B404 for ; Wed, 19 Mar 2003 00:17:48 -0800 (PST) Received: from ulysses.noc.ntua.gr (ulysses.noc.ntua.gr [147.102.222.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5190543F3F for ; Wed, 19 Mar 2003 00:17:46 -0800 (PST) (envelope-from mantzios@softlab.ece.ntua.gr) Received: from theseas.softlab.ece.ntua.gr (theseas.softlab.ece.ntua.gr [147.102.1.1]) by ulysses.noc.ntua.gr (8.11.6/8.11.6) with ESMTP id h2J8Hgu40136; Wed, 19 Mar 2003 10:17:42 +0200 (EET) Received: from theseas.softlab.ece.ntua.gr (mantzios@localhost [127.0.0.1]) by theseas.softlab.ece.ntua.gr (8.12.3/8.12.3/Debian-6.1) with ESMTP id h2J8HgCF013374 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Wed, 19 Mar 2003 10:17:42 +0200 Received: from localhost (mantzios@localhost) by theseas.softlab.ece.ntua.gr (8.12.3/8.12.3/Debian-6.1) with ESMTP id h2J8HfTv013370; Wed, 19 Mar 2003 10:17:41 +0200 X-Authentication-Warning: theseas.softlab.ece.ntua.gr: mantzios owned process doing -bs Date: Wed, 19 Mar 2003 10:17:41 +0200 (EET) From: Mantzios Achilleus To: Ernst de Haan Cc: freebsd-java@FreeBSD.ORG Subject: Re: JAI for FreeBSD In-Reply-To: <200303190912.26501.ernst.dehaan@nl.wanadoo.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 On Wed, 19 Mar 2003, Ernst de Haan wrote: > On Wednesday 19 March 2003 09:00, Mantzios Achilleus wrote: > > is there a port?? > > What is JAI ? JAI stands for "Java Advanced Imaging", have a look at: http://www.blackdown.org/java-linux/java2-status/jai-status.html http://java.sun.com/products/java-media/jai/ > > Ernst > ---------------------------------------------------------------- | go to the source -> http://www.softlab.ece.ntua.gr/~mantzios | ---------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 19 0:27: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 E6CBC37B401 for ; Wed, 19 Mar 2003 00:27:46 -0800 (PST) Received: from ulysses.noc.ntua.gr (ulysses.noc.ntua.gr [147.102.222.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 725F543F75 for ; Wed, 19 Mar 2003 00:27:45 -0800 (PST) (envelope-from mantzios@softlab.ece.ntua.gr) Received: from theseas.softlab.ece.ntua.gr (theseas.softlab.ece.ntua.gr [147.102.1.1]) by ulysses.noc.ntua.gr (8.11.6/8.11.6) with ESMTP id h2J8Riu41017 for ; Wed, 19 Mar 2003 10:27:44 +0200 (EET) Received: from theseas.softlab.ece.ntua.gr (mantzios@localhost [127.0.0.1]) by theseas.softlab.ece.ntua.gr (8.12.3/8.12.3/Debian-6.1) with ESMTP id h2J8RiCF013943 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Wed, 19 Mar 2003 10:27:44 +0200 Received: from localhost (mantzios@localhost) by theseas.softlab.ece.ntua.gr (8.12.3/8.12.3/Debian-6.1) with ESMTP id h2J8RhC1013939 for ; Wed, 19 Mar 2003 10:27:43 +0200 X-Authentication-Warning: theseas.softlab.ece.ntua.gr: mantzios owned process doing -bs Date: Wed, 19 Mar 2003 10:27:43 +0200 (EET) From: Mantzios Achilleus To: freebsd-java@FreeBSD.ORG Subject: Native JDK 1.4.1 + Jboss SUCCESS!! 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 on my 4.8-RC #0, with native jdk 1.4.1-p3, i successfully run my jboss 3.0.3 app (with various ejbs, headless awt, servlets, jsps, jdbc, ldap, etc..) I didnt do any benchmarks yet against 1.4.1 blackdown on linux, but the whole thing seems really promising. Well done ! ---------------------------------------------------------------- | go to the source -> http://www.softlab.ece.ntua.gr/~mantzios | ---------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 19 0:50: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 1FC1937B404 for ; Wed, 19 Mar 2003 00:50:21 -0800 (PST) Received: from diomedes.noc.ntua.gr (diomedes.noc.ntua.gr [147.102.222.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id C87D643F93 for ; Wed, 19 Mar 2003 00:50:18 -0800 (PST) (envelope-from past@netmode.ntua.gr) Received: from ajax.noc.ntua.gr (ajax.noc.ntua.gr [147.102.220.1]) by diomedes.noc.ntua.gr (8.11.6/8.11.6) with ESMTP id h2J8oFc88366; Wed, 19 Mar 2003 10:50:17 +0200 (EET) Received: from hal.noc.ntua.gr (hal.noc.ntua.gr [147.102.220.45]) by ajax.noc.ntua.gr (8.12.6/8.12.6) with ESMTP id h2J8oFjm060365; Wed, 19 Mar 2003 10:50:15 +0200 (EET) (envelope-from past@netmode.ntua.gr) From: Panagiotis Astithas Organization: NTUA/NMC To: Mantzios Achilleus , Ernst de Haan Subject: Re: JAI for FreeBSD Date: Wed, 19 Mar 2003 10:50:15 +0200 User-Agent: KMail/1.5 Cc: freebsd-java@FreeBSD.ORG References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200303191050.15324.past@netmode.ntua.gr> 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 Wednesday 19 March 2003 10:17, Mantzios Achilleus wrote: > On Wed, 19 Mar 2003, Ernst de Haan wrote: > > On Wednesday 19 March 2003 09:00, Mantzios Achilleus wrote: > > > is there a port?? From the FAQ: Will the source code for the Java Advanced Imaging API be made available? The source code for the Java Advanced Imaging (JAI) API is not generally available. If you wish to purchase the source code for JAI, please contact your Sun sales representative. Is the Java Advanced Imaging API 100% pure Java? The Java Advanced Imaging API may be run without any native code, i.e., without the code which provides native acceleration. When run in this manner, the Java Advanced Imaging API uses only Java code. However, the Java Advanced Imaging API has not yet been certified as meeting the requirements of the "100% Pure Java" Program per se. So I'd say you just toss the jars in jre/lib/ext and get going. Of course I haven't done this myself, so YMMV, but anyway... Cheers, -- Panagiotis Astithas Electrical & Computer Engineer, PhD Network Management Center National Technical University of Athens, Greece To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 19 1: 2: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 74FA737B401 for ; Wed, 19 Mar 2003 01:02:18 -0800 (PST) Received: from ulysses.noc.ntua.gr (ulysses.noc.ntua.gr [147.102.222.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA9D643F93 for ; Wed, 19 Mar 2003 01:02:16 -0800 (PST) (envelope-from mantzios@softlab.ece.ntua.gr) Received: from theseas.softlab.ece.ntua.gr (theseas.softlab.ece.ntua.gr [147.102.1.1]) by ulysses.noc.ntua.gr (8.11.6/8.11.6) with ESMTP id h2J92Eu44224; Wed, 19 Mar 2003 11:02:14 +0200 (EET) Received: from theseas.softlab.ece.ntua.gr (mantzios@localhost [127.0.0.1]) by theseas.softlab.ece.ntua.gr (8.12.3/8.12.3/Debian-6.1) with ESMTP id h2J92DCF015696 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Wed, 19 Mar 2003 11:02:13 +0200 Received: from localhost (mantzios@localhost) by theseas.softlab.ece.ntua.gr (8.12.3/8.12.3/Debian-6.1) with ESMTP id h2J92CSC015692; Wed, 19 Mar 2003 11:02:12 +0200 X-Authentication-Warning: theseas.softlab.ece.ntua.gr: mantzios owned process doing -bs Date: Wed, 19 Mar 2003 11:02:12 +0200 (EET) From: Mantzios Achilleus To: Panagiotis Astithas Cc: Ernst de Haan , Subject: Re: JAI for FreeBSD In-Reply-To: <200303191050.15324.past@netmode.ntua.gr> 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 On Wed, 19 Mar 2003, Panagiotis Astithas wrote: > On Wednesday 19 March 2003 10:17, Mantzios Achilleus wrote: > > On Wed, 19 Mar 2003, Ernst de Haan wrote: > > > On Wednesday 19 March 2003 09:00, Mantzios Achilleus wrote: > > > > is there a port?? > > >From the FAQ: > > Will the source code for the Java Advanced Imaging API be made available? > > The source code for the Java Advanced Imaging (JAI) API is not generally > available. If you wish to purchase the source code for JAI, please contact > your Sun sales representative. Wx! Aman! (Ouch!) > > Is the Java Advanced Imaging API 100% pure Java? > > The Java Advanced Imaging API may be run without any native code, i.e., > without the code which provides native acceleration. When run in this manner, > the Java Advanced Imaging API uses only Java code. However, the Java Advanced > Imaging API has not yet been certified as meeting the requirements of the > "100% Pure Java" Program per se. I never came across the pure/native option as far as JAI is concerned. However, > So I'd say you just toss the jars in jre/lib/ext and get going. Of course I > haven't done this myself, so YMMV, but anyway... just putting jars, .so's in jre/lib/ext, jre/lib/i386 did the job, also i dont see the .so to be used, so i guess i goes native all the way. > > Cheers, > -- > Panagiotis Astithas > Electrical & Computer Engineer, PhD > Network Management Center > National Technical University of Athens, Greece > ---------------------------------------------------------------- | go to the source -> http://www.softlab.ece.ntua.gr/~mantzios | ---------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 19 1:10:18 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 E530B37B401 for ; Wed, 19 Mar 2003 01:10:16 -0800 (PST) Received: from beavis.abacus.co.uk (beavis.abacus.co.uk [212.137.18.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2526443F3F for ; Wed, 19 Mar 2003 01:10:15 -0800 (PST) (envelope-from antony@abacus.co.uk) Received: from mailgate.abacus.co.uk (smtp [212.137.18.217]) by beavis.abacus.co.uk (8.12.8/8.12.8) with ESMTP id h2J9ADE3067458 for ; Wed, 19 Mar 2003 09:10:13 GMT (envelope-from antony@abacus.co.uk) Received: from dhcp-bl71.abacus.co.uk (dhcp-bl71.abacus.co.uk [192.168.99.71]) by mailgate.abacus.co.uk (8.9.3/8.9.3) with ESMTP id JAA12583; Wed, 19 Mar 2003 09:10:14 GMT Content-Type: text/plain; charset="iso-8859-1" From: Antony T Curtis To: Mantzios Achilleus , freebsd-java@FreeBSD.ORG Subject: Re: Native JDK 1.4.1 + Jboss SUCCESS!! Date: Wed, 19 Mar 2003 09:10:12 +0000 User-Agent: KMail/1.4.3 References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200303190910.12742.antony@abacus.co.uk> 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 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 19 Mar 2003 8:27 am, Mantzios Achilleus wrote: > on my 4.8-RC #0, with native jdk 1.4.1-p3, > i successfully run my jboss 3.0.3 app > (with various ejbs, headless awt, servlets, jsps, jdbc, ldap, etc..) > > I didnt do any benchmarks yet against 1.4.1 blackdown on linux, > but the whole thing seems really promising. > > Well done ! Over here, we are successfully running Tomcat and OpenNMS on JDK 1.4.1 p3= =2E.. The only problem experienced is that a class in sun.nio.ch needed to be=20 modified to only instantiate the PollSelector class instead of DevPoll... If the JNI code for kqueue is written for DevPoll... that would be a good= =20 thing. - --=20 ANTONY T CURTIS Tel: +44 (1635) 36222 Abacus Polar Holdings Ltd Fax: +44 (1635) 38670 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+eDP0A98IbJ8osCYRAoMLAJ4ww7r1rDIeb3chZqvwoLheNg4CFACeLVY+ lZfaZZlAW2h90xztv7VS0w8=3D =3DjUWu -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 19 2: 1: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 9952F37B401; Wed, 19 Mar 2003 02:01:42 -0800 (PST) Received: from ulysses.noc.ntua.gr (ulysses.noc.ntua.gr [147.102.222.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id A966843FAF; Wed, 19 Mar 2003 02:01:40 -0800 (PST) (envelope-from mantzios@softlab.ece.ntua.gr) Received: from theseas.softlab.ece.ntua.gr (theseas.softlab.ece.ntua.gr [147.102.1.1]) by ulysses.noc.ntua.gr (8.11.6/8.11.6) with ESMTP id h2JA1cu79926; Wed, 19 Mar 2003 12:01:38 +0200 (EET) Received: from theseas.softlab.ece.ntua.gr (mantzios@localhost [127.0.0.1]) by theseas.softlab.ece.ntua.gr (8.12.3/8.12.3/Debian-6.1) with ESMTP id h2JA1cCF019058 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Wed, 19 Mar 2003 12:01:38 +0200 Received: from localhost (mantzios@localhost) by theseas.softlab.ece.ntua.gr (8.12.3/8.12.3/Debian-6.1) with ESMTP id h2JA1bT7019053; Wed, 19 Mar 2003 12:01:37 +0200 X-Authentication-Warning: theseas.softlab.ece.ntua.gr: mantzios owned process doing -bs Date: Wed, 19 Mar 2003 12:01:37 +0200 (EET) From: Mantzios Achilleus To: freebsd-stable@FreeBSD.ORG Cc: freebsd-java@FreeBSD.ORG Subject: Resolution of Fatal trap 12: page fault while in kernel mode 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 Hi, by building a kernel based on GENERIC conf the kernel traps went away. I attach the diff here diff /usr/src/sys/i386/conf/ACHIX /usr/src/sys/i386/conf/GENERIC > cpu I386_CPU > cpu I486_CPU > cpu I586_CPU 22,23c25,26 < ident ACHIX < maxusers 128 --- > ident GENERIC > maxusers 0 43c46 < options SCSI_DELAY=1000 #Delay (in ms) before probing SCSI --- > options SCSI_DELAY=15000 #Delay (in ms) before probing SCSI 53c56 < options ICMP_BANDLIM #Rate limit bad replies --- > options ICMP_BANDLIM #Rate limit bad replies 54a58,61 > options AHC_REG_PRETTY_PRINT # Print register bitfields in debug > # output. Adds ~128k to driver. > options AHD_REG_PRETTY_PRINT # Print register bitfields in debug > # output. Adds ~215k to driver. 85a93 > device ahd # AHA39320/29320 and onboard AIC79xx devices 87a96 > device mpt # LSI-Logic MPT/Fusion 90c99 < options SYM_SETUP_LP_PROBE_MAP=0x40 --- > options SYM_SETUP_LP_PROBE_MAP=0x40 114c123 < device iir # Intel Integrated RAID --- > device iir # Intel Integrated RAID 120c129 < device aacp # SCSI passthrough for aac (requires CAM) --- > #device aacp # SCSI passthrough for aac (requires CAM) 145a155,156 > device agp # support several AGP chipsets > I cant see any evil lines on my ACHIX conf. However ACHIX conf used to work robustly back in 4.7 ---------------------------------------------------------------- | go to the source -> http://www.softlab.ece.ntua.gr/~mantzios | ---------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 19 2:59: 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 4FB9B37B401; Wed, 19 Mar 2003 02:59:06 -0800 (PST) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B51343F93; Wed, 19 Mar 2003 02:59:05 -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 h2JAxL9c011662; Wed, 19 Mar 2003 11:59:21 +0100 (CET) (envelope-from ernst@zaphod.euronet.nl) Received: (from ernst@localhost) by zaphod.euronet.nl (8.12.6/8.12.6/Submit) id h2JAxKse011661; Wed, 19 Mar 2003 11:59:20 +0100 (CET) From: Ernst de Haan Organization: Wanadoo Nederland B.V. To: Mantzios Achilleus , freebsd-stable@FreeBSD.ORG Subject: Re: Resolution of Fatal trap 12: page fault while in kernel mode Date: Wed, 19 Mar 2003 11:59:20 +0100 User-Agent: KMail/1.5 Cc: freebsd-java@FreeBSD.ORG References: In-Reply-To: X-Address: Muiderstraat 1, Amsterdam, Netherlands MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200303191159.20621.ernst.dehaan@nl.wanadoo.com> 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 The most obvious possibility seems to be 'maxusers 0'.... Ernst On Wednesday 19 March 2003 11:01, Mantzios Achilleus wrote: > Hi, > by building a kernel based on GENERIC conf > the kernel traps went away. > I attach the diff here > diff /usr/src/sys/i386/conf/ACHIX /usr/src/sys/i386/conf/GENERIC > > > cpu I386_CPU > > cpu I486_CPU > > cpu I586_CPU > > 22,23c25,26 > < ident ACHIX > < maxusers 128 > --- > > > ident GENERIC > > maxusers 0 > > 43c46 > < options SCSI_DELAY=1000 #Delay (in ms) before probing SCSI > --- > > > options SCSI_DELAY=15000 #Delay (in ms) before probing > > SCSI > > 53c56 > < options ICMP_BANDLIM #Rate limit bad replies > --- > > > options ICMP_BANDLIM #Rate limit bad replies > > 54a58,61 > > > options AHC_REG_PRETTY_PRINT # Print register bitfields in > > debug > > > # output. Adds ~128k to driver. > > options AHD_REG_PRETTY_PRINT # Print register bitfields in > > debug > > > # output. Adds ~215k to driver. > > 85a93 > > > device ahd # AHA39320/29320 and onboard > > AIC79xx devices > 87a96 > > > device mpt # LSI-Logic MPT/Fusion > > 90c99 > < options SYM_SETUP_LP_PROBE_MAP=0x40 > --- > > > options SYM_SETUP_LP_PROBE_MAP=0x40 > > 114c123 > < device iir # Intel Integrated RAID > --- > > > device iir # Intel Integrated RAID > > 120c129 > < device aacp # SCSI passthrough for aac > (requires CAM) > --- > > > #device aacp # SCSI passthrough for aac > > (requires CAM) > 145a155,156 > > > device agp # support several AGP chipsets > > I cant see any evil lines on my ACHIX conf. > However ACHIX conf used to work robustly back in 4.7 > > ---------------------------------------------------------------- > > | go to the source -> http://www.softlab.ece.ntua.gr/~mantzios | > > ---------------------------------------------------------------- > > > 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 Mar 19 6: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 CA4C537B401; Wed, 19 Mar 2003 06:57:27 -0800 (PST) Received: from mailgw.cscoms.com (mailgw.cscoms.com [202.183.255.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 52EC243F93; Wed, 19 Mar 2003 06:57:26 -0800 (PST) (envelope-from wowwwhealthy@thaimail.com) Received: from cscoms.com (mail.cscoms.com [202.183.255.23]) by mailgw.cscoms.com (8.12.8/8.12.3) with ESMTP id h2JEv0il004734; Wed, 19 Mar 2003 21:57:00 +0700 (ICT) Received: from ME (dial-255.ras-7.bkk.c.cscoms.com [203.170.141.193]) by cscoms.com (8.12.8/8.12.3) with SMTP id h2JEqlwo000955; Wed, 19 Mar 2003 21:52:48 +0700 (GMT) Date: Wed, 19 Mar 2003 21:52:47 +0700 (GMT) Message-Id: <200303191452.h2JEqlwo000955@cscoms.com> From: wowwwhealthy@thaimail.com Subject: ท่านทราบหรือไม่ว่าคนอ้วนจะเสี่ยงต่อการเป็นเบาหวานมากกว่าคนน้ำหนักปกติถึง 30 เท่า X-Priority: 1 (Highest) Reply-To: wowwwhealthy@thaimail.com X-Mailer: Microsoft Outlook Express 5.00.2615.200 MIME-Version: 1.0 Content-type: multipart/mixed; boundary="#MYBOUNDARY#" X-Virus-Scanned: by amavisd-milter (http://amavis.org/) To: undisclosed-recipients: ; 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 --#MYBOUNDARY# Content-Type: text/plain; charset=ansi Content-Transfer-Encoding: 8bit คนไทยกำลังเป็นโรคอ้วนมากขึ้นทุกที พ.อ.หญิง รศ. พ.ญ. พรฑิตา ชัยอำนวย ผู้อำนวยการเวชศาสตร์ฟื้นฟู โรงพยาบาลพระมงกุฏเกล้า บรรยายเรื่อง "กินอย่างไรให้ห่างไกลโรคหัวใจและโรคอ้วน" ในตอนหนึ่งของการบรรยาย ผู้บรรยายกล่าวว่า "สิ่งที่พึงตระหนักคือ ผู้ชายไม่ควรให้รอบเอวเกิน 36 นิ้ว หญิงไม่ควรเกิน 32 นิ้ว ถ้ามากกว่านี้ต้องเร่งลดน้ำหนัก" เพราะถ้าหากท่านวัดรอบเอวแล้วได้ตัวเลขเกินกว่ามาตราฐานนี้ แสดงว่าท่านกำลังเป็นโรคอ้วน คนเป็นโรคอ้วนมีความเสี่ยงที่จะต้อง พบกับโรคร้ายต่างๆ มากมาย นับตั้งแต่ โรคหัวใจ เบาหวาน ไขมันในเลือดสูง ความดันโลหิตสูง อัมพาต และท่านอาจจะหยุดหายใจขณะหลับ จนเกิดภาวะพร่องออกซิเจน ตื่นนอนจะมีอาการมึน เป็นต้อหินง่ายเนื่องจากเลือดขาดออกซิเจน เป็นโรคข้อ เพราะแบกรับน้ำหนักมาก เป็นเกาต์ มะเร็ง นิ่วในถุงน้ำดี มีลูกยาก โรคเกี่ยวกับระบบหายใจ โรคถุงน้ำดี ท่านทราบหรือไม่ว่าคนอ้วนจะเสี่ยงต่อการเป็นเบาหวานมากกว่าคนน้ำหนักปกติถึง 30 เท่า เสี่ยงเป็นโรคหลอดเลือดหัวใจตีบกว่าคนทั่วไป 15 เท่า โรคอัมพาต 11 เท่า โรคมะเร็งลำไส้ 2 เท่า คนเป็นโรคอ้วนเป็นโรคร้ายตายง่ายอย่างนี้ถ้าไม่เรียกคนที่มีรอบเอวเกินมาตราฐานว่า รอบเอวมรณะ แล้วจะเรียกว่าอะไรล่ะครับ วิธีถอดห่วงยาง (ลดเอว) คุณหมอบอกว่า วิธีรักษาโรคอ้วนสามารถทำได้ด้วยการควบคุมแคลอรีของอาหารที่รับประทาน คือพยายามให้ลดลงวันละ 600 แคลอรี ซึ่งภายใน 7 วันท่านจะสามารถลดน้ำหนักได้0.6 กิโลกรัม เพราะไขมัน 1 กิโลกรัม เท่ากับ 7,000 แคลอรี ประการที่สำคัญ ต้องออกกำลังกายอย่างสม่ำเสมอทุกวันครับ อย่างน้อย 20 นาที ถ้าออกกำลังกายได้ 60 นาทีจะยิ่งเป็นผลดี คุณหมอบอกว่าเราควรให้สนใจใฝ่ศึกษาหาความรู้ด้านโภชนาการให้มาก ๆ คือให้ศึกษาว่าอาหารชนิดไหนให้พลังงานน้อย พลังมากแค่ไหน และ ควรสร้างความสุขที่ได้บริโภคอาหารไขมันต่ำ ๆ ในการรับประทานอาหารควรเคี้ยวให้ช้าๆ จะรู้สึกอิ่มทั้งๆ ที่บริโภคน้อย อ้อ ! budpage แนะนำว่าท่านควรซื้อสายวัดมาเก็บไว้สักเส้นนะครับ ทุก ๆ เช้าคอยวัดเอวตัวเอง และควรจดบันทึกเป็นสถิติไว้ทุกวันด้วย สนุกดีครับ อีกทั้งยังเป็นการท้าทายให้เรามีความตื่นตัวที่จะลดความอ้วนอยู่เสมออีกด้วย สุดท้ายนี้ขอให้ทุก ๆ ท่านมีรอบเอวในระดับมาตราฐานที่ปลอดภัยกันทุก ๆ ท่านนะครับ (จบบทความนี้ เวบมาสเตอร์ คงขอตัวไปซื้อสายวัดมาควบคุมน้ำหนักด้วยคนนะครับ สวัสดี ) ขอเชิญชาวพุทธมาช่วยกันระดมความคิดในหัวข้อ "วิธีออกกำลังกายให้สนุก" ลองมาดูกันว่าใครจะมีวิธีการเด็ดๆ ที่จะทำให้คนอ้วนอยากออกกำลังกายโดยไม่ฝืนใจกันบ้าง แล้วพบกันใหม่กับเอกสารสาระที่มีประโยชน์ฉบับหน้าค่ะ ***************************************************************** ถ้าท่านต้องการข้อมูลที่มีประโยชน์ในด้านโภชนาการเพื่อสุขภาพที่แข็งแรง หรือต้องการลดน้ำหนักโดยวิธีธรรมชาติ สามารถขอข้อมูลได้จาก ... http://www.geocities.com/healthclub999/easythin ***************************************************************** หากไม่ต้องการรับข้อมูลข่าวสารอีก กรุณาเข้าไปแจ้งที่ www.unsubhealthclub.web1000.com --#MYBOUNDARY#-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 19 7: 6:24 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 C687C37B401; Wed, 19 Mar 2003 07:06:21 -0800 (PST) Received: from mailgw.cscoms.com (mailgw.cscoms.com [202.183.255.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D51F44030; Wed, 19 Mar 2003 07:05:39 -0800 (PST) (envelope-from wowwwhealthy@thaimail.com) Received: from cscoms.com (mail.cscoms.com [202.183.255.23]) by mailgw.cscoms.com (8.12.8/8.12.3) with ESMTP id h2JEuril004627; Wed, 19 Mar 2003 21:56:53 +0700 (ICT) Received: from ME (dial-255.ras-7.bkk.c.cscoms.com [203.170.141.193]) by cscoms.com (8.12.8/8.12.3) with SMTP id h2JEqmwo000964; Wed, 19 Mar 2003 21:52:49 +0700 (GMT) Date: Wed, 19 Mar 2003 21:52:48 +0700 (GMT) Message-Id: <200303191452.h2JEqmwo000964@cscoms.com> From: wowwwhealthy@thaimail.com Subject: ท่านทราบหรือไม่ว่าคนอ้วนจะเสี่ยงต่อการเป็นเบาหวานมากกว่าคนน้ำหนักปกติถึง 30 เท่า X-Priority: 1 (Highest) Reply-To: wowwwhealthy@thaimail.com X-Mailer: Microsoft Outlook Express 5.00.2615.200 MIME-Version: 1.0 Content-type: multipart/mixed; boundary="#MYBOUNDARY#" X-Virus-Scanned: by amavisd-milter (http://amavis.org/) To: undisclosed-recipients: ; 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 --#MYBOUNDARY# Content-Type: text/plain; charset=ansi Content-Transfer-Encoding: 8bit คนไทยกำลังเป็นโรคอ้วนมากขึ้นทุกที พ.อ.หญิง รศ. พ.ญ. พรฑิตา ชัยอำนวย ผู้อำนวยการเวชศาสตร์ฟื้นฟู โรงพยาบาลพระมงกุฏเกล้า บรรยายเรื่อง "กินอย่างไรให้ห่างไกลโรคหัวใจและโรคอ้วน" ในตอนหนึ่งของการบรรยาย ผู้บรรยายกล่าวว่า "สิ่งที่พึงตระหนักคือ ผู้ชายไม่ควรให้รอบเอวเกิน 36 นิ้ว หญิงไม่ควรเกิน 32 นิ้ว ถ้ามากกว่านี้ต้องเร่งลดน้ำหนัก" เพราะถ้าหากท่านวัดรอบเอวแล้วได้ตัวเลขเกินกว่ามาตราฐานนี้ แสดงว่าท่านกำลังเป็นโรคอ้วน คนเป็นโรคอ้วนมีความเสี่ยงที่จะต้อง พบกับโรคร้ายต่างๆ มากมาย นับตั้งแต่ โรคหัวใจ เบาหวาน ไขมันในเลือดสูง ความดันโลหิตสูง อัมพาต และท่านอาจจะหยุดหายใจขณะหลับ จนเกิดภาวะพร่องออกซิเจน ตื่นนอนจะมีอาการมึน เป็นต้อหินง่ายเนื่องจากเลือดขาดออกซิเจน เป็นโรคข้อ เพราะแบกรับน้ำหนักมาก เป็นเกาต์ มะเร็ง นิ่วในถุงน้ำดี มีลูกยาก โรคเกี่ยวกับระบบหายใจ โรคถุงน้ำดี ท่านทราบหรือไม่ว่าคนอ้วนจะเสี่ยงต่อการเป็นเบาหวานมากกว่าคนน้ำหนักปกติถึง 30 เท่า เสี่ยงเป็นโรคหลอดเลือดหัวใจตีบกว่าคนทั่วไป 15 เท่า โรคอัมพาต 11 เท่า โรคมะเร็งลำไส้ 2 เท่า คนเป็นโรคอ้วนเป็นโรคร้ายตายง่ายอย่างนี้ถ้าไม่เรียกคนที่มีรอบเอวเกินมาตราฐานว่า รอบเอวมรณะ แล้วจะเรียกว่าอะไรล่ะครับ วิธีถอดห่วงยาง (ลดเอว) คุณหมอบอกว่า วิธีรักษาโรคอ้วนสามารถทำได้ด้วยการควบคุมแคลอรีของอาหารที่รับประทาน คือพยายามให้ลดลงวันละ 600 แคลอรี ซึ่งภายใน 7 วันท่านจะสามารถลดน้ำหนักได้0.6 กิโลกรัม เพราะไขมัน 1 กิโลกรัม เท่ากับ 7,000 แคลอรี ประการที่สำคัญ ต้องออกกำลังกายอย่างสม่ำเสมอทุกวันครับ อย่างน้อย 20 นาที ถ้าออกกำลังกายได้ 60 นาทีจะยิ่งเป็นผลดี คุณหมอบอกว่าเราควรให้สนใจใฝ่ศึกษาหาความรู้ด้านโภชนาการให้มาก ๆ คือให้ศึกษาว่าอาหารชนิดไหนให้พลังงานน้อย พลังมากแค่ไหน และ ควรสร้างความสุขที่ได้บริโภคอาหารไขมันต่ำ ๆ ในการรับประทานอาหารควรเคี้ยวให้ช้าๆ จะรู้สึกอิ่มทั้งๆ ที่บริโภคน้อย อ้อ ! budpage แนะนำว่าท่านควรซื้อสายวัดมาเก็บไว้สักเส้นนะครับ ทุก ๆ เช้าคอยวัดเอวตัวเอง และควรจดบันทึกเป็นสถิติไว้ทุกวันด้วย สนุกดีครับ อีกทั้งยังเป็นการท้าทายให้เรามีความตื่นตัวที่จะลดความอ้วนอยู่เสมออีกด้วย สุดท้ายนี้ขอให้ทุก ๆ ท่านมีรอบเอวในระดับมาตราฐานที่ปลอดภัยกันทุก ๆ ท่านนะครับ (จบบทความนี้ เวบมาสเตอร์ คงขอตัวไปซื้อสายวัดมาควบคุมน้ำหนักด้วยคนนะครับ สวัสดี ) ขอเชิญชาวพุทธมาช่วยกันระดมความคิดในหัวข้อ "วิธีออกกำลังกายให้สนุก" ลองมาดูกันว่าใครจะมีวิธีการเด็ดๆ ที่จะทำให้คนอ้วนอยากออกกำลังกายโดยไม่ฝืนใจกันบ้าง แล้วพบกันใหม่กับเอกสารสาระที่มีประโยชน์ฉบับหน้าค่ะ ***************************************************************** ถ้าท่านต้องการข้อมูลที่มีประโยชน์ในด้านโภชนาการเพื่อสุขภาพที่แข็งแรง หรือต้องการลดน้ำหนักโดยวิธีธรรมชาติ สามารถขอข้อมูลได้จาก ... http://www.geocities.com/healthclub999/easythin ***************************************************************** หากไม่ต้องการรับข้อมูลข่าวสารอีก กรุณาเข้าไปแจ้งที่ www.unsubhealthclub.web1000.com --#MYBOUNDARY#-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 19 13:10: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 3587737B404 for ; Wed, 19 Mar 2003 13:10:21 -0800 (PST) Received: from galilee.polands.org (new-24-208-57-240.new.rr.com [24.208.57.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DA3C43F3F for ; Wed, 19 Mar 2003 13:10:19 -0800 (PST) (envelope-from doug@polands.org) Received: from mydomain.com (samaria.polands.org [172.16.1.17]) by galilee.polands.org (8.12.6/8.12.6) with SMTP id h2JLAFDh036695 for ; Wed, 19 Mar 2003 15:10:15 -0600 (CST) (envelope-from doug@polands.org) Received: from 63.104.35.130 (proxying for 164.5.45.79) (SquirrelMail authenticated user djp) by email.polands.org with HTTP; Wed, 19 Mar 2003 15:10:15 -0600 (CST) Message-ID: <18118.63.104.35.130.1048108215.squirrel@email.polands.org> Date: Wed, 19 Mar 2003 15:10:15 -0600 (CST) Subject: Specifying jdk for tomcat 4.1.18 From: "Doug Poland" To: X-Priority: 3 Importance: Normal X-Mailer: SquirrelMail (version 1.2.8) 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 How do I specify a different jdk for tomcat? I can't find it anywhere in the conf/* files. Seems that tomcat41ctl has /usr/local/jdk1.3.1 compiled into it. Thought I might try tomcat with jdk1.4.1. -- Regards, Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 19 13:15: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 6AD7237B413 for ; Wed, 19 Mar 2003 13:15:45 -0800 (PST) Received: from b.smtp-out.sonic.net (b.smtp-out.sonic.net [208.201.224.39]) by mx1.FreeBSD.org (Postfix) with SMTP id B3ACC43F3F for ; Wed, 19 Mar 2003 13:15:44 -0800 (PST) (envelope-from milo@cyberlifelabs.com) Received: (qmail 31647 invoked from network); 19 Mar 2003 21:15:44 -0000 Received: from ultra.sonic.net (208.201.224.22) by b.smtp-out.sonic.net with SMTP; 19 Mar 2003 21:15:44 -0000 Received: from cyberlifelabs.com (adsl-64-142-14-252.sonic.net [64.142.14.252]) by ultra.sonic.net (8.11.6/8.8.5) with ESMTP id h2JLFiN15977; Wed, 19 Mar 2003 13:15:44 -0800 X-envelope-info: Message-ID: <3E78DDFF.7000500@cyberlifelabs.com> Date: Wed, 19 Mar 2003 13:15:43 -0800 From: Milo Hyson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2.1) Gecko/20030317 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Doug Poland Cc: freebsd-java@FreeBSD.ORG Subject: Re: Specifying jdk for tomcat 4.1.18 References: <18118.63.104.35.130.1048108215.squirrel@email.polands.org> In-Reply-To: <18118.63.104.35.130.1048108215.squirrel@email.polands.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 Doug Poland wrote: >How do I specify a different jdk for tomcat? I can't find it anywhere >in the conf/* files. Seems that tomcat41ctl has /usr/local/jdk1.3.1 >compiled into it. Thought I might try tomcat with jdk1.4.1. > > > It determines the JDK from the JAVA_HOME environment variable. -- Milo Hyson CyberLife Labs To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 19 13:32:17 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 45EE237B401 for ; Wed, 19 Mar 2003 13:32:16 -0800 (PST) Received: from galilee.polands.org (new-24-208-57-240.new.rr.com [24.208.57.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B95843F75 for ; Wed, 19 Mar 2003 13:32:15 -0800 (PST) (envelope-from doug@polands.org) Received: from mydomain.com (samaria.polands.org [172.16.1.17]) by galilee.polands.org (8.12.6/8.12.6) with SMTP id h2JLWCDh036843; Wed, 19 Mar 2003 15:32:12 -0600 (CST) (envelope-from doug@polands.org) Received: from 63.104.35.130 (proxying for 164.5.45.79) (SquirrelMail authenticated user djp) by email.polands.org with HTTP; Wed, 19 Mar 2003 15:32:12 -0600 (CST) Message-ID: <32007.63.104.35.130.1048109532.squirrel@email.polands.org> Date: Wed, 19 Mar 2003 15:32:12 -0600 (CST) Subject: Re: Specifying jdk for tomcat 4.1.18 From: "Doug Poland" To: In-Reply-To: <3E78DDFF.7000500@cyberlifelabs.com> References: <18118.63.104.35.130.1048108215.squirrel@email.polands.org> <3E78DDFF.7000500@cyberlifelabs.com> X-Priority: 3 Importance: Normal Cc: X-Mailer: SquirrelMail (version 1.2.8) 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 Milo Hyson said: > Doug Poland wrote: > >>How do I specify a different jdk for tomcat? I can't find it >> anywhere in the conf/* files. Seems that tomcat41ctl has >> /usr/local/jdk1.3.1 compiled into it. Thought I might try >> tomcat with jdk1.4.1. >> >> >> > It determines the JDK from the JAVA_HOME environment variable. > What happens when I (as root) don't have JAVA_HOME set when /usr/local/etc/rc.d/020.jakarta-tomcat41.sh start is invoked? What happens on system startup? -- Regards, Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 19 13:34: 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 9718637B401 for ; Wed, 19 Mar 2003 13:34:03 -0800 (PST) Received: from rivendell.unixhosts.net (rivendell.unixhosts.net [150.101.60.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 932EE43F3F for ; Wed, 19 Mar 2003 13:34:02 -0800 (PST) (envelope-from greg@hurrell.cc) Received: from hurrell.cc (dsl-202-45-118-39.SA.netspace.net.au [202.45.118.39]) (AUTH: LOGIN greg@hurrell.cc) by rivendell.unixhosts.net with esmtp; Thu, 20 Mar 2003 08:03:59 +1030 Date: Thu, 20 Mar 2003 08:03:56 +1030 Mime-Version: 1.0 (Apple Message framework v551) Content-Type: text/plain; charset=US-ASCII; format=flowed Subject: [OT] Unsubscribing due to spam From: Greg Hurrell To: freebsd-java@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: <7D736780-5A52-11D7-A61F-000393BC25EC@hurrell.cc> 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 Sorry to say it, but due to the high volume of spam I am receiving on this list I am unsubscribing. The policy of allowing non-subscribers to post (which applies to the majority of FreeBSD mailing lists) means that those lists now generate the majority of all my spam traffic. Many of these spam messages have as their Return-Path "owner-freebsd-java@FreeBSD.ORG" (etc, depending on the list) and so this means I can't even block repeat offenders at the SMTP server based on the Return-Path. I've made these protests before and have always been told that the policy is not going to change, but in the year 2003 and with the spam problem the way it is, I just can't see any justification for allowing this "accept all-comers" policy to continue. In order to provide people with the convenience of posting from anywhere at any time, you are also affording these spammers with the convenience of an efficient, consequence-free mass-distribution mechanism for their unwanted and annoying spam. If people are subscribed to these lists and want to read the replies their need access to the subscribed email account anyway. If people are not subscribed and want answers, well perhaps they should be subscribing too. Anyway, this is, regretfully, adios (and goodbye to all of my subscriptions but freebsd-announce for this very reason). Cheers, Greg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 19 13:53: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 D9C1A37B401 for ; Wed, 19 Mar 2003 13:53:09 -0800 (PST) Received: from a.smtp-out.sonic.net (a.smtp-out.sonic.net [208.201.224.38]) by mx1.FreeBSD.org (Postfix) with SMTP id 0868843F75 for ; Wed, 19 Mar 2003 13:53:09 -0800 (PST) (envelope-from milo@cyberlifelabs.com) Received: (qmail 11278 invoked from network); 19 Mar 2003 21:53:07 -0000 Received: from sub.sonic.net (208.201.224.8) by a.smtp-out.sonic.net with SMTP; 19 Mar 2003 21:53:07 -0000 Received: from cyberlifelabs.com (adsl-64-142-14-252.sonic.net [64.142.14.252]) by sub.sonic.net (8.11.6/8.8.5) with ESMTP id h2JLr7410111; Wed, 19 Mar 2003 13:53:07 -0800 X-envelope-info: Message-ID: <3E78E6C2.2090209@cyberlifelabs.com> Date: Wed, 19 Mar 2003 13:53:06 -0800 From: Milo Hyson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2.1) Gecko/20030317 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Doug Poland Cc: freebsd-java@FreeBSD.ORG Subject: Re: Specifying jdk for tomcat 4.1.18 References: <18118.63.104.35.130.1048108215.squirrel@email.polands.org> <3E78DDFF.7000500@cyberlifelabs.com> <32007.63.104.35.130.1048109532.squirrel@email.polands.org> In-Reply-To: <32007.63.104.35.130.1048109532.squirrel@email.polands.org> Content-Type: text/html; 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 Doug Poland wrote:
Milo Hyson said:
  
Doug Poland wrote:

    
How do I specify a different jdk for tomcat?  I can't find it
anywhere in the conf/* files.  Seems that tomcat41ctl has
/usr/local/jdk1.3.1 compiled into it.   Thought I might try
tomcat with jdk1.4.1.



      
It determines the JDK from the JAVA_HOME environment variable.

    
What happens when I (as root) don't have JAVA_HOME set when
/usr/local/etc/rc.d/020.jakarta-tomcat41.sh start is invoked?

What happens on system startup?

  
Tomcat will not start unless JAVA_HOME is set -- it barfs with an error. The startup script (in /usr/local/etc/rc.d) is probably setting it for you. Look in there.

-- 
Milo Hyson
CyberLife Labs
To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 19 14:11:32 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 3390937B401 for ; Wed, 19 Mar 2003 14:11:31 -0800 (PST) Received: from l07.oase.research.kpn.com (l07.oase.research.kpn.com [139.63.192.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D4A543F85 for ; Wed, 19 Mar 2003 14:11:29 -0800 (PST) (envelope-from k.j.koster@telecom.tno.nl) content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Subject: RE: [OT] Unsubscribing due to spam Date: Wed, 19 Mar 2003 23:11:27 +0100 Message-ID: <0DD8055E0FECF744B5FF8053F80C4A2D7377FA@l07.oase.research.kpn.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [OT] Unsubscribing due to spam Thread-Index: AcLuX1ZKsOr6k1GRSjexFrUj7TZvWwABJULw From: To: Cc: 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 Greg, >=20 > Sorry to say it, but due to the high volume of spam I am > receiving on this list I am unsubscribing. > I receive one or two spam messages on this list per week, and I receive = a daily dose of about thirty spam mails per day. I see no reason to = change the policy on this list. Sorry to see you go. I *will* take a cluebat over to our mail server's admin's office one of = these days. I have to be patient with them, though. They are Windows = admins. ;-) Kees Jan =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D You can't have everything. Where would you put it? [Steven Wright] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 19 15:26:24 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 47E2F37B401 for ; Wed, 19 Mar 2003 15:26:23 -0800 (PST) Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4201343F93 for ; Wed, 19 Mar 2003 15:26:22 -0800 (PST) (envelope-from Jan.Grant@bristol.ac.uk) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Wed, 19 Mar 2003 23:23:05 +0000 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 3.16 #1) id 18vmt5-0004al-00; Wed, 19 Mar 2003 23:22:23 +0000 Date: Wed, 19 Mar 2003 23:22:23 +0000 (GMT) From: Jan Grant X-X-Sender: cmjg@mail.ilrt.bris.ac.uk To: "k.j.koster" Cc: greg , freebsd-java Subject: RE: [OT] Unsubscribing due to spam In-Reply-To: <0DD8055E0FECF744B5FF8053F80C4A2D7377FA@l07.oase.research.kpn.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 On Wed, 19 Mar 2003, k.j.koster wrote: > Dear Greg, > > > > > Sorry to say it, but due to the high volume of spam I am > > receiving on this list I am unsubscribing. > > > I receive one or two spam messages on this list per week, and I > receive a daily dose of about thirty spam mails per day. I see no > reason to change the policy on this list. I don't see any spam from this list; spamassassin + razor do a good job. > Sorry to see you go. Agreed. In an ideal world the spamee wouldn't have to take any action to avoid that particular plague; however, given the reality of spam from all directions, the tools I mentioned are pretty easy to set up and are just the ticket. jan -- 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/ Strive to live every day as though it was last Wednesday. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 19 15:34:57 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 87C4037B401 for ; Wed, 19 Mar 2003 15:34:56 -0800 (PST) Received: from b.smtp-out.sonic.net (b.smtp-out.sonic.net [208.201.224.39]) by mx1.FreeBSD.org (Postfix) with SMTP id C42A143F3F for ; Wed, 19 Mar 2003 15:34:52 -0800 (PST) (envelope-from milo@cyberlifelabs.com) Received: (qmail 26459 invoked from network); 19 Mar 2003 23:34:52 -0000 Received: from turbo.sonic.net (208.201.224.26) by b.smtp-out.sonic.net with SMTP; 19 Mar 2003 23:34:52 -0000 Received: from cyberlifelabs.com (adsl-64-142-14-252.sonic.net [64.142.14.252]) by turbo.sonic.net (8.11.6/8.8.5) with ESMTP id h2JNYqF00834 for ; Wed, 19 Mar 2003 15:34:52 -0800 X-envelope-info: Message-ID: <3E78FE9C.3040308@cyberlifelabs.com> Date: Wed, 19 Mar 2003 15:34:52 -0800 From: Milo Hyson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2.1) Gecko/20030317 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java Subject: Re: [OT] Unsubscribing due to spam References: In-Reply-To: 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 Jan Grant wrote: >On Wed, 19 Mar 2003, k.j.koster wrote: > > > >>Dear Greg, >> >> >> >>>Sorry to say it, but due to the high volume of spam I am >>>receiving on this list I am unsubscribing. >>> >>> >>> >>I receive one or two spam messages on this list per week, and I >>receive a daily dose of about thirty spam mails per day. I see no >>reason to change the policy on this list. >> >> > >I don't see any spam from this list; spamassassin + razor do a good job. > Ditto. -- Milo Hyson CyberLife Labs To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 19 18: 0:53 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 D203637B401 for ; Wed, 19 Mar 2003 18:00:51 -0800 (PST) Received: from galilee.polands.org (new-24-208-57-240.new.rr.com [24.208.57.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id 35FAC43FBD for ; Wed, 19 Mar 2003 18:00:50 -0800 (PST) (envelope-from doug@polands.org) Received: from mydomain.com (samaria.polands.org [172.16.1.17]) by galilee.polands.org (8.12.6/8.12.6) with SMTP id h2K20lDh038502; Wed, 19 Mar 2003 20:00:47 -0600 (CST) (envelope-from doug@polands.org) Received: from 172.16.1.33 (SquirrelMail authenticated user djp) by email.polands.org with HTTP; Wed, 19 Mar 2003 20:00:48 -0600 (CST) Message-ID: <1616.172.16.1.33.1048125648.squirrel@email.polands.org> Date: Wed, 19 Mar 2003 20:00:48 -0600 (CST) Subject: Re: Specifying jdk for tomcat 4.1.18 From: "Doug Poland" To: In-Reply-To: <3E78E6C2.2090209@cyberlifelabs.com> References: <18118.63.104.35.130.1048108215.squirrel@email.polands.org> <3E78DDFF.7000500@cyberlifelabs.com> <32007.63.104.35.130.1048109532.squirrel@email.polands.org> <3E78E6C2.2090209@cyberlifelabs.com> X-Priority: 3 Importance: Normal Cc: X-Mailer: SquirrelMail (version 1.2.8) 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 >>> Doug asked: >>>> >>>> How do I specify a different jdk for tomcat? I can't find it >>>> anywhere in the conf/* files. Seems that tomcat41ctl has >>>> /usr/local/jdk1.3.1 compiled into it. Thought I might try >>>> tomcat with jdk1.4.1. >>> >>> >>> It determines the JDK from the JAVA_HOME environment variable. >>> >> >> What happens when I (as root) don't have JAVA_HOME set when >> /usr/local/etc/rc.d/020.jakarta-tomcat41.sh start is invoked? >> >> What happens on system startup? >> > > Tomcat will not start unless JAVA_HOME is set -- it barfs with an > error. The startup script (in /usr/local/etc/rc.d) is probably > setting it for you. Look in there. > Hmmm, when I start tomcat from /usr/local/etc/rc.d/020.jakarta-tomcat41.sh as root without JAVA_HOME set, tomcat starts just fine. The script does not set JAVA_HOME. When I run strings on /usr/local/bin/tomcat41ctl I see references to /usr/local/jdk1.3.1. Unless I'm missing something, I think that this tomcat41ctl port has the path to /usr/local/jdk1.3.1 compiled into the binary and there is no way to path to a different jdk. -- Regards, Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 19 18: 7:24 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 8290F37B401 for ; Wed, 19 Mar 2003 18:07:23 -0800 (PST) Received: from seed.net.tw (sn13.seed.net.tw [139.175.54.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id F25CD43FAF for ; Wed, 19 Mar 2003 18:07:21 -0800 (PST) (envelope-from leafy@leafy.idv.tw) Received: from [211.74.130.124] (port=49312 helo=leafy.idv.tw) by seed.net.tw with esmtp (Seednet 4.10:4) id 18vpSj-000Jw5-00 for freebsd-java@FreeBSD.ORG; Thu, 20 Mar 2003 10:07:21 +0800 Received: from leafy.idv.tw (nobody@localhost [127.0.0.1]) by leafy.idv.tw (8.12.8/8.12.8) with ESMTP id h2K27Kfj070176 for ; Thu, 20 Mar 2003 10:07:20 +0800 (CST) (envelope-from leafy@leafy.idv.tw) Received: (from leafy@localhost) by leafy.idv.tw (8.12.8/8.12.8/Submit) id h2K27J54070175 for freebsd-java@FreeBSD.ORG; Thu, 20 Mar 2003 10:07:19 +0800 (CST) Date: Thu, 20 Mar 2003 10:07:19 +0800 From: leafy To: freebsd-java@FreeBSD.ORG Subject: Re: Specifying jdk for tomcat 4.1.18 Message-ID: <20030320020719.GA70161@leafy.idv.tw> Mail-Followup-To: freebsd-java@FreeBSD.ORG References: <18118.63.104.35.130.1048108215.squirrel@email.polands.org> <3E78DDFF.7000500@cyberlifelabs.com> <32007.63.104.35.130.1048109532.squirrel@email.polands.org> <3E78E6C2.2090209@cyberlifelabs.com> <1616.172.16.1.33.1048125648.squirrel@email.polands.org> Mime-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Disposition: inline In-Reply-To: <1616.172.16.1.33.1048125648.squirrel@email.polands.org> 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 On Wed, Mar 19, 2003 at 08:00:48PM -0600, Doug Poland wrote: > /usr/local/bin/tomcat41ctl I see references to /usr/local/jdk1.3.1. > Unless I'm missing something, I think that this tomcat41ctl > port has the path to /usr/local/jdk1.3.1 compiled into the > binary and there is no way to path to a different jdk. > > -- > Regards, > Doug The same goes for jboss3ctl. If I want to switch to a different jdk, I have to recompile the whole thing(!). Is it possible to explicitly set JAVA_HOME when invoking the wrappers? Or by setting some configuration files for that? Regards, Jiawei -- "Without the userland, the kernel is useless." --inspired by The Tao of Programming To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 19 18:21: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 910F937B401 for ; Wed, 19 Mar 2003 18:21:46 -0800 (PST) Received: from galilee.polands.org (new-24-208-57-240.new.rr.com [24.208.57.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FF9F43F75 for ; Wed, 19 Mar 2003 18:21:45 -0800 (PST) (envelope-from doug@polands.org) Received: from mydomain.com (samaria.polands.org [172.16.1.17]) by galilee.polands.org (8.12.6/8.12.6) with SMTP id h2K2LhDh038634; Wed, 19 Mar 2003 20:21:44 -0600 (CST) (envelope-from doug@polands.org) Received: from 172.16.1.33 (SquirrelMail authenticated user djp) by email.polands.org with HTTP; Wed, 19 Mar 2003 20:21:44 -0600 (CST) Message-ID: <1671.172.16.1.33.1048126904.squirrel@email.polands.org> Date: Wed, 19 Mar 2003 20:21:44 -0600 (CST) Subject: Re: Specifying jdk for tomcat 4.1.18 From: "Doug Poland" To: In-Reply-To: <20030320020719.GA70161@leafy.idv.tw> References: <18118.63.104.35.130.1048108215.squirrel@email.polands.org> <3E78DDFF.7000500@cyberlifelabs.com> <32007.63.104.35.130.1048109532.squirrel@email.polands.org> <3E78E6C2.2090209@cyberlifelabs.com> <1616.172.16.1.33.1048125648.squirrel@email.polands.org> <20030320020719.GA70161@leafy.idv.tw> X-Priority: 3 Importance: Normal Cc: X-Mailer: SquirrelMail (version 1.2.8) 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 leafy said: > On Wed, Mar 19, 2003 at 08:00:48PM -0600, Doug Poland wrote: >> /usr/local/bin/tomcat41ctl I see references to >> /usr/local/jdk1.3.1. Unless I'm missing something, I think that >> this tomcat41ctl port has the path to /usr/local/jdk1.3.1 compiled >> into the binary and there is no way to path to a different jdk. >> > The same goes for jboss3ctl. If I want to switch to a different > jdk, I have to recompile the whole thing(!). Is it possible to > explicitly set JAVA_HOME when invoking the wrappers? Or by setting > some configuration files for that? > Curious. I don't know the answer to your question. How do you recompile with a different jdk? In the jakarta-tomcat41 Makefile it echos $JAVA_HOME as /usr/local/jdk1.3.1 but I have no idea how it is set. I obviously don't know enough about the port Makefile business. Perhaps a knoweldgeable and kind soul can enlighten us why jdk1.3.1 is the only jdk for use in jboss3 and tomcat41. -- Regards, Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 19 18:37:32 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 0967837B401 for ; Wed, 19 Mar 2003 18:37:31 -0800 (PST) Received: from a.smtp-out.sonic.net (a.smtp-out.sonic.net [208.201.224.38]) by mx1.FreeBSD.org (Postfix) with SMTP id 4C5E543F85 for ; Wed, 19 Mar 2003 18:37:30 -0800 (PST) (envelope-from milo@cyberlifelabs.com) Received: (qmail 10683 invoked from network); 20 Mar 2003 02:37:29 -0000 Received: from prop.sonic.net (208.201.224.193) by a.smtp-out.sonic.net with SMTP; 20 Mar 2003 02:37:29 -0000 Received: from cyberlifelabs.com (adsl-64-142-14-252.sonic.net [64.142.14.252]) by prop.sonic.net (8.11.6/8.8.5) with ESMTP id h2K2bSp13603; Wed, 19 Mar 2003 18:37:28 -0800 X-envelope-info: Message-ID: <3E792968.5000308@cyberlifelabs.com> Date: Wed, 19 Mar 2003 18:37:28 -0800 From: Milo Hyson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2.1) Gecko/20030317 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Doug Poland Cc: leafy@leafy.idv.tw, freebsd-java@FreeBSD.ORG Subject: Re: Specifying jdk for tomcat 4.1.18 References: <18118.63.104.35.130.1048108215.squirrel@email.polands.org> <3E78DDFF.7000500@cyberlifelabs.com> <32007.63.104.35.130.1048109532.squirrel@email.polands.org> <3E78E6C2.2090209@cyberlifelabs.com> <1616.172.16.1.33.1048125648.squirrel@email.polands.org> <20030320020719.GA70161@leafy.idv.tw> <1671.172.16.1.33.1048126904.squirrel@email.polands.org> In-Reply-To: <1671.172.16.1.33.1048126904.squirrel@email.polands.org> Content-Type: text/html; 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 Doug Poland wrote:
leafy said:
  
On Wed, Mar 19, 2003 at 08:00:48PM -0600, Doug Poland wrote:
    
/usr/local/bin/tomcat41ctl I see references to
/usr/local/jdk1.3.1. Unless I'm missing something, I think that
this tomcat41ctl port has the path to /usr/local/jdk1.3.1 compiled
into the binary and there is no way to path to a different jdk.

      
The same goes for jboss3ctl. If I want to switch to a different
jdk, I have to recompile the whole thing(!). Is it possible to
explicitly set JAVA_HOME when invoking the wrappers? Or by setting
some configuration files for that?

    
Curious.  I don't know the answer to your question.  How do you
recompile with a different jdk?  In the jakarta-tomcat41 Makefile it
echos $JAVA_HOME as /usr/local/jdk1.3.1 but I have no idea how it is
set.  I obviously don't know enough about the port Makefile
business.

Perhaps a knoweldgeable and kind soul can enlighten us why jdk1.3.1
is the only jdk for use in jboss3 and tomcat41.
  
I guess this is why I don't install Tomcat from ports. I just download the tarball and unzip it where I want it. Then I run the startup.sh script in the bin directory to kick Tomcat into gear. That script looks at the JAVA_HOME variable to determine which JVM to use.

-- 
Milo Hyson
CyberLife Labs
To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 19 18:53: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 9126837B401 for ; Wed, 19 Mar 2003 18:53:41 -0800 (PST) Received: from seed.net.tw (sn15.seed.net.tw [139.175.54.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D71043F75 for ; Wed, 19 Mar 2003 18:53:40 -0800 (PST) (envelope-from leafy@leafy.idv.tw) Received: from [211.74.130.124] (port=49597 helo=leafy.idv.tw) by seed.net.tw with esmtp (Seednet 4.10:3) id 18vqBX-00026j-00 for freebsd-java@FreeBSD.ORG; Thu, 20 Mar 2003 10:53:39 +0800 Received: from leafy.idv.tw (nobody@localhost [127.0.0.1]) by leafy.idv.tw (8.12.8/8.12.8) with ESMTP id h2K2rcfj070326 for ; Thu, 20 Mar 2003 10:53:39 +0800 (CST) (envelope-from leafy@leafy.idv.tw) Received: (from leafy@localhost) by leafy.idv.tw (8.12.8/8.12.8/Submit) id h2K2rc9q070325 for freebsd-java@FreeBSD.ORG; Thu, 20 Mar 2003 10:53:38 +0800 (CST) Date: Thu, 20 Mar 2003 10:53:38 +0800 From: leafy To: freebsd-java@FreeBSD.ORG Subject: Re: Specifying jdk for tomcat 4.1.18 Message-ID: <20030320025338.GA70314@leafy.idv.tw> Mail-Followup-To: freebsd-java@FreeBSD.ORG References: <18118.63.104.35.130.1048108215.squirrel@email.polands.org> <3E78DDFF.7000500@cyberlifelabs.com> <32007.63.104.35.130.1048109532.squirrel@email.polands.org> <3E78E6C2.2090209@cyberlifelabs.com> <1616.172.16.1.33.1048125648.squirrel@email.polands.org> <20030320020719.GA70161@leafy.idv.tw> <1671.172.16.1.33.1048126904.squirrel@email.polands.org> Mime-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Disposition: inline In-Reply-To: <1671.172.16.1.33.1048126904.squirrel@email.polands.org> 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 On Wed, Mar 19, 2003 at 08:21:44PM -0600, Doug Poland wrote: > Curious. I don't know the answer to your question. How do you > recompile with a different jdk? In the jakarta-tomcat41 Makefile it > echos $JAVA_HOME as /usr/local/jdk1.3.1 but I have no idea how it is > set. I obviously don't know enough about the port Makefile > business. > > Perhaps a knoweldgeable and kind soul can enlighten us why jdk1.3.1 > is the only jdk for use in jboss3 and tomcat41. > > -- > Regards, > Doug I did submit a patch for bsd.java.mk which will make 1.4.1 jdk a dependency if it is the *only* jdk installed (I haven't come up with the multi-jdk case, but it looks really messy). With the patch, jboss and tomcat will pick up jdk14 as dependency and insert them into their respecitve wrappers. Regards, Jiawei -- "Without the userland, the kernel is useless." --inspired by The Tao of Programming To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 19 20:12: 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 8306B37B401 for ; Wed, 19 Mar 2003 20:12:06 -0800 (PST) Received: from habanero.hesketh.net (habanero.hesketh.net [66.45.6.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5DBB843F85 for ; Wed, 19 Mar 2003 20:12:05 -0800 (PST) (envelope-from brent@mutt.rcfile.org) X-Received-From: brent@mutt.rcfile.org X-Delivered-To: freebsd-java@FreeBSD.ORG X-Originating-IP: [66.57.229.60] Received: from mutt.rcfile.org (rdu57-229-060.nc.rr.com [66.57.229.60]) by habanero.hesketh.net (8.12.8/8.12.8) with ESMTP id h2K4BsVC002830; Wed, 19 Mar 2003 23:11:54 -0500 X-Spam-Filter: check_local@habanero.hesketh.net by digitalanswers.org Received: from mutt.rcfile.org (localhost [127.0.0.1]) by mutt.rcfile.org (8.12.8/8.12.7) with ESMTP id h2K4C8C4046442; Wed, 19 Mar 2003 23:12:08 -0500 (EST) (envelope-from brent@mutt.rcfile.org) Received: (from brent@localhost) by mutt.rcfile.org (8.12.8/8.12.8/Submit) id h2K4C71l046441; Wed, 19 Mar 2003 23:12:07 -0500 (EST) Date: Wed, 19 Mar 2003 23:12:07 -0500 From: Brent Verner To: Doug Poland Cc: leafy@leafy.idv.tw, freebsd-java@FreeBSD.ORG Subject: Re: Specifying jdk for tomcat 4.1.18 Message-ID: <20030320041206.GA46244@rcfile.org> References: <18118.63.104.35.130.1048108215.squirrel@email.polands.org> <3E78DDFF.7000500@cyberlifelabs.com> <32007.63.104.35.130.1048109532.squirrel@email.polands.org> <3E78E6C2.2090209@cyberlifelabs.com> <1616.172.16.1.33.1048125648.squirrel@email.polands.org> <20030320020719.GA70161@leafy.idv.tw> <1671.172.16.1.33.1048126904.squirrel@email.polands.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1671.172.16.1.33.1048126904.squirrel@email.polands.org> X-muttrc: $Id: .muttrc,v 1.10 2003/02/08 08:35:24 brent Exp $ X-uname: FreeBSD 4.8-RC #5: Sat Mar 15 20:17:35 EST 2003 root@mutt.rcfile.org:/usr/obj/usr/src/sys/MUTTS 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 [2003-03-19 20:21] Doug Poland said: | | leafy said: | > On Wed, Mar 19, 2003 at 08:00:48PM -0600, Doug Poland wrote: | >> /usr/local/bin/tomcat41ctl I see references to | >> /usr/local/jdk1.3.1. Unless I'm missing something, I think that | >> this tomcat41ctl port has the path to /usr/local/jdk1.3.1 compiled | >> into the binary and there is no way to path to a different jdk. | >> | > The same goes for jboss3ctl. If I want to switch to a different | > jdk, I have to recompile the whole thing(!). Is it possible to | > explicitly set JAVA_HOME when invoking the wrappers? Or by setting | > some configuration files for that? | > | Curious. I don't know the answer to your question. How do you | recompile with a different jdk? In the jakarta-tomcat41 Makefile it | echos $JAVA_HOME as /usr/local/jdk1.3.1 but I have no idea how it is | set. I obviously don't know enough about the port Makefile | business. | Perhaps a knoweldgeable and kind soul can enlighten us why jdk1.3.1 | is the only jdk for use in jboss3 and tomcat41. I have a patch to the daemonctl.c source that causes it to use JAVA_HOME, but this approach is not ideal, as there are other difficulties aside from which java binary to use. I'm taking over the jboss3 port (provided I find time to wrap up the loose ends), and I've been thinking that a better solution would be to have the daemonctl.c program call an appropriate shell script instead of calling the java binary directly -- the daemonctl.c program exists solely as a setuid/setgid wrapper to startup the service in question. I have begun to implement a daemonctl.c that uses a( set of xml) config file(s) to control its actions. sh$ ls -al /usr/local/bin/tomcat41ctl lrwxr-xr-x 1 root wheel 5 May 12 2002 tomcat41ctl -> jxdaemonctl sh$ ls -1 /usr/local/etc/daemonctl.d/ tomcat41ctl.xml jboss3ctl.xml jboss-tomcat.xml when called thru the tomcat41ctl symlink, the program will find the tomcat41ctl.xml config file which looks like this. www www JAVA_HOME /usr/local/jdk1.4.1 CATALINA_TMPDIR /var/tmp/tomcat41 / /usr/local/jakarta-tomcat4.1/logs/stdout.log /usr/local/jakarta-tomcat4.1/logs/stderr.log /usr/local/jakarta-tomcat4.1/bin/catalina.sh run -security /usr/local/jakarta-tomcat4.1/bin/catalina.sh stop /usr/local/jakarta-tomcat4.1/bin/catalina.sh The bits mentioned above are not complete, but I've been using a (much more simplistic) version for a couple of weeks. If this approach is sane, I'll try and finish this up over the weekend. Right now the program is using libxml2, but I'd like to implement it on top of expat, since that is already required for any of the java progs. b -- "Develop your talent, man, and leave the world something. Records are really gifts from people. To think that an artist would love you enough to share his music with anyone is a beautiful thing." -- Duane Allman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 19 20:27:29 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 2B7F337B401 for ; Wed, 19 Mar 2003 20:27:27 -0800 (PST) Received: from galilee.polands.org (new-24-208-57-240.new.rr.com [24.208.57.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id F221943F93 for ; Wed, 19 Mar 2003 20:27:25 -0800 (PST) (envelope-from djp@polands.org) Received: from babylon.polands.org (babylon.polands.org [172.16.1.16]) by galilee.polands.org (8.12.6/8.12.6) with ESMTP id h2K4RODh039412; Wed, 19 Mar 2003 22:27:24 -0600 (CST) (envelope-from djp@galilee.polands.org) Received: from babylon.polands.org (localhost.polands.org [127.0.0.1]) by babylon.polands.org (8.12.6/8.12.6) with ESMTP id h2K4ROge002449; Wed, 19 Mar 2003 22:27:24 -0600 (CST) (envelope-from djp@babylon.polands.org) Received: (from djp@localhost) by babylon.polands.org (8.12.6/8.12.6/Submit) id h2K4RNiS002448; Wed, 19 Mar 2003 22:27:23 -0600 (CST) Date: Wed, 19 Mar 2003 22:27:23 -0600 From: Doug Poland To: Brent Verner Cc: leafy@leafy.idv.tw, freebsd-java@FreeBSD.ORG Subject: Re: Specifying jdk for tomcat 4.1.18 Message-ID: <20030320042722.GA2419@babylon.polands.org> References: <18118.63.104.35.130.1048108215.squirrel@email.polands.org> <3E78DDFF.7000500@cyberlifelabs.com> <32007.63.104.35.130.1048109532.squirrel@email.polands.org> <3E78E6C2.2090209@cyberlifelabs.com> <1616.172.16.1.33.1048125648.squirrel@email.polands.org> <20030320020719.GA70161@leafy.idv.tw> <1671.172.16.1.33.1048126904.squirrel@email.polands.org> <20030320041206.GA46244@rcfile.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030320041206.GA46244@rcfile.org> User-Agent: Mutt/1.3.27i 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 Wed, Mar 19, 2003 at 11:12:07PM -0500, Brent Verner wrote: > > | Perhaps a knoweldgeable and kind soul can enlighten us why jdk1.3.1 > | is the only jdk for use in jboss3 and tomcat41. > > I have a patch to the daemonctl.c source that causes it to use > JAVA_HOME, but this approach is not ideal, as there are other > difficulties aside from which java binary to use. > > I'm taking over the jboss3 port (provided I find time to wrap > up the loose ends), and I've been thinking that a better solution > would be to have the daemonctl.c program call an appropriate > shell script instead of calling the java binary directly -- the > daemonctl.c program exists solely as a setuid/setgid wrapper > to startup the service in question. > > I have begun to implement a daemonctl.c that uses a( set of xml) > config file(s) to control its actions. > > sh$ ls -al /usr/local/bin/tomcat41ctl > lrwxr-xr-x 1 root wheel 5 May 12 2002 tomcat41ctl -> jxdaemonctl > sh$ ls -1 /usr/local/etc/daemonctl.d/ > tomcat41ctl.xml > jboss3ctl.xml > jboss-tomcat.xml > > when called thru the tomcat41ctl symlink, the program will find the > tomcat41ctl.xml config file which looks like this. > > > www > www > > > JAVA_HOME > /usr/local/jdk1.4.1 > > > CATALINA_TMPDIR > /var/tmp/tomcat41 > > > / > > > /usr/local/jakarta-tomcat4.1/logs/stdout.log > /usr/local/jakarta-tomcat4.1/logs/stderr.log > > > > > /usr/local/jakarta-tomcat4.1/bin/catalina.sh > run > -security > > > /usr/local/jakarta-tomcat4.1/bin/catalina.sh > stop > > > /usr/local/jakarta-tomcat4.1/bin/catalina.sh > > > > > > > > > > The bits mentioned above are not complete, but I've been using a > (much more simplistic) version for a couple of weeks. If this > approach is sane, I'll try and finish this up over the weekend. > Right now the program is using libxml2, but I'd like to implement > it on top of expat, since that is already required for any of > the java progs. > Sound like you have a thorough grasp of the situation. I'll be willing to help test your stuff if you decide to go ahead with the ports. Thanks for the info. -- Regards, Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 20 1:12:29 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 17A1F37B401 for ; Thu, 20 Mar 2003 01:12:12 -0800 (PST) Received: from guinness.syncrontech.com (guinness.syncrontech.com [62.71.8.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6311C43F85 for ; Thu, 20 Mar 2003 01:12:10 -0800 (PST) (envelope-from ari.suutari@syncrontech.com) Received: from coffee.syncrontech.com (coffee.syncrontech.com [62.71.8.37]) by guinness.syncrontech.com (8.12.8/8.12.8) with ESMTP id h2K9BwGS098325; Thu, 20 Mar 2003 11:11:58 +0200 (EET) (envelope-from ari.suutari@syncrontech.com) From: Ari Suutari To: Brent Verner , Doug Poland Subject: Re: Specifying jdk for tomcat 4.1.18 Date: Thu, 20 Mar 2003 11:11:57 +0200 User-Agent: KMail/1.5 Cc: leafy@leafy.idv.tw, freebsd-java@FreeBSD.ORG References: <18118.63.104.35.130.1048108215.squirrel@email.polands.org> <1671.172.16.1.33.1048126904.squirrel@email.polands.org> <20030320041206.GA46244@rcfile.org> In-Reply-To: <20030320041206.GA46244@rcfile.org> MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_dXYe+h5We6YEeP6" Message-Id: <200303201111.57618.ari.suutari@syncrontech.com> X-Scanned-By: MIMEDefang 2.24 (www . roaringpenguin . com / mimedefang) 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 --Boundary-00=_dXYe+h5We6YEeP6 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, On Thursday 20 March 2003 06:12, Brent Verner wrote: > I have a patch to the daemonctl.c source that causes it to use > JAVA_HOME, but this approach is not ideal, as there are other > difficulties aside from which java binary to use. I have also a patched version of daemonctl.c, which uses a configuration file in /usr/local/etc, like this: (I'll attach the source to this mail, maybe it is useful to others also) tomcat4ctl.conf: APP_HOME=/usr/local/jakarta-tomcat4.0.5 JAVA_HOME=/usr/local/linux-sun-jdk1.3.1 STDOUT_LOG=/usr/local/jakarta-tomcat4.0.5/logs/stdout.log STDERR_LOG=/usr/local/jakarta-tomcat4.0.5/logs/stderr.log STOP_TIMEOUT=5 PID_FILE=/var/run/tomcat4.pid PORTVERSION=4.0.5 APP_TITLE=Jakarta Tomcat JAVA_CMD=bin/java JAR_FILE=bin/bootstrap.jar JAVA_ARGS=-Djava.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol -Dc atalina.home=/usr/local/jakarta-tomcat4.0.5 JAR_ARGS=start Ari S. --Boundary-00=_dXYe+h5We6YEeP6 Content-Type: text/x-csrc; charset="iso-8859-1"; name="daemonctl.c" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="daemonctl.c" /* * -*- mode: Fundamental; tab-width: 4; -*- * ex:ts=4 * * Daemon control program. * * $FreeBSD: ports/www/jakarta-tomcat4/files/daemonctl.c,v 1.6 2002/05/08 22:00:04 znerd Exp $ */ #include #include #include #include #include #include #include #include #include #include #include #include #include /* The maximum size of the PID file, in bytes */ #define MAX_FILE_SIZE 32 #define MAX_ARGS 50 /* The interval in seconds between the checks to make sure the process died after a kill */ #define STOP_TIME_INTERVAL 1 #define ERR_ILLEGAL_ARGUMENT 1 #define ERR_PID_FILE_NOT_FOUND 2 #define ERR_PID_FILE_TOO_LARGE 3 #define ERR_PID_FILE_CONTAINS_ILLEGAL_CHAR 4 #define ERR_KILL_FAILED 5 #define ERR_ALREADY_RUNNING 6 #define ERR_NOT_RUNNING 7 #define ERR_CHDIR_TO_APP_HOME 8 #define ERR_ACCESS_JAR_FILE 17 #define ERR_STDOUT_LOGFILE_OPEN 9 #define ERR_STDERR_LOGFILE_OPEN 10 #define ERR_FORK_FAILED 11 #define ERR_STAT_JAVA_HOME 12 #define ERR_JAVA_HOME_NOT_DIR 13 #define ERR_STAT_JAVA_CMD 14 #define ERR_JAVA_CMD_NOT_FILE 15 #define ERR_JAVA_CMD_NOT_EXECUTABLE 16 #define ERR_CONF_FILE_OPEN 17 #define ERR_CONF_FILE_ERROR 18 #define ERR_MALLOC 19 #define ERR_TOO_MANY_ARGS 20 #define ERR_CONFIG_MISSING 21 #define private static typedef struct _confNode { char* name; char* value; struct _confNode* next; } ConfNode; private ConfNode* confList = NULL; private char* myName = "daemonctl"; private void printUsage(void); private int openPIDFile(void); private int readPID(int); private void writePID(int file, int pid); private void start(void); private void stop(void); private void restart(void); private void readConf(char*); private char* getConfStr(char*); private int getConfInt(char*); /** * Main function. This function is called when this program is executed. * * @param argc * the number of arguments plus one, so always greater than 0. * * @param argv * the arguments in an array of character pointers, where the last argument * element is followed by a NULL element. */ int main(int argc, char *argv[]) { /* Declare variables, like all other good ANSI C programs do :) */ char *argument; readConf(argv[0]); /* Parse the arguments */ if (argc < 2) { printUsage(); return 0; } setuid(geteuid()); setgid(getegid()); argument = argv[1]; if (strcmp("start", argument) == 0) { start(); } else if (strcmp("stop", argument) == 0) { stop(); } else if (strcmp("restart", argument) == 0) { restart(); } else { fprintf(stderr, "%s: Illegal argument \"%s\".\n", myName, argument); printUsage(); exit(ERR_ILLEGAL_ARGUMENT); } return 0; } /** * Prints usage information to stdout. */ void printUsage(void) { printf("Usage: %s [ start | stop | restart ]\n", myName); } /** * Attempts to open the PID file. If that file is successfully opened, then * the file handle (an int) will be returned. * * @return * the file handle. */ int openPIDFile(void) { int file; /* Attempt to open the PID file */ file = open(getConfStr("PID_FILE"), O_RDWR); if (file < 0) { printf(" [ FAILED ]\n"); fprintf(stderr, "%s: Unable to open %s for reading and writing: ", myName, getConfStr("PID_FILE")); perror(NULL); exit(ERR_PID_FILE_NOT_FOUND); } return file; } /** * Reads a PID from the specified file. The file is identified by a file * handle. * * @param file * the file handle. * * @return * the PID, or -1 if the file was empty. */ int readPID(int file) { char *buffer; int hadNewline = 0; unsigned int count; unsigned int i; int pid; /* Read the PID file contents */ buffer = (char *) malloc((MAX_FILE_SIZE + 1) * sizeof(char)); count = read(file, buffer, MAX_FILE_SIZE + 1); if (count > MAX_FILE_SIZE) { printf(" [ FAILED ]\n"); fprintf(stderr, "%s: The file %s contains more than %d bytes.\n", myName, getConfStr("PID_FILE"), MAX_FILE_SIZE); exit(ERR_PID_FILE_TOO_LARGE); } /* Convert the bytes to a number */ pid = 0; for (i=0; i= '0' && c <= '9') { char digit = c - '0'; pid *= 10; pid += digit; } else if (i == (count - 1) && c == '\n') { /* XXX: Ignore a newline at the end of the file */ hadNewline = 1; } else { printf(" [ FAILED ]\n"); fprintf(stderr, "%s: The file %s contains an illegal character (%d) at position %d.\n", myName, getConfStr("PID_FILE"), c, i); exit(ERR_PID_FILE_CONTAINS_ILLEGAL_CHAR); } } printf(" [ DONE ]\n"); if (count == 0 || (count == 1 && hadNewline == 1)) { return -1; } return pid; } /** * Writes a process ID to the specified file. The file is identified by a file * handle. * * @param file * the file handle, always greater than 0. * * @param pid * the PID to store, always greater than 0. */ void writePID(int file, int pid) { char *buffer; int nbytes; /* Check preconditions */ assert(file > 0); assert(pid > 0); printf(">> Writing PID file..."); lseek(file, (off_t) 0, SEEK_SET); ftruncate(file, (off_t) 0); nbytes = asprintf(&buffer, "%d\n", pid); write(file, buffer, nbytes); printf(" [ DONE ]\n"); } /** * Checks if the specified process is running. * * @param pid * the process id, greater than 0. * * @return * 0 if the specified process is not running, a different value otherwise. */ int existsProcess(int pid) { int result; /* Check preconditions */ assert(pid > 0); /* See if the process exists */ result = kill(pid, 0); /* If the result is 0, then the process exists */ if (result == 0) { return 1; } else { return 0; } } /** * Kills the process identified by the specified ID. * * @param pid * the process id, greater than 0. */ void killProcess(int pid) { int result; unsigned int waited; unsigned int forced; unsigned int interval = STOP_TIME_INTERVAL; unsigned int timeout = getConfInt("STOP_TIMEOUT"); /* Check preconditions */ assert(pid > 0); printf(">> Terminating process %d...", pid); result = kill(pid, SIGTERM); if (result < 0) { printf(" [ FAILED ]\n"); fprintf(stderr, "%s: Unable to kill process %d: ", myName, pid); perror(NULL); exit(ERR_KILL_FAILED); } /* Wait until the process is actually killed */ result = existsProcess(pid); for (waited=0; result == 1 && waited < timeout; waited += interval) { printf("."); fflush(NULL); sleep(interval); result = existsProcess(pid); } /* If the process still exists, then have no mercy and kill it */ forced = 0; if (result == 1) { /* Force the process to die */ result = kill(pid, SIGKILL); if (result == 0) { forced = 1; printf(" [ DONE ]\n"); fprintf(stderr, "%s: Process %d did not terminate within %d sec. Killed.\n", myName, timeout, pid); } else if (result != ESRCH) { printf(" [ FAILED ]\n"); fprintf(stderr, "%s: Unable to kill process %d: ", myName, pid); perror(NULL); exit(ERR_KILL_FAILED); } } if (forced == 0) { printf(" [ DONE ]\n"); } } /** * Starts the daemon. */ void start(void) { int file; int pid; int result; int stdoutLogFile; int stderrLogFile; struct stat sb; char buf[512]; char* token; char* args[MAX_ARGS]; int argCount; /* Open and read the PID file */ printf(">> Reading PID file (%s)...", getConfStr("PID_FILE")); file = openPIDFile(); pid = readPID(file); printf(">> Starting %s %s...", getConfStr("APP_TITLE"), getConfStr("PORTVERSION")); if (pid != -1) { /* Check if the process actually exists */ result = existsProcess(pid); if (result == 1) { printf(" [ FAILED ]\n"); fprintf(stderr, "%s: %s %s is already running, PID is %d.\n", myName, getConfStr("APP_TITLE"), getConfStr("PORTVERSION"), pid); exit(ERR_ALREADY_RUNNING); } } /* Check if the JDK home directory is actually a directory */ result = stat(getConfStr("JAVA_HOME"), &sb); if (result != 0) { printf(" [ FAILED ]\n"); fprintf(stderr, "%s: Unable to stat %s: ", myName, getConfStr("JAVA_HOME")); perror(NULL); exit(ERR_STAT_JAVA_HOME); } if (!S_ISDIR(sb.st_mode)) { printf(" [ FAILED ]\n"); fprintf(stderr, "%s: Java home directory %s is not a directory.\n", myName, getConfStr("JAVA_HOME")); exit(ERR_JAVA_HOME_NOT_DIR); } /* Check if the Java command is actually an executable regular file */ sprintf (buf, "%s/%s", getConfStr("JAVA_HOME"), getConfStr("JAVA_CMD")); result = stat(buf, &sb); if (result != 0) { printf(" [ FAILED ]\n"); fprintf(stderr, "%s: Unable to stat %s: ", myName, buf); perror(NULL); exit(ERR_STAT_JAVA_CMD); } if (!S_ISREG(sb.st_mode)) { printf(" [ FAILED ]\n"); fprintf(stderr, "%s: Java command %s is not a regular file.\n", myName, buf); exit(ERR_JAVA_CMD_NOT_FILE); } result = access(buf, X_OK); if (result != 0) { printf(" [ FAILED ]\n"); fprintf(stderr, "%s: Java command %s is not executable: ", myName, buf); perror(NULL); exit(ERR_JAVA_CMD_NOT_EXECUTABLE); } /* Change directory */ result = chdir(getConfStr("APP_HOME")); if (result < 0) { printf(" [ FAILED ]\n"); fprintf(stderr, "%s: Unable to access directory %s: ", myName, getConfStr("APP_HOME")); perror(NULL); exit(ERR_CHDIR_TO_APP_HOME); } /* See if the JAR file exists */ sprintf(buf, "%s/%s", getConfStr("APP_HOME"), getConfStr("JAR_FILE")); result = access(buf, R_OK); if (result < 0) { printf(" [ FAILED ]\n"); fprintf(stderr, "%s: Unable to access JAR file %s: ", myName, buf); perror(NULL); exit(ERR_ACCESS_JAR_FILE); } /* Open the stdout log file */ stdoutLogFile = open(getConfStr("STDOUT_LOG"), O_WRONLY); if (stdoutLogFile < 0) { printf(" [ FAILED ]\n"); fprintf(stderr, "%s: Unable to open %s for writing: ", myName, getConfStr("STDOUT_LOG")); perror(NULL); exit(ERR_STDOUT_LOGFILE_OPEN); } lseek(stdoutLogFile, (off_t) 0, SEEK_END); /* Open the stderr log file */ stderrLogFile = open(getConfStr("STDERR_LOG"), O_WRONLY); if (stderrLogFile < 0) { printf(" [ FAILED ]\n"); fprintf(stderr, "%s: Unable to open %s for writing: ", myName, getConfStr("STDERR_LOG")); perror(NULL); exit(ERR_STDERR_LOGFILE_OPEN); } lseek(stderrLogFile, (off_t) 0, SEEK_END); argCount = 0; sprintf(buf, "%s/%s", getConfStr("JAVA_HOME"), getConfStr("JAVA_CMD")); args[argCount++] = strdup(buf); token = strtok(getConfStr("JAVA_ARGS"), " "); while (token != NULL) { if (argCount == MAX_ARGS - 1) { printf(" [ FAILED ]\n"); fprintf (stderr, "Too many args\n"); exit (ERR_TOO_MANY_ARGS); } args[argCount++] = strdup (token); token = strtok(NULL, " "); } if (argCount >= MAX_ARGS - 2) { printf(" [ FAILED ]\n"); fprintf (stderr, "Too many args\n"); exit (ERR_TOO_MANY_ARGS); } args[argCount++] = "-jar"; args[argCount++] = getConfStr("JAR_FILE"); token = strtok(getConfStr("JAR_ARGS"), " "); while (token != NULL) { if (argCount == MAX_ARGS - 1) { printf(" [ FAILED ]\n"); fprintf (stderr, "Too many args\n"); exit (ERR_TOO_MANY_ARGS); } args[argCount++] = strdup (token); token = strtok(NULL, " "); } args[argCount++] = NULL; /* Split this process in two */ pid = fork(); if (pid == -1) { printf(" [ FAILED ]\n"); fprintf(stderr, "%s: Unable to fork: "); perror(NULL); exit(ERR_FORK_FAILED); } if (pid == 0) { /* Redirect stdout to log file */ dup2(stdoutLogFile, STDOUT_FILENO); /* Redirect stderr to log file */ dup2(stderrLogFile, STDERR_FILENO); /* TODO: Support redirection of both stdout and stderr to the same file using pipe(2) */ /* Execute the command */ execv(args[0], args); fprintf(stderr, "%s: Unable to start %s %s since '%s/%s -jar %s' in %s: ", myName, getConfStr("APP_TITLE"), getConfStr("PORTVERSION"), getConfStr("JAVA_HOME"), getConfStr("JAVA_CMD"), getConfStr("JAR_FILE"), getConfStr("APP_HOME")); perror(NULL); } else { printf(" [ DONE ]\n"); writePID(file, pid); } } /** * Stops the daemon. */ void stop(void) { int file; int pid; /* Open and read the PID file */ printf(">> Reading PID file (%s)...", getConfStr("PID_FILE")); file = openPIDFile(); pid = readPID(file); printf(">> Checking if %s %s is running...", getConfStr("APP_TITLE"), getConfStr("PORTVERSION")); /* If there is a PID, see if the process still exists */ if (pid != -1) { int result = kill(pid, 0); if (result != 0 && errno == ESRCH) { ftruncate(file, (off_t) 0); pid = -1; } } /* If there is no running process, produce an error */ if (pid == -1) { printf(" [ FAILED ]\n"); fprintf(stderr, "%s: %s %s is currently not running.\n", myName, getConfStr("APP_TITLE"), getConfStr("PORTVERSION")); exit(ERR_NOT_RUNNING); } printf(" [ DONE ]\n"); /* Terminate the process */ killProcess(pid); /* Clear the PID file */ ftruncate(file, (off_t) 0); } /** * Restarts the process. If it not currently running, then it will fail. */ void restart(void) { stop(); start(); } void readConf(char* prog) { FILE* confFile; char* ptr; char confName[80]; char buf[256]; ConfNode* node; ptr = strrchr(prog, '/'); if (ptr == NULL) ptr = prog; else ptr++; myName = strdup(ptr); sprintf (confName, "/usr/local/etc/%s.conf", ptr); printf ("Reading conf file %s...\n", confName); confFile = fopen(confName, "r"); if (confFile == NULL) { fprintf (stderr, "Cannot open configuration file %s ", confName); perror(NULL); exit (ERR_CONF_FILE_OPEN); } while (fgets (buf, sizeof(buf), confFile) != NULL) { if (buf[0] == '#') continue; ptr = strchr(buf, '\n'); if (ptr == NULL) { fprintf (stderr, "Too long line: %s\n", buf); exit(ERR_CONF_FILE_ERROR); } *ptr = '\0'; ptr = strchr(buf, '='); if (ptr == NULL) { fprintf (stderr, "No equal sign found: %s\n", buf); exit (ERR_CONF_FILE_ERROR); } node = malloc(sizeof(ConfNode)); if (node == NULL) { fprintf (stderr, "Out of memory.\n"); exit (ERR_MALLOC); } *ptr = '\0'; node->name = strdup (buf); node->value = strdup(ptr + 1); node->next = confList; confList = node; } fclose (confFile); } char* getConfStr(char* name) { ConfNode* node; node = confList; while (node != NULL) { if (!strcmp(node->name, name)) return node->value; node = node->next; } fprintf (stderr, "Configuration value missing for %s\n", name); exit (ERR_CONFIG_MISSING); return NULL; } int getConfInt(char* name) { return atoi(getConfStr(name)); } --Boundary-00=_dXYe+h5We6YEeP6-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 20 4:31: 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 7D8B237B404 for ; Thu, 20 Mar 2003 04:31:02 -0800 (PST) Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 002CB43F93 for ; Thu, 20 Mar 2003 04:30:59 -0800 (PST) (envelope-from sheldonh@starjuice.net) Received: from sheldonh by axl.seasidesoftware.co.za with local (Exim 4.12) id 18vzBp-000F3s-00; Thu, 20 Mar 2003 14:30:33 +0200 Date: Thu, 20 Mar 2003 14:30:33 +0200 From: Sheldon Hearn To: Doug Poland Cc: leafy@leafy.idv.tw, freebsd-java@FreeBSD.ORG Subject: Re: Specifying jdk for tomcat 4.1.18 Message-ID: <20030320123033.GA54999@starjuice.net> Mail-Followup-To: Doug Poland , leafy@leafy.idv.tw, freebsd-java@FreeBSD.ORG References: <18118.63.104.35.130.1048108215.squirrel@email.polands.org> <3E78DDFF.7000500@cyberlifelabs.com> <32007.63.104.35.130.1048109532.squirrel@email.polands.org> <3E78E6C2.2090209@cyberlifelabs.com> <1616.172.16.1.33.1048125648.squirrel@email.polands.org> <20030320020719.GA70161@leafy.idv.tw> <1671.172.16.1.33.1048126904.squirrel@email.polands.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1671.172.16.1.33.1048126904.squirrel@email.polands.org> 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 On (2003/03/19 20:21), Doug Poland wrote: > Perhaps a knoweldgeable and kind soul can enlighten us why jdk1.3.1 > is the only jdk for use in jboss3 and tomcat41. I'm using jboss3.0.6 with the native jdk1.4.1 from ports. The problem is simply a matter of design, where the location of the VM is hardcoded into jboss3ctl: $ strings /usr/local/bin/jboss3ctl | grep java /usr/local/jdk1.4.1/bin/java jboss3ctl: Unable to stat /usr/local/jdk1.4.1/bin/java: Until such time as the port for jboss3.0.6 is adjusted to allow sensitivity to the JAVA_HOME envar, you have to live with recompiling jboss for the VM you want. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 20 4:36: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 CE20037B401 for ; Thu, 20 Mar 2003 04:36:45 -0800 (PST) Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B8DA43F93 for ; Thu, 20 Mar 2003 04:36:44 -0800 (PST) (envelope-from sheldonh@starjuice.net) Received: from sheldonh by axl.seasidesoftware.co.za with local (Exim 4.12) id 18vzHT-000FBO-00; Thu, 20 Mar 2003 14:36:23 +0200 Date: Thu, 20 Mar 2003 14:36:23 +0200 From: Sheldon Hearn To: Brent Verner Cc: Doug Poland , leafy@leafy.idv.tw, freebsd-java@FreeBSD.ORG Subject: Re: Specifying jdk for tomcat 4.1.18 Message-ID: <20030320123623.GB54999@starjuice.net> Mail-Followup-To: Brent Verner , Doug Poland , leafy@leafy.idv.tw, freebsd-java@FreeBSD.ORG References: <18118.63.104.35.130.1048108215.squirrel@email.polands.org> <3E78DDFF.7000500@cyberlifelabs.com> <32007.63.104.35.130.1048109532.squirrel@email.polands.org> <3E78E6C2.2090209@cyberlifelabs.com> <1616.172.16.1.33.1048125648.squirrel@email.polands.org> <20030320020719.GA70161@leafy.idv.tw> <1671.172.16.1.33.1048126904.squirrel@email.polands.org> <20030320041206.GA46244@rcfile.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030320041206.GA46244@rcfile.org> 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 On (2003/03/19 23:12), Brent Verner wrote: > I have begun to implement a daemonctl.c that uses a( set of xml) > config file(s) to control its actions. Why not simply modify the ctlers to honour the JAVA_HOME envar when present, otherwise behave the same as on other platforms? That way, you introduce a superset of the behaviour found on other platforms that is orthogonal with both the traditional Unix environment paradigm (envars override defaults) and also with the Java paradigm (JAVA_HOME means something special). Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 20 8:24:10 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 E118837B401 for ; Thu, 20 Mar 2003 08:24:08 -0800 (PST) Received: from a.smtp-out.sonic.net (a.smtp-out.sonic.net [208.201.224.38]) by mx1.FreeBSD.org (Postfix) with SMTP id 95F87441D4 for ; Thu, 20 Mar 2003 08:14:17 -0800 (PST) (envelope-from milo@cyberlifelabs.com) Received: (qmail 23591 invoked from network); 20 Mar 2003 16:13:26 -0000 Received: from prop.sonic.net (208.201.224.193) by a.smtp-out.sonic.net with SMTP; 20 Mar 2003 16:13:26 -0000 Received: from cyberlifelabs.com (adsl-64-142-14-252.sonic.net [64.142.14.252]) by prop.sonic.net (8.11.6/8.8.5) with ESMTP id h2KGDPs27639; Thu, 20 Mar 2003 08:13:25 -0800 X-envelope-info: Message-ID: <3E79E8A4.1020302@cyberlifelabs.com> Date: Thu, 20 Mar 2003 08:13:24 -0800 From: Milo Hyson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2.1) Gecko/20030317 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Sheldon Hearn Cc: Brent Verner , Doug Poland , leafy@leafy.idv.tw, freebsd-java@FreeBSD.ORG Subject: Re: Specifying jdk for tomcat 4.1.18 References: <18118.63.104.35.130.1048108215.squirrel@email.polands.org> <3E78DDFF.7000500@cyberlifelabs.com> <32007.63.104.35.130.1048109532.squirrel@email.polands.org> <3E78E6C2.2090209@cyberlifelabs.com> <1616.172.16.1.33.1048125648.squirrel@email.polands.org> <20030320020719.GA70161@leafy.idv.tw> <1671.172.16.1.33.1048126904.squirrel@email.polands.org> <20030320041206.GA46244@rcfile.org> <20030320123623.GB54999@starjuice.net> In-Reply-To: <20030320123623.GB54999@starjuice.net> Content-Type: text/html; 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 Sheldon Hearn wrote:
On (2003/03/19 23:12), Brent Verner wrote:

  
I have begun to implement a daemonctl.c that uses a( set of xml) 
config file(s) to control its actions.
    

Why not simply modify the ctlers to honour the JAVA_HOME envar when
present, otherwise behave the same as on other platforms?

That way, you introduce a superset of the behaviour found on other
platforms that is orthogonal with both the traditional Unix environment
paradigm (envars override defaults) and also with the Java paradigm
(JAVA_HOME means something special).

  
I agree. At the very least, I would expect a FreeBSD port to provide the option to behave like the official stock release.
-- 
Milo Hyson
CyberLife Labs
To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 20 8:29: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 8806137B401 for ; Thu, 20 Mar 2003 08:29:54 -0800 (PST) Received: from habanero.hesketh.net (habanero.hesketh.net [66.45.6.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A3F443F3F for ; Thu, 20 Mar 2003 08:29:53 -0800 (PST) (envelope-from brent@mutt.rcfile.org) X-Received-From: brent@mutt.rcfile.org X-Delivered-To: freebsd-java@FreeBSD.ORG X-Originating-IP: [66.57.229.60] Received: from mutt.rcfile.org (rdu57-229-060.nc.rr.com [66.57.229.60]) by habanero.hesketh.net (8.12.8/8.12.8) with ESMTP id h2KGTkVC019353; Thu, 20 Mar 2003 11:29:47 -0500 X-Spam-Filter: check_local@habanero.hesketh.net by digitalanswers.org Received: from mutt.rcfile.org (localhost [127.0.0.1]) by mutt.rcfile.org (8.12.8/8.12.7) with ESMTP id h2KGTqa3001998; Thu, 20 Mar 2003 11:29:52 -0500 (EST) (envelope-from brent@mutt.rcfile.org) Received: (from brent@localhost) by mutt.rcfile.org (8.12.8/8.12.8/Submit) id h2KGTpw6001997; Thu, 20 Mar 2003 11:29:51 -0500 (EST) Date: Thu, 20 Mar 2003 11:29:51 -0500 From: Brent Verner To: Milo Hyson Cc: Sheldon Hearn , Doug Poland , leafy@leafy.idv.tw, freebsd-java@FreeBSD.ORG Subject: Re: Specifying jdk for tomcat 4.1.18 Message-ID: <20030320162951.GA1608@rcfile.org> References: <18118.63.104.35.130.1048108215.squirrel@email.polands.org> <3E78DDFF.7000500@cyberlifelabs.com> <32007.63.104.35.130.1048109532.squirrel@email.polands.org> <3E78E6C2.2090209@cyberlifelabs.com> <1616.172.16.1.33.1048125648.squirrel@email.polands.org> <20030320020719.GA70161@leafy.idv.tw> <1671.172.16.1.33.1048126904.squirrel@email.polands.org> <20030320041206.GA46244@rcfile.org> <20030320123623.GB54999@starjuice.net> <3E79E8A4.1020302@cyberlifelabs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E79E8A4.1020302@cyberlifelabs.com> X-muttrc: $Id: .muttrc,v 1.10 2003/02/08 08:35:24 brent Exp $ X-uname: FreeBSD 4.8-RC #6: Thu Mar 20 02:22:17 EST 2003 root@mutt.rcfile.org:/usr/obj/usr/src/sys/MUTTS 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 [2003-03-20 08:13] Milo Hyson said: | Sheldon Hearn wrote: | | On (2003/03/19 23:12), Brent Verner wrote: | | I have begun to implement a daemonctl.c that uses a( set of xml) | config file(s) to control its actions. | | Why not simply modify the ctlers to honour the JAVA_HOME envar when | present, otherwise behave the same as on other platforms? | | That way, you introduce a superset of the behaviour found on other | platforms that is orthogonal with both the traditional Unix environment | paradigm (envars override defaults) and also with the Java paradigm | (JAVA_HOME means something special). | | I agree. At the very least, I would expect a FreeBSD port to provide the option | to behave like the official stock release. I agree wholly with (both of) you on this issue, which is why I've tried to implement a flexible setuid/setgid wrapper around the scripts used by the official releases. I only chose to use xml because I didn't want to write YACFP (yet another config file parser). The calling environment is passed to the script, so the setuid wrapper _could_ be as simple as calling thru to the /usr/local/jakarta-tomcat4.1/bin/catalina.sh script. b -- "Develop your talent, man, and leave the world something. Records are really gifts from people. To think that an artist would love you enough to share his music with anyone is a beautiful thing." -- Duane Allman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 20 9:33:52 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 2E15737B401 for ; Thu, 20 Mar 2003 09:33:51 -0800 (PST) Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3F5443F75 for ; Thu, 20 Mar 2003 09:33:45 -0800 (PST) (envelope-from sheldonh@starjuice.net) Received: from sheldonh by axl.seasidesoftware.co.za with local (Exim 4.12) id 18w3ua-000IzN-00; Thu, 20 Mar 2003 19:33:04 +0200 Date: Thu, 20 Mar 2003 19:33:04 +0200 From: Sheldon Hearn To: Milo Hyson Cc: Brent Verner , Doug Poland , leafy@leafy.idv.tw, freebsd-java@FreeBSD.ORG Subject: Re: Specifying jdk for tomcat 4.1.18 Message-ID: <20030320173304.GT54999@starjuice.net> Mail-Followup-To: Milo Hyson , Brent Verner , Doug Poland , leafy@leafy.idv.tw, freebsd-java@FreeBSD.ORG References: <18118.63.104.35.130.1048108215.squirrel@email.polands.org> <3E78DDFF.7000500@cyberlifelabs.com> <32007.63.104.35.130.1048109532.squirrel@email.polands.org> <3E78E6C2.2090209@cyberlifelabs.com> <1616.172.16.1.33.1048125648.squirrel@email.polands.org> <20030320020719.GA70161@leafy.idv.tw> <1671.172.16.1.33.1048126904.squirrel@email.polands.org> <20030320041206.GA46244@rcfile.org> <20030320123623.GB54999@starjuice.net> <3E79E8A4.1020302@cyberlifelabs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E79E8A4.1020302@cyberlifelabs.com> 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 On (2003/03/20 08:13), Milo Hyson wrote: [...HTML only...] > I agree. At the very least, I would expect a FreeBSD port to provide > the option to behave like the official stock release. Hang on, that's not what this is about. Even with the XML config file approach, *ctl could still default to the VM for which it was built in the absence of that XML file. What I'm saying is that an XML file doesn't seem justified, given that a simple, traditional solution alreayd exists for this kind of thing (an envar). Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 20 9:56:30 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 F323637B401 for ; Thu, 20 Mar 2003 09:56:28 -0800 (PST) Received: from b.smtp-out.sonic.net (b.smtp-out.sonic.net [208.201.224.39]) by mx1.FreeBSD.org (Postfix) with SMTP id 0D29B43F93 for ; Thu, 20 Mar 2003 09:56:28 -0800 (PST) (envelope-from milo@cyberlifelabs.com) Received: (qmail 19603 invoked from network); 20 Mar 2003 17:56:27 -0000 Received: from prop.sonic.net (208.201.224.193) by b.smtp-out.sonic.net with SMTP; 20 Mar 2003 17:56:27 -0000 Received: from cyberlifelabs.com (adsl-64-142-14-252.sonic.net [64.142.14.252]) by prop.sonic.net (8.11.6/8.8.5) with ESMTP id h2KHuRp21263 for ; Thu, 20 Mar 2003 09:56:27 -0800 X-envelope-info: Message-ID: <3E7A00CA.7060700@cyberlifelabs.com> Date: Thu, 20 Mar 2003 09:56:26 -0800 From: Milo Hyson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2.1) Gecko/20030317 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@FreeBSD.ORG Subject: Re: Specifying jdk for tomcat 4.1.18 References: <18118.63.104.35.130.1048108215.squirrel@email.polands.org> <3E78DDFF.7000500@cyberlifelabs.com> <32007.63.104.35.130.1048109532.squirrel@email.polands.org> <3E78E6C2.2090209@cyberlifelabs.com> <1616.172.16.1.33.1048125648.squirrel@email.polands.org> <20030320020719.GA70161@leafy.idv.tw> <1671.172.16.1.33.1048126904.squirrel@email.polands.org> <20030320041206.GA46244@rcfile.org> <20030320123623.GB54999@starjuice.net> <3E79E8A4.1020302@cyberlifelabs.com> <20030320173304.GT54999@starjuice.net> In-Reply-To: <20030320173304.GT54999@starjuice.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 Sheldon Hearn wrote: >On (2003/03/20 08:13), Milo Hyson wrote: > >[...HTML only...] > > > >>I agree. At the very least, I would expect a FreeBSD port to provide >>the option to behave like the official stock release. >> >> > >Hang on, that's not what this is about. > I disagree. The original issue in this matter was how to tell Tomcat which JVM to use (see the subject line). The FreeBSD port works differently than the stock version released by the ASF. That's a significant issue in my opinion and is directly related to the thread of discussion. -- Milo Hyson CyberLife Labs To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 20 14:53: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 7E10337B401 for ; Thu, 20 Mar 2003 14:53:46 -0800 (PST) Received: from habanero.hesketh.net (habanero.hesketh.net [66.45.6.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 315B043F75 for ; Thu, 20 Mar 2003 14:53:45 -0800 (PST) (envelope-from brent@mutt.rcfile.org) X-Received-From: brent@mutt.rcfile.org X-Delivered-To: freebsd-java@FreeBSD.ORG X-Originating-IP: [66.57.229.60] Received: from mutt.rcfile.org (rdu57-229-060.nc.rr.com [66.57.229.60]) by habanero.hesketh.net (8.12.8/8.12.8) with ESMTP id h2KMrcVC006869; Thu, 20 Mar 2003 17:53:38 -0500 X-Spam-Filter: check_local@habanero.hesketh.net by digitalanswers.org Received: from mutt.rcfile.org (localhost [127.0.0.1]) by mutt.rcfile.org (8.12.8/8.12.7) with ESMTP id h2KMrma3004374; Thu, 20 Mar 2003 17:53:48 -0500 (EST) (envelope-from brent@mutt.rcfile.org) Received: (from brent@localhost) by mutt.rcfile.org (8.12.8/8.12.8/Submit) id h2KMrlmb004373; Thu, 20 Mar 2003 17:53:47 -0500 (EST) Date: Thu, 20 Mar 2003 17:53:47 -0500 From: Brent Verner To: Milo Hyson , Doug Poland , leafy@leafy.idv.tw, freebsd-java@FreeBSD.ORG Subject: Re: Specifying jdk for tomcat 4.1.18 Message-ID: <20030320225347.GA4319@rcfile.org> References: <3E78DDFF.7000500@cyberlifelabs.com> <32007.63.104.35.130.1048109532.squirrel@email.polands.org> <3E78E6C2.2090209@cyberlifelabs.com> <1616.172.16.1.33.1048125648.squirrel@email.polands.org> <20030320020719.GA70161@leafy.idv.tw> <1671.172.16.1.33.1048126904.squirrel@email.polands.org> <20030320041206.GA46244@rcfile.org> <20030320123623.GB54999@starjuice.net> <3E79E8A4.1020302@cyberlifelabs.com> <20030320173304.GT54999@starjuice.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030320173304.GT54999@starjuice.net> X-muttrc: $Id: .muttrc,v 1.10 2003/02/08 08:35:24 brent Exp $ X-uname: FreeBSD 4.8-RC #6: Thu Mar 20 02:22:17 EST 2003 root@mutt.rcfile.org:/usr/obj/usr/src/sys/MUTTS 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 [2003-03-20 19:33] Sheldon Hearn said: | On (2003/03/20 08:13), Milo Hyson wrote: | | [...HTML only...] | | > I agree. At the very least, I would expect a FreeBSD port to provide | > the option to behave like the official stock release. | | Hang on, that's not what this is about. Even with the XML config file | approach, *ctl could still default to the VM for which it was built in | the absence of that XML file. | | What I'm saying is that an XML file doesn't seem justified, given that a | simple, traditional solution alreayd exists for this kind of thing (an | envar). The problem is a little bigger than _just_ the JAVA_HOME env issue, which is why I went the external configuration route.... (I am totally open to alternate config file formats) In the current daemonctl.c program, the service in question is started with the following C call. execl("%%JAVA_HOME%%/%%JAVA_CMD%%", "%%JAVA_HOME%%/%%JAVA_CMD%%", "-jar", %%JAVA_ARGS%% "%%JAR_FILE%%", %%JAR_ARGS%% NULL); This works for tomcat, but I wasn't able to coerce jboss to start using those same exec args; specifically, the jboss startup needs a -classpath argument pair. The problem I want to solve is how to use the official startup script(s) in a sane manner through the setuid/setgid daemonctl wrapper. b -- "Develop your talent, man, and leave the world something. Records are really gifts from people. To think that an artist would love you enough to share his music with anyone is a beautiful thing." -- Duane Allman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 20 18:12: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 3073B37B401 for ; Thu, 20 Mar 2003 18:12:39 -0800 (PST) Received: from smtp.jcnet.ad.jp (smtp.jcnet.ad.jp [218.219.80.139]) by mx1.FreeBSD.org (Postfix) with SMTP id C0AFC43F93 for ; Thu, 20 Mar 2003 18:12:37 -0800 (PST) (envelope-from westbay@seaple.icc.ne.jp) Received: (qmail 14012 invoked from network); 21 Mar 2003 11:12:36 +0900 Received: from unknown (HELO vcgw3.mta.jcnet.ad.jp) (10.1.0.99) by ml02vsv.sv.jcnet.ad.jp with SMTP; 21 Mar 2003 11:12:36 +0900 Received: from vcgw1.mta.jcnet.ad.jp (localhost [127.0.0.1]) by vcgw3.mta.jcnet.ad.jp (Postfix) with ESMTP id 028E836602 for ; Fri, 21 Mar 2003 11:12:35 +0900 (JST) Received: from seaple.icc.ne.jp (cr1-167-204.seaple.icc.ne.jp [219.117.167.204]) by vcgw1.mta.jcnet.ad.jp (Postfix) with ESMTP id 594AE57003 for ; Fri, 21 Mar 2003 11:12:35 +0900 (JST) Date: Fri, 21 Mar 2003 11:12:35 +0900 Mime-Version: 1.0 (Apple Message framework v551) Content-Type: text/plain; charset=US-ASCII; format=flowed Subject: keytool and Tomcat https under 1.4.1 From: Westbay Family To: freebsd-java@FreeBSD.ORG Content-Transfer-Encoding: 7bit Message-Id: <950A308E-5B42-11D7-A432-000A9575BE46@seaple.icc.ne.jp> 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 List, I was excited to hear that the JDK 1.4.1 was working well with Tomcat and decided to give it a try. I had no problem building JDK 1.4.1 (after unsetting the LANG variables). However, when trying to get Tomcat to run with the HTTPS connector, I've run into nothing but trouble. First of all, running % keytool -keygen -alias tomcat -keyalg RSA prompts for all the right questions then, when it should be making the .keystore, just spins its wheels at 0.00% CPU usage until the process is killed. Second, after creating a server.keystore with JDK 1.3.1 or on Mac OSX's JDK 1.4.1 (tried keystores generated from both) and modifying conf/server.xml like so: Neither 8080 (8180 for versions installed from ports) nor 8443 are accessible. There are not warnings or exceptions thrown in logs/* to indicate what is wrong. (Although if I enter keystorePass to something invalid, I do get exceptions telling me so.) Has anyone else gotten Tomcat https to work with the native JDK 1.4.1? --- 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 Mar 20 20:51: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 BD9DD37B401; Thu, 20 Mar 2003 20:51:25 -0800 (PST) Received: from nwkea-mail-1.sun.com (nwkea-mail-1.sun.com [192.18.42.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE02543F3F; Thu, 20 Mar 2003 20:51:22 -0800 (PST) (envelope-from Ranjith.Mandala@Sun.COM) Received: from ha2sca-mail1.SFBay.Sun.COM ([129.145.155.62]) by nwkea-mail-1.sun.com (8.9.3+Sun/8.9.3) with ESMTP id UAA06531; Thu, 20 Mar 2003 20:51:22 -0800 (PST) Received: from chitti-aeoo31j7 (vpn-129-150-17-178.SFBay.Sun.COM [129.150.17.178]) by ha2sca-mail1.SFBay.Sun.COM (8.11.6+Sun/8.10.2/ENSMAIL,v2.1p1) with ESMTP id h2L4pLD08509; Thu, 20 Mar 2003 20:51:21 -0800 (PST) Date: Thu, 20 Mar 2003 20:51:21 -0800 (PST) Message-ID: <7304612.1048221723460.JavaMail.Administrator@ha2sca-mail1.sfbay.sun.com> From: Ranjith Mandala To: freebsd-java@freebsd.org Subject: Re: (Review ID: 182129) HotSpot Virtual Machine Error, Internal Error Cc: java-port@freebsd.org, Ranjith.Mandala@Sun.COM 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: 182129 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 Bug Report was submitted from http://java.sun.com/cgi-bin/bugreport.cgi and is being forwarded to you on behalf of andrew@rinet.ru. 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 : runtime type : bug synopsis : HotSpot Virtual Machine Error, Internal Error description : FULL PRODUCT 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) FULL OS VERSION : FreeBSD mowgli.rinet.ru 4.7-RELEASE-p6 FreeBSD 4.7-RELEASE-p6 #0: Mon Feb 24 10:10:42 MSK 2003 andrew@mowgli.rinet.ru:/usr/src/sys/compile/UNIX i386 Linux Emulation Libraries from Red Hat Linux 7.1 A DESCRIPTION OF THE PROBLEM : Java Virtual Machine doesn't start from non-root user with following diagnosis: bash-2.05b$ /usr/contrib/linux-sun-jdk1.4.1/bin/java -version # # HotSpot Virtual Machine Error, Internal Error # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # # Java VM: Java HotSpot(TM) Client VM (1.4.1_01-b01 mixed mode) # # Error ID: 4F533F4C494E55580E43505002D7 # Abort trap (core dumped) Root invocations are successful. REPRODUCIBILITY : This bug can be reproduced always. workaround : suggested_val : cust_name : Andrew Kolchoogin cust_email : andrew@rinet.ru jdcid : keyword : webbug company : Cronyx Plus, Co. hardware : x86 OSversion : Linux bugtraqID : 0 dateCreated : 2003-03-05 08:17:51.3 dateEvaluated : 2003-03-20 21:40:52.788 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 21 7:41:13 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 4D32D37B404 for ; Fri, 21 Mar 2003 07:41:11 -0800 (PST) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B47A43F3F for ; Fri, 21 Mar 2003 07:41:08 -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 h2LHsrmJ056965; Fri, 21 Mar 2003 17:54:53 GMT Received: (from ml@localhost) by phantom.cris.net (8.12.6/8.12.2) id h2LFlmVm034732; Fri, 21 Mar 2003 17:47:48 +0200 (EET) (envelope-from ml) Date: Fri, 21 Mar 2003 17:47:48 +0200 From: Alexey Zelkin To: Westbay Family Cc: freebsd-java@FreeBSD.ORG Subject: Re: keytool and Tomcat https under 1.4.1 Message-ID: <20030321174748.A34710@phantom.cris.net> References: <950A308E-5B42-11D7-A432-000A9575BE46@seaple.icc.ne.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <950A308E-5B42-11D7-A432-000A9575BE46@seaple.icc.ne.jp>; from westbay@seaple.icc.ne.jp on Fri, Mar 21, 2003 at 11:12:35AM +0900 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, Yep. Very possible. SSL support is known to be poor as for -p3 state. I was concentrated on more priority items and did not pay it attention yet. Sorry for not saying anything positive, but until I have SSL fixed I'd not suggest you to use it. BTW, which problems you have had with LANG variable set ? On Fri, Mar 21, 2003 at 11:12:35AM +0900, Westbay Family wrote: > List, > > I was excited to hear that the JDK 1.4.1 was working well with Tomcat > and decided to give it a try. I had no problem building JDK 1.4.1 > (after unsetting the LANG variables). > > However, when trying to get Tomcat to run with the HTTPS connector, > I've run into nothing but trouble. > > First of all, running > > % keytool -keygen -alias tomcat -keyalg RSA > > prompts for all the right questions then, when it should be making the > .keystore, just spins its wheels at 0.00% CPU usage until the process > is killed. > > Second, after creating a server.keystore with JDK 1.3.1 or on Mac OSX's > JDK 1.4.1 (tried keystores generated from both) and modifying > conf/server.xml like so: > > port="8443" minProcessors="5" maxProcessors="75" > enableLookups="true" > acceptCount="100" debug="0" scheme="https" secure="true" > useURIValidationHack="false" disableUploadTimeout="true"> > className="org.apache.coyote.tomcat4.CoyoteServerSocketFactory" > clientAuth="false" protocol="TLS" > keystoreFile="conf/server.keystore" > keystorePass="changeit"/> > > > Neither 8080 (8180 for versions installed from ports) nor 8443 are > accessible. There are not warnings or exceptions thrown in logs/* to > indicate what is wrong. (Although if I enter keystorePass to something > invalid, I do get exceptions telling me so.) > > Has anyone else gotten Tomcat https to work with the native JDK 1.4.1? > > --- > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 21 8:30: 5 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 DAAE237B401 for ; Fri, 21 Mar 2003 08:30:03 -0800 (PST) Received: from mailgw.cscoms.com (mailgw.cscoms.com [202.183.255.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D78043F3F for ; Fri, 21 Mar 2003 08:30:01 -0800 (PST) (envelope-from FreeBooklet@thaimail.com) Received: from cscoms.com (mail.cscoms.com [202.183.255.23]) by mailgw.cscoms.com (8.12.8/8.12.3) with ESMTP id h2LGTfER029190; Fri, 21 Mar 2003 23:29:42 +0700 (ICT) Received: from ME (dial-49.ras-7.bkk.c.cscoms.com [203.170.129.49]) by cscoms.com (8.12.8/8.12.3) with SMTP id h2LGOcwo013940; Fri, 21 Mar 2003 23:24:40 +0700 (GMT) Date: Fri, 21 Mar 2003 23:24:38 +0700 (GMT) Message-Id: <200303211624.h2LGOcwo013940@cscoms.com> From: FreeBooklet@thaimail.com Subject: แจกฟรี ! หนังสือคู่มือคนเคยจน สำหรับผู้สนใจ.... X-Priority: 1 (Highest) Reply-To: FreeBooklet@thaimail.com X-Mailer: Microsoft Outlook Express 5.00.2615.200 MIME-Version: 1.0 Content-type: multipart/mixed; boundary="#MYBOUNDARY#" X-Virus-Scanned: by amavisd-milter (http://amavis.org/) To: undisclosed-recipients: ; 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 --#MYBOUNDARY# Content-Type: text/plain; charset=ansi Content-Transfer-Encoding: 8bit >>>>ทำงานที่ยากที่สุดก่อน >>>> >>ผมยิ่งมีชีวิตอยู่นานเท่าไหร่ ผมยิ่งมั่นใจมากขึ้นเท่านั้น >>ว่าความแตกต่างอันยิ่งใหญ่ระหว่างมนุษย์... >>ระหว่าคนที่อ่อนแอและคนทีอำนาจ....... >>ระหว่างคนที่ยิ่งใหญ่และคนที่ไม่สำคัญ ก็คือ >>เรี่ยวแรงของ....ความตั้งใจแน่วแน่ที่ไม่อาจทำลายได้.... >>จุดประสงค์ที่เมื่อตั้งขึ้นแล้ว ถ้าไม่ตายก็ต้องชนะ >>-เซอร์โธมัส ฟาวเวล บั๊กซ์ตัน >>หนึ่งในเทคนิคที่ดีที่สุดในการเอาชนะนิสัยผัดวันประกันพรุ่ง >>และทำงานได้มากขึ้นและเร็วขึ้นก็คือลงมือทำงานที่ยากที่สุดของคุณก่อน >>นี่คือการ " กินกบของคุณ " ที่แท้จริง มันเป็นทักษะส่วนบุคคลในการบริหาร >>ที่ยากที่สุดและสำคัญที่สุดเริ่มต้นตอนเช้าด้วยงานที่ใหญ่ที่สุดและสำคัญที่สุด >>คือ สิ่งตรงข้ามกับที่คนส่วนใหญ่ทำ ระเบียบวินัยนี้จะทำให้คุณเลิกนิสัย ผัดวัน >>ประกันพรุ่งและทำให้อนาคตอยู่ในกำมือคุณ >>>>>>>>การเริ่มต้นแต่ละวันด้วยงานที่ยากที่สุดเป็นการเริ่มต้นแบบก้าวกระโดด >>ที่ดี คุณจะมีไฟมากขึ้น และจะทำงานได้ผลดีมากขึ้น >>>>>>>>ในวันที่คุณเริ่มลงมือทำงานสำคัญโดยทันทีทันควัน คุณจะรู้สึกดีกับตัว >>คุณเองและกับงานของคุณมากกว่าคนอื่นๆ คุณจะรู้สึกมีอำนาจมากขึ้น ควบคุม >>ตัวเองได้มากขึ้นและรับผิดชอบดูแลชีวิตตัวเองได้มากกว่าเวลาอื่น >>>>>>>สร้างนิสัยเริ่มทำงานที่ยากที่สุดก่อนแล้วคุณจะไม่ต้องมองย้อนกลับ >>คุณจะกลายเป็น หนึ่งในคนที่มีประสิทธิภาพมากที่สุดในคนรุ่นคุณ............... >>กินกบตัวนั้นซะ!!! จงมองตัวเองว่าเป็นงานที่กำลังคืบหน้า จงเทใจให้กับการเพาะนิสัย >>เป็นคนมีผลงานสูงด้วยการฝึกซ้ำแล้วซ้ำเล่าจนกระทั่งมันกลายเป็นเรื่องอัตโนมัติและ >>กลายเป็นเรื่องง่าย >>>>>>>>หนึ่งในวลีที่มีอนุภาพมากที่สุดซึ่งคุณสามารถเรียนรู้และนำมาใช้ได้ก็คือ >>" เพื่อวันนี้เท่านั้น! "อย่าวิตกเรื่องการเปลี่ยนแปลงชีวิตตัวเอง ถ้ามันฟังเหมือนเป็น >>ความคิดที่ดี จงทำมัน" เพื่อวันนี้เท่านั้น" >>>>>>>>บอกกับตัวเองว่า " เพื่อวันนี้เท่านั้น ฉันจะวางแผนเตรียมการ และเริ่มต้นงาน >>ที่ยากที่สุดก่อนจะทำอย่างอื่น "แล้วคุณจะต้องทึ่งกับความแตกต่างที่เกิดขึ้นในชีวิตคุณ ---------------------------------------------------------------------------------------------- คุณ พร้อมแล้วรึยัง กับรูปแบบการทำงานง่ายๆจากที่บ้าน Click Here! www.geocities.com/thaigetrich/easywork , หรือ Tel. 0-2277-7850 กด 25 ----------------------------------------------------------------------------------------------- ขออภัยหากเป็นการรบกวน และหากไม่ต้องการให้ส่งข่าวสารมายังท่านอีก กรุณาเมลล์มาที่ easywork@maildozy.com หัวข้อ unsub --#MYBOUNDARY#-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 21 8:37:21 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 4A76D37B401; Fri, 21 Mar 2003 08:37:16 -0800 (PST) Received: from mailgw.cscoms.com (mailgw.cscoms.com [202.183.255.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id D187143FBD; Fri, 21 Mar 2003 08:37:14 -0800 (PST) (envelope-from FreeBooklet@thaimail.com) Received: from cscoms.com (mail.cscoms.com [202.183.255.23]) by mailgw.cscoms.com (8.12.8/8.12.3) with ESMTP id h2LGZNET032253; Fri, 21 Mar 2003 23:35:37 +0700 (ICT) Received: from ME (dial-49.ras-7.bkk.c.cscoms.com [203.170.129.49]) by cscoms.com (8.12.8/8.12.3) with SMTP id h2LGV3wo017051; Fri, 21 Mar 2003 23:31:07 +0700 (GMT) Date: Fri, 21 Mar 2003 23:31:03 +0700 (GMT) Message-Id: <200303211631.h2LGV3wo017051@cscoms.com> From: FreeBooklet@thaimail.com Subject: แจกฟรี ! หนังสือคู่มือคนเคยจน สำหรับผู้สนใจ.... X-Priority: 1 (Highest) Reply-To: FreeBooklet@thaimail.com X-Mailer: Microsoft Outlook Express 5.00.2615.200 MIME-Version: 1.0 Content-type: multipart/mixed; boundary="#MYBOUNDARY#" X-Virus-Scanned: by amavisd-milter (http://amavis.org/) To: undisclosed-recipients: ; 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 --#MYBOUNDARY# Content-Type: text/plain; charset=ansi Content-Transfer-Encoding: 8bit >>>>ทำงานที่ยากที่สุดก่อน >>>> >>ผมยิ่งมีชีวิตอยู่นานเท่าไหร่ ผมยิ่งมั่นใจมากขึ้นเท่านั้น >>ว่าความแตกต่างอันยิ่งใหญ่ระหว่างมนุษย์... >>ระหว่าคนที่อ่อนแอและคนทีอำนาจ....... >>ระหว่างคนที่ยิ่งใหญ่และคนที่ไม่สำคัญ ก็คือ >>เรี่ยวแรงของ....ความตั้งใจแน่วแน่ที่ไม่อาจทำลายได้.... >>จุดประสงค์ที่เมื่อตั้งขึ้นแล้ว ถ้าไม่ตายก็ต้องชนะ >>-เซอร์โธมัส ฟาวเวล บั๊กซ์ตัน >>หนึ่งในเทคนิคที่ดีที่สุดในการเอาชนะนิสัยผัดวันประกันพรุ่ง >>และทำงานได้มากขึ้นและเร็วขึ้นก็คือลงมือทำงานที่ยากที่สุดของคุณก่อน >>นี่คือการ " กินกบของคุณ " ที่แท้จริง มันเป็นทักษะส่วนบุคคลในการบริหาร >>ที่ยากที่สุดและสำคัญที่สุดเริ่มต้นตอนเช้าด้วยงานที่ใหญ่ที่สุดและสำคัญที่สุด >>คือ สิ่งตรงข้ามกับที่คนส่วนใหญ่ทำ ระเบียบวินัยนี้จะทำให้คุณเลิกนิสัย ผัดวัน >>ประกันพรุ่งและทำให้อนาคตอยู่ในกำมือคุณ >>>>>>>>การเริ่มต้นแต่ละวันด้วยงานที่ยากที่สุดเป็นการเริ่มต้นแบบก้าวกระโดด >>ที่ดี คุณจะมีไฟมากขึ้น และจะทำงานได้ผลดีมากขึ้น >>>>>>>>ในวันที่คุณเริ่มลงมือทำงานสำคัญโดยทันทีทันควัน คุณจะรู้สึกดีกับตัว >>คุณเองและกับงานของคุณมากกว่าคนอื่นๆ คุณจะรู้สึกมีอำนาจมากขึ้น ควบคุม >>ตัวเองได้มากขึ้นและรับผิดชอบดูแลชีวิตตัวเองได้มากกว่าเวลาอื่น >>>>>>>สร้างนิสัยเริ่มทำงานที่ยากที่สุดก่อนแล้วคุณจะไม่ต้องมองย้อนกลับ >>คุณจะกลายเป็น หนึ่งในคนที่มีประสิทธิภาพมากที่สุดในคนรุ่นคุณ............... >>กินกบตัวนั้นซะ!!! จงมองตัวเองว่าเป็นงานที่กำลังคืบหน้า จงเทใจให้กับการเพาะนิสัย >>เป็นคนมีผลงานสูงด้วยการฝึกซ้ำแล้วซ้ำเล่าจนกระทั่งมันกลายเป็นเรื่องอัตโนมัติและ >>กลายเป็นเรื่องง่าย >>>>>>>>หนึ่งในวลีที่มีอนุภาพมากที่สุดซึ่งคุณสามารถเรียนรู้และนำมาใช้ได้ก็คือ >>" เพื่อวันนี้เท่านั้น! "อย่าวิตกเรื่องการเปลี่ยนแปลงชีวิตตัวเอง ถ้ามันฟังเหมือนเป็น >>ความคิดที่ดี จงทำมัน" เพื่อวันนี้เท่านั้น" >>>>>>>>บอกกับตัวเองว่า " เพื่อวันนี้เท่านั้น ฉันจะวางแผนเตรียมการ และเริ่มต้นงาน >>ที่ยากที่สุดก่อนจะทำอย่างอื่น "แล้วคุณจะต้องทึ่งกับความแตกต่างที่เกิดขึ้นในชีวิตคุณ ---------------------------------------------------------------------------------------------- คุณ พร้อมแล้วรึยัง กับรูปแบบการทำงานง่ายๆจากที่บ้าน Click Here! www.geocities.com/thaigetrich/easywork , หรือ Tel. 0-2277-7850 กด 25 ----------------------------------------------------------------------------------------------- ขออภัยหากเป็นการรบกวน และหากไม่ต้องการให้ส่งข่าวสารมายังท่านอีก กรุณาเมลล์มาที่ easywork@maildozy.com หัวข้อ unsub --#MYBOUNDARY#-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 21 11: 3: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 AE30237B401 for ; Fri, 21 Mar 2003 11:03:43 -0800 (PST) Received: from zeus.cairodurham.org (zeus.cairodurham.org [209.23.60.35]) by mx1.FreeBSD.org (Postfix) with SMTP id B1FC743FA3 for ; Fri, 21 Mar 2003 11:03:42 -0800 (PST) (envelope-from knichel@cairodurham.org) Received: (qmail 28514 invoked from network); 21 Mar 2003 19:03:42 -0000 Received: from localhost (127.0.0.1) by localhost with SMTP; 21 Mar 2003 19:03:42 -0000 Date: Fri, 21 Mar 2003 14:03:41 -0500 (EST) From: Mike Knichel X-X-Sender: knichel@zeus To: freebsd-java@freebsd.org Subject: Trouble installing jdk 1.3.1 Message-ID: <20030321140159.T28303-100000@zeus> 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 am trying to install jdk1.3.1 on Freebsd 4.7 and am having no luck. I downloaded the patchset 8 and the source file from sun and when I try a make install, I get a bunch of messages similar to this one... Patching file hotspot1.3.1/build/bsd/platform_i486 using Plan A... Hunk #1 succeeded at 1. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -u -N -r --exclude=CVS javasrc_1_3_scsl.orig/hotspot1.3.1/build/bsd/platform_i486_info.txt javasrc_1_3_scsl/hotspot1.3.1/build/bsd/platform_i486_info.txt |--- hotspot1.3.1/build/bsd/platform_i486_info.txt Thu Jan 1 09:30:00 1970 |+++ hotspot1.3.1/build/bsd/platform_i486_info.txt Wed Jan 16 11:05:39 2002 -------------------------- then i get a message asking me ... File to patch: I do not know what file it is asking for? -- ______________________________________________________ | | | Mike Knichel Math Teacher | | knichel@cairodurham.org Computer Science Teacher | | 518-622-0490 x614 Apple Service Provider | |_____________________________________________________| To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 21 12:29: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 269EE37B401 for ; Fri, 21 Mar 2003 12:29:59 -0800 (PST) Received: from ftp.translate.ru (ftp.translate.ru [195.131.4.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33E8E43FCB for ; Fri, 21 Mar 2003 12:29:57 -0800 (PST) (envelope-from lev@serebryakov.spb.ru) Received: from lev (ip121-220.dialup.wplus.net [195.131.121.220]) (authenticated bits=0) by ftp.translate.ru (8.12.6/8.12.6) with ESMTP id h2LKWPG1086887 for ; Fri, 21 Mar 2003 23:32:26 +0300 (MSK) (envelope-from lev@serebryakov.spb.ru) Date: Fri, 21 Mar 2003 23:32:40 +0300 From: Lev Serebryakov X-Mailer: The Bat! (v1.53d) Reply-To: Lev Serebryakov Organization: Home X-Priority: 3 (Normal) Message-ID: <011774656.20030321233240@serebryakov.spb.ru> To: freebsd-java@FreeBSD.ORG Subject: Alternative VMs? MIME-Version: 1.0 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 Hello, freebsd-java! How are you? Does somebody use alternative Java VMs? SableVM for example? Is it useful replacement for SUN/IBM JDK? Lev Serebryakov /-----------------------------------------------\ | FIDONet: 2:5030/661.0 | | E-Mail: lev@serebryakov.spb.ru | | Page: http://lev.serebryakov.spb.ru/ | | ICQ UIN: 3670018 | | Phone: You know, if you have world nodelist | \===============================================/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 21 16:36: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 C749E37B401 for ; Fri, 21 Mar 2003 16:36:30 -0800 (PST) Received: from smtp.jcnet.ad.jp (smtp.jcnet.ad.jp [218.219.80.139]) by mx1.FreeBSD.org (Postfix) with SMTP id 7955943F85 for ; Fri, 21 Mar 2003 16:36:29 -0800 (PST) (envelope-from westbay@seaple.icc.ne.jp) Received: (qmail 10036 invoked from network); 22 Mar 2003 09:36:28 +0900 Received: from unknown (HELO vcgw3.mta.jcnet.ad.jp) (10.1.0.99) by ml01vsv.sv.jcnet.ad.jp with SMTP; 22 Mar 2003 09:36:28 +0900 Received: from vcgw1.mta.jcnet.ad.jp (localhost [127.0.0.1]) by vcgw3.mta.jcnet.ad.jp (Postfix) with ESMTP id 4303136602 for ; Sat, 22 Mar 2003 09:36:28 +0900 (JST) Received: from seaple.icc.ne.jp (cr1-167-204.seaple.icc.ne.jp [219.117.167.204]) by vcgw1.mta.jcnet.ad.jp (Postfix) with ESMTP id C884457003 for ; Sat, 22 Mar 2003 09:36:27 +0900 (JST) Date: Sat, 22 Mar 2003 09:36:27 +0900 Subject: Re: keytool and Tomcat https under 1.4.1 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v551) From: Westbay Family To: freebsd-java@FreeBSD.ORG Content-Transfer-Encoding: 7bit In-Reply-To: <20030321174748.A34710@phantom.cris.net> Message-Id: <516F9055-5BFE-11D7-A432-000A9575BE46@seaple.icc.ne.jp> 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 > Yep. Very possible. SSL support is known to be poor as for -p3 state. > I was concentrated on more priority items and did not pay it attention > yet. OK. It's a known problem, then. Guess I'll need to find a work around if I want to use it. > BTW, which problems you have had with LANG variable set ? The first attempt to build (with LANG set to ja_JP.EUC) failed. I read the BUILD file which suggested I unset LANG, JAVA_HOME, and CLASSPATH. To be safe, I unset LC_ALL and LC_MESSAGES as well. I thought it was you who said a while back that locale wasn't taken into account for the current patch set and figured that it had something to do with having to unset LANG to build. It's not that pressing a problem. Thanks for confirming that SSL is a known problem. Take care. --- 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 Sat Mar 22 4:59: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 D2AB837B401 for ; Sat, 22 Mar 2003 04:59:19 -0800 (PST) Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B8D843FA3 for ; Sat, 22 Mar 2003 04:59:17 -0800 (PST) (envelope-from sheldonh@starjuice.net) Received: from sheldonh by axl.seasidesoftware.co.za with local (Exim 4.12) id 18wiad-0000El-00; Sat, 22 Mar 2003 14:59:11 +0200 Date: Sat, 22 Mar 2003 14:59:11 +0200 From: Sheldon Hearn To: Milo Hyson Cc: freebsd-java@FreeBSD.ORG Subject: Re: Specifying jdk for tomcat 4.1.18 Message-ID: <20030322125911.GA740@starjuice.net> Mail-Followup-To: Milo Hyson , freebsd-java@FreeBSD.ORG References: <32007.63.104.35.130.1048109532.squirrel@email.polands.org> <3E78E6C2.2090209@cyberlifelabs.com> <1616.172.16.1.33.1048125648.squirrel@email.polands.org> <20030320020719.GA70161@leafy.idv.tw> <1671.172.16.1.33.1048126904.squirrel@email.polands.org> <20030320041206.GA46244@rcfile.org> <20030320123623.GB54999@starjuice.net> <3E79E8A4.1020302@cyberlifelabs.com> <20030320173304.GT54999@starjuice.net> <3E7A00CA.7060700@cyberlifelabs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E7A00CA.7060700@cyberlifelabs.com> 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 On (2003/03/20 09:56), Milo Hyson wrote: > >>I agree. At the very least, I would expect a FreeBSD port to provide > >>the option to behave like the official stock release. > > > >Hang on, that's not what this is about. > > > I disagree. You're entitled to disagree, but at least take the time to read the entire post to which you respond when you do so. You went on to argue against a point I didn't make. :-) > The original issue in this matter was how to tell Tomcat which JVM to > use (see the subject line). The FreeBSD port works differently than > the stock version released by the ASF. The proposition I put forward would result in the software working very much like the standard distribution, while the additional functionality that several people have requested was made available in a traditional and familiar fashion. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Mar 22 14:10:53 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 8931937B401 for ; Sat, 22 Mar 2003 14:10:52 -0800 (PST) Received: from mx0.gmx.net (mx0.gmx.de [213.165.64.100]) by mx1.FreeBSD.org (Postfix) with SMTP id E7A4643FAF for ; Sat, 22 Mar 2003 14:10:46 -0800 (PST) (envelope-from JtRipper@gmx.net) Received: (qmail 9180 invoked by uid 0); 22 Mar 2003 22:10:45 -0000 Date: Sat, 22 Mar 2003 23:10:45 +0100 (MET) From: Andrew Mace To: freebsd-java@FreeBSD.ORG MIME-Version: 1.0 Subject: How to switch tomcat41ctl to use jdk1.4.1? X-Priority: 3 (Normal) X-Authenticated-Sender: #0000353824@gmx.net X-Authenticated-IP: [62.225.225.106] Message-ID: <30797.1048371045@www32.gmx.net> X-Mailer: WWW-Mail 1.6 (Global Message Exchange) X-Flags: 0001 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 Hello there, can anybody tell me how I can switch tomcat41 from the ports to use /usr/local/jdk1.4.1 instead of /usr/local/jdk1.2.2? Thanks in advance Andrew -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte lไcheln! Fotogalerie online mit GMX ohne eigene Homepage! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Mar 22 15:19:16 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 C919937B404 for ; Sat, 22 Mar 2003 15:19:14 -0800 (PST) Received: from misery.sdf.com (misery.sdf.com [207.200.153.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3053143F75 for ; Sat, 22 Mar 2003 15:19:12 -0800 (PST) (envelope-from tom@sdf.com) Received: from tom (helo=localhost) by misery.sdf.com with local-esmtp (Exim 2.12 #1) id 18wqld-00041S-00; Sat, 22 Mar 2003 13:43:05 -0800 Date: Sat, 22 Mar 2003 13:43:02 -0800 (PST) From: Tom Samplonius To: Westbay Family Cc: freebsd-java@FreeBSD.ORG Subject: Re: keytool and Tomcat https under 1.4.1 In-Reply-To: <516F9055-5BFE-11D7-A432-000A9575BE46@seaple.icc.ne.jp> 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 Disable the port's silly startup script in /usr/local/etc/rc.d, and use Tomcat's own startup script startup.sh in the bin directory. See the Tomcat install docs. In many cases, "ports" of Java applications is needless. The binary is cross-platform already. And wrapping the app in a undocumented propietary startup script isn't helping anyone. Most people are going to better off downloading the Tomcat binary from http://jakarta.apache.org than using the FreeBSD port. Just untar it, and run startup.sh. Tom On Sat, 22 Mar 2003, Westbay Family wrote: > > Yep. Very possible. SSL support is known to be poor as for -p3 state. > > I was concentrated on more priority items and did not pay it attention > > yet. > > OK. It's a known problem, then. Guess I'll need to find a work around > if I want to use it. > > > BTW, which problems you have had with LANG variable set ? > > The first attempt to build (with LANG set to ja_JP.EUC) failed. I read > the BUILD file which suggested I unset LANG, JAVA_HOME, and CLASSPATH. > To be safe, I unset LC_ALL and LC_MESSAGES as well. > > I thought it was you who said a while back that locale wasn't taken > into account for the current patch set and figured that it had > something to do with having to unset LANG to build. It's not that > pressing a problem. > > Thanks for confirming that SSL is a known problem. > > Take care. > > --- > 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 > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Mar 22 15:55: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 BAC5737B401 for ; Sat, 22 Mar 2003 15:55:10 -0800 (PST) Received: from galilee.polands.org (new-24-208-57-240.new.rr.com [24.208.57.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3319743FBD for ; Sat, 22 Mar 2003 15:55:09 -0800 (PST) (envelope-from djp@polands.org) Received: from babylon.polands.org (babylon.polands.org [172.16.1.16]) by galilee.polands.org (8.12.6/8.12.6) with ESMTP id h2MNt7Dh068233; Sat, 22 Mar 2003 17:55:08 -0600 (CST) (envelope-from djp@galilee.polands.org) Received: from babylon.polands.org (localhost.polands.org [127.0.0.1]) by babylon.polands.org (8.12.6/8.12.6) with ESMTP id h2MNt7ge052876; Sat, 22 Mar 2003 17:55:07 -0600 (CST) (envelope-from djp@babylon.polands.org) Received: (from djp@localhost) by babylon.polands.org (8.12.6/8.12.6/Submit) id h2MNt6rI052875; Sat, 22 Mar 2003 17:55:06 -0600 (CST) Date: Sat, 22 Mar 2003 17:55:06 -0600 From: Doug Poland To: Andrew Mace Cc: freebsd-java@FreeBSD.ORG Subject: Re: How to switch tomcat41ctl to use jdk1.4.1? Message-ID: <20030322235506.GA52856@babylon.polands.org> References: <30797.1048371045@www32.gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <30797.1048371045@www32.gmx.net> User-Agent: Mutt/1.3.27i 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 Sat, Mar 22, 2003 at 11:10:45PM +0100, Andrew Mace wrote: > Hello there, > can anybody tell me how I can switch tomcat41 from the ports to use > /usr/local/jdk1.4.1 instead of /usr/local/jdk1.2.2? > Thanks in advance > Andrew > http://groups.google.com/groups?dq=&hl=en&lr=&ie=UTF-8&oe=UTF-8&frame=right&th=8803588dbd11b4b5&seekm=b5amc3%24fvu%241%40FreeBSD.csie.NCTU.edu.tw#link1 -- Regards, Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Mar 22 19: 8: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 4DB6F37B401 for ; Sat, 22 Mar 2003 19:08:33 -0800 (PST) Received: from smtp.jcnet.ad.jp (smtp.jcnet.ad.jp [218.219.80.139]) by mx1.FreeBSD.org (Postfix) with SMTP id 1ACDE43FDD for ; Sat, 22 Mar 2003 19:08:32 -0800 (PST) (envelope-from westbay@seaple.icc.ne.jp) Received: (qmail 9180 invoked from network); 23 Mar 2003 12:08:30 +0900 Received: from unknown (HELO vcgw3.mta.jcnet.ad.jp) (10.1.0.99) by ml02vsv.sv.jcnet.ad.jp with SMTP; 23 Mar 2003 12:08:30 +0900 Received: from vcgw1.mta.jcnet.ad.jp (localhost [127.0.0.1]) by vcgw3.mta.jcnet.ad.jp (Postfix) with ESMTP id 5852436602 for ; Sun, 23 Mar 2003 12:08:30 +0900 (JST) Received: from seaple.icc.ne.jp (cr1-167-204.seaple.icc.ne.jp [219.117.167.204]) by vcgw1.mta.jcnet.ad.jp (Postfix) with ESMTP id C7E6A57005 for ; Sun, 23 Mar 2003 12:08:29 +0900 (JST) Date: Sun, 23 Mar 2003 12:08:30 +0900 Subject: Re: keytool and Tomcat https under 1.4.1 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v551) From: Westbay Family To: freebsd-java@FreeBSD.ORG Content-Transfer-Encoding: 7bit In-Reply-To: Message-Id: 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.3.23, at 06:43 AM, Tom Samplonius-san wrote: > Disable the port's silly startup script in /usr/local/etc/rc.d, and > use > Tomcat's own startup script startup.sh in the bin directory. See the > Tomcat install docs. I was using the startup scripts that came with both the jakarta-tomcat-4.1.21-LE-jdk14 and jakarta-tomcat4.1.[18|24]. The problem, as confirmed by Zelkin-san is with SSL in the JDK 1.4.1 current patch set. JDK 1.4.1 works fine when I leave the HTTPS connector off in conf/server.xml. SSL works fine with the HTTPS connector on using JDK 1.3.1. > In many cases, "ports" of Java applications is needless. The binary > is > cross-platform already. And wrapping the app in a undocumented > propietary startup script isn't helping anyone. Actually, I like the tomcat41ctl script as it allows me to run Tomcat with the unprivileged www account. It may not be the pinnacle of safety, but it's something. If you know of a better way run with the standard scripts as a user without a shell account, I'd like to know about it. Learning jail is on my list of things to do, but thanks to tomcat41ctl, it isn't that high at the moment. > Most people are going to > better off downloading the Tomcat binary from http://jakarta.apache.org > than using the FreeBSD port. Just untar it, and run startup.sh. Agreed. One can keep more up to date by downloading the most recent version. Just rename its directory to /usr/local/jakarta-tomcat4.1 without uninstalling a previous port install and one can still use tomcat41ctl to run it as the www user. I like the various alternatives that have been proposed that are configurable. --- 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