From owner-freebsd-java Sun Jul 4 7:45:16 1999 Delivered-To: freebsd-java@freebsd.org Received: from mx02.together.net (mx02.together.net [204.97.120.62]) by hub.freebsd.org (Postfix) with ESMTP id 8F56114D28 for ; Sun, 4 Jul 1999 07:45:13 -0700 (PDT) (envelope-from portfoli@together.net) Received: from [208.13.204.216] (dial-88-MAX-RIQC-01.ramp.together.net [208.13.204.216]) by mx02.together.net (8.8.8/8.8.8) with ESMTP id JAA31677; Sun, 4 Jul 1999 09:59:42 -0400 Date: Sun, 4 Jul 1999 09:59:42 -0400 From: portfoli@together.net X-Sender: portfoli@pop.together.net Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: as: ; Subject: Video / film producers needed Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Dear: Video/Film Producer We at Mirrorcom are presantly building our web page to include a listing of video producers through out North America. Offten our clients are in need of production services, and as an added benifit to the video producers that use our services, we would like to be able to provide a referace list of video/film production companies in Canada and the United States. If you or your firm would like to be part of the Mirrocom producers link page visit our web page at www.together.net/~dawnc and fill out the form on the producers link page. There is no obligation on your part and it is completely FREE. NOTE: We will soon be placing our web page under a domain name wich will be easyer to remember, as well our web page will be listed will the various search ingens. If you would like more information about the producers link or our company please contact us. Thank you! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Jul 4 21:50:34 1999 Delivered-To: freebsd-java@freebsd.org Received: from mx02.together.net (mx02.together.net [204.97.120.62]) by hub.freebsd.org (Postfix) with ESMTP id C29E515267; Sun, 4 Jul 1999 21:50:30 -0700 (PDT) (envelope-from portfoli@together.net) Received: from [208.13.204.148] (dial-20-MAX-RIQC-01.ramp.together.net [208.13.204.148]) by mx02.together.net (8.8.8/8.8.8) with ESMTP id AAA28374; Mon, 5 Jul 1999 00:08:14 -0400 Date: Mon, 5 Jul 1999 00:08:14 -0400 From: portfoli@together.net X-Sender: portfoli@pop.together.net (Unverified) Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: FREE: ; Subject: Video / film producers needed Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Dear: Video/Film Producer We at Mirrorcom are presantly building our web page to include a listing of video producers through out North America. Offten our clients are in need of production services, and as an added benifit to the video producers that use our services, we would like to be able to provide a referace list of video/film production companies in Canada and the United States. If you or your firm would like to be part of the Mirrocom producers link page visit our web page at www.together.net/~dawnc and fill out the form on the producers link page. There is no obligation on your part and it is completely FREE. NOTE: We will soon be placing our web page under a domain name wich will be easyer to remember, as well our web page will be listed will the various search ingens. If you would like more information about the producers link or our company please contact us. Thank you! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Jul 5 13:22:30 1999 Delivered-To: freebsd-java@freebsd.org Received: from ThinkPad.nowhere.local (dieringe.dialup.fu-berlin.de [160.45.221.216]) by hub.freebsd.org (Postfix) with ESMTP id 4C36914CB7; Mon, 5 Jul 1999 13:22:11 -0700 (PDT) (envelope-from martin@dieringe.dialup.fu-berlin.de) Received: from localhost (localhost [127.0.0.1]) by ThinkPad.nowhere.local (8.9.3/8.9.2) with ESMTP id WAA03388; Mon, 5 Jul 1999 22:22:25 +0200 (CEST) (envelope-from martin@dieringe.dialup.fu-berlin.de) Date: Mon, 5 Jul 1999 22:22:25 +0200 (CEST) From: Martin Dieringer X-Sender: martin@ThinkPad.nowhere.local Reply-To: Martin Dieringer To: freebsd-java@FreeBSD.ORG, freebsd-mobile@FreeBSD.ORG Subject: strange java calculation errors 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 Hi, I use the latest jdk1.1.8_ELF.V99-6-3.tar.gz with applied net-patch. On a few-weeks-old 3.2-STABLE. I have strange arithmetic errors. I sometimes get NaN-s and very big numbers (...E306) which don't appear on any other machine/os and don't appear with the linux-jdk1.2 pre-v2. They strangest thing is that they seem to appear more often when I just move the mouse around (it is an awt-application). the things calculated are: double denom = (.0836 * Math.pow(weight, 1.37)); double weightgain = .2849372 * meatEnergy * weight / denom; and the crash is produced for example with following numbers: weight: 7.676859326020309 denom: 1.3642934228726058 meatEnergy: 0.029994563969828213 --> weightgain: NaN (which should rather be ~.04809140910465598530) Did anybody have similar problems or has an idea what could cause this? This is on a ThinkPad 600, P-II 233. Mousemovement means trackpoint (ps/2) OR external ps/2 mouse. And yes, they appear since I use this Thinkpad. Thanks very much Martin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Jul 5 23:23:16 1999 Delivered-To: freebsd-java@freebsd.org Received: from rztsun.rz.tu-harburg.de (rztsun.rz.tu-harburg.de [134.28.200.14]) by hub.freebsd.org (Postfix) with ESMTP id 178E614C0C for ; Mon, 5 Jul 1999 23:23:03 -0700 (PDT) (envelope-from reimers@tu-harburg.de) Received: from wastl.aut.tu-harburg.de (wastl.aut.tu-harburg.de [134.28.32.1]) by rztsun.rz.tu-harburg.de (8.9.0/8.8.8) with SMTP id IAA04457 for ; Tue, 6 Jul 1999 08:22:58 +0200 (MET DST) Received: from data.aut.tu-harburg.de by wastl.aut.tu-harburg.de with SMTP (1.38.193.4/16.2) id AA28763; Tue, 6 Jul 1999 08:22:56 +0200 Message-Id: <3781AED1.9640CC2B@tu-harburg.de> Date: Tue, 06 Jul 1999 08:22:57 +0100 From: Sven Reimers X-Mailer: Mozilla 4.6 [en] (WinNT; I) X-Accept-Language: en Mime-Version: 1.0 To: FreeBSD-java Subject: JDK1.2-pre-v2 for Linux Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, since there are no ongoing discussions about using 1.2 pre v2 in FreeBSD Linux emulation, I suppose it can be used with out any problems. Am I right? If not is it possible to make it run? ` I'm using 3.2-Release. Anything welcome. TIA Sven To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jul 6 1:30:42 1999 Delivered-To: freebsd-java@freebsd.org Received: from jiyu.net (unknown [209.100.98.61]) by hub.freebsd.org (Postfix) with ESMTP id 881A915048 for ; Tue, 6 Jul 1999 01:30:13 -0700 (PDT) (envelope-from daichi@ongs.net) Received: from localhost (dns001.thn.ne.jp [210.141.251.14]) by jiyu.net (8.8.5/8.8.5) with ESMTP id RAA14248; Tue, 6 Jul 1999 17:24:42 +0900 To: reimers@tu-harburg.de Cc: freebsd-java@FreeBSD.ORG Subject: Re: JDK1.2-pre-v2 for Linux In-Reply-To: <3781AED1.9640CC2B@tu-harburg.de> References: <3781AED1.9640CC2B@tu-harburg.de> X-Mailer: Mew version 1.94b9 on XEmacs 20.4 (Emerald) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <19990706173157W.daichi@ongs.net> Date: Tue, 06 Jul 1999 17:31:57 +0900 From: "Daichi T.GOTO" X-Dispatcher: imput version 990225(IM107) Lines: 40 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org From: Sven Reimers Subject: JDK1.2-pre-v2 for Linux Date: Tue, 06 Jul 1999 08:22:57 +0100 > Hi, > > since there are no ongoing discussions about using 1.2 pre v2 in > FreeBSD Linux emulation, I suppose it can be used with out any > problems. Am I right? If not is it possible to make it run? > ` > I'm using 3.2-Release. Some people reported the success. But I couldn't use it in FreeBSD Linux emulation. If you try it, first, you must link some files under /usr/X11R6/lib to /usr/compat/linux/lib/. And do patch to $JAVA_HOME/bin/.java_wrapper, --- .java_wrapper.org Wed Jun 9 18:19:46 1999 +++ .java_wrapper Wed Jun 9 18:41:52 1999 @@ -31,8 +31,8 @@ # Resolve symlinks. See 4152645. while [ -h "$PRG" ]; do ls=`/bin/ls -ld "$PRG"` - link=`/usr/bin/expr "$ls" : '.*-> \(.*\)$'` - if /usr/bin/expr "$link" : '/' > /dev/null; then + link=`/bin/expr "$ls" : '.*-> \(.*\)$'` + if /bin/expr "$link" : '\/' > /dev/null; then PRG="$link" else PRG="`/usr/bin/dirname $PRG`/$link" And try do it with -green option. Perphaps, you can use it. # I could't use it with swing error. Some application without swing did # work very fine. uhhmm, someone know the reason ? ---- Daichi T.GOTO (ONGS) http://www.ongs.net/daichi, daichi@ongs.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Jul 7 13: 1:55 1999 Delivered-To: freebsd-java@freebsd.org Received: from logatome.micronet.fr (logatome-2.francenet.fr [193.149.96.2]) by hub.freebsd.org (Postfix) with ESMTP id 2B3FE150B2 for ; Wed, 7 Jul 1999 13:01:46 -0700 (PDT) (envelope-from e-masson@kisoft-services.com) Received: from kisoft-services.com (Nantes10.francenet.net [193.149.110.74]) by logatome.micronet.fr (8.8.8/8.8.8) with ESMTP id UAA05531 for ; Wed, 7 Jul 1999 20:37:27 +0200 (CEST) Message-ID: <37839EFD.12C48B11@kisoft-services.com> Date: Wed, 07 Jul 1999 20:39:57 +0200 From: Eric MASSON Organization: Kisoft Services X-Mailer: Mozilla 4.51 [fr] (WinNT; I) X-Accept-Language: fr MIME-Version: 1.0 To: FreeBSD Java Subject: Ejb server on FreeBSD Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, Is there any port of an Ejb Server on FreeBSD 3.* or 4.* ? Thanks in advance Eric MASSON "Speed Kills, Use Windows" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Jul 7 13: 4: 2 1999 Delivered-To: freebsd-java@freebsd.org Received: from ns.mt.sri.com (unknown [206.127.79.91]) by hub.freebsd.org (Postfix) with ESMTP id ED1D0150D8 for ; Wed, 7 Jul 1999 13:03:57 -0700 (PDT) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id OAA09876; Wed, 7 Jul 1999 14:03:56 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id OAA06192; Wed, 7 Jul 1999 14:03:55 -0600 Date: Wed, 7 Jul 1999 14:03:55 -0600 Message-Id: <199907072003.OAA06192@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Eric MASSON Cc: FreeBSD Java Subject: Re: Ejb server on FreeBSD In-Reply-To: <37839EFD.12C48B11@kisoft-services.com> References: <37839EFD.12C48B11@kisoft-services.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Is there any port of an Ejb Server on FreeBSD 3.* or 4.* ? What's an Ejb server? Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Jul 7 16:50:19 1999 Delivered-To: freebsd-java@freebsd.org Received: from svrpii.winsons.com (unknown [202.167.107.162]) by hub.freebsd.org (Postfix) with ESMTP id 72976154F4 for ; Wed, 7 Jul 1999 16:50:03 -0700 (PDT) (envelope-from kiyo@SolicPower.com) Received: from task (t-t130.dialup.mira.net [203.100.225.130]) by svrpii.winsons.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2232.9) id NBRG9BR4; Thu, 8 Jul 1999 07:50:29 +0800 From: "Kiyo Kelvin Lee" To: Subject: Date: Wed, 7 Jul 1999 17:43:28 +1000 Message-ID: <000001bec8d3$44e22ac0$82e164cb@task.SolicPower.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org subscribe kiyolee@yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jul 8 1:39:33 1999 Delivered-To: freebsd-java@freebsd.org Received: from lab321.ru (anonymous1.omsk.net.ru [62.76.128.34]) by hub.freebsd.org (Postfix) with ESMTP id 0439D15237 for ; Thu, 8 Jul 1999 01:39:03 -0700 (PDT) (envelope-from kev@lab321.ru) Received: (from kev@localhost) by lab321.ru (8.9.3/8.9.3) id PAA04556; Thu, 8 Jul 1999 15:38:53 +0700 (OSS) Date: Thu, 8 Jul 1999 15:38:53 +0700 (OSS) From: Eugeny Kuzakov Message-Id: <199907080838.PAA04556@lab321.ru> To: java@freebsd.org Subject: Re: Ejb server on FreeBSD X-Newsgroups: local.maillist.FreeBSD.freebsd.java In-Reply-To: <7m1665$9q2$1@lab321.ru> Organization: CoreDumped Technologies Ltd. MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org ÷Ù ÐÉÓÁÌÉ: > Is there any port of an Ejb Server on FreeBSD 3.* or 4.* ? What is it? url? -- Best wishes, Eugeny http://coredumped.null.ru CoreDumped@CoreDumped.null.ru ICQ#: 5885106 --------- "My doctor told me to stop having intimate dinners for four. Unless there are three other people." -- Orson Welles To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jul 8 2: 2: 7 1999 Delivered-To: freebsd-java@freebsd.org Received: from logatome.micronet.fr (logatome-2.francenet.fr [193.149.96.2]) by hub.freebsd.org (Postfix) with ESMTP id 8017914E8D for ; Thu, 8 Jul 1999 02:02:03 -0700 (PDT) (envelope-from Sebastien.Gioria@FranceNet.fr) Received: from gioria.dialup.FranceNet.fr (eku28.francenet.fr [193.149.97.60]) by logatome.micronet.fr (8.8.8/8.8.8) with ESMTP id LAA02005; Thu, 8 Jul 1999 11:00:14 +0200 (CEST) Received: by gioria.dialup.FranceNet.fr (Postfix, from userid 42) id 6F4E22001A; Thu, 8 Jul 1999 11:00:10 +0200 (CEST) Message-ID: <19990708110010.I1023@FranceNet.fr> Date: Thu, 8 Jul 1999 11:00:10 +0200 From: Sebastien GIORIA To: Nate Williams Cc: freebsd-java@freebsd.org Subject: Re: Ejb server on FreeBSD Reply-To: Sebastien GIORIA References: <37839EFD.12C48B11@kisoft-services.com> <199907072003.OAA06192@mt.sri.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <199907072003.OAA06192@mt.sri.com>; from Nate Williams on Wed, Jul 07, 1999 at 02:03:55PM -0600 Operating-System: Definitely FreeBSD Function: Unix and Security Administrator Organization: FranceNet Postal-Address: 28 Rue Desaix , 75015 PARIS, FRANCE Phone: +33 1 43 92 12 34 Fax: +33 1 43 92 14 45 X-Operating-System: FreeBSD-2.2.8-RELEASE (PAO enabled) on Dell Inspiron 3200 X-URL: http://www.FranceNet.fr -- http://www.freebsd-fr.org Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Jul 07, 1999 at 02:03:55PM -0600, the keyboard of Nate Williams write: > > Is there any port of an Ejb Server on FreeBSD 3.* or 4.* ? > > What's an Ejb server? Enterprise Java Bean server ? > > > Nate > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > -- --> pizeo-electric interference <-- Sebastien Gioria - FranceNet gioria@francenet.fr Unix && Security Administrator security@francenet.fr Tout FreeBSD en Francais =========> http://www.freebsd-fr.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jul 8 9:28:36 1999 Delivered-To: freebsd-java@freebsd.org Received: from ns.mt.sri.com (unknown [206.127.79.91]) by hub.freebsd.org (Postfix) with ESMTP id DC3E714CF0 for ; Thu, 8 Jul 1999 09:28:31 -0700 (PDT) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id KAA24346; Thu, 8 Jul 1999 10:28:30 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id KAA28946; Thu, 8 Jul 1999 10:28:29 -0600 Date: Thu, 8 Jul 1999 10:28:29 -0600 Message-Id: <199907081628.KAA28946@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Sebastien GIORIA Cc: Nate Williams , freebsd-java@freebsd.org Subject: Re: Ejb server on FreeBSD In-Reply-To: <19990708110010.I1023@FranceNet.fr> References: <37839EFD.12C48B11@kisoft-services.com> <199907072003.OAA06192@mt.sri.com> <19990708110010.I1023@FranceNet.fr> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > Is there any port of an Ejb Server on FreeBSD 3.* or 4.* ? > > > > What's an Ejb server? > Enterprise Java Bean server ? Never heard of an EJB server. I know what EJBs are, but I've never heard of server that 'serves' them. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jul 8 14:48:25 1999 Delivered-To: freebsd-java@freebsd.org Received: from logatome.micronet.fr (logatome-2.francenet.fr [193.149.96.2]) by hub.freebsd.org (Postfix) with ESMTP id 916B714EBE for ; Thu, 8 Jul 1999 14:48:16 -0700 (PDT) (envelope-from e-masson@kisoft-services.com) Received: from kisoft-services.com (Nantes4.francenet.net [193.149.110.68]) by logatome.micronet.fr (8.8.8/8.8.8) with ESMTP id XAA03922; Thu, 8 Jul 1999 23:46:13 +0200 (CEST) Message-ID: <3784A73D.C7C29284@kisoft-services.com> Date: Thu, 08 Jul 1999 15:27:25 +0200 From: Eric MASSON Organization: Kisoft Services X-Mailer: Mozilla 4.51 [fr] (WinNT; I) X-Accept-Language: fr MIME-Version: 1.0 To: Nate Williams Cc: FreeBSD Java Subject: Re: Ejb server on FreeBSD References: <37839EFD.12C48B11@kisoft-services.com> <199907072003.OAA06192@mt.sri.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Nate, Just like Sebastien answered, it is an acronym for Enterprise Java Bean Server. It's an application server that hosts server side javabeans. You can find further refs at : http://java.sun.com Regards Eric MASSON Nate Williams a écrit : > > > Is there any port of an Ejb Server on FreeBSD 3.* or 4.* ? > > What's an Ejb server? > > Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jul 8 14:51:11 1999 Delivered-To: freebsd-java@freebsd.org Received: from ns.mt.sri.com (unknown [206.127.79.91]) by hub.freebsd.org (Postfix) with ESMTP id 4ED6515530 for ; Thu, 8 Jul 1999 14:51:03 -0700 (PDT) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id PAA28585; Thu, 8 Jul 1999 15:51:01 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id PAA02849; Thu, 8 Jul 1999 15:51:00 -0600 Date: Thu, 8 Jul 1999 15:51:00 -0600 Message-Id: <199907082151.PAA02849@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Eric MASSON Cc: Nate Williams , FreeBSD Java Subject: Re: Ejb server on FreeBSD In-Reply-To: <3784A73D.C7C29284@kisoft-services.com> References: <37839EFD.12C48B11@kisoft-services.com> <199907072003.OAA06192@mt.sri.com> <3784A73D.C7C29284@kisoft-services.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Just like Sebastien answered, it is an acronym for Enterprise Java Bean > Server. It's an application server that hosts server side javabeans. > You can find further refs at : > > http://java.sun.com I know quite a bit about EJB's, but as I stated before, I have never heard of a EJB server. Application server's yes, but never an EJB server. As I understand it, there is no such thing as an 'EJB server', so if there is one someone will have to point me at documentation for one. As far as application servers goes, I know of no application server that has been ported to FreeBSD, although if Weblogic/BEA/whatever they are this week stuff is indeed 100% pure Java, it should work under FreeBSD. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jul 8 14:54:54 1999 Delivered-To: freebsd-java@freebsd.org Received: from logatome.micronet.fr (logatome-2.francenet.fr [193.149.96.2]) by hub.freebsd.org (Postfix) with ESMTP id BC6751511F for ; Thu, 8 Jul 1999 14:54:50 -0700 (PDT) (envelope-from e-masson@kisoft-services.com) Received: from kisoft-services.com (Nantes4.francenet.net [193.149.110.68]) by logatome.micronet.fr (8.8.8/8.8.8) with ESMTP id XAA04768; Thu, 8 Jul 1999 23:52:58 +0200 (CEST) Message-ID: <37851E64.34A9FBB8@kisoft-services.com> Date: Thu, 08 Jul 1999 23:55:48 +0200 From: Eric MASSON Organization: Kisoft Services X-Mailer: Mozilla 4.51 [fr] (WinNT; I) X-Accept-Language: fr MIME-Version: 1.0 To: nate@mt.sri.com Cc: FreeBSD Java Subject: [Fwd: Ejb server on FreeBSD] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Nate, Have a look at this post. Regards Eric -------- Original Message -------- Received: from osprey.grizzly.com (osprey.grizzly.com [216.103.110.74])by logatome.micronet.fr (8.8.8/8.8.8) with ESMTP id XAA05290for ; Wed, 7 Jul 1999 23:52:38 +0200 (CEST) Received: (from markd@localhost)by osprey.grizzly.com (8.9.3/8.9.3) id OAA80783;Wed, 7 Jul 1999 14:54:22 -0700 (PDT) X-Authentication-Warning: osprey.grizzly.com: markd set sender to markd@grizzly.com using -f From: Mark Diekhans MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14211.52366.603292.173770@osprey.Grizzly.Com> Date: Wed, 7 Jul 1999 14:54:22 -0700 (PDT) To: Eric MASSON Subject: Ejb server on FreeBSD In-Reply-To: <37839EFD.12C48B11@kisoft-services.com> References: <37839EFD.12C48B11@kisoft-services.com> X-Mailer: VM 6.72 under Emacs 20.3.11.1 X-Mozilla-Status: 8003 X-Mozilla-Status2: 00000000 X-UIDL: b6f34b88760a2f3d26454085a9c2c4f8 Eric MASSON writes: > Is there any port of an Ejb Server on FreeBSD 3.* or 4.* ? Take a look at the Bull EJB server: http://www.bullsoft.com/ejb/ its an all Java implementation of the full 1.0 EJB spec, including entity beans. Right now, its available as a evaulation download, but Bull has announced that they are going to start distributing it under an open source license. I haven't actually tried it on freebsd yet (or any other platform), however it should work with no problem. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jul 8 14:56:50 1999 Delivered-To: freebsd-java@freebsd.org Received: from ns.mt.sri.com (unknown [206.127.79.91]) by hub.freebsd.org (Postfix) with ESMTP id 2B1FE1511F for ; Thu, 8 Jul 1999 14:56:47 -0700 (PDT) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id PAA28673; Thu, 8 Jul 1999 15:56:46 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id PAA02922; Thu, 8 Jul 1999 15:56:46 -0600 Date: Thu, 8 Jul 1999 15:56:46 -0600 Message-Id: <199907082156.PAA02922@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Eric MASSON Cc: nate@mt.sri.com, FreeBSD Java Subject: Re: [Fwd: Ejb server on FreeBSD] In-Reply-To: <37851E64.34A9FBB8@kisoft-services.com> References: <37851E64.34A9FBB8@kisoft-services.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Have a look at this post. ... > Take a look at the Bull EJB server: > > http://www.bullsoft.com/ejb/ So it's an application server. OK, that makes sense. I've never heard the term 'EJB server' in any conversation I've been in, including a few dozen talks at JavaOne. :) Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jul 8 15: 2:26 1999 Delivered-To: freebsd-java@freebsd.org Received: from logatome.micronet.fr (logatome-2.francenet.fr [193.149.96.2]) by hub.freebsd.org (Postfix) with ESMTP id E202014F7E for ; Thu, 8 Jul 1999 15:02:24 -0700 (PDT) (envelope-from e-masson@kisoft-services.com) Received: from kisoft-services.com (Nantes4.francenet.net [193.149.110.68]) by logatome.micronet.fr (8.8.8/8.8.8) with ESMTP id AAA06088; Fri, 9 Jul 1999 00:00:32 +0200 (CEST) Message-ID: <37852028.96F2BD4A@kisoft-services.com> Date: Fri, 09 Jul 1999 00:03:20 +0200 From: Eric MASSON Organization: Kisoft Services X-Mailer: Mozilla 4.51 [fr] (WinNT; I) X-Accept-Language: fr MIME-Version: 1.0 To: Nate Williams Cc: FreeBSD Java Subject: Re: [Fwd: Ejb server on FreeBSD] References: <37851E64.34A9FBB8@kisoft-services.com> <199907082156.PAA02922@mt.sri.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi again, Maybe, in France, computer press is not too accurate (Sorry if the sentence is poorly written) about the official acronyms :). I disconnect, it's 12 PM here Bye Regards, Eric. Nate Williams a écrit : > So it's an application server. OK, that makes sense. I've never heard > the term 'EJB server' in any conversation I've been in, including a few > dozen talks at JavaOne. :) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jul 9 7:22: 5 1999 Delivered-To: freebsd-java@freebsd.org Received: from ren.detir.qld.gov.au (ns.detir.qld.gov.au [203.46.81.66]) by hub.freebsd.org (Postfix) with ESMTP id AFBAD155C0 for ; Fri, 9 Jul 1999 07:22:01 -0700 (PDT) (envelope-from syssgm@detir.qld.gov.au) Received: by ren.detir.qld.gov.au; id AAA08063; Sat, 10 Jul 1999 00:20:13 +1000 (EST) Received: from ogre.detir.qld.gov.au(167.123.8.3) by ren.detir.qld.gov.au via smap (3.2) id xma008061; Sat, 10 Jul 99 00:20:07 +1000 Received: from atlas.detir.qld.gov.au (atlas.detir.qld.gov.au [167.123.8.9]) by ogre.detir.qld.gov.au (8.8.8/8.8.7) with ESMTP id AAA11160; Sat, 10 Jul 1999 00:19:00 +1000 (EST) Received: from nymph.detir.qld.gov.au (nymph.detir.qld.gov.au [167.123.10.10]) by atlas.detir.qld.gov.au (8.8.5/8.8.5) with ESMTP id AAA28897; Sat, 10 Jul 1999 00:18:59 +1000 (EST) Received: from nymph.detir.qld.gov.au (localhost.detir.qld.gov.au [127.0.0.1]) by nymph.detir.qld.gov.au (8.8.8/8.8.7) with ESMTP id AAA04603; Sat, 10 Jul 1999 00:18:58 +1000 (EST) (envelope-from syssgm@nymph.detir.qld.gov.au) Message-Id: <199907091418.AAA04603@nymph.detir.qld.gov.au> To: Martin Dieringer Cc: freebsd-java@freebsd.org, syssgm@detir.qld.gov.au Subject: Re: strange java calculation errors References: In-Reply-To: from Martin Dieringer at "Mon, 05 Jul 1999 22:22:25 +0200" Date: Sat, 10 Jul 1999 00:18:58 +1000 From: Stephen McKay Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Monday, 5th July 1999, Martin Dieringer wrote: >I use the latest jdk1.1.8_ELF.V99-6-3.tar.gz with applied net-patch. >On a few-weeks-old 3.2-STABLE. >I have strange arithmetic errors. I sometimes get NaN-s >and very big numbers (...E306) which don't appear on any other machine/os >and don't appear with the linux-jdk1.2 pre-v2. We are getting occasional failures in the GregorianCalendar routines. For some inexplicable reason it is full of floating point calculations. Every so often, one of these calculations is wildly incorrect, and we get an ArrayIndexOutOfBoundsException (when looking up the month in an array). We have a little bit of trace showing one of the statements returning 0 or 9223372036854775807 sometimes (instead of an expected result of a few thousand). This problem has not yet reached my highest priority, but probably will one day. We have seen it with both jdk 1.1.7 and jdk 1.1.8 on FreeBSD 2.2.8 (a.out version, of course). Stephen. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jul 9 8:31: 4 1999 Delivered-To: freebsd-java@freebsd.org Received: from ns.mt.sri.com (unknown [206.127.79.91]) by hub.freebsd.org (Postfix) with ESMTP id E6E5214E0A for ; Fri, 9 Jul 1999 08:30:58 -0700 (PDT) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id JAA10549; Fri, 9 Jul 1999 09:30:45 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id JAA05956; Fri, 9 Jul 1999 09:30:44 -0600 Date: Fri, 9 Jul 1999 09:30:44 -0600 Message-Id: <199907091530.JAA05956@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Stephen McKay Cc: Martin Dieringer , freebsd-java@FreeBSD.ORG Subject: Re: strange java calculation errors In-Reply-To: <199907091418.AAA04603@nymph.detir.qld.gov.au> References: <199907091418.AAA04603@nymph.detir.qld.gov.au> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > >I use the latest jdk1.1.8_ELF.V99-6-3.tar.gz with applied net-patch. > >On a few-weeks-old 3.2-STABLE. > >I have strange arithmetic errors. I sometimes get NaN-s > >and very big numbers (...E306) which don't appear on any other machine/os > >and don't appear with the linux-jdk1.2 pre-v2. > > We are getting occasional failures in the GregorianCalendar routines. > For some inexplicable reason it is full of floating point calculations. > Every so often, one of these calculations is wildly incorrect, and we > get an ArrayIndexOutOfBoundsException (when looking up the month in > an array). We have a little bit of trace showing one of the statements > returning 0 or 9223372036854775807 sometimes (instead of an expected > result of a few thousand). As always, unless we can reproduce this bug, it's almost impossible to track down. If you can provide us a test case, there is a very good chance we can fix this. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jul 9 8:54:59 1999 Delivered-To: freebsd-java@freebsd.org Received: from osprey.grizzly.com (osprey.grizzly.com [216.103.110.74]) by hub.freebsd.org (Postfix) with ESMTP id EAE5814EA4 for ; Fri, 9 Jul 1999 08:54:57 -0700 (PDT) (envelope-from markd@Grizzly.COM) Received: (from markd@localhost) by osprey.grizzly.com (8.9.3/8.9.3) id IAA77476; Fri, 9 Jul 1999 08:54:50 -0700 (PDT) X-Authentication-Warning: osprey.grizzly.com: markd set sender to markd@grizzly.com using -f From: Mark Diekhans MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14214.6985.867686.115921@osprey.Grizzly.Com> Date: Fri, 9 Jul 1999 08:54:49 -0700 (PDT) To: Nate Williams Cc: Eric MASSON , FreeBSD Java Subject: Re: [Fwd: Ejb server on FreeBSD] In-Reply-To: <199907082156.PAA02922@mt.sri.com> References: <37851E64.34A9FBB8@kisoft-services.com> <199907082156.PAA02922@mt.sri.com> X-Mailer: VM 6.72 under Emacs 20.3.11.1 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hey Nate, Nate Williams writes: > > Have a look at this post. > ... > > > Take a look at the Bull EJB server: > > > > http://www.bullsoft.com/ejb/ > > So it's an application server. OK, that makes sense. I've never heard > the term 'EJB server' in any conversation I've been in, including a few > dozen talks at JavaOne. :) I have heard it a lot, mainly because `application server' doesn't mean that a piece of software contains support for EJBs. `Application server' is more of a marketing term that has been repeated so many times that us technoids are now using the term. The Bull server doesn't contain a lot of features many of the `application server' vendors would insist you have to have. BTW, they just made the source available to the Bull server and renamed it JOnAS (JavaM Open Application Server). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jul 9 15: 2: 6 1999 Delivered-To: freebsd-java@freebsd.org Received: from ThinkPad.nowhere.local (dieringe.dialup.fu-berlin.de [160.45.221.216]) by hub.freebsd.org (Postfix) with ESMTP id 1F66214C44 for ; Fri, 9 Jul 1999 15:01:49 -0700 (PDT) (envelope-from martin@dieringe.dialup.fu-berlin.de) Received: from localhost (localhost [127.0.0.1]) by ThinkPad.nowhere.local (8.9.3/8.9.2) with ESMTP id AAA44687; Sat, 10 Jul 1999 00:01:41 +0200 (CEST) (envelope-from martin@dieringe.dialup.fu-berlin.de) Date: Sat, 10 Jul 1999 00:01:41 +0200 (CEST) From: Martin Dieringer X-Sender: martin@ThinkPad.nowhere.local Reply-To: Martin Dieringer To: Nate Williams Cc: Stephen McKay , freebsd-java@FreeBSD.ORG Subject: Re: strange java calculation errors In-Reply-To: <199907091530.JAA05956@mt.sri.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 Jul 1999, Nate Williams wrote: > > >I use the latest jdk1.1.8_ELF.V99-6-3.tar.gz with applied net-patch. > > >On a few-weeks-old 3.2-STABLE. > > >I have strange arithmetic errors. I sometimes get NaN-s > > >and very big numbers (...E306) which don't appear on any other machine/os > > >and don't appear with the linux-jdk1.2 pre-v2. > > > > We are getting occasional failures in the GregorianCalendar routines. > > For some inexplicable reason it is full of floating point calculations. > > Every so often, one of these calculations is wildly incorrect, and we > > get an ArrayIndexOutOfBoundsException (when looking up the month in > > an array). We have a little bit of trace showing one of the statements > > returning 0 or 9223372036854775807 sometimes (instead of an expected > > result of a few thousand). > > As always, unless we can reproduce this bug, it's almost impossible to > track down. If you can provide us a test case, there is a very good > chance we can fix this. Ok, I set up a sample program. I think it needs to be an awt-application. I don't get any errors without setVisible(), but with a visible frame I get errors every few seconds. It has to be a Thread, too, I think. Probably you know how to track this down further. Martin //BugTest.java ---------------------------------------------- import java.awt.*; import java.util.Random; public class BugTest extends Frame implements Runnable { Random random = new Random(); double weight; double denom; double meatEnergy; double weightgain; public BugTest(){ setSize(100,100); setVisible(true); } public void run(){ while (true){ try{ calc(); } catch (ArithmeticException a) { System.err.println("weight: "+ weight + "\ndenom: "+ denom); a.printStackTrace(); } } } void calc() throws ArithmeticException { weight = random.nextDouble()*10.; meatEnergy= 0.029994563969828213; denom = (.0836 * Math.pow(weight, 1.37)); weightgain = .2849372 * meatEnergy * weight / denom; if (weightgain > 1000.) throw new ArithmeticException("weightgain "+weightgain); } public static void main(String args[]){ BugTest bug = new BugTest(); Thread bugThread = new Thread(bug); bugThread.setPriority(Thread.MIN_PRIORITY); bugThread.start(); } } //------------------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jul 9 15: 4:45 1999 Delivered-To: freebsd-java@freebsd.org Received: from ns.mt.sri.com (unknown [206.127.79.91]) by hub.freebsd.org (Postfix) with ESMTP id B8D6114C44 for ; Fri, 9 Jul 1999 15:04:38 -0700 (PDT) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id QAA15701; Fri, 9 Jul 1999 16:04:32 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id QAA09955; Fri, 9 Jul 1999 16:04:32 -0600 Date: Fri, 9 Jul 1999 16:04:32 -0600 Message-Id: <199907092204.QAA09955@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Martin Dieringer Cc: Nate Williams , Stephen McKay , freebsd-java@FreeBSD.ORG Subject: Re: strange java calculation errors In-Reply-To: References: <199907091530.JAA05956@mt.sri.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > >I use the latest jdk1.1.8_ELF.V99-6-3.tar.gz with applied net-patch. > > > >On a few-weeks-old 3.2-STABLE. > > > >I have strange arithmetic errors. I sometimes get NaN-s > > > >and very big numbers (...E306) which don't appear on any other machine/os > > > >and don't appear with the linux-jdk1.2 pre-v2. > > > > > > We are getting occasional failures in the GregorianCalendar routines. > > > For some inexplicable reason it is full of floating point calculations. > > > Every so often, one of these calculations is wildly incorrect, and we > > > get an ArrayIndexOutOfBoundsException (when looking up the month in > > > an array). We have a little bit of trace showing one of the statements > > > returning 0 or 9223372036854775807 sometimes (instead of an expected > > > result of a few thousand). > > > > As always, unless we can reproduce this bug, it's almost impossible to > > track down. If you can provide us a test case, there is a very good > > chance we can fix this. > > > Ok, I set up a sample program. I think it needs to be an awt-application. > I don't get any errors without setVisible(), but with a visible frame > I get errors every few seconds. It has to be a Thread, too, I think. > Probably you know how to track this down further. This is great, thanks Martin! I'm able to reproduce this error running your program on my box. Unfortunately, I won't be able to look at it anytime soon as I'm going on vacation next week, but maybe when I get back! Again, thanks for simple test. This makes our job *much* easier. Nate > Martin > > > //BugTest.java ---------------------------------------------- > > import java.awt.*; > import java.util.Random; > > public class BugTest extends Frame implements Runnable > { > > Random random = new Random(); > > double weight; > double denom; > double meatEnergy; > double weightgain; > > public BugTest(){ > setSize(100,100); > setVisible(true); > } > > > public void run(){ > while (true){ > try{ > calc(); > } catch (ArithmeticException a) { > System.err.println("weight: "+ weight + "\ndenom: "+ denom); > a.printStackTrace(); > } > } > } > > void calc() throws ArithmeticException { > weight = random.nextDouble()*10.; > meatEnergy= 0.029994563969828213; > denom = (.0836 * Math.pow(weight, 1.37)); > weightgain = .2849372 * meatEnergy * weight / denom; > if (weightgain > 1000.) > throw new ArithmeticException("weightgain "+weightgain); > } > > public static void main(String args[]){ > BugTest bug = new BugTest(); > Thread bugThread = new Thread(bug); > bugThread.setPriority(Thread.MIN_PRIORITY); > bugThread.start(); > } > > } > > //------------------------------------------------------ > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jul 9 15:52:32 1999 Delivered-To: freebsd-java@freebsd.org Received: from ns.mt.sri.com (unknown [206.127.79.91]) by hub.freebsd.org (Postfix) with ESMTP id 71E3014E10; Fri, 9 Jul 1999 15:52:27 -0700 (PDT) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id QAA16326; Fri, 9 Jul 1999 16:52:21 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id QAA10373; Fri, 9 Jul 1999 16:52:19 -0600 Date: Fri, 9 Jul 1999 16:52:19 -0600 Message-Id: <199907092252.QAA10373@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Martin Dieringer Cc: Nate Williams , Stephen McKay , freebsd-java@FreeBSD.ORG, java-port@FreeBSD.ORG Subject: Re: strange java calculation errors In-Reply-To: References: <199907091530.JAA05956@mt.sri.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Ok, I set up a sample program. I think it needs to be an awt-application. > I don't get any errors without setVisible(), but with a visible frame > I get errors every few seconds. It has to be a Thread, too, I think. > Probably you know how to track this down further. I just spent a bit of time with this, and this is indeed a weird one. It seems to depend on how the storage is allocated, since if I calculate the value of denom as part of the local heap, it seems to work. Either that or I'm just getting lucky, because the code works if I calculate the exact same code and store it in a 'local' variable. (However, local variables are treated almost exactly the same as global variables in java.) In any case, it is indeed a bug, and one that I don't see on Solaris. Whether it's a bug in some FreeBSD library or in the way the VM operates is still unknown. If I had to make a guess, I'd start looking at the C interpreter, given that we are one of the only platforms that use it, while others use the assembly version. However, it's just a wild guess. Thanks again Martin! Nate > //BugTest.java ---------------------------------------------- > > import java.awt.*; > import java.util.Random; > > public class BugTest extends Frame implements Runnable > { > > Random random = new Random(); > > double weight; > double denom; > double meatEnergy; > double weightgain; > > public BugTest(){ > setSize(100,100); > setVisible(true); > } > > > public void run(){ > while (true){ > try{ > calc(); > } catch (ArithmeticException a) { > System.err.println("weight: "+ weight + "\ndenom: "+ denom); > a.printStackTrace(); > } > } > } > > void calc() throws ArithmeticException { > weight = random.nextDouble()*10.; > meatEnergy= 0.029994563969828213; > denom = (.0836 * Math.pow(weight, 1.37)); > weightgain = .2849372 * meatEnergy * weight / denom; > if (weightgain > 1000.) > throw new ArithmeticException("weightgain "+weightgain); > } > > public static void main(String args[]){ > BugTest bug = new BugTest(); > Thread bugThread = new Thread(bug); > bugThread.setPriority(Thread.MIN_PRIORITY); > bugThread.start(); > } > > } > > //------------------------------------------------------ > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message