From owner-freebsd-java Sun Mar 4 8: 5:44 2001 Delivered-To: freebsd-java@freebsd.org Received: from cypherpunks.ai (cypherpunks.ai [209.88.68.47]) by hub.freebsd.org (Postfix) with ESMTP id 4385437B71A for ; Sun, 4 Mar 2001 08:05:41 -0800 (PST) (envelope-from jeroen@vangelderen.org) Received: from vangelderen.org (grolsch.ai [209.88.68.214]) by cypherpunks.ai (Postfix) with ESMTP id 1354C50; Sun, 4 Mar 2001 12:05:38 -0400 (AST) Message-ID: <3AA267D2.B0F03A22@vangelderen.org> Date: Sun, 04 Mar 2001 12:05:38 -0400 From: "Jeroen C. van Gelderen" X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: FreeBSD Java Cc: Ari Suutari , Nate Williams , Greg Lewis Subject: Thanks! [Was: Are syscall wrappers needed in JNI?] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I am pleased to tell you that I got my Unix domain sockets to work. Thanks Ari, Greg and Nate for the clarifications that are so neccessary to mitigate the horror of programming the poorly documented JNI ;-) I settled for calling the JVM_* functions in libjava.so (except for bind which is not wrapped by the JVM and safe to call directly). Reason for this is that this approach will make the linker fail when a wrapped function is not available and I prefer that over having it silently link directly to the unwrapped libc call. The code needs a little more polishing and I need to write a new unit test still. I should be able to release (unsupported code with a BSD or BeerWare license) the stuff within a week for those who might be interested. Cheers, Jeroen -- Jeroen C. van Gelderen - jeroen@vangelderen.org "If I could save the Union without freeing any slave I would do it; and if I could save it by freeing some and leaving others alone I would also do that." -- Abraham Lincoln, August 22, 1862 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Mar 4 23:36:27 2001 Delivered-To: freebsd-java@freebsd.org Received: from osku.suutari.iki.fi (osku.syncrontech.com [213.28.98.4]) by hub.freebsd.org (Postfix) with ESMTP id 1457137B719 for ; Sun, 4 Mar 2001 23:36:19 -0800 (PST) (envelope-from ari@suutari.iki.fi) Received: from coffee (adsl-nat.syncrontech.com [213.28.98.3]) by osku.suutari.iki.fi (8.9.3/8.9.3) with SMTP id JAA30147; Mon, 5 Mar 2001 09:36:09 +0200 (EET) (envelope-from ari@suutari.iki.fi) Message-ID: <000e01c0a547$04859be0$0e05a8c0@coffee> From: "Ari Suutari" To: "Peter Eccles" , References: <20010228194546.A58208@mirriwinni.cse.rmit.edu.au> Subject: Re: current commmapi native drivers (patches included) Date: Mon, 5 Mar 2001 09:36:38 +0200 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_000B_01C0A557.C6D9BC70" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. ------=_NextPart_000_000B_01C0A557.C6D9BC70 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi again, > Ive seen messages on this list about patches, but haven't found any > references to where they might be found. > Here are patches for FreeBSD CommAPI that replace select with poll. They also change serial parameters so that instead of reading one character at time inter-character timer is used to bursts of characters (which should be more efficient). I have been using this version with native FreeBSD jdk 1.2.2 for some time and it seems to work OK. Ari S. ------=_NextPart_000_000B_01C0A557.C6D9BC70 Content-Type: application/octet-stream; name="commapi.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="commapi.patch" *** orig/FreeBSD_CommAPI/src/org/freebsd/io/comm/libSerial.c Mon Jul 19 = 11:45:04 1999=0A= --- FreeBSD_CommAPI/src/org/freebsd/io/comm/libSerial.c Mon Mar 5 = 17:21:42 2001=0A= ***************=0A= *** 38,43 ****=0A= --- 38,44 ----=0A= #include =0A= #include =0A= #include =0A= + #include =0A= #include =0A= #include =0A= #include =0A= ***************=0A= *** 579,588 ****=0A= { =0A= int state,old_state;=0A= int fd;=0A= - fd_set rfds;=0A= - struct timeval sleep;=0A= int size;=0A= int ret;=0A= =0A= jfieldID jfield; =0A= jmethodID method, interrupt;=0A= --- 580,588 ----=0A= { =0A= int state,old_state;=0A= int fd;=0A= int size;=0A= int ret;=0A= + struct pollfd pf;=0A= =0A= jfieldID jfield; =0A= jmethodID method, interrupt;=0A= ***************=0A= *** 595,613 ****=0A= jthread =3D (*env)->FindClass( env, "java/lang/Thread" );=0A= interrupt =3D (*env)->GetStaticMethodID( env, jthread, = "interrupted", "()Z" );=0A= = =0A= ! FD_ZERO( &rfds );=0A= ! FD_SET( fd, &rfds );=0A= ! sleep.tv_sec =3D 1; /* Check every 1 second, or on receive = data */=0A= ! sleep.tv_usec =3D 0;=0A= =0A= /* Initialization of the current tty state */=0A= ioctl( fd, TIOCMGET, &old_state); = =0A= =0A= while( !interrupted ) =0A= {=0A= do =0A= {=0A= ! ret=3Dselect( fd + 1, &rfds, NULL, NULL, &sleep );=0A= } =0A= while ( (ret < 0) && (errno=3D=3DEINTR));=0A= =0A= --- 595,615 ----=0A= jthread =3D (*env)->FindClass( env, "java/lang/Thread" );=0A= interrupt =3D (*env)->GetStaticMethodID( env, jthread, = "interrupted", "()Z" );=0A= = =0A= ! pf.fd =3D fd;=0A= ! pf.events =3D POLLIN;=0A= ! pf.revents =3D POLLIN;=0A= =0A= /* Initialization of the current tty state */=0A= ioctl( fd, TIOCMGET, &old_state); = =0A= =0A= while( !interrupted ) =0A= {=0A= + /*=0A= + * Let other threads do their work.=0A= + */=0A= do =0A= {=0A= ! ret =3D poll (&pf, 1, 1000);=0A= } =0A= while ( (ret < 0) && (errno=3D=3DEINTR));=0A= =0A= ------=_NextPart_000_000B_01C0A557.C6D9BC70-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 5 0: 0:52 2001 Delivered-To: freebsd-java@freebsd.org Received: from tinker.com (troll.tinker.com [216.91.221.226]) by hub.freebsd.org (Postfix) with ESMTP id A061B37B71A for ; Mon, 5 Mar 2001 00:00:49 -0800 (PST) (envelope-from kim@tinker.com) Received: by localhost (8.8.5/8.8.5) Received: by mail.tinker.com via smap (V2.0) id xma012129; Mon Mar 5 01:56:11 2001 Received: by localhost (8.8.8/8.8.8) id BAA20404 for ; Mon, 5 Mar 2001 01:58:27 -0600 (CST) Message-ID: <3AA3470B.BE13EFD9@tinker.com> Date: Mon, 05 Mar 2001 01:58:03 -0600 From: Kim Shrier Organization: Shrier and Deihl X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: where is jdk1.2.2-src.tar.gz Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, when I go to http://www.sun.com/software/communitysource/java2/ and try to pick up the jdk1.2.2-src.tar.gz file, I get bounced around between about a dozen servers, each one reporting: HTTP/1.1 302 Moved Temporarily Is there somewhere else I con get this file from? Thanks, Kim -- Kim Shrier - principal, Shrier and Deihl - mailto:kim@tinker.com Remote Unix Network Admin, Security, Internet Software Development Tinker Internet Services - Superior FreeBSD-based Web Hosting http://www.tinker.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 5 1:30: 0 2001 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (cx739861-a.dt1.sdca.home.com [24.5.164.61]) by hub.freebsd.org (Postfix) with ESMTP id 8C03437B718 for ; Mon, 5 Mar 2001 01:29:58 -0800 (PST) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.22 #1 (Debian)) id 14ZrJW-0003nz-00 for ; Mon, 05 Mar 2001 01:29:58 -0800 To: freebsd-java@freebsd.org Subject: JVM progress. Message-Id: From: Bill Huey Date: Mon, 05 Mar 2001 01:29:58 -0800 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org BTW, I just got the entire 1.3.1 JFC JVM compiled right now under BSD/OS. It's been a pretty rough port overall. I'm assuming that I'm going to have deal with the JCK next. ;-) bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 5 1:42:20 2001 Delivered-To: freebsd-java@freebsd.org Received: from mail.viasoft.com.cn (unknown [61.153.1.177]) by hub.freebsd.org (Postfix) with ESMTP id 007DF37B718 for ; Mon, 5 Mar 2001 01:42:17 -0800 (PST) (envelope-from bsddiy@21cn.com) Received: from William ([192.168.1.98]) by mail.viasoft.com.cn (8.9.3/8.9.3) with ESMTP id RAA01796; Mon, 5 Mar 2001 17:38:37 +0800 Date: Mon, 5 Mar 2001 17:47:37 +0800 From: David Xu X-Mailer: The Bat! (v1.48f) Personal Reply-To: David Xu Organization: Viasoft X-Priority: 3 (Normal) Message-ID: <1759222871.20010305174737@21cn.com> To: Bill Huey Cc: freebsd-java@freebsd.org Subject: Re: JVM progress. In-reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello Bill, Monday, March 05, 2001, 5:29:58 PM, you wrote: BH> BTW, I just got the entire 1.3.1 JFC JVM compiled right now BH> under BSD/OS. It's been a pretty rough port overall. BH> I'm assuming that I'm going to have deal with the JCK next. BH> ;-) BH> bill good job, nice to meet you. when will you ported it to FreeBSD? -- Best regards, David Xu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 5 1:48:43 2001 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (cx739861-a.dt1.sdca.home.com [24.5.164.61]) by hub.freebsd.org (Postfix) with ESMTP id 1FE5237B718 for ; Mon, 5 Mar 2001 01:48:40 -0800 (PST) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.22 #1 (Debian)) id 14Zrba-00042R-00; Mon, 05 Mar 2001 01:48:38 -0800 Date: Mon, 5 Mar 2001 01:48:38 -0800 To: David Xu Cc: Bill Huey , freebsd-java@freebsd.org, donn@bsdi.com, pja@bsdi.com Subject: Re: JVM progress. Message-ID: <20010305014838.A15512@gnuppy> References: <1759222871.20010305174737@21cn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.15i In-Reply-To: <1759222871.20010305174737@21cn.com>; from bsddiy@21cn.com on Mon, Mar 05, 2001 at 05:47:37PM +0800 From: Bill Huey Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, Mar 05, 2001 at 05:47:37PM +0800, David Xu wrote: > Hello Bill, ... > good job, nice to meet you. when will you ported it to FreeBSD? > > -- > Best regards, > David Xu Greg Lewis has been doing that work and the best/fastest method I can think of to get this work over too FreeBSD is to support him technically on my end. So I'm just going to charge ahead and get this going as far as possible so that I can warn him of various road blocks that I've been running into. I'm pretty happy overall and this represents an important milestone for me on the project and at BSDi since the beginning of November of last year. ;-) bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 5 21:13: 8 2001 Delivered-To: freebsd-java@freebsd.org Received: from mta1-rme.xtra.co.nz (mta1-rme.xtra.co.nz [203.96.92.1]) by hub.freebsd.org (Postfix) with ESMTP id EDF3A37B718 for ; Mon, 5 Mar 2001 21:13:04 -0800 (PST) (envelope-from me@philth.net.nz) Received: from sparlak ([210.54.80.5]) by mta1-rme.xtra.co.nz with SMTP id <20010306051428.YSOP2261674.mta1-rme.xtra.co.nz@sparlak> for ; Tue, 6 Mar 2001 18:14:28 +1300 Message-ID: <000901c0a5fc$d89af730$0100a8c0@sparlak> Reply-To: "Philip Murray" From: "Philip Murray" To: Subject: JDK1.1.8 segfaults Date: Tue, 6 Mar 2001 18:18:08 +1300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I just installed JDK 1.1.8 from the ports (on FreeBSD 4.2-Stable), and when I try and run jar, or java and any of the commands from the jdk it seg faults with the following: pmurray@monolith:/usr/local/jdk1.1.8/bin/ > ./jar SIGSEGV 11* segmentation violation Full thread dump: Monitor Cache Dump: Registered Monitor Dump: Monitor IO lock: Child death monitor: Event monitor: I/O monitor: Alarm monitor: Memory allocation lock: Monitor registry: Thread Alarm Q: Abort trap Can anyone tell me why its doing this and how I can fix it? Cheers ================================-=--==- -- - -- Philip Murray me@philth.net.nz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 5 21:15:36 2001 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id 1A21837B719 for ; Mon, 5 Mar 2001 21:15:34 -0800 (PST) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id WAA26519; Mon, 5 Mar 2001 22:15:31 -0700 (MST) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id WAA20323; Mon, 5 Mar 2001 22:15:30 -0700 (MST) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15012.29298.355540.547715@nomad.yogotech.com> Date: Mon, 5 Mar 2001 22:15:30 -0700 (MST) To: "Philip Murray" Cc: Subject: Re: JDK1.1.8 segfaults In-Reply-To: <000901c0a5fc$d89af730$0100a8c0@sparlak> References: <000901c0a5fc$d89af730$0100a8c0@sparlak> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Can anyone tell me why its doing this and how I can fix it? This is a FAQ. Install the 3.X compatability libraries, and all will be well. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 5 21:21:28 2001 Delivered-To: freebsd-java@freebsd.org Received: from mta4-rme.xtra.co.nz (mta4-rme.xtra.co.nz [203.96.92.15]) by hub.freebsd.org (Postfix) with ESMTP id AD14737B718 for ; Mon, 5 Mar 2001 21:21:25 -0800 (PST) (envelope-from me@philth.net.nz) Received: from sparlak ([210.54.80.5]) by mta4-rme.xtra.co.nz with SMTP id <20010306052134.XZUB12046113.mta4-rme.xtra.co.nz@sparlak>; Tue, 6 Mar 2001 18:21:34 +1300 Message-ID: <003a01c0a5fe$038c3390$0100a8c0@sparlak> Reply-To: "Philip Murray" From: "Philip Murray" To: "Nate Williams" Cc: References: <000901c0a5fc$d89af730$0100a8c0@sparlak> <15012.29298.355540.547715@nomad.yogotech.com> Subject: Re: JDK1.1.8 segfaults Date: Tue, 6 Mar 2001 18:26:36 +1300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Thank you very much. Perhaps this should be put in the FAQ? ( http://www.freebsd.org/java/docs/faq.html ) ================================-=--==- -- - -- Philip Murray me@philth.net.nz ----- Original Message ----- From: "Nate Williams" To: "Philip Murray" Cc: Sent: Tuesday, March 06, 2001 6:15 PM Subject: Re: JDK1.1.8 segfaults > > Can anyone tell me why its doing this and how I can fix it? > > This is a FAQ. Install the 3.X compatability libraries, and all will be > well. > > > > Nate > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 5 21:23:12 2001 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id 9B34537B719 for ; Mon, 5 Mar 2001 21:23:08 -0800 (PST) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id WAA26654; Mon, 5 Mar 2001 22:23:06 -0700 (MST) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id WAA20365; Mon, 5 Mar 2001 22:23:06 -0700 (MST) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15012.29753.676372.137950@nomad.yogotech.com> Date: Mon, 5 Mar 2001 22:23:05 -0700 (MST) To: "Philip Murray" Cc: "Nate Williams" , Subject: Re: JDK1.1.8 segfaults In-Reply-To: <003a01c0a5fe$038c3390$0100a8c0@sparlak> References: <000901c0a5fc$d89af730$0100a8c0@sparlak> <15012.29298.355540.547715@nomad.yogotech.com> <003a01c0a5fe$038c3390$0100a8c0@sparlak> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Thank you very much. > > Perhaps this should be put in the FAQ? > > ( http://www.freebsd.org/java/docs/faq.html ) It certainly should. :) Nate > ================================-=--==- -- - -- > Philip Murray > me@philth.net.nz > > > ----- Original Message ----- > From: "Nate Williams" > To: "Philip Murray" > Cc: > Sent: Tuesday, March 06, 2001 6:15 PM > Subject: Re: JDK1.1.8 segfaults > > > > > Can anyone tell me why its doing this and how I can fix it? > > > > This is a FAQ. Install the 3.X compatability libraries, and all will be > > well. > > > > > > > > Nate > > > > > 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 Mon Mar 5 22:12:37 2001 Delivered-To: freebsd-java@freebsd.org Received: from mta2-rme.xtra.co.nz (mta2-rme.xtra.co.nz [203.96.92.3]) by hub.freebsd.org (Postfix) with ESMTP id ACEE237B71A for ; Mon, 5 Mar 2001 22:12:28 -0800 (PST) (envelope-from webmaster@open2view.com) Received: from sparlak ([210.54.80.5]) by mta2-rme.xtra.co.nz with SMTP id <20010306061230.FBMK15770362.mta2-rme.xtra.co.nz@sparlak>; Tue, 6 Mar 2001 19:12:30 +1300 Message-ID: <000f01c0a605$2608c490$0100a8c0@sparlak> Reply-To: "Philip Murray" From: "Philip Murray" To: "Nate Williams" , References: <000901c0a5fc$d89af730$0100a8c0@sparlak><15012.29298.355540.547715@nomad.yogotech.com><003a01c0a5fe$038c3390$0100a8c0@sparlak> <15012.29753.676372.137950@nomad.yogotech.com> Subject: Re: JDK1.1.8 segfaults Date: Tue, 6 Mar 2001 19:17:40 +1300 Organization: Open2View MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I installed them using /stand/sysinstall, but it didn't work. Still segaults the same way. ================================-=--==- -- - -- Philip Murray me@philth.net.nz ----- Original Message ----- From: "Nate Williams" To: "Philip Murray" Cc: "Nate Williams" ; Sent: Tuesday, March 06, 2001 6:23 PM Subject: Re: JDK1.1.8 segfaults > > Thank you very much. > > > > Perhaps this should be put in the FAQ? > > > > ( http://www.freebsd.org/java/docs/faq.html ) > > It certainly should. :) > > > Nate > > > ================================-=--==- -- - -- > > Philip Murray > > me@philth.net.nz > > > > > > ----- Original Message ----- > > From: "Nate Williams" > > To: "Philip Murray" > > Cc: > > Sent: Tuesday, March 06, 2001 6:15 PM > > Subject: Re: JDK1.1.8 segfaults > > > > > > > > Can anyone tell me why its doing this and how I can fix it? > > > > > > This is a FAQ. Install the 3.X compatability libraries, and all will be > > > well. > > > > > > > > > > > > Nate > > > > > > > > > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 5 23:30:19 2001 Delivered-To: freebsd-java@freebsd.org Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8]) by hub.freebsd.org (Postfix) with ESMTP id C9A0337B719 for ; Mon, 5 Mar 2001 23:30:16 -0800 (PST) (envelope-from K.J.Koster@kpn.com) Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by research.kpn.com (PMDF V5.2-31 #42699) with ESMTP id <01K0VC13A1L0000IN6@research.kpn.com> for freebsd-java@FreeBSD.ORG; Tue, 6 Mar 2001 08:30:11 +0100 Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id ; Tue, 06 Mar 2001 08:30:11 +0100 Content-return: allowed Date: Tue, 06 Mar 2001 08:30:07 +0100 From: "Koster, K.J." Subject: RE: JDK1.1.8 segfaults To: 'Philip Murray' Cc: freebsd-java@FreeBSD.ORG Message-id: <59063B5B4D98D311BC0D0001FA7E4522026D7C78@l04.research.kpn.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Dear Philip, > > I installed them using /stand/sysinstall, but it didn't work. > Still segaults the same way. > You may have to tell ldconfig to rescan the directories. If the compat lib directory did not exist at boot time ldconfig will not look in it I think. The flags will be in the man page for ldconfig. You can also take the Windows route and reboot. I generally install all compat stuff on my boxen. It's small and saves some headscratching here and there. Somone should make a port out of the compat stuff. Any takers? :-) Kees Jan ================================================ You are only young once, but you can stay immature all your life. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 6 2:27: 5 2001 Delivered-To: freebsd-java@freebsd.org Received: from mta1-rme.xtra.co.nz (mta1-rme.xtra.co.nz [203.96.92.1]) by hub.freebsd.org (Postfix) with ESMTP id E5D3637B719 for ; Tue, 6 Mar 2001 02:27:02 -0800 (PST) (envelope-from me@philth.net.nz) Received: from sparlak ([210.55.40.115]) by mta1-rme.xtra.co.nz with SMTP id <20010306102827.BCAP2261674.mta1-rme.xtra.co.nz@sparlak>; Tue, 6 Mar 2001 23:28:27 +1300 Message-ID: <000701c0a628$b3c4dda0$0100a8c0@sparlak> Reply-To: "Philip Murray" From: "Philip Murray" To: "Koster, K.J." Cc: References: <59063B5B4D98D311BC0D0001FA7E4522026D7C78@l04.research.kpn.com> Subject: Re: JDK1.1.8 segfaults Date: Tue, 6 Mar 2001 23:32:10 +1300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Dear Philip, > > > > > I installed them using /stand/sysinstall, but it didn't work. > > Still segaults the same way. > > > You may have to tell ldconfig to rescan the directories. If the compat lib > directory did not exist at boot time ldconfig will not look in it I think. > The flags will be in the man page for ldconfig. You can also take the > Windows route and reboot. > Tried both, no luck. What else can I do? I'm trying to get the jdk working so I can install Tomcat or Jserv ================================-=--==- -- - -- Philip Murray me@philth.net.nz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 6 3:28:37 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id 9FE9637B71A for ; Tue, 6 Mar 2001 03:28:32 -0800 (PST) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.1/8.11.1) id f26BRWL00542; Tue, 6 Mar 2001 12:27:32 +0100 (CET) (envelope-from ernst) Date: Tue, 6 Mar 2001 12:27:32 +0100 From: Ernst de Haan To: Philip Murray Cc: "Koster, K.J." , freebsd-java@FreeBSD.ORG Subject: Re: JDK1.1.8 segfaults Message-ID: <20010306122732.A524@c187104187.telekabel.chello.nl> References: <59063B5B4D98D311BC0D0001FA7E4522026D7C78@l04.research.kpn.com> <000701c0a628$b3c4dda0$0100a8c0@sparlak> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <000701c0a628$b3c4dda0$0100a8c0@sparlak>; from me@philth.net.nz on Tue, Mar 06, 2001 at 11:32:10PM +1300 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Philip, You could also try installing the Sun Linux JDK 1.3 and Orion. Orion is a full J2EE implementation which is free during development and for non-commercial use. Both come as ports. If you have an updated ports tree, then all you have to do to install both is: Go to: * http://java.sun.com/j2se/1.3/download-linux.html To download the file "j2sdk-1_3_0-linux.bin" and place it in /usr/ports/distfiles. Now install Orion in /usr/local/orion1.4.5/: # cd /usr/ports/java/orion/ && make install This will install the Linux JDK 1.3.0 as a dependency in /usr/local/linux-jdk1.3.0/. If you have no experience with J2EE, then I suggest you do the step-by-step Orion Primer tutorial: * http://jollem.com/orion-primer/ Just an alternative which I personally prefer. :) -- Ernst Philip Murray wrote: > > Dear Philip, > > > > > > > > I installed them using /stand/sysinstall, but it didn't work. > > > Still segaults the same way. > > > > > You may have to tell ldconfig to rescan the directories. If the compat lib > > directory did not exist at boot time ldconfig will not look in it I think. > > The flags will be in the man page for ldconfig. You can also take the > > Windows route and reboot. > > > > Tried both, no luck. What else can I do? > > I'm trying to get the jdk working so I can install Tomcat or Jserv > > > ================================-=--==- -- - -- > Philip Murray > me@philth.net.nz > > > 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 6 3:37: 3 2001 Delivered-To: freebsd-java@freebsd.org Received: from pluto.senet.com.au (pluto.senet.com.au [203.56.239.150]) by hub.freebsd.org (Postfix) with ESMTP id 16AAE37B71A for ; Tue, 6 Mar 2001 03:36:59 -0800 (PST) (envelope-from glewis@misty.eyesbeyond.com) Received: from misty.eyesbeyond.com (c24-fr-p41.senet.com.au [172.16.24.42]) by pluto.senet.com.au (8.11.0/8.11.0) with ESMTP id f26Bapn38643; Tue, 6 Mar 2001 22:06:51 +1030 (CST) (envelope-from glewis@misty.eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.9.3/8.9.3) id WAA71785; Tue, 6 Mar 2001 22:06:49 +1030 (CST) (envelope-from glewis) Date: Tue, 6 Mar 2001 22:06:49 +1030 From: Greg Lewis To: Philip Murray Cc: freebsd-java@FreeBSD.ORG Subject: Re: JDK1.1.8 segfaults Message-ID: <20010306220649.A71154@misty.eyesbeyond.com> References: <000901c0a5fc$d89af730$0100a8c0@sparlak> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <000901c0a5fc$d89af730$0100a8c0@sparlak>; from me@philth.net.nz on Tue, Mar 06, 2001 at 06:18:08PM +1300 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Mar 06, 2001 at 06:18:08PM +1300, Philip Murray wrote: > I just installed JDK 1.1.8 from the ports (on FreeBSD 4.2-Stable), and when > I try and run jar, or java and any of the commands from the jdk it seg > faults with the following: > > pmurray@monolith:/usr/local/jdk1.1.8/bin/ > ./jar > SIGSEGV 11* segmentation violation > > Full thread dump: > Monitor Cache Dump: > Registered Monitor Dump: > Monitor IO lock: > Child death monitor: > Event monitor: > I/O monitor: > Alarm monitor: > Memory allocation lock: > Monitor registry: > Thread Alarm Q: > Abort trap > > Can anyone tell me why its doing this and how I can fix it? Yes, you need to install the compat3x package. Can someone please add some lines to post-install target in the Makefile which does something like: .if ${OSVERSION} > 400000 ${ECHO} "You will need to install the compat3x libraries to use this port." .endif Other ports print out a message at this stage, I think it would be sensible for this port to print out a message too, since this question comes up so often. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Mobile: 0419 868 494 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 6 4: 6:52 2001 Delivered-To: freebsd-java@freebsd.org Received: from osku.suutari.iki.fi (osku.syncrontech.com [213.28.98.4]) by hub.freebsd.org (Postfix) with ESMTP id 4040037B718 for ; Tue, 6 Mar 2001 04:06:48 -0800 (PST) (envelope-from ari@suutari.iki.fi) Received: from coffee (adsl-nat.syncrontech.com [213.28.98.3]) by osku.suutari.iki.fi (8.9.3/8.9.3) with SMTP id OAA32536; Tue, 6 Mar 2001 14:06:36 +0200 (EET) (envelope-from ari@suutari.iki.fi) Message-ID: <03a801c0a635$f5419f90$0e05a8c0@coffee> From: "Ari Suutari" To: "Philip Murray" , "Koster, K.J." Cc: References: <59063B5B4D98D311BC0D0001FA7E4522026D7C78@l04.research.kpn.com> <000701c0a628$b3c4dda0$0100a8c0@sparlak> Subject: Re: JDK1.1.8 segfaults Date: Tue, 6 Mar 2001 14:06:59 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, > > Dear Philip, > > > > > > > > I installed them using /stand/sysinstall, but it didn't work. > > > Still segaults the same way. > > > > > You may have to tell ldconfig to rescan the directories. If the compat lib > > directory did not exist at boot time ldconfig will not look in it I think. > > The flags will be in the man page for ldconfig. You can also take the > > Windows route and reboot. > > > > Tried both, no luck. What else can I do? > Are you sure that you didn't do my mistake: (when I had my brains off-line) - installed jdk 1.1.18 - noticed that it wants libc.so.something which does not exist - copy current version over that name - 'java' now starts and segfaults.... Remedy is to remove manually copied shared library file and install compat libraries as suggested by someone already. Ari S. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 6 4:19:36 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id B03FF37B718 for ; Tue, 6 Mar 2001 04:19:05 -0800 (PST) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.1/8.11.1) id f26CHZE01272; Tue, 6 Mar 2001 13:17:35 +0100 (CET) (envelope-from ernst) Date: Tue, 6 Mar 2001 13:17:35 +0100 From: Ernst de Haan To: Greg Lewis Cc: Philip Murray , freebsd-java@FreeBSD.ORG, Nate Williams Subject: Re: JDK1.1.8 segfaults Message-ID: <20010306131735.A993@c187104187.telekabel.chello.nl> References: <000901c0a5fc$d89af730$0100a8c0@sparlak> <20010306220649.A71154@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="gKMricLos+KVdGMg" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010306220649.A71154@misty.eyesbeyond.com>; from glewis@eyesbeyond.com on Tue, Mar 06, 2001 at 10:06:49PM +1030 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --gKMricLos+KVdGMg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hey Greg and all, I'm not a port committer, so I can't commit the changes myself, but I created a diff for the Makefile, and a new shar file too. I just wonder if README.html should go in there too. I think README.html files are automatically generated, but I'm not sure. -- Ernst Greg Lewis wrote: > On Tue, Mar 06, 2001 at 06:18:08PM +1300, Philip Murray wrote: > > I just installed JDK 1.1.8 from the ports (on FreeBSD 4.2-Stable), and when > > I try and run jar, or java and any of the commands from the jdk it seg > > faults with the following: > > > > pmurray@monolith:/usr/local/jdk1.1.8/bin/ > ./jar > > SIGSEGV 11* segmentation violation > > > > Full thread dump: > > Monitor Cache Dump: > > Registered Monitor Dump: > > Monitor IO lock: > > Child death monitor: > > Event monitor: > > I/O monitor: > > Alarm monitor: > > Memory allocation lock: > > Monitor registry: > > Thread Alarm Q: > > Abort trap > > > > Can anyone tell me why its doing this and how I can fix it? > > Yes, you need to install the compat3x package. > > Can someone please add some lines to post-install target in the Makefile > which does something like: > > .if ${OSVERSION} > 400000 > ${ECHO} "You will need to install the compat3x libraries to use this port." > .endif > > Other ports print out a message at this stage, I think it would be sensible > for this port to print out a message too, since this question comes up so > often. > > -- > Greg Lewis Email : glewis@eyesbeyond.com > Eyes Beyond Mobile: 0419 868 494 > Information Technology Web : http://www.eyesbeyond.com > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > --gKMricLos+KVdGMg Content-Type: application/x-sh Content-Disposition: attachment; filename="jdk_port.sh" # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # jdk # jdk/Makefile # jdk/README.html # jdk/distinfo # jdk/files # jdk/pkg-comment # jdk/pkg-descr # jdk/pkg-message # jdk/pkg-plist # echo c - jdk mkdir -p jdk > /dev/null 2>&1 echo x - jdk/Makefile sed 's/^X//' >jdk/Makefile << 'END-of-jdk/Makefile' X# New ports collection makefile for: jdk X# Date created: Feb, 8, 1998 X# Whom: Nate Williams X# X# $FreeBSD: ports/java/jdk/Makefile,v 1.35 2001/02/26 22:17:04 nate Exp $ X# X XPORTNAME= jdk XPORTVERSION= ${JDK_VERSION} XCATEGORIES= java devel XMASTER_SITES= ${MASTER_SITE_LOCAL} XMASTER_SITE_SUBDIR= nate/JDK1.1 X XMAINTAINER= nate@FreeBSD.org X XRUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper X XNO_CDROM= "License doesn't allow distribution with fee" X XONLY_FOR_ARCHS= i386 XJDK_VERSION= 1.1.8 XPLIST_SUB+= JDK_VERSION=${JDK_VERSION} X XWRKSRC= ${WRKDIR}/jdk${JDK_VERSION} XNO_BUILD= yes X X.include X X.if ${PORTOBJFORMAT} == "aout" XDISTFILES= jdk${JDK_VERSION}_AOUT.V1999-11-9.tar.gz X.else XDISTFILES= jdk${JDK_VERSION}_ELF.V1999-11-9.tar.gz X.endif X Xdo-install: X @${RM} -f ${WRKSRC}/include/freebsd/typedefs_md.h.orig X ${MKDIR} ${PREFIX}/jdk${JDK_VERSION} X (cd ${WRKSRC} && ${TAR} -c -f - .) \ X | (cd ${PREFIX}/jdk${JDK_VERSION} && ${TAR} --unlink -x -f -) X ${MKDIR} ${PREFIX}/share/java/classes X ${MKDIR} ${PREFIX}/share/doc/java X Xpost-install: X ${LOCALBASE}/bin/registervm "${PREFIX}/jdk${JDK_VERSION}/bin/java # JDK${JDK_VERSION}" X .if ${OSVERSION} > 400000 X ${ECHO} "You will need to install the compat3x libraries to use this port." X .endif X X.include END-of-jdk/Makefile echo x - jdk/README.html sed 's/^X//' >jdk/README.html << 'END-of-jdk/README.html' X X The FreeBSD Ports Collection (java/jdk) X

The FreeBSD Ports Collection ("java/jdk")


X X X

You are now in the directory for the port "java/jdk" (package name "jdk-1.1.8"). X X

This is the one-line description for this port: X X


XSun's Java Developers Kit X


X X

Please read the "description file" for a Xlonger description. X X

Go to the top of the ports tree for Xa summary on how to use the ports collection. X X

X X

XThis port requires package(s) "javavmwrapper-1.1" to run. X X


X Go up one level X| X Go to top of ports tree X X END-of-jdk/README.html echo x - jdk/distinfo sed 's/^X//' >jdk/distinfo << 'END-of-jdk/distinfo' XMD5 (jdk1.1.8_AOUT.V1999-11-9.tar.gz) = 5e878b23179ada207653c527ad6b5019 XMD5 (jdk1.1.8_ELF.V1999-11-9.tar.gz) = 07992302128f36c7f802b579e041604c END-of-jdk/distinfo echo c - jdk/files mkdir -p jdk/files > /dev/null 2>&1 echo x - jdk/pkg-comment sed 's/^X//' >jdk/pkg-comment << 'END-of-jdk/pkg-comment' XSun's Java Developers Kit END-of-jdk/pkg-comment echo x - jdk/pkg-descr sed 's/^X//' >jdk/pkg-descr << 'END-of-jdk/pkg-descr' XBinaries of Sun's Java Developers Kit. Include bytecode machine, Xcompiler, demos and sources for most Java runtime classes. X XExecutables are installed into /usr/local/jdk1.1.8/bin. You may want to Xput this into your PATH or symlink them to /usr/local/bin in case you Xdon't have kaffe installed (which shared many of the binarie's Xnames). X XYou may want to build a kernel with Xoptions SYSVSEM X XFor more information about the JDK for FreeBSD see Xhttp://www.freebsd.org/java/ X XWWW: http://www.freebsd.org/java/ END-of-jdk/pkg-descr echo x - jdk/pkg-message sed 's/^X//' >jdk/pkg-message << 'END-of-jdk/pkg-message' X X X Java(tm) Development Kit X X Version 1.1.8 X X Binary Code License X XThis binary code license ("License") contains rights and restrictions Xassociated with use of the accompanying software and documentation X("Software"). Read the License carefully before installing the Software. XBy installing the Software you agree to the terms and conditions of this XLicense. X X1. Limited License Grant. Sun grants to you ("Licensee") a non-exclusive, Xnon-transferable limited license to use the Software without fee for Xevaluation of the Software and for development of Java(tm) compatible Xapplets and applications. Licensee may make one archival copy of the Software Xand may re-distribute complete, unmodified copies of the Software to Xsoftware developers within Licensee's organization to avoid unnecessary Xdownload time, provided that this License conspicuously appear with all Xcopies of the Software. Except for the foregoing, Licensee may not Xre-distribute the Software in whole or in part, either separately or Xincluded with a product. Refer to the Java Runtime Environment Version 1.1.8 Xbinary code license (http://java.sun.com/products/JDK/1.1/index.html) Xfor the availability of runtime code which may be distributed with Java Xcompatible applets and applications. X X2. Java Platform Interface. Licensee may not modify the Java Platform Interface X("JPI", identified as classes contained within the "java" package or any Xsubpackages of the "java" package), by creating additional classes within the XJPI or otherwise causing the addition to or modification of the classes in Xthe JPI. In the event that Licensee creates any Java-related API and Xdistributes such API to others for applet or application development, XLicensee must promptly publish an accurate specification for such API for Xfree use by all developers of Java-based software. X X3. Restrictions. Software is confidential copyrighted information of Sun and Xtitle to all copies is retained by Sun and/or its licensors. Licensee shall Xnot modify, decompile, disassemble, decrypt, extract, or otherwise reverse Xengineer Software. Software may not be leased, assigned, or sublicensed, Xin whole or in part. Software is not designed or intended for use in Xon-line control of aircraft, air traffic, aircraft navigation or aircraft Xcommunications; or in the design, construction, operation or maintenance Xof any nuclear facility. Licensee warrants that it will not use or Xredistribute the Software for such purposes. X X4. Trademarks and Logos. This License does not authorize Licensee to use Xany Sun name, trademark or logo. Licensee acknowledges that Sun owns the XJava trademark and all Java-related trademarks, logos and icons including Xthe Coffee Cup and Duke ("Java Marks") and agrees to: (i) to comply with Xthe Java Trademark Guidelines at http://java.sun.com/trademarks.html; (ii) not Xdo anything harmful to or inconsistent with Sun's rights in the Java Marks; Xand (iii) assist Sun in protecting those rights, including assigning to Sun Xany rights acquired by Licensee in any Java Mark. X X5. Disclaimer of Warranty. Software is provided "AS IS," without a Xwarranty of any kind. ALL EXPRESS OR IMPLIED REPRESENTATIONS AND XWARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS XFOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED. X X6. Limitation of Liability. SUN AND ITS LICENSORS SHALL NOT BE LIABLE XFOR ANY DAMAGES SUFFERED BY LICENSEE OR ANY THIRD PARTY AS A RESULT OF USING XOR DISTRIBUTING SOFTWARE. IN NO EVENT WILL SUN OR ITS LICENSORS BE XLIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT, XSPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER XCAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE XUSE OF OR INABILITY TO USE SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE XPOSSIBILITY OF SUCH DAMAGES. X X7. Termination. Licensee may terminate this License at any time by Xdestroying all copies of Software. This License will terminate immediately Xwithout notice from Sun if Licensee fails to comply with any provision Xof this License. Upon such termination, Licensee must destroy all copies Xof Software. X X8. Export Regulations. Software, including technical data, is subject to XU.S. export control laws, including the U.S. Export Administration Act Xand its associated regulations, and may be subject to export or import Xregulations in other countries. Licensee agrees to comply strictly with Xall such regulations and acknowledges that it has the responsibility to Xobtain licenses to export, re-export, or import Software. Software may not Xbe downloaded, or otherwise exported or re-exported (i) into, or to a Xnational or resident of, Cuba, Iraq, Iran, North Korea, Libya, Sudan, XSyria or any country to which the U.S. has embargoed goods; or (ii) Xto anyone on the U.S. Treasury Department's list of Specially Designated XNations or the U.S. Commerce Department's Table of Denial Orders. X X9. Restricted Rights. Use, duplication or disclosure by the United States Xgovernment is subject to the restrictions as set forth in the Rights in XTechnical Data and Computer Software Clauses in DFARS 252.227-7013(c) X (1) (ii) and FAR 52.227-19(c) (2) as applicable. X X10. Governing Law. Any action related to this License will be governed by XCalifornia law and controlling U.S. federal law. No choice of law rules of Xany jurisdiction will apply. X X11. Severability. If any of the above provisions are held to be in Xviolation of applicable law, void, or unenforceable in any jurisdiction, Xthen such provisions are herewith waived to the extent necessary for the XLicense to be otherwise enforceable in such jurisdiction. However, if Xin Sun's opinion deletion of any provisions of the License by operation Xof this paragraph unreasonably compromises the rights or increase the Xliabilities of Sun or its licensors, Sun reserves the right to terminate Xthe License and refund the fee paid by Licensee, if any, as Licensee's Xsole and exclusive remedy. END-of-jdk/pkg-message echo x - jdk/pkg-plist sed 's/^X//' >jdk/pkg-plist << 'END-of-jdk/pkg-plist' Xjdk%%JDK_VERSION%%/include/freebsd/byteorder_md.h Xjdk%%JDK_VERSION%%/include/freebsd/timeval_md.h Xjdk%%JDK_VERSION%%/include/freebsd/sysmacros_md.h Xjdk%%JDK_VERSION%%/include/freebsd/prof_md.h Xjdk%%JDK_VERSION%%/include/freebsd/path_md.h Xjdk%%JDK_VERSION%%/include/freebsd/oobj_md.h Xjdk%%JDK_VERSION%%/include/freebsd/jni_md.h Xjdk%%JDK_VERSION%%/include/freebsd/jmath_md.h Xjdk%%JDK_VERSION%%/include/freebsd/io_md.h Xjdk%%JDK_VERSION%%/include/freebsd/gc_md.h Xjdk%%JDK_VERSION%%/include/freebsd/typedefs_md.h Xjdk%%JDK_VERSION%%/include/green_threads/include/internal_md.h Xjdk%%JDK_VERSION%%/include/green_threads/include/threads_md.h Xjdk%%JDK_VERSION%%/include/green_threads/include/monitor_md.h Xjdk%%JDK_VERSION%%/include/green_threads/include/schedule.h Xjdk%%JDK_VERSION%%/include/green_threads/include/context_md.h Xjdk%%JDK_VERSION%%/include/green_threads/include/context.h Xjdk%%JDK_VERSION%%/include/green_threads/include/queue.h Xjdk%%JDK_VERSION%%/include/StubPreamble.h Xjdk%%JDK_VERSION%%/include/alloc_cache.h Xjdk%%JDK_VERSION%%/include/bool.h Xjdk%%JDK_VERSION%%/include/breakpoints.h Xjdk%%JDK_VERSION%%/include/byteorder.h Xjdk%%JDK_VERSION%%/include/common_exceptions.h Xjdk%%JDK_VERSION%%/include/config.h Xjdk%%JDK_VERSION%%/include/debug.h Xjdk%%JDK_VERSION%%/include/decode.h Xjdk%%JDK_VERSION%%/include/exceptions.h Xjdk%%JDK_VERSION%%/include/finalize.h Xjdk%%JDK_VERSION%%/include/gc.h Xjdk%%JDK_VERSION%%/include/interpreter.h Xjdk%%JDK_VERSION%%/include/javaString.h Xjdk%%JDK_VERSION%%/include/jcov.h Xjdk%%JDK_VERSION%%/include/jmath.h Xjdk%%JDK_VERSION%%/include/jni.h Xjdk%%JDK_VERSION%%/include/log.h Xjdk%%JDK_VERSION%%/include/monitor.h Xjdk%%JDK_VERSION%%/include/monitor_cache.h Xjdk%%JDK_VERSION%%/include/native.h Xjdk%%JDK_VERSION%%/include/oobj.h Xjdk%%JDK_VERSION%%/include/path.h Xjdk%%JDK_VERSION%%/include/profile.h Xjdk%%JDK_VERSION%%/include/reflect.h Xjdk%%JDK_VERSION%%/include/selftest.h Xjdk%%JDK_VERSION%%/include/signature.h Xjdk%%JDK_VERSION%%/include/sys_api.h Xjdk%%JDK_VERSION%%/include/threads.h Xjdk%%JDK_VERSION%%/include/timeval.h Xjdk%%JDK_VERSION%%/include/timezone_map.h Xjdk%%JDK_VERSION%%/include/tree.h Xjdk%%JDK_VERSION%%/include/typecodes.h Xjdk%%JDK_VERSION%%/include/typedefs.h Xjdk%%JDK_VERSION%%/include/utf.h Xjdk%%JDK_VERSION%%/include/verify.h Xjdk%%JDK_VERSION%%/include/wrap.h Xjdk%%JDK_VERSION%%/include/zip.h Xjdk%%JDK_VERSION%%/include/java_lang_String.h Xjdk%%JDK_VERSION%%/include/java_lang_ClassLoader.h Xjdk%%JDK_VERSION%%/include/dlwrap.h Xjdk%%JDK_VERSION%%/include/java_lang_Thread.h Xjdk%%JDK_VERSION%%/include/java_lang_ThreadGroup.h Xjdk%%JDK_VERSION%%/bin/i386/green_threads/javah_g Xjdk%%JDK_VERSION%%/bin/i386/green_threads/javah Xjdk%%JDK_VERSION%%/bin/i386/green_threads/java_g Xjdk%%JDK_VERSION%%/bin/i386/green_threads/java Xjdk%%JDK_VERSION%%/bin/i386/green_threads/javac Xjdk%%JDK_VERSION%%/bin/i386/green_threads/javac_g Xjdk%%JDK_VERSION%%/bin/i386/green_threads/javaverify_g Xjdk%%JDK_VERSION%%/bin/i386/green_threads/javaverify Xjdk%%JDK_VERSION%%/bin/i386/green_threads/java_g_X Xjdk%%JDK_VERSION%%/bin/i386/green_threads/jar Xjdk%%JDK_VERSION%%/bin/i386/green_threads/.extract_args Xjdk%%JDK_VERSION%%/bin/i386/green_threads/javap Xjdk%%JDK_VERSION%%/bin/i386/green_threads/javadoc Xjdk%%JDK_VERSION%%/bin/i386/green_threads/jdb Xjdk%%JDK_VERSION%%/bin/i386/green_threads/appletviewer Xjdk%%JDK_VERSION%%/bin/i386/green_threads/javakey Xjdk%%JDK_VERSION%%/bin/i386/green_threads/native2ascii Xjdk%%JDK_VERSION%%/bin/i386/green_threads/rmic Xjdk%%JDK_VERSION%%/bin/i386/green_threads/rmiregistry Xjdk%%JDK_VERSION%%/bin/i386/green_threads/serialver Xjdk%%JDK_VERSION%%/bin/i386/green_threads/java_X Xjdk%%JDK_VERSION%%/bin/i386/green_threads/jre_g Xjdk%%JDK_VERSION%%/bin/i386/green_threads/jre_g_X Xjdk%%JDK_VERSION%%/bin/i386/green_threads/jre Xjdk%%JDK_VERSION%%/bin/i386/green_threads/jre_X Xjdk%%JDK_VERSION%%/bin/.java_wrapper Xjdk%%JDK_VERSION%%/bin/javah_g Xjdk%%JDK_VERSION%%/bin/javah Xjdk%%JDK_VERSION%%/bin/java_g Xjdk%%JDK_VERSION%%/bin/java Xjdk%%JDK_VERSION%%/bin/javac Xjdk%%JDK_VERSION%%/bin/javac_g Xjdk%%JDK_VERSION%%/bin/javaverify_g Xjdk%%JDK_VERSION%%/bin/javaverify Xjdk%%JDK_VERSION%%/bin/jre Xjdk%%JDK_VERSION%%/bin/jre_g Xjdk%%JDK_VERSION%%/bin/jar Xjdk%%JDK_VERSION%%/bin/javap Xjdk%%JDK_VERSION%%/bin/javadoc Xjdk%%JDK_VERSION%%/bin/jdb Xjdk%%JDK_VERSION%%/bin/appletviewer Xjdk%%JDK_VERSION%%/bin/javakey Xjdk%%JDK_VERSION%%/bin/native2ascii Xjdk%%JDK_VERSION%%/bin/rmic Xjdk%%JDK_VERSION%%/bin/rmiregistry Xjdk%%JDK_VERSION%%/bin/java-rmi.cgi Xjdk%%JDK_VERSION%%/bin/serialver Xjdk%%JDK_VERSION%%/lib/i386/green_threads/libjava_g.so Xjdk%%JDK_VERSION%%/lib/i386/green_threads/libjava_g.so.%%JDK_VERSION%% Xjdk%%JDK_VERSION%%/lib/i386/green_threads/libjava.so Xjdk%%JDK_VERSION%%/lib/i386/green_threads/libjava.so.%%JDK_VERSION%% Xjdk%%JDK_VERSION%%/lib/i386/green_threads/libmath_g.so Xjdk%%JDK_VERSION%%/lib/i386/green_threads/libmath.so Xjdk%%JDK_VERSION%%/lib/i386/green_threads/libzip_g.so Xjdk%%JDK_VERSION%%/lib/i386/green_threads/libzip.so Xjdk%%JDK_VERSION%%/lib/i386/green_threads/libnet_g.so Xjdk%%JDK_VERSION%%/lib/i386/green_threads/libnet.so Xjdk%%JDK_VERSION%%/lib/i386/green_threads/libagent_g.so Xjdk%%JDK_VERSION%%/lib/i386/green_threads/libagent.so Xjdk%%JDK_VERSION%%/lib/i386/green_threads/libmmedia_g.so Xjdk%%JDK_VERSION%%/lib/i386/green_threads/libmmedia.so Xjdk%%JDK_VERSION%%/lib/i386/green_threads/libawt_g.so Xjdk%%JDK_VERSION%%/lib/i386/green_threads/libawt_g.so.%%JDK_VERSION%% Xjdk%%JDK_VERSION%%/lib/i386/green_threads/libawt.so Xjdk%%JDK_VERSION%%/lib/i386/green_threads/libawt.so.%%JDK_VERSION%% Xjdk%%JDK_VERSION%%/lib/i386/green_threads/libtawt_g.so Xjdk%%JDK_VERSION%%/lib/i386/green_threads/libtawt.so Xjdk%%JDK_VERSION%%/lib/i386/green_threads/libjpeg_g.so Xjdk%%JDK_VERSION%%/lib/i386/green_threads/libjpeg.so Xjdk%%JDK_VERSION%%/lib/i386/green_threads/libsysresource_g.so Xjdk%%JDK_VERSION%%/lib/i386/green_threads/libsysresource.so Xjdk%%JDK_VERSION%%/lib/awt.properties Xjdk%%JDK_VERSION%%/lib/security/java.security Xjdk%%JDK_VERSION%%/lib/content-types.properties Xjdk%%JDK_VERSION%%/lib/font.properties Xjdk%%JDK_VERSION%%/lib/font.properties.ISO8859_15_FDIS Xjdk%%JDK_VERSION%%/lib/font.properties.tr Xjdk%%JDK_VERSION%%/lib/font.properties.ru Xjdk%%JDK_VERSION%%/lib/font.properties.pl Xjdk%%JDK_VERSION%%/lib/font.properties.lv Xjdk%%JDK_VERSION%%/lib/font.properties.lt Xjdk%%JDK_VERSION%%/lib/font.properties.hu Xjdk%%JDK_VERSION%%/lib/font.properties.el Xjdk%%JDK_VERSION%%/lib/font.properties.cs Xjdk%%JDK_VERSION%%/lib/font.properties.zh_TW_Big5 Xjdk%%JDK_VERSION%%/lib/font.properties.zh_TW_EUC_TW Xjdk%%JDK_VERSION%%/lib/font.properties.ko Xjdk%%JDK_VERSION%%/lib/font.properties.zh_EUC_CN Xjdk%%JDK_VERSION%%/lib/font.properties.ja Xjdk%%JDK_VERSION%%/lib/psfont.properties.ja Xjdk%%JDK_VERSION%%/lib/locale/ja/app-defaults/XApplication Xjdk%%JDK_VERSION%%/lib/locale/ja_JP.PCK/app-defaults/XApplication Xjdk%%JDK_VERSION%%/lib/locale/ja_JP.UTF-8/app-defaults/XApplication Xjdk%%JDK_VERSION%%/lib/appletviewer.properties Xjdk%%JDK_VERSION%%/lib/serialver.properties Xjdk%%JDK_VERSION%%/lib/classes.zip Xjdk%%JDK_VERSION%%/demo/Animator/audio/0.au Xjdk%%JDK_VERSION%%/demo/Animator/audio/1.au Xjdk%%JDK_VERSION%%/demo/Animator/audio/2.au Xjdk%%JDK_VERSION%%/demo/Animator/audio/3.au Xjdk%%JDK_VERSION%%/demo/Animator/audio/4.au Xjdk%%JDK_VERSION%%/demo/Animator/audio/5.au Xjdk%%JDK_VERSION%%/demo/Animator/audio/6.au Xjdk%%JDK_VERSION%%/demo/Animator/audio/7.au Xjdk%%JDK_VERSION%%/demo/Animator/audio/8.au Xjdk%%JDK_VERSION%%/demo/Animator/audio/9.au Xjdk%%JDK_VERSION%%/demo/Animator/audio/spacemusic.au Xjdk%%JDK_VERSION%%/demo/Animator/images/SimpleAnimation/T1.gif Xjdk%%JDK_VERSION%%/demo/Animator/images/SimpleAnimation/T2.gif Xjdk%%JDK_VERSION%%/demo/Animator/images/Beans/T10.gif Xjdk%%JDK_VERSION%%/demo/Animator/images/Beans/T9.gif Xjdk%%JDK_VERSION%%/demo/Animator/images/Beans/T7.gif Xjdk%%JDK_VERSION%%/demo/Animator/images/Beans/T3.gif Xjdk%%JDK_VERSION%%/demo/Animator/images/Beans/T8.gif Xjdk%%JDK_VERSION%%/demo/Animator/images/Beans/T6.gif Xjdk%%JDK_VERSION%%/demo/Animator/images/Beans/T2.gif Xjdk%%JDK_VERSION%%/demo/Animator/images/Beans/T1.gif Xjdk%%JDK_VERSION%%/demo/Animator/images/Beans/T5.gif Xjdk%%JDK_VERSION%%/demo/Animator/images/Beans/T4.gif Xjdk%%JDK_VERSION%%/demo/Animator/images/loading-msg.gif Xjdk%%JDK_VERSION%%/demo/Animator/example1.html Xjdk%%JDK_VERSION%%/demo/Animator/example2.html Xjdk%%JDK_VERSION%%/demo/Animator/example3.html Xjdk%%JDK_VERSION%%/demo/Animator/example4.html Xjdk%%JDK_VERSION%%/demo/Animator/Animator.java Xjdk%%JDK_VERSION%%/demo/Animator/Animator.class Xjdk%%JDK_VERSION%%/demo/Animator/ParseException.class Xjdk%%JDK_VERSION%%/demo/Animator/DescriptionFrame.class Xjdk%%JDK_VERSION%%/demo/ArcTest/example1.html Xjdk%%JDK_VERSION%%/demo/ArcTest/ArcTest.java Xjdk%%JDK_VERSION%%/demo/ArcTest/ArcTest.class Xjdk%%JDK_VERSION%%/demo/ArcTest/ArcCanvas.class Xjdk%%JDK_VERSION%%/demo/ArcTest/ArcControls.class Xjdk%%JDK_VERSION%%/demo/BarChart/example1.html Xjdk%%JDK_VERSION%%/demo/BarChart/Chart.java Xjdk%%JDK_VERSION%%/demo/BarChart/Chart.class Xjdk%%JDK_VERSION%%/demo/Blink/example1.html Xjdk%%JDK_VERSION%%/demo/Blink/Blink.java Xjdk%%JDK_VERSION%%/demo/Blink/Blink.class Xjdk%%JDK_VERSION%%/demo/CardTest/example1.html Xjdk%%JDK_VERSION%%/demo/CardTest/CardTest.java Xjdk%%JDK_VERSION%%/demo/CardTest/CardPanel.class Xjdk%%JDK_VERSION%%/demo/CardTest/CardTest.class Xjdk%%JDK_VERSION%%/demo/Clock/example1.html Xjdk%%JDK_VERSION%%/demo/Clock/Clock2.java Xjdk%%JDK_VERSION%%/demo/Clock/Clock2.class Xjdk%%JDK_VERSION%%/demo/DitherTest/example1.html Xjdk%%JDK_VERSION%%/demo/DitherTest/DitherTest.java Xjdk%%JDK_VERSION%%/demo/DitherTest/DitherTest.class Xjdk%%JDK_VERSION%%/demo/DitherTest/DitherCanvas.class Xjdk%%JDK_VERSION%%/demo/DitherTest/DitherControls.class Xjdk%%JDK_VERSION%%/demo/DrawTest/example1.html Xjdk%%JDK_VERSION%%/demo/DrawTest/DrawTest.java Xjdk%%JDK_VERSION%%/demo/DrawTest/DrawTest.class Xjdk%%JDK_VERSION%%/demo/DrawTest/DrawPanel.class Xjdk%%JDK_VERSION%%/demo/DrawTest/DrawControls.class Xjdk%%JDK_VERSION%%/demo/Fractal/example1.html Xjdk%%JDK_VERSION%%/demo/Fractal/CLSFractal.java Xjdk%%JDK_VERSION%%/demo/Fractal/CLSFractal.class Xjdk%%JDK_VERSION%%/demo/Fractal/CLSTurtle.class Xjdk%%JDK_VERSION%%/demo/Fractal/ContextLSystem.class Xjdk%%JDK_VERSION%%/demo/Fractal/CLSRule.class Xjdk%%JDK_VERSION%%/demo/GraphLayout/audio/computer.au Xjdk%%JDK_VERSION%%/demo/GraphLayout/audio/drip.au Xjdk%%JDK_VERSION%%/demo/GraphLayout/audio/gong.au Xjdk%%JDK_VERSION%%/demo/GraphLayout/example1.html Xjdk%%JDK_VERSION%%/demo/GraphLayout/example2.html Xjdk%%JDK_VERSION%%/demo/GraphLayout/example3.html Xjdk%%JDK_VERSION%%/demo/GraphLayout/example4.html Xjdk%%JDK_VERSION%%/demo/GraphLayout/Graph.java Xjdk%%JDK_VERSION%%/demo/GraphLayout/Node.class Xjdk%%JDK_VERSION%%/demo/GraphLayout/Edge.class Xjdk%%JDK_VERSION%%/demo/GraphLayout/GraphPanel.class Xjdk%%JDK_VERSION%%/demo/GraphLayout/Graph.class Xjdk%%JDK_VERSION%%/demo/GraphicsTest/example1.html Xjdk%%JDK_VERSION%%/demo/GraphicsTest/AppletFrame.java Xjdk%%JDK_VERSION%%/demo/GraphicsTest/GraphicsTest.java Xjdk%%JDK_VERSION%%/demo/GraphicsTest/AppletFrame.class Xjdk%%JDK_VERSION%%/demo/GraphicsTest/GraphicsPanel.class Xjdk%%JDK_VERSION%%/demo/GraphicsTest/GraphicsTest.class Xjdk%%JDK_VERSION%%/demo/GraphicsTest/GraphicsCards.class Xjdk%%JDK_VERSION%%/demo/GraphicsTest/ArcCard.class Xjdk%%JDK_VERSION%%/demo/GraphicsTest/ArcDegreePanel.class Xjdk%%JDK_VERSION%%/demo/GraphicsTest/ArcPanel.class Xjdk%%JDK_VERSION%%/demo/GraphicsTest/Shape.class Xjdk%%JDK_VERSION%%/demo/GraphicsTest/RectShape.class Xjdk%%JDK_VERSION%%/demo/GraphicsTest/OvalShape.class Xjdk%%JDK_VERSION%%/demo/GraphicsTest/RoundRectShape.class Xjdk%%JDK_VERSION%%/demo/GraphicsTest/PolygonShape.class Xjdk%%JDK_VERSION%%/demo/GraphicsTest/ShapeTest.class Xjdk%%JDK_VERSION%%/demo/GraphicsTest/ColorUtils.class Xjdk%%JDK_VERSION%%/demo/ImageMap/audio/chirp1.au Xjdk%%JDK_VERSION%%/demo/ImageMap/audio/hi.au Xjdk%%JDK_VERSION%%/demo/ImageMap/images/jim.graham.gif Xjdk%%JDK_VERSION%%/demo/ImageMap/example1.html Xjdk%%JDK_VERSION%%/demo/ImageMap/sources.html Xjdk%%JDK_VERSION%%/demo/ImageMap/imagemapcheat.html Xjdk%%JDK_VERSION%%/demo/ImageMap/AniArea.java Xjdk%%JDK_VERSION%%/demo/ImageMap/ButtonFilter.java Xjdk%%JDK_VERSION%%/demo/ImageMap/ClickArea.java Xjdk%%JDK_VERSION%%/demo/ImageMap/DelayedSoundArea.java Xjdk%%JDK_VERSION%%/demo/ImageMap/HighlightArea.java Xjdk%%JDK_VERSION%%/demo/ImageMap/HighlightFilter.java Xjdk%%JDK_VERSION%%/demo/ImageMap/HrefButtonArea.java Xjdk%%JDK_VERSION%%/demo/ImageMap/ImageMap.java Xjdk%%JDK_VERSION%%/demo/ImageMap/ImageMapArea.java Xjdk%%JDK_VERSION%%/demo/ImageMap/LinkArea.java Xjdk%%JDK_VERSION%%/demo/ImageMap/NameArea.java Xjdk%%JDK_VERSION%%/demo/ImageMap/RoundButtonFilter.java Xjdk%%JDK_VERSION%%/demo/ImageMap/RoundHrefButtonArea.java Xjdk%%JDK_VERSION%%/demo/ImageMap/SoundArea.java Xjdk%%JDK_VERSION%%/demo/ImageMap/TickerArea.java Xjdk%%JDK_VERSION%%/demo/ImageMap/AniArea.class Xjdk%%JDK_VERSION%%/demo/ImageMap/ButtonFilter.class Xjdk%%JDK_VERSION%%/demo/ImageMap/ClickArea.class Xjdk%%JDK_VERSION%%/demo/ImageMap/DelayedSoundArea.class Xjdk%%JDK_VERSION%%/demo/ImageMap/HighlightArea.class Xjdk%%JDK_VERSION%%/demo/ImageMap/HighlightFilter.class Xjdk%%JDK_VERSION%%/demo/ImageMap/HrefButtonArea.class Xjdk%%JDK_VERSION%%/demo/ImageMap/ImageMap.class Xjdk%%JDK_VERSION%%/demo/ImageMap/ImageMapArea.class Xjdk%%JDK_VERSION%%/demo/ImageMap/LinkArea.class Xjdk%%JDK_VERSION%%/demo/ImageMap/NameArea.class Xjdk%%JDK_VERSION%%/demo/ImageMap/RoundButtonFilter.class Xjdk%%JDK_VERSION%%/demo/ImageMap/RoundHrefButtonArea.class Xjdk%%JDK_VERSION%%/demo/ImageMap/SoundArea.class Xjdk%%JDK_VERSION%%/demo/ImageMap/TickerArea.class Xjdk%%JDK_VERSION%%/demo/JumpingBox/sounds/adapt-or-die.au Xjdk%%JDK_VERSION%%/demo/JumpingBox/sounds/ip.au Xjdk%%JDK_VERSION%%/demo/JumpingBox/sounds/that.hurts.au Xjdk%%JDK_VERSION%%/demo/JumpingBox/sounds/cannot.be.completed.au Xjdk%%JDK_VERSION%%/demo/JumpingBox/sounds/thin.bell.au Xjdk%%JDK_VERSION%%/demo/JumpingBox/sounds/tiptoe.thru.the.tulips.au Xjdk%%JDK_VERSION%%/demo/JumpingBox/example1.html Xjdk%%JDK_VERSION%%/demo/JumpingBox/MouseTrack.java Xjdk%%JDK_VERSION%%/demo/JumpingBox/MouseTrack.class Xjdk%%JDK_VERSION%%/demo/MoleculeViewer/models/benzene.xyz Xjdk%%JDK_VERSION%%/demo/MoleculeViewer/models/buckminsterfullerine.xyz Xjdk%%JDK_VERSION%%/demo/MoleculeViewer/models/HyaluronicAcid.xyz Xjdk%%JDK_VERSION%%/demo/MoleculeViewer/models/cyclohexane.xyz Xjdk%%JDK_VERSION%%/demo/MoleculeViewer/models/ethane.xyz Xjdk%%JDK_VERSION%%/demo/MoleculeViewer/models/water.xyz Xjdk%%JDK_VERSION%%/demo/MoleculeViewer/example1.html Xjdk%%JDK_VERSION%%/demo/MoleculeViewer/example2.html Xjdk%%JDK_VERSION%%/demo/MoleculeViewer/example3.html Xjdk%%JDK_VERSION%%/demo/MoleculeViewer/Matrix3D.java Xjdk%%JDK_VERSION%%/demo/MoleculeViewer/XYZApp.java Xjdk%%JDK_VERSION%%/demo/MoleculeViewer/Matrix3D.class Xjdk%%JDK_VERSION%%/demo/MoleculeViewer/XYZChemModel.class Xjdk%%JDK_VERSION%%/demo/MoleculeViewer/XYZApp.class Xjdk%%JDK_VERSION%%/demo/MoleculeViewer/Atom.class Xjdk%%JDK_VERSION%%/demo/NervousText/example1.html Xjdk%%JDK_VERSION%%/demo/NervousText/NervousText.java Xjdk%%JDK_VERSION%%/demo/NervousText/NervousText.class Xjdk%%JDK_VERSION%%/demo/SimpleGraph/example1.html Xjdk%%JDK_VERSION%%/demo/SimpleGraph/GraphApplet.java Xjdk%%JDK_VERSION%%/demo/SimpleGraph/GraphApplet.class Xjdk%%JDK_VERSION%%/demo/SortDemo/example1.html Xjdk%%JDK_VERSION%%/demo/SortDemo/BidirBubbleSortAlgorithm.java Xjdk%%JDK_VERSION%%/demo/SortDemo/BubbleSortAlgorithm.java Xjdk%%JDK_VERSION%%/demo/SortDemo/QSortAlgorithm.java Xjdk%%JDK_VERSION%%/demo/SortDemo/SortAlgorithm.java Xjdk%%JDK_VERSION%%/demo/SortDemo/SortItem.java Xjdk%%JDK_VERSION%%/demo/SortDemo/BidirBubbleSortAlgorithm.class Xjdk%%JDK_VERSION%%/demo/SortDemo/BubbleSortAlgorithm.class Xjdk%%JDK_VERSION%%/demo/SortDemo/QSortAlgorithm.class Xjdk%%JDK_VERSION%%/demo/SortDemo/SortAlgorithm.class Xjdk%%JDK_VERSION%%/demo/SortDemo/SortItem.class Xjdk%%JDK_VERSION%%/demo/SpreadSheet/example1.html Xjdk%%JDK_VERSION%%/demo/SpreadSheet/SpreadSheet.java Xjdk%%JDK_VERSION%%/demo/SpreadSheet/SpreadSheet.class Xjdk%%JDK_VERSION%%/demo/SpreadSheet/CellUpdater.class Xjdk%%JDK_VERSION%%/demo/SpreadSheet/Cell.class Xjdk%%JDK_VERSION%%/demo/SpreadSheet/Node.class Xjdk%%JDK_VERSION%%/demo/SpreadSheet/InputField.class Xjdk%%JDK_VERSION%%/demo/SpreadSheet/SpreadSheetInput.class Xjdk%%JDK_VERSION%%/demo/TicTacToe/audio/beep.au Xjdk%%JDK_VERSION%%/demo/TicTacToe/audio/ding.au Xjdk%%JDK_VERSION%%/demo/TicTacToe/audio/return.au Xjdk%%JDK_VERSION%%/demo/TicTacToe/audio/yahoo1.au Xjdk%%JDK_VERSION%%/demo/TicTacToe/audio/yahoo2.au Xjdk%%JDK_VERSION%%/demo/TicTacToe/images/cross.gif Xjdk%%JDK_VERSION%%/demo/TicTacToe/images/not.gif Xjdk%%JDK_VERSION%%/demo/TicTacToe/example1.html Xjdk%%JDK_VERSION%%/demo/TicTacToe/TicTacToe.java Xjdk%%JDK_VERSION%%/demo/TicTacToe/TicTacToe.class Xjdk%%JDK_VERSION%%/demo/WireFrame/models/cube.obj Xjdk%%JDK_VERSION%%/demo/WireFrame/models/dinasaur.obj Xjdk%%JDK_VERSION%%/demo/WireFrame/models/hughes_500.obj Xjdk%%JDK_VERSION%%/demo/WireFrame/models/knoxS.obj Xjdk%%JDK_VERSION%%/demo/WireFrame/example1.html Xjdk%%JDK_VERSION%%/demo/WireFrame/example2.html Xjdk%%JDK_VERSION%%/demo/WireFrame/example3.html Xjdk%%JDK_VERSION%%/demo/WireFrame/example4.html Xjdk%%JDK_VERSION%%/demo/WireFrame/Matrix3D.java Xjdk%%JDK_VERSION%%/demo/WireFrame/ThreeD.java Xjdk%%JDK_VERSION%%/demo/WireFrame/Matrix3D.class Xjdk%%JDK_VERSION%%/demo/WireFrame/FileFormatException.class Xjdk%%JDK_VERSION%%/demo/WireFrame/Model3D.class Xjdk%%JDK_VERSION%%/demo/WireFrame/ThreeD.class Xjdk%%JDK_VERSION%%/demo/i18n/Collate/CollationDetails.html Xjdk%%JDK_VERSION%%/demo/i18n/Collate/example1.html Xjdk%%JDK_VERSION%%/demo/i18n/DateTimeFormat/example1.html Xjdk%%JDK_VERSION%%/demo/i18n/MessageFormat/example1.html Xjdk%%JDK_VERSION%%/demo/i18n/NumberFormat/example1.html Xjdk%%JDK_VERSION%%/demo/i18n/TextBound/example1.html Xjdk%%JDK_VERSION%%/demo/i18n/code/BorderPanel.java Xjdk%%JDK_VERSION%%/demo/i18n/code/ChoiceResource.java Xjdk%%JDK_VERSION%%/demo/i18n/code/ChoiceResource_da.java Xjdk%%JDK_VERSION%%/demo/i18n/code/ChoiceResource_de.java Xjdk%%JDK_VERSION%%/demo/i18n/code/ChoiceResource_en.java Xjdk%%JDK_VERSION%%/demo/i18n/code/ChoiceResource_fr.java Xjdk%%JDK_VERSION%%/demo/i18n/code/ChoiceResource_it.java Xjdk%%JDK_VERSION%%/demo/i18n/code/ChoiceResource_ja.java Xjdk%%JDK_VERSION%%/demo/i18n/code/CollateDemo.java Xjdk%%JDK_VERSION%%/demo/i18n/code/DateTimeDemo.java Xjdk%%JDK_VERSION%%/demo/i18n/code/DemoApplet.java Xjdk%%JDK_VERSION%%/demo/i18n/code/MessageFormatDemo.java Xjdk%%JDK_VERSION%%/demo/i18n/code/NumberFormatDemo.java Xjdk%%JDK_VERSION%%/demo/i18n/code/TextBoundDemo.java Xjdk%%JDK_VERSION%%/demo/i18n/code/Utility.java Xjdk%%JDK_VERSION%%/demo/i18n/code/BorderPanel.class Xjdk%%JDK_VERSION%%/demo/i18n/code/ChoiceResource.class Xjdk%%JDK_VERSION%%/demo/i18n/code/ChoiceResource_da.class Xjdk%%JDK_VERSION%%/demo/i18n/code/ChoiceResource_de.class Xjdk%%JDK_VERSION%%/demo/i18n/code/ChoiceResource_en.class Xjdk%%JDK_VERSION%%/demo/i18n/code/ChoiceResource_fr.class Xjdk%%JDK_VERSION%%/demo/i18n/code/ChoiceResource_it.class Xjdk%%JDK_VERSION%%/demo/i18n/code/ChoiceResource_ja.class Xjdk%%JDK_VERSION%%/demo/i18n/code/CollateDemo.class Xjdk%%JDK_VERSION%%/demo/i18n/code/CollateFrame.class Xjdk%%JDK_VERSION%%/demo/i18n/code/DateTimeDemo.class Xjdk%%JDK_VERSION%%/demo/i18n/code/DateTimeFrame.class Xjdk%%JDK_VERSION%%/demo/i18n/code/DemoApplet.class Xjdk%%JDK_VERSION%%/demo/i18n/code/MessageFormatDemo.class Xjdk%%JDK_VERSION%%/demo/i18n/code/MessageFormatFrame.class Xjdk%%JDK_VERSION%%/demo/i18n/code/XBorderPanel.class Xjdk%%JDK_VERSION%%/demo/i18n/code/NumberFormatDemo.class Xjdk%%JDK_VERSION%%/demo/i18n/code/NumberFormatFrame.class Xjdk%%JDK_VERSION%%/demo/i18n/code/TextBoundDemo.class Xjdk%%JDK_VERSION%%/demo/i18n/code/TextBoundFrame.class Xjdk%%JDK_VERSION%%/demo/i18n/code/Utility.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/index.html Xjdk%%JDK_VERSION%%/demo/awt-1.1/eventmodel/index.html Xjdk%%JDK_VERSION%%/demo/awt-1.1/eventmodel/Box.java Xjdk%%JDK_VERSION%%/demo/awt-1.1/eventmodel/Click0.java Xjdk%%JDK_VERSION%%/demo/awt-1.1/eventmodel/Click1.java Xjdk%%JDK_VERSION%%/demo/awt-1.1/eventmodel/Click2.java Xjdk%%JDK_VERSION%%/demo/awt-1.1/eventmodel/Click3.java Xjdk%%JDK_VERSION%%/demo/awt-1.1/eventmodel/ColumnOfBoxes.java Xjdk%%JDK_VERSION%%/demo/awt-1.1/eventmodel/Box.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/eventmodel/Click0.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/eventmodel/Click0$1.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/eventmodel/Click0$2.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/eventmodel/Click1.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/eventmodel/Click1$TargetListener.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/eventmodel/Click1$1.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/eventmodel/Click1$2.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/eventmodel/Click2.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/eventmodel/Click2$TargetListener.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/eventmodel/Click2$1.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/eventmodel/Click2$2.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/eventmodel/Click3.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/eventmodel/Click3$TargetListener.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/eventmodel/Click3$1.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/eventmodel/Click3$2.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/eventmodel/Click3$3.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/eventmodel/ColumnOfBoxes.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/index.html Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Gauge/example.html Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Gauge/ExampleApplet.jar Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Gauge/ExampleApplet.zip Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Gauge/Switcher.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Gauge/actual/images/mandrill.jpg Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Gauge/actual/Gauge.java Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Gauge/actual/DoubleBufferPanel.java Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Gauge/actual/ExampleApplet.java Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Gauge/actual/actual/Gauge.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Gauge/actual/actual/DoubleBufferPanel.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Gauge/actual/actual/ExampleApplet.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Gauge/actual/actual/PrettyPanel.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Gauge/actual/actual/GaugeThread.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Gauge/alternative/ExampleApplet.gif Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Gauge/alternative/ImageDisplayer.java Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Gauge/alternative/PictureFrame.java Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Gauge/alternative/Compatibility.java Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Gauge/alternative/ExampleApplet.java Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Gauge/alternative/alternative/ImageDisplayer.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Gauge/alternative/alternative/PictureFrame.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Gauge/alternative/alternative/Compatibility.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Gauge/alternative/alternative/ExampleApplet.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/OpenlookButtons/example.html Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/OpenlookButtons/ExampleApplet.jar Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/OpenlookButtons/ExampleApplet.zip Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/OpenlookButtons/Switcher.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/OpenlookButtons/actual/images/scott.jpg Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/OpenlookButtons/actual/OpenlookButton.java Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/OpenlookButtons/actual/ExampleApplet.java Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/OpenlookButtons/actual/actual/OpenlookButton.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/OpenlookButtons/actual/actual/ExampleApplet.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/OpenlookButtons/actual/actual/ExampleActionListener.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/OpenlookButtons/alternative/ExampleApplet.gif Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/OpenlookButtons/alternative/ImageDisplayer.java Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/OpenlookButtons/alternative/PictureFrame.java Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/OpenlookButtons/alternative/Compatibility.java Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/OpenlookButtons/alternative/ExampleApplet.java Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/OpenlookButtons/alternative/alternative/ImageDisplayer.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/OpenlookButtons/alternative/alternative/PictureFrame.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/OpenlookButtons/alternative/alternative/Compatibility.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/OpenlookButtons/alternative/alternative/ExampleApplet.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/RoundButtons/example.html Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/RoundButtons/ExampleApplet.jar Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/RoundButtons/ExampleApplet.zip Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/RoundButtons/Switcher.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/RoundButtons/actual/images/scott.jpg Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/RoundButtons/actual/RoundButton.java Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/RoundButtons/actual/ExampleApplet.java Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/RoundButtons/alternative/ExampleApplet.gif Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/RoundButtons/alternative/ImageDisplayer.java Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/RoundButtons/alternative/PictureFrame.java Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/RoundButtons/alternative/Compatibility.java Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/RoundButtons/alternative/ExampleApplet.java Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/RoundButtons/alternative/alternative/ImageDisplayer.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/RoundButtons/alternative/alternative/PictureFrame.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/RoundButtons/alternative/alternative/Compatibility.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/RoundButtons/alternative/alternative/ExampleApplet.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Spinner/example.html Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Spinner/ExampleApplet.jar Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Spinner/ExampleApplet.zip Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Spinner/Switcher.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Spinner/actual/images/orb.gif Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Spinner/actual/Spinner.java Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Spinner/actual/ExampleApplet.java Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Spinner/actual/actual/Spinner.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Spinner/actual/actual/SpinnerThread.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Spinner/actual/actual/ExampleApplet.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Spinner/alternative/ExampleApplet.gif Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Spinner/alternative/ImageDisplayer.java Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Spinner/alternative/PictureFrame.java Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Spinner/alternative/Compatibility.java Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Spinner/alternative/ExampleApplet.java Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Spinner/alternative/alternative/ImageDisplayer.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Spinner/alternative/alternative/PictureFrame.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Spinner/alternative/alternative/Compatibility.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Spinner/alternative/alternative/ExampleApplet.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/symboltest/index.html Xjdk%%JDK_VERSION%%/demo/awt-1.1/symboltest/SymbolTest.java Xjdk%%JDK_VERSION%%/demo/awt-1.1/symboltest/SymbolTest.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/symboltest/SymbolTest$MyAdapter.class Xjdk%%JDK_VERSION%%/demo/awt-1.1/symboltest/SymbolCanvas.class Xjdk%%JDK_VERSION%%/COPYRIGHT Xjdk%%JDK_VERSION%%/src.zip Xjdk%%JDK_VERSION%%/LICENSE Xjdk%%JDK_VERSION%%/README Xjdk%%JDK_VERSION%%/README.FreeBSD Xjdk%%JDK_VERSION%%/CHANGES Xjdk%%JDK_VERSION%%/index.html X@exec mkdir -p %D/share/java/classes X@exec mkdir -p %D/share/doc/java X@unexec rmdir %D/share/java/classes X@unexec rmdir %D/share/java X@unexec rmdir %D/share/doc/java X@exec %D/bin/registervm "%D/jdk%%JDK_VERSION%%/bin/java # JDK%%JDK_VERSION%%" X@unexec %D/bin/unregistervm JDK%%JDK_VERSION%% X@dirrm jdk%%JDK_VERSION%%/lib/security X@dirrm jdk%%JDK_VERSION%%/lib/locale/ja_JP.UTF-8/app-defaults X@dirrm jdk%%JDK_VERSION%%/lib/locale/ja_JP.UTF-8 X@dirrm jdk%%JDK_VERSION%%/lib/locale/ja_JP.PCK/app-defaults X@dirrm jdk%%JDK_VERSION%%/lib/locale/ja_JP.PCK X@dirrm jdk%%JDK_VERSION%%/lib/locale/ja/app-defaults X@dirrm jdk%%JDK_VERSION%%/lib/locale/ja X@dirrm jdk%%JDK_VERSION%%/lib/locale X@dirrm jdk%%JDK_VERSION%%/lib/i386/green_threads X@dirrm jdk%%JDK_VERSION%%/lib/i386 X@dirrm jdk%%JDK_VERSION%%/lib X@dirrm jdk%%JDK_VERSION%%/include/green_threads/include X@dirrm jdk%%JDK_VERSION%%/include/green_threads X@dirrm jdk%%JDK_VERSION%%/include/freebsd X@dirrm jdk%%JDK_VERSION%%/include X@dirrm jdk%%JDK_VERSION%%/demo/i18n/code X@dirrm jdk%%JDK_VERSION%%/demo/i18n/TextBound X@dirrm jdk%%JDK_VERSION%%/demo/i18n/NumberFormat X@dirrm jdk%%JDK_VERSION%%/demo/i18n/MessageFormat X@dirrm jdk%%JDK_VERSION%%/demo/i18n/DateTimeFormat X@dirrm jdk%%JDK_VERSION%%/demo/i18n/Collate X@dirrm jdk%%JDK_VERSION%%/demo/i18n X@dirrm jdk%%JDK_VERSION%%/demo/awt-1.1/symboltest X@dirrm jdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Spinner/alternative/alternative X@dirrm jdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Spinner/alternative X@dirrm jdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Spinner/actual/images X@dirrm jdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Spinner/actual/actual X@dirrm jdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Spinner/actual X@dirrm jdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Spinner X@dirrm jdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/RoundButtons/alternative/alternative X@dirrm jdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/RoundButtons/alternative X@dirrm jdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/RoundButtons/actual/images X@dirrm jdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/RoundButtons/actual X@dirrm jdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/RoundButtons X@dirrm jdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/OpenlookButtons/alternative/alternative X@dirrm jdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/OpenlookButtons/alternative X@dirrm jdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/OpenlookButtons/actual/images X@dirrm jdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/OpenlookButtons/actual/actual X@dirrm jdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/OpenlookButtons/actual X@dirrm jdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/OpenlookButtons X@dirrm jdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Gauge/alternative/alternative X@dirrm jdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Gauge/alternative X@dirrm jdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Gauge/actual/images X@dirrm jdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Gauge/actual/actual X@dirrm jdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Gauge/actual X@dirrm jdk%%JDK_VERSION%%/demo/awt-1.1/lightweight/Gauge X@dirrm jdk%%JDK_VERSION%%/demo/awt-1.1/lightweight X@dirrm jdk%%JDK_VERSION%%/demo/awt-1.1/eventmodel X@dirrm jdk%%JDK_VERSION%%/demo/awt-1.1 X@dirrm jdk%%JDK_VERSION%%/demo/WireFrame/models X@dirrm jdk%%JDK_VERSION%%/demo/WireFrame X@dirrm jdk%%JDK_VERSION%%/demo/TicTacToe/images X@dirrm jdk%%JDK_VERSION%%/demo/TicTacToe/audio X@dirrm jdk%%JDK_VERSION%%/demo/TicTacToe X@dirrm jdk%%JDK_VERSION%%/demo/SpreadSheet X@dirrm jdk%%JDK_VERSION%%/demo/SortDemo X@dirrm jdk%%JDK_VERSION%%/demo/SimpleGraph X@dirrm jdk%%JDK_VERSION%%/demo/NervousText X@dirrm jdk%%JDK_VERSION%%/demo/MoleculeViewer/models X@dirrm jdk%%JDK_VERSION%%/demo/MoleculeViewer X@dirrm jdk%%JDK_VERSION%%/demo/JumpingBox/sounds X@dirrm jdk%%JDK_VERSION%%/demo/JumpingBox X@dirrm jdk%%JDK_VERSION%%/demo/ImageMap/images X@dirrm jdk%%JDK_VERSION%%/demo/ImageMap/audio X@dirrm jdk%%JDK_VERSION%%/demo/ImageMap X@dirrm jdk%%JDK_VERSION%%/demo/GraphicsTest X@dirrm jdk%%JDK_VERSION%%/demo/GraphLayout/audio X@dirrm jdk%%JDK_VERSION%%/demo/GraphLayout X@dirrm jdk%%JDK_VERSION%%/demo/Fractal X@dirrm jdk%%JDK_VERSION%%/demo/DrawTest X@dirrm jdk%%JDK_VERSION%%/demo/DitherTest X@dirrm jdk%%JDK_VERSION%%/demo/Clock X@dirrm jdk%%JDK_VERSION%%/demo/CardTest X@dirrm jdk%%JDK_VERSION%%/demo/Blink X@dirrm jdk%%JDK_VERSION%%/demo/BarChart X@dirrm jdk%%JDK_VERSION%%/demo/ArcTest X@dirrm jdk%%JDK_VERSION%%/demo/Animator/images/SimpleAnimation X@dirrm jdk%%JDK_VERSION%%/demo/Animator/images/Beans X@dirrm jdk%%JDK_VERSION%%/demo/Animator/images X@dirrm jdk%%JDK_VERSION%%/demo/Animator/audio X@dirrm jdk%%JDK_VERSION%%/demo/Animator X@dirrm jdk%%JDK_VERSION%%/demo X@dirrm jdk%%JDK_VERSION%%/bin/i386/green_threads X@dirrm jdk%%JDK_VERSION%%/bin/i386 X@dirrm jdk%%JDK_VERSION%%/bin X@dirrm jdk%%JDK_VERSION%% END-of-jdk/pkg-plist exit --gKMricLos+KVdGMg Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="Makefile.diff" *** Makefile.orig Tue Mar 6 13:12:04 2001 --- Makefile Tue Mar 6 13:13:43 2001 *************** do-install: *** 42,46 **** --- 42,49 ---- post-install: ${LOCALBASE}/bin/registervm "${PREFIX}/jdk${JDK_VERSION}/bin/java # JDK${JDK_VERSION}" + .if ${OSVERSION} > 400000 + ${ECHO} "You will need to install the compat3x libraries to use this port." + .endif .include --gKMricLos+KVdGMg-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 6 5:12:14 2001 Delivered-To: freebsd-java@freebsd.org Received: from pluto.senet.com.au (pluto.senet.com.au [203.56.239.150]) by hub.freebsd.org (Postfix) with ESMTP id 386CF37B719 for ; Tue, 6 Mar 2001 05:12:11 -0800 (PST) (envelope-from glewis@misty.eyesbeyond.com) Received: from misty.eyesbeyond.com (c24-fr-p41.senet.com.au [172.16.24.42]) by pluto.senet.com.au (8.11.0/8.11.0) with ESMTP id f26DBun69566; Tue, 6 Mar 2001 23:41:56 +1030 (CST) (envelope-from glewis@misty.eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.9.3/8.9.3) id XAA76919; Tue, 6 Mar 2001 23:41:53 +1030 (CST) (envelope-from glewis) Date: Tue, 6 Mar 2001 23:41:53 +1030 From: Greg Lewis To: Ernst de Haan Cc: Greg Lewis , Philip Murray , freebsd-java@FreeBSD.ORG, Nate Williams Subject: Re: JDK1.1.8 segfaults Message-ID: <20010306234152.A76793@misty.eyesbeyond.com> References: <000901c0a5fc$d89af730$0100a8c0@sparlak> <20010306220649.A71154@misty.eyesbeyond.com> <20010306131735.A993@c187104187.telekabel.chello.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010306131735.A993@c187104187.telekabel.chello.nl>; from ernst@jollem.com on Tue, Mar 06, 2001 at 01:17:35PM +0100 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Mar 06, 2001 at 01:17:35PM +0100, Ernst de Haan wrote: > Hey Greg and all, > > > I'm not a port committer, so I can't commit the changes myself, but I created > a diff for the Makefile, and a new shar file too. I just wonder if README.html > should go in there too. I think README.html files are automatically generated, > but I'm not sure. Cool :). Now all we need is someone to commit it, or something similar. Nate, you're the maintainer, is something like this appropriate? I'm sure I can come up with different wording if thats a problem. Think of all the questions you won't have to answer :). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Mobile: 0419 868 494 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 6 5:33:55 2001 Delivered-To: freebsd-java@freebsd.org Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8]) by hub.freebsd.org (Postfix) with ESMTP id D670A37B71A for ; Tue, 6 Mar 2001 05:33:52 -0800 (PST) (envelope-from K.J.Koster@kpn.com) Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by research.kpn.com (PMDF V5.2-31 #42699) with ESMTP id <01K0VOPO7HS4000IN7@research.kpn.com> for freebsd-java@FreeBSD.ORG; Tue, 6 Mar 2001 14:33:51 +0100 Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id ; Tue, 06 Mar 2001 14:25:39 +0100 Content-return: allowed Date: Tue, 06 Mar 2001 14:25:32 +0100 From: "Koster, K.J." Subject: RE: JDK1.1.8 segfaults To: 'Philip Murray' Cc: freebsd-java@FreeBSD.ORG Message-id: <59063B5B4D98D311BC0D0001FA7E4522026D7C80@l04.research.kpn.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > > I installed them using /stand/sysinstall, but it didn't work. > > > Still segaults the same way. > > > > You may have to tell ldconfig to rescan the directories. If > > the compat lib > > directory did not exist at boot time ldconfig will not look > > in it I think. > > The flags will be in the man page for ldconfig. You can > > also take the Windows route and reboot. > > Tried both, no luck. What else can I do? > Well, you've got me stumped. So far installing the compat libs remedied this problem. > > I'm trying to get the jdk working so I can install Tomcat or Jserv > Both of these will work with the native JDK 1.2.2 (/usr/ports/java/jdk12-beta) and the linux JDK's (/usr/ports/java/linux-jdk*). Perhaps you can install those. I have a FreeBSD/Tomcat howto on my web page by the way: http://kjkoster.org/java/index.jsp?page=content/packages.jsp Kees Jan ================================================ You are only young once, but you can stay immature all your life. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 6 7: 5:22 2001 Delivered-To: freebsd-java@freebsd.org Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8]) by hub.freebsd.org (Postfix) with ESMTP id 00C3F37B719 for ; Tue, 6 Mar 2001 07:05:20 -0800 (PST) (envelope-from K.J.Koster@kpn.com) Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by research.kpn.com (PMDF V5.2-31 #42699) with ESMTP id <01K0VRW90EQS000H7R@research.kpn.com> for freebsd-java@FreeBSD.ORG; Tue, 6 Mar 2001 16:05:14 +0100 Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id ; Tue, 06 Mar 2001 16:03:06 +0100 Content-return: allowed Date: Tue, 06 Mar 2001 16:03:02 +0100 From: "Koster, K.J." Subject: RE: JDK1.1.8 segfaults To: 'Ernst de Haan' Cc: freebsd-java@FreeBSD.ORG Message-id: <59063B5B4D98D311BC0D0001FA7E4522026D7C81@l04.research.kpn.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Ernst, > > * http://java.sun.com/j2se/1.3/download-linux.html > > To download the file "j2sdk-1_3_0-linux.bin" and place it in > /usr/ports/distfiles. > I tried installing the linux jdk 1.3 last night and I think Sun updated the release. Perhaps the port is broken. I got distracted, so I did not pursue the issue. Kees Jan ================================================ You are only young once, but you can stay immature all your life. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 6 7:42:29 2001 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id DE1F337B71D for ; Tue, 6 Mar 2001 07:42:21 -0800 (PST) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id IAA06705; Tue, 6 Mar 2001 08:41:55 -0700 (MST) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id IAA22456; Tue, 6 Mar 2001 08:41:55 -0700 (MST) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15013.1347.30863.189494@nomad.yogotech.com> Date: Tue, 6 Mar 2001 08:41:55 -0700 (MST) To: Greg Lewis Cc: Ernst de Haan , Philip Murray , freebsd-java@FreeBSD.ORG, Nate Williams Subject: Re: JDK1.1.8 segfaults In-Reply-To: <20010306234152.A76793@misty.eyesbeyond.com> References: <000901c0a5fc$d89af730$0100a8c0@sparlak> <20010306220649.A71154@misty.eyesbeyond.com> <20010306131735.A993@c187104187.telekabel.chello.nl> <20010306234152.A76793@misty.eyesbeyond.com> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > I'm not a port committer, so I can't commit the changes myself, but I created > > a diff for the Makefile, and a new shar file too. I just wonder if README.html > > should go in there too. I think README.html files are automatically generated, > > but I'm not sure. > > Cool :). Now all we need is someone to commit it, or something similar. > > Nate, you're the maintainer, is something like this appropriate? I'm > sure I can come up with different wording if thats a problem. Think > of all the questions you won't have to answer :). Committed. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 6 7:42:28 2001 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id D56C137B71B for ; Tue, 6 Mar 2001 07:42:21 -0800 (PST) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id IAA06702; Tue, 6 Mar 2001 08:41:44 -0700 (MST) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id IAA22449; Tue, 6 Mar 2001 08:41:39 -0700 (MST) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15013.1331.271690.579038@nomad.yogotech.com> Date: Tue, 6 Mar 2001 08:41:39 -0700 (MST) To: Ernst de Haan Cc: Greg Lewis , Philip Murray , freebsd-java@FreeBSD.ORG, Nate Williams Subject: Re: JDK1.1.8 segfaults In-Reply-To: <20010306131735.A993@c187104187.telekabel.chello.nl> References: <000901c0a5fc$d89af730$0100a8c0@sparlak> <20010306220649.A71154@misty.eyesbeyond.com> <20010306131735.A993@c187104187.telekabel.chello.nl> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > Can someone please add some lines to post-install target in the Makefile > > which does something like: > > .if ${OSVERSION} > 400000 > > ${ECHO} "You will need to install the compat3x libraries to use this port." > > .endif Done! Thanks guys! Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 6 10: 4:21 2001 Delivered-To: freebsd-java@freebsd.org Received: from pcnet1.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by hub.freebsd.org (Postfix) with ESMTP id 7E4C937B718 for ; Tue, 6 Mar 2001 10:04:19 -0800 (PST) (envelope-from eischen@vigrid.com) Received: from vigrid.com (pm3-pt44.pcnet.net [206.105.29.118]) by pcnet1.pcnet.com (8.8.7/PCNet) with ESMTP id NAA20048; Tue, 6 Mar 2001 13:03:48 -0500 (EST) Message-ID: <3AA52622.CA33EBE2@vigrid.com> Date: Tue, 06 Mar 2001 13:02:10 -0500 From: "Daniel M. Eischen" X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: java@freebsd.org Subject: Java and libc/libpthread Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I'm currently working on an NxN libpthread implementation as an interim solution until we get KSEs. The goal is to get this done before 5.0. Unfortunately I don't have the time to help the Java porting effort, but I would like to hear about any problems the porters are having with our current libc and any expected problems from a libpthread that will act very similar to linuxthreads. Thanks, -- Dan Eischen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 6 10: 7:30 2001 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id 84E0537B71D for ; Tue, 6 Mar 2001 10:07:25 -0800 (PST) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id LAA09131; Tue, 6 Mar 2001 11:07:24 -0700 (MST) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id LAA09746; Tue, 6 Mar 2001 11:07:23 -0700 (MST) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15013.10075.22410.630598@nomad.yogotech.com> Date: Tue, 6 Mar 2001 11:07:23 -0700 (MST) To: "Daniel M. Eischen" Cc: java@FreeBSD.ORG Subject: Re: Java and libc/libpthread In-Reply-To: <3AA52622.CA33EBE2@vigrid.com> References: <3AA52622.CA33EBE2@vigrid.com> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I'm currently working on an NxN libpthread implementation as > an interim solution until we get KSEs. The goal is to get > this done before 5.0. How is this different from the current implementation? > Unfortunately I don't have the time to help the Java porting > effort, but I would like to hear about any problems the porters > are having with our current libc and any expected problems from > a libpthread that will act very similar to linuxthreads. Will do... Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 6 10:22:41 2001 Delivered-To: freebsd-java@freebsd.org Received: from pcnet1.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by hub.freebsd.org (Postfix) with ESMTP id 9C91E37B719 for ; Tue, 6 Mar 2001 10:22:38 -0800 (PST) (envelope-from eischen@vigrid.com) Received: (from eischen@localhost) by pcnet1.pcnet.com (8.8.7/PCNet) id NAA23283; Tue, 6 Mar 2001 13:22:02 -0500 (EST) Date: Tue, 6 Mar 2001 13:22:02 -0500 (EST) From: Daniel Eischen To: Nate Williams Cc: "Daniel M. Eischen" , java@FreeBSD.ORG Subject: Re: Java and libc/libpthread In-Reply-To: <15013.10075.22410.630598@nomad.yogotech.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 6 Mar 2001, Nate Williams wrote: > > I'm currently working on an NxN libpthread implementation as > > an interim solution until we get KSEs. The goal is to get > > this done before 5.0. > > How is this different from the current implementation? File descriptors will not be made non-blocking like they are currently in libc_r. When a thread blocks on I/O, it _really_ blocks -- no other threads will be scheduled within that [rfork_thread'd/cloned] process. Other PTHREAD_SCOPE_SYSTEM [rfork_thread] threads will continue to run. I haven't decided yet whether to allow PTHREAD_SCOPE_PROCESS threads (which would run within the main process, and when one of them blocks the main process blocks), or to silently treat process scope threads as system scope threads. > > Unfortunately I don't have the time to help the Java porting > > effort, but I would like to hear about any problems the porters > > are having with our current libc and any expected problems from > > a libpthread that will act very similar to linuxthreads. > > Will do... Thanks. -- Dan Eischen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 6 10:37:44 2001 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id 7B02337B71B for ; Tue, 6 Mar 2001 10:37:42 -0800 (PST) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id LAA09621; Tue, 6 Mar 2001 11:37:40 -0700 (MST) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id LAA09973; Tue, 6 Mar 2001 11:37:39 -0700 (MST) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15013.11891.57267.160163@nomad.yogotech.com> Date: Tue, 6 Mar 2001 11:37:39 -0700 (MST) To: Daniel Eischen Cc: Nate Williams , java@FreeBSD.ORG Subject: Re: Java and libc/libpthread In-Reply-To: References: <15013.10075.22410.630598@nomad.yogotech.com> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > I'm currently working on an NxN libpthread implementation as > > > an interim solution until we get KSEs. The goal is to get > > > this done before 5.0. > > > > How is this different from the current implementation? > > File descriptors will not be made non-blocking like they are > currently in libc_r. When a thread blocks on I/O, it _really_ > blocks -- no other threads will be scheduled within that > [rfork_thread'd/cloned] process. So, reversing the logic ('not be made non-blocking'), file descriptors will be made blocking? This doesn't seem like progress, but I may not understand the implications. > Other PTHREAD_SCOPE_SYSTEM > [rfork_thread] threads will continue to run. So, you're going to create a system similar to Linux-threads, but with a more BSD-like license? Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 6 10:48:58 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id 11CEA37B718 for ; Tue, 6 Mar 2001 10:48:55 -0800 (PST) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.1/8.11.1) id f26Ilsg02332; Tue, 6 Mar 2001 19:47:54 +0100 (CET) (envelope-from ernst) Date: Tue, 6 Mar 2001 19:47:54 +0100 From: Ernst de Haan To: Daniel Eischen Cc: Nate Williams , java@FreeBSD.ORG Subject: Re: Java and libc/libpthread Message-ID: <20010306194754.A2318@c187104187.telekabel.chello.nl> References: <15013.10075.22410.630598@nomad.yogotech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from eischen@vigrid.com on Tue, Mar 06, 2001 at 01:22:02PM -0500 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Daniel. Do the other BSD variants (NetBSD, BSD/OS, etc.) have a similar library? Would libpthread be an implementation of the pthread `standard' found in Solaris? -- Ernst Daniel Eischen wrote: > On Tue, 6 Mar 2001, Nate Williams wrote: > > > I'm currently working on an NxN libpthread implementation as > > > an interim solution until we get KSEs. The goal is to get > > > this done before 5.0. > > > > How is this different from the current implementation? > > File descriptors will not be made non-blocking like they are > currently in libc_r. When a thread blocks on I/O, it _really_ > blocks -- no other threads will be scheduled within that > [rfork_thread'd/cloned] process. Other PTHREAD_SCOPE_SYSTEM > [rfork_thread] threads will continue to run. I haven't decided > yet whether to allow PTHREAD_SCOPE_PROCESS threads (which would > run within the main process, and when one of them blocks the > main process blocks), or to silently treat process scope > threads as system scope threads. > > > > Unfortunately I don't have the time to help the Java porting > > > effort, but I would like to hear about any problems the porters > > > are having with our current libc and any expected problems from > > > a libpthread that will act very similar to linuxthreads. > > > > Will do... > > Thanks. > > -- > Dan Eischen > > 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 6 10:50:20 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id CD8AA37B718 for ; Tue, 6 Mar 2001 10:50:16 -0800 (PST) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.1/8.11.1) id f26InN602350; Tue, 6 Mar 2001 19:49:23 +0100 (CET) (envelope-from ernst) Date: Tue, 6 Mar 2001 19:49:23 +0100 From: Ernst de Haan To: "Koster, K.J." Cc: freebsd-java@FreeBSD.ORG Subject: Re: JDK1.1.8 segfaults Message-ID: <20010306194923.A2341@c187104187.telekabel.chello.nl> References: <59063B5B4D98D311BC0D0001FA7E4522026D7C81@l04.research.kpn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <59063B5B4D98D311BC0D0001FA7E4522026D7C81@l04.research.kpn.com>; from K.J.Koster@kpn.com on Tue, Mar 06, 2001 at 04:03:02PM +0100 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Okay, I will look into this and send any diffs / shar files I can produce to this mailing list. Was there anything you wanted to change to the port? I recall that you asked me to do some patches to this port in the first place? The font.properties file or so? I can handle patch files now too, so... :) -- Ernst Koster, K.J. wrote: > Ernst, > > > > > * http://java.sun.com/j2se/1.3/download-linux.html > > > > To download the file "j2sdk-1_3_0-linux.bin" and place it in > > /usr/ports/distfiles. > > > I tried installing the linux jdk 1.3 last night and I think Sun updated the > release. Perhaps the port is broken. I got distracted, so I did not pursue > the issue. > > Kees Jan > > ================================================ > You are only young once, > but you can stay immature all your life. > > 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 6 10:53: 7 2001 Delivered-To: freebsd-java@freebsd.org Received: from pcnet1.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by hub.freebsd.org (Postfix) with ESMTP id C9C1137B718 for ; Tue, 6 Mar 2001 10:53:04 -0800 (PST) (envelope-from eischen@vigrid.com) Received: (from eischen@localhost) by pcnet1.pcnet.com (8.8.7/PCNet) id NAA28218; Tue, 6 Mar 2001 13:52:28 -0500 (EST) Date: Tue, 6 Mar 2001 13:52:27 -0500 (EST) From: Daniel Eischen To: Nate Williams Cc: Nate Williams , java@FreeBSD.ORG Subject: Re: Java and libc/libpthread In-Reply-To: <15013.11891.57267.160163@nomad.yogotech.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 6 Mar 2001, Nate Williams wrote: > > > > I'm currently working on an NxN libpthread implementation as > > > > an interim solution until we get KSEs. The goal is to get > > > > this done before 5.0. > > > > > > How is this different from the current implementation? > > > > File descriptors will not be made non-blocking like they are > > currently in libc_r. When a thread blocks on I/O, it _really_ > > blocks -- no other threads will be scheduled within that > > [rfork_thread'd/cloned] process. > > So, reversing the logic ('not be made non-blocking'), file descriptors > will be made blocking? Right, err, well, they're whatever the application decides to set them to. > This doesn't seem like progress, but I may not > understand the implications. Some folks find that our libc_r doesn't scale very well for their applications and that linuxthreads (under Linux) perform much, much, better. libc_r will still be around for folks to use; this will be a separate library (libpthread). Solaris 8 provides /usr/lib/lwp/libpthread that provides (by default) a library tailored for NxN. They (Sun) found that it performed better for Java threads. > > Other PTHREAD_SCOPE_SYSTEM > > [rfork_thread] threads will continue to run. > > So, you're going to create a system similar to Linux-threads, but with a > more BSD-like license? Right. -- Dan Eischen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 6 11: 0: 8 2001 Delivered-To: freebsd-java@freebsd.org Received: from pcnet1.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by hub.freebsd.org (Postfix) with ESMTP id C0D8C37B718 for ; Tue, 6 Mar 2001 11:00:06 -0800 (PST) (envelope-from eischen@vigrid.com) Received: (from eischen@localhost) by pcnet1.pcnet.com (8.8.7/PCNet) id NAA29348; Tue, 6 Mar 2001 13:59:32 -0500 (EST) Date: Tue, 6 Mar 2001 13:59:32 -0500 (EST) From: Daniel Eischen To: Ernst de Haan Cc: Nate Williams , java@FreeBSD.ORG Subject: Re: Java and libc/libpthread In-Reply-To: <20010306194754.A2318@c187104187.telekabel.chello.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 6 Mar 2001, Ernst de Haan wrote: > Do the other BSD variants (NetBSD, BSD/OS, etc.) have a similar library? Would > libpthread be an implementation of the pthread `standard' found in Solaris? I don't think {Net,Open}BSD have an NxN threading model. BSD/OS might. My goal is to keep our libpthread as close to the POSIX/SUSv2 specs as possible -- the same interface () as our current libc_r. You should should be able to switch between libc_r and libpthread just by using -lc_r or -lpthread. -- Dan Eischen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 6 11:11:53 2001 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id 8EBD537B718 for ; Tue, 6 Mar 2001 11:11:50 -0800 (PST) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id MAA10185; Tue, 6 Mar 2001 12:11:39 -0700 (MST) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id MAA12841; Tue, 6 Mar 2001 12:11:38 -0700 (MST) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15013.13929.646718.255566@nomad.yogotech.com> Date: Tue, 6 Mar 2001 12:11:37 -0700 (MST) To: Daniel Eischen Cc: Nate Williams , java@FreeBSD.ORG Subject: Re: Java and libc/libpthread In-Reply-To: References: <15013.11891.57267.160163@nomad.yogotech.com> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > > > I'm currently working on an NxN libpthread implementation as > > > > > an interim solution until we get KSEs. The goal is to get > > > > > this done before 5.0. > > > > > > > > How is this different from the current implementation? > > > > > > File descriptors will not be made non-blocking like they are > > > currently in libc_r. When a thread blocks on I/O, it _really_ > > > blocks -- no other threads will be scheduled within that > > > [rfork_thread'd/cloned] process. > > > > So, reversing the logic ('not be made non-blocking'), file descriptors > > will be made blocking? > > Right, err, well, they're whatever the application decides to set > them to. > > > This doesn't seem like progress, but I may not > > understand the implications. > > Some folks find that our libc_r doesn't scale very well for their > applications and that linuxthreads (under Linux) perform much, > much, better. For file-descriptors that *must* block (ie; reading from stdin, or other non-deterministic desciptors), LinuxThreads scales much better. > libc_r will still be around for folks to use; this will be a separate > library (libpthread). Gotcha. > Solaris 8 provides /usr/lib/lwp/libpthread that provides (by > default) a library tailored for NxN. They (Sun) found that it > performed better for Java threads. Java doesn't give the author any control over the thread creation/removal or scope, so the overhead of MxN model is useless for Java. > > So, you're going to create a system similar to Linux-threads, but with a > > more BSD-like license? > > Right. Wonderful! Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 6 16: 6:56 2001 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (cx739861-a.dt1.sdca.home.com [24.5.164.61]) by hub.freebsd.org (Postfix) with ESMTP id CED6E37B719 for ; Tue, 6 Mar 2001 16:06:54 -0800 (PST) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.22 #1 (Debian)) id 14aRTZ-0000IV-00; Tue, 06 Mar 2001 16:06:45 -0800 Date: Tue, 6 Mar 2001 16:06:45 -0800 To: Daniel Eischen Cc: Ernst de Haan , Nate Williams , java@FreeBSD.ORG Subject: Re: Java and libc/libpthread Message-ID: <20010306160645.A1137@gnuppy> References: <20010306194754.A2318@c187104187.telekabel.chello.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.15i In-Reply-To: ; from eischen@vigrid.com on Tue, Mar 06, 2001 at 01:59:32PM -0500 From: Bill Huey Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Mar 06, 2001 at 01:59:32PM -0500, Daniel Eischen wrote: > I don't think {Net,Open}BSD have an NxN threading model. BSD/OS might. > My goal is to keep our libpthread as close to the POSIX/SUSv2 specs > as possible -- the same interface () as our current libc_r. > You should should be able to switch between libc_r and libpthread just > by using -lc_r or -lpthread. > > Dan Eischen I can't speak for our 5.0 product, but BSD/OS's threading library is userspace SIGALRM driven. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 6 17: 6:19 2001 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (cx739861-a.dt1.sdca.home.com [24.5.164.61]) by hub.freebsd.org (Postfix) with ESMTP id E86F237B718 for ; Tue, 6 Mar 2001 17:06:17 -0800 (PST) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.22 #1 (Debian)) id 14aSPA-0000uN-00; Tue, 06 Mar 2001 17:06:16 -0800 Date: Tue, 6 Mar 2001 17:06:16 -0800 To: "Daniel M. Eischen" Cc: java@freebsd.org Subject: Re: Java and libc/libpthread Message-ID: <20010306170616.A3464@gnuppy> References: <3AA52622.CA33EBE2@vigrid.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.15i In-Reply-To: <3AA52622.CA33EBE2@vigrid.com>; from eischen@vigrid.com on Tue, Mar 06, 2001 at 01:02:10PM -0500 From: Bill Huey Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Mar 06, 2001 at 01:02:10PM -0500, Daniel M. Eischen wrote: > I'm currently working on an NxN libpthread implementation as > an interim solution until we get KSEs. The goal is to get > this done before 5.0. Great ! > Unfortunately I don't have the time to help the Java porting > effort, but I would like to hear about any problems the porters > are having with our current libc and any expected problems from > a libpthread that will act very similar to linuxthreads. > > Thanks, > > Dan Eischen I'll ask my manager to help out technically with the FreeBSD port as soon as I finished the TCKing of what I've got under BSD/OS using native threads. It seems Greg Lewis is pretty active with the port on your end and is doing a good job. BTW, what's the status on KSE ? Thanks. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 6 17:28: 3 2001 Delivered-To: freebsd-java@freebsd.org Received: from mail.viasoft.com.cn (unknown [61.153.1.177]) by hub.freebsd.org (Postfix) with ESMTP id 4814037B718 for ; Tue, 6 Mar 2001 17:27:59 -0800 (PST) (envelope-from bsddiy@21cn.com) Received: from William ([192.168.1.98]) by mail.viasoft.com.cn (8.9.3/8.9.3) with ESMTP id JAA12288; Wed, 7 Mar 2001 09:23:48 +0800 Date: Wed, 7 Mar 2001 09:33:06 +0800 From: David Xu X-Mailer: The Bat! (v1.48f) Personal Reply-To: David Xu Organization: Viasoft X-Priority: 3 (Normal) Message-ID: <732348376.20010307093306@viasoft.com.cn> To: Nate Williams Cc: Daniel Eischen , java@FreeBSD.ORG Subject: Re[2]: Java and libc/libpthread In-reply-To: <15013.11891.57267.160163@nomad.yogotech.com> References: <15013.10075.22410.630598@nomad.yogotech.com> <15013.11891.57267.160163@nomad.yogotech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello Nate, Wednesday, March 07, 2001, 2:37:39 AM, you wrote: >> > > I'm currently working on an NxN libpthread implementation as >> > > an interim solution until we get KSEs. The goal is to get >> > > this done before 5.0. >> > >> > How is this different from the current implementation? >> >> File descriptors will not be made non-blocking like they are >> currently in libc_r. When a thread blocks on I/O, it _really_ >> blocks -- no other threads will be scheduled within that >> [rfork_thread'd/cloned] process. NW> So, reversing the logic ('not be made non-blocking'), file descriptors NW> will be made blocking? This doesn't seem like progress, but I may not NW> understand the implications. >> Other PTHREAD_SCOPE_SYSTEM >> [rfork_thread] threads will continue to run. NW> So, you're going to create a system similar to Linux-threads, but with a NW> more BSD-like license? NW> Nate hope KSE will be implemented as soon as possible, it will let multiple blocking I/O run in one process at same time. I see this is a great progress. it seems libpthread will become simpler and smaller and more efficient than old libc_r. -- Best regards, David Xu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 6 18:58:26 2001 Delivered-To: freebsd-java@freebsd.org Received: from veldy.net (w028.z064001117.msp-mn.dsl.cnc.net [64.1.117.28]) by hub.freebsd.org (Postfix) with ESMTP id 0B91437B719 for ; Tue, 6 Mar 2001 18:58:24 -0800 (PST) (envelope-from veldy@veldy.net) Received: from cascade (cascade.veldy.net [192.168.0.1]) by veldy.net (Postfix) with SMTP id D022FBA3F for ; Tue, 6 Mar 2001 20:57:32 -0600 (CST) Message-ID: <003801c0a6b2$4e616890$0100a8c0@cascade> From: "Thomas T. Veldhouse" To: Subject: Native JDK and OpenJIT? Date: Tue, 6 Mar 2001 20:57:11 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello. I just built the OpenJIT port against the JDK1.2.2b10. I did it by modifying the makefile to look at the proper JDK. I have modified the CLASSPATH (export CLASSPATH=/usr/local/lib/OpenJIT/OpenJIT.jar) to include the OpenJIT.jar file and I had to put a link to the binary library, libOpenJIT.so into /usr/local/jdk1.2.2/jre/lib (it wasn't enough to put it in LD_LIBRARY_PATH). I still can not get the JDK to use OpenJIT as the JIT. It always falls back to the interpreter. It gives the error: 'Can't find class org/OpenJIT/X86'. The jar IS in the path and I checked and X86.class is indeed in the jar (under org/OpenJIT). What is wrong here? Is the JDK broken so that it doesn't read LD_LIBRARY_PATH or CLASSPATH anymore? [veldy@fuggle veldy]$ java -version Can't find class org/OpenJIT/X86 java version "1.2.2" Classic VM (build jdk1.2.2-FreeBSD:root:2001/03/06-18:57, green threads) Tom Veldhouse veldy@veldy.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 6 19: 7:52 2001 Delivered-To: freebsd-java@freebsd.org Received: from cafe.muraoka.info.waseda.ac.jp (cafe.muraoka.info.waseda.ac.jp [133.9.68.49]) by hub.freebsd.org (Postfix) with ESMTP id A4F2337B718 for ; Tue, 6 Mar 2001 19:07:49 -0800 (PST) (envelope-from shudoh@muraoka.info.waseda.ac.jp) Received: from muraoka.info.waseda.ac.jp (shudoh@localhost [127.0.0.1]) by cafe.muraoka.info.waseda.ac.jp (8.9.1a/3.7W) with ESMTP id MAA25058; Wed, 7 Mar 2001 12:07:01 +0900 Message-Id: <200103070307.MAA25058@cafe.muraoka.info.waseda.ac.jp> To: "Thomas T. Veldhouse" Cc: freebsd-java@freebsd.org Subject: Re: Native JDK and OpenJIT? In-reply-to: Your message of "Tue, 06 Mar 2001 20:57:11 CST." <003801c0a6b2$4e616890$0100a8c0@cascade> Date: Wed, 07 Mar 2001 12:07:01 +0900 From: SHUDO Kazuyuki Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I just built the OpenJIT port against the JDK1.2.2b10. > I still can not get the JDK to use OpenJIT as the JIT. It always falls back > to the interpreter. It gives the error: 'Can't find class > org/OpenJIT/X86'. The jar IS in the path and I checked and X86.class is > indeed in the jar (under org/OpenJIT). See the `Installation Manual' page on the OpenJIT page (http://www.openjit.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 6 19:17:25 2001 Delivered-To: freebsd-java@freebsd.org Received: from veldy.net (w028.z064001117.msp-mn.dsl.cnc.net [64.1.117.28]) by hub.freebsd.org (Postfix) with ESMTP id 849F737B718 for ; Tue, 6 Mar 2001 19:17:23 -0800 (PST) (envelope-from veldy@veldy.net) Received: from cascade (cascade.veldy.net [192.168.0.1]) by veldy.net (Postfix) with SMTP id 8C09EBA3F; Tue, 6 Mar 2001 21:16:32 -0600 (CST) Message-ID: <009201c0a6b4$f5bf6860$0100a8c0@cascade> From: "Thomas T. Veldhouse" To: "SHUDO Kazuyuki" Cc: References: <200103070307.MAA25058@cafe.muraoka.info.waseda.ac.jp> Subject: Re: Native JDK and OpenJIT? Date: Tue, 6 Mar 2001 21:16:11 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org [veldy@fuggle veldy]$ java -version java version "1.2.2" Classic VM (build jdk1.2.2-FreeBSD:root:2001/03/06-18:57, green threads, OpenJIT) Thank you much! Tom Veldhouse veldy@veldy.net ----- Original Message ----- From: "SHUDO Kazuyuki" To: "Thomas T. Veldhouse" Cc: Sent: Tuesday, March 06, 2001 9:07 PM Subject: Re: Native JDK and OpenJIT? > > I just built the OpenJIT port against the JDK1.2.2b10. > > > I still can not get the JDK to use OpenJIT as the JIT. It always falls back > > to the interpreter. It gives the error: 'Can't find class > > org/OpenJIT/X86'. The jar IS in the path and I checked and X86.class is > > indeed in the jar (under org/OpenJIT). > > See the `Installation Manual' page on the OpenJIT page > (http://www.openjit.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 6 19:34:31 2001 Delivered-To: freebsd-java@freebsd.org Received: from pcnet1.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by hub.freebsd.org (Postfix) with ESMTP id 888A637B718 for ; Tue, 6 Mar 2001 19:34:28 -0800 (PST) (envelope-from eischen@vigrid.com) Received: (from eischen@localhost) by pcnet1.pcnet.com (8.8.7/PCNet) id WAA23184; Tue, 6 Mar 2001 22:33:54 -0500 (EST) Date: Tue, 6 Mar 2001 22:33:48 -0500 (EST) From: Daniel Eischen To: Bill Huey Cc: "Daniel M. Eischen" , java@freebsd.org Subject: Re: Java and libc/libpthread In-Reply-To: <20010306170616.A3464@gnuppy> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 6 Mar 2001, Bill Huey wrote: > > On Tue, Mar 06, 2001 at 01:02:10PM -0500, Daniel M. Eischen wrote: > > I'm currently working on an NxN libpthread implementation as > > an interim solution until we get KSEs. The goal is to get > > this done before 5.0. > > Great ! > > > Unfortunately I don't have the time to help the Java porting > > effort, but I would like to hear about any problems the porters > > are having with our current libc and any expected problems from > > a libpthread that will act very similar to linuxthreads. > > > > Thanks, > > > > Dan Eischen > > I'll ask my manager to help out technically with the FreeBSD port > as soon as I finished the TCKing of what I've got under BSD/OS > using native threads. It seems Greg Lewis is pretty active with > the port on your end and is doing a good job. OK, good. I basically just wanted some feedback on what our libc and threading libraries are lacking/not implementing properly in order to support a native JDK. > BTW, what's the status on KSE ? See http://people.freebsd.org/~jasone/kse . Jason's time will be very limited now, so someone needs to pick up the ball WRT the kernel side of things. I can probably handle a majority of the necessary library changes. This should be taken off the java list (probably -arch) if there's any need for follow-ups. -- Dan Eischen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 7 1:23:27 2001 Delivered-To: freebsd-java@freebsd.org Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8]) by hub.freebsd.org (Postfix) with ESMTP id 9868337B718 for ; Wed, 7 Mar 2001 01:23:24 -0800 (PST) (envelope-from K.J.Koster@kpn.com) Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by research.kpn.com (PMDF V5.2-31 #42699) with ESMTP id <01K0WU9PE0UY000IQ8@research.kpn.com> for freebsd-java@FreeBSD.ORG; Wed, 7 Mar 2001 10:23:19 +0100 Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id ; Wed, 07 Mar 2001 10:23:19 +0100 Content-return: allowed Date: Wed, 07 Mar 2001 10:23:14 +0100 From: "Koster, K.J." Subject: RE: JDK1.1.8 segfaults To: 'Ernst de Haan' Cc: freebsd-java@FreeBSD.ORG Message-id: <59063B5B4D98D311BC0D0001FA7E4522026D7C83@l04.research.kpn.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Dear Ernst, > > Okay, I will look into this and send any diffs / shar files I > can produce to this mailing list. > Ok. That'd be great. > > Was there anything you wanted to change to > the port? I > recall that you asked me to do some patches to this port in > the first place? > The font.properties file or so? I can handle patch files now > too, so... :) > Umm... Not that I recall. I think I asked about that vmwrapper port thing that noone knows what it's for, but that's all I can think of. Kees Jan ================================================ You are only young once, but you can stay immature all your life. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 7 2:19: 2 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id 6226037B718 for ; Wed, 7 Mar 2001 02:18:59 -0800 (PST) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.1/8.11.1) id f27AI0T02675; Wed, 7 Mar 2001 11:18:00 +0100 (CET) (envelope-from ernst) Date: Wed, 7 Mar 2001 11:18:00 +0100 From: Ernst de Haan To: "Koster, K.J." Cc: freebsd-java@FreeBSD.ORG Subject: Re: JDK1.1.8 segfaults Message-ID: <20010307111800.A2663@c187104187.telekabel.chello.nl> References: <59063B5B4D98D311BC0D0001FA7E4522026D7C81@l04.research.kpn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <59063B5B4D98D311BC0D0001FA7E4522026D7C81@l04.research.kpn.com>; from K.J.Koster@kpn.com on Tue, Mar 06, 2001 at 04:03:02PM +0100 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Kees Jan, Did you update your ports tree? I just updated mine, and found out there is a new 1.3.0_02 release, and the java/linux-jdk13 port has been updated (!) to use it. Wow... :) Anyway, I'm downloading the new Linux JDK 1.3.0_02 right now, and I will test the install process right after it finished, only ~ 18 KB/s :( -- Ernst Koster, K.J. wrote: > Ernst, > > > > > * http://java.sun.com/j2se/1.3/download-linux.html > > > > To download the file "j2sdk-1_3_0-linux.bin" and place it in > > /usr/ports/distfiles. > > > I tried installing the linux jdk 1.3 last night and I think Sun updated the > release. Perhaps the port is broken. I got distracted, so I did not pursue > the issue. > > Kees Jan > > ================================================ > You are only young once, > but you can stay immature all your life. > > 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 7 2:38:10 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id 79AB437B719 for ; Wed, 7 Mar 2001 02:38:07 -0800 (PST) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.1/8.11.1) id f27AbDU04138 for freebsd-java@freebsd.org; Wed, 7 Mar 2001 11:37:13 +0100 (CET) (envelope-from ernst) Date: Wed, 7 Mar 2001 11:37:13 +0100 From: Ernst de Haan To: FreeBSD Java mailing list Subject: JDK install: Unpack source ? Message-ID: <20010307113713.A2897@c187104187.telekabel.chello.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, When installing a JDK, the Java sources are usually installed with the JDK as a .zip or .jar file. I would prefer unpacking the .jar file so I can browse the source code at ${JAVA_HOME}/src, *and* so I can refer to the source directory when generating Javadoc API docs (-sourcepath option). At the moment I need to unpack the sources manually, which is fairly cumbersome for someone that reinstalls JDK's every now and then. The only disadvantage I can think of is (a little) disk space. What are your thoughts about this? Should JDK installs unpack the sources by default ? -- 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 7 2:48: 7 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id 711D737B719; Wed, 7 Mar 2001 02:48:03 -0800 (PST) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.1/8.11.1) id f27Al9p05969; Wed, 7 Mar 2001 11:47:09 +0100 (CET) (envelope-from ernst) Date: Wed, 7 Mar 2001 11:47:09 +0100 From: Ernst de Haan To: "Koster, K.J." Cc: freebsd-java@FreeBSD.ORG, Kevin Lo Subject: Re: JDK1.1.8 segfaults Message-ID: <20010307114709.A5956@c187104187.telekabel.chello.nl> References: <59063B5B4D98D311BC0D0001FA7E4522026D7C81@l04.research.kpn.com> <20010307111800.A2663@c187104187.telekabel.chello.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010307111800.A2663@c187104187.telekabel.chello.nl>; from ernst@jollem.com on Wed, Mar 07, 2001 at 11:18:00AM +0100 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Kees Jan, Kevin, and all freebsd-java'ers, I just successfully installed the Sun JDK 1.3.0_02 for Linux on my FreeBSD 4.2-STABLE system. My guess is that your ports tree is out of date. I must say that I'm a bit surprised that the port is updated to use the latest version, thanks Kevin! bash-2.04$ java -version java version "1.3.0_02" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_02) Java HotSpot(TM) Client VM (build 1.3.0_02, interpreted mode) Oh, and to install this new JDK properly, I removed the previous version of linux-jdk-1.3.0 and removed the work directory: # cd /usr/ports/java/linux-jdk13 # rm -rf work && make deinstall && make install But now that I'm thinking this over, perhaps "make reinstall" should be used if one wants to remove the dot-files in the work/ directory too. Never knew what difference `reinstall' made, but this might be the answer :) -- Ernst Ernst de Haan wrote: > Hi Kees Jan, > > Did you update your ports tree? I just updated mine, and found out there is a > new 1.3.0_02 release, and the java/linux-jdk13 port has been updated (!) to > use it. Wow... :) > > Anyway, I'm downloading the new Linux JDK 1.3.0_02 right now, and I will test > the install process right after it finished, only ~ 18 KB/s :( > > -- > Ernst > > > Koster, K.J. wrote: > > Ernst, > > > > > > > > * http://java.sun.com/j2se/1.3/download-linux.html > > > > > > To download the file "j2sdk-1_3_0-linux.bin" and place it in > > > /usr/ports/distfiles. > > > > > I tried installing the linux jdk 1.3 last night and I think Sun updated the > > release. Perhaps the port is broken. I got distracted, so I did not pursue > > the issue. > > > > Kees Jan > > > > ================================================ > > You are only young once, > > but you can stay immature all your life. > > > > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 7 2:57:37 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id BCFD537B719 for ; Wed, 7 Mar 2001 02:57:31 -0800 (PST) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.1/8.11.1) id f27AuW006006 for freebsd-java@freebsd.org; Wed, 7 Mar 2001 11:56:32 +0100 (CET) (envelope-from ernst) Date: Wed, 7 Mar 2001 11:56:32 +0100 From: Ernst de Haan To: FreeBSD Java mailing list Subject: linux-jdk1.3.0_02 problems [Was: JDK1.1.8 segfaults] Message-ID: <20010307115632.A5990@c187104187.telekabel.chello.nl> References: <59063B5B4D98D311BC0D0001FA7E4522026D7C81@l04.research.kpn.com> <20010307111800.A2663@c187104187.telekabel.chello.nl> <20010307114709.A5956@c187104187.telekabel.chello.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010307114709.A5956@c187104187.telekabel.chello.nl>; from ernst@jollem.com on Wed, Mar 07, 2001 at 11:47:09AM +0100 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Uhm Replying to myself again :) Well, I installed the Sun JDK 1.3.0_02 for Linux from the ports on a different FreeBSD 4.2-STABLE system as well, and this time I get a warning when running java -version: bash-2.04$ java -version java version "1.3.0_02" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_02) Java HotSpot(TM) Client VM (build 1.3.0_02, interpreted mode) Java HotSpot(TM) Client VM warning: cannot uninstall alt signal stack This gives me a baaaaad feeling... HotSpot is not enabled, so I wonder if this 1.3.0_02 version will introduce problems that the 1.3.0 version did not have. I will do some more testing on this baby later on. Anyone have similar experiences? Do all demonstration programs/applets work? AWT? Swing? Threads? :) -- Ernst Ernst de Haan wrote: > Hi Kees Jan, Kevin, and all freebsd-java'ers, > > I just successfully installed the Sun JDK 1.3.0_02 for Linux on my FreeBSD > 4.2-STABLE system. My guess is that your ports tree is out of date. I must say > that I'm a bit surprised that the port is updated to use the latest version, > thanks Kevin! > > bash-2.04$ java -version > java version "1.3.0_02" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_02) > Java HotSpot(TM) Client VM (build 1.3.0_02, interpreted mode) > > Oh, and to install this new JDK properly, I removed the previous version of > linux-jdk-1.3.0 and removed the work directory: > > # cd /usr/ports/java/linux-jdk13 > # rm -rf work && make deinstall && make install > > But now that I'm thinking this over, perhaps "make reinstall" should be used > if one wants to remove the dot-files in the work/ directory too. Never knew > what difference `reinstall' made, but this might be the answer :) > > -- > Ernst > > > Ernst de Haan wrote: > > Hi Kees Jan, > > > > Did you update your ports tree? I just updated mine, and found out there is a > > new 1.3.0_02 release, and the java/linux-jdk13 port has been updated (!) to > > use it. Wow... :) > > > > Anyway, I'm downloading the new Linux JDK 1.3.0_02 right now, and I will test > > the install process right after it finished, only ~ 18 KB/s :( > > > > -- > > Ernst > > > > > > Koster, K.J. wrote: > > > Ernst, > > > > > > > > > > > * http://java.sun.com/j2se/1.3/download-linux.html > > > > > > > > To download the file "j2sdk-1_3_0-linux.bin" and place it in > > > > /usr/ports/distfiles. > > > > > > > I tried installing the linux jdk 1.3 last night and I think Sun updated the > > > release. Perhaps the port is broken. I got distracted, so I did not pursue > > > the issue. > > > > > > Kees Jan > > > > > > ================================================ > > > You are only young once, > > > but you can stay immature all your life. > > > > > > 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 > > > > 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 7 3:13:25 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id 1D55F37B71A for ; Wed, 7 Mar 2001 03:13:22 -0800 (PST) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.1/8.11.1) id f27BCRQ06114; Wed, 7 Mar 2001 12:12:27 +0100 (CET) (envelope-from ernst) Date: Wed, 7 Mar 2001 12:12:27 +0100 From: Ernst de Haan To: Tim Zingelman Cc: FreeBSD Java mailing list Subject: Re: linux-jdk1.3.0_02 problems [Was: JDK1.1.8 segfaults] Message-ID: <20010307121227.A6045@c187104187.telekabel.chello.nl> References: <20010307115632.A5990@c187104187.telekabel.chello.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from zingelman@fnal.gov on Wed, Mar 07, 2001 at 05:05:14AM -0600 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Tim, When I compare the versions of linux_base, both boxes have the same version. On the first machine I don't see the warning: bash-2.04$ echo -n "`hostname`: "; (pkg_info | grep linux_base) ; java -version heinz.jollem.com: linux_base-6.1 The base set of packages needed in Linux mode java version "1.3.0_02" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_02) Java HotSpot(TM) Client VM (build 1.3.0_02, interpreted mode) But on the second I do: bash-2.04$ echo -n "`hostname`: "; (pkg_info | grep linux_base) ; java -version catbert.jollem.com: linux_base-6.1 The base set of packages needed in Linux mode java version "1.3.0_02" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_02) Java HotSpot(TM) Client VM (build 1.3.0_02, interpreted mode) Java HotSpot(TM) Client VM warning: cannot uninstall alt signal stack Perhaps it is the kernel version. I have recently recompiled the kernel on the first machine (heinz), but it's been a while since I recompiled the kernel on the second (catbert). Anyway, I will try deinstalling and reinstalling linux_base and try again after that. -- Ernst Tim Zingelman wrote: > > Replying to myself again :) Well, I installed the Sun JDK 1.3.0_02 for Linux > > from the ports on a different FreeBSD 4.2-STABLE system as well, and this > > time I get a warning when running java -version: > > > > bash-2.04$ java -version > > java version "1.3.0_02" > > Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_02) > > Java HotSpot(TM) Client VM (build 1.3.0_02, interpreted mode) > > Java HotSpot(TM) Client VM warning: cannot uninstall alt signal stack > > > > This gives me a baaaaad feeling... HotSpot is not enabled, so I wonder if this > > 1.3.0_02 version will introduce problems that the 1.3.0 version did not have. > > It looks like this machine does not have the recent patches to the linux > emulator installed. They were only recently committed... though the patch > had been available on the web for quite a while in various forms... > > - Tim > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 7 3:37:40 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id 55EA437B718 for ; Wed, 7 Mar 2001 03:37:35 -0800 (PST) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.1/8.11.1) id f27BaeX12650; Wed, 7 Mar 2001 12:36:40 +0100 (CET) (envelope-from ernst) Date: Wed, 7 Mar 2001 12:36:40 +0100 From: Ernst de Haan To: Tim Zingelman Cc: FreeBSD Java mailing list Subject: Re: linux-jdk1.3.0_02 problems [Was: JDK1.1.8 segfaults] Message-ID: <20010307123640.A12640@c187104187.telekabel.chello.nl> References: <20010307115632.A5990@c187104187.telekabel.chello.nl> <20010307121227.A6045@c187104187.telekabel.chello.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010307121227.A6045@c187104187.telekabel.chello.nl>; from ernst@jollem.com on Wed, Mar 07, 2001 at 12:12:27PM +0100 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I have just reinstalled the emulators/linux_base port on both systems, and then ran java -version again, but the results are the same as before. Seems it's not a linux_base issue. -- Ernst Ernst de Haan wrote: > Tim, > > When I compare the versions of linux_base, both boxes have the same version. > On the first machine I don't see the warning: > > bash-2.04$ echo -n "`hostname`: "; (pkg_info | grep linux_base) ; java -version > heinz.jollem.com: linux_base-6.1 The base set of packages needed in Linux mode > java version "1.3.0_02" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_02) > Java HotSpot(TM) Client VM (build 1.3.0_02, interpreted mode) > > But on the second I do: > > bash-2.04$ echo -n "`hostname`: "; (pkg_info | grep linux_base) ; java -version > catbert.jollem.com: linux_base-6.1 The base set of packages needed in Linux mode > java version "1.3.0_02" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_02) > Java HotSpot(TM) Client VM (build 1.3.0_02, interpreted mode) > Java HotSpot(TM) Client VM warning: cannot uninstall alt signal stack > > Perhaps it is the kernel version. I have recently recompiled the kernel on the > first machine (heinz), but it's been a while since I recompiled the kernel on > the second (catbert). > > Anyway, I will try deinstalling and reinstalling linux_base and try again > after that. > > -- > Ernst > > Tim Zingelman wrote: > > > Replying to myself again :) Well, I installed the Sun JDK 1.3.0_02 for Linux > > > from the ports on a different FreeBSD 4.2-STABLE system as well, and this > > > time I get a warning when running java -version: > > > > > > bash-2.04$ java -version > > > java version "1.3.0_02" > > > Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_02) > > > Java HotSpot(TM) Client VM (build 1.3.0_02, interpreted mode) > > > Java HotSpot(TM) Client VM warning: cannot uninstall alt signal stack > > > > > > This gives me a baaaaad feeling... HotSpot is not enabled, so I wonder if this > > > 1.3.0_02 version will introduce problems that the 1.3.0 version did not have. > > > > It looks like this machine does not have the recent patches to the linux > > emulator installed. They were only recently committed... though the patch > > had been available on the web for quite a while in various forms... > > > > - Tim > > > > > > 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 7 7: 1:52 2001 Delivered-To: freebsd-java@freebsd.org Received: from pluto.senet.com.au (pluto.senet.com.au [203.56.239.150]) by hub.freebsd.org (Postfix) with ESMTP id 76D5037B719 for ; Wed, 7 Mar 2001 07:01:49 -0800 (PST) (envelope-from glewis@misty.eyesbeyond.com) Received: from misty.eyesbeyond.com (c27-fr-p253.senet.com.au [172.16.27.254]) by pluto.senet.com.au (8.11.0/8.11.0) with ESMTP id f27F1eE44247; Thu, 8 Mar 2001 01:31:41 +1030 (CST) (envelope-from glewis@misty.eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.1/8.11.1) id f27F1JJ43913; Thu, 8 Mar 2001 01:31:19 +1030 (CST) (envelope-from glewis) Date: Thu, 8 Mar 2001 01:31:19 +1030 From: Greg Lewis To: Ernst de Haan Cc: FreeBSD Java mailing list Subject: Re: linux-jdk1.3.0_02 problems [Was: JDK1.1.8 segfaults] Message-ID: <20010308013119.A43890@misty.eyesbeyond.com> References: <59063B5B4D98D311BC0D0001FA7E4522026D7C81@l04.research.kpn.com> <20010307111800.A2663@c187104187.telekabel.chello.nl> <20010307114709.A5956@c187104187.telekabel.chello.nl> <20010307115632.A5990@c187104187.telekabel.chello.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010307115632.A5990@c187104187.telekabel.chello.nl>; from ernst@jollem.com on Wed, Mar 07, 2001 at 11:56:32AM +0100 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Mar 07, 2001 at 11:56:32AM +0100, Ernst de Haan wrote: > Uhm > > Replying to myself again :) Well, I installed the Sun JDK 1.3.0_02 for Linux > >from the ports on a different FreeBSD 4.2-STABLE system as well, and this > time I get a warning when running java -version: > > bash-2.04$ java -version > java version "1.3.0_02" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_02) > Java HotSpot(TM) Client VM (build 1.3.0_02, interpreted mode) > Java HotSpot(TM) Client VM warning: cannot uninstall alt signal stack > > This gives me a baaaaad feeling... HotSpot is not enabled, so I wonder if this > 1.3.0_02 version will introduce problems that the 1.3.0 version did not have. You have altered jre/lib/jvm.cfg right? The order it should try JVMs needs to be: -classic -client -hotspot -server -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Mobile: 0419 868 494 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 7 7:26:26 2001 Delivered-To: freebsd-java@freebsd.org Received: from pluto.senet.com.au (pluto.senet.com.au [203.56.239.150]) by hub.freebsd.org (Postfix) with ESMTP id C3C3337B71A for ; Wed, 7 Mar 2001 07:26:21 -0800 (PST) (envelope-from glewis@misty.eyesbeyond.com) Received: from misty.eyesbeyond.com (c27-fr-p253.senet.com.au [172.16.27.254]) by pluto.senet.com.au (8.11.0/8.11.0) with ESMTP id f27FQIE49801; Thu, 8 Mar 2001 01:56:18 +1030 (CST) (envelope-from glewis@misty.eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.1/8.11.1) id f27FPw244246; Thu, 8 Mar 2001 01:55:58 +1030 (CST) (envelope-from glewis) Date: Thu, 8 Mar 2001 01:55:58 +1030 From: Greg Lewis To: "Daniel M. Eischen" Cc: java@FreeBSD.ORG Subject: Re: Java and libc/libpthread Message-ID: <20010308015558.B43890@misty.eyesbeyond.com> References: <3AA52622.CA33EBE2@vigrid.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3AA52622.CA33EBE2@vigrid.com>; from eischen@vigrid.com on Tue, Mar 06, 2001 at 01:02:10PM -0500 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Mar 06, 2001 at 01:02:10PM -0500, Daniel M. Eischen wrote: > I'm currently working on an NxN libpthread implementation as > an interim solution until we get KSEs. The goal is to get > this done before 5.0. Great. However, we'll need a solution thats relevant for 4.x for quite a while to come I imagine. > Unfortunately I don't have the time to help the Java porting > effort, but I would like to hear about any problems the porters > are having with our current libc and any expected problems from > a libpthread that will act very similar to linuxthreads. Ok. Currently the patchsets only support green threads, which means we're not using any native threading models at all. However, this will need to change for for 1.3 (it would also be nice to get them into the 1.2.2 patchset). We have some options on this front, and I'd appreciate any thoughts you have on them. 1. Fuyuhiko Maruyama posted some patches to the list at one point to get 1.2.2 working with our current libc_r pthreads. However, they were somewhat experimental and I don't believe anyone has addressed the issues Fuyuhiko noted regarding them. 2. One of the porting team has implemented a kernel module for 4.x that provides kernel threads via a Solaris-like thread interface. This is also experimental, but simple programs certainly work. 3. As I've been tinkering with the the 1.3 code I've so far been using the linuxthreads port to try and get native threads running as that means our code stays very very similar to the code for native threads under Linux. I haven't succeeded with this yet, but I don't believe thats because it can't work (its just lack of time to debug things so far). I guess to add to this, Bill Huey's port of 1.3 for BSDi uses their libc_r equivalent as I understand it, so this may help our efforts on that front. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Mobile: 0419 868 494 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 7 7:47:20 2001 Delivered-To: freebsd-java@freebsd.org Received: from pluto.senet.com.au (pluto.senet.com.au [203.56.239.150]) by hub.freebsd.org (Postfix) with ESMTP id 2A50237B718 for ; Wed, 7 Mar 2001 07:47:18 -0800 (PST) (envelope-from glewis@misty.eyesbeyond.com) Received: from misty.eyesbeyond.com (c27-fr-p253.senet.com.au [172.16.27.254]) by pluto.senet.com.au (8.11.0/8.11.0) with ESMTP id f27FlFE54460; Thu, 8 Mar 2001 02:17:15 +1030 (CST) (envelope-from glewis@misty.eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.1/8.11.1) id f27Fks644711; Thu, 8 Mar 2001 02:16:54 +1030 (CST) (envelope-from glewis) Date: Thu, 8 Mar 2001 02:16:53 +1030 From: Greg Lewis To: Greg Lewis Cc: Ernst de Haan , FreeBSD Java mailing list Subject: Re: linux-jdk1.3.0_02 problems [Was: JDK1.1.8 segfaults] Message-ID: <20010308021653.A44696@misty.eyesbeyond.com> References: <59063B5B4D98D311BC0D0001FA7E4522026D7C81@l04.research.kpn.com> <20010307111800.A2663@c187104187.telekabel.chello.nl> <20010307114709.A5956@c187104187.telekabel.chello.nl> <20010307115632.A5990@c187104187.telekabel.chello.nl> <20010308013119.A43890@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010308013119.A43890@misty.eyesbeyond.com>; from glewis@eyesbeyond.com on Thu, Mar 08, 2001 at 01:31:19AM +1030 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Replying to my own mail... On Thu, Mar 08, 2001 at 01:31:19AM +1030, Greg Lewis wrote: > You have altered jre/lib/jvm.cfg right? The order it should try JVMs > needs to be: > > -classic > -client > -hotspot > -server I'll submit a patch for the port to do this tomorrow if noone beats me to it. This is certainly how the port needs to be configured, at least for now. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Mobile: 0419 868 494 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 7 7:53:41 2001 Delivered-To: freebsd-java@freebsd.org Received: from veldy.net (w028.z064001117.msp-mn.dsl.cnc.net [64.1.117.28]) by hub.freebsd.org (Postfix) with ESMTP id E855D37B719 for ; Wed, 7 Mar 2001 07:53:35 -0800 (PST) (envelope-from veldy@veldy.net) Received: from HP2500B (fuggle.veldy.net [64.1.117.28]) by veldy.net (Postfix) with SMTP id EF3BBBA3F for ; Wed, 7 Mar 2001 09:52:41 -0600 (CST) Message-ID: <00f601c0a71e$6c92ee80$3028680a@tgt.com> From: "Thomas T. Veldhouse" To: Subject: JIT with the Linux JDK 1.3? Date: Wed, 7 Mar 2001 09:51:06 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Has anybody managed to install a JIT compiler to work with the Linux JDK 1.3? Tom Veldhouse veldy@veldy.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 7 8: 2:37 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id 642EC37B719 for ; Wed, 7 Mar 2001 08:02:34 -0800 (PST) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.1/8.11.1) id f27G1VS00635; Wed, 7 Mar 2001 17:01:31 +0100 (CET) (envelope-from ernst) Date: Wed, 7 Mar 2001 17:01:31 +0100 From: Ernst de Haan To: Greg Lewis Cc: FreeBSD Java mailing list Subject: Re: linux-jdk1.3.0_02 problems [Was: JDK1.1.8 segfaults] Message-ID: <20010307170131.A467@c187104187.telekabel.chello.nl> References: <59063B5B4D98D311BC0D0001FA7E4522026D7C81@l04.research.kpn.com> <20010307111800.A2663@c187104187.telekabel.chello.nl> <20010307114709.A5956@c187104187.telekabel.chello.nl> <20010307115632.A5990@c187104187.telekabel.chello.nl> <20010308013119.A43890@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010308013119.A43890@misty.eyesbeyond.com>; from glewis@eyesbeyond.com on Thu, Mar 08, 2001 at 01:31:19AM +1030 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Greg, > You have altered jre/lib/jvm.cfg right? The order it should try JVMs Nope, I haven't modified anything, I just installed the port, nothing else. But it seems the JVM is running in interpreted mode anyway: > > Java HotSpot(TM) Client VM (build 1.3.0_02, interpreted mode) It *does* say "HotSpot" though. Hmm... This is confusing me. Isn't "interpreted mode" a different mode than "hotspot client mode" ? Anyway, I tried running a real-world Swing application (BugSeeker for Java 2, v1.0.2), on the box where I didn't get the error message (heinz) and it runs just fine. No problemo. I can't say it's blazing fast, but it's not slow either. -- 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 7 8:16:36 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id D4DE037B719 for ; Wed, 7 Mar 2001 08:16:33 -0800 (PST) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.1/8.11.1) id f27GFWq00946; Wed, 7 Mar 2001 17:15:32 +0100 (CET) (envelope-from ernst) Date: Wed, 7 Mar 2001 17:15:32 +0100 From: Ernst de Haan To: Greg Lewis Cc: FreeBSD Java mailing list Subject: Re: linux-jdk1.3.0_02 problems [Was: JDK1.1.8 segfaults] Message-ID: <20010307171532.A934@c187104187.telekabel.chello.nl> References: <59063B5B4D98D311BC0D0001FA7E4522026D7C81@l04.research.kpn.com> <20010307111800.A2663@c187104187.telekabel.chello.nl> <20010307114709.A5956@c187104187.telekabel.chello.nl> <20010307115632.A5990@c187104187.telekabel.chello.nl> <20010308013119.A43890@misty.eyesbeyond.com> <20010308021653.A44696@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010308021653.A44696@misty.eyesbeyond.com>; from glewis@eyesbeyond.com on Thu, Mar 08, 2001 at 02:16:53AM +1030 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Greg, > I'll submit a patch for the port to do this tomorrow if noone beats me > to it. This is certainly how the port needs to be configured, at least > for now. Just a minute. It seems HotSpot Client VM is actually working on my system, isn't it? Perhaps the latest version of -STABLE solves the problem we were having with HotSpot in the past? /me crosses his fingers -- 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 7 8:29:22 2001 Delivered-To: freebsd-java@freebsd.org Received: from exchange1.crossoft.com (25.crcr3.xdsl.nauticom.net [209.195.166.90]) by hub.freebsd.org (Postfix) with ESMTP id 29EE537B71A for ; Wed, 7 Mar 2001 08:29:15 -0800 (PST) (envelope-from dlister@crossoft.com) X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0 content-class: urn:content-classes:message Subject: Trying to Create a simple Bean Date: Wed, 7 Mar 2001 11:29:27 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Message-ID: <9FD1AD5A8A0EB94B8B41ABC47563ED4B3B56@exchange1.crossoft.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Trying to Create a simple Bean Thread-Index: AcCnI8df8n8YCg+1T92KAcMVbExm0A== From: "Drew Lister" To: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I have what is hopefully an extremely simple question. I searched the archives for this mailing list and could not find it. I am trying to use a very simple bean in a jsp page. It compiles fine, but when I run the jsp page that references it I get this error: =20 [http://jsp.crossoft.com/pants.jsp] =20 Error compiling source file: file:/usr/home/lister/www/pants.jsp builtin-javac -classpath /usr/local/share/java/classes/ApacheJServ.jar:/usr/local/share/java/clas ses/jsdk.jar:/usr/local/share/java/classes/mysql_comp.jar:/usr/local/jdk 1.1.8/classes:/usr/local/jdk1.1.8/lib/classes.jar:/usr/local/jdk1.1.8/li b/rt.jar:/usr/local/jdk1.1.8/lib/i18n.jar:/usr/local/jdk1.1.8/lib/classe s.zip:/usr/local/share/java/classes/gnujsp10.jar:/usr/local/share/java/c lasses/servlet-2.0-plus.jar -d /usr/local/www/gnujsp -deprecation /usr/local/www/gnujsp/jsp__pants_2ejsp.java /pants.jsp:2: Class DiceBean not found in type declaration. DiceBean time =3D (DiceBean) ^ /pants.jsp:2: Class DiceBean not found in type declaration. DiceBean time =3D (DiceBean) ^ /pants.jsp:2: Class DiceBean not found in type declaration. time =3D new DiceBean (); ^ 3 errors Anyone have any ideas on what a type delcaration is? or what I'm doing wrong? I'm guessing it's a minor configuration problem. I just don't have the expertise yet to solve it. =20 =20 Thanks in advance, =20 Drew Lister =20 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 7 8:42:59 2001 Delivered-To: freebsd-java@freebsd.org Received: from veldy.net (w028.z064001117.msp-mn.dsl.cnc.net [64.1.117.28]) by hub.freebsd.org (Postfix) with ESMTP id EC2E337B718 for ; Wed, 7 Mar 2001 08:42:56 -0800 (PST) (envelope-from veldy@veldy.net) Received: from HP2500B (fuggle.veldy.net [64.1.117.28]) by veldy.net (Postfix) with SMTP id 6D341BA3F; Wed, 7 Mar 2001 10:42:02 -0600 (CST) Message-ID: <012101c0a725$51851a80$3028680a@tgt.com> From: "Thomas T. Veldhouse" To: "Ernst de Haan" , "Greg Lewis" Cc: "FreeBSD Java mailing list" References: <59063B5B4D98D311BC0D0001FA7E4522026D7C81@l04.research.kpn.com> <20010307111800.A2663@c187104187.telekabel.chello.nl> <20010307114709.A5956@c187104187.telekabel.chello.nl> <20010307115632.A5990@c187104187.telekabel.chello.nl> <20010308013119.A43890@misty.eyesbeyond.com> <20010308021653.A44696@misty.eyesbeyond.com> <20010307171532.A934@c187104187.telekabel.chello.nl> Subject: Re: linux-jdk1.3.0_02 problems [Was: JDK1.1.8 segfaults] Date: Wed, 7 Mar 2001 10:40:27 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Not likely. Last I heard it requires kernel threads which are still in development on FreeBSD 5.0. Tom Veldhouse veldy@veldy.net ----- Original Message ----- From: "Ernst de Haan" To: "Greg Lewis" Cc: "FreeBSD Java mailing list" Sent: Wednesday, March 07, 2001 10:15 AM Subject: Re: linux-jdk1.3.0_02 problems [Was: JDK1.1.8 segfaults] > Greg, > > > I'll submit a patch for the port to do this tomorrow if noone beats me > > to it. This is certainly how the port needs to be configured, at least > > for now. > > Just a minute. It seems HotSpot Client VM is actually working on my system, > isn't it? Perhaps the latest version of -STABLE solves the problem we were > having with HotSpot in the past? > > /me crosses his fingers > > -- > Ernst > > 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 7 9:22:56 2001 Delivered-To: freebsd-java@freebsd.org Received: from smtp1.knology.net (user-24-214-63-11.knology.net [24.214.63.11]) by hub.freebsd.org (Postfix) with SMTP id 108F137B718 for ; Wed, 7 Mar 2001 09:22:54 -0800 (PST) (envelope-from n4cnw@knology.net) Received: (qmail 1992 invoked by uid 1003); 7 Mar 2001 17:17:42 -0000 Received: from user-24-214-88-73.knology.net (HELO n4cnw.dyndns.org) (24.214.88.73) by user-24-214-63-11.knology.net with SMTP; 7 Mar 2001 17:17:42 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Mike Murphree To: freebsd-java@freebsd.org Subject: Differences in jdk1.2.2-beta? Date: Wed, 7 Mar 2001 11:22:52 -0600 X-Mailer: KMail [version 1.2] MIME-Version: 1.0 Message-Id: <01030711225200.40551@n4cnw.dyndns.org> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Possibly a newbie question, but in the past, I was able to run the Jstreet mailer ( see http://www.innoval.com ) with the jdk1.2.2-beta port. After seeing some commits to these ports, I updated all of the JDKs that I had installed on my system. I execute the following command to start the mailer: $JAVA_HOME/bin/java -cp ~/jstreet/innoval.jar innoval.mailer.jstreet & And now get the following output: %Exception in thread "main" java.lang.NoClassDefFoundError: sunw/hotjava/bean/BrowserHistoryListener at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:442) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:101) at java.net.URLClassLoader.defineClass(URLClassLoader.java:248) at java.net.URLClassLoader.access$1(URLClassLoader.java:216) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:191) at java.lang.ClassLoader.loadClass(ClassLoader.java:290) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:282) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) What it's looking for seems to be there, but it refuses to find it: %ls jstreet HotJavaBean.jar Sample.java doc jstreet.zip readme Mailer Sndspell.jdx image license.txt Sample.class dict.txt innoval.jar mostfreq.txt I've tried adding the HotJavaBean.jar file to the classpath but it doesn't seem to help... Any ideas? Mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 7 9:32:49 2001 Delivered-To: freebsd-java@freebsd.org Received: from pcnet1.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by hub.freebsd.org (Postfix) with ESMTP id 09CB537B71A for ; Wed, 7 Mar 2001 09:32:44 -0800 (PST) (envelope-from eischen@vigrid.com) Received: (from eischen@localhost) by pcnet1.pcnet.com (8.8.7/PCNet) id MAA16070; Wed, 7 Mar 2001 12:31:58 -0500 (EST) Date: Wed, 7 Mar 2001 12:31:57 -0500 (EST) From: Daniel Eischen To: Greg Lewis Cc: "Daniel M. Eischen" , java@FreeBSD.ORG Subject: Re: Java and libc/libpthread In-Reply-To: <20010308015558.B43890@misty.eyesbeyond.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 8 Mar 2001, Greg Lewis wrote: > On Tue, Mar 06, 2001 at 01:02:10PM -0500, Daniel M. Eischen wrote: > > I'm currently working on an NxN libpthread implementation as > > an interim solution until we get KSEs. The goal is to get > > this done before 5.0. > > Great. However, we'll need a solution thats relevant for 4.x for quite > a while to come I imagine. There should be little or no kernel changes necessary, so whatever I do in -current can be ported to 4.x/-stable. rfork_thread(3) already exists in -stable. The libc/libc_r restructuring in -current can be ported to -stable with a library version bump. > > Unfortunately I don't have the time to help the Java porting > > effort, but I would like to hear about any problems the porters > > are having with our current libc and any expected problems from > > a libpthread that will act very similar to linuxthreads. > > Ok. Currently the patchsets only support green threads, which means > we're not using any native threading models at all. However, this > will need to change for for 1.3 (it would also be nice to get them > into the 1.2.2 patchset). We have some options on this front, and > I'd appreciate any thoughts you have on them. > > 1. Fuyuhiko Maruyama posted some patches to the list at one point to > get 1.2.2 working with our current libc_r pthreads. However, they > were somewhat experimental and I don't believe anyone has addressed > the issues Fuyuhiko noted regarding them. I'd like to see if they're relevent after the -current libc/libc_r restructuring. > 2. One of the porting team has implemented a kernel module for 4.x > that provides kernel threads via a Solaris-like thread interface. > This is also experimental, but simple programs certainly work. I don't see needing a kernel module for what I'm doing, but perhaps this can expose some limitations that we currently have. > 3. As I've been tinkering with the the 1.3 code I've so far been > using the linuxthreads port to try and get native threads running > as that means our code stays very very similar to the code for > native threads under Linux. I haven't succeeded with this yet, > but I don't believe thats because it can't work (its just lack of > time to debug things so far). This is probably the best bet. Our NxN threading implementation should act and behave similar to Linuxthreads. If you can get it to work with Linuxthreads, it should be relatively painless (hopefully) to work with our eventual libpthread. Just try to let me know if there are any hacks needed, non-portable interfaces used, etc. > I guess to add to this, Bill Huey's port of 1.3 for BSDi uses their > libc_r equivalent as I understand it, so this may help our efforts > on that front. This sounds good too. -- Dan Eischen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 7 9:36: 6 2001 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id D5A4F37B719 for ; Wed, 7 Mar 2001 09:36:03 -0800 (PST) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id KAA02075; Wed, 7 Mar 2001 10:35:57 -0700 (MST) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id KAA19725; Wed, 7 Mar 2001 10:35:56 -0700 (MST) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15014.29052.149045.46268@nomad.yogotech.com> Date: Wed, 7 Mar 2001 10:35:56 -0700 (MST) To: Ernst de Haan Cc: FreeBSD Java mailing list Subject: Re: JDK install: Unpack source ? In-Reply-To: <20010307113713.A2897@c187104187.telekabel.chello.nl> References: <20010307113713.A2897@c187104187.telekabel.chello.nl> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > When installing a JDK, the Java sources are usually installed with the JDK as > a .zip or .jar file. Correct. > I would prefer unpacking the .jar file so I can browse > the source code at ${JAVA_HOME}/src, *and* so I can refer to the source > directory when generating Javadoc API docs (-sourcepath option). At the moment > I need to unpack the sources manually, which is fairly cumbersome for someone > that reinstalls JDK's every now and then. So don't re-install the JDK so often. :) > The only disadvantage I can think of is (a little) disk space. Quite a little disk space. > What are your thoughts about this? Should JDK installs unpack the sources by > default ? No way. I *never* look at the source code anymore, but then again, I've no need to look at the source code except in rare cases. I try very hard to program to the API, rather than to look at the implementation because it makes my programs more portable. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 7 9:42: 2 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id 5330337B719 for ; Wed, 7 Mar 2001 09:41:57 -0800 (PST) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.1/8.11.1) id f27HetE01147; Wed, 7 Mar 2001 18:40:55 +0100 (CET) (envelope-from ernst) Date: Wed, 7 Mar 2001 18:40:55 +0100 From: Ernst de Haan To: Mike Murphree Cc: freebsd-java@FreeBSD.ORG Subject: Re: Differences in jdk1.2.2-beta? Message-ID: <20010307184055.A1129@c187104187.telekabel.chello.nl> References: <01030711225200.40551@n4cnw.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <01030711225200.40551@n4cnw.dyndns.org>; from n4cnw@knology.net on Wed, Mar 07, 2001 at 11:22:52AM -0600 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Mike, > $JAVA_HOME/bin/java -cp ~/jstreet/innoval.jar innoval.mailer.jstreet & Okay, so as far as I can see, you need at least 2 libraries: * "innoval" -- seems to be in ~/jstreet/innoval.jar * "HotJava bean" -- seems to be in ~/jstreet/HotJavaBean.jar Try running this command: ${JAVA_HOME}/java \ -cp ~/jstreet/innoval.jar:~/jstreet/HotJavaBean.jar \ innoval.mailer.jstreet This should work. If you still get that error message, then make sure that the HotJavaBean.jar file contains that class: grep "sunw/hotjava/bean/BrowserHistoryListener" ~/jstreet/HotJavaBean.jar If it doesn't, then you at least know where to start looking at a solution :) In that case you probably compiled with a different version of the JAR file, or perhaps the JAR file is corrupted. -- Ernst > And now get the following output: > > %Exception in thread "main" java.lang.NoClassDefFoundError: > sunw/hotjava/bean/BrowserHistoryListener > at java.lang.ClassLoader.defineClass0(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:442) > at > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:101) > at java.net.URLClassLoader.defineClass(URLClassLoader.java:248) > at java.net.URLClassLoader.access$1(URLClassLoader.java:216) > at java.net.URLClassLoader$1.run(URLClassLoader.java:197) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:191) > at java.lang.ClassLoader.loadClass(ClassLoader.java:290) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:282) > at java.lang.ClassLoader.loadClass(ClassLoader.java:247) > > What it's looking for seems to be there, but it refuses to find it: > > %ls jstreet > HotJavaBean.jar Sample.java doc jstreet.zip readme > Mailer Sndspell.jdx image license.txt > Sample.class dict.txt innoval.jar mostfreq.txt > > > I've tried adding the HotJavaBean.jar file to the classpath but it doesn't > seem to help... > > Any ideas? > > Mike > > > 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 7 9:46:41 2001 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id A1F0037B71B for ; Wed, 7 Mar 2001 09:46:36 -0800 (PST) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id KAA02287; Wed, 7 Mar 2001 10:46:20 -0700 (MST) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id KAA19836; Wed, 7 Mar 2001 10:46:20 -0700 (MST) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15014.29676.54843.83693@nomad.yogotech.com> Date: Wed, 7 Mar 2001 10:46:20 -0700 (MST) To: Ernst de Haan Cc: Mike Murphree , freebsd-java@FreeBSD.ORG Subject: Re: Differences in jdk1.2.2-beta? In-Reply-To: <20010307184055.A1129@c187104187.telekabel.chello.nl> References: <01030711225200.40551@n4cnw.dyndns.org> <20010307184055.A1129@c187104187.telekabel.chello.nl> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > $JAVA_HOME/bin/java -cp ~/jstreet/innoval.jar innoval.mailer.jstreet & > > Okay, so as far as I can see, you need at least 2 libraries: > > * "innoval" -- seems to be in ~/jstreet/innoval.jar > * "HotJava bean" -- seems to be in ~/jstreet/HotJavaBean.jar > > Try running this command: > > ${JAVA_HOME}/java \ > -cp ~/jstreet/innoval.jar:~/jstreet/HotJavaBean.jar \ > innoval.mailer.jstreet I don't believe 'java' expands ~ paths, so the user will either have to use full pathnames (ie; /home/mike/jstreet/innoval/jar') or relative paths and make sure that the program is always run from the same directory (ie; ./jstreet/innoval.jar). Nate > > This should work. If you still get that error message, then make sure that the > HotJavaBean.jar file contains that class: > > grep "sunw/hotjava/bean/BrowserHistoryListener" ~/jstreet/HotJavaBean.jar > > If it doesn't, then you at least know where to start looking at a solution :) > In that case you probably compiled with a different version of the JAR file, > or perhaps the JAR file is corrupted. > > -- > Ernst > > > > And now get the following output: > > > > %Exception in thread "main" java.lang.NoClassDefFoundError: > > sunw/hotjava/bean/BrowserHistoryListener > > at java.lang.ClassLoader.defineClass0(Native Method) > > at java.lang.ClassLoader.defineClass(ClassLoader.java:442) > > at > > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:101) > > at java.net.URLClassLoader.defineClass(URLClassLoader.java:248) > > at java.net.URLClassLoader.access$1(URLClassLoader.java:216) > > at java.net.URLClassLoader$1.run(URLClassLoader.java:197) > > at java.security.AccessController.doPrivileged(Native Method) > > at java.net.URLClassLoader.findClass(URLClassLoader.java:191) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:290) > > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:282) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:247) > > > > What it's looking for seems to be there, but it refuses to find it: > > > > %ls jstreet > > HotJavaBean.jar Sample.java doc jstreet.zip readme > > Mailer Sndspell.jdx image license.txt > > Sample.class dict.txt innoval.jar mostfreq.txt > > > > > > I've tried adding the HotJavaBean.jar file to the classpath but it doesn't > > seem to help... > > > > Any ideas? > > > > Mike > > > > > > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 7 9:49: 1 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id 158EB37B71A for ; Wed, 7 Mar 2001 09:48:58 -0800 (PST) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.1/8.11.1) id f27HlwA01177; Wed, 7 Mar 2001 18:47:58 +0100 (CET) (envelope-from ernst) Date: Wed, 7 Mar 2001 18:47:58 +0100 From: Ernst de Haan To: Nate Williams Cc: FreeBSD Java mailing list Subject: Re: JDK install: Unpack source ? Message-ID: <20010307184758.A1163@c187104187.telekabel.chello.nl> References: <20010307113713.A2897@c187104187.telekabel.chello.nl> <15014.29052.149045.46268@nomad.yogotech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15014.29052.149045.46268@nomad.yogotech.com>; from nate@yogotech.com on Wed, Mar 07, 2001 at 10:35:56AM -0700 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Nate, > No way. I *never* look at the source code anymore, but then again, I've > no need to look at the source code except in rare cases. I try very > hard to program to the API, rather than to look at the implementation > because it makes my programs more portable. Well, in some cases I *do* need to check the source code, *and* javadoc wants to have the JDK source code path specified in the -sourcepath parameter. But while I'm writing this I'm wondering if (a) javadoc supports .jar files in the source path and (b) if I *really* need the source code for API docs generation, the Javadoc API docs should be enough. And the times I need to check the source code, is usually because the API docs don't tell me half the story, or because I want to know what approach is used in the JDK, for example w.r.t. the implementation of some collection classes. -- 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 7 9:52:17 2001 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id EBEFC37B719 for ; Wed, 7 Mar 2001 09:52:14 -0800 (PST) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id KAA02403; Wed, 7 Mar 2001 10:52:13 -0700 (MST) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id KAA19887; Wed, 7 Mar 2001 10:52:09 -0700 (MST) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15014.30024.816436.328056@nomad.yogotech.com> Date: Wed, 7 Mar 2001 10:52:08 -0700 (MST) To: Ernst de Haan Cc: Nate Williams , FreeBSD Java mailing list Subject: Re: JDK install: Unpack source ? In-Reply-To: <20010307184758.A1163@c187104187.telekabel.chello.nl> References: <20010307113713.A2897@c187104187.telekabel.chello.nl> <15014.29052.149045.46268@nomad.yogotech.com> <20010307184758.A1163@c187104187.telekabel.chello.nl> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > No way. I *never* look at the source code anymore, but then again, I've > > no need to look at the source code except in rare cases. I try very > > hard to program to the API, rather than to look at the implementation > > because it makes my programs more portable. > > Well, in some cases I *do* need to check the source code, *and* javadoc wants > to have the JDK source code path specified in the -sourcepath > parameter. Why do you need to run javadoc? The documentation is provided complete in another port, so you should never need to run javadoc on the base stuff, AFAIK. > But while I'm writing this I'm wondering if (a) javadoc supports .jar > files in the source path and (b) if I *really* need the source code > for API docs generation, the Javadoc API docs should be enough. Now you're talking . :) > And the times I need to check the source code, is usually because the > API docs don't tell me half the story, or because I want to know what > approach is used in the JDK, for example w.r.t. the implementation of > some collection classes. Having done that for JDK1.0 and JDK1.1, I recommend you avoiding the sources if at all possible. Sun *radically* changed the internals class implementations from 1.0 -> 1.1 -> 1.2 -> 1.3. By looking at the internals, you are more likely to depend on 'internal' behavior that will no longer be relevant in subsuquent releases. Again, sometimes you have very little choice, but too many times this comes back to bite you. :( Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 7 9:52:44 2001 Delivered-To: freebsd-java@freebsd.org Received: from crewsoft.com (ns.aenet.net [157.22.214.1]) by hub.freebsd.org (Postfix) with ESMTP id 823CA37B718 for ; Wed, 7 Mar 2001 09:52:41 -0800 (PST) (envelope-from cedric@wireless-networks.com) Received: from [172.17.1.25] (account cberger@wireless-networks.com HELO wireless-networks.com) by crewsoft.com (CommuniGate Pro SMTP 3.4b8) with ESMTP id 518851; Wed, 07 Mar 2001 09:55:31 -0800 Message-ID: <3AA67552.D99CCE99@wireless-networks.com> Date: Wed, 07 Mar 2001 09:52:18 -0800 From: Cedric Berger X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Ernst de Haan Cc: FreeBSD Java mailing list Subject: Re: JDK install: Unpack source ? References: <20010307113713.A2897@c187104187.telekabel.chello.nl> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Hi, > > When installing a JDK, the Java sources are usually installed with the JDK as > a .zip or .jar file. I would prefer unpacking the .jar file so I can browse > the source code at ${JAVA_HOME}/src, *and* so I can refer to the source > directory when generating Javadoc API docs (-sourcepath option). At the moment > I need to unpack the sources manually, which is fairly cumbersome for someone > that reinstalls JDK's every now and then. > > The only disadvantage I can think of is (a little) disk space. > > What are your thoughts about this? Should JDK installs unpack the sources by > default ? Most up-to-date java editors (JBuilder, Forte, ...) let you browse the source code without unpacking it. This is by far the best approach. Cedric To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 7 9:52:53 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id 8B88537B718 for ; Wed, 7 Mar 2001 09:52:50 -0800 (PST) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.1/8.11.1) id f27Hpju01257; Wed, 7 Mar 2001 18:51:45 +0100 (CET) (envelope-from ernst) Date: Wed, 7 Mar 2001 18:51:45 +0100 From: Ernst de Haan To: Nate Williams Cc: Mike Murphree , freebsd-java@FreeBSD.ORG Subject: Re: Differences in jdk1.2.2-beta? Message-ID: <20010307185144.A1208@c187104187.telekabel.chello.nl> References: <01030711225200.40551@n4cnw.dyndns.org> <20010307184055.A1129@c187104187.telekabel.chello.nl> <15014.29676.54843.83693@nomad.yogotech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15014.29676.54843.83693@nomad.yogotech.com>; from nate@yogotech.com on Wed, Mar 07, 2001 at 10:46:20AM -0700 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Nate, > > Try running this command: > > > > ${JAVA_HOME}/java \ > > -cp ~/jstreet/innoval.jar:~/jstreet/HotJavaBean.jar \ > > innoval.mailer.jstreet > > I don't believe 'java' expands ~ paths, so the user will either have to > use full pathnames (ie; /home/mike/jstreet/innoval/jar') or relative > paths and make sure that the program is always run from the same > directory (ie; ./jstreet/innoval.jar). No, 'java' doesn't, but the shell does. Try to execute this: echo ~ This gives me, on bash: /home/ernst I tested this on 'sh' and 'tcsh' too, both work the same as bash in this respect. -- 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 7 9:55:11 2001 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id ECA0C37B718 for ; Wed, 7 Mar 2001 09:55:03 -0800 (PST) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id KAA02453; Wed, 7 Mar 2001 10:55:00 -0700 (MST) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id KAA19926; Wed, 7 Mar 2001 10:54:59 -0700 (MST) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15014.30195.431085.1919@nomad.yogotech.com> Date: Wed, 7 Mar 2001 10:54:59 -0700 (MST) To: Ernst de Haan Cc: Nate Williams , Mike Murphree , freebsd-java@FreeBSD.ORG Subject: Re: Differences in jdk1.2.2-beta? In-Reply-To: <20010307185144.A1208@c187104187.telekabel.chello.nl> References: <01030711225200.40551@n4cnw.dyndns.org> <20010307184055.A1129@c187104187.telekabel.chello.nl> <15014.29676.54843.83693@nomad.yogotech.com> <20010307185144.A1208@c187104187.telekabel.chello.nl> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > Try running this command: > > > > > > ${JAVA_HOME}/java \ > > > -cp ~/jstreet/innoval.jar:~/jstreet/HotJavaBean.jar \ > > > innoval.mailer.jstreet > > > > I don't believe 'java' expands ~ paths, so the user will either have to > > use full pathnames (ie; /home/mike/jstreet/innoval/jar') or relative > > paths and make sure that the program is always run from the same > > directory (ie; ./jstreet/innoval.jar). > > No, 'java' doesn't, but the shell does. Try to execute this: > > echo ~ > > This gives me, on bash: > > /home/ernst > > I tested this on 'sh' and 'tcsh' too, both work the same as bash in this > respect. I know the shell does, but does the expansion occur in the middle of the argument, ie; '.....:~/.....' I don't believe it does, but I could be wrong. I know that we had some problems with this in our Makefiles, but in retrospect, make uses /bin/sh, which does not do expansion. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 7 9:55:50 2001 Delivered-To: freebsd-java@freebsd.org Received: from exchange1.crossoft.com (25.crcr3.xdsl.nauticom.net [209.195.166.90]) by hub.freebsd.org (Postfix) with ESMTP id 0994137B71C for ; Wed, 7 Mar 2001 09:55:41 -0800 (PST) (envelope-from dlister@crossoft.com) X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0 content-class: urn:content-classes:message Subject: RE: Trying to Create a simple Bean Date: Wed, 7 Mar 2001 12:55:53 -0500 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C0A72F.DA0E9ED0" Message-ID: <9FD1AD5A8A0EB94B8B41ABC47563ED4B3B5C@exchange1.crossoft.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: <9FD1AD5A8A0EB94B8B41ABC47563ED4B3B5C@exchange1.crossoft.com> Thread-Topic: Trying to Create a simple Bean Thread-Index: AcCnKYYUXyg+ha4qQwenMjAKfWZMawABdusp From: "Drew Lister" To: "Sean Kelly" , Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. ------_=_NextPart_001_01C0A72F.DA0E9ED0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable When I put the line in : < %@page import=3D"DiceBean" = %> I get this error =20 /usr/local/www/gnujsp/jsp__pants_2ejsp.java:6: Class DiceBean not found in import. import DiceBean; ^ 1 error Should DiceBean be part of a package? I was just referencing it as one class. The CLASSPATH of the webserver (Apache.conf) does include the location of DiceBean. =20 Should you store all classes that you create in another directory besides the home directory of the www pages? =20 Thanks, Drew Lister -----Original Message-----=20 From: Sean Kelly=20 Sent: Wed 3/7/2001 12:10 PM=20 To: Drew Lister; freebsd-java@FreeBSD.ORG=20 Cc:=20 Subject: Re: Trying to Create a simple Bean =09 =09 > DiceBean time =3D (DiceBean) =09 Do you have the package for DiceBean imported in your <%@ page ... %> declaration? =09 Is the class definition for DiceBean available to GNU JSP? In other words, does the CLASSPATH of the web server include the location of DiceBean? =09 --k =09 =09 =09 ------_=_NextPart_001_01C0A72F.DA0E9ED0 Content-Type: application/ms-tnef; name="winmail.dat" Content-Transfer-Encoding: base64 eJ8+IjYRAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEEgAEAIwAAAFJFOiBUcnlpbmcgdG8gQ3Jl YXRlIGEgc2ltcGxlIEJlYW4ApgsBBYADAA4AAADRBwMABwAMADcANQADAF0BASCAAwAOAAAA0QcD AAcADAA3ADUAAwBdAQEJgAEAIQAAADA2RjNFQ0E0MkZDRDdFNDY5QUJGRjZFNEUzRUNEREYwALYH AQOQBgDQDgAANgAAAAMANgAAAAAAQAA5ANCeDtovp8ABHgA9AAEAAAAFAAAAUkU6IAAAAAACAUcA AQAAADIAAABjPXVzO2E9IDtwPUNyb3Nzb2Z0O2w9RVhDSEFOR0UxLTAxMDMwNzE3NTU1M1otMzM0 AAAAHgBJAAEAAAAjAAAAUmU6IFRyeWluZyB0byBDcmVhdGUgYSBzaW1wbGUgQmVhbgAAQABOAIDT TZQpp8ABHgBaAAEAAAALAAAAU2VhbiBLZWxseQAAAgFbAAEAAAA5AAAAAAAAAIErH6S+oxAZnW4A 3QEPVAIAAAAAU2VhbiBLZWxseQBTTVRQAGtlbGx5QGFkMTQ0MC5uZXQAAAAAAgFcAAEAAAAWAAAA U01UUDpLRUxMWUBBRDE0NDAuTkVUAAAAHgBdAAEAAAALAAAAU2VhbiBLZWxseQAAAgFeAAEAAAA5 AAAAAAAAAIErH6S+oxAZnW4A3QEPVAIAAAAAU2VhbiBLZWxseQBTTVRQAGtlbGx5QGFkMTQ0MC5u ZXQAAAAAAgFfAAEAAAAWAAAAU01UUDpLRUxMWUBBRDE0NDAuTkVUAAAAHgBmAAEAAAAFAAAAU01U UAAAAAAeAGcAAQAAABEAAABrZWxseUBhZDE0NDAubmV0AAAAAB4AaAABAAAABQAAAFNNVFAAAAAA HgBpAAEAAAARAAAAa2VsbHlAYWQxNDQwLm5ldAAAAAAeAHAAAQAAAB8AAABUcnlpbmcgdG8gQ3Jl YXRlIGEgc2ltcGxlIEJlYW4AAAIBcQABAAAAGwAAAAHApymGFF8oPoWuKkMHpzIwCn1mTGsAAXbr KQAeAHQAAQAAACYAAABEcmV3IExpc3RlcjsgZnJlZWJzZC1qYXZhQEZyZWVCU0QuT1JHAAAAHgAa DAEAAAAMAAAARHJldyBMaXN0ZXIAHgAdDgEAAAAfAAAAVHJ5aW5nIHRvIENyZWF0ZSBhIHNpbXBs ZSBCZWFuAAACAQkQAQAAAGcIAABjCAAAHR4AAExaRnWoTAE4AwAKAHJjcGcxMjWCMgNDaHRtbDED MD8BAwH3CoACpAPjAgBjaMEKwHNldDAgBxMCgP8QAwBQBFYIVQeyEdUOUQMB3RDXMgYABsMR1TME RhDZbxLrEeMI7wn3OxjPDjA1OxHSDGBjAFALCQFkMzaTEWALpTQgEAIqXA6yvQGQZxTwCqMR4x3o NBTwADwhRE9DVFlQAEUgSFRNTCBQAFVCTElDICItIC8vVzNDIYBEVCJEIJQzLjIhgEVOnCI+Hu0e jyPBMTgf8G8goiMPJB8mkDMdgCVwRXxBRCXNDvEm7ylvJPQ2QQ7wPE1FVEEHsEExLGA9IkcJ8ASQ YXRFBbAiEtBPTlQi0FQTLPAF4UV4EPFuZ2U9BlJ2EzEvQQCQAiAgNoAuMC40NDE3MBAnIv4qzyUD Nzcf8FRJOFRMRSXOMFAH8GU6kCBUcnkLgGcgLXBPEtAY0C1gLvBhIACQbasLUC7wQjXAbiRuNR/w /i8zTzF/JkU0kTgAKE8mnwU71DURYDxCT0RZoCBkaXI9O/ByO0DPO7MAIQMwPlFkbwDgPlH5CrFc cRiwPlEQ8AMwPrWPEWA7axzxPG9nOTYf8HhESVY+iQAAQMc7iTYmNEP/QRJXaAnwIEkoIHB1BUB0 R3AgbLcLgC7wC4AgNOA7azgdgG4mO/ACgD6nPEC/SWc89SyQaBjQZizwAMADEC1w+DolQAqwLuAi 8UYoAzFpCJBsZDuCZk8AC4BzKHR7SCBhUiEgTkv/IVBNHBfgAfFPABEgO/AYMP0AQXUDIUr3TYQ+ pz6XHPHLU79BPTkf4S9BO0AdnF8dgEJENkEYcSzwRA3gZas2oi2gJUj/Z0oaPkSvfzvyAcA+lwqi VDgKgCR8MP8oESHgQ8tVf0G/Qs9D31w/v0X/YVRHsC7gR/IEACAEkP8DYAixXL9dz17fX+9g/2IP P2MfZC9lP2ZPbX9JlW5ixHNwSilcJ2EBQHFP/2lPal9rb2x/c59un2+vct8Dcc9+zyAvdXNyLyUY YGMHQC93grAvZyhudWp1IC+DIV9fQwqwAjBzXzJlgyEuQGphdmE6NjTgQ8cLYAQRWVYgbm8FQAIQ uHVuZEiSV49YmC4kfPssED2hUj6LSGEKgXtnWNT9hUc7iH+Jj4qcc/91D3Ya/49/kI+Rn5Kvk7+U z5Xflu8/l/+ZD5ofmy+cP51HIF7/jH+Nj4qcDvCGv30CaHOg3/+h74qcdt9373j/eg97H3wvn30/ fk+oD4BvrSdTaAhgu08AhUhiLvAKsQVAbz8Q0zYQCrBja02xP53fnu/Ln/tHsHeFECBqghAFQNdM wQSQCfBjNTJpBUC5Ma+j/67CAiAu8GOFAi6on/+pr6q/q8+s363vrv+wD7EfC7IvwVdUSCFDTEFT YFNQQVRItTJIEndmZbcwLyQoQbWRR3Au0QWgbmYpPgBvB5ELgN28YHUBAEgEgmF0L8K1Qf+638Ly WVa8v73Pvt+/78D//8IPwx/EL8U/xk/S/7aPt5//qE/PP9BP0V/Sb9N/1I/Vn+/Wr9e/su+z8nkI YDYgLXH9NfFsAyC8YweRSBAtYOgT/wUANcNIoQBwhfBHcAXAPhH7BZAtcXm0sQCQAQC6v+KU/0gS s9AHgOspyNaCsLThLuD8cz/cj92f3q/fv+DP4d//4u/j/+UP5h/0f9ov2z/cT//wv/HP8t/z7/T/ 9g/3H/gvx/k/xy0NsGtzLP3//w//AB8BLwI/A08EXwVvDi+mFb8f4aa8D7Gn3wdfBkpEGND972BM aEA14Gi/Cp8Lrwy/Dw3PDt8P7z2hTE9DS7hRVU8t8D4G6FF5NnARLjFBUkdQQC1SScZHJYA04DBw eE3qFJT/EfA/tUBTQBFArx3vM9ugkT8evxD/FP8WD1RJSFAzNgkSjjQ4VxBGT05UFTYheiFQMilL ZnMyC1TIJVAtMMJPcmln08sQ6MAgTcrgc02xMMOvEp6mj45/S55CKUtiJMnSRqVgbTpWLy82ilQ5 67OwhaJLTvBs67DsXyaP/1rRJ94zTzRfNW82f+cZugBOdDhvOX+gN1dlhmAzaC83Ly/wMKPQE4A6 8RuQIFBNMm8/T0BfQW9/Qn/HhlDgRE9FX6BGF7k7Nzu/PM891Wa5sMlRZC0NhHJAOCBUMEJTRC7+ TyGgSD9JT0pfS29Mf1g1/ENjTh9PL6A3Va9Wv1fPx1jfWe+zZXViauthW3/TXI+gN1JlIkBU66C6 Mu/ocFGPUp891UPqJLVw6/D7i4AhQCDOIl4vXz9gT2vP12zfbe8bJjVvgS8uUmWP//2vGS8aPxtP cz8lX2jPJ3/7KwVlQFAirywpK58sry2/py7PL937H2d0/Gk+g4//+4/8n4Zvh3+Ij4mfiq+Lv7+M z43fUEe0RswQ7gE9Z8/reo891Si0Nilun2+vcL/3lp+XrxTpRGew6dLpkMmg88uDtZUgZqVwtChq 8aVw/epQZJlvmn+YjOqB6dHrEL+TT5RfPe+QBHtgkKk8mMjkJUDvcyAuqECnsKU/74U/uIbsELxh cswDtgygD++hH5lfrP+uDUnpYrxFqyH+ZuqAunDMIp3ror+jz6TU9VShabxwYiFArv+wD64cwWeh R05VIErIcKvsW5AvkT9JzEHq43ed8GT/CXDKtMuSyDe3X7hvrhzI1f+0T7VfpNTJQYHwyYTLH8wi /8OPxJ+k1O7QwB/BL5uNnjV/q+/Lr64Pzl/PbxTaMMBr/9E/0k/QX9Sf1a/Wv9fP2N//2e9yL3hf MAh1zn1f3O901P9lQX0hds9lUR/33t/i/3pPG+hPexc1gYFlYE9EWW/kfWUw6g97gTdlQSIgTQpM 26B97sAAHgA1EAEAAAA+AAAAPDlGRDFBRDVBOEEwRUI5NEI4QjQxQUJDNDc1NjNFRDRCM0I1Q0Bl eGNoYW5nZTEuY3Jvc3NvZnQuY29tPgAAAB4ARxABAAAADwAAAG1lc3NhZ2UvcmZjODIyAAALAPIQ AQAAAB8A8xABAAAAUgAAAFIARQAlADMAQQAgAFQAcgB5AGkAbgBnACAAdABvACAAQwByAGUAYQB0 AGUAIABhACAAcwBpAG0AcABsAGUAIABCAGUAYQBuAC4ARQBNAEwAAAAAAAsA9hAAAAAAQAAHMMA+ wGEvp8ABQAAIMMBCFtovp8ABAwDeP+QEAAADAPE/AAAAAB4A+D8BAAAADAAAAERyZXcgTGlzdGVy AAIB+T8BAAAAXwAAAAAAAADcp0DIwEIQGrS5CAArL+GCAQAAAAAAAAAvTz1DUk9TU09GVC9PVT1G SVJTVCBBRE1JTklTVFJBVElWRSBHUk9VUC9DTj1SRUNJUElFTlRTL0NOPURMSVNURVIAAB4A+j8B AAAAFQAAAFN5c3RlbSBBZG1pbmlzdHJhdG9yAAAAAAIB+z8BAAAAHgAAAAAAAADcp0DIwEIQGrS5 CAArL+GCAQAAAAAAAAAuAAAAAwD9P+QEAAADABlAAAAAAAMAGkAAAAAAAwAdQAAAAAADAB5AAAAA AB4AMEABAAAACAAAAERMSVNURVIAHgAxQAEAAAAIAAAARExJU1RFUgAeADJAAQAAABEAAABrZWxs eUBhZDE0NDAubmV0AAAAAB4AM0ABAAAAEQAAAGtlbGx5QGFkMTQ0MC5uZXQAAAAAHgA4QAEAAAAI AAAARExJU1RFUgAeADlAAQAAAAIAAAAuAAAACwApAAAAAAALACMAAAAAAAMABhBPP5XmAwAHEPAC AAADABAQAAAAAAMAERAAAAAAHgAIEAEAAABlAAAAV0hFTklQVVRUSEVMSU5FSU46PCVAUEFHRTxN QUlMVE86JUBQQUdFSU1QT1JUPSJESUNFQkVBTiIlSUdFVFRISVNFUlJPUi9VU1IvTE9DQUwvV1dX L0dOVUpTUC9KU1BQQU5UUwAAAAACAX8AAQAAAD4AAAA8OUZEMUFENUE4QTBFQjk0QjhCNDFBQkM0 NzU2M0VENEIzQjVDQGV4Y2hhbmdlMS5jcm9zc29mdC5jb20+AAAAxOw= ------_=_NextPart_001_01C0A72F.DA0E9ED0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 7 10: 8:38 2001 Delivered-To: freebsd-java@freebsd.org Received: from calliope.cs.brandeis.edu (calliope.cs.brandeis.edu [129.64.3.189]) by hub.freebsd.org (Postfix) with ESMTP id B902737B718 for ; Wed, 7 Mar 2001 10:08:35 -0800 (PST) (envelope-from meshko@calliope.cs.brandeis.edu) Received: from localhost (meshko@localhost) by calliope.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id NAA00388; Wed, 7 Mar 2001 13:08:14 -0500 Date: Wed, 7 Mar 2001 13:08:14 -0500 (EST) From: Mikhail Kruk To: Nate Williams Cc: Ernst de Haan , Mike Murphree , Subject: Re: Differences in jdk1.2.2-beta? In-Reply-To: <15014.30195.431085.1919@nomad.yogotech.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > No, 'java' doesn't, but the shell does. Try to execute this: > > > > echo ~ > > > > This gives me, on bash: > > > > /home/ernst > > > > I tested this on 'sh' and 'tcsh' too, both work the same as bash in this > > respect. > > I know the shell does, but does the expansion occur in the middle of the > argument, ie; '.....:~/.....' I don't believe it does, but I could be > wrong. I know that we had some problems with this in our Makefiles, but > in retrospect, make uses /bin/sh, which does not do expansion. No, you can't be wrong ;) well, not this time at least. I've spent enough of my time (and more than once unfortunately) fighting this problem. ~ is not expanded in this situation. Use full path. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 7 10: 9:32 2001 Delivered-To: freebsd-java@freebsd.org Received: from nova.fnal.gov (nova.fnal.gov [131.225.18.207]) by hub.freebsd.org (Postfix) with ESMTP id B36C737B718 for ; Wed, 7 Mar 2001 10:09:29 -0800 (PST) (envelope-from zingelman@fnal.gov) Received: from localhost (tez@localhost) by nova.fnal.gov (8.9.3+Sun/8.9.1) with ESMTP id MAA23005; Wed, 7 Mar 2001 12:09:20 -0600 (CST) X-Authentication-Warning: nova.fnal.gov: tez owned process doing -bs Date: Wed, 7 Mar 2001 12:09:20 -0600 (CST) From: Tim Zingelman X-Sender: To: Ernst de Haan Cc: FreeBSD Java mailing list Subject: Re: linux-jdk1.3.0_02 problems [Was: JDK1.1.8 segfaults] In-Reply-To: <20010307123640.A12640@c187104187.telekabel.chello.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, 7 Mar 2001, Ernst de Haan wrote: > I have just reinstalled the emulators/linux_base port on both systems, and > then ran java -version again, but the results are the same as before. Seems > it's not a linux_base issue. > > -- > Ernst > > Ernst de Haan wrote: Sorry I was 1/2 asleep when I wrote that... I was talking about kernel patches, not in the port. Here's a bit from the commit email: gallatin 2001/02/21 15:01:58 PST Modified files: (Branch: RELENG_4) sys/i386/linux syscalls.master linux.h linux_dummy.c linux_genassym.c linux_locore.s linux_machdep.c linux_sysvec.c Log: MFC: Linux signal handling fixes from current. This should improve emulation of signal intensive Linux apps (such as Java). This allows an older version of the IBM JDK to run on -stable and gets rid of the "cannot uninstall sigaltstack" message from the Sun Linux JDK 1.3 Reviewed by: marcel Approved by: marcel Revision Changes Path 1.30.2.3 +4 -4 src/sys/i386/linux/syscalls.master 1.41.2.2 +134 -6 src/sys/i386/linux/linux.h 1.21.2.4 +1 -2 src/sys/i386/linux/linux_dummy.c 1.13.2.1 +5 -2 src/sys/i386/linux/linux_genassym.c 1.5.2.2 +17 -5 src/sys/i386/linux/linux_locore.s 1.6.2.2 +64 -10 src/sys/i386/linux/linux_machdep.c 1.55.2.4 +295 -27 src/sys/i386/linux/linux_sysvec.c - Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 7 10:11:18 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id 1460B37B71A for ; Wed, 7 Mar 2001 10:11:01 -0800 (PST) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.1/8.11.1) id f27I9kd01301; Wed, 7 Mar 2001 19:09:46 +0100 (CET) (envelope-from ernst) Date: Wed, 7 Mar 2001 19:09:46 +0100 From: Ernst de Haan To: Nate Williams Cc: FreeBSD Java mailing list Subject: Re: JDK install: Unpack source ? Message-ID: <20010307190946.A1272@c187104187.telekabel.chello.nl> References: <20010307113713.A2897@c187104187.telekabel.chello.nl> <15014.29052.149045.46268@nomad.yogotech.com> <20010307184758.A1163@c187104187.telekabel.chello.nl> <15014.30024.816436.328056@nomad.yogotech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15014.30024.816436.328056@nomad.yogotech.com>; from nate@yogotech.com on Wed, Mar 07, 2001 at 10:52:08AM -0700 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Nate, > Why do you need to run javadoc? The documentation is provided complete > in another port, so you should never need to run javadoc on the base > stuff, AFAIK. We have a miscommunication. I am a Java software developer, I create Javadoc API documentation myself. This is what I run javadoc for. We use Ant to generate the Javadoc documentation during the build process. This is what the concerning target in the build file looks like: And up in the "init" section: Seems I don't include the JDK source code at the moment. But I do recall that I wanted to include it. Notice that I do include the source code for some other libraries. > > But while I'm writing this I'm wondering if (a) javadoc supports .jar > > files in the source path and (b) if I *really* need the source code > > for API docs generation, the Javadoc API docs should be enough. > > Now you're talking . :) No I mean for the generation of my API docs. You misunderstood me, I think =) > > And the times I need to check the source code, is usually because the > > API docs don't tell me half the story, or because I want to know what > > approach is used in the JDK, for example w.r.t. the implementation of > > some collection classes. > > Having done that for JDK1.0 and JDK1.1, I recommend you avoiding the > sources if at all possible. Sun *radically* changed the internals class > implementations from 1.0 -> 1.1 -> 1.2 -> 1.3. By looking at the > internals, you are more likely to depend on 'internal' behavior that > will no longer be relevant in subsuquent releases. Okay, I agree, but (a) for some AWT or Swing stuff there's hardly any choice but to check the source code if you want to get certain things done, and (b) when looking at the implementation of the collection classes, I don't use that information to assume a certain implementation, but just so that I can be sure that my implementation is 'better' (at least in the context of our project). > Again, sometimes you have very little choice, but too many times this > comes back to bite you. :( Yeah I know :) I've worked with JDK 1.0.2 too, and I *really* had to check the source code every now and then, because I couldn't get all information from the Javadoc comments. Good old days. Not. ;) -- 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 7 10:19:19 2001 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id 2AE5737B71A for ; Wed, 7 Mar 2001 10:19:15 -0800 (PST) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id LAA02924; Wed, 7 Mar 2001 11:19:13 -0700 (MST) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id LAA20135; Wed, 7 Mar 2001 11:19:04 -0700 (MST) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15014.31639.553572.240950@nomad.yogotech.com> Date: Wed, 7 Mar 2001 11:19:03 -0700 (MST) To: Ernst de Haan Cc: Nate Williams , FreeBSD Java mailing list Subject: Re: JDK install: Unpack source ? In-Reply-To: <20010307190946.A1272@c187104187.telekabel.chello.nl> References: <20010307113713.A2897@c187104187.telekabel.chello.nl> <15014.29052.149045.46268@nomad.yogotech.com> <20010307184758.A1163@c187104187.telekabel.chello.nl> <15014.30024.816436.328056@nomad.yogotech.com> <20010307190946.A1272@c187104187.telekabel.chello.nl> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > Why do you need to run javadoc? The documentation is provided complete > > in another port, so you should never need to run javadoc on the base > > stuff, AFAIK. > > We have a miscommunication. I am a Java software developer, I create Javadoc > API documentation myself. So far so good. (BTW, I'm also a Java software developer, and also create Javadoc API docs as well.) > This is what I run javadoc for. What better tool is there for creating java documentation? :) > Seems I don't include the JDK source code at the moment. But I do recall that > I wanted to include it. Notice that I do include the source code for some > other libraries. Why are you including documentation for the JDK bits in your documentation? Why not just point the user at the JDK documentation? It seems redundant to include two copies of the JDK docs for a developer that needs to use your libraries. (I'm assuming that the docs are for developers, correct?) > > Having done that for JDK1.0 and JDK1.1, I recommend you avoiding the > > sources if at all possible. Sun *radically* changed the internals class > > implementations from 1.0 -> 1.1 -> 1.2 -> 1.3. By looking at the > > internals, you are more likely to depend on 'internal' behavior that > > will no longer be relevant in subsuquent releases. > > Okay, I agree, but (a) for some AWT or Swing stuff there's hardly any choice > but to check the source code if you want to get certain things done If you're looking at AWT and Swing, then you *will* be bitten. There is *no* need to look at the source code to get certain things done. In particular, both the AWT and Swing toolkits have been completely re-written in each major JDK1.X release, such that *IF* you looked at the internals, it wouldn't have worked in subsequent releases. My last big 'GUI' project was 200K lines of code, including about 150K of them dealing with Swing/AWT. At no point did a developer require looking at the Swing/AWT source code to do their job, although I peeked a couple of times to help out another developer to make sure they weren't doing something wrong (ie; the documentation was incorrect). In any case, this discussion isn't appropriate for the java mailing list, so if you would like to continue it, we can take it offline. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 7 11: 8:56 2001 Delivered-To: freebsd-java@freebsd.org Received: from calliope.cs.brandeis.edu (calliope.cs.brandeis.edu [129.64.3.189]) by hub.freebsd.org (Postfix) with ESMTP id 1B4DB37B71A for ; Wed, 7 Mar 2001 11:08:53 -0800 (PST) (envelope-from meshko@calliope.cs.brandeis.edu) Received: from localhost (meshko@localhost) by calliope.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id OAA00715; Wed, 7 Mar 2001 14:08:12 -0500 Date: Wed, 7 Mar 2001 14:08:12 -0500 (EST) From: Mikhail Kruk To: Tim Zingelman Cc: Ernst de Haan , FreeBSD Java mailing list Subject: Re: linux-jdk1.3.0_02 problems [Was: JDK1.1.8 segfaults] In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Do I read this correctly? Does it mean that 4.2-STABLE after February 21st should run IBM JDK 1.1.8? Can anyone confirm this? (i.e. success running jdk?) Sounds like somebody will be doing build world today ;) > On Wed, 7 Mar 2001, Ernst de Haan wrote: > > > I have just reinstalled the emulators/linux_base port on both systems, and > > then ran java -version again, but the results are the same as before. Seems > > it's not a linux_base issue. > > > > -- > > Ernst > > > > Ernst de Haan wrote: > > Sorry I was 1/2 asleep when I wrote that... I was talking about kernel > patches, not in the port. > > Here's a bit from the commit email: > > gallatin 2001/02/21 15:01:58 PST > > Modified files: (Branch: RELENG_4) > sys/i386/linux syscalls.master linux.h linux_dummy.c > linux_genassym.c linux_locore.s > linux_machdep.c linux_sysvec.c > Log: > MFC: Linux signal handling fixes from current. This should improve > emulation of signal intensive Linux apps (such as Java). This allows an > older version of the IBM JDK to run on -stable and gets rid of the > "cannot uninstall sigaltstack" message from the Sun Linux JDK 1.3 > > Reviewed by: marcel > Approved by: marcel > > Revision Changes Path > 1.30.2.3 +4 -4 src/sys/i386/linux/syscalls.master > 1.41.2.2 +134 -6 src/sys/i386/linux/linux.h > 1.21.2.4 +1 -2 src/sys/i386/linux/linux_dummy.c > 1.13.2.1 +5 -2 src/sys/i386/linux/linux_genassym.c > 1.5.2.2 +17 -5 src/sys/i386/linux/linux_locore.s > 1.6.2.2 +64 -10 src/sys/i386/linux/linux_machdep.c > 1.55.2.4 +295 -27 src/sys/i386/linux/linux_sysvec.c > > - Tim > > > 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 7 11:18:23 2001 Delivered-To: freebsd-java@freebsd.org Received: from smtp2.knology.net (user-24-214-63-12.knology.net [24.214.63.12]) by hub.freebsd.org (Postfix) with SMTP id 05A3737B719 for ; Wed, 7 Mar 2001 11:18:15 -0800 (PST) (envelope-from n4cnw@knology.net) Received: (qmail 6783 invoked by uid 1003); 7 Mar 2001 19:20:40 -0000 Received: from user-24-214-88-73.knology.net (HELO n4cnw.dyndns.org) (24.214.88.73) by user-24-214-63-12.knology.net with SMTP; 7 Mar 2001 19:20:40 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Mike Murphree To: Ernst de Haan Subject: Re: Differences in jdk1.2.2-beta? Date: Wed, 7 Mar 2001 13:18:13 -0600 X-Mailer: KMail [version 1.2] Cc: freebsd-java@FreeBSD.ORG References: <01030711225200.40551@n4cnw.dyndns.org> <20010307184055.A1129@c187104187.telekabel.chello.nl> In-Reply-To: <20010307184055.A1129@c187104187.telekabel.chello.nl> MIME-Version: 1.0 Message-Id: <01030713181301.40551@n4cnw.dyndns.org> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Well, it runs if I specify both jar files and don't use the "~" in the path. Next question: I have some Java code that uses some Linux native compiled libraries on a Linux system. What would I need to do to get this to work under FreeBSD? Thanks, Mike On Wednesday 07 March 2001 11:40 am, Ernst de Haan wrote: > Hi Mike, > > > $JAVA_HOME/bin/java -cp ~/jstreet/innoval.jar innoval.mailer.jstreet & > > Okay, so as far as I can see, you need at least 2 libraries: > > * "innoval" -- seems to be in ~/jstreet/innoval.jar > * "HotJava bean" -- seems to be in ~/jstreet/HotJavaBean.jar > > Try running this command: > > ${JAVA_HOME}/java \ > -cp ~/jstreet/innoval.jar:~/jstreet/HotJavaBean.jar \ > innoval.mailer.jstreet > > This should work. If you still get that error message, then make sure that > the HotJavaBean.jar file contains that class: > > grep "sunw/hotjava/bean/BrowserHistoryListener" > ~/jstreet/HotJavaBean.jar > > If it doesn't, then you at least know where to start looking at a solution > :) In that case you probably compiled with a different version of the JAR > file, or perhaps the JAR file is corrupted. > > -- > Ernst > > > And now get the following output: > > > > %Exception in thread "main" java.lang.NoClassDefFoundError: > > sunw/hotjava/bean/BrowserHistoryListener > > at java.lang.ClassLoader.defineClass0(Native Method) > > at java.lang.ClassLoader.defineClass(ClassLoader.java:442) > > at > > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:101) > > at java.net.URLClassLoader.defineClass(URLClassLoader.java:248) > > at java.net.URLClassLoader.access$1(URLClassLoader.java:216) > > at java.net.URLClassLoader$1.run(URLClassLoader.java:197) > > at java.security.AccessController.doPrivileged(Native Method) > > at java.net.URLClassLoader.findClass(URLClassLoader.java:191) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:290) > > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:282) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:247) > > > > What it's looking for seems to be there, but it refuses to find it: > > > > %ls jstreet > > HotJavaBean.jar Sample.java doc jstreet.zip readme > > Mailer Sndspell.jdx image license.txt > > Sample.class dict.txt innoval.jar mostfreq.txt > > > > > > I've tried adding the HotJavaBean.jar file to the classpath but it > > doesn't seem to help... > > > > Any ideas? > > > > Mike > > > > > > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 7 11:41:35 2001 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id 05EC437B718 for ; Wed, 7 Mar 2001 11:41:31 -0800 (PST) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id MAA04337; Wed, 7 Mar 2001 12:41:25 -0700 (MST) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id MAA20568; Wed, 7 Mar 2001 12:41:15 -0700 (MST) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15014.36571.680830.81992@nomad.yogotech.com> Date: Wed, 7 Mar 2001 12:41:15 -0700 (MST) To: Mike Murphree Cc: Ernst de Haan , freebsd-java@FreeBSD.ORG Subject: Re: Differences in jdk1.2.2-beta? In-Reply-To: <01030713181301.40551@n4cnw.dyndns.org> References: <01030711225200.40551@n4cnw.dyndns.org> <20010307184055.A1129@c187104187.telekabel.chello.nl> <01030713181301.40551@n4cnw.dyndns.org> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Well, it runs if I specify both jar files and don't use the "~" in the path. > > Next question: > > I have some Java code that uses some Linux native compiled libraries > on a Linux system. What would I need to do to get this to work under > FreeBSD? Have you tried running it under the Linux JDK port? Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 7 14:14:29 2001 Delivered-To: freebsd-java@freebsd.org Received: from pluto.senet.com.au (pluto.senet.com.au [203.56.239.150]) by hub.freebsd.org (Postfix) with ESMTP id B405A37B719 for ; Wed, 7 Mar 2001 14:14:25 -0800 (PST) (envelope-from glewis@misty.eyesbeyond.com) Received: from misty.eyesbeyond.com (c27-fr-p2.senet.com.au [172.16.27.3]) by pluto.senet.com.au (8.11.0/8.11.0) with ESMTP id f27MEMT30386; Thu, 8 Mar 2001 08:44:22 +1030 (CST) (envelope-from glewis@misty.eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.1/8.11.1) id f27ME2245892; Thu, 8 Mar 2001 08:44:02 +1030 (CST) (envelope-from glewis) Date: Thu, 8 Mar 2001 08:44:02 +1030 From: Greg Lewis To: Tim Zingelman Cc: Ernst de Haan , FreeBSD Java mailing list Subject: Re: linux-jdk1.3.0_02 problems [Was: JDK1.1.8 segfaults] Message-ID: <20010308084402.A45852@misty.eyesbeyond.com> References: <20010307123640.A12640@c187104187.telekabel.chello.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from zingelman@fnal.gov on Wed, Mar 07, 2001 at 12:09:20PM -0600 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Mar 07, 2001 at 12:09:20PM -0600, Tim Zingelman wrote: > Here's a bit from the commit email: > > gallatin 2001/02/21 15:01:58 PST > > Modified files: (Branch: RELENG_4) > sys/i386/linux syscalls.master linux.h linux_dummy.c > linux_genassym.c linux_locore.s > linux_machdep.c linux_sysvec.c > Log: > MFC: Linux signal handling fixes from current. This should improve > emulation of signal intensive Linux apps (such as Java). This allows an > older version of the IBM JDK to run on -stable and gets rid of the > "cannot uninstall sigaltstack" message from the Sun Linux JDK 1.3 Ok, so maybe the port doesn't need patches...but thats definitely the message Ernst was getting. Whne was your 4.2-STABLE system last rebuilt Ernst? If its before this commit, you prolly need to rebuild and try again. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Mobile: 0419 868 494 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 7 14:46:18 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id 2F75637B719 for ; Wed, 7 Mar 2001 14:46:11 -0800 (PST) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.1/8.11.1) id f27Mj6t03704; Wed, 7 Mar 2001 23:45:06 +0100 (CET) (envelope-from ernst) Date: Wed, 7 Mar 2001 23:45:05 +0100 From: Ernst de Haan To: Greg Lewis Cc: Tim Zingelman , FreeBSD Java mailing list Subject: Re: linux-jdk1.3.0_02 problems [Was: JDK1.1.8 segfaults] Message-ID: <20010307234505.A3688@c187104187.telekabel.chello.nl> References: <20010307123640.A12640@c187104187.telekabel.chello.nl> <20010308084402.A45852@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010308084402.A45852@misty.eyesbeyond.com>; from glewis@eyesbeyond.com on Thu, Mar 08, 2001 at 08:44:02AM +1030 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Greg and all, > Ok, so maybe the port doesn't need patches...but thats definitely the > message Ernst was getting. Whne was your 4.2-STABLE system last rebuilt > Ernst? If its before this commit, you prolly need to rebuild and try > again. The system that didn't give an error message: FreeBSD heinz.jollem.com 4.2-STABLE FreeBSD 4.2-STABLE #8: Sat Mar 3 16:58:33 CET 2001 root@heinz.jollem.com:/usr/src/sys/compile/HEINZ i386 The system that did give an error message: FreeBSD catbert.jollem.com 4.2-STABLE FreeBSD 4.2-STABLE #21: Sat Jan 2 02:11:48 CET 1999 ernst@catbert.jollem.com:/usr/src/sys/compile/CATBERT i386 Gonna rebuild my kernel and make world again, and then I'll let the list know :) -- 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 7 15:55:10 2001 Delivered-To: freebsd-java@freebsd.org Received: from www.kpi.com.au (www.kpi.com.au [203.39.132.210]) by hub.freebsd.org (Postfix) with ESMTP id BAECA37B718 for ; Wed, 7 Mar 2001 15:55:05 -0800 (PST) (envelope-from shevlandj@kpi.com.au) Received: from BLACKHAWK (pA12.hbt.southcom.com.au [203.60.23.19]) by www.kpi.com.au (8.9.3/8.9.3) with SMTP id KAA23829; Thu, 8 Mar 2001 10:54:00 +1100 (EST) (envelope-from shevlandj@kpi.com.au) From: "Joe Shevland" To: "Drew Lister" , "Sean Kelly" , Subject: RE: Trying to Create a simple Bean Date: Thu, 8 Mar 2001 10:56:52 +1100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 In-Reply-To: <9FD1AD5A8A0EB94B8B41ABC47563ED4B3B5C@exchange1.crossoft.com> Importance: Normal Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Drew, JServ cannot find the class file for your DiceBean class. Its been a while since I've used JServ (Tomcat is a much better alternative). If DiceBean is not associated with a package (e.g. no package com.foo.bar in Java source) then it should be fine to compile DiceBean.class and then place a reference to its directory or JAR file in (I think) jserv.properties as this is where the CLASSPATH is set up. I would keep your class files for a particular web app in both i) a structured package format and ii) a JAR file, just for namespace cleanliness. Tomcat makes things a lot easier in terms of class loading too, you can just whompf all your class files into /WEB-INF/classes or JAR's into /WEB-INF/lib. Regards, Joe -----Original Message----- From: Drew Lister [mailto:owner-freebsd-java@FreeBSD.ORG]On Behalf Of = Drew Lister Sent: Thursday, March 08, 2001 4:56 AM To: Sean Kelly; freebsd-java@FreeBSD.ORG Subject: RE: Trying to Create a simple Bean When I put the line in : <%@page import=3D"DiceBean" %> I get this error /usr/local/www/gnujsp/jsp__pants_2ejsp.java:6: Class DiceBean not found = in import. import DiceBean; ^ 1 error Should DiceBean be part of a package? I was just referencing it as one = class. The CLASSPATH of the webserver (Apache.conf) does include the location = of DiceBean. Should you store all classes that you create in another directory = besides the home directory of the www pages? Thanks, Drew Lister -----Original Message-----=20 From: Sean Kelly=20 Sent: Wed 3/7/2001 12:10 PM=20 To: Drew Lister; freebsd-java@FreeBSD.ORG=20 Cc:=20 Subject: Re: Trying to Create a simple Bean > DiceBean time =3D (DiceBean) Do you have the package for DiceBean imported in your <%@ page ... %> declaration? Is the class definition for DiceBean available to GNU JSP? In other words, does the CLASSPATH of the web server include the location of DiceBean? --k To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 7 16:11:45 2001 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (cx739861-a.dt1.sdca.home.com [24.5.164.61]) by hub.freebsd.org (Postfix) with ESMTP id 5FA6337B724 for ; Wed, 7 Mar 2001 16:11:41 -0800 (PST) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.22 #1 (Debian)) id 14ao1i-0001U3-00; Wed, 07 Mar 2001 16:11:30 -0800 Date: Wed, 7 Mar 2001 16:11:30 -0800 To: Greg Lewis Cc: "Daniel M. Eischen" , java@FreeBSD.ORG Subject: Re: Java and libc/libpthread Message-ID: <20010307161130.A4910@gnuppy> References: <3AA52622.CA33EBE2@vigrid.com> <20010308015558.B43890@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.15i In-Reply-To: <20010308015558.B43890@misty.eyesbeyond.com>; from glewis@eyesbeyond.com on Thu, Mar 08, 2001 at 01:55:58AM +1030 From: Bill Huey Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, Mar 08, 2001 at 01:55:58AM +1030, Greg Lewis wrote: > 3. As I've been tinkering with the the 1.3 code I've so far been > using the linuxthreads port to try and get native threads running > as that means our code stays very very similar to the code for > native threads under Linux. I haven't succeeded with this yet, > but I don't believe thats because it can't work (its just lack of > time to debug things so far). What ? Screw that. The LinuxThreads signal interaction with SIGCHLD, etc... within an ill concieved thread/signal semantics specification (aka Unix) is going to to be murder to deal with. I recommend doing it using the normal Solaris/Pthreads code instead. I also might be able to get our pthread library to the general FreeBSD community which might help with your port since we have it pretty well debugged for our (this) purposes. I haven't seen the FreeBSD pthreads userspace library so I can't comment on the benefits and draw backs of doing this ? What do you think ? > I guess to add to this, Bill Huey's port of 1.3 for BSDi uses their > libc_r equivalent as I understand it, so this may help our efforts > on that front. > > Greg Lewis Email : glewis@eyesbeyond.com bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 7 16:23:11 2001 Delivered-To: freebsd-java@freebsd.org Received: from pcnet1.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by hub.freebsd.org (Postfix) with ESMTP id BC29437B718 for ; Wed, 7 Mar 2001 16:23:08 -0800 (PST) (envelope-from eischen@vigrid.com) Received: (from eischen@localhost) by pcnet1.pcnet.com (8.8.7/PCNet) id TAA26665; Wed, 7 Mar 2001 19:22:35 -0500 (EST) Date: Wed, 7 Mar 2001 19:22:35 -0500 (EST) From: Daniel Eischen To: Bill Huey Cc: Greg Lewis , "Daniel M. Eischen" , java@FreeBSD.ORG Subject: Re: Java and libc/libpthread In-Reply-To: <20010307161130.A4910@gnuppy> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, 7 Mar 2001, Bill Huey wrote: > > On Thu, Mar 08, 2001 at 01:55:58AM +1030, Greg Lewis wrote: > > 3. As I've been tinkering with the the 1.3 code I've so far been > > using the linuxthreads port to try and get native threads running > > as that means our code stays very very similar to the code for > > native threads under Linux. I haven't succeeded with this yet, > > but I don't believe thats because it can't work (its just lack of > > time to debug things so far). > > What ? Screw that. The LinuxThreads signal interaction with SIGCHLD, > etc... within an ill concieved thread/signal semantics specification > (aka Unix) is going to to be murder to deal with. > > I recommend doing it using the normal Solaris/Pthreads code instead. FWIW, I don't see our libpthread from deviating too much from the POSIX spec. I would like it to be as compliant as possible, including the way signals are handled in a multi-threaded environment. I know that Linux remaps SIGCHLD to SIGUSR[1 or 2?], and I hope that would not be necessary for FreeBSD. > I also might be able to get our pthread library to the general FreeBSD > community which might help with your port since we have it pretty well > debugged for our (this) purposes. I haven't seen the FreeBSD pthreads > userspace library so I can't comment on the benefits and draw backs of > doing this ? What is BSDIs threading model? You mentioned SIGALRM-based threads earlier and to me that meant it was similar to our current libc_r (which uses SIGPROF now). -- Dan Eischen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 7 16:44:45 2001 Delivered-To: freebsd-java@freebsd.org Received: from pluto.senet.com.au (pluto.senet.com.au [203.56.239.150]) by hub.freebsd.org (Postfix) with ESMTP id 6924E37B719 for ; Wed, 7 Mar 2001 16:44:41 -0800 (PST) (envelope-from glewis@misty.eyesbeyond.com) Received: from misty.eyesbeyond.com (c27-fr-p2.senet.com.au [172.16.27.3]) by pluto.senet.com.au (8.11.0/8.11.0) with ESMTP id f280ibT24320; Thu, 8 Mar 2001 11:14:37 +1030 (CST) (envelope-from glewis@misty.eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.1/8.11.1) id f280iGi24327; Thu, 8 Mar 2001 11:14:16 +1030 (CST) (envelope-from glewis) Date: Thu, 8 Mar 2001 11:14:16 +1030 From: Greg Lewis To: Bill Huey Cc: Greg Lewis , "Daniel M. Eischen" , java@FreeBSD.ORG Subject: Re: Java and libc/libpthread Message-ID: <20010308111416.A24274@misty.eyesbeyond.com> References: <3AA52622.CA33EBE2@vigrid.com> <20010308015558.B43890@misty.eyesbeyond.com> <20010307161130.A4910@gnuppy> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010307161130.A4910@gnuppy>; from billh@gnuppy.monkey.org on Wed, Mar 07, 2001 at 04:11:30PM -0800 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Mar 07, 2001 at 04:11:30PM -0800, Bill Huey wrote: > On Thu, Mar 08, 2001 at 01:55:58AM +1030, Greg Lewis wrote: > > 3. As I've been tinkering with the the 1.3 code I've so far been > > using the linuxthreads port to try and get native threads running > > as that means our code stays very very similar to the code for > > native threads under Linux. I haven't succeeded with this yet, > > but I don't believe thats because it can't work (its just lack of > > time to debug things so far). > > What ? Screw that. The LinuxThreads signal interaction with SIGCHLD, > etc... within an ill concieved thread/signal semantics specification > (aka Unix) is going to to be murder to deal with. Well, off the top, I'll disclaim anything approaching thorough knowledge of the various thread implementations being discussed :). In terms of linuxthreads there were a number of reasons I chose that at the time: (a) I wasn't aware of your BSD/OS work. (b) I wanted to use something as close as possible to the implementations that came with the code, since I didn't have a lot of time to rework things. (c) I figured most of the issues would have been dealt with during the Linux port of the JDK. (d) Its (currently) the only mainstream kernel-based thread interface for FreeBSD. None of this means its the best choice now (or even was then :). > I recommend doing it using the normal Solaris/Pthreads code instead. > > I also might be able to get our pthread library to the general FreeBSD > community which might help with your port since we have it pretty well > debugged for our (this) purposes. I haven't seen the FreeBSD pthreads > userspace library so I can't comment on the benefits and draw backs of > doing this ? > > What do you think ? It sounds like the BSD/OS pthreads library is very similar to the current FreeBSD pthreads library, given Daniel's comments in a followup post. So I think the bulk of your work is probably applicable to a FreeBSD port. That probably means there is no need to move the BSD/OS pthreads library over to FreeBSD. Note that the 1.2.2 port also supports NetBSD and has started an attempt on OpenBSD too. We definitely want to keep this support for 1.3, since it increases the volunteer pool (and the bulk of the port is the same). I think that given your work and Daniel's post on a kernel based pthread implementation in the work that its a good idea to switch over to the FreeBSD pthreads interface. I think this will be the best overall fit with everyones goals. All IMO of course :). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Mobile: 0419 868 494 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 7 17:31: 7 2001 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (cx739861-a.dt1.sdca.home.com [24.5.164.61]) by hub.freebsd.org (Postfix) with ESMTP id D3F8237B719 for ; Wed, 7 Mar 2001 17:31:04 -0800 (PST) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.22 #1 (Debian)) id 14apGZ-0001zv-00; Wed, 07 Mar 2001 17:30:55 -0800 Date: Wed, 7 Mar 2001 17:30:55 -0800 To: Greg Lewis Cc: Bill Huey , "Daniel M. Eischen" , java@FreeBSD.ORG Subject: Re: Java and libc/libpthread Message-ID: <20010307173055.A7636@gnuppy> References: <3AA52622.CA33EBE2@vigrid.com> <20010308015558.B43890@misty.eyesbeyond.com> <20010307161130.A4910@gnuppy> <20010308111416.A24274@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.15i In-Reply-To: <20010308111416.A24274@misty.eyesbeyond.com>; from glewis@eyesbeyond.com on Thu, Mar 08, 2001 at 11:14:16AM +1030 From: Bill Huey Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, Mar 08, 2001 at 11:14:16AM +1030, Greg Lewis wrote: > (c) I figured most of the issues would have been dealt with during the > Linux port of the JDK. > (d) Its (currently) the only mainstream kernel-based thread interface for > FreeBSD. The Linux stuff is pretty complicated and raw. The need for a kernel based threading library (d ) is the most important point, because of the differences explained to me by Dan (private mail) with how both the kernel and user space threading deals with IO. It's up to you, but the KSE effort might get you kernel threading within the Posix Thread spec soon since Dan is monitoring this list. > It sounds like the BSD/OS pthreads library is very similar to the current > FreeBSD pthreads library, given Daniel's comments in a followup post. So > I think the bulk of your work is probably applicable to a FreeBSD port. > That probably means there is no need to move the BSD/OS pthreads library > over to FreeBSD. Note that the 1.2.2 port also supports NetBSD and has > started an attempt on OpenBSD too. We definitely want to keep this support > for 1.3, since it increases the volunteer pool (and the bulk of the port > is the same). Both port efforts would be practically unified if this happened. You'd be able to sync up to my changes in less than a week (1 day ?) and then you'd be headed to trying to get this stuff TCKed, since I got everything to compile succesfully monday morning. ;-) > I think that given your work and Daniel's post on a kernel based pthread > implementation in the work that its a good idea to switch over to the > FreeBSD pthreads interface. I think this will be the best overall fit > with everyones goals. > > All IMO of course :). It's up to you. I can mail you the diffs against the February 23rd sources and see if you like to use it. ;-) > Greg Lewis Email : glewis@eyesbeyond.com bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 7 19: 2:43 2001 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (cx739861-a.dt1.sdca.home.com [24.5.164.61]) by hub.freebsd.org (Postfix) with ESMTP id 50F2E37B719 for ; Wed, 7 Mar 2001 19:02:41 -0800 (PST) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.22 #1 (Debian)) id 14aqhI-0002kS-00; Wed, 07 Mar 2001 19:02:36 -0800 Date: Wed, 7 Mar 2001 19:02:36 -0800 To: Daniel Eischen Cc: Bill Huey , Greg Lewis , java@FreeBSD.ORG Subject: Re: Java and libc/libpthread Message-ID: <20010307190236.A10517@gnuppy> References: <20010307161130.A4910@gnuppy> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.15i In-Reply-To: ; from eischen@vigrid.com on Wed, Mar 07, 2001 at 07:22:35PM -0500 From: Bill Huey Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org It looks like my previous attempt a replying to this got botched. On Wed, Mar 07, 2001 at 07:22:35PM -0500, Daniel Eischen wrote: > FWIW, I don't see our libpthread from deviating too much from > the POSIX spec. I would like it to be as compliant as possible, > including the way signals are handled in a multi-threaded > environment. I know that Linux remaps SIGCHLD to SIGUSR[1 or 2?], > and I hope that would not be necessary for FreeBSD. Signals in the JVM are largely a technical side noted that is ignored so it's not a critical part of the JVM and can be largely ignored. Threading on the other hand is much more important. Condition variables, mutexes, etc.. are all used extensively in the JVM and they must work exactly as expected. > What is BSDIs threading model? You mentioned SIGALRM-based threads > earlier and to me that meant it was similar to our current libc_r > (which uses SIGPROF now). > > Dan Eischen The technical issues are exactly the same as any userspace threading library (shoving crap into poll(), etc...). I just looked our library last night and I'm setting up my old FreeBSD box (cvsup, etc..) so that I can look at the pthread stuff on your end and report back. ;-) bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 7 21:45:12 2001 Delivered-To: freebsd-java@freebsd.org Received: from avocet.prod.itd.earthlink.net (avocet.prod.itd.earthlink.net [207.217.121.50]) by hub.freebsd.org (Postfix) with ESMTP id 8689837B718 for ; Wed, 7 Mar 2001 21:45:10 -0800 (PST) (envelope-from cmca@cmcardle.net) Received: from [192.168.1.100] (dhcp043-10-151-24.nt01-c5.cpe.charter-ne.com [24.151.10.43]) by avocet.prod.itd.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id VAA06001 for ; Wed, 7 Mar 2001 21:45:09 -0800 (PST) X-Sender: cmca@cmcardle.net (Unverified) Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Thu, 8 Mar 2001 00:44:58 -0500 To: freebsd-java@freebsd.org From: "C. McArdle" Subject: free-bsd tutorial for java Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I'd like to see one! Thanks. Chris C. McArdle cmca@cmcardle.net 203.364.1611 v 203.364.1622 f 203.733.8434 c "First we shape our tools. Thereafter, they shape us." -- Marshall McLuhan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 8 1:30:36 2001 Delivered-To: freebsd-java@freebsd.org Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8]) by hub.freebsd.org (Postfix) with ESMTP id 3399437B718 for ; Thu, 8 Mar 2001 01:30:34 -0800 (PST) (envelope-from K.J.Koster@kpn.com) Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by research.kpn.com (PMDF V5.2-31 #42699) with ESMTP id <01K0Y8SZPZHS000IQM@research.kpn.com> for freebsd-java@FreeBSD.ORG; Thu, 8 Mar 2001 10:30:32 +0100 Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id ; Thu, 08 Mar 2001 10:30:31 +0100 Content-return: allowed Date: Thu, 08 Mar 2001 10:30:30 +0100 From: "Koster, K.J." Subject: RE: free-bsd tutorial for java To: "'C. McArdle'" Cc: freebsd-java@FreeBSD.ORG Message-id: <59063B5B4D98D311BC0D0001FA7E4522026D7C91@l04.research.kpn.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Dear Chris, > > I'd like to see one! > Umm. This is Java. Whatever works on a Sun also works on FreeBSD. :) The closest things to a FreeBSD-specific tutorial tells you how to do JSP and JDBC with Tomcat and MySQL on FreeBSD. http://kjkoster.org/java/index.jsp?page=content/packages.jsp I'd have a look at the Learning Center on http://developer.java.sun.com/. Kees Jan ================================================ You are only young once, but you can stay immature all your life. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 8 2: 7:24 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id 5212D37B719 for ; Thu, 8 Mar 2001 02:07:21 -0800 (PST) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.1/8.11.1) id f28A6Fw01363; Thu, 8 Mar 2001 11:06:15 +0100 (CET) (envelope-from ernst) Date: Thu, 8 Mar 2001 11:06:15 +0100 From: Ernst de Haan To: "C . McArdle" Cc: freebsd-java@FreeBSD.ORG Subject: Re: free-bsd tutorial for java Message-ID: <20010308110615.A1351@c187104187.telekabel.chello.nl> References: <59063B5B4D98D311BC0D0001FA7E4522026D7C91@l04.research.kpn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <59063B5B4D98D311BC0D0001FA7E4522026D7C91@l04.research.kpn.com>; from K.J.Koster@kpn.com on Thu, Mar 08, 2001 at 10:30:30AM +0100 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org And, if you would like to learn building J2EE applications, I suggest you try the Orion Primer, it includes instructions specifically for FreeBSD users: * http://jollem.com/orion-primer/ -- Ernst Koster, K.J. wrote: > Dear Chris, > > > > > I'd like to see one! > > > Umm. This is Java. Whatever works on a Sun also works on FreeBSD. :) > > The closest things to a FreeBSD-specific tutorial tells you how to do JSP > and JDBC with Tomcat and MySQL on FreeBSD. > > http://kjkoster.org/java/index.jsp?page=content/packages.jsp > > I'd have a look at the Learning Center on http://developer.java.sun.com/. > > Kees Jan > > ================================================ > You are only young once, > but you can stay immature all your life. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 8 4:37:13 2001 Delivered-To: freebsd-java@freebsd.org Received: from osku.suutari.iki.fi (osku.syncrontech.com [213.28.98.4]) by hub.freebsd.org (Postfix) with ESMTP id 8AA8737B718 for ; Thu, 8 Mar 2001 04:37:05 -0800 (PST) (envelope-from ari@suutari.iki.fi) Received: from coffee (adsl-nat.syncrontech.com [213.28.98.3]) by osku.suutari.iki.fi (8.9.3/8.9.3) with SMTP id OAA36835 for ; Thu, 8 Mar 2001 14:37:04 +0200 (EET) (envelope-from ari@suutari.iki.fi) Message-ID: <005a01c0a7cc$83622c30$0e05a8c0@coffee> From: "Ari Suutari" To: Subject: Linux jdk 1.3 and Hotspot works!? Date: Thu, 8 Mar 2001 14:37:18 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, Linux JDK 1.3.0_02 seems to work on FreeBSD 4.x-STABLE (cvsupped today). What is interesting is that also Hotspot, both client and server VM work. Sample runs of Linpack (modified so that test is run multiple times to allow JITs to do their work): All these runs were made on machine with 650 Mhz pentium. This is native FreeBSD jdk without JIT: pommac# /usr/local/jdk1.2.2/bin/java -cp . Linpack Mflops/s: 4.547 Time: 0.15 secs Norm Res: 1.33 Precision: 2.220446049250313E-16 Mflops/s: 4.488 Time: 0.15 secs Norm Res: 1.33 Precision: 2.220446049250313E-16 Mflops/s: 4.547 Time: 0.15 secs Norm Res: 1.33 Precision: 2.220446049250313E-16 Mflops/s: 4.547 Time: 0.15 secs Norm Res: 1.33 Precision: 2.220446049250313E-16 Mflops/s: 4.374 Time: 0.16 secs Norm Res: 1.33 Precision: 2.220446049250313E-16 This is native FreeBSD jdk with shujit: pommac# /usr/local/jdk1.2.2/bin/java -Djava.compiler=shujit -cp . Linpack shuJIT for Sun JVM/IA-32 Copyright 1998,1999,2000 by SHUDO Kazuyuki Mflops/s: 22.151 Time: 0.03 secs Norm Res: 1.43 Precision: 2.220446049250313E-16 Mflops/s: 27.467 Time: 0.03 secs Norm Res: 1.43 Precision: 2.220446049250313E-16 Mflops/s: 28.611 Time: 0.02 secs Norm Res: 1.43 Precision: 2.220446049250313E-16 Mflops/s: 28.611 Time: 0.02 secs Norm Res: 1.43 Precision: 2.220446049250313E-16 Mflops/s: 27.467 Time: 0.03 secs Norm Res: 1.43 Precision: 2.220446049250313E-16 This is linux jdk1.3, with JIT disabled: pommac# /usr/local/linux-jdk1.3.0/bin/java -Djava.compiler=none -cp . Linpack Mflops/s: 4.94 Time: 0.14 secs Norm Res: 1.43 Precision: 2.220446049250313E-16 Mflops/s: 4.94 Time: 0.14 secs Norm Res: 1.43 Precision: 2.220446049250313E-16 Mflops/s: 4.769 Time: 0.14 secs Norm Res: 1.43 Precision: 2.220446049250313E-16 Mflops/s: 4.87 Time: 0.14 secs Norm Res: 1.43 Precision: 2.220446049250313E-16 Mflops/s: 4.976 Time: 0.14 secs Norm Res: 1.43 Precision: 2.220446049250313E-16 This is linux jdk1.3 with Hotspot Client VM: (not bad!) pommac# /usr/local/linux-jdk1.3.0/bin/java -client -cp . Linpack Mflops/s: 31.212 Time: 0.02 secs Norm Res: 1.43 Precision: 2.220446049250313E-16 Mflops/s: 52.821 Time: 0.01 secs Norm Res: 1.43 Precision: 2.220446049250313E-16 Mflops/s: 76.296 Time: 0.01 secs Norm Res: 1.43 Precision: 2.220446049250313E-16 Mflops/s: 76.296 Time: 0.01 secs Norm Res: 1.43 Precision: 2.220446049250313E-16 Mflops/s: 85.833 Time: 0.01 secs Norm Res: 1.43 Precision: 2.220446049250313E-16 This is linux jdk1.3 with Hotspot Server VM: (not bad either!) pommac# /usr/local/linux-jdk1.3.0/bin/java -server -cp . Linpack Mflops/s: 6.077 Time: 0.11 secs Norm Res: 1.43 Precision: 2.220446049250313E-16 Mflops/s: 13.733 Time: 0.05 secs Norm Res: 1.43 Precision: 2.220446049250313E-16 Mflops/s: 98.095 Time: 0.01 secs Norm Res: 1.43 Precision: 2.220446049250313E-16 Mflops/s: 85.833 Time: 0.01 secs Norm Res: 1.43 Precision: 2.220446049250313E-16 Mflops/s: 98.095 Time: 0.01 secs Norm Res: 1.43 Precision: 2.220446049250313E-16 It seems that upgrade to -STABLE removed warning messages issued by hotspot. "native threads" seem to be emulated by processes, ps -axu shows on java process per thread when running threaded stuff (like Volano benchmark, which by the way doesn't show similar huge increase in speed). Ari S. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 8 6: 5: 2 2001 Delivered-To: freebsd-java@freebsd.org Received: from cafe.muraoka.info.waseda.ac.jp (cafe.muraoka.info.waseda.ac.jp [133.9.68.49]) by hub.freebsd.org (Postfix) with ESMTP id 018FF37B719 for ; Thu, 8 Mar 2001 06:04:57 -0800 (PST) (envelope-from shudoh@muraoka.info.waseda.ac.jp) Received: from muraoka.info.waseda.ac.jp (shudoh@localhost [127.0.0.1]) by cafe.muraoka.info.waseda.ac.jp (8.9.1a/3.7W) with ESMTP id XAA31970; Thu, 8 Mar 2001 23:03:14 +0900 Message-Id: <200103081403.XAA31970@cafe.muraoka.info.waseda.ac.jp> To: "Ari Suutari" Cc: freebsd-java@FreeBSD.ORG Subject: Re: Linux jdk 1.3 and Hotspot works!? In-reply-to: Your message of "Thu, 08 Mar 2001 14:37:18 +0200." <005a01c0a7cc$83622c30$0e05a8c0@coffee> Date: Thu, 08 Mar 2001 23:03:13 +0900 From: SHUDO Kazuyuki Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I have a web page which shows performance comparison of JIT compilers for Linux. You will be interested in this page: http://www.shudo.net/jit/perf/ I tested several benchmark suites including SPEC JVM98 and Linpack benchmark with many Java runtimes on Pentium III, K6-2 and Crusoe processors. Ari Suutari wrote: > Linux JDK 1.3.0_02 seems to work on FreeBSD 4.x-STABLE > (cvsupped today). What is interesting is that also Hotspot, both > client and server VM work. > > Sample runs of Linpack (modified so that test is run multiple > times to allow JITs to do their work): The Linpack benchmark you are using seems to solve a size 200 x 200 problem. A benchmark program with a larger (500 x 500) problem set is also available at the Linpack benchmark for Java page http://www.netlib.org/benchmark/linpackjava/ The larger problem set will show results that are closer to the peak performance because longer computation time hides JIT compilation time. Oppositely, smaller problem size tends to reflect JIT compilation time. Each of larger and smaller problem sets have their merits and demerits. > All these runs were made on machine with 650 Mhz pentium. > This is linux jdk1.3 with Hotspot Client VM: > (not bad!) > pommac# /usr/local/linux-jdk1.3.0/bin/java -client -cp . Linpack > Mflops/s: 85.833 Time: 0.01 secs Norm Res: 1.43 Precision: > 2.220446049250313E-16 In this case, the execution time (0.01 sec) is too short, then the result in Mflops is not very precise. Kazuyuki SHUDO Happy Hacking! Muraoka Lab., Grad. School of Sci. & Eng., Waseda Univ. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 8 6:26: 9 2001 Delivered-To: freebsd-java@freebsd.org Received: from osku.suutari.iki.fi (osku.syncrontech.com [213.28.98.4]) by hub.freebsd.org (Postfix) with ESMTP id 347C937B71A for ; Thu, 8 Mar 2001 06:26:00 -0800 (PST) (envelope-from ari@suutari.iki.fi) Received: from coffee (adsl-nat.syncrontech.com [213.28.98.3]) by osku.suutari.iki.fi (8.9.3/8.9.3) with SMTP id QAA36986; Thu, 8 Mar 2001 16:25:54 +0200 (EET) (envelope-from ari@suutari.iki.fi) Message-ID: <009e01c0a7db$b7c82ec0$0e05a8c0@coffee> From: "Ari Suutari" To: "SHUDO Kazuyuki" Cc: References: <200103081403.XAA31970@cafe.muraoka.info.waseda.ac.jp> Subject: Re: Linux jdk 1.3 and Hotspot works!? Date: Thu, 8 Mar 2001 16:26:06 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, > Hi, > > I have a web page which shows performance comparison of > JIT compilers for Linux. > You will be interested in this page: > http://www.shudo.net/jit/perf/ > > I tested several benchmark suites including SPEC JVM98 > and Linpack benchmark with many Java runtimes on Pentium > III, K6-2 and Crusoe processors. > I tried Linpack with 500x500 size and get very similar results to those on your web page (~4 for no jit or sunwjit and ~36 for Hotspot Server VM). I was, however, very surprised that I was able to run Linux JDK 1.3 and *HotSpot* on FreeBSD's emulator. I wasn't able to do that on 4.2-RELEASE. Ari S. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 8 6:36:24 2001 Delivered-To: freebsd-java@freebsd.org Received: from smtp2.knology.net (user-24-214-63-12.knology.net [24.214.63.12]) by hub.freebsd.org (Postfix) with SMTP id 1E91A37B718 for ; Thu, 8 Mar 2001 06:36:20 -0800 (PST) (envelope-from n4cnw@knology.net) Received: (qmail 451 invoked by uid 1003); 8 Mar 2001 14:38:45 -0000 Received: from user-24-214-88-73.knology.net (HELO n4cnw.dyndns.org) (24.214.88.73) by user-24-214-63-12.knology.net with SMTP; 8 Mar 2001 14:38:45 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Mike Murphree To: "C. McArdle" Subject: Re: free-bsd tutorial for java Date: Thu, 8 Mar 2001 08:36:18 -0600 X-Mailer: KMail [version 1.2] References: In-Reply-To: Cc: freebsd-java@freebsd.org MIME-Version: 1.0 Message-Id: <01030808361800.02079@n4cnw.dyndns.org> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Just found that BlueJ ( http://www.bluej.org ) works under the linux-jdk1.3.0 port! Mike On Wednesday 07 March 2001 11:44 pm, you wrote: > I'd like to see one! > > Thanks. > > Chris > > C. McArdle > > cmca@cmcardle.net > > 203.364.1611 v > 203.364.1622 f > 203.733.8434 c > > "First we shape our tools. Thereafter, they shape us." > > -- Marshall McLuhan > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 8 6:40:35 2001 Delivered-To: freebsd-java@freebsd.org Received: from smtp2.knology.net (user-24-214-63-12.knology.net [24.214.63.12]) by hub.freebsd.org (Postfix) with SMTP id 8334037B719 for ; Thu, 8 Mar 2001 06:40:33 -0800 (PST) (envelope-from n4cnw@knology.net) Received: (qmail 600 invoked by uid 1003); 8 Mar 2001 14:42:59 -0000 Received: from user-24-214-88-73.knology.net (HELO n4cnw.dyndns.org) (24.214.88.73) by user-24-214-63-12.knology.net with SMTP; 8 Mar 2001 14:42:59 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Mike Murphree To: freebsd-java@freebsd.org Subject: jdk1.2.2b10 build question Date: Thu, 8 Mar 2001 08:40:32 -0600 X-Mailer: KMail [version 1.2] MIME-Version: 1.0 Message-Id: <01030808403201.02079@n4cnw.dyndns.org> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Why does the jdk-1.2.2b10 port build jfc (aka swing) and then never registers it in the package system? Mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 8 8:37: 4 2001 Delivered-To: freebsd-java@freebsd.org Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8]) by hub.freebsd.org (Postfix) with ESMTP id E6B3C37B718 for ; Thu, 8 Mar 2001 08:36:57 -0800 (PST) (envelope-from K.J.Koster@kpn.com) Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by research.kpn.com (PMDF V5.2-31 #42699) with ESMTP id <01K0YNOOCXBC000EWZ@research.kpn.com> for freebsd-java@FreeBSD.ORG; Thu, 8 Mar 2001 17:36:56 +0100 Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id ; Thu, 08 Mar 2001 17:36:55 +0100 Content-return: allowed Date: Thu, 08 Mar 2001 17:36:53 +0100 From: "Koster, K.J." Subject: RE: jdk1.2.2b10 build question To: 'Mike Murphree' Cc: freebsd-java@FreeBSD.ORG Message-id: <59063B5B4D98D311BC0D0001FA7E4522026D7C96@l04.research.kpn.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Dear Mike, > > Why does the jdk-1.2.2b10 port build jfc (aka swing) and then > never registers it in the package system? > That's because the jdk 1.2.2 includes swing and it's not a separate package as it was in 1.1.8. The build process uses the JFC as part of its bootstrap, so that's why it's built. Kees Jan ================================================ You are only young once, but you can stay immature all your life. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 8 9: 4:25 2001 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id 9CBF437B71B for ; Thu, 8 Mar 2001 09:04:06 -0800 (PST) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id KAA19940; Thu, 8 Mar 2001 10:03:42 -0700 (MST) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id KAA06212; Thu, 8 Mar 2001 10:03:41 -0700 (MST) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15015.47981.314070.437981@nomad.yogotech.com> Date: Thu, 8 Mar 2001 10:03:41 -0700 (MST) To: David Xu Cc: Nate Williams , Daniel Eischen , java@FreeBSD.ORG Subject: Re: Re[2]: Java and libc/libpthread In-Reply-To: <732348376.20010307093306@viasoft.com.cn> References: <15013.10075.22410.630598@nomad.yogotech.com> <15013.11891.57267.160163@nomad.yogotech.com> <732348376.20010307093306@viasoft.com.cn> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > hope KSE will be implemented as soon as possible, it will let multiple > blocking I/O run in one process at same time. It sounds like usable KSE threads are a ways off, unfortunately. :( Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 8 9:36:58 2001 Delivered-To: freebsd-java@freebsd.org Received: from mail.sageian.com (ns.sage-consult.com [208.201.118.11]) by hub.freebsd.org (Postfix) with ESMTP id 673BB37B71A for ; Thu, 8 Mar 2001 09:36:55 -0800 (PST) (envelope-from rraykov@sage-consult.com) Received: from pricli012 (proxy.sageian.com [208.201.118.126]) by mail.sageian.com (Postfix) with SMTP id 4839B6A909 for ; Thu, 8 Mar 2001 12:36:54 -0500 (EST) Message-ID: <029501c0a7f6$94b1d650$4c00000a@sage> From: "Rossen Raykov" To: X-Mailer: Microsoft Outlook Express 5.50.4522.1200 Subject: TomCat 4 and scratchDir Date: Thu, 8 Mar 2001 12:38:13 -0500 X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi All, To someone know how to set the scratchDir used by jasper/tomcat 4 to some different location then the default "work"? I didn't find any documentation about that. I try some things with server.xml and web.xml but without success... I am interested also from an URL from which I can download jasper sources. Thanks, Rossen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 8 10:33:10 2001 Delivered-To: freebsd-java@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id B337C37B718 for ; Thu, 8 Mar 2001 10:33:06 -0800 (PST) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id NAA00517; Thu, 8 Mar 2001 13:33:04 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.2/8.9.1) id f28IWYh29373; Thu, 8 Mar 2001 13:32:34 -0500 (EST) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15015.53314.172236.351666@grasshopper.cs.duke.edu> Date: Thu, 8 Mar 2001 13:32:34 -0500 (EST) To: "Ari Suutari" Cc: Subject: Re: Linux jdk 1.3 and Hotspot works!? In-Reply-To: <005a01c0a7cc$83622c30$0e05a8c0@coffee> References: <005a01c0a7cc$83622c30$0e05a8c0@coffee> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Ari Suutari writes: > It seems that upgrade to -STABLE removed warning messages > issued by hotspot. Yes; Marcel and I fixed those problems with the Linux abi support a few months ago in FreeBSD-current and merged the changes back to -stable last month in time for the FreeBSD 4.3 release cycle: > "native threads" seem to be emulated by processes, > ps -axu > shows on java process per thread when running threaded stuff (like Volano > benchmark, > which by the way doesn't show similar huge increase in speed). > Just FYI, native threads on linux _are_ processes; they're very heavyweight and not terribly scalable, given how the linux scheduler works. FWIW, you should also be able to run the IBM JDK 1.3, which I think is faster than the Sun version. I'm running an older version of this and it works fine here. Lastly, Compaq's Linux JDK works on FreeBSD/alpha. Cheers, Drew ------------------------------------------------------------------------------ Andrew Gallatin, Sr Systems Programmer http://www.cs.duke.edu/~gallatin Duke University Email: gallatin@cs.duke.edu Department of Computer Science Phone: (919) 660-6590 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 8 10:33:26 2001 Delivered-To: freebsd-java@freebsd.org Received: from exchange1.crossoft.com (25.crcr3.xdsl.nauticom.net [209.195.166.90]) by hub.freebsd.org (Postfix) with ESMTP id B7E4C37B71C for ; Thu, 8 Mar 2001 10:33:18 -0800 (PST) (envelope-from dlister@crossoft.com) X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0 content-class: urn:content-classes:message Subject: RE: Trying to Create a simple Bean Date: Thu, 8 Mar 2001 13:33:26 -0500 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C0A7FE.43DB38E0" Message-ID: <9FD1AD5A8A0EB94B8B41ABC47563ED4B3B67@exchange1.crossoft.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: <9FD1AD5A8A0EB94B8B41ABC47563ED4B3B67@exchange1.crossoft.com> Thread-Topic: Trying to Create a simple Bean Thread-Index: AcCnYfK0mH1+CNYUSeyPG6Mx7/ovCAAm61qB From: "Drew Lister" To: "Joe Shevland" , "Sean Kelly" , Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. ------_=_NextPart_001_01C0A7FE.43DB38E0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable I got my simple Bean to work. Thanks to Sean and Joe for their help on this issue! =20 Two other questions though. Hopefully these aren't too elementary. =20 =20 1. Is there a Tomcat installation for BSD? 2. I was working with a page.jsp and I keep getting a "Internal Server Error", even after I remove the page. Does JServ have some kind of caching? =20 Thanks, Drew Lister -----Original Message-----=20 From: Joe Shevland=20 Sent: Wed 3/7/2001 6:56 PM=20 To: Drew Lister; Sean Kelly; freebsd-java@FreeBSD.ORG=20 Cc:=20 Subject: RE: Trying to Create a simple Bean =09 =09 Hi Drew, =09 JServ cannot find the class file for your DiceBean class. =09 Its been a while since I've used JServ (Tomcat is a much better alternative). If DiceBean is not associated with a package (e.g. no package com.foo.bar in Java source) then it should be fine to compile DiceBean.class and then place a reference to its directory or JAR file in (I think) jserv.properties as this is where the CLASSPATH is set up. =09 I would keep your class files for a particular web app in both i) a structured package format and ii) a JAR file, just for namespace cleanliness. =09 Tomcat makes things a lot easier in terms of class loading too, you can just whompf all your class files into /WEB-INF/classes or JAR's into /WEB-INF/lib. =09 Regards, Joe =09 -----Original Message----- From: Drew Lister [ mailto:owner-freebsd-java@FreeBSD.ORG]On Behalf Of Drew Lister Sent: Thursday, March 08, 2001 4:56 AM To: Sean Kelly; freebsd-java@FreeBSD.ORG Subject: RE: Trying to Create a simple Bean =09 =09 When I put the line in : <%@page import=3D"DiceBean" %> I get this error =09 /usr/local/www/gnujsp/jsp__pants_2ejsp.java:6: Class DiceBean not found in import. import DiceBean; ^ 1 error =09 Should DiceBean be part of a package? I was just referencing it as one class. The CLASSPATH of the webserver (Apache.conf) does include the location of DiceBean. =09 Should you store all classes that you create in another directory besides the home directory of the www pages? =09 Thanks, =09 Drew Lister -----Original Message----- From: Sean Kelly Sent: Wed 3/7/2001 12:10 PM To: Drew Lister; freebsd-java@FreeBSD.ORG Cc: Subject: Re: Trying to Create a simple Bean =09 =09 > DiceBean time =3D (DiceBean) =09 Do you have the package for DiceBean imported in your <%@ page ... %> declaration? =09 Is the class definition for DiceBean available to GNU JSP? In other words, does the CLASSPATH of the web server include the location of DiceBean? =09 --k =09 =09 ------_=_NextPart_001_01C0A7FE.43DB38E0 Content-Type: application/ms-tnef; name="winmail.dat" Content-Transfer-Encoding: base64 eJ8+IhwSAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEEgAEAIwAAAFJFOiBUcnlpbmcgdG8gQ3Jl YXRlIGEgc2ltcGxlIEJlYW4ApgsBBYADAA4AAADRBwMACAANACEAGgAEAC8BASCAAwAOAAAA0QcD AAgADQAhABoABAAvAQEJgAEAIQAAADk5NzMwN0EyM0Y1MjA4NEM4MDVBMkRENTY5MzQxNkI1APYG AQOQBgBEFAAANgAAAAMANgAAAAAAQAA5AOA420P+p8ABHgA9AAEAAAAFAAAAUkU6IAAAAAACAUcA AQAAADIAAABjPXVzO2E9IDtwPUNyb3Nzb2Z0O2w9RVhDSEFOR0UxLTAxMDMwODE4MzMyNlotMzY0 AAAAHgBJAAEAAAAjAAAAUkU6IFRyeWluZyB0byBDcmVhdGUgYSBzaW1wbGUgQmVhbgAAQABOAAC6 0kdip8ABHgBaAAEAAAANAAAASm9lIFNoZXZsYW5kAAAAAAIBWwABAAAAPwAAAAAAAACBKx+kvqMQ GZ1uAN0BD1QCAAAAAEpvZSBTaGV2bGFuZABTTVRQAHNoZXZsYW5kakBrcGkuY29tLmF1AAACAVwA AQAAABoAAABTTVRQOlNIRVZMQU5ESkBLUEkuQ09NLkFVAAAAHgBdAAEAAAANAAAASm9lIFNoZXZs YW5kAAAAAAIBXgABAAAAPwAAAAAAAACBKx+kvqMQGZ1uAN0BD1QCAAAAAEpvZSBTaGV2bGFuZABT TVRQAHNoZXZsYW5kakBrcGkuY29tLmF1AAACAV8AAQAAABoAAABTTVRQOlNIRVZMQU5ESkBLUEku Q09NLkFVAAAAHgBmAAEAAAAFAAAAU01UUAAAAAAeAGcAAQAAABUAAABzaGV2bGFuZGpAa3BpLmNv bS5hdQAAAAAeAGgAAQAAAAUAAABTTVRQAAAAAB4AaQABAAAAFQAAAHNoZXZsYW5kakBrcGkuY29t LmF1AAAAAB4AcAABAAAAHwAAAFRyeWluZyB0byBDcmVhdGUgYSBzaW1wbGUgQmVhbgAAAgFxAAEA AAAbAAAAAcCnYfK0mH1+CNYUSeyPG6Mx7/ovCAAm61qBAB4AdAABAAAAMgAAAERyZXcgTGlzdGVy OyBTZWFuIEtlbGx5OyBmcmVlYnNkLWphdmFARnJlZUJTRC5PUkcAAAAeABoMAQAAAAwAAABEcmV3 IExpc3RlcgAeAB0OAQAAAB8AAABUcnlpbmcgdG8gQ3JlYXRlIGEgc2ltcGxlIEJlYW4AAAIBCRAB AAAAqA0AAKQNAAAzMQAATFpGdTLhOAIDAAoAcmNwZzEyNYIyA0NodG1sMQMwPwEDAfcKgAKkA+MC AGNowQrAc2V0MCAHEwKA/xADAFAEVghVB7IR1Q5RAwHdENcyBgAGwxHVMwRGENlvEusR4wjvCfc7 GM8OMDU7EdIMYGMAUAsJAWQzNpMRYAulNCAQAipcDrK9AZBnFPAKoxHjHeg0FPAAPCFET0NUWVAA RSBIVE1MIFAAVUJMSUMgIi0gLy9XM0MhgERUIkQglDMuMiGARU6cIj4e7R6PI8ExOB/wbyCiIw8k HyaQMx2AJXBFfEFEJc0O8SbvKW8k9DZBDvA8TUVUQQewQTEsYD0iRwnwBJBhdEUFsCIS0E9OVCLQ VBMs8AXhRXgQ8W5nZT0GUnYTMS9BAJACICA2gC4wLjQ0MTcwECci/irPJQM3Nx/wVEk4VExFJc4w UAfwRTqQIFRyeQuAZyAtcE8S0BjQLWAu8GEgAJBtqwtQLvBCNcBuJG41H/D+LzNPMX8mRTSROAAo TyafBTvUNRFgPEJPRFmgIGRpcj078HI7QM87swAhAzA+UWRvAOA+UfkKsVxxGLA+URDwAzA+tY8R YDtrHPE8b2c5Nh/weERJVj6JAABAxzuJNoY0Q/9BEkkgZ28FQCxteTYqNWJ3BbBrLgU7azgdgCZu YnNw8wKAPqgnYQFAQMc08C6xPmsEIDVxBmADkQBwZCAcSm8u8AIQBcB0aGXlPiAgTeBscB2cHYBC RLcv0U3QBAAgBAEKUCE7ib8BwD6XCqI+lwpxJHwwKBH/IeBDy1JYQU9CX0NvRH9Fj/9Y+0k/Sk9L WlC/Uc9S31Pvf1T/Vg9XH1gvXj9aT2NXVF1I4CBHkE3gBcBxClBzlnQvwUxxaAhgZ2hJLyNc70tM SG9wARB1bD5sR9BN0REwNgAY0G4nvwVALXA1gE6PZPJOQGUHgPsCMArAeWufbK9LTF7PX9//YO9h /2MPZB9lL2Y/Z09oX/95z3LPc99ej3YPdx94L3k/v3pPe198b31/fo+LizFyP7uBb0tMSWsSBJA1 8lQDcP5jLWBQQACAAZBu8C1gL8LhTZJCU0Q/g0+EX4Vv/4Z/h4+In4mvir+Lz4zfmIfeMo6Pj5+Q rUjQYQQgSOI/NTID8E3QNgEKsC7gLmr3oHBNA0dgawngTmAu4AJA8zUyNhAiSQIwBJEHQHA/M5oT LxVFcgNgLZAsIP5lL0BM8QGAEzFHYBjQBGC/L0BNwqN0n0+gX0tbRE1grQQgSi8STiBhqVFzA3D3 LvCiwU0wbz8Qpg+aIpJg/xDwNTGT75T/lg+XH5gvmT//mk+bX5xvnX+1L6qPq5+C//+xb7J/s4+0 n7Wvtr+3z7jf97nvaR1MMyy+v7/PwN/B7//C/8QPxR/GL87vJPQOID2hflI+igqxCoHHP8hP0tdE +xjQB+BMBAClkcpfy2/Mf1/Nj86fz6/Qvz2wTCAwSzhRVU8t8D4GNiB0eQM2cC4xQVJHSU4tGFJJ RyCgNOAwcHj/IvHUzQAAP7VAU0ARQK/er/8fG0vx33/Rv9W/1s/lmD8w1mkc0iR8NCVRRi3RNiG6 euIQMuoLC+LliS3xglpPBRBnC4Cl0U0HkHP/o5Hxg9Ne4HLUm+2QLTDVmle73j2w6gti5YlGA2E6 u+jMH+Ev90rdmU1DU03g/nYLYE0hrt/nT7yh6J70D//1H/Yv9z8BiAZgD7D5L/o/jUuXVwmAInAv Ny8MACIwOsA2OjXpoFBNv/MvAC8BPwJPA19phm8FH9cGL6x42Ig7TLRLTkBvAG8SQPyv/b/+xGYZ MbzwZOQtaq3AYUD44BlAk7H8Lk/iYAkPCh8LLww/DU/5GcVDYw7vD/9Llxc/GE8PGV8abxt/BHV1 Ympl/mMFDx4PS4g0zBMvFD/+xP81rzaxH78gzyHfLV8uby9//zdWCLEm4O8SJx++b9nv2v9/3A80 z+YfKl/oP+vFJtBQf+Nv7OnsX+1v7n/vj/CdSPpp2GMsMC8xPzJPRm9Hf+fVqa1UsCBubmowk2Cu Yn2pgmP8UPKATPEssZNyeR9rUGpwKW88L/7ERGlj/xagEnJNk6oMSg9LH0kvU0/pVF1JdJGQYhaQ qHGiQLewUCyxQ5BuUXCRcCepUe51b2D8gK1UKJI2kZClQOdO30/v/sRtdbBAVU9WX/9UbFiApOBq YZLgpZNq0KeA/CkukXCusFFXWzFMwk2x6G9jaSwRZF5PX19UbHmjF2Nro5Fbf1yP/rUoXaOwZ2Jw TMBnx2OSQC7xk3BvLmJpYfIQrUAWMfet8U6gUXApZG9lf1RskbHTYzGSgHNoTpBs/IBYgL9M8qlh KU9pT/6ma+FwTgL9UVYuTZT8YnCSbZ9ur1Rs7yygsDCR8haAZpHRWXJyAd+jIJGQ4VEloafwea6Q 4bB+SuJQci9zPxU2TgJsoSj3pFCRsPIQa22Pd69UXaPQ6adhLnCn4HCloKTwrSF/omF/cZGQWzFY 8JHSqYJDAExBU1NQQVRIP1siWhCSgHxPfV/+xHVw/1I/gN9UX4kfii9Xi6KBcUJ/pHNOg02YTdGT gaNig4Fj23FAh1F3FdClMHCj8PIQ/4v/jQ9gbUzQo0CGT4df/sTcaSksQuGgXhB0TqAH0dtn1pDR bVsB/GJpmFN8AutN8qggaloAdJKPk5+LHP+Q0qXAriC9AHnCld+W73RV/+IA/GCK8lIfnK+dv6Lv o/9/pQxaxZoAj3CD8ykAW0Jsv0zRLABDkGGBbKFhcW2D8L+uoU2Un6+gv/7EqkBh4VD/KQCl76b/ b71sMJtgToFMgv+bc1jhdMFioGGw5XCPz6wf960vl/UE8G+vD7AfpQ+8DEs88L0pPLoIV0G6r2cF u8o+uggvV0VCLbnigEYvTZODsXvUJ4RB/7dxtN+17/6/u0+8X71vvn/7v41BwGKi37ivub/Kj8uf kdWaUmVn1XBkc0Yv/85vS0774NDv0f/Mj9RP1V//1mnxjMHfwu/D9PJq1x/YL6fWPPjjEYogWyK/ QdvU5QegaHohPSKaAE4AwaDIOm931jByLRWvFrVeIuoK8NBNABLAZDyCZgdxUPIQEgB7SFlQReRS TMAwSyDkX+Vv5nNMfX1EoXFQcnM88FzwY2YxXHFA8Nnpb+p/XxbxOd9ASjpvJkpB33Bdvk9RwNr/ 3A/D9CzgaGGw/WKgT2KhEajeP99P1jwE000OsGhOoO6wYXmbYE1jbHBeICAwOJtgCEM0+QiiQU33 z/jfqA7hcBJj//P/9Q/D9BK17m8Wtf0v/j//+e0ldSh9K+4AvwHP9hYtD/8GH9YfDW8Ofw+PEJ8R r8ZJ83Cif1BwdVsQhPISUmySz+Fwxw/FbxLlJUALkGgh2yyBmeB05EBRViIKjwuf/cPlJRfvyB8S 7xP/FQ+OtP9oIBbiWzEcDx0fw/Rh4INAv/e/Ii8SbyfPKN8p6i9aAE5yyhBj8GGwL3cuUC9IZ251 gtBwLy7BX4ZfJdD64HNfMmUuwdIu6rI6NhfAQ02jUVf/TMIk3yXvfmVOkJpSYzEa89/KXyuvKb0a 5GK3OzVPNl8rKc8YHG4D4HAZGVwn/GEwO688vz3PPt8/70D//0IPQx9EL0U/Rk9HX0hvSX/vKoAx vzLPw+VeOU86Xzts//yQJ19Q71H/Ko9UjwcvcSTfYsdxgZEyq3Jntz9Kr0u//0zLjvGD4bLTTZ9O r8P0eib3CSJw4YPhb3HRtCM1P1eff/8+hQurgYTykeGC4qrBKN5Bn1GFAHWwYyBmmGBfjztgn8P0 ZNPwwWK0IHVk/4TULfKDkGMgq3J1N2PPZN//Vb9ur2+/WO+yQ5igmeB54f+zocB2aZ9qr8P0laCp IbJT/wmkNKGaQJWRqsGuwOYQCHD9meB5WoGqoGywg/IJ4LMx/wngenhnpi5Qdj93T8PlGpL+c1vc ck9zX3FvgV9l35pA/mvQz4RPgl+G34fviPv3H/+KL4s/2Z/ar34/3M/d344v/48/4QcAYwMzlJ+V r/nvCIGEV2U0gDMvNy/8Y9AxMjoxiaBQ/R+Zn///P+F1kV+Sb8P04eQDjwSfx53Pnt+JZENjOqVf pm/7B08IVWUI3wnioN+h78P0/wolDR+pX6pvib+xv7LPs9//tO+1/x7vH/+5n1zfSc+8f/+9j76f v6/Av8HPwt9dzzD3u21ge/E9rX+uj3+FKDD2/im2v7fPuN/ML80/jBqs0P95EvaQaHB7g1tlo8BT cDDo/xrknADO/9APN200sHkRyfD/yN/J73+UxO8Y/xoHW1Easf4u3dAaYNrPus9NFmywY2H+cm1T gE/Vz84P4a/ivyNr93t0Y2PgsWbjkGLAbXLTe5/YT9lff5Tu8e2wYWIKYA/kj+Wf46yswUdOVSB+ SmdAW9/F7139bZF6I3f9U3BkhqB6YGwie5JnB+zv/+3/46xnpenf6u/aZGgRChD/aFRsb21y+R/6 Imeg9a/2v/+L7VoV4X8AD+OfAr8Dz4+8/msFnwavBL8I/woPCx8MJoI1DLEvRk9OVA0J/w0XC6Dc FvoCEOgOCPnzDg9p+WY3Mg/BUA0AC8wwAx4wD9BCTE9DS1GwVU9URRA/FF9nEXEn+h8Z7/mTNTgW 8k9EXlkV3RWAG28d8TcPwUgoVE1MDQB9ICAeADUQAQAAAD4AAAA8OUZEMUFENUE4QTBFQjk0QjhC NDFBQkM0NzU2M0VENEIzQjY3QGV4Y2hhbmdlMS5jcm9zc29mdC5jb20+AAAAHgBHEAEAAAAPAAAA bWVzc2FnZS9yZmM4MjIAAAsA8hABAAAAHwDzEAEAAABSAAAAUgBFACUAMwBBACAAVAByAHkAaQBu AGcAIAB0AG8AIABDAHIAZQBhAHQAZQAgAGEAIABzAGkAbQBwAGwAZQAgAEIAZQBhAG4ALgBFAE0A TAAAAAAACwD2EAAAAABAAAcwYAkdoP2nwAFAAAgw0NziQ/6nwAEDAN4/5AQAAAMA8T8AAAAAHgD4 PwEAAAAMAAAARHJldyBMaXN0ZXIAAgH5PwEAAABfAAAAAAAAANynQMjAQhAatLkIACsv4YIBAAAA AAAAAC9PPUNST1NTT0ZUL09VPUZJUlNUIEFETUlOSVNUUkFUSVZFIEdST1VQL0NOPVJFQ0lQSUVO VFMvQ049RExJU1RFUgAAHgD6PwEAAAAVAAAAU3lzdGVtIEFkbWluaXN0cmF0b3IAAAAAAgH7PwEA AAAeAAAAAAAAANynQMjAQhAatLkIACsv4YIBAAAAAAAAAC4AAAADAP0/5AQAAAMAGUAAAAAAAwAa QAAAAAADAB1AAAAAAAMAHkAAAAAAHgAwQAEAAAAIAAAARExJU1RFUgAeADFAAQAAAAgAAABETElT VEVSAB4AMkABAAAAFQAAAHNoZXZsYW5kakBrcGkuY29tLmF1AAAAAB4AM0ABAAAAFQAAAHNoZXZs YW5kakBrcGkuY29tLmF1AAAAAB4AOEABAAAACAAAAERMSVNURVIAHgA5QAEAAAACAAAALgAAAAsA KQAAAAAACwAjAAAAAAADAAYQu2YKwgMABxCrBwAAAwAQEAAAAAADABEQAAAAAB4ACBABAAAAZQAA AElHT1RNWVNJTVBMRUJFQU5UT1dPUktUSEFOS1NUT1NFQU5BTkRKT0VGT1JUSEVJUkhFTFBPTlRI SVNJU1NVRVRXT09USEVSUVVFU1RJT05TVEhPVUdISE9QRUZVTExZVEhFU0UAAAAAAgF/AAEAAAA+ AAAAPDlGRDFBRDVBOEEwRUI5NEI4QjQxQUJDNDc1NjNFRDRCM0I2N0BleGNoYW5nZTEuY3Jvc3Nv ZnQuY29tPgAAAByl ------_=_NextPart_001_01C0A7FE.43DB38E0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 8 10:35:50 2001 Delivered-To: freebsd-java@freebsd.org Received: from exch01.projectseneca.com (w186.z208036141.was-dc.dsl.cnc.net [208.36.141.186]) by hub.freebsd.org (Postfix) with ESMTP id 9014137B718 for ; Thu, 8 Mar 2001 10:35:48 -0800 (PST) (envelope-from brian@parabon.com) Received: from parabon.com (limestone.projectseneca.com [192.168.0.105]) by exch01.projectseneca.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id F6A1G6JB; Thu, 8 Mar 2001 13:35:47 -0500 Message-ID: <3AA7D102.E792EB7B@parabon.com> Date: Thu, 08 Mar 2001 13:35:46 -0500 From: "Brian J. Sletten" Organization: Parabon Computation, Inc. X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Andrew Gallatin , freebsd-java@freebsd.org Subject: Re: Linux jdk 1.3 and Hotspot works!? References: <005a01c0a7cc$83622c30$0e05a8c0@coffee> <15015.53314.172236.351666@grasshopper.cs.duke.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hot damn, it is now working for me as well! Thanks Andrew and Marcel! -- A good listener is not only popular everywhere, but after a while he knows something. -- Wilson Mizner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 8 11: 5:46 2001 Delivered-To: freebsd-java@freebsd.org Received: from calliope.cs.brandeis.edu (calliope.cs.brandeis.edu [129.64.3.189]) by hub.freebsd.org (Postfix) with ESMTP id CF57037B719 for ; Thu, 8 Mar 2001 11:05:42 -0800 (PST) (envelope-from meshko@calliope.cs.brandeis.edu) Received: from localhost (meshko@localhost) by calliope.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id OAA07761; Thu, 8 Mar 2001 14:05:34 -0500 Date: Thu, 8 Mar 2001 14:05:34 -0500 (EST) From: Mikhail Kruk To: Andrew Gallatin Cc: Ari Suutari , Subject: Re: Linux jdk 1.3 and Hotspot works!? In-Reply-To: <15015.53314.172236.351666@grasshopper.cs.duke.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I'll be rebuilding and testing IBM JDK later today. If it works I think we all owe somebody lots of beer... On Thu, 8 Mar 2001, Andrew Gallatin wrote: > > Ari Suutari writes: > > It seems that upgrade to -STABLE removed warning messages > > issued by hotspot. > > Yes; Marcel and I fixed those problems with the Linux abi support a few > months ago in FreeBSD-current and merged the changes back to -stable > last month in time for the FreeBSD 4.3 release cycle: > > > "native threads" seem to be emulated by processes, > > ps -axu > > shows on java process per thread when running threaded stuff (like Volano > > benchmark, > > which by the way doesn't show similar huge increase in speed). > > > > Just FYI, native threads on linux _are_ processes; they're very > heavyweight and not terribly scalable, given how the linux scheduler > works. > > FWIW, you should also be able to run the IBM JDK 1.3, which I think is > faster than the Sun version. I'm running an older version of this and > it works fine here. > > Lastly, Compaq's Linux JDK works on FreeBSD/alpha. > > Cheers, > > Drew > > ------------------------------------------------------------------------------ > Andrew Gallatin, Sr Systems Programmer http://www.cs.duke.edu/~gallatin > Duke University Email: gallatin@cs.duke.edu > Department of Computer Science Phone: (919) 660-6590 > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 8 11:14:29 2001 Delivered-To: freebsd-java@freebsd.org Received: from crewsoft.com (ns.aenet.net [157.22.214.1]) by hub.freebsd.org (Postfix) with ESMTP id 42B5D37B71A for ; Thu, 8 Mar 2001 11:14:26 -0800 (PST) (envelope-from cedric@wireless-networks.com) Received: from [172.17.1.25] (account cberger@wireless-networks.com HELO wireless-networks.com) by crewsoft.com (CommuniGate Pro SMTP 3.4b8) with ESMTP id 520211; Thu, 08 Mar 2001 11:17:16 -0800 Message-ID: <3AA7D9F9.A7E662C@wireless-networks.com> Date: Thu, 08 Mar 2001 11:14:01 -0800 From: Cedric Berger X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Rossen Raykov Cc: freebsd-java@FreeBSD.ORG Subject: Re: TomCat 4 and scratchDir References: <029501c0a7f6$94b1d650$4c00000a@sage> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Rossen Raykov wrote: > Hi All, > > To someone know how to set the scratchDir used by jasper/tomcat 4 to some > different location then the default "work"? Maybee a symbolic link? Cedric To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 8 11:20: 7 2001 Delivered-To: freebsd-java@freebsd.org Received: from smtp1.knology.net (user-24-214-63-11.knology.net [24.214.63.11]) by hub.freebsd.org (Postfix) with SMTP id CEFA837B719 for ; Thu, 8 Mar 2001 11:20:00 -0800 (PST) (envelope-from n4cnw@knology.net) Received: (qmail 8851 invoked by uid 1003); 8 Mar 2001 19:14:48 -0000 Received: from user-24-214-88-73.knology.net (HELO n4cnw.dyndns.org) (24.214.88.73) by user-24-214-63-11.knology.net with SMTP; 8 Mar 2001 19:14:48 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Mike Murphree To: Andrew Gallatin Subject: Re: Linux jdk 1.3 and Hotspot works!? Date: Thu, 8 Mar 2001 13:19:59 -0600 X-Mailer: KMail [version 1.2] References: <005a01c0a7cc$83622c30$0e05a8c0@coffee> <15015.53314.172236.351666@grasshopper.cs.duke.edu> In-Reply-To: <15015.53314.172236.351666@grasshopper.cs.duke.edu> Cc: freebsd-java@freebsd.org MIME-Version: 1.0 Message-Id: <01030813195902.02349@n4cnw.dyndns.org> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org FWIW, I ran a Java app under the Linux JDK 1.3.0 earlier and it didn't crash, but it generated a console error message about a "troublesome thread" and about brought the machine to its knees. I tried killing processes, but system response was awful, and told it to shutdown. Shutdown took over 5 minutes on an 850 MHz Athlon. Mike On Thursday 08 March 2001 12:32 pm, you wrote: > Ari Suutari writes: > > It seems that upgrade to -STABLE removed warning messages > > issued by hotspot. > > Yes; Marcel and I fixed those problems with the Linux abi support a few > months ago in FreeBSD-current and merged the changes back to -stable > > last month in time for the FreeBSD 4.3 release cycle: > > "native threads" seem to be emulated by > > processes, ps -axu > > shows on java process per thread when running threaded stuff (like > > Volano benchmark, > > which by the way doesn't show similar huge increase in speed). > > Just FYI, native threads on linux _are_ processes; they're very > heavyweight and not terribly scalable, given how the linux scheduler > works. > > FWIW, you should also be able to run the IBM JDK 1.3, which I think is > faster than the Sun version. I'm running an older version of this and > it works fine here. > > Lastly, Compaq's Linux JDK works on FreeBSD/alpha. > > Cheers, > > Drew > > --------------------------------------------------------------------------- >--- Andrew Gallatin, Sr Systems Programmer http://www.cs.duke.edu/~gallatin > Duke University Email: gallatin@cs.duke.edu > Department of Computer Science Phone: (919) 660-6590 > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 8 12:11:32 2001 Delivered-To: freebsd-java@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 18B3737B719 for ; Thu, 8 Mar 2001 12:11:29 -0800 (PST) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id PAA02883; Thu, 8 Mar 2001 15:11:27 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.2/8.9.1) id f28KAv429919; Thu, 8 Mar 2001 15:10:57 -0500 (EST) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15015.59217.818591.300168@grasshopper.cs.duke.edu> Date: Thu, 8 Mar 2001 15:10:57 -0500 (EST) To: Mike Murphree Cc: freebsd-java@freebsd.org Subject: Re: Linux jdk 1.3 and Hotspot works!? In-Reply-To: <01030813195902.02349@n4cnw.dyndns.org> References: <005a01c0a7cc$83622c30$0e05a8c0@coffee> <15015.53314.172236.351666@grasshopper.cs.duke.edu> <01030813195902.02349@n4cnw.dyndns.org> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Mike Murphree writes: > > FWIW, I ran a Java app under the Linux JDK 1.3.0 earlier and > it didn't crash, but it generated a console error message about > a "troublesome thread" and about brought the machine to its > knees. I tried killing processes, but system response was awful, > and told it to shutdown. Shutdown took over 5 minutes on an > 850 MHz Athlon. > Do you have that console message, by any chance (look in /var/log/messages*) Something like this is difficult to diagnose from your description. Drew ------------------------------------------------------------------------------ Andrew Gallatin, Sr Systems Programmer http://www.cs.duke.edu/~gallatin Duke University Email: gallatin@cs.duke.edu Department of Computer Science Phone: (919) 660-6590 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 8 13:15:33 2001 Delivered-To: freebsd-java@freebsd.org Received: from www.kpi.com.au (www.kpi.com.au [203.39.132.210]) by hub.freebsd.org (Postfix) with ESMTP id 663C337B71A for ; Thu, 8 Mar 2001 13:15:27 -0800 (PST) (envelope-from shevlandj@kpi.com.au) Received: from BLACKHAWK (pA21.hbt.southcom.com.au [203.60.23.34]) by www.kpi.com.au (8.9.3/8.9.3) with SMTP id IAA26377; Fri, 9 Mar 2001 08:14:31 +1100 (EST) (envelope-from shevlandj@kpi.com.au) From: "Joe Shevland" To: "Drew Lister" , "Sean Kelly" , Subject: RE: Trying to Create a simple Bean Date: Fri, 9 Mar 2001 08:17:24 +1100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 In-Reply-To: <9FD1AD5A8A0EB94B8B41ABC47563ED4B3B67@exchange1.crossoft.com> Importance: Normal Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org i) Tomcat works fine under BSD, there's no specific port for = Apache/Tomcat or anything like that though I don't believe. I'm using a = bundle of Apache/mod_ssl/Tomcat (and PostgreSQL for the db of course) = which is proving very stable. ii) JServ (and Tomcat and all JSP's engines AFAIK) will compile a page = into a servlet and use the servlet until such time as the JSP is = modified again, so you're test page has been compiled and the engine = will use this. To make totally sure I know things are refreshed in a dev = environment, I usually stop Tomcat, clear the work directory and = restart. Tomcat in one of its later versions may support dynamic registering and = unregistering of webapps and/or servlets on the fly, not sure but would = be a nice feature. Cheers, Joe -----Original Message----- From: Drew Lister [mailto:dlister@crossoft.com] Sent: Friday, March 09, 2001 5:33 AM To: Joe Shevland; Sean Kelly; freebsd-java@FreeBSD.ORG Subject: RE: Trying to Create a simple Bean I got my simple Bean to work. Thanks to Sean and Joe for their help on = this issue! Two other questions though. Hopefully these aren't too elementary. =20 1. Is there a Tomcat installation for BSD? 2. I was working with a page.jsp and I keep getting a "Internal Server = Error", even after I remove the page. Does JServ have some kind of = caching? Thanks, Drew Lister -----Original Message-----=20 From: Joe Shevland=20 Sent: Wed 3/7/2001 6:56 PM=20 To: Drew Lister; Sean Kelly; freebsd-java@FreeBSD.ORG=20 Cc:=20 Subject: RE: Trying to Create a simple Bean Hi Drew, JServ cannot find the class file for your DiceBean class. Its been a while since I've used JServ (Tomcat is a much better alternative). If DiceBean is not associated with a package (e.g. no package com.foo.bar in Java source) then it should be fine to compile DiceBean.class and then place a reference to its directory or JAR file in (I think) jserv.properties as this is where the CLASSPATH is set up. I would keep your class files for a particular web app in both i) a structured package format and ii) a JAR file, just for namespace cleanliness. Tomcat makes things a lot easier in terms of class loading too, you can just whompf all your class files into /WEB-INF/classes or JAR's into /WEB-INF/lib. Regards, Joe -----Original Message----- From: Drew Lister [mailto:owner-freebsd-java@FreeBSD.ORG]On Behalf Of = Drew Lister Sent: Thursday, March 08, 2001 4:56 AM To: Sean Kelly; freebsd-java@FreeBSD.ORG Subject: RE: Trying to Create a simple Bean When I put the line in : <%@page import=3D"DiceBean" %> I get this error /usr/local/www/gnujsp/jsp__pants_2ejsp.java:6: Class DiceBean not found = in import. import DiceBean; ^ 1 error Should DiceBean be part of a package? I was just referencing it as one = class. The CLASSPATH of the webserver (Apache.conf) does include the location = of DiceBean. Should you store all classes that you create in another directory = besides the home directory of the www pages? Thanks, Drew Lister -----Original Message----- From: Sean Kelly Sent: Wed 3/7/2001 12:10 PM To: Drew Lister; freebsd-java@FreeBSD.ORG Cc: Subject: Re: Trying to Create a simple Bean > DiceBean time =3D (DiceBean) Do you have the package for DiceBean imported in your <%@ page ... %> declaration? Is the class definition for DiceBean available to GNU JSP? In other words, does the CLASSPATH of the web server include the location of DiceBean? --k To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 8 13:37:43 2001 Delivered-To: freebsd-java@freebsd.org Received: from nova.fnal.gov (nova.fnal.gov [131.225.18.207]) by hub.freebsd.org (Postfix) with ESMTP id 6055C37B719 for ; Thu, 8 Mar 2001 13:37:29 -0800 (PST) (envelope-from zingelman@fnal.gov) Received: from localhost (tez@localhost) by nova.fnal.gov (8.9.3+Sun/8.9.1) with ESMTP id PAA18049 for ; Thu, 8 Mar 2001 15:37:27 -0600 (CST) X-Authentication-Warning: nova.fnal.gov: tez owned process doing -bs Date: Thu, 8 Mar 2001 15:37:27 -0600 (CST) From: Tim Zingelman X-Sender: To: Subject: Tomcat for BSD (was: RE: Trying to Create a simple Bean) In-Reply-To: <9FD1AD5A8A0EB94B8B41ABC47563ED4B3B67@exchange1.crossoft.com> Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-559023410-851401618-984085065=:15709" Content-ID: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. ---559023410-851401618-984085065=:15709 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Content-ID: On Thu, 8 Mar 2001, Drew Lister wrote: > Two other questions though. Hopefully these aren't too elementary. > > 1. Is there a Tomcat installation for BSD? /usr/ports/www/jakarta-tomcat has tomcat 3.1 (which is old) If you replace the three files I attached to this email in that directory, it will install tomcat 3.2.1 which I think is the current release. If this works well for you, I'll submit a request to get these changes committed to the ports tree... at this point no one but me has used them. The makefile has the RUN_DEPENDS= line commented out, since it would otherwise install the native 1.1.8 jdk, which is not what I wanted... Other steps I took so tomcat would work with apache and run as nobody instead of root: cd /usr/local/tomcat/conf vi server.xml (add: ) touch mod_jk.conf-auto tomcat-apache.conf iis_redirect.reg-auto obj.conf-auto touch uriworkermap.properties-auto chown nobody.nogroup tomcat-apache.conf *-auto cd /usr/local/etc/apache vi httpd.conf (add at the end: Include /usr/local/tomcat/conf/mod_jk.conf ) ln -s /var/log /usr/local/tomcat/logs ln -s /tmp /usr/local/tomcat/work cd /var/log touch tomcat.log servlet.log jasper.log jk.log jvm.stderr jvm.stdout chown nobody.nogroup tomcat.log servlet.log jasper.log jk.log chown nobody.nogroup jvm.stderr jvm.stdout I edited /usr/local/etc/rc.d/apache.sh to set some environment variables and also start & stop tomcat... TOMCAT_HOME=/usr/local/tomcat TOMCAT_OPTS=-classic JAVA_HOME=/usr/local/linux-jdk1.3.0 export TOMCAT_HOME TOMCAT_OPTS JAVA_HOME case "$1" in start) [ -x /usr/local/tomcat/bin/startup.sh ] && /usr/bin/su -m nobody -c '/usr/local/tomcat/bin/startup.sh'; sleep 2 [ -x ${PREFIX}/sbin/apachectl ] && ${PREFIX}/sbin/apachectl start > /dev/null && echo -n ' apache' ;; stop) [ -r /var/run/httpd.pid ] && ${PREFIX}/sbin/apachectl stop > /dev/null && echo -n ' apache'; sleep 2 [ -x /usr/local/tomcat/bin/shutdown.sh ] && /usr/bin/su -m nobody -c '/usr/local/tomcat/bin/shutdown.sh' ;; *) echo "Usage: `basename $0` {start|stop}" >&2 ;; esac exit 0 You will also need to build a mod_jk.o shared library to hook tomcat to apache... here's the diff to the makefile included in the apache tarball: jakarta-tomcat-3.2.1-src.tar.gz Despite the fact that the file was named Makefile.freebsd, I needed to make the following changes to make it work with linux-jdk1.3.0 and apache 1.3.x from ports. jakarta-tomcat-3.2.1-src/src/native/apache1.3/Makefile.freebsd --- Makefile.freebsd.orig Tue Dec 12 16:51:55 2000 +++ Makefile.freebsd.new Sat Feb 24 01:26:52 2001 @@ -1,18 +1,12 @@ -## You need to edit this file - configure later :-) +OS=linux +APXS=/usr/local/sbin/apxs -APACHE_HOME=/usr/local/apache -OS=freebsd -APXS=${APACHE_HOME}/bin/apxs - -A13_FLAGS=-I${APACHE_HOME}/include - -## I assume this one is set up already -# JAVA_HOME= +JAVA_HOME=/usr/local/linux-jdk1.3.0 JAVA_INCL=-I${JAVA_HOME}/include -I${JAVA_HOME}/include/${OS} JAVA_LIB=-L${JAVA_HOME}/jre/lib/${ARCH} -L${JAVA_HOME}/lib/${ARCH}/native_threads -CFLAGS=-DHAVE_CONFIG_H -g -fpic -DSHARED_MODULE -O2 -D_REENTRANT -pthread -DLINUX -Wall +CFLAGS=-DHAVE_CONFIG_H -g -fpic -DSHARED_MODULE -O2 -pthread -DFREEBSD -Wall JK=../jk/ SRCS=jk_ajp12_worker.c jk_connect.c jk_msg_buff.c jk_util.c jk_ajp13.c \ @@ -23,10 +17,10 @@ OBJS=${patsubst %.c,%.o,${SRCS}} %.o: ../jk/%.c - ${CC} -c ${CFLAGS} ${JAVA_INCL} ${A13_FLAGS} $< -o $@ + ${CC} -c ${CFLAGS} ${JAVA_INCL} $< -o $@ .c.o: - ${APXS} -c ${JAVA_INCL} -DFREEBSD ${A13_FLAGS} -I../jk $< + ${APXS} -c ${JAVA_INCL} -DFREEBSD -I../jk $< all: mod_jk.so Hope this is helpful... - Tim ---559023410-851401618-984085065=:15709 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; NAME=Makefile Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: ATTACHMENT; FILENAME=Makefile IyBOZXcgcG9ydHMgY29sbGVjdGlvbiBtYWtlZmlsZSBmb3I6CWpha2FydGEt dG9tY2F0DQojIERhdGUgY3JlYXRlZDoJCTIzIEZlYiAyMDAxDQojIFdob206 CQkJZGVzDQojDQojICRGcmVlQlNEOiAkDQojDQoNClBPUlROQU1FPQlqYWth cnRhLXRvbWNhdA0KUE9SVFZFUlNJT049CTMuMi4xDQpDQVRFR09SSUVTPQl3 d3cNCk1BU1RFUl9TSVRFUz0JaHR0cDovL2pha2FydGEuYXBhY2hlLm9yZy9i dWlsZHMvdG9tY2F0L3JlbGVhc2UvdiR7UE9SVFZFUlNJT059L2Jpbi8NCkRJ U1ROQU1FPQkke1BPUlROQU1FfS0ke1BPUlRWRVJTSU9OfQ0KRElTVF9TVUJE SVI9CWpha2FydGEvdG9tY2F0LyR7UE9SVFZFUlNJT059DQoNCk1BSU5UQUlO RVI9CWRlc0BGcmVlQlNELm9yZw0KDQpCVUlMRF9ERVBFTkRTPQlwaW5zdGFs bDoke1BPUlRTRElSfS9kZXZlbC9waW5zdGFsbA0KI1JVTl9ERVBFTkRTPQkk e0xPQ0FMQkFTRX0vamRrMS4xLjgvYmluL2phdmFjOiR7UE9SVFNESVJ9L2ph dmEvamRrDQoNCk5PX0JVSUxEPQl5ZXMNCg0KZG8taW5zdGFsbDoNCglAJHtM Tn0gLWZzICR7V1JLU1JDfSAke1dSS0RJUn0vdG9tY2F0DQoJQHBpbnN0YWxs IC12IC1kICR7V1JLRElSfQ0KDQouaW5jbHVkZSA8YnNkLnBvcnQubWs+DQo= ---559023410-851401618-984085065=:15709 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; NAME=distinfo Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: ATTACHMENT; FILENAME=distinfo TUQ1IChqYWthcnRhL3RvbWNhdC8zLjIuMS9qYWthcnRhLXRvbWNhdC0zLjIu MS50YXIuZ3opID0gNDMxNzg5MzFlZDczN2NmZDkyYmRkZTIyZWQzN2M5OGMN Cg== ---559023410-851401618-984085065=:15709 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; NAME=pkg-plist Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: ATTACHMENT; FILENAME=pkg-plist dG9tY2F0L0xJQ0VOU0UNCnRvbWNhdC93ZWJhcHBzL1JPT1Qud2FyDQp0b21j YXQvd2ViYXBwcy90ZXN0Lndhcg0KdG9tY2F0L3dlYmFwcHMvZXhhbXBsZXMu d2FyDQp0b21jYXQvd2ViYXBwcy9hZG1pbi53YXINCnRvbWNhdC9jb25mL3Rv bWNhdC5wb2xpY3kNCnRvbWNhdC9jb25mL21vZF9qay5jb25mDQp0b21jYXQv Y29uZi93cmFwcGVyLnByb3BlcnRpZXMNCnRvbWNhdC9jb25mL3dlYi54bWwN CnRvbWNhdC9jb25mL3NlcnZlci54bWwNCnRvbWNhdC9jb25mL21hbmlmZXN0 LnNlcnZsZXQNCnRvbWNhdC9jb25mL3RvbWNhdC5jb25mDQp0b21jYXQvY29u Zi90b21jYXQucHJvcGVydGllcw0KdG9tY2F0L2NvbmYvdGVzdC10b21jYXQu eG1sDQp0b21jYXQvY29uZi91cml3b3JrZXJtYXAucHJvcGVydGllcw0KdG9t Y2F0L2NvbmYvd29ya2Vycy5wcm9wZXJ0aWVzDQp0b21jYXQvY29uZi9vYmou Y29uZg0KdG9tY2F0L2NvbmYvam5pX3NlcnZlci54bWwNCnRvbWNhdC9jb25m L2puaV93b3JrZXJzLnByb3BlcnRpZXMNCnRvbWNhdC9jb25mL3dlYi5kdGQN CnRvbWNhdC9jb25mL2J1aWxkLnhtbA0KdG9tY2F0L2NvbmYvdG9tY2F0LXVz ZXJzLnhtbA0KdG9tY2F0L2RvYy9hcHBkZXYvcHJvY2Vzc2VzLmh0bWwNCnRv bWNhdC9kb2MvYXBwZGV2L3NhbXBsZS9idWlsZC5zaA0KdG9tY2F0L2RvYy9h cHBkZXYvc2FtcGxlL2J1aWxkLmJhdA0KdG9tY2F0L2RvYy9hcHBkZXYvc2Ft cGxlL3dlYi9pbmRleC5odG1sDQp0b21jYXQvZG9jL2FwcGRldi9zYW1wbGUv d2ViL2ltYWdlcy90b21jYXQuZ2lmDQp0b21jYXQvZG9jL2FwcGRldi9zYW1w bGUvd2ViL2hlbGxvLmpzcA0KdG9tY2F0L2RvYy9hcHBkZXYvc2FtcGxlL3Ny Yy9IZWxsby5qYXZhDQp0b21jYXQvZG9jL2FwcGRldi9zYW1wbGUvZXRjL3dl Yi54bWwNCnRvbWNhdC9kb2MvYXBwZGV2L3NhbXBsZS9idWlsZC54bWwNCnRv bWNhdC9kb2MvYXBwZGV2L2Zvb3Rlci5odG1sDQp0b21jYXQvZG9jL2FwcGRl di9zb3VyY2UuaHRtbA0KdG9tY2F0L2RvYy9hcHBkZXYvaW5zdGFsbGF0aW9u Lmh0bWwNCnRvbWNhdC9kb2MvYXBwZGV2L2ludHJvZHVjdGlvbi5odG1sDQp0 b21jYXQvZG9jL2FwcGRldi9pbmRleC5odG1sDQp0b21jYXQvZG9jL2FwcGRl di93ZWIueG1sLnR4dA0KdG9tY2F0L2RvYy9hcHBkZXYvY29udGVudHMuaHRt bA0KdG9tY2F0L2RvYy9hcHBkZXYvYnVpbGQueG1sLnR4dA0KdG9tY2F0L2Rv Yy9hcHBkZXYvdG9tY2F0LmdpZg0KdG9tY2F0L2RvYy9hcHBkZXYvZGVwbG95 bWVudC5odG1sDQp0b21jYXQvZG9jL2FwcGRldi9oZWFkZXIuaHRtbA0KdG9t Y2F0L2RvYy9KREJDUmVhbG0uaG93dG8NCnRvbWNhdC9kb2MvbW9kX2prLWhv d3RvLmh0bWwNCnRvbWNhdC9kb2MvdWd1aWRlL2ltYWdlcy9iYW5uZXIuZ2lm DQp0b21jYXQvZG9jL3VndWlkZS9pbWFnZXMvdG9tY2F0LmdpZg0KdG9tY2F0 L2RvYy91Z3VpZGUvdG9tY2F0X3VnLmh0bWwNCnRvbWNhdC9kb2MvdWd1aWRl L3N0eWxlLmNzcw0KdG9tY2F0L2RvYy91Z3VpZGUvdG9tY2F0LXNlY3VyaXR5 Lmh0bWwNCnRvbWNhdC9kb2MvdG9tY2F0LXNzbC1ob3d0by5odG1sDQp0b21j YXQvZG9jL1RvbWNhdC1Xb3JrZXJzLUhvd1RvLmh0bWwNCnRvbWNhdC9kb2Mv aW5kZXguaHRtbA0KdG9tY2F0L2RvYy9pbi1wcm9jZXNzLWhvd3RvLmh0bWwN CnRvbWNhdC9kb2MvcmVhZG1lDQp0b21jYXQvZG9jL3RvbWNhdC1paXMtaG93 dG8uaHRtbA0KdG9tY2F0L2RvYy90b21jYXQtbmV0c2NhcGUtaG93dG8uaHRt bA0KdG9tY2F0L2RvYy90b21jYXQtYXBhY2hlLWhvd3RvLmh0bWwNCnRvbWNh dC9kb2MvZmFxDQp0b21jYXQvZG9jL05ULVNlcnZpY2UtaG93dG8uaHRtbA0K dG9tY2F0L2xpYi90ZXN0L0dvbGRlbi9pbWFnZTEuZ2lmDQp0b21jYXQvbGli L3Rlc3QvR29sZGVuL0hlbGxvV29ybGQudHh0DQp0b21jYXQvbGliL3Rlc3Qv R29sZGVuL2ltcGxpY2l0UmVzcG9uc2UudHh0DQp0b21jYXQvbGliL3Rlc3Qv R29sZGVuL2ltcGxpY2l0UGFnZUNvbnRleHQudHh0DQp0b21jYXQvbGliL3Rl c3QvR29sZGVuL3BhZ2VJbXBvcnQudHh0DQp0b21jYXQvbGliL3Rlc3QvR29s ZGVuL2ltcGxpY2l0T3V0LnR4dA0KdG9tY2F0L2xpYi90ZXN0L0dvbGRlbi9G b3J3YXJkV2l0aFF1ZXJ5LnR4dA0KdG9tY2F0L2xpYi90ZXN0L0dvbGRlbi9i ZWFuVGVzdC50eHQNCnRvbWNhdC9saWIvdGVzdC9Hb2xkZW4vUHJpbnRXcml0 ZXJUZXN0LnR4dA0KdG9tY2F0L2xpYi90ZXN0L0dvbGRlbi9TaW1wbGVGb3J3 YXJkLnR4dA0KdG9tY2F0L2xpYi90ZXN0L0dvbGRlbi9zZXJ2bGV0UGFyYW0y LnR4dA0KdG9tY2F0L2xpYi90ZXN0L0dvbGRlbi9JbmNsdWRlLnR4dA0KdG9t Y2F0L2xpYi90ZXN0L0dvbGRlbi9tb3ZlZHdlbGNvbWUudHh0DQp0b21jYXQv bGliL3Rlc3QvR29sZGVuL21vdmVkaW5kZXgudHh0DQp0b21jYXQvbGliL3Rl c3QvR29sZGVuL2ltcGxpY2l0Q29udGV4dC50eHQNCnRvbWNhdC9saWIvdGVz dC9Hb2xkZW4vTWlzbWF0Y2gyLnR4dA0KdG9tY2F0L2xpYi90ZXN0L0dvbGRl bi9JbmNsdWRlRmlsZS50eHQNCnRvbWNhdC9saWIvdGVzdC9Hb2xkZW4vY2xh c3NUZXN0LnR4dA0KdG9tY2F0L2xpYi90ZXN0L0dvbGRlbi9pbXBvcnQudHh0 DQp0b21jYXQvbGliL3Rlc3QvR29sZGVuL3NlcnZsZXRQYXJhbTEudHh0DQp0 b21jYXQvbGliL3Rlc3QvR29sZGVuL1NlcnZsZXRQYXJhbS50eHQNCnRvbWNh dC9saWIvdGVzdC9Hb2xkZW4vaW5kZXgudHh0DQp0b21jYXQvbGliL3Rlc3Qv R29sZGVuL2ltcGxpY2l0UGFnZS50eHQNCnRvbWNhdC9saWIvdGVzdC9Hb2xk ZW4vaW1wbGljaXRFeGNlcHRpb24udHh0DQp0b21jYXQvbGliL3Rlc3QvR29s ZGVuL2ltcGxpY2l0Q29uZmlnLnR4dA0KdG9tY2F0L2xpYi90ZXN0L0dvbGRl bi93ZWxjb21lLnR4dA0KdG9tY2F0L2xpYi90ZXN0L0dvbGRlbi9pbXBsaWNp dFJlcXVlc3QudHh0DQp0b21jYXQvbGliL3Rlc3QvR29sZGVuL2ltcGxpY2l0 U2Vzc2lvbi50eHQNCnRvbWNhdC9saWIvdGVzdC9Hb2xkZW4vYmVhblNlci50 eHQNCnRvbWNhdC9saWIvdGVzdC9Hb2xkZW4vanNwdG9zZXJ2bGV0LnR4dA0K dG9tY2F0L2xpYi90ZXN0L0dvbGRlbi9NaXNtYXRjaDEudHh0DQp0b21jYXQv bGliL3Rlc3QvR29sZGVuL011c3RGYWlsLnR4dA0KdG9tY2F0L2xpYi90ZXN0 L0dvbGRlbi9idWZmZXIudHh0DQp0b21jYXQvbGliL3Rlc3QvR29sZGVuL3Bh cnNlLnR4dA0KdG9tY2F0L2xpYi90ZXN0L0dvbGRlbi9TaW1wbGVJbmNsdWRl LnR4dA0KdG9tY2F0L2xpYi90ZXN0L0dvbGRlbi9FcnIudHh0DQp0b21jYXQv bGliL2FudC5qYXINCnRvbWNhdC9saWIvamF4cC5qYXINCnRvbWNhdC9saWIv c2VydmxldC5qYXINCnRvbWNhdC9saWIvcGFyc2VyLmphcg0KdG9tY2F0L2xp Yi93ZWJzZXJ2ZXIuamFyDQp0b21jYXQvbGliL2phc3Blci5qYXINCnRvbWNh dC9iaW4vanNwYy5iYXQNCnRvbWNhdC9iaW4vY3BhcHBlbmQuYmF0DQp0b21j YXQvYmluL2FudFJ1bg0KdG9tY2F0L2Jpbi9hbnRSdW4uYmF0DQp0b21jYXQv YmluL2FudC5iYXQNCnRvbWNhdC9iaW4vc3RhcnR1cC5zaA0KdG9tY2F0L2Jp bi9zaHV0ZG93bi5zaA0KdG9tY2F0L2Jpbi9zdGFydHVwLmJhdA0KdG9tY2F0 L2Jpbi90b21jYXQuYmF0DQp0b21jYXQvYmluL3NodXRkb3duLmJhdA0KdG9t Y2F0L2Jpbi90b21jYXQuc2gNCnRvbWNhdC9iaW4vdG9tY2F0RW52LmJhdA0K dG9tY2F0L2Jpbi9hbnQNCnRvbWNhdC9iaW4vanNwYy5zaA0KQGRpcnJtIHRv bWNhdC93ZWJhcHBzDQpAZGlycm0gdG9tY2F0L2NvbmYNCkBkaXJybSB0b21j YXQvZG9jDQpAZGlycm0gdG9tY2F0L2RvYy9hcHBkZXYNCkBkaXJybSB0b21j YXQvZG9jL2FwcGRldi9zYW1wbGUNCkBkaXJybSB0b21jYXQvZG9jL2FwcGRl di9zYW1wbGUvd2ViDQpAZGlycm0gdG9tY2F0L2RvYy9hcHBkZXYvc2FtcGxl L3dlYi9pbWFnZXMNCkBkaXJybSB0b21jYXQvZG9jL2FwcGRldi9zYW1wbGUv c3JjDQpAZGlycm0gdG9tY2F0L2RvYy9hcHBkZXYvc2FtcGxlL2V0Yw0KQGRp cnJtIHRvbWNhdC9kb2MvdWd1aWRlDQpAZGlycm0gdG9tY2F0L2RvYy91Z3Vp ZGUvaW1hZ2VzDQpAZGlycm0gdG9tY2F0L2xpYg0KQGRpcnJtIHRvbWNhdC9s aWIvdGVzdA0KQGRpcnJtIHRvbWNhdC9saWIvdGVzdC9Hb2xkZW4NCkBkaXJy bSB0b21jYXQvYmluDQpAZGlycm0gdG9tY2F0DQo= ---559023410-851401618-984085065=:15709-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 8 15:16:47 2001 Delivered-To: freebsd-java@freebsd.org Received: from pluto.senet.com.au (pluto.senet.com.au [203.56.239.150]) by hub.freebsd.org (Postfix) with ESMTP id A489D37B719 for ; Thu, 8 Mar 2001 15:16:43 -0800 (PST) (envelope-from glewis@misty.eyesbeyond.com) Received: from misty.eyesbeyond.com (c24-fr-p204.senet.com.au [172.16.24.205]) by pluto.senet.com.au (8.11.0/8.11.0) with ESMTP id f28NGeh61058; Fri, 9 Mar 2001 09:46:40 +1030 (CST) (envelope-from glewis@misty.eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.1/8.11.1) id f28NGKq58707; Fri, 9 Mar 2001 09:46:20 +1030 (CST) (envelope-from glewis) Date: Fri, 9 Mar 2001 09:46:19 +1030 From: Greg Lewis To: Tim Zingelman Cc: freebsd-java@FreeBSD.ORG Subject: Re: Tomcat for BSD (was: RE: Trying to Create a simple Bean) Message-ID: <20010309094619.A58668@misty.eyesbeyond.com> References: <9FD1AD5A8A0EB94B8B41ABC47563ED4B3B67@exchange1.crossoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from zingelman@fnal.gov on Thu, Mar 08, 2001 at 03:37:27PM -0600 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, Mar 08, 2001 at 03:37:27PM -0600, Tim Zingelman wrote: > On Thu, 8 Mar 2001, Drew Lister wrote: > > > Two other questions though. Hopefully these aren't too elementary. > > > > 1. Is there a Tomcat installation for BSD? > > /usr/ports/www/jakarta-tomcat has tomcat 3.1 (which is old) > > If you replace the three files I attached to this email in that directory, > it will install tomcat 3.2.1 which I think is the current release. > > If this works well for you, I'll submit a request to get these changes > committed to the ports tree... at this point no one but me has used them. I haven't used the files you've attached, but I've had 3.2.1 running under both the native JDKs (1.1.8 and 1.2.2). > You will also need to build a mod_jk.o shared library to hook tomcat to > apache... here's the diff to the makefile included in the apache tarball: > jakarta-tomcat-3.2.1-src.tar.gz > > Despite the fact that the file was named Makefile.freebsd, I needed to > make the following changes to make it work with linux-jdk1.3.0 and apache > 1.3.x from ports. You also need to patch it to build it with the native JDKs, but the patches are different (And quite a bit smaller) than what you include below. This will need to be need to be sorted out before the port can be updated. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Mobile: 0419 868 494 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 8 16: 7:10 2001 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (cx739861-a.dt1.sdca.home.com [24.5.164.61]) by hub.freebsd.org (Postfix) with ESMTP id C8BC437B718 for ; Thu, 8 Mar 2001 16:07:05 -0800 (PST) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.22 #1 (Debian)) id 14bAQz-0000WV-00; Thu, 08 Mar 2001 16:07:05 -0800 To: freebsd-java@freebsd.org Subject: OpenPackages + Java ? Cc: billh@gnuppy.monkey.org Message-Id: From: Bill Huey Date: Thu, 08 Mar 2001 16:07:05 -0800 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, I reserved an IRC channel on openprojects.net call #openpackages that I'll be sitting on so that we can do general chat plus get the patch merge effort between my code and Greg Lewis going. Greg, that means *you* should get on there if you can and others are welcomed that are doing developement work have access to the code. Hopefully in short order, we'll be able to get this to the next phase of getting the JVM going which is to TCK this entire thing. And I'm hoping to get a bit of help with couple of small things while I investigate both uthreads (FreeBSD) and our (BSD/OS) pthreads implementation. Thanks ;-) bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 8 17: 3:39 2001 Delivered-To: freebsd-java@freebsd.org Received: from tele-post-20.mail.demon.net (tele-post-20.mail.demon.net [194.217.242.20]) by hub.freebsd.org (Postfix) with ESMTP id 7321037B718 for ; Thu, 8 Mar 2001 17:03:33 -0800 (PST) (envelope-from rws@procopia.demon.co.uk) Received: from procopia.demon.co.uk ([194.222.76.178]) by tele-post-20.mail.demon.net with esmtp (Exim 2.12 #2) id 14bBJa-000DtP-0K; Fri, 9 Mar 2001 01:03:31 +0000 Received: from plethora ([10.0.0.3]) by procopia.demon.co.uk with smtp (Exim 3.16 #1) id 14bBJr-0000R8-00; Fri, 09 Mar 2001 01:03:47 +0000 Message-ID: <005101c0a834$e3738b60$0300000a@plethora> From: "Richard Stockley" To: Cc: "Rossen Raykov" Subject: Re: TomCat 4 and scratchDir and Tomcat for BSD Date: Fri, 9 Mar 2001 01:04:27 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, > Hi All, > > To someone know how to set the scratchDir used by jasper/tomcat 4 to some > different location then the default "work"? > I didn't find any documentation about that. I try some things with > server.xml and web.xml but without success... > I am interested also from an URL from which I can download jasper sources. > > Thanks, > > Rossen As far as I am aware for Tomcat 3.2.1 (I haven't tried 4 yet) the work folder is specified in the server.xml - thus where work is relative to your $TOMCAT_HOME - if you change the workDir directive you can force it to be created elsewhere - though if you omit it, it defaults to 'work' in the $TOMCAT_HOME directory. I think that it still has to be called 'work' whereever you put it but don't quote me on that. Obviously I'm not sure if there is a fundamental difference in Tomcat 4 Onto the Tomcat for BSD Issue - I am a recent convert to FreeBSD and have been working at putting together a tomcat port which, to please our sysadmin, actually keeps to the BSD hierarchy. Basically in order to do I needed to use the src version of tomcat and servletapi so I could tweak it. As a result the 'conf' folder defaults to /usr/local/etc/tomcat, the binaries are put in /usr/local/bin, libs are in usr/local/share/java/classes, logs in /var/log and docs in /usr/local/share/doc/java/tomcat. The Port sets the $TOMCAT_HOME to /usr/local/www and creates the webapps and work directory there. have also tweaked it so that the mod-jk.conf-auto is actually pointing /usr/local/libexec/apache. I also patched mod_jk so it works (I found the supplied Makefile generated an unusable module). Before anybody asks you can replace all mentions of /usr/local with $PREFIX..... One of the caveats to working with src ditribution is that you need a port of ant also - which several have been submitted but not committed so I have written my own based on the recent 1.3 release which also works within the BSD hierarchy. The other caveat is that I split tomcat into several separate ports , servletapi, tomcat, mod_jk and I also put together a binary port of the jsse package from sun. In my experience tomcat 3.2.1 will compile on all four of the FreeBSD JDK ports but for jdk1.2.2, linux-jdk1.2.2 and 1.3.0 you have to have the jsse jars to get it to work. The ports i've made reflect that issue also. Basically I was wondering if people out there felt this was worth submitting - I've noticed java ports generally do not make it to the commit stage readily though i'm not sure if this is lack of interest or some other issue. I also realise a binary install of tomcat would only require one download not up to four!! and also some people actually prefer preformed jar's but for tomcat at least this restricts them to installations into /usr/local/tomcat or similar. This solution may be somewhat overkill but it was fun writing it. Since I also got into this whole porting lark as a way of learning to use jsp / servlets this port would need testing with some real life examples which i haven't really done very much yet. please let me know if this is of any use and I can submit them. -- Richard Stockley: Internet Developer - rws@procopia.com Procopia Ltd UK Mobile - 07941 026 869 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 9 0:25:45 2001 Delivered-To: freebsd-java@freebsd.org Received: from daedalus.cs.brandeis.edu (daedalus.cs.brandeis.edu [129.64.3.179]) by hub.freebsd.org (Postfix) with ESMTP id E6FE237B71A for ; Fri, 9 Mar 2001 00:25:42 -0800 (PST) (envelope-from meshko@daedalus.cs.brandeis.edu) Received: from localhost (meshko@localhost) by daedalus.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id DAA23477 for ; Fri, 9 Mar 2001 03:25:42 -0500 Date: Fri, 9 Mar 2001 03:25:42 -0500 (EST) From: Mikhail Kruk To: Subject: IBM JDKs, Sun JDK Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Well, I did try them out. Sun JDK for Linux 1.3 (from ports) runs with -hotspot (as it was reported many times now) very fast and seems reliable (both awt and console applications) IBM JDK 1.1.8 hands and brings load to 2.0 IBM JDK 1.3 works fine Anyone has any luck running IBM 1.1.8? I believe 1.1 applications run faster in it than in any other VM... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 9 0:42:13 2001 Delivered-To: freebsd-java@freebsd.org Received: from khan.acc.umu.se (khan.acc.umu.se [130.239.18.139]) by hub.freebsd.org (Postfix) with ESMTP id 58F2137B719 for ; Fri, 9 Mar 2001 00:42:09 -0800 (PST) (envelope-from markush@acc.umu.se) Received: from mao.acc.umu.se (root@mao.acc.umu.se [130.239.18.154]) by khan.acc.umu.se (8.11.2/8.11.2) with ESMTP id f298g7S18514; Fri, 9 Mar 2001 09:42:07 +0100 (MET) Received: (from markush@localhost) by mao.acc.umu.se (8.9.3/8.9.3/Debian 8.9.3-21) id JAA30046; Fri, 9 Mar 2001 09:42:06 +0100 Date: Fri, 9 Mar 2001 09:42:06 +0100 From: Markus Holmberg To: Mikhail Kruk Cc: freebsd-java@FreeBSD.ORG Subject: Re: IBM JDKs, Sun JDK Message-ID: <20010309094206.A29770@acc.umu.se> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3-current-20000511i In-Reply-To: ; from meshko@cs.brandeis.edu on Fri, Mar 09, 2001 at 03:25:42AM -0500 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Gallatin (can't remember first name, Andrew, Drew? :)) asked for more detail on the "problematic thread" errors with HotSpot. Here's some: mac@romy:~% uname -a FreeBSD romy.carbonide.com 4.3-BETA FreeBSD 4.3-BETA #2: Fri Mar 9 08:55:33 CET 2001 mac@romy.carbonide.com:/usr/obj/usr/src/sys/ROMY i386 Mar 9 09:37:14 romy /kernel: pid 784 (java), uid 1000: exited on signal 6 (core dumped) Mar 9 09:37:14 romy /kernel: pid 783 (java), uid 1000: exited on signal 6 (core dumped) Mar 9 09:37:14 romy /kernel: pid 782 (java), uid 1000: exited on signal 6 (core dumped) Mar 9 09:37:14 romy /kernel: pid 781 (java), uid 1000: exited on signal 6 (core dumped) Mar 9 09:37:14 romy /kernel: pid 780 (java), uid 1000: exited on signal 6 (core dumped) Mar 9 09:37:14 romy /kernel: pid 779 (java), uid 1000: exited on signal 6 (core dumped) Mar 9 09:37:14 romy /kernel: pid 778 (java), uid 1000: exited on signal 6 (core dumped) Mar 9 09:37:14 romy /kernel: pid 742 (java), uid 1000: exited on signal 6 (core dumped) mac@romy:~/orion% java -jar orion.jar # # HotSpot Virtual Machine Error, Unexpected Signal 11 # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # # Error ID: 4F533F4C494E55580E43505005BC # # Problematic Thread: prio=671556288 tid=0x8106248 nid=0x344 runnable # zsh: abort (core dumped) java -jar orion.jar (The software being run is the Orion Application Server, www.orionserver.com). Regards, Markus. On Fri, Mar 09, 2001 at 03:25:42AM -0500, Mikhail Kruk wrote: > Well, I did try them out. > > Sun JDK for Linux 1.3 (from ports) runs with -hotspot (as it was reported > many times now) very fast and seems reliable (both awt and console > applications) > > IBM JDK 1.1.8 hands and brings load to 2.0 > > IBM JDK 1.3 works fine > > Anyone has any luck running IBM 1.1.8? I believe 1.1 applications run > faster in it than in any other VM... > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message -- Markus Holmberg | Give me Unix or give me a typewriter. markush@acc.umu.se | http://www.freebsd.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 9 2: 7:29 2001 Delivered-To: freebsd-java@freebsd.org Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8]) by hub.freebsd.org (Postfix) with ESMTP id E771D37B71A for ; Fri, 9 Mar 2001 02:07:25 -0800 (PST) (envelope-from K.J.Koster@kpn.com) Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by research.kpn.com (PMDF V5.2-31 #42699) with ESMTP id <01K0ZOE0RWRU000IJG@research.kpn.com> for freebsd-java@FreeBSD.ORG; Fri, 9 Mar 2001 11:07:23 +0100 Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id ; Fri, 09 Mar 2001 11:07:22 +0100 Content-return: allowed Date: Fri, 09 Mar 2001 11:07:19 +0100 From: "Koster, K.J." Subject: RE: Tomcat for BSD (was: RE: Trying to Create a simple Bean) To: 'Greg Lewis' , Tim Zingelman Cc: freebsd-java@FreeBSD.ORG Message-id: <59063B5B4D98D311BC0D0001FA7E4522026D7C9C@l04.research.kpn.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > You also need to patch it to build it with the native JDKs, but the > patches are different (And quite a bit smaller) than what you include > below. This will need to be need to be sorted out before the port can > be updated. > If you use the release version of Tomcat 3.2.1 you will find that no patching of any sort is needed. Just download, unzip and run. Kees Jan ================================================ You are only young once, but you can stay immature all your life. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 9 2:18:20 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id 6E8A837B718 for ; Fri, 9 Mar 2001 02:18:14 -0800 (PST) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.1/8.11.1) id f29AH8d00591; Fri, 9 Mar 2001 11:17:08 +0100 (CET) (envelope-from ernst) Date: Fri, 9 Mar 2001 11:17:08 +0100 From: Ernst de Haan To: Markus Holmberg Cc: Mikhail Kruk , freebsd-java@FreeBSD.ORG Subject: Re: IBM JDKs, Sun JDK Message-ID: <20010309111708.A578@c187104187.telekabel.chello.nl> References: <20010309094206.A29770@acc.umu.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010309094206.A29770@acc.umu.se>; from markush@acc.umu.se on Fri, Mar 09, 2001 at 09:42:06AM +0100 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Markus, I have the same problem with JDK 1.3.0_02 when I try to run Orion from the ports: bash-2.04# java -version java version "1.3.0_02" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_02) Java HotSpot(TM) Client VM (build 1.3.0_02, interpreted mode) bash-2.04# java -jar orion.jar Auto-unpacking /usr/home/ernst/hello-planet/build/hello-planet.ear... done. Auto-unpacking /usr/home/ernst/hello-planet/build/hello-planet/hello-planet-web.war... done. Auto-deploying hello-planet (New server version detected)... Auto-deploying hello-planet-ejb.jar (No previous deployment found)... # # HotSpot Virtual Machine Error, Unexpected Signal 11 # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # # Error ID: 4F533F4C494E55580E43505005BC # # Problematic Thread: prio=1 tid=0x81176a8 nid=0x23c runnable # Mar 9 11:09:25 heinz /kernel: pid 572 (java), uid 0: exited on signal 6 (core dumped) Mar 9 11:09:28 heinz /kernel: pid 573 (java), uid 0: exited on signal 6 (core dumped) Mar 9 11:09:40 heinz /kernel: pid 571 (java), uid 0: exited on signal 6 (core dumped) Mar 9 11:10:00 heinz /kernel: pid 570 (java), uid 0: exited on signal 6 (core dumped) Mar 9 11:10:10 heinz /kernel: pid 569 (java), uid 0: exited on signal 6 (core dumped) Mar 9 11:10:40 heinz /kernel: pid 568 (java), uid 0: exited on signal 6 (core dumped) Mar 9 11:10:42 heinz /kernel: pid 567 (java), uid 0: exited on signal 6 (core dumped) Abort trap (core dumped) Mar 9 11:11:10 heinz /kernel: pid 566 (java), uid 0: exited on signal 6 (core dumped) Mar 9 11:11:10 heinz /kernel: pid 530 (java), uid 0: exited on signal 6 (core dumped) I noticed some weird things: * There seem to be a lot of processes. This may have to do with the fact that every thread is mapped to a process. * It takes a long time for all processes to die, there are 45 seconds between the death of the first java process and the last. * The processes run at a very low nice-level. This makes the system very irresponsive. -- Ernst Markus Holmberg wrote: > Gallatin (can't remember first name, Andrew, Drew? :)) asked for more > detail on the "problematic thread" errors with HotSpot. Here's some: > > mac@romy:~% uname -a > FreeBSD romy.carbonide.com 4.3-BETA FreeBSD 4.3-BETA #2: Fri Mar 9 > 08:55:33 CET 2001 mac@romy.carbonide.com:/usr/obj/usr/src/sys/ROMY > i386 > > Mar 9 09:37:14 romy /kernel: pid 784 (java), uid 1000: exited on signal > 6 (core dumped) > Mar 9 09:37:14 romy /kernel: pid 783 (java), uid 1000: exited on signal > 6 (core dumped) > Mar 9 09:37:14 romy /kernel: pid 782 (java), uid 1000: exited on signal > 6 (core dumped) > Mar 9 09:37:14 romy /kernel: pid 781 (java), uid 1000: exited on signal > 6 (core dumped) > Mar 9 09:37:14 romy /kernel: pid 780 (java), uid 1000: exited on signal > 6 (core dumped) > Mar 9 09:37:14 romy /kernel: pid 779 (java), uid 1000: exited on signal > 6 (core dumped) > Mar 9 09:37:14 romy /kernel: pid 778 (java), uid 1000: exited on signal > 6 (core dumped) > Mar 9 09:37:14 romy /kernel: pid 742 (java), uid 1000: exited on signal > 6 (core dumped) > > mac@romy:~/orion% java -jar orion.jar > # > # HotSpot Virtual Machine Error, Unexpected Signal 11 > # Please report this error at > # http://java.sun.com/cgi-bin/bugreport.cgi > # > # Error ID: 4F533F4C494E55580E43505005BC > # > # Problematic Thread: prio=671556288 tid=0x8106248 nid=0x344 runnable > # > zsh: abort (core dumped) java -jar orion.jar > > (The software being run is the Orion Application Server, > www.orionserver.com). > > Regards, Markus. > > On Fri, Mar 09, 2001 at 03:25:42AM -0500, Mikhail Kruk wrote: > > Well, I did try them out. > > > > Sun JDK for Linux 1.3 (from ports) runs with -hotspot (as it was reported > > many times now) very fast and seems reliable (both awt and console > > applications) > > > > IBM JDK 1.1.8 hands and brings load to 2.0 > > > > IBM JDK 1.3 works fine > > > > Anyone has any luck running IBM 1.1.8? I believe 1.1 applications run > > faster in it than in any other VM... > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-java" in the body of the message > > -- > > Markus Holmberg | Give me Unix or give me a typewriter. > markush@acc.umu.se | http://www.freebsd.org/ > > 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 9 4: 2:57 2001 Delivered-To: freebsd-java@freebsd.org Received: from nova.fnal.gov (nova.fnal.gov [131.225.18.207]) by hub.freebsd.org (Postfix) with ESMTP id 3CF2437B718 for ; Fri, 9 Mar 2001 04:02:55 -0800 (PST) (envelope-from zingelman@fnal.gov) Received: from localhost (tez@localhost) by nova.fnal.gov (8.9.3+Sun/8.9.1) with ESMTP id GAA27165 for ; Fri, 9 Mar 2001 06:02:54 -0600 (CST) X-Authentication-Warning: nova.fnal.gov: tez owned process doing -bs Date: Fri, 9 Mar 2001 06:02:54 -0600 (CST) From: Tim Zingelman X-Sender: To: Subject: RE: Tomcat for BSD (was: RE: Trying to Create a simple Bean) In-Reply-To: <59063B5B4D98D311BC0D0001FA7E4522026D7C9C@l04.research.kpn.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 9 Mar 2001, Koster, K.J. wrote: > > > > You also need to patch it to build it with the native JDKs, but the > > patches are different (And quite a bit smaller) than what you include > > below. This will need to be need to be sorted out before the port can > > be updated. > > > If you use the release version of Tomcat 3.2.1 you will find that no > patching of any sort is needed. Just download, unzip and run. > > Kees Jan The patches (other than the mod_jk makefile) were to the port, and did nothing but update it to have the correct checksum & packing list (and remove the jdk1.1.8 dependency.) The mod_jk makefile does indeed need to be changed from what is in the 3.2.1 tomcat tarball, if you want it to compile & work with the linux 1.3 jdk & a default apache13 install from ports. - Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 9 4: 5:42 2001 Delivered-To: freebsd-java@freebsd.org Received: from nova.fnal.gov (nova.fnal.gov [131.225.18.207]) by hub.freebsd.org (Postfix) with ESMTP id 5F66E37B718 for ; Fri, 9 Mar 2001 04:05:40 -0800 (PST) (envelope-from zingelman@fnal.gov) Received: from localhost (tez@localhost) by nova.fnal.gov (8.9.3+Sun/8.9.1) with ESMTP id GAA27176 for ; Fri, 9 Mar 2001 06:05:39 -0600 (CST) X-Authentication-Warning: nova.fnal.gov: tez owned process doing -bs Date: Fri, 9 Mar 2001 06:05:39 -0600 (CST) From: Tim Zingelman X-Sender: To: Subject: Re: IBM JDKs, Sun JDK In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 9 Mar 2001, Mikhail Kruk wrote: > Well, I did try them out. > > Sun JDK for Linux 1.3 (from ports) runs with -hotspot (as it was reported > many times now) very fast and seems reliable (both awt and console > applications) > > IBM JDK 1.1.8 hands and brings load to 2.0 > > IBM JDK 1.3 works fine > > Anyone has any luck running IBM 1.1.8? I believe 1.1 applications run > faster in it than in any other VM... Has anyone tried "Sun JDK for Linux 1.3 -hotspot" on an SMP machine. I've got two machines that are quite similar and it seems to run on the single processor machine and crash on the SMP one. I need to rev the SMP one all the way up to 4.3-BETA before I can fully confirm this... - Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 9 4:27:12 2001 Delivered-To: freebsd-java@freebsd.org Received: from brave.vnet (IP1B0375.aic.mesh.ad.jp [211.135.172.121]) by hub.freebsd.org (Postfix) with ESMTP id E529937B718 for ; Fri, 9 Mar 2001 04:27:05 -0800 (PST) (envelope-from daichi@ongs.gr.jp) Received: from localhost (localhost [127.0.0.1]) by brave.vnet (8.11.1/8.11.1) with ESMTP id f29CRIb03285; Fri, 9 Mar 2001 21:27:20 +0900 (JST) (envelope-from daichi@ongs.gr.jp) Date: Fri, 9 Mar 2001 21:27:18 +0900 (JST) From: Daichi GOTO To: Tim Zingelman Subject: Re: Tomcat for BSD (was: RE: Trying to Create a simple Bean) Cc: freebsd-java@FreeBSD.ORG In-Reply-to: Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit X-Mailer: =?iso-2022-jp?B?GyRCJGYkOhsoQiAxLjAwMA==?= Organization: ONGS Mime-Version: 1.0 Message-ID: <84744572.984140838459.JavaMail.daichi@localhost> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org (snip) > You will also need to build a mod_jk.o shared library to hook tomcat to > apache... here's the diff to the makefile included in the apache tarball: > jakarta-tomcat-3.2.1-src.tar.gz (snip) > jakarta-tomcat-3.2.1-src/src/native/apache1.3/Makefile.freebsd > (snip) > +OS=linux > +APXS=/usr/local/sbin/apxs (snip) > -CFLAGS=-DHAVE_CONFIG_H -g -fpic -DSHARED_MODULE -O2 -D_REENTRANT > -pthread -DLINUX -Wall > +CFLAGS=-DHAVE_CONFIG_H -g -fpic -DSHARED_MODULE -O2 -pthread -DFREEBSD > -Wall (snip) > %.o: ../jk/%.c > - ${CC} -c ${CFLAGS} ${JAVA_INCL} ${A13_FLAGS} $< -o $@ > + ${CC} -c ${CFLAGS} ${JAVA_INCL} $< -o $@ > > .c.o: > - ${APXS} -c ${JAVA_INCL} -DFREEBSD ${A13_FLAGS} -I../jk $< > + ${APXS} -c ${JAVA_INCL} -DFREEBSD -I../jk $< Please teach me why your patch leads success to run apache-tomcat on FreeBSD. I am wondering that your patch leads success without pthread install. I have made patch to run apache-tomcat as follow: ------------ diff -urP native/apache1.3/Makefile.orig native/apache1.3/Makefile --- native/apache1.3/Makefile.orig Thu Jan 1 09:00:00 1970 +++ native/apache1.3/Makefile Sun Mar 4 03:42:30 2001 @@ -0,0 +1,39 @@ +## You need to edit this file - configure later :-) + +#APACHE_HOME=/usr/local/apache +OS=freebsd +APXS=/usr/local/sbin/apxs + +A13_FLAGS=-I/usr/local/include/apache + +## I assume this one is set up already +JAVA_HOME=/usr/local/jdk1.2.2 + +JAVA_INCL=-I${JAVA_HOME}/include -I${JAVA_HOME}/include/${OS} +JAVA_LIB=-L${JAVA_HOME}/jre/lib/${ARCH} -L${JAVA_HOME}/lib/${ARCH}/native_threads + +CFLAGS=-DHAVE_CONFIG_H -g -fpic -DSHARED_MODULE -O2 -D_REENTRANT -pthread -DLINUX -Wall + +JK=../jk/ +SRCS=jk_ajp12_worker.c jk_connect.c jk_msg_buff.c jk_util.c jk_ajp13.c \ + jk_jni_worker.c jk_pool.c jk_worker.c jk_ajp13_worker.c jk_lb_worker.c \ + jk_sockbuf.c jk_map.c jk_uri_worker_map.c + + +OBJS=${patsubst %.c,%.o,${SRCS}} + +%.o: ../jk/%.c + ${CC} -c ${CFLAGS} ${JAVA_INCL} ${A13_FLAGS} $< -o $@ + +.c.o: + ${APXS} -c ${JAVA_INCL} -DFREEBSD ${A13_FLAGS} -I../jk $< + +all: mod_jk.so + +mod_jk.so: ${OBJS} mod_jk.o + $(APXS) -L/usr/local/lib -lpthread -c -o mod_jk.so ${OBJS} mod_jk.o + +# $(CC) -shared -o mod_jk.so ${OBJS} mod_jk.o + +clean: + rm *.o *.so diff -urP native/jk/jk_util.c.orig native/jk/jk_util.c --- native/jk/jk_util.c.orig Wed Dec 13 07:51:56 2000 +++ native/jk/jk_util.c Sun Mar 4 03:42:21 2001 @@ -90,6 +90,8 @@ #define HUGE_BUFFER_SIZE (8*1024) #define LOG_LINE_SIZE (1024) +#define fdatasync(param1) (fsync(param1)) + struct file_logger { FILE *logfile; }; ------------ And this patch requres pth(/usr/deve/pth) before gmake all. And the mod_jk.so genereted by above works fine. But your patch do not requre pthead. But that works fine. There are some magic? Daichi T.GOTO(ONGS) http://www.ongs.net/daichi, daichi@ongs.gr.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 9 4:50:46 2001 Delivered-To: freebsd-java@freebsd.org Received: from brave.vnet (IP1B0375.aic.mesh.ad.jp [211.135.172.121]) by hub.freebsd.org (Postfix) with ESMTP id 8C20237B719 for ; Fri, 9 Mar 2001 04:50:43 -0800 (PST) (envelope-from daichi@ongs.gr.jp) Received: from localhost (localhost [127.0.0.1]) by brave.vnet (8.11.1/8.11.1) with ESMTP id f29Codb03462; Fri, 9 Mar 2001 21:50:40 +0900 (JST) (envelope-from daichi@ongs.gr.jp) Date: Fri, 9 Mar 2001 21:50:39 +0900 (JST) From: Daichi GOTO To: Mikhail Kruk Subject: Re: IBM JDKs, Sun JDK Cc: java@FreeBSD.ORG In-Reply-to: Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit X-Mailer: =?iso-2022-jp?B?GyRCJGYkOhsoQiAxLjAwMA==?= Organization: ONGS Mime-Version: 1.0 Message-ID: <84741632.984142239630.JavaMail.daichi@localhost> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Anyone can run Sun JDK13's JFC/Swing application with IM? IM causes a problem. If I set environment variable XMODIFIERS as follow: % setenv XMODIFIERS @im=vje Sun JDK13 JFC/Swing application will freeze soon after wake up. On IBM JDK13, that works good :) (but not fine) p.s. IM(Input Method): The frontend to input JCK text. IM is very important. > Well, I did try them out. > > Sun JDK for Linux 1.3 (from ports) runs with -hotspot (as it was reported > many times now) very fast and seems reliable (both awt and console > applications) > > IBM JDK 1.1.8 hands and brings load to 2.0 > > IBM JDK 1.3 works fine Daichi T.GOTO(ONGS) http://www.ongs.net/daichi, daichi@ongs.gr.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 9 9:12:35 2001 Delivered-To: freebsd-java@freebsd.org Received: from calliope.cs.brandeis.edu (calliope.cs.brandeis.edu [129.64.3.189]) by hub.freebsd.org (Postfix) with ESMTP id 8E56F37B719 for ; Fri, 9 Mar 2001 09:12:30 -0800 (PST) (envelope-from meshko@calliope.cs.brandeis.edu) Received: from localhost (meshko@localhost) by calliope.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id MAA10716 for ; Fri, 9 Mar 2001 12:12:28 -0500 Date: Fri, 9 Mar 2001 12:12:28 -0500 (EST) From: Mikhail Kruk To: Subject: hotspot crash on 4.3 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I left a java server running under Linux JDK 1.3 hotspot running overnight and it did eventually crash on me :( I think Andrew wanted to see details on that, so here we go: Here is the output: # # HotSpot Virtual Machine Error, Unexpected Signal 11 # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # # Error ID: 4F533F4C494E55580E43505005BC # # Problematic Thread: prio=671560392 tid=0x80f9778 nid=0x2364 runnable # Abort (core dumped) core file is also available but huge. System is 4.3-BETA of March 7th. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 9 10:20: 2 2001 Delivered-To: freebsd-java@freebsd.org Received: from smtp2.knology.net (user-24-214-63-12.knology.net [24.214.63.12]) by hub.freebsd.org (Postfix) with SMTP id 25D1B37B71B for ; Fri, 9 Mar 2001 10:19:53 -0800 (PST) (envelope-from n4cnw@knology.net) Received: (qmail 16729 invoked by uid 1003); 9 Mar 2001 18:22:10 -0000 Received: from user-24-214-88-73.knology.net (HELO n4cnw.dyndns.org) (24.214.88.73) by user-24-214-63-12.knology.net with SMTP; 9 Mar 2001 18:22:10 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Mike Murphree To: Mikhail Kruk Subject: Re: hotspot crash on 4.3 Date: Fri, 9 Mar 2001 12:19:43 -0600 X-Mailer: KMail [version 1.2] References: In-Reply-To: Cc: freebsd-java@freebsd.org MIME-Version: 1.0 Message-Id: <01030912194302.02651@n4cnw.dyndns.org> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Friday 09 March 2001 11:12 am, you wrote: > I left a java server running under Linux JDK 1.3 hotspot running overnight > and it did eventually crash on me :( > > I think Andrew wanted to see details on that, so here we go: > > Here is the output: > > # > # HotSpot Virtual Machine Error, Unexpected Signal 11 > # Please report this error at > # http://java.sun.com/cgi-bin/bugreport.cgi > # > # Error ID: 4F533F4C494E55580E43505005BC > # > # Problematic Thread: prio=671560392 tid=0x80f9778 nid=0x2364 runnable > # > Abort (core dumped) > > core file is also available but huge. > System is 4.3-BETA of March 7th. Same as I had, core file was 143 MB. I re-arranged 'jvm.cfg' to put -classic first and it doesn't crash anymore.... Mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 9 11:16: 1 2001 Delivered-To: freebsd-java@freebsd.org Received: from calliope.cs.brandeis.edu (calliope.cs.brandeis.edu [129.64.3.189]) by hub.freebsd.org (Postfix) with ESMTP id 23EB137B726 for ; Fri, 9 Mar 2001 11:15:51 -0800 (PST) (envelope-from meshko@calliope.cs.brandeis.edu) Received: from localhost (meshko@localhost) by calliope.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id OAA11444; Fri, 9 Mar 2001 14:15:47 -0500 Date: Fri, 9 Mar 2001 14:15:47 -0500 (EST) From: Mikhail Kruk To: Mike Murphree Cc: Subject: Re: hotspot crash on 4.3 In-Reply-To: <01030912194302.02651@n4cnw.dyndns.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > # > > # HotSpot Virtual Machine Error, Unexpected Signal 11 > > # Please report this error at > > # http://java.sun.com/cgi-bin/bugreport.cgi > > # > > # Error ID: 4F533F4C494E55580E43505005BC > > # > > # Problematic Thread: prio=671560392 tid=0x80f9778 nid=0x2364 runnable > > # > > Abort (core dumped) > > > > core file is also available but huge. > > System is 4.3-BETA of March 7th. > > Same as I had, core file was 143 MB. I re-arranged 'jvm.cfg' to put > -classic first and it doesn't crash anymore.... > > Mike > well, the idea was that I tried it on 4.3-BETA and it has some new stuff for Linux signals emulation which (AFAIK) was supposed to solve the problem.. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 9 11:32:23 2001 Delivered-To: freebsd-java@freebsd.org Received: from xsb.com (dh198-236.dhcp.sunysb.edu [129.49.198.236]) by hub.freebsd.org (Postfix) with ESMTP id 3F07737B719 for ; Fri, 9 Mar 2001 11:32:19 -0800 (PST) (envelope-from chris@xsb.com) Received: (from chris@localhost) by xsb.com (8.11.3/8.11.3) id f29JVp102149; Fri, 9 Mar 2001 14:31:51 -0500 (EST) (envelope-from chris) From: Christopher Rued MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15017.12199.692204.547372@chris.xsb.com> Date: Fri, 9 Mar 2001 14:31:51 -0500 To: Mikhail Kruk Cc: Subject: hotspot crash on 4.3 In-Reply-To: References: X-Mailer: VM 6.90 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Mikhail Kruk writes: > I left a java server running under Linux JDK 1.3 hotspot running overnight > and it did eventually crash on me :( > > I think Andrew wanted to see details on that, so here we go: > > Here is the output: > > # > # HotSpot Virtual Machine Error, Unexpected Signal 11 > # Please report this error at > # http://java.sun.com/cgi-bin/bugreport.cgi > # > # Error ID: 4F533F4C494E55580E43505005BC > # > # Problematic Thread: prio=671560392 tid=0x80f9778 nid=0x2364 runnable > # > Abort (core dumped) > > core file is also available but huge. > System is 4.3-BETA of March 7th. I get the same thing: [java] # [java] # HotSpot Virtual Machine Error, Unexpected Signal 11 [java] # Please report this error at [java] # http://java.sun.com/cgi-bin/bugreport.cgi [java] # [java] # Error ID: 4F533F4C494E55580E43505005BC [java] # [java] # Problematic Thread: prio=671556352 tid=0x804fb68 nid=0x6af runnable [java] # `uname -a' output: FreeBSD chris.xsb.com 4.3-BETA FreeBSD 4.3-BETA #2: Fri Mar 9 10:56:59 EST 2001 chris@chris.xsb.com:/usr/obj/usr/src/sys/ROVER i386 cvsup-ed on 3/8/01. I also have a huge (140MB) core file available. Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 9 12:18:46 2001 Delivered-To: freebsd-java@freebsd.org Received: from crewsoft.com (ns.aenet.net [157.22.214.1]) by hub.freebsd.org (Postfix) with ESMTP id 0281337B718 for ; Fri, 9 Mar 2001 12:18:44 -0800 (PST) (envelope-from cedric@wireless-networks.com) Received: from [172.17.1.25] (account cberger@wireless-networks.com HELO wireless-networks.com) by crewsoft.com (CommuniGate Pro SMTP 3.4b8) with ESMTP id 521513; Fri, 09 Mar 2001 12:21:33 -0800 Message-ID: <3AA93A89.E4E1E2EF@wireless-networks.com> Date: Fri, 09 Mar 2001 12:18:17 -0800 From: Cedric Berger X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Mikhail Kruk Cc: java@freebsd.org Subject: Re: hotspot crash on 4.3 - SUN BUG? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This may be a sun bug: http://developer.java.sun.com/developer/bugParade/bugs/4392290.html Cedric Mikhail Kruk wrote: > I left a java server running under Linux JDK 1.3 hotspot running overnight > and it did eventually crash on me :( > > I think Andrew wanted to see details on that, so here we go: > > Here is the output: > > # > # HotSpot Virtual Machine Error, Unexpected Signal 11 > # Please report this error at > # http://java.sun.com/cgi-bin/bugreport.cgi > # > # Error ID: 4F533F4C494E55580E43505005BC > # > # Problematic Thread: prio=671560392 tid=0x80f9778 nid=0x2364 runnable > # > Abort (core dumped) > > core file is also available but huge. > System is 4.3-BETA of March 7th. > > 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 9 14: 6: 7 2001 Delivered-To: freebsd-java@freebsd.org Received: from pluto.senet.com.au (pluto.senet.com.au [203.56.239.150]) by hub.freebsd.org (Postfix) with ESMTP id 747A737B71A for ; Fri, 9 Mar 2001 14:06:04 -0800 (PST) (envelope-from glewis@misty.eyesbeyond.com) Received: from misty.eyesbeyond.com (c21-fr-p92.senet.com.au [172.16.21.93]) by pluto.senet.com.au (8.11.0/8.11.0) with ESMTP id f29M5vl84404; Sat, 10 Mar 2001 08:36:01 +1030 (CST) (envelope-from glewis@misty.eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.1/8.11.1) id f29M5a364487; Sat, 10 Mar 2001 08:35:36 +1030 (CST) (envelope-from glewis) Date: Sat, 10 Mar 2001 08:35:36 +1030 From: Greg Lewis To: "Koster, K.J." Cc: "'Greg Lewis'" , Tim Zingelman , freebsd-java@FreeBSD.ORG Subject: Re: Tomcat for BSD (was: RE: Trying to Create a simple Bean) Message-ID: <20010310083535.A64357@misty.eyesbeyond.com> References: <59063B5B4D98D311BC0D0001FA7E4522026D7C9C@l04.research.kpn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <59063B5B4D98D311BC0D0001FA7E4522026D7C9C@l04.research.kpn.com>; from K.J.Koster@kpn.com on Fri, Mar 09, 2001 at 11:07:19AM +0100 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Mar 09, 2001 at 11:07:19AM +0100, Koster, K.J. wrote: > > You also need to patch it to build it with the native JDKs, but the > > patches are different (And quite a bit smaller) than what you include > > below. This will need to be need to be sorted out before the port can > > be updated. > > > If you use the release version of Tomcat 3.2.1 you will find that no > patching of any sort is needed. Just download, unzip and run. Yep, but we were talking about compiling from source, and, in particular, compiling mod_jk from source. Which you do need to patch :). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Mobile: 0419 868 494 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 9 14:12:58 2001 Delivered-To: freebsd-java@freebsd.org Received: from pluto.senet.com.au (pluto.senet.com.au [203.56.239.150]) by hub.freebsd.org (Postfix) with ESMTP id C69FC37B71A for ; Fri, 9 Mar 2001 14:12:48 -0800 (PST) (envelope-from glewis@misty.eyesbeyond.com) Received: from misty.eyesbeyond.com (c21-fr-p92.senet.com.au [172.16.21.93]) by pluto.senet.com.au (8.11.0/8.11.0) with ESMTP id f29MCjl85986; Sat, 10 Mar 2001 08:42:46 +1030 (CST) (envelope-from glewis@misty.eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.1/8.11.1) id f29MCPt64529; Sat, 10 Mar 2001 08:42:25 +1030 (CST) (envelope-from glewis) Date: Sat, 10 Mar 2001 08:42:24 +1030 From: Greg Lewis To: Daichi GOTO Cc: Tim Zingelman , freebsd-java@FreeBSD.ORG Subject: Re: Tomcat for BSD (was: RE: Trying to Create a simple Bean) Message-ID: <20010310084224.B64357@misty.eyesbeyond.com> References: <84744572.984140838459.JavaMail.daichi@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <84744572.984140838459.JavaMail.daichi@localhost>; from daichi@ongs.gr.jp on Fri, Mar 09, 2001 at 09:27:18PM +0900 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Mar 09, 2001 at 09:27:18PM +0900, Daichi GOTO wrote: > (snip) > > You will also need to build a mod_jk.o shared library to hook tomcat to > > apache... here's the diff to the makefile included in the apache tarball: > > jakarta-tomcat-3.2.1-src.tar.gz > (snip) > > jakarta-tomcat-3.2.1-src/src/native/apache1.3/Makefile.freebsd > > > (snip) > > +OS=linux > > +APXS=/usr/local/sbin/apxs > (snip) > > -CFLAGS=-DHAVE_CONFIG_H -g -fpic -DSHARED_MODULE -O2 -D_REENTRANT > > -pthread -DLINUX -Wall > > +CFLAGS=-DHAVE_CONFIG_H -g -fpic -DSHARED_MODULE -O2 -pthread -DFREEBSD > > -Wall > (snip) > > %.o: ../jk/%.c > > - ${CC} -c ${CFLAGS} ${JAVA_INCL} ${A13_FLAGS} $< -o $@ > > + ${CC} -c ${CFLAGS} ${JAVA_INCL} $< -o $@ > > > > .c.o: > > - ${APXS} -c ${JAVA_INCL} -DFREEBSD ${A13_FLAGS} -I../jk $< > > + ${APXS} -c ${JAVA_INCL} -DFREEBSD -I../jk $< > > Please teach me why your patch leads success to run apache-tomcat on FreeBSD. > I am wondering that your patch leads success without pthread install. > I have made patch to run apache-tomcat as follow: > > ------------ > diff -urP native/apache1.3/Makefile.orig native/apache1.3/Makefile > --- native/apache1.3/Makefile.orig Thu Jan 1 09:00:00 1970 > +++ native/apache1.3/Makefile Sun Mar 4 03:42:30 2001 > @@ -0,0 +1,39 @@ > +## You need to edit this file - configure later :-) > + > +#APACHE_HOME=/usr/local/apache > +OS=freebsd > +APXS=/usr/local/sbin/apxs > + > +A13_FLAGS=-I/usr/local/include/apache > + > +## I assume this one is set up already > +JAVA_HOME=/usr/local/jdk1.2.2 > + > +JAVA_INCL=-I${JAVA_HOME}/include -I${JAVA_HOME}/include/${OS} > +JAVA_LIB=-L${JAVA_HOME}/jre/lib/${ARCH} -L${JAVA_HOME}/lib/${ARCH}/native_threads > + > +CFLAGS=-DHAVE_CONFIG_H -g -fpic -DSHARED_MODULE -O2 -D_REENTRANT -pthread -DLINUX -Wall > + > +JK=../jk/ > +SRCS=jk_ajp12_worker.c jk_connect.c jk_msg_buff.c jk_util.c jk_ajp13.c \ > + jk_jni_worker.c jk_pool.c jk_worker.c jk_ajp13_worker.c jk_lb_worker.c \ > + jk_sockbuf.c jk_map.c jk_uri_worker_map.c > + > + > +OBJS=${patsubst %.c,%.o,${SRCS}} > + > +%.o: ../jk/%.c > + ${CC} -c ${CFLAGS} ${JAVA_INCL} ${A13_FLAGS} $< -o $@ > + > +.c.o: > + ${APXS} -c ${JAVA_INCL} -DFREEBSD ${A13_FLAGS} -I../jk $< > + > +all: mod_jk.so > + > +mod_jk.so: ${OBJS} mod_jk.o > + $(APXS) -L/usr/local/lib -lpthread -c -o mod_jk.so ${OBJS} mod_jk.o > + > +# $(CC) -shared -o mod_jk.so ${OBJS} mod_jk.o > + > +clean: > + rm *.o *.so > diff -urP native/jk/jk_util.c.orig native/jk/jk_util.c > --- native/jk/jk_util.c.orig Wed Dec 13 07:51:56 2000 > +++ native/jk/jk_util.c Sun Mar 4 03:42:21 2001 > @@ -90,6 +90,8 @@ > #define HUGE_BUFFER_SIZE (8*1024) > #define LOG_LINE_SIZE (1024) > > +#define fdatasync(param1) (fsync(param1)) > + > struct file_logger { > FILE *logfile; > }; > ------------ > > And this patch requres pth(/usr/deve/pth) before gmake all. And the mod_jk.so genereted > by above works fine. > But your patch do not requre pthead. But that works fine. Gah. You only need to change two lines. The first change allows you to set APACHE_HOME as an environment variable for wherever you have it installed. The second change means you don't need any thread packages and fixes the compile of jk_util.c (-DLINUX in Makefile.freebsd must be a bug). --- Makefile.freebsd.orig Sat Mar 10 08:32:57 2001 +++ Makefile.freebsd Sat Mar 10 08:34:24 2001 @@ -1,6 +1,6 @@ ## You need to edit this file - configure later :-) -APACHE_HOME=/usr/local/apache +APACHE_HOME?=/usr/local/apache OS=freebsd APXS=${APACHE_HOME}/bin/apxs @@ -12,7 +12,7 @@ JAVA_INCL=-I${JAVA_HOME}/include -I${JAVA_HOME}/include/${OS} JAVA_LIB=-L${JAVA_HOME}/jre/lib/${ARCH} -L${JAVA_HOME}/lib/${ARCH}/native_threads -CFLAGS=-DHAVE_CONFIG_H -g -fpic -DSHARED_MODULE -O2 -D_REENTRANT -pthread -DLINUX -Wall +CFLAGS=-DHAVE_CONFIG_H -g -fpic -DSHARED_MODULE -O2 -DFREEBSD -Wall JK=../jk/ SRCS=jk_ajp12_worker.c jk_connect.c jk_msg_buff.c jk_util.c jk_ajp13.c \ -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Mobile: 0419 868 494 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 9 14:26:27 2001 Delivered-To: freebsd-java@freebsd.org Received: from pluto.senet.com.au (pluto.senet.com.au [203.56.239.150]) by hub.freebsd.org (Postfix) with ESMTP id 75AC537B71B for ; Fri, 9 Mar 2001 14:26:23 -0800 (PST) (envelope-from glewis@misty.eyesbeyond.com) Received: from misty.eyesbeyond.com (c21-fr-p92.senet.com.au [172.16.21.93]) by pluto.senet.com.au (8.11.0/8.11.0) with ESMTP id f29MQLl89552; Sat, 10 Mar 2001 08:56:21 +1030 (CST) (envelope-from glewis@misty.eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.1/8.11.1) id f29MQ1664653; Sat, 10 Mar 2001 08:56:01 +1030 (CST) (envelope-from glewis) Date: Sat, 10 Mar 2001 08:56:00 +1030 From: Greg Lewis To: Bill Huey Cc: freebsd-java@FreeBSD.ORG Subject: Re: OpenPackages + Java ? Message-ID: <20010310085600.A64632@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 billh@gnuppy.monkey.org on Thu, Mar 08, 2001 at 04:07:05PM -0800 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, Mar 08, 2001 at 04:07:05PM -0800, Bill Huey wrote: > I reserved an IRC channel on openprojects.net call #openpackages that > I'll be sitting on so that we can do general chat plus get the patch > merge effort between my code and Greg Lewis going. Just one question. Why #openpackages rather than #bsdjava :) -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Mobile: 0419 868 494 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 9 15:15:31 2001 Delivered-To: freebsd-java@freebsd.org Received: from mail.sageian.com (ns.sage-consult.com [208.201.118.11]) by hub.freebsd.org (Postfix) with ESMTP id 9363737B71A for ; Fri, 9 Mar 2001 15:15:22 -0800 (PST) (envelope-from rraykov@sageian.com) Received: from pricli012 (proxy.sageian.com [208.201.118.126]) by mail.sageian.com (Postfix) with SMTP id 6EBC36A909; Fri, 9 Mar 2001 18:15:21 -0500 (EST) Message-ID: <020101c0a8ef$07a46bc0$4c00000a@sage> Reply-To: "Rossen Raykov" From: "Rossen Raykov" To: Cc: References: <005101c0a834$e3738b60$0300000a@plethora> Subject: Re: TomCat 4 and scratchDir and Tomcat for BSD Date: Fri, 9 Mar 2001 18:16:54 -0500 Organization: SageConsult, Princeton MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org It looks like tomcat4 is not honoring the workDir. I look in the sources and the only one place that it is set is based on constant strings. Rossen ----- Original Message ----- From: To: Cc: Sent: Thursday, March 08, 2001 8:04 PM Subject: Re: TomCat 4 and scratchDir and Tomcat for BSD Hi, > Hi All, > > To someone know how to set the scratchDir used by jasper/tomcat 4 to some > different location then the default "work"? > I didn't find any documentation about that. I try some things with > server.xml and web.xml but without success... > I am interested also from an URL from which I can download jasper sources. > > Thanks, > > Rossen As far as I am aware for Tomcat 3.2.1 (I haven't tried 4 yet) the work folder is specified in the server.xml - thus where work is relative to your $TOMCAT_HOME - if you change the workDir directive you can force it to be created elsewhere - though if you omit it, it defaults to 'work' in the $TOMCAT_HOME directory. I think that it still has to be called 'work' whereever you put it but don't quote me on that. Obviously I'm not sure if there is a fundamental difference in Tomcat 4 Onto the Tomcat for BSD Issue - I am a recent convert to FreeBSD and have been working at putting together a tomcat port which, to please our sysadmin, actually keeps to the BSD hierarchy. Basically in order to do I needed to use the src version of tomcat and servletapi so I could tweak it. As a result the 'conf' folder defaults to /usr/local/etc/tomcat, the binaries are put in /usr/local/bin, libs are in usr/local/share/java/classes, logs in /var/log and docs in /usr/local/share/doc/java/tomcat. The Port sets the $TOMCAT_HOME to /usr/local/www and creates the webapps and work directory there. have also tweaked it so that the mod-jk.conf-auto is actually pointing /usr/local/libexec/apache. I also patched mod_jk so it works (I found the supplied Makefile generated an unusable module). Before anybody asks you can replace all mentions of /usr/local with $PREFIX..... One of the caveats to working with src ditribution is that you need a port of ant also - which several have been submitted but not committed so I have written my own based on the recent 1.3 release which also works within the BSD hierarchy. The other caveat is that I split tomcat into several separate ports , servletapi, tomcat, mod_jk and I also put together a binary port of the jsse package from sun. In my experience tomcat 3.2.1 will compile on all four of the FreeBSD JDK ports but for jdk1.2.2, linux-jdk1.2.2 and 1.3.0 you have to have the jsse jars to get it to work. The ports i've made reflect that issue also. Basically I was wondering if people out there felt this was worth submitting - I've noticed java ports generally do not make it to the commit stage readily though i'm not sure if this is lack of interest or some other issue. I also realise a binary install of tomcat would only require one download not up to four!! and also some people actually prefer preformed jar's but for tomcat at least this restricts them to installations into /usr/local/tomcat or similar. This solution may be somewhat overkill but it was fun writing it. Since I also got into this whole porting lark as a way of learning to use jsp / servlets this port would need testing with some real life examples which i haven't really done very much yet. please let me know if this is of any use and I can submit them. -- Richard Stockley: Internet Developer - rws@procopia.com Procopia Ltd UK Mobile - 07941 026 869 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 9 16:38: 8 2001 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (cx739861-a.dt1.sdca.home.com [24.5.164.61]) by hub.freebsd.org (Postfix) with ESMTP id 3C35737B71A for ; Fri, 9 Mar 2001 16:38:02 -0800 (PST) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.22 #1 (Debian)) id 14bWpY-0000WO-00; Fri, 09 Mar 2001 16:01:56 -0800 Date: Fri, 9 Mar 2001 16:01:55 -0800 To: Greg Lewis Cc: Bill Huey , freebsd-java@FreeBSD.ORG Subject: Re: OpenPackages + Java ? Message-ID: <20010309160155.A1957@gnuppy> References: <20010310085600.A64632@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.15i In-Reply-To: <20010310085600.A64632@misty.eyesbeyond.com>; from glewis@eyesbeyond.com on Sat, Mar 10, 2001 at 08:56:00AM +1030 From: Bill Huey Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, Mar 10, 2001 at 08:56:00AM +1030, Greg Lewis wrote: > Just one question. Why #openpackages rather than #bsdjava :) > Greg Lewis Email : glewis@eyesbeyond.com I just hijacked that too. ;-) Originally I conceived the possiblity that the JVM should be the first openpackage module to be released to the public, but it's looking like that'll complicate things more than necessary given what the group wants, unclarity of the goals, no code, etc... bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 9 16:40:49 2001 Delivered-To: freebsd-java@freebsd.org Received: from pluto.senet.com.au (pluto.senet.com.au [203.56.239.150]) by hub.freebsd.org (Postfix) with ESMTP id AED4F37B718 for ; Fri, 9 Mar 2001 16:40:46 -0800 (PST) (envelope-from glewis@misty.eyesbeyond.com) Received: from misty.eyesbeyond.com (c22-fr-p232.senet.com.au [172.16.22.233]) by pluto.senet.com.au (8.11.0/8.11.0) with ESMTP id f2A0ecl27717; Sat, 10 Mar 2001 11:10:38 +1030 (CST) (envelope-from glewis@misty.eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.1/8.11.1) id f2A0eH765224; Sat, 10 Mar 2001 11:10:17 +1030 (CST) (envelope-from glewis) Date: Sat, 10 Mar 2001 11:10:17 +1030 From: Greg Lewis To: Greg Lewis Cc: Daichi GOTO , Tim Zingelman , freebsd-java@FreeBSD.ORG Subject: Re: Tomcat for BSD (was: RE: Trying to Create a simple Bean) Message-ID: <20010310111017.A65197@misty.eyesbeyond.com> References: <84744572.984140838459.JavaMail.daichi@localhost> <20010310084224.B64357@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010310084224.B64357@misty.eyesbeyond.com>; from glewis@eyesbeyond.com on Sat, Mar 10, 2001 at 08:42:24AM +1030 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Following up myself... On Sat, Mar 10, 2001 at 08:42:24AM +1030, Greg Lewis wrote: > Gah. You only need to change two lines. The first change allows you to > set APACHE_HOME as an environment variable for wherever you have it > installed. The second change means you don't need any thread packages and > fixes the compile of jk_util.c (-DLINUX in Makefile.freebsd must be a bug). You may actually be ok leaving the -pthread -D_REENTRANT part of CFLAGS in. It made apache barf for me, but I don't use the ports version. Regardless of this, I still believe Makefile.freebsd only needs two lines patched to compile mod_jk for the native JDKs. You probably need to change the OS=freebsd line to OS=linux to get it to compile with the Linux JDKs however. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Mobile: 0419 868 494 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 9 22:28:52 2001 Delivered-To: freebsd-java@freebsd.org Received: from gate.jtjang.idv.tw (227.c210-58-165.ethome.net.tw [210.58.165.227]) by hub.freebsd.org (Postfix) with ESMTP id 3D54C37B719 for ; Fri, 9 Mar 2001 22:28:48 -0800 (PST) (envelope-from keith@gate.jtjang.idv.tw) Received: (from keith@localhost) by gate.jtjang.idv.tw (8.11.3/8.11.2) id f2A6Sdd52931 for java@FreeBSD.ORG; Sat, 10 Mar 2001 14:28:39 +0800 (CST) (envelope-from keith) Date: Sat, 10 Mar 2001 14:28:38 +0800 From: Jing-Tang Keith Jang To: java@FreeBSD.ORG Subject: Re: IBM JDKs, Sun JDK Message-ID: <20010310142838.A48797@gate.jtjang.idv.tw> Reply-To: keith@FreeBSD.ORG Mail-Followup-To: java@FreeBSD.ORG References: <84741632.984142239630.JavaMail.daichi@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <84741632.984142239630.JavaMail.daichi@localhost>; from daichi@ongs.gr.jp on Fri, Mar 09, 2001 at 09:50:39PM +0900 X-Operating-System: FreeBSD gate.jtjang.idv.tw 5.0-CURRENT FreeBSD 5.0-CURRENT Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I only tried the Notepad jfc demo. With some font tuning in font.properties.zh, it can accept input from XIM server, and display properly. Here's my setup: -current as of 3/9, with a 3/5 linux.ko, to avoid panic :p java/linux-jdk13 chinese/cle_base for BIG5 friendly chinese/xcin25 as the input server, use root input style On 03/09/01, Daichi GOTO wrote: > Anyone can run Sun JDK13's JFC/Swing application with IM? > IM causes a problem. If I set environment variable XMODIFIERS as > follow: > > % setenv XMODIFIERS @im=vje > > Sun JDK13 JFC/Swing application will freeze soon after wake up. > On IBM JDK13, that works good :) (but not fine) > -- Less facilities, more enjoyment. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Mar 10 6:18:34 2001 Delivered-To: freebsd-java@freebsd.org Received: from brave.vnet (IP1B0481.aic.mesh.ad.jp [202.225.229.101]) by hub.freebsd.org (Postfix) with ESMTP id 44AD237B719; Sat, 10 Mar 2001 06:18:30 -0800 (PST) (envelope-from daichi@ongs.gr.jp) Received: from localhost (localhost [127.0.0.1]) by brave.vnet (8.11.1/8.11.1) with ESMTP id f2AEIkv02159; Sat, 10 Mar 2001 23:18:48 +0900 (JST) (envelope-from daichi@ongs.gr.jp) Date: Sat, 10 Mar 2001 23:18:46 +0900 (JST) From: Daichi GOTO To: keith@FreeBSD.ORG Subject: Re: IBM JDKs, Sun JDK Cc: java@FreeBSD.ORG In-Reply-to: <20010310142838.A48797@gate.jtjang.idv.tw> Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit X-Mailer: =?iso-2022-jp?B?GyRCJGYkOhsoQiAxLjAwMA==?= Organization: ONGS Mime-Version: 1.0 Message-ID: <84735128.984233926748.JavaMail.daichi@localhost> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I only tried the Notepad jfc demo. With some font tuning in > font.properties.zh, it can accept input from XIM server, and > display properly. Here's my setup: > > -current as of 3/9, with a 3/5 linux.ko, to avoid panic :p > java/linux-jdk13 > chinese/cle_base for BIG5 friendly > chinese/xcin25 as the input server, use root input style I am interested in XIM server very must. A thing heard of for the first time, XIM server is. However, I can not understand. Why can you input through XIM protocol without XMODIFIERS environment variable? I think you need to set XMODIFIERS environment variable. Java allows to input CJK text through XIM protocol. To do so, you need teach that to JVM. The XMODIFIERS environment variable does that work. But you can input without it. Why? Would you teach me why you can input without XMODIFIERS enrironment variable. Daichi T.GOTO(ONGS) http://www.ongs.net/daichi, daichi@ongs.gr.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Mar 10 6:52:10 2001 Delivered-To: freebsd-java@freebsd.org Received: from gate.jtjang.idv.tw (227.c210-58-165.ethome.net.tw [210.58.165.227]) by hub.freebsd.org (Postfix) with ESMTP id 69CD237B718 for ; Sat, 10 Mar 2001 06:52:06 -0800 (PST) (envelope-from keith@gate.jtjang.idv.tw) Received: (from keith@localhost) by gate.jtjang.idv.tw (8.11.3/8.11.2) id f2AEq1420881 for java@FreeBSD.ORG; Sat, 10 Mar 2001 22:52:01 +0800 (CST) (envelope-from keith) Date: Sat, 10 Mar 2001 22:51:59 +0800 From: Jing-Tang Keith Jang To: java@FreeBSD.ORG Subject: Re: IBM JDKs, Sun JDK Message-ID: <20010310225159.A97543@gate.jtjang.idv.tw> Reply-To: keith@FreeBSD.ORG Mail-Followup-To: java@FreeBSD.ORG References: <20010310142838.A48797@gate.jtjang.idv.tw> <84735128.984233926748.JavaMail.daichi@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <84735128.984233926748.JavaMail.daichi@localhost>; from daichi@ongs.gr.jp on Sat, Mar 10, 2001 at 11:18:46PM +0900 X-Operating-System: FreeBSD gate.jtjang.idv.tw 5.0-CURRENT FreeBSD 5.0-CURRENT Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I did, just forgot to mention them in the reply. Here's my i18n- related environment(in ~/.tcshrc): setenv LC_CTYPE zh_TW.Big5 setenv LANG zh_TW.Big5 setenv ENABLE_STARTUP_LOCALE zh_TW.Big5 setenv MM_CHARSET Big5 setenv XMODIFIERS "@im=xcin" I also have $dspmbyte set, but since it's long(256 bytes) and tcsh- specific, it isn't included in the above. -current is also better SUSv2 compliant(langinfo etc.), but that shouldn't make much difference. On 03/10/01, Daichi GOTO wrote: > However, I can not understand. Why can you input through XIM protocol > without XMODIFIERS environment variable? I think you need to set > XMODIFIERS environment variable. -- Less facilities, more enjoyment. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Mar 10 7:31:21 2001 Delivered-To: freebsd-java@freebsd.org Received: from brave.vnet (IP1B0481.aic.mesh.ad.jp [202.225.229.101]) by hub.freebsd.org (Postfix) with ESMTP id 96CAA37B719; Sat, 10 Mar 2001 07:31:17 -0800 (PST) (envelope-from daichi@ongs.gr.jp) Received: from localhost (localhost [127.0.0.1]) by brave.vnet (8.11.1/8.11.1) with ESMTP id f2AFVev02789; Sun, 11 Mar 2001 00:31:42 +0900 (JST) (envelope-from daichi@ongs.gr.jp) Date: Sun, 11 Mar 2001 00:31:40 +0900 (JST) From: Daichi GOTO To: keith@FreeBSD.ORG Subject: Re: IBM JDKs, Sun JDK Cc: java@FreeBSD.ORG In-Reply-to: <20010310225159.A97543@gate.jtjang.idv.tw> Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit X-Mailer: =?iso-2022-jp?B?GyRCJGYkOhsoQiAxLjAwMA==?= Organization: ONGS Mime-Version: 1.0 Message-ID: <84719169.984238300819.JavaMail.daichi@localhost> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I did, just forgot to mention them in the reply. Here's my i18n- > related environment(in ~/.tcshrc): > > setenv LC_CTYPE zh_TW.Big5 > setenv LANG zh_TW.Big5 > setenv ENABLE_STARTUP_LOCALE zh_TW.Big5 Wow, what is ENABLE_STARTUP_LOCALE? I got to know for the first time. > setenv MM_CHARSET Big5 > setenv XMODIFIERS "@im=xcin" > > I also have $dspmbyte set, but since it's long(256 bytes) and tcsh- > specific, it isn't included in the above. Uhmm, it seems the same as me. > -current is also better SUSv2 compliant(langinfo etc.), but that > shouldn't make much difference. IMO, the Linuxulator is a cause of this problem. I am using Linuxulator facility with Mr. Andrew Gallatin's patch on FreeBSD 4.2-stable. Probably modification will be added to -current code in addition to a patch of Andrew. I think that the modification made input through XIM protocol possible. But the problem depends on Sun's one. IBM JDK13 has no problem about inputing through XIM protocol. That works. Daichi T.GOTO(ONGS) http://www.ongs.net/daichi, daichi@ongs.gr.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Mar 10 21:41:25 2001 Delivered-To: freebsd-java@freebsd.org Received: from gate.jtjang.idv.tw (227.c210-58-165.ethome.net.tw [210.58.165.227]) by hub.freebsd.org (Postfix) with ESMTP id AEEBF37B71A for ; Sat, 10 Mar 2001 21:41:21 -0800 (PST) (envelope-from keith@gate.jtjang.idv.tw) Received: (from keith@localhost) by gate.jtjang.idv.tw (8.11.3/8.11.2) id f2B5fCR19222 for java@FreeBSD.ORG; Sun, 11 Mar 2001 13:41:12 +0800 (CST) (envelope-from keith) Date: Sun, 11 Mar 2001 13:41:12 +0800 From: Jing-Tang Keith Jang To: java@FreeBSD.ORG Subject: Re: IBM JDKs, Sun JDK Message-ID: <20010311134112.A19096@gate.jtjang.idv.tw> Reply-To: keith@FreeBSD.ORG Mail-Followup-To: java@FreeBSD.ORG References: <20010310225159.A97543@gate.jtjang.idv.tw> <84719169.984238300819.JavaMail.daichi@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <84719169.984238300819.JavaMail.daichi@localhost>; from daichi@ongs.gr.jp on Sun, Mar 11, 2001 at 12:31:40AM +0900 X-Operating-System: FreeBSD gate.jtjang.idv.tw 5.0-CURRENT FreeBSD 5.0-CURRENT Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hmm, a "setenv ENABLE_STARTUP_LOCALE" should suffice. It's a 2.x legacy which calls setlocale() before program initializing, to ensure $LANG will be used, even the program didn't call setlocale(). It should be deprecated now. On 03/11/01, Daichi GOTO wrote: > > setenv ENABLE_STARTUP_LOCALE zh_TW.Big5 > > Wow, what is ENABLE_STARTUP_LOCALE? > I got to know for the first time. > -- Less facilities, more enjoyment. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message