From owner-freebsd-java Sun Mar 10 2:27:11 2002 Delivered-To: freebsd-java@freebsd.org Received: from azrael.xs4all.nl (azrael.xs4all.nl [213.84.50.139]) by hub.freebsd.org (Postfix) with ESMTP id 895AC37B400; Sun, 10 Mar 2002 02:27:06 -0800 (PST) Received: (from remco@localhost) by azrael.xs4all.nl (8.11.6/8.11.6) id g2AAR2899339; Sun, 10 Mar 2002 11:27:02 +0100 (CET) (envelope-from remco) Date: Sun, 10 Mar 2002 11:27:02 +0100 From: "Remco van 't Veer" To: Greg Lewis Cc: znerd@FreeBSD.ORG, freebsd-java@FreeBSD.ORG Subject: Re: ports/35658: java/jdk13 creates too small src.jar Message-ID: <20020310102702.GC374@azrael.xs4all.nl> References: <20020310052111.A14684@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020310052111.A14684@misty.eyesbeyond.com> User-Agent: Mutt/1.3.27i X-Spook: Toffler JAVA ammunition sweep stakeout ANZUS NMIC number key SABC Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Using cpio might be a better option for copying a lot of files and should be a lot faster. Here is an example: $(FIND) $(SOURCES) -name CVS -prune -o -name SCCS -prune -o -name '*.java' -print \ | $(CPIO) -p $(JDK_IMAGE_DIR)/src I am not sure if CPIO is defined though. Otherwise just using CP instead of TAR might speed up things. HTH, Remco On Sun, Mar 10, 2002 at 05:21, Greg Lewis wrote: > Attached patch works for me. Put it in > > /ports/java/jdk13/files/patch-common::Release.gmk > > and you should be right. > > Obviously this is less efficient, but compared to the entire build process > the impact is very minimal. > > -- > Greg Lewis Email : glewis@eyesbeyond.com > Eyes Beyond Web : http://www.eyesbeyond.com > Information Technology > > Index: Release.gmk > =================================================================== > RCS file: /data/java/JDK2/javasrc_1_3_scsl/j2sdk1.3.1/make/common/Release.gmk,v > retrieving revision 1.7 > diff -u -r1.7 common/Release.gmk > --- common/Release.gmk 21 Jan 2002 22:40:08 -0000 1.7 > +++ common/Release.gmk 9 Mar 2002 18:01:51 -0000 > @@ -521,10 +521,18 @@ > @# src.jar > @# > $(MKDIR) -p $(JDK_IMAGE_DIR)/src > +ifeq ($(PLATFORM), bsd) > + # Avoid the "argument list too long" problem. > + ($(CD) $(SHARE_SRC)/classes; \ > + for list in `$(FIND) $(SOURCES) -name CVS -prune -o -name SCCS -prune -o -name '*.java' -print`; do \ > + $(TAR) cf - $$list | ($(CD) $(JDK_IMAGE_DIR)/src; $(TAR) xvf -); \ > + done) > +else > ($(CD) $(SHARE_SRC)/classes; $(TAR) cf - \ > `$(FIND) $(SOURCES) -name CVS -prune -o -name SCCS -prune -o \ > -name '*.java' -print`)| \ > ($(CD) $(JDK_IMAGE_DIR)/src; $(TAR) xvf -) > +endif > @# We do not want to ship this, it isn't part of the build yet. > $(RM) -r $(JDK_IMAGE_DIR)/src/javax/swing/pending > $(MKDIR) -p $(JDK_IMAGE_DIR)/src/launcher -- It's our goal to continue to conveniently facilitate our relationship corridors and swiftly innovate skill sets to market a weak product that creates us a lot of simoleons. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Mar 10 7:43:26 2002 Delivered-To: freebsd-java@freebsd.org Received: from puget.esil.univ-mrs.fr (puget.esil.univ-mrs.fr [139.124.41.103]) by hub.freebsd.org (Postfix) with ESMTP id 70F8A37B402 for ; Sun, 10 Mar 2002 07:43:23 -0800 (PST) Received: from localhost (hquiroz@localhost) by puget.esil.univ-mrs.fr (8.11.6/8.11.6) with ESMTP id g2AFndE65430; Sun, 10 Mar 2002 16:49:39 +0100 (CET) (envelope-from hquiroz@esil.univ-mrs.fr) X-Authentication-Warning: puget.esil.univ-mrs.fr: hquiroz owned process doing -bs Date: Sun, 10 Mar 2002 16:49:39 +0100 (CET) From: Herve Quiroz To: Bill Huey Cc: java@freebsd.org Subject: Re: Performance of Java/FreeBSD In-Reply-To: <20020310002939.GB1961@gnuppy.monkey.org> Message-ID: <20020310162926.P65353-100000@puget.esil.univ-mrs.fr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > Under what similar conditions across all platforms ? HotSpot ? or just > the bytecode interpreter ? Have you used any of the open source JITs > like ShuJIT and OpenJIT and compared the results ? As I said to Justen in a recent mail, I coded the whole stuff a crapy way. I mean I assumed the hotspot would do any optimization (amongst them object recycling) on its own so I could code clean without any manual tuning I usually do (mostly for game dev). So it is quite obvious it's my fault if I have found myself disapointed by the speed ;) You're right when saying conditions across all platforms were not the same. I feel guilty to complain just because I tried to use the stuff "as is". > Yeah, right, not a complaint mail my ass. ;) Really, it was my own mistake not to have thought before of the hotspot not being full featured for BSD ;) It is not my intention to have a flame war here because we all agree on the fact that : 1) FreeBSD is powerful 2) Java is nice 3) Java on FreeBSD can be powerful (and probably will - see 4) 4) Java on FreeBSD is already nice thanks to some coders spending their time on it. > Well, things are going to suffer in the BSDs for now, you'll just have > to wait for the port to get finished and there's nothing I can tell you > that can comfort that bad news other than it's being worked on right now. Again I prefer coding/debugging using FreeBSD so thanks for the already working port. Keep on the good work. Herv=E9 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Mar 10 10:30:59 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by hub.freebsd.org (Postfix) with ESMTP id 41AA537B41A; Sun, 10 Mar 2002 10:30:34 -0800 (PST) Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.22 #1) id 16k85T-0007es-00; Sun, 10 Mar 2002 11:30:28 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g2AIU6x75709; Mon, 11 Mar 2002 05:00:06 +1030 (CST) (envelope-from glewis) Date: Mon, 11 Mar 2002 05:00:06 +1030 From: Greg Lewis To: "Remco van 't Veer" Cc: Greg Lewis , znerd@FreeBSD.ORG, freebsd-java@FreeBSD.ORG Subject: Re: ports/35658: java/jdk13 creates too small src.jar Message-ID: <20020311050006.A75618@misty.eyesbeyond.com> References: <20020310052111.A14684@misty.eyesbeyond.com> <20020310102702.GC374@azrael.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020310102702.GC374@azrael.xs4all.nl>; from rwvtveer@xs4all.nl on Sun, Mar 10, 2002 at 11:27:02AM +0100 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, Mar 10, 2002 at 11:27:02AM +0100, Remco van 't Veer wrote: > Using cpio might be a better option for copying a lot of files > and should be a lot faster. Here is an example: > > $(FIND) $(SOURCES) -name CVS -prune -o -name SCCS -prune -o -name '*.java' -print \ > | $(CPIO) -p $(JDK_IMAGE_DIR)/src > > I am not sure if CPIO is defined though. Otherwise just using CP > instead of TAR might speed up things. I'll give it a try. Thanks! -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 11 0:17:36 2002 Delivered-To: freebsd-java@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id 5E66737B400 for ; Mon, 11 Mar 2002 00:17:23 -0800 (PST) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id ; Mon, 11 Mar 2002 09:17:22 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FDA454@l04.research.kpn.com> From: "Koster, K.J." To: "FreeBSD Java mailing list (E-mail)" Subject: RE: 1.3.1p6 dies sigbus with threads Date: Mon, 11 Mar 2002 09:17:20 +0100 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 List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Dear All, > > I took some time (can you say "was frustrated doing other things" :-) > to try and track this down a bit more. I modified my test program to > fire up a bunch of noise threads (much like what SeedGenerator does) > and it increased the likelihood of a core dump (to about 1 in > 5 instead > of 1 in 50). The stack trace is the same in all cases. The > annoying part > is, if I run in java_g, I don't get a core dump! I hate bugs > like that. > I have been running my stuff in java_g too. No more core dumps. Perhaps we should default to java_g? :-) For those who are looking to improve the port: I have core dumps available. Filing a PR is pointless, since I have no simple test program to reproduce this with. A PR would just rot. Kees Jan ===================================================== You can't have everything. Where would you put it? [Steven Wright] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 11 0:46:32 2002 Delivered-To: freebsd-java@freebsd.org Received: from totem.fix.no (totem.fix.no [80.91.32.29]) by hub.freebsd.org (Postfix) with ESMTP id DE25F37B405 for ; Mon, 11 Mar 2002 00:46:29 -0800 (PST) Received: by totem.fix.no (Postfix, from userid 1032) id 379FB3C96; Mon, 11 Mar 2002 09:46:52 +0100 (CET) Date: Mon, 11 Mar 2002 09:46:52 +0100 From: Espen Tagestad To: freebsd-java@freebsd.org Subject: JDK1.3.1 with RXTX Message-ID: <20020311084647.GA92796@totem.fix.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.27i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I have some problems getting the RXTXdriver class for www.rxtx.org to work with Java in FreeBSD. My java application use a com port to communicate with a Nokia cellular phone with a data cable. I got this working under Linux, but not with FreeBSD. The error message from Java says: Caught java.lang.UnsatisfiedLinkError: /usr/local/jdk1.3.1/jre/lib/i386/libSerial-1.4.15.so: /usr/local/jdk1.3.1/jre/lib/i386/libSerial-1.4.15.so: Undefined symbol "pthread_cond_signal" while loading driver gnu.io.RXTXCommDriver Does any of you have experience with this driver? Should I tell Java to uses other libc libraries? regards, Espen Tagestad To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 11 1:12:15 2002 Delivered-To: freebsd-java@freebsd.org Received: from totem.fix.no (totem.fix.no [80.91.32.29]) by hub.freebsd.org (Postfix) with ESMTP id EBB5237B402 for ; Mon, 11 Mar 2002 01:12:11 -0800 (PST) Received: by totem.fix.no (Postfix, from userid 1032) id AD7543C93; Mon, 11 Mar 2002 10:12:34 +0100 (CET) Date: Mon, 11 Mar 2002 10:12:34 +0100 From: Espen Tagestad To: Antony T Curtis Cc: freebsd-java@freebsd.org Subject: Re: JDK1.3.1 with RXTX Message-ID: <20020311091234.GA93232@totem.fix.no> References: <20020311084647.GA92796@totem.fix.no> <3C8C70A8.25E4CE48@abacus.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3C8C70A8.25E4CE48@abacus.co.uk> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Mar 11, 2002 at 08:54:00AM +0000, Antony T Curtis wrote: > Espen Tagestad wrote: > > > > Hi, > > > > I have some problems getting the RXTXdriver class for www.rxtx.org to > > work with Java in FreeBSD. My java application use a com port to > > communicate with a Nokia cellular phone with a data cable. > Looks like the library is expecting the native-threads runtime or is at > least dependent upon it. > > Does it get past that with the '-native' option specified? I built a native Java from /usr/ports/java/jdk13, but it looks like the native java is not there. Trying with -native I got the following message: java was not found in /usr/local/jdk1.3.1/bin/i386/native_threads/java And that's right, the file is not there. Maybe something is wrong with my Java installtion too? regards, Espen Tagestad To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 11 2: 2:13 2002 Delivered-To: freebsd-java@freebsd.org Received: from azrael.xs4all.nl (azrael.xs4all.nl [213.84.50.139]) by hub.freebsd.org (Postfix) with ESMTP id 9B26637B402 for ; Mon, 11 Mar 2002 02:02:09 -0800 (PST) Received: (from remco@localhost) by azrael.xs4all.nl (8.11.6/8.11.6) id g2BA19116854; Mon, 11 Mar 2002 11:01:09 +0100 (CET) (envelope-from remco) Date: Mon, 11 Mar 2002 11:01:09 +0100 From: "Remco van 't Veer" To: Espen Tagestad Cc: Antony T Curtis , freebsd-java@FreeBSD.ORG Subject: Re: JDK1.3.1 with RXTX Message-ID: <20020311100109.GF374@azrael.xs4all.nl> References: <20020311084647.GA92796@totem.fix.no> <3C8C70A8.25E4CE48@abacus.co.uk> <20020311091234.GA93232@totem.fix.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020311091234.GA93232@totem.fix.no> User-Agent: Mutt/1.3.27i X-Spook: Toffler JAVA ammunition sweep stakeout ANZUS NMIC number key SABC Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org You need to pass WITH_NATIVE_THREADS to the build process if you want native threads. Please note the native thread code is very alpha at this moment. Remco On Mon, Mar 11, 2002 at 10:12, Espen Tagestad wrote: > On Mon, Mar 11, 2002 at 08:54:00AM +0000, Antony T Curtis wrote: > > Espen Tagestad wrote: > > > > > > Hi, > > > > > > I have some problems getting the RXTXdriver class for www.rxtx.org to > > > work with Java in FreeBSD. My java application use a com port to > > > communicate with a Nokia cellular phone with a data cable. > > > > > Looks like the library is expecting the native-threads runtime or is at > > least dependent upon it. > > > > Does it get past that with the '-native' option specified? > > I built a native Java from /usr/ports/java/jdk13, but it looks like > the native java is not there. Trying with -native I got the following > message: > > java was not found in /usr/local/jdk1.3.1/bin/i386/native_threads/java > > And that's right, the file is not there. Maybe something is wrong with > my Java installtion too? > > regards, > Espen Tagestad -- We have committed to reinvent open-source channels as the first step in our scheme to better serve the world and inflate our net worth. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 11 2:21:40 2002 Delivered-To: freebsd-java@freebsd.org Received: from guinness.syncrontech.com (guinness.syncrontech.com [62.71.8.19]) by hub.freebsd.org (Postfix) with ESMTP id B508F37B400 for ; Mon, 11 Mar 2002 02:21:37 -0800 (PST) Received: from linux (coffee.syncrontech.com [62.71.8.37]) by guinness.syncrontech.com (8.11.6/8.11.6) with ESMTP id g2BALYL87943; Mon, 11 Mar 2002 12:21:34 +0200 (EET) (envelope-from ari.suutari@syncrontech.com) Content-Type: text/plain; charset="iso-8859-1" From: Ari Suutari To: Espen Tagestad , freebsd-java@FreeBSD.ORG Subject: Re: JDK1.3.1 with RXTX Date: Mon, 11 Mar 2002 12:21:16 +0200 X-Mailer: KMail [version 1.3.9] References: <20020311084647.GA92796@totem.fix.no> In-Reply-To: <20020311084647.GA92796@totem.fix.no> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200203111221.16892.ari.suutari@syncrontech.com> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Monday 11 March 2002 10:46, Espen Tagestad wrote: > Hi, > > I have some problems getting the RXTXdriver class for www.rxtx.org to > work with Java in FreeBSD. My java application use a com port to > communicate with a Nokia cellular phone with a data cable. =09Try FreeBSD java Commapi instead. It works.=20 =09(The port might not be committed yet but I can send you =09in direct e-mail if you want). =09=09Ari S. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 11 2:37:35 2002 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id 1C89937B400; Mon, 11 Mar 2002 02:37:32 -0800 (PST) Received: (from ernst@localhost) by zaphod.euronet.nl (8.11.6/8.11.6) id g2BAbSQ21420; Mon, 11 Mar 2002 11:37:28 +0100 (CET) (envelope-from ernst) Message-Id: <200203111037.g2BAbSQ21420@zaphod.euronet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan To: Greg Lewis , freebsd-gnats-submit@FreeBSD.org Subject: Re: ports/35658: java/jdk13 creates too small src.jar Date: Mon, 11 Mar 2002 11:37:28 +0100 X-Mailer: KMail [version 1.3.2] Cc: freebsd-java@FreeBSD.org References: <20020310052111.A14684@misty.eyesbeyond.com> In-Reply-To: <20020310052111.A14684@misty.eyesbeyond.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The patch has been committed. Thanks, Greg! Ernst On Saturday 09 March 2002 19:51, Greg Lewis wrote: > Attached patch works for me. Put it in > > /ports/java/jdk13/files/patch-common::Release.gmk > > and you should be right. > > Obviously this is less efficient, but compared to the entire build process > the impact is very minimal. -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 11 2:43: 2 2002 Delivered-To: freebsd-java@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B2A6537B404; Mon, 11 Mar 2002 02:42:58 -0800 (PST) Received: (from znerd@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2BAXGx39768; Mon, 11 Mar 2002 02:33:16 -0800 (PST) (envelope-from znerd) Date: Mon, 11 Mar 2002 02:33:16 -0800 (PST) From: Message-Id: <200203111033.g2BAXGx39768@freefall.freebsd.org> To: znerd@FreeBSD.org, java@FreeBSD.org, znerd@FreeBSD.org Subject: Re: ports/35658: java/jdk13 creates too small src.jar Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: java/jdk13 creates too small src.jar Responsible-Changed-From-To: java->znerd Responsible-Changed-By: znerd Responsible-Changed-When: Mon Mar 11 02:32:19 PST 2002 Responsible-Changed-Why: I'll handle the submitted patch. http://www.FreeBSD.org/cgi/query-pr.cgi?pr=35658 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 11 2:57:38 2002 Delivered-To: freebsd-java@freebsd.org Received: from web20010.mail.yahoo.com (web20010.mail.yahoo.com [216.136.225.73]) by hub.freebsd.org (Postfix) with SMTP id 9278E37B400 for ; Mon, 11 Mar 2002 02:57:37 -0800 (PST) Message-ID: <20020311105737.57509.qmail@web20010.mail.yahoo.com> Received: from [193.123.204.66] by web20010.mail.yahoo.com via HTTP; Mon, 11 Mar 2002 10:57:37 GMT Date: Mon, 11 Mar 2002 10:57:37 +0000 (GMT) From: =?iso-8859-1?q?Gavin=20Kenny?= Subject: Java3D To: java@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, Has anyone got Java3D to run on FreeBSD? If so how? Is there a howto or anything. I am particularly unsure of how to get Mesa and XFree setup. Could you CC me as I am not subscribed. cheers Gavin __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.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 11 5:32:34 2002 Delivered-To: freebsd-java@freebsd.org Received: from puget.esil.univ-mrs.fr (puget.esil.univ-mrs.fr [139.124.41.103]) by hub.freebsd.org (Postfix) with ESMTP id 03FF437B416 for ; Mon, 11 Mar 2002 05:32:31 -0800 (PST) Received: from localhost (hquiroz@localhost) by puget.esil.univ-mrs.fr (8.11.6/8.11.6) with ESMTP id g2BDdqt82571 for ; Mon, 11 Mar 2002 14:40:01 +0100 (CET) (envelope-from herve.quiroz@esil.univ-mrs.fr) X-Authentication-Warning: puget.esil.univ-mrs.fr: hquiroz owned process doing -bs Date: Mon, 11 Mar 2002 14:39:50 +0100 (CET) From: Herve Quiroz X-X-Sender: hquiroz@puget.esil.univ-mrs.fr To: java@freebsd.org Subject: Re: Performance of Java/FreeBSD In-Reply-To: <20020309171247.D26683-100000@puget.esil.univ-mrs.fr> Message-ID: <20020311143850.H82214-100000@puget.esil.univ-mrs.fr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org BTW, is there any relevant Java benchmarking tool that is free of use ? Herv=E9 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 11 8:19:25 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by hub.freebsd.org (Postfix) with ESMTP id E841237B404 for ; Mon, 11 Mar 2002 08:19:19 -0800 (PST) Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.22 #1) id 16kSW6-0002qc-00; Mon, 11 Mar 2002 09:19:19 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g2BGJD807986; Tue, 12 Mar 2002 02:49:13 +1030 (CST) (envelope-from glewis) Date: Tue, 12 Mar 2002 02:49:13 +1030 From: Greg Lewis To: Gavin Kenny Cc: java@FreeBSD.ORG Subject: Re: Java3D Message-ID: <20020312024913.A7964@misty.eyesbeyond.com> References: <20020311105737.57509.qmail@web20010.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020311105737.57509.qmail@web20010.mail.yahoo.com>; from gavinkenny@yahoo.co.uk on Mon, Mar 11, 2002 at 10:57:37AM +0000 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Mar 11, 2002 at 10:57:37AM +0000, Gavin Kenny wrote: > Has anyone got Java3D to run on FreeBSD? If so how? Is > there a howto or anything. I am particularly unsure of > how to get Mesa and XFree setup. It can't work with the native JDK yet as the native library involved hasn't been ported. You should be able to get it to work with the Linux version under emulation though. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 11 8:54:20 2002 Delivered-To: freebsd-java@freebsd.org Received: from azrael.xs4all.nl (azrael.xs4all.nl [213.84.50.139]) by hub.freebsd.org (Postfix) with ESMTP id 5089137B420 for ; Mon, 11 Mar 2002 08:54:09 -0800 (PST) Received: (from remco@localhost) by azrael.xs4all.nl (8.11.6/8.11.6) id g2BGrMd18099; Mon, 11 Mar 2002 17:53:22 +0100 (CET) (envelope-from remco) Date: Mon, 11 Mar 2002 17:53:22 +0100 From: "Remco van 't Veer" To: Greg Lewis Cc: FreeBSD Java List Subject: Re: ports/35658: java/jdk13 creates too small src.jar Message-ID: <20020311165322.GC17615@azrael.xs4all.nl> References: <20020310052111.A14684@misty.eyesbeyond.com> <20020310102702.GC374@azrael.xs4all.nl> <20020311050006.A75618@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020311050006.A75618@misty.eyesbeyond.com> User-Agent: Mutt/1.3.27i X-Spook: NADIS Skytel DPSD DST TRW S.E.T. Team SORO M.P.R.I. cracking NRL Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Oeps, cpio also needs the -d switch. This will make sure new directories are create in the target directory. Sorry about this.. On Mon, Mar 11, 2002 at 05:00, Greg Lewis wrote: > On Sun, Mar 10, 2002 at 11:27:02AM +0100, Remco van 't Veer wrote: > > Using cpio might be a better option for copying a lot of files > > and should be a lot faster. Here is an example: > > > > $(FIND) $(SOURCES) -name CVS -prune -o -name SCCS -prune -o -name '*.java' -print \ > > | $(CPIO) -p $(JDK_IMAGE_DIR)/src > > > > I am not sure if CPIO is defined though. Otherwise just using CP > > instead of TAR might speed up things. > > I'll give it a try. Thanks! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 11 13:26: 6 2002 Delivered-To: freebsd-java@freebsd.org Received: from aogsquid.ucsd.edu (aogsquid.ucsd.edu [132.239.152.182]) by hub.freebsd.org (Postfix) with ESMTP id 5103637B405 for ; Mon, 11 Mar 2002 13:25:46 -0800 (PST) Received: (from horwitt@localhost) by aogsquid.ucsd.edu (8.11.6/8.11.6/aogsquid.3) id g2BLPX368770 for freebsd-java@freebsd.org; Mon, 11 Mar 2002 13:25:33 -0800 (PST) (envelope-from horwitt) Date: Mon, 11 Mar 2002 13:25:33 -0800 (PST) From: David Horwitt Message-Id: <200203112125.g2BLPX368770@aogsquid.ucsd.edu> To: freebsd-java@freebsd.org Subject: plugin,Netscape,and 1.3.1p6 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I'm running FBSD 4.5-RELEASE and just built the 1.3.1p6 JDK. I'm a complete Java neophyte and everything I know has been learned from building the JDK and rummaging around trying to solve the issue herein. Everything built OK and seems to be running OK except for plugin functionality with linux-communicator 4.79. Question 1: It seems that I need to run the linux-communicator instead of the FreeBSD communicator since the native browser only understands a.out and all the plugins are ELF. Is this correct? I would prefer to run the native browser if possible. Question 2: Since I'm using a linux browser, it seems that I also must use the linux Java plugin, as the FreeBSD plugin built from 1.3.1p6 generates the complaint "ELF file OS ABI invalid". Once again, is it possible to use the native FreeBSD plugin with a Netscape browser (I am _NOT_ interested in running Mozilla)? Maybe a tool to convert linux ELF to FBSD ELF? Question 3: The plugin doesn't actually work to run applets. java_vm starts OK, but it seems that the codebase attribute in the is not being interpreted correctly. For example, trying to run the Clock demo from the JDK generates this error in the Java console: java.lang.ClassNotFoundException: java.io.FileNotFoundException: /usr/local/java/jdk/demo/applets/Clock/example1.html/Clock2/class.class (Not a directory) If I change the codebase attribute from : alt="Your browser understands the <APPLET> tag but isn't running the applet, for some reason." Your browser is completely ignoring the <APPLET> tag! to: alt="Your browser understands the <APPLET> tag but isn't running the applet, for some reason." Your browser is completely ignoring the <APPLET> tag! the applet runs in the browser. Running the (original) applet from appletviewer works fine. When the applet fails, and JAVA_PLUGIN_TRACE is enabled, one of the outputs is: MAV(16778478) codebaseURL = file:/usr/local/java/jdk/demo/applets/Clock/example1.html/ When it works (with the full-path codebase) the corresponding output line is: MAV(16778478) codebaseURL = file:/usr/local/java/jdk/demo/applets/Clock/ I poked around MotifAppletViewer.java, thinking there was a simple bug in setting the codebase path, but was quickly overwhelmed due to my Java ignorance. I am using the green_threads java_vm. I have monkeyed with various incantations of CLASSPATH with no apparent effect. Is this a Netscape problem, a plugin problem, a java_vm problem, a personal problem (eg I built the JDK incorrectly or my environment is wrong), or ??? Thanks for any help/insights/clues you can provide. David Horwitt Scripps Institution of Oceanography david@aogsquid.ucsd.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 11 13:28:32 2002 Delivered-To: freebsd-java@freebsd.org Received: from blackhelicopters.org (geburah.blackhelicopters.org [209.69.178.18]) by hub.freebsd.org (Postfix) with ESMTP id 14FB537B41A for ; Mon, 11 Mar 2002 13:28:15 -0800 (PST) Received: (from mwlucas@localhost) by blackhelicopters.org (8.11.6/8.11.6) id g2BLSEb87831 for java@freebsd.org; Mon, 11 Mar 2002 16:28:14 -0500 (EST) (envelope-from mwlucas) Date: Mon, 11 Mar 2002 16:28:14 -0500 From: Michael Lucas To: java@freebsd.org Subject: plug-in error? Message-ID: <20020311162814.A87805@blackhelicopters.org> 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 List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello, I've tried the archives, without success. Does anyone recognize this error? It's from Mozilla 0.9.8_2,1 and jdk-1.3.1p6. LoadPlugin: failed to initialize shared library /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so [/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so: Undefined symbol "XtShellStrings"] Thanks! ==ml -- Michael Lucas mwlucas@FreeBSD.org, mwlucas@BlackHelicopters.org my FreeBSD column: http://www.oreillynet.com/pub/q/Big_Scary_Daemons http://www.blackhelicopters.org/~mwlucas/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 11 14: 9: 1 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by hub.freebsd.org (Postfix) with ESMTP id A779E37B400 for ; Mon, 11 Mar 2002 14:08:48 -0800 (PST) Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.22 #1) id 16kXyI-0001gl-00; Mon, 11 Mar 2002 15:08:47 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g2BM8Wr09932; Tue, 12 Mar 2002 08:38:32 +1030 (CST) (envelope-from glewis) Date: Tue, 12 Mar 2002 08:38:31 +1030 From: Greg Lewis To: David Horwitt Cc: freebsd-java@FreeBSD.ORG Subject: Re: plugin,Netscape,and 1.3.1p6 Message-ID: <20020312083831.A9904@misty.eyesbeyond.com> References: <200203112125.g2BLPX368770@aogsquid.ucsd.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200203112125.g2BLPX368770@aogsquid.ucsd.edu>; from horwitt@aogsquid.ucsd.edu on Mon, Mar 11, 2002 at 01:25:33PM -0800 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Mar 11, 2002 at 01:25:33PM -0800, David Horwitt wrote: > Question 1: It seems that I need to run the linux-communicator instead > of the FreeBSD communicator since the native browser only understands a.out > and all the plugins are ELF. Is this correct? I would prefer to run the > native browser if possible. Netscape didn't allow you to choose different plugins (AFAIK) until 4.78. Unfortunately the last FreeBSD version was 4.77. And yes, there is the a.out vs. ELF issue. > Question 2: Since I'm using a linux browser, it seems that I also must use the > linux Java plugin, as the FreeBSD plugin built from 1.3.1p6 generates the > complaint "ELF file OS ABI invalid". Once again, is it possible to use the > native FreeBSD plugin with a Netscape browser (I am _NOT_ interested in running > Mozilla)? Maybe a tool to convert linux ELF to FBSD ELF? Its not possible to run a FreeBSD shared library in a Linux executable and vice versa, so yes you need the Linux plugin. > Question 3: The plugin doesn't actually work to run applets. java_vm starts OK, > but it seems that the codebase attribute in the is not being > interpreted correctly. For example, trying to run the Clock demo from the JDK > generates this error in the Java console: > java.lang.ClassNotFoundException: java.io.FileNotFoundException: > /usr/local/java/jdk/demo/applets/Clock/example1.html/Clock2/class.class > (Not a directory) > If I change the codebase attribute from : > > alt="Your browser understands the <APPLET> tag but isn't running the applet, for some reason." > Your browser is completely ignoring the <APPLET> tag! > > > to: > > alt="Your browser understands the <APPLET> tag but isn't running the applet, for some reason." > Your browser is completely ignoring the <APPLET> tag! > > > the applet runs in the browser. Running the (original) applet from appletviewer > works fine. > > When the applet fails, and JAVA_PLUGIN_TRACE is enabled, one of the outputs is: > MAV(16778478) codebaseURL = file:/usr/local/java/jdk/demo/applets/Clock/example1.html/ > When it works (with the full-path codebase) the corresponding output line is: > MAV(16778478) codebaseURL = file:/usr/local/java/jdk/demo/applets/Clock/ > > I poked around MotifAppletViewer.java, thinking there was a simple bug in > setting the codebase path, but was quickly overwhelmed due to my Java ignorance. > > I am using the green_threads java_vm. I have monkeyed with various incantations > of CLASSPATH with no apparent effect. > > Is this a Netscape problem, a plugin problem, a java_vm problem, a personal > problem (eg I built the JDK incorrectly or my environment is wrong), or ??? Given that the native plugin can't conceivably work with any version of Netscape less than 6, what are you running it in when you attempt this? Also note that due to the above situation there has been zero testing of the Netscape 4 version of the plugin, which is what you would need to use if you somehow had a Netscape 4 version which could use it. > Thanks for any help/insights/clues you can provide. HTH. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 11 14:12:48 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by hub.freebsd.org (Postfix) with ESMTP id 58CC737B416 for ; Mon, 11 Mar 2002 14:12:45 -0800 (PST) Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.22 #1) id 16kY27-0004Xb-00; Mon, 11 Mar 2002 15:12:43 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g2BMCdG09965; Tue, 12 Mar 2002 08:42:39 +1030 (CST) (envelope-from glewis) Date: Tue, 12 Mar 2002 08:42:39 +1030 From: Greg Lewis To: Michael Lucas Cc: java@FreeBSD.ORG Subject: Re: plug-in error? Message-ID: <20020312084239.B9904@misty.eyesbeyond.com> References: <20020311162814.A87805@blackhelicopters.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020311162814.A87805@blackhelicopters.org>; from mwlucas@blackhelicopters.org on Mon, Mar 11, 2002 at 04:28:14PM -0500 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Mar 11, 2002 at 04:28:14PM -0500, Michael Lucas wrote: > I've tried the archives, without success. Does anyone recognize this > error? It's from Mozilla 0.9.8_2,1 and jdk-1.3.1p6. > > LoadPlugin: failed to initialize shared library /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so [/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so: Undefined symbol "XtShellStrings"] Its not in the archives 'cos you're the "lucky" first person to encounter this particular error. It looks like it can't find a symbol from libXt, but I'm not sure under what circumstances this could occur. Could you please post the FreeBSD and XFree86 versions you're using? -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 11 14:50:11 2002 Delivered-To: freebsd-java@freebsd.org Received: from blackhelicopters.org (geburah.blackhelicopters.org [209.69.178.18]) by hub.freebsd.org (Postfix) with ESMTP id 8F8B037B41A for ; Mon, 11 Mar 2002 14:50:08 -0800 (PST) Received: (from mwlucas@localhost) by blackhelicopters.org (8.11.6/8.11.6) id g2BMnxm88392; Mon, 11 Mar 2002 17:49:59 -0500 (EST) (envelope-from mwlucas) Date: Mon, 11 Mar 2002 17:49:59 -0500 From: Michael Lucas To: Greg Lewis Cc: java@FreeBSD.ORG Subject: Re: plug-in error? Message-ID: <20020311174959.A88376@blackhelicopters.org> References: <20020311162814.A87805@blackhelicopters.org> <20020312084239.B9904@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: <20020312084239.B9904@misty.eyesbeyond.com>; from glewis@eyesbeyond.com on Tue, Mar 12, 2002 at 08:42:39AM +1030 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Cool! I just love being on the cutting edge. :-) FreeBSD pedicular.blackhelicopters.org 5.0-CURRENT FreeBSD 5.0-CURRENT #2: Fri Mar 8 01:05:52 GMT 2002 mwlucas@pedicular.blackhelicopters.org:/shared/usr/currentobj/usr/src/sys/BLEEDING i386 XFree86 4.2.0, from source. I didn't bother tracking down the port, I just built in from XFree86. (4.1 doesn't like my video card.) Other tidbits: pedicular~;ldconfig -r | grep libXt 68:-lXt.6 => /usr/X11R6/lib/libXt.so.6 75:-lXtst.6 => /usr/X11R6/lib/libXtst.so.6 pedicular~;nm -D /usr/X11R6/lib/libXt.so | grep XtShellStrings 000429b9 R XtShellStrings pedicular~;ls -lai /usr/X11R6/lib/mozilla/plugins/ total 38 548800 drwxr-xr-x 2 root wheel 512 Mar 6 12:25 . 548745 drwxr-xr-x 10 root wheel 1536 Feb 26 14:16 .. 549285 lrwxr-xr-x 1 root wheel 62 Feb 26 14:16 libjavaplugin_oji.so -> /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so 548801 -rwxr-xr-x 1 root wheel 18900 Feb 26 13:16 libnullplugin.so 553025 -r-xr-xr-x 1 root wheel 11988 Mar 6 12:25 npflash.so pedicular~; Everything checks, and nothing works... On Tue, Mar 12, 2002 at 08:42:39AM +1030, Greg Lewis wrote: > On Mon, Mar 11, 2002 at 04:28:14PM -0500, Michael Lucas wrote: > > I've tried the archives, without success. Does anyone recognize this > > error? It's from Mozilla 0.9.8_2,1 and jdk-1.3.1p6. > > > > LoadPlugin: failed to initialize shared library /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so [/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so: Undefined symbol "XtShellStrings"] > > Its not in the archives 'cos you're the "lucky" first person to encounter > this particular error. It looks like it can't find a symbol from libXt, > but I'm not sure under what circumstances this could occur. > > Could you please post the FreeBSD and XFree86 versions you're using? > > -- > Greg Lewis Email : glewis@eyesbeyond.com > Eyes Beyond Web : http://www.eyesbeyond.com > Information Technology -- Michael Lucas mwlucas@FreeBSD.org, mwlucas@BlackHelicopters.org my FreeBSD column: http://www.oreillynet.com/pub/q/Big_Scary_Daemons http://www.blackhelicopters.org/~mwlucas/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 11 15:39:33 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by hub.freebsd.org (Postfix) with ESMTP id 2D7F837B416 for ; Mon, 11 Mar 2002 15:39:23 -0800 (PST) Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.22 #1) id 16kZNx-0007EM-00; Mon, 11 Mar 2002 16:39:21 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g2BNdG710321; Tue, 12 Mar 2002 10:09:16 +1030 (CST) (envelope-from glewis) Date: Tue, 12 Mar 2002 10:09:16 +1030 From: Greg Lewis To: Michael Lucas Cc: Greg Lewis , java@FreeBSD.ORG Subject: Re: plug-in error? Message-ID: <20020312100916.B10202@misty.eyesbeyond.com> References: <20020311162814.A87805@blackhelicopters.org> <20020312084239.B9904@misty.eyesbeyond.com> <20020311174959.A88376@blackhelicopters.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020311174959.A88376@blackhelicopters.org>; from mwlucas@blackhelicopters.org on Mon, Mar 11, 2002 at 05:49:59PM -0500 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Mar 11, 2002 at 05:49:59PM -0500, Michael Lucas wrote: > Cool! I just love being on the cutting edge. :-) Or bleeding as your config so aptly puts it :). > FreeBSD pedicular.blackhelicopters.org 5.0-CURRENT FreeBSD 5.0-CURRENT #2: Fri Mar 8 01:05:52 GMT 2002 mwlucas@pedicular.blackhelicopters.org:/shared/usr/currentobj/usr/src/sys/BLEEDING i386 > > XFree86 4.2.0, from source. I didn't bother tracking down the port, I > just built in from XFree86. (4.1 doesn't like my video card.) Ok, 5.0 requires you to have malloc.conf symlink'ed to Hrajuxz. I'm not sure exactly what that means since I don't run 5.0, but thats what I'm told :). I should have put this in as a post-install message, but I haven't yet. However, this doesn't look like your problem in this particular case. Your biggest problem is that none of the JDK porters, AFAIK, run 5.0 and its officially not supported for this reason (that and its a moving target we don't really have resources for). I'm also not aware of how many people have tested this with 4.2.0, so you really are right out on the edge here :). Having said that, I understand your situation with the card and would like to see things work with 5.0 as a snapshot release becomes imminent. I'll try and track down some more things for you to try when I get home. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 11 17:40:43 2002 Delivered-To: freebsd-java@freebsd.org Received: from blackhelicopters.org (geburah.blackhelicopters.org [209.69.178.18]) by hub.freebsd.org (Postfix) with ESMTP id 3BD3B37B400 for ; Mon, 11 Mar 2002 17:40:37 -0800 (PST) Received: (from mwlucas@localhost) by blackhelicopters.org (8.11.6/8.11.6) id g2C1eUX89321; Mon, 11 Mar 2002 20:40:30 -0500 (EST) (envelope-from mwlucas) Date: Mon, 11 Mar 2002 20:40:29 -0500 From: Michael Lucas To: Greg Lewis Cc: java@FreeBSD.ORG Subject: Re: plug-in error? Message-ID: <20020311204029.B89283@blackhelicopters.org> References: <20020311162814.A87805@blackhelicopters.org> <20020312084239.B9904@misty.eyesbeyond.com> <20020311174959.A88376@blackhelicopters.org> <20020312100916.B10202@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: <20020312100916.B10202@misty.eyesbeyond.com>; from glewis@eyesbeyond.com on Tue, Mar 12, 2002 at 10:09:16AM +1030 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Well, this is a switch! Usually, it's "We don't support that in -stable, just in -current." :-) I'm happy to try any patches or whatever you'd like tested. This certainly isn't vital, but it would be nice to have for the snapshot. However, just for my information, what the heck is this "Hrajuxz" that I'm supposed to symlink the nonexistent malloc.conf to? On Tue, Mar 12, 2002 at 10:09:16AM +1030, Greg Lewis wrote: > On Mon, Mar 11, 2002 at 05:49:59PM -0500, Michael Lucas wrote: > > Cool! I just love being on the cutting edge. :-) > > Or bleeding as your config so aptly puts it :). > > > FreeBSD pedicular.blackhelicopters.org 5.0-CURRENT FreeBSD 5.0-CURRENT #2: Fri Mar 8 01:05:52 GMT 2002 mwlucas@pedicular.blackhelicopters.org:/shared/usr/currentobj/usr/src/sys/BLEEDING i386 > > > > XFree86 4.2.0, from source. I didn't bother tracking down the port, I > > just built in from XFree86. (4.1 doesn't like my video card.) > > Ok, 5.0 requires you to have malloc.conf symlink'ed to Hrajuxz. I'm not > sure exactly what that means since I don't run 5.0, but thats what I'm > told :). I should have put this in as a post-install message, but I > haven't yet. > > However, this doesn't look like your problem in this particular case. > Your biggest problem is that none of the JDK porters, AFAIK, run 5.0 > and its officially not supported for this reason (that and its a moving > target we don't really have resources for). I'm also not aware of how > many people have tested this with 4.2.0, so you really are right out on > the edge here :). > > Having said that, I understand your situation with the card and would > like to see things work with 5.0 as a snapshot release becomes imminent. > I'll try and track down some more things for you to try when I get home. > > -- > Greg Lewis Email : glewis@eyesbeyond.com > Eyes Beyond Web : http://www.eyesbeyond.com > Information Technology -- Michael Lucas mwlucas@FreeBSD.org, mwlucas@BlackHelicopters.org my FreeBSD column: http://www.oreillynet.com/pub/q/Big_Scary_Daemons http://www.blackhelicopters.org/~mwlucas/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 12 6:24:34 2002 Delivered-To: freebsd-java@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id B3C3C37B400 for ; Tue, 12 Mar 2002 06:24:29 -0800 (PST) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id ; Tue, 12 Mar 2002 15:24:28 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FDA46D@l04.research.kpn.com> From: "Koster, K.J." To: 'Michael Lucas' Cc: java@FreeBSD.ORG Subject: RE: plug-in error? Date: Tue, 12 Mar 2002 15:24:27 +0100 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 List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Dear Michael, > > However, just for my information, what the heck is this "Hrajuxz" that > I'm supposed to symlink the nonexistent malloc.conf to? > man malloc. It's a gross hack^W^Welegant solution to run-time configure the behaviour of FreeBSD's malloc. I believe phk@ is responsible for this. Interesting side note: Poul-Henning sent the following message to FreeBSD's security officer, regarding a zlib security advisory. http://www.linuxsecurity.com/advisories/redhat_advisory-1963.html ------- Forwarded Message To: security-officer@freebsd.org Subject: the zlib double free bug From: Poul-Henning Kamp Date: Mon, 11 Mar 2002 23:13:57 +0100 Message-ID: <58959.1015884837@critter.freebsd.dk> Sender: phk@critter.freebsd.dk As author of our malloc(3) it is my opinion that we are not vulnerable to this (kind of) bug. Most mallocs keep their housekeeping data right next to the allocated range. This gives rise to all sorts of unpleassant situations if programs stray outside the dotted line, free(3) things twice or free(3) modified pointers. phkmalloc(3) does not store housekeeping next to allocated data, and in particular it has code that detects and complains about exactly the kind of double free this advisory talks about: critter phk> cat a.c main() { char *p; p = malloc(256); p = malloc(256); free(p); free(p); } critter phk> make a cc -O -pipe a.c -o a a.c: In function `main': a.c:7: warning: assignment makes pointer from integer without a cast a.c:8: warning: assignment makes pointer from integer without a cast critter phk> ./a a in free(): error: chunk is already free Abort (core dumped) critter phk> The malloc flag 'A' determines if the situation is just warned about or if the program should call abort(3). - -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. ------- End of Forwarded Message Kees Jan ===================================================== You can't have everything. Where would you put it? [Steven Wright] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 12 8:26: 0 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by hub.freebsd.org (Postfix) with ESMTP id 6617037BF57 for ; Tue, 12 Mar 2002 08:24:24 -0800 (PST) Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.22 #1) id 16kp4Y-0008UC-00; Tue, 12 Mar 2002 09:24:23 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g2CGOIR12751; Wed, 13 Mar 2002 02:54:18 +1030 (CST) (envelope-from glewis) Date: Wed, 13 Mar 2002 02:54:17 +1030 From: Greg Lewis To: Michael Lucas Cc: Greg Lewis , java@FreeBSD.ORG Subject: Re: plug-in error? Message-ID: <20020313025417.A12713@misty.eyesbeyond.com> References: <20020311162814.A87805@blackhelicopters.org> <20020312084239.B9904@misty.eyesbeyond.com> <20020311174959.A88376@blackhelicopters.org> <20020312100916.B10202@misty.eyesbeyond.com> <20020311204029.B89283@blackhelicopters.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020311204029.B89283@blackhelicopters.org>; from mwlucas@blackhelicopters.org on Mon, Mar 11, 2002 at 08:40:29PM -0500 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Mar 11, 2002 at 08:40:29PM -0500, Michael Lucas wrote: > Well, this is a switch! Usually, it's "We don't support that in > -stable, just in -current." :-) I think its because JDK porting has a different focus than core FreeBSD development :). > I'm happy to try any patches or whatever you'd like tested. This > certainly isn't vital, but it would be nice to have for the snapshot. Ok. I believe that ldd in -CURRENT has recently gained the ability to list the shared library linkages in other shared libraries. Could you please run ldd on both the plugin shared library and libawt. The plugin should be linked to libawt, and libawt should be linked to libXt. > However, just for my information, what the heck is this "Hrajuxz" that > I'm supposed to symlink the nonexistent malloc.conf to? Run time malloc behaviour configuration I believe. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 12 8:29:52 2002 Delivered-To: freebsd-java@freebsd.org Received: from blackhelicopters.org (geburah.blackhelicopters.org [209.69.178.18]) by hub.freebsd.org (Postfix) with ESMTP id D6B7E37B956 for ; Tue, 12 Mar 2002 08:29:37 -0800 (PST) Received: (from mwlucas@localhost) by blackhelicopters.org (8.11.6/8.11.6) id g2CGTUf92819; Tue, 12 Mar 2002 11:29:30 -0500 (EST) (envelope-from mwlucas) Date: Tue, 12 Mar 2002 11:29:29 -0500 From: Michael Lucas To: Greg Lewis Cc: java@FreeBSD.ORG Subject: Re: plug-in error? Message-ID: <20020312112929.A92770@blackhelicopters.org> References: <20020311162814.A87805@blackhelicopters.org> <20020312084239.B9904@misty.eyesbeyond.com> <20020311174959.A88376@blackhelicopters.org> <20020312100916.B10202@misty.eyesbeyond.com> <20020311204029.B89283@blackhelicopters.org> <20020313025417.A12713@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: <20020313025417.A12713@misty.eyesbeyond.com>; from glewis@eyesbeyond.com on Wed, Mar 13, 2002 at 02:54:17AM +1030 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Mar 13, 2002 at 02:54:17AM +1030, Greg Lewis wrote: > On Mon, Mar 11, 2002 at 08:40:29PM -0500, Michael Lucas wrote: > > Well, this is a switch! Usually, it's "We don't support that in > > -stable, just in -current." :-) > > I think its because JDK porting has a different focus than core FreeBSD > development :). True. I think your efforts will do just as much, if not more, for long-term FreeBSD usage, however. People don't use an OS, they use apps. :-) > Ok. I believe that ldd in -CURRENT has recently gained the ability to > list the shared library linkages in other shared libraries. Could you > please run ldd on both the plugin shared library and libawt. The plugin > should be linked to libawt, and libawt should be linked to libXt. Well, now, *this* is downright funky. pedicular/usr/local/jdk1.3.1/jre/plugin/i386/ns600;ls -lai total 2628 66873 drwxr-xr-x 2 root wheel 512 Mar 11 17:45 . 66872 drwxr-xr-x 4 root wheel 512 Mar 11 17:03 .. 66874 -rwxr-xr-x 1 root wheel 316532 Mar 11 17:06 libjavaplugin_oji.so 67630 -rwxr-xr-x 1 root wheel 2323769 Mar 11 17:10 libjavaplugin_oji_g.so pedicular/usr/local/jdk1.3.1/jre/plugin/i386/ns600;ldd * libjavaplugin_oji.so: ldd: libjavaplugin_oji.so: Shared object "libjavaplugin_oji.so" not found libjavaplugin_oji.so: exit status 1 libjavaplugin_oji_g.so: ldd: libjavaplugin_oji_g.so: Shared object "libjavaplugin_oji_g.so" not found libjavaplugin_oji_g.so: exit status 1 pedicular/usr/local/jdk1.3.1/jre/plugin/i386/ns600; pedicular;ldd libawt.so libawt.so: ldd: libawt.so: Shared object "libawt.so" not found libawt.so: exit status 1 pedicular/usr/local/jdk1.3.1/jre/lib/i386; > > However, just for my information, what the heck is this "Hrajuxz" that > > I'm supposed to symlink the nonexistent malloc.conf to? > Run time malloc behaviour configuration I believe. I'm checking into this, thanks. Nifty stuff, if you're hardcore. :-) ==ml -- Michael Lucas mwlucas@FreeBSD.org, mwlucas@BlackHelicopters.org my FreeBSD column: http://www.oreillynet.com/pub/q/Big_Scary_Daemons http://www.blackhelicopters.org/~mwlucas/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 12 9:14:10 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by hub.freebsd.org (Postfix) with ESMTP id AB13337B426 for ; Tue, 12 Mar 2002 09:13:53 -0800 (PST) Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.22 #1) id 16kpqQ-0008HO-00; Tue, 12 Mar 2002 10:13:52 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g2CHDkp13477; Wed, 13 Mar 2002 03:43:46 +1030 (CST) (envelope-from glewis) Date: Wed, 13 Mar 2002 03:43:46 +1030 From: Greg Lewis To: Michael Lucas Cc: Greg Lewis , java@FreeBSD.ORG Subject: Re: plug-in error? Message-ID: <20020313034346.A13457@misty.eyesbeyond.com> References: <20020311162814.A87805@blackhelicopters.org> <20020312084239.B9904@misty.eyesbeyond.com> <20020311174959.A88376@blackhelicopters.org> <20020312100916.B10202@misty.eyesbeyond.com> <20020311204029.B89283@blackhelicopters.org> <20020313025417.A12713@misty.eyesbeyond.com> <20020312112929.A92770@blackhelicopters.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020312112929.A92770@blackhelicopters.org>; from mwlucas@blackhelicopters.org on Tue, Mar 12, 2002 at 11:29:29AM -0500 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Mar 12, 2002 at 11:29:29AM -0500, Michael Lucas wrote: > On Wed, Mar 13, 2002 at 02:54:17AM +1030, Greg Lewis wrote: > > On Mon, Mar 11, 2002 at 08:40:29PM -0500, Michael Lucas wrote: > > > Well, this is a switch! Usually, it's "We don't support that in > > > -stable, just in -current." :-) > > > > I think its because JDK porting has a different focus than core FreeBSD > > development :). > > True. I think your efforts will do just as much, if not more, for > long-term FreeBSD usage, however. People don't use an OS, they use > apps. :-) Right. So we need to fix your problems so you can write a glowing article about Java on FreeBSD and hence attract more users ;-). > > Ok. I believe that ldd in -CURRENT has recently gained the ability to > > list the shared library linkages in other shared libraries. Could you > > please run ldd on both the plugin shared library and libawt. The plugin > > should be linked to libawt, and libawt should be linked to libXt. > > Well, now, *this* is downright funky. [funkiness snipped] Hmmm. What date was your ldd built, same time as the kernel? I'll try and track down when support for using ldd on shared libraries was comitted. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 12 9:49:27 2002 Delivered-To: freebsd-java@freebsd.org Received: from blackhelicopters.org (geburah.blackhelicopters.org [209.69.178.18]) by hub.freebsd.org (Postfix) with ESMTP id 6027437B41E for ; Tue, 12 Mar 2002 09:49:12 -0800 (PST) Received: (from mwlucas@localhost) by blackhelicopters.org (8.11.6/8.11.6) id g2CHn4o93462; Tue, 12 Mar 2002 12:49:04 -0500 (EST) (envelope-from mwlucas) Date: Tue, 12 Mar 2002 12:49:04 -0500 From: Michael Lucas To: Greg Lewis Cc: java@FreeBSD.ORG Subject: Re: plug-in error? Message-ID: <20020312124904.A93431@blackhelicopters.org> References: <20020311162814.A87805@blackhelicopters.org> <20020312084239.B9904@misty.eyesbeyond.com> <20020311174959.A88376@blackhelicopters.org> <20020312100916.B10202@misty.eyesbeyond.com> <20020311204029.B89283@blackhelicopters.org> <20020313025417.A12713@misty.eyesbeyond.com> <20020312112929.A92770@blackhelicopters.org> <20020313034346.A13457@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: <20020313034346.A13457@misty.eyesbeyond.com>; from glewis@eyesbeyond.com on Wed, Mar 13, 2002 at 03:43:46AM +1030 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Mar 13, 2002 at 03:43:46AM +1030, Greg Lewis wrote: > Right. So we need to fix your problems so you can write a glowing article > about Java on FreeBSD and hence attract more users ;-). Well, that was the plan at any rate. :-) > Hmmm. What date was your ldd built, same time as the kernel? I'll try > and track down when support for using ldd on shared libraries was comitted. Well, let me save you that trouble: pedicular~;ldd /usr/lib/libreadline.so.4 /usr/lib/libreadline.so.4: libncurses.so.5 => /usr/lib/libncurses.so.5 (0x2814a000) pedicular~; So, I think I have that support. Should I rebuild java with the malloc.conf options set? I thought that only affected runtime, but thought I'd check. Grasping at straws here... ==ml -- Michael Lucas mwlucas@FreeBSD.org, mwlucas@BlackHelicopters.org my FreeBSD column: http://www.oreillynet.com/pub/q/Big_Scary_Daemons http://www.blackhelicopters.org/~mwlucas/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 12 10:42: 5 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by hub.freebsd.org (Postfix) with ESMTP id 1853E37B400 for ; Tue, 12 Mar 2002 10:41:58 -0800 (PST) Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.22 #1) id 16krDf-0002jB-00; Tue, 12 Mar 2002 11:41:56 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g2CIfqR13873; Wed, 13 Mar 2002 05:11:52 +1030 (CST) (envelope-from glewis) Date: Wed, 13 Mar 2002 05:11:52 +1030 From: Greg Lewis To: Michael Lucas Cc: java@FreeBSD.ORG Subject: Re: plug-in error? Message-ID: <20020313051151.A13824@misty.eyesbeyond.com> References: <20020311162814.A87805@blackhelicopters.org> <20020312084239.B9904@misty.eyesbeyond.com> <20020311174959.A88376@blackhelicopters.org> <20020312100916.B10202@misty.eyesbeyond.com> <20020311204029.B89283@blackhelicopters.org> <20020313025417.A12713@misty.eyesbeyond.com> <20020312112929.A92770@blackhelicopters.org> <20020313034346.A13457@misty.eyesbeyond.com> <20020312124904.A93431@blackhelicopters.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020312124904.A93431@blackhelicopters.org>; from mwlucas@blackhelicopters.org on Tue, Mar 12, 2002 at 12:49:04PM -0500 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Mar 12, 2002 at 12:49:04PM -0500, Michael Lucas wrote: > On Wed, Mar 13, 2002 at 03:43:46AM +1030, Greg Lewis wrote: > > Right. So we need to fix your problems so you can write a glowing article > > about Java on FreeBSD and hence attract more users ;-). > > Well, that was the plan at any rate. :-) An excellent plan it is :). > > Hmmm. What date was your ldd built, same time as the kernel? I'll try > > and track down when support for using ldd on shared libraries was comitted. > > Well, let me save you that trouble: > > pedicular~;ldd /usr/lib/libreadline.so.4 > /usr/lib/libreadline.so.4: > libncurses.so.5 => /usr/lib/libncurses.so.5 (0x2814a000) > pedicular~; > > So, I think I have that support. It would definitely appear so, which makes the results with the Java libraries that much weirder. However, I don't want to spend too much time trying to diagnose something in a tool I was just hoping would give us a handle on the real problem. > Should I rebuild java with the malloc.conf options set? I thought > that only affected runtime, but thought I'd check. Grasping at straws > here... I don't think it will work, but you're welcome to give it a try... You don't happen to have access to a box with 4-STABLE and X 3.3 or 4.1 on it do you? -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 12 10:48: 2 2002 Delivered-To: freebsd-java@freebsd.org Received: from blackhelicopters.org (geburah.blackhelicopters.org [209.69.178.18]) by hub.freebsd.org (Postfix) with ESMTP id 93BBD37B4A7 for ; Tue, 12 Mar 2002 10:47:46 -0800 (PST) Received: (from mwlucas@localhost) by blackhelicopters.org (8.11.6/8.11.6) id g2CIlhr94061; Tue, 12 Mar 2002 13:47:43 -0500 (EST) (envelope-from mwlucas) Date: Tue, 12 Mar 2002 13:47:42 -0500 From: Michael Lucas To: Greg Lewis Cc: java@FreeBSD.ORG Subject: Re: plug-in error? Message-ID: <20020312134742.A94040@blackhelicopters.org> References: <20020311162814.A87805@blackhelicopters.org> <20020312084239.B9904@misty.eyesbeyond.com> <20020311174959.A88376@blackhelicopters.org> <20020312100916.B10202@misty.eyesbeyond.com> <20020311204029.B89283@blackhelicopters.org> <20020313025417.A12713@misty.eyesbeyond.com> <20020312112929.A92770@blackhelicopters.org> <20020313034346.A13457@misty.eyesbeyond.com> <20020312124904.A93431@blackhelicopters.org> <20020313051151.A13824@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: <20020313051151.A13824@misty.eyesbeyond.com>; from glewis@eyesbeyond.com on Wed, Mar 13, 2002 at 05:11:52AM +1030 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Mar 13, 2002 at 05:11:52AM +1030, Greg Lewis wrote: > It would definitely appear so, which makes the results with the Java > libraries that much weirder. However, I don't want to spend too much time > trying to diagnose something in a tool I was just hoping would give us > a handle on the real problem. If this support is new, would it be worth me dropping a note to -hackers asking for outside opinion? Perhaps one of the ldd folks can say "Ah, yes, that can happen if..." > You don't happen to have access to a box with 4-STABLE and X 3.3 or 4.1 > on it do you? Nope. :-( I have 4-stable, but not X4.1 or X3.3. I can try that, however, and see what happens. While I built the jdk there, I haven't tried it. This will be via X over SSH from a home network to here, so it'll take me a few. ==ml -- Michael Lucas mwlucas@FreeBSD.org, mwlucas@BlackHelicopters.org my FreeBSD column: http://www.oreillynet.com/pub/q/Big_Scary_Daemons http://www.blackhelicopters.org/~mwlucas/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 12 10:54:51 2002 Delivered-To: freebsd-java@freebsd.org Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by hub.freebsd.org (Postfix) with ESMTP id 48B2337B4E6 for ; Tue, 12 Mar 2002 10:52:39 -0800 (PST) Received: (from stijn@localhost) by pcwin002.win.tue.nl (8.11.6/8.11.4) id g2CIqYU63660; Tue, 12 Mar 2002 19:52:34 +0100 (CET) (envelope-from stijn) Date: Tue, 12 Mar 2002 19:52:34 +0100 From: Stijn Hoop To: Michael Lucas Cc: Joe Clarke , freebsd-java@freebsd.org Subject: Re: Mozilla 0.9.8 and jdk1.3.1 Message-ID: <20020312195234.A63547@pcwin002.win.tue.nl> References: <20020311174138.A88290@blackhelicopters.org> <20020312115158.L94049-100000@shumai.marcuscom.com> <20020312125013.B93431@blackhelicopters.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="lrZ03NoBR/3+SXJZ" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020312125013.B93431@blackhelicopters.org>; from mwlucas@blackhelicopters.org on Tue, Mar 12, 2002 at 12:50:13PM -0500 X-Bright-Idea: Let's abolish HTML mail! Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Tue, Mar 12, 2002 at 12:50:13PM -0500, Michael Lucas wrote: > I'm talking with the freebsd-java team on this... everything is set > up, but nothing works. >=20 > The short answer is, I'm the first person to install the JDK on 5.0. > They're having some interesting problems as a result. How I love the > bleeding edge! Ehm, nope - unfortunately, the laptop I used to run -CURRENT on for a full 2 weeks broke down already (oh the joys of modern hardware). All I can say is that it worked like a charm for me... Sorry, no more to be determined. The laptop is out of my hands and I got a replacement. I'll try and build a new -CURRENT + mozilla etc. on it, but that'll take some time. FWIW, it was an install of the 20020303-SNAPSHOT (or around that day). --Stijn --=20 The right half of the brain controls the left half of the body. This means that only left handed people are in their right mind. --lrZ03NoBR/3+SXJZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8jk5yY3r/tLQmfWcRAl05AKCYt+DNj7R7EwHDLVyi5heR68QkpwCfWR47 d4BcQ0+18Xj1l3mEgUDOubM= =5QlN -----END PGP SIGNATURE----- --lrZ03NoBR/3+SXJZ-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 12 10:56:15 2002 Delivered-To: freebsd-java@freebsd.org Received: from blackhelicopters.org (geburah.blackhelicopters.org [209.69.178.18]) by hub.freebsd.org (Postfix) with ESMTP id E34AD37B69E for ; Tue, 12 Mar 2002 10:54:30 -0800 (PST) Received: (from mwlucas@localhost) by blackhelicopters.org (8.11.6/8.11.6) id g2CIsRl94232; Tue, 12 Mar 2002 13:54:27 -0500 (EST) (envelope-from mwlucas) Date: Tue, 12 Mar 2002 13:54:27 -0500 From: Michael Lucas To: Stijn Hoop Cc: Joe Clarke , freebsd-java@freebsd.org Subject: Re: Mozilla 0.9.8 and jdk1.3.1 Message-ID: <20020312135427.A94196@blackhelicopters.org> References: <20020311174138.A88290@blackhelicopters.org> <20020312115158.L94049-100000@shumai.marcuscom.com> <20020312125013.B93431@blackhelicopters.org> <20020312195234.A63547@pcwin002.win.tue.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020312195234.A63547@pcwin002.win.tue.nl>; from stijn@win.tue.nl on Tue, Mar 12, 2002 at 07:52:34PM +0100 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Well, so I'm the first -current user to *complain*. :-) It might just be me, we'll see. On Tue, Mar 12, 2002 at 07:52:34PM +0100, Stijn Hoop wrote: > Hi, > > On Tue, Mar 12, 2002 at 12:50:13PM -0500, Michael Lucas wrote: > > I'm talking with the freebsd-java team on this... everything is set > > up, but nothing works. > > > > The short answer is, I'm the first person to install the JDK on 5.0. > > They're having some interesting problems as a result. How I love the > > bleeding edge! > > Ehm, nope - unfortunately, the laptop I used to run -CURRENT on for a full > 2 weeks broke down already (oh the joys of modern hardware). > > All I can say is that it worked like a charm for me... Sorry, no more > to be determined. The laptop is out of my hands and I got a replacement. > I'll try and build a new -CURRENT + mozilla etc. on it, but that'll take > some time. > > FWIW, it was an install of the 20020303-SNAPSHOT (or around that day). > > --Stijn > > -- > The right half of the brain controls the left half of the body. This means > that only left handed people are in their right mind. -- Michael Lucas mwlucas@FreeBSD.org, mwlucas@BlackHelicopters.org my FreeBSD column: http://www.oreillynet.com/pub/q/Big_Scary_Daemons http://www.blackhelicopters.org/~mwlucas/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 12 11: 5:50 2002 Delivered-To: freebsd-java@freebsd.org Received: from h132-197-179-27.gte.com (h132-197-179-27.gte.com [132.197.179.27]) by hub.freebsd.org (Postfix) with ESMTP id B258637B402 for ; Tue, 12 Mar 2002 11:05:46 -0800 (PST) Received: from kanpc.gte.com (localhost [IPv6:::1]) by h132-197-179-27.gte.com (8.12.2/8.12.2) with SMTP id g2CJ4xf7086574; Tue, 12 Mar 2002 14:04:59 -0500 (EST) (envelope-from ak03@gte.com) Date: Tue, 12 Mar 2002 14:04:59 -0500 From: Alexander Kabaev To: Greg Lewis Cc: mwlucas@blackhelicopters.org, java@FreeBSD.ORG Subject: Re: plug-in error? Message-Id: <20020312140459.591bf217.ak03@gte.com> In-Reply-To: <20020313051151.A13824@misty.eyesbeyond.com> References: <20020311162814.A87805@blackhelicopters.org> <20020312084239.B9904@misty.eyesbeyond.com> <20020311174959.A88376@blackhelicopters.org> <20020312100916.B10202@misty.eyesbeyond.com> <20020311204029.B89283@blackhelicopters.org> <20020313025417.A12713@misty.eyesbeyond.com> <20020312112929.A92770@blackhelicopters.org> <20020313034346.A13457@misty.eyesbeyond.com> <20020312124904.A93431@blackhelicopters.org> <20020313051151.A13824@misty.eyesbeyond.com> Organization: Verizon Data Services X-Mailer: Sylpheed version 0.7.3claws2 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Java plugin has worked reasonably well on latest -STABLE win XFree86 4.1.0 ever since I first installed it. Java plugin used to work on -CURRENT too, but it broke recently. I suspect that the recent changes to the dynamic loader are responsible for that. On Wed, 13 Mar 2002 05:11:52 +1030 > > I don't think it will work, but you're welcome to give it a try... > > You don't happen to have access to a box with 4-STABLE and X 3.3 or > 4.1 on it do you? > > -- > Greg Lewis Email : glewis@eyesbeyond.com > Eyes Beyond Web : > http://www.eyesbeyond.com > Information Technology > > > 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 12 11:17:20 2002 Delivered-To: freebsd-java@freebsd.org Received: from blackhelicopters.org (geburah.blackhelicopters.org [209.69.178.18]) by hub.freebsd.org (Postfix) with ESMTP id E5F1E37B689 for ; Tue, 12 Mar 2002 11:16:48 -0800 (PST) Received: (from mwlucas@localhost) by blackhelicopters.org (8.11.6/8.11.6) id g2CJGj894543; Tue, 12 Mar 2002 14:16:45 -0500 (EST) (envelope-from mwlucas) Date: Tue, 12 Mar 2002 14:16:45 -0500 From: Michael Lucas To: Greg Lewis Cc: java@FreeBSD.ORG Subject: Re: plug-in error? Message-ID: <20020312141644.A94499@blackhelicopters.org> References: <20020311162814.A87805@blackhelicopters.org> <20020312084239.B9904@misty.eyesbeyond.com> <20020311174959.A88376@blackhelicopters.org> <20020312100916.B10202@misty.eyesbeyond.com> <20020311204029.B89283@blackhelicopters.org> <20020313025417.A12713@misty.eyesbeyond.com> <20020312112929.A92770@blackhelicopters.org> <20020313034346.A13457@misty.eyesbeyond.com> <20020312124904.A93431@blackhelicopters.org> <20020313051151.A13824@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: <20020313051151.A13824@misty.eyesbeyond.com>; from glewis@eyesbeyond.com on Wed, Mar 13, 2002 at 05:11:52AM +1030 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Perhaps I'm being insufficiently paranoid here... I've installed the JDK, but never tested it... it went in just for the plugin. So, is there some decent way to test the JDK itself, without a plugin, in a plain old X session? I could just go hunting random java apps, but thought someone here might have a decent pointer to try. Do I have to define any environment variables or anything? I promise to put all this in an article, btw, to hopefully reduce future support load on you guys. :-) ==ml -- Michael Lucas mwlucas@FreeBSD.org, mwlucas@BlackHelicopters.org my FreeBSD column: http://www.oreillynet.com/pub/q/Big_Scary_Daemons http://www.blackhelicopters.org/~mwlucas/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 12 11:26: 2 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by hub.freebsd.org (Postfix) with ESMTP id 531EC37B43D for ; Tue, 12 Mar 2002 11:25:21 -0800 (PST) Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.22 #1) id 16krtf-0000D9-00; Tue, 12 Mar 2002 12:25:19 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g2CJPEU14100; Wed, 13 Mar 2002 05:55:14 +1030 (CST) (envelope-from glewis) Date: Wed, 13 Mar 2002 05:55:14 +1030 From: Greg Lewis To: Michael Lucas Cc: Greg Lewis , java@FreeBSD.ORG Subject: Re: plug-in error? Message-ID: <20020313055514.A14034@misty.eyesbeyond.com> References: <20020312084239.B9904@misty.eyesbeyond.com> <20020311174959.A88376@blackhelicopters.org> <20020312100916.B10202@misty.eyesbeyond.com> <20020311204029.B89283@blackhelicopters.org> <20020313025417.A12713@misty.eyesbeyond.com> <20020312112929.A92770@blackhelicopters.org> <20020313034346.A13457@misty.eyesbeyond.com> <20020312124904.A93431@blackhelicopters.org> <20020313051151.A13824@misty.eyesbeyond.com> <20020312141644.A94499@blackhelicopters.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020312141644.A94499@blackhelicopters.org>; from mwlucas@blackhelicopters.org on Tue, Mar 12, 2002 at 02:16:45PM -0500 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Mar 12, 2002 at 02:16:45PM -0500, Michael Lucas wrote: > Perhaps I'm being insufficiently paranoid here... This seems an unlikely statement from someone with an email address @BlackHelicopters.org :) > I've installed the JDK, but never tested it... it went in just for the > plugin. So, is there some decent way to test the JDK itself, without > a plugin, in a plain old X session? As an initial test, just run java -version If that produces something like java version "1.3.1-p6" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p6-glewis-020219-22:55) Classic VM (build 1.3.1-p6-glewis-020219-22:55, green threads, nojit) then try java -jar /usr/local/jdk1.3.1/demo/jfc/SwingSet2/SwingSet2.jar That will definitely give the X part of the code a decent work out. If you want something simpler on the X side try java -jar /usr/local/jdk1.3.1/demo/jfc/SimpleExample/SimpleExample.jar > I could just go hunting random java apps, but thought someone here > might have a decent pointer to try. Do I have to define any > environment variables or anything? You shouldn't need to define any environment variables. Java itself should provide all of these (the java executable is just a symlink to a shell script which sets up environment variables before invoking the actual executable). > I promise to put all this in an article, btw, to hopefully reduce > future support load on you guys. :-) Cool :). I'd certainly proof read it for you if that would be helpful. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 12 11:26:24 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by hub.freebsd.org (Postfix) with ESMTP id 3273737B404 for ; Tue, 12 Mar 2002 11:26:19 -0800 (PST) Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.22 #1) id 16kruc-0002lx-00; Tue, 12 Mar 2002 12:26:18 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g2CJQ9U14110; Wed, 13 Mar 2002 05:56:09 +1030 (CST) (envelope-from glewis) Date: Wed, 13 Mar 2002 05:56:09 +1030 From: Greg Lewis To: Alexander Kabaev Cc: Greg Lewis , mwlucas@blackhelicopters.org, java@FreeBSD.ORG Subject: Re: plug-in error? Message-ID: <20020313055608.B14034@misty.eyesbeyond.com> References: <20020312084239.B9904@misty.eyesbeyond.com> <20020311174959.A88376@blackhelicopters.org> <20020312100916.B10202@misty.eyesbeyond.com> <20020311204029.B89283@blackhelicopters.org> <20020313025417.A12713@misty.eyesbeyond.com> <20020312112929.A92770@blackhelicopters.org> <20020313034346.A13457@misty.eyesbeyond.com> <20020312124904.A93431@blackhelicopters.org> <20020313051151.A13824@misty.eyesbeyond.com> <20020312140459.591bf217.ak03@gte.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020312140459.591bf217.ak03@gte.com>; from ak03@gte.com on Tue, Mar 12, 2002 at 02:04:59PM -0500 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Mar 12, 2002 at 02:04:59PM -0500, Alexander Kabaev wrote: > Java plugin has worked reasonably well on latest -STABLE win XFree86 > 4.1.0 ever since I first installed it. Java plugin used to work on > -CURRENT too, but it broke recently. I suspect that the recent changes > to the dynamic loader are responsible for that. Bugger. I knew there was a reason we didn't try and port to -CURRENT, too much of a moving target. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 12 11:37:36 2002 Delivered-To: freebsd-java@freebsd.org Received: from blackhelicopters.org (geburah.blackhelicopters.org [209.69.178.18]) by hub.freebsd.org (Postfix) with ESMTP id 1D94137B402 for ; Tue, 12 Mar 2002 11:37:30 -0800 (PST) Received: (from mwlucas@localhost) by blackhelicopters.org (8.11.6/8.11.6) id g2CJbQH94815; Tue, 12 Mar 2002 14:37:26 -0500 (EST) (envelope-from mwlucas) Date: Tue, 12 Mar 2002 14:37:25 -0500 From: Michael Lucas To: Greg Lewis Cc: java@FreeBSD.ORG Subject: Re: plug-in error? Message-ID: <20020312143725.A94766@blackhelicopters.org> References: <20020311174959.A88376@blackhelicopters.org> <20020312100916.B10202@misty.eyesbeyond.com> <20020311204029.B89283@blackhelicopters.org> <20020313025417.A12713@misty.eyesbeyond.com> <20020312112929.A92770@blackhelicopters.org> <20020313034346.A13457@misty.eyesbeyond.com> <20020312124904.A93431@blackhelicopters.org> <20020313051151.A13824@misty.eyesbeyond.com> <20020312141644.A94499@blackhelicopters.org> <20020313055514.A14034@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: <20020313055514.A14034@misty.eyesbeyond.com>; from glewis@eyesbeyond.com on Wed, Mar 13, 2002 at 05:55:14AM +1030 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Mar 13, 2002 at 05:55:14AM +1030, Greg Lewis wrote: > On Tue, Mar 12, 2002 at 02:16:45PM -0500, Michael Lucas wrote: > > Perhaps I'm being insufficiently paranoid here... > > This seems an unlikely statement from someone with an email address > @BlackHelicopters.org :) Well, my paranoia is sufficient, it seems. > java -version Successful. > java -jar /usr/local/jdk1.3.1/demo/jfc/SwingSet2/SwingSet2.jar Successful. > java -jar /usr/local/jdk1.3.1/demo/jfc/SimpleExample/SimpleExample.jar Also successful. > > I promise to put all this in an article, btw, to hopefully reduce > > future support load on you guys. :-) > > Cool :). I'd certainly proof read it for you if that would be helpful. You're on, thanks! However, to get your name in print, we have to get this working first... BTW, my SSH connection to home is gone... apparently something went sideways at home. :-( Ah, well, will test when I get home. ==ml -- Michael Lucas mwlucas@FreeBSD.org, mwlucas@BlackHelicopters.org my FreeBSD column: http://www.oreillynet.com/pub/q/Big_Scary_Daemons http://www.blackhelicopters.org/~mwlucas/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 12 13:44:55 2002 Delivered-To: freebsd-java@freebsd.org Received: from corb.mc.mpls.visi.com (corb.mc.mpls.visi.com [208.42.156.1]) by hub.freebsd.org (Postfix) with ESMTP id 0089437B43C for ; Tue, 12 Mar 2002 13:44:49 -0800 (PST) Received: from [209.98.155.26] (envy.blackcore.com [209.98.155.26]) by corb.mc.mpls.visi.com (Postfix) with ESMTP id 1F52082DB for ; Tue, 12 Mar 2002 15:44:48 -0600 (CST) User-Agent: Microsoft-Entourage/10.0.0.1331 Date: Tue, 12 Mar 2002 15:44:47 -0600 Subject: Setting the JVM timezone From: Timothy Kettering To: FreeBSD-Java Message-ID: Mime-version: 1.0 Content-type: text/plain; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I brought this up before, but I didn=B9t really get an satisfactory answer/explaination, so I'm bringing it up again. I develop web-applications on my OSX machine, then deploy them on my FreeBS= D machine. For the large part, things have worked flawlessly, except that th= e JVM on FreeBSD seems to think that the timezone is +600 GMT, not -600 GMT, which is where it's located at. I've already verified the server clock and time zone and they're correctly set. On my OSX machine, the JVM picks up the correct values. Can anyone help me figure out how to adjust the JVM to use the correct timezone values. I know I can code in fixes for the timezone and all that in my programs, but its still rather irksome that I can't write up quick programs for my own use without having to put in a whole lot of code to compenstate for the 12 hour wackiness. Thanks. -tim --=20 Tim Kettering http://www.blackcore.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 12 14:28: 7 2002 Delivered-To: freebsd-java@freebsd.org Received: from nest.irfu.se (nest.irfu.se [130.238.30.40]) by hub.freebsd.org (Postfix) with ESMTP id 46DAA37B402 for ; Tue, 12 Mar 2002 14:27:55 -0800 (PST) Received: from localhost (yuri@localhost) by nest.irfu.se (8.11.6/8.11.6) with ESMTP id g2CMRoA12880 for ; Tue, 12 Mar 2002 23:27:51 +0100 (CET) (envelope-from yuri@irfu.se) X-Authentication-Warning: nest.irfu.se: yuri owned process doing -bs Date: Tue, 12 Mar 2002 23:27:49 +0100 (CET) From: Yuri Khotyaintsev To: freebsd-java@FreeBSD.ORG Subject: Re: Mozilla 0.9.8 and jdk1.3.1 In-Reply-To: <20020312135427.A94196@blackhelicopters.org> Message-ID: <20020312232016.F12858-100000@nest.irfu.se> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On a recent -CURRENT (world from 7th of March) [yuri@jazz][/usr/local]# java -version java version "1.3.1-p6" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p6-yuri-020312-18:55) Classic VM (build 1.3.1-p6-yuri-020312-18:55, green threads, nojit) All swing demos work fine. [yuri@jazz][/usr/local]# ldd jdk1.3.1/jre/lib/i386/libawt.so jdk1.3.1/jre/lib/i386/libawt.so: libmlib_image.so => not found (0x0) libXm.so.2 => /usr/X11R6/lib/libXm.so.2 (0x2824d000) libXp.so.6 => /usr/X11R6/lib/libXp.so.6 (0x28400000) libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x28408000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x28453000) libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x28461000) libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x2846a000) libXtst.so.6 => /usr/X11R6/lib/libXtst.so.6 (0x28481000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x28486000) libm.so.2 => /usr/lib/libm.so.2 (0x28563000) libjava.so => not found (0x0) libverify.so => not found (0x0) libXThrStub.so.6 => /usr/X11R6/lib/libXThrStub.so.6 (0x2857f000) [yuri@jazz][/usr/local]# ldd jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so: libstdc++.so.3 => /usr/lib/libstdc++.so.3 (0x28162000) libm.so.2 => /usr/lib/libm.so.2 (0x281a9000) [yuri@jazz][/usr/local]# nm jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so | grep Xt U XtDestroyWidget U XtDisplay U XtOpenApplication U XtRealizeWidget U XtShellStrings U XtStrings U XtWindow So libjavaplugin_oji.so is lot linked to libawt.so, and Xt* are undefined. Yuri Khotyaintsev Swedish Institute of Space Physics, To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 12 14:32:56 2002 Delivered-To: freebsd-java@freebsd.org Received: from nest.irfu.se (nest.irfu.se [130.238.30.40]) by hub.freebsd.org (Postfix) with ESMTP id 7045137B400 for ; Tue, 12 Mar 2002 14:32:52 -0800 (PST) Received: from localhost (yuri@localhost) by nest.irfu.se (8.11.6/8.11.6) with ESMTP id g2CMWob12893 for ; Tue, 12 Mar 2002 23:32:50 +0100 (CET) (envelope-from yuri@irfu.se) X-Authentication-Warning: nest.irfu.se: yuri owned process doing -bs Date: Tue, 12 Mar 2002 23:32:50 +0100 (CET) From: Yuri Khotyaintsev To: freebsd-java@FreeBSD.ORG Subject: Re: Mozilla 0.9.8 and jdk1.3.1 In-Reply-To: <20020312232016.F12858-100000@nest.irfu.se> Message-ID: <20020312233059.P12891-100000@nest.irfu.se> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Forgot to say that XFree version 4.1.0 is built from ports. Yuri > On a recent -CURRENT (world from 7th of March) > > [yuri@jazz][/usr/local]# java -version > java version "1.3.1-p6" > Java(TM) 2 Runtime Environment, Standard Edition (build > 1.3.1-p6-yuri-020312-18:55) > Classic VM (build 1.3.1-p6-yuri-020312-18:55, green threads, nojit) > > All swing demos work fine. > > [yuri@jazz][/usr/local]# ldd jdk1.3.1/jre/lib/i386/libawt.so > jdk1.3.1/jre/lib/i386/libawt.so: > libmlib_image.so => not found (0x0) > libXm.so.2 => /usr/X11R6/lib/libXm.so.2 (0x2824d000) > libXp.so.6 => /usr/X11R6/lib/libXp.so.6 (0x28400000) > libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x28408000) > libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x28453000) > libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x28461000) > libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x2846a000) > libXtst.so.6 => /usr/X11R6/lib/libXtst.so.6 (0x28481000) > libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x28486000) > libm.so.2 => /usr/lib/libm.so.2 (0x28563000) > libjava.so => not found (0x0) > libverify.so => not found (0x0) > libXThrStub.so.6 => /usr/X11R6/lib/libXThrStub.so.6 (0x2857f000) > [yuri@jazz][/usr/local]# ldd > jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so > jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so: > libstdc++.so.3 => /usr/lib/libstdc++.so.3 (0x28162000) > libm.so.2 => /usr/lib/libm.so.2 (0x281a9000) > [yuri@jazz][/usr/local]# nm > jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so | grep Xt > U XtDestroyWidget > U XtDisplay > U XtOpenApplication > U XtRealizeWidget > U XtShellStrings > U XtStrings > U XtWindow > > So libjavaplugin_oji.so is lot linked to libawt.so, and Xt* are undefined. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 12 16: 1:25 2002 Delivered-To: freebsd-java@freebsd.org Received: from fritz.cc.gt.atl.ga.us (fritz.cc.gt.atl.ga.us [199.77.128.120]) by hub.freebsd.org (Postfix) with ESMTP id A99E337B405 for ; Tue, 12 Mar 2002 16:01:22 -0800 (PST) Received: (from dagon@localhost) by fritz.cc.gt.atl.ga.us (8.11.6/8.11.6) id g2D0Gck05434; Tue, 12 Mar 2002 19:16:38 -0500 (EST) (envelope-from dagon) Date: Tue, 12 Mar 2002 19:16:38 -0500 From: David Dagon To: Timothy Kettering Cc: FreeBSD-Java Subject: Re: Setting the JVM timezone Message-ID: <20020312191638.A5376@fritz.cc.gt.atl.ga.us> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: ; from timster@blackcore.com on Tue, Mar 12, 2002 at 03:44:47PM -0600 X-Echelon: RSA Crypto C4 Mossad CIA BXA Export Control Hello to all the fans of the US Patriot Act Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Mar 12, 2002 at 03:44:47PM -0600, Timothy Kettering wrote: > > I brought this up before, but I didnąt really get an satisfactory > answer/explaination, so I'm bringing it up again. I missed your previous question/answer, and might repeat old information. What was lacking? > Can anyone help me figure out how to adjust the JVM to use the correct > timezone values. I know I can code in fixes for the timezone and all that > in my programs, but its still rather irksome that I can't write up quick > programs for my own use without having to put in a whole lot of code to > compenstate for the 12 hour wackiness. If I recall from the 1.1 days, the system property "user.timezone", is loaded on startup. You can set an environment variable to force this to a reasonable value. For a while, the fallback for no "user.timezone", TimeZone.getDefault().getID(), was PST (North Am. Pacific--Sun's backyard). Now I think it's GMT, or something more wordly, cultured and sophisticated. (I've not checked.) There was a little debate over whether this was a bug or not. So, perhaps check 'date "+%Z"' (for bash), and see if this property is being consulted. Also, I recall that there was some issue with certain caledar objects not having the same default TZ. That is, some/most would get GMT, but a few would have PST for a default. This was years ago, and perhaps this has been addressed. Still, it might be that your code interacts with this. In terms of fixing this, you might just make a static setSaneTZ(String) method, and drop this in your scratch/utility package for future use. One line, and your time components are all on the same time zone. :) Cheers, -- David Dagon dagon@cc.gatech.edu Georgia Institute of Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 12 16:27:12 2002 Delivered-To: freebsd-java@freebsd.org Received: from corb.mc.mpls.visi.com (corb.mc.mpls.visi.com [208.42.156.1]) by hub.freebsd.org (Postfix) with ESMTP id 80BD837B405 for ; Tue, 12 Mar 2002 16:27:05 -0800 (PST) Received: from [209.98.155.26] (envy.blackcore.com [209.98.155.26]) by corb.mc.mpls.visi.com (Postfix) with ESMTP id 00EF4816D for ; Tue, 12 Mar 2002 18:27:04 -0600 (CST) User-Agent: Microsoft-Entourage/10.0.0.1331 Date: Tue, 12 Mar 2002 18:27:03 -0600 Subject: Re: Setting the JVM timezone From: Timothy Kettering To: FreeBSD-Java Message-ID: In-Reply-To: <20020312191638.A5376@fritz.cc.gt.atl.ga.us> Mime-version: 1.0 Content-type: text/plain; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >> I brought this up before, but I didn=B9t really get an satisfactory >> answer/explaination, so I'm bringing it up again. >=20 > I missed your previous question/answer, and might repeat old > information. What was lacking? My previous question was the same what I wrote in this email. The response= s were that I should set the timezone in my programs to compenstate for this. I wasn't really satisfied with the answers, because I wanted to know why th= e freebsd JVM was thinking it was in, of all places, +600GMT? That puts it somewhere over India. If it was defaulting to GMT, that would've made a whole lot more sense, if it were indeed defaulting to some value. > So, perhaps check 'date "+%Z"' (for bash), and see if this property is > being consulted. I ran that command on the FreeBSD server, and I got "CST" returned. And this is correct. I am in the CST time zone. So as far as I know, the server clock is set to the right timezone, (CST, -600 GMT). But requesting the timezone in any java application I execute on the server gets me (+600 GMT). And this makes absolutely no sense. Where is this value coming from?? It's not CST, or even GMT. The exact output of a simple program I included with this email (see below) is: The TZ is: GMT+06:00 >=20 > Also, I recall that there was some issue with certain caledar objects > not having the same default TZ. That is, some/most would get GMT, but > a few would have PST for a default. This was years ago, and perhaps > this has been addressed. Still, it might be that your code interacts > with this. I don=B9t use any Calendar objects. My programs are merely using Date objects, then being formatted with SimpleDateFormat. Hence, all my problem= s origniate from the misalignment of the JVM timezone. Because I'll instance a Date, then run a SimpleDateFormat.format(), on it, and on my development machine, it comes out just perfectly fine. On the FreeBSD machine, it come= s out 12 hours in the future. > In terms of fixing this, you might just make a static > setSaneTZ(String) method, and drop this in your scratch/utility > package for future use. One line, and your time components are all on > the same time zone. :) Yes, I could put this in, but I'm also the kind of person who dislikes putting in a fix on top of a problem that (in my perspective) shouldn't be = a problem to start with. Better to resolve the problem itself, I think. So I'm hoping to prod the discussion up again on this - to see if its actually an legimate bug with the FreeBSD JVM or something. For this problem does not exist on the OSX JVM implementation which I develop under. Can people on this list run a simple program on their FreeBSD environment, and see if it returns the same TZ value that their server clock is set to, and let the list know? Thanks. import java.util.Date; import java.text.SimpleDateFormat; public class TestRun { public static void main(String[] args) { SimpleDateFormat formatter =3D new SimpleDateFormat("zzz"); String str =3D formatter.format(new Date()); System.out.println("The TZ is: " + str); } } --=20 Tim Kettering http://www.blackcore.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 12 19:12:36 2002 Delivered-To: freebsd-java@freebsd.org Received: from conn.mc.mpls.visi.com (conn.mc.mpls.visi.com [208.42.156.2]) by hub.freebsd.org (Postfix) with ESMTP id 0B7DB37B41A for ; Tue, 12 Mar 2002 19:12:27 -0800 (PST) Received: from [209.98.155.26] (envy.blackcore.com [209.98.155.26]) by conn.mc.mpls.visi.com (Postfix) with ESMTP id 31783825B for ; Tue, 12 Mar 2002 21:12:27 -0600 (CST) User-Agent: Microsoft-Entourage/10.0.0.1331 Date: Tue, 12 Mar 2002 21:12:26 -0600 Subject: Re: Setting the JVM timezone From: Timothy Kettering To: FreeBSD-Java Message-ID: In-Reply-To: <3C8EA1E0.1020003@usa.net> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > > With the compiled native JDK 1.3.1, > I got: > java TestRun > The TZ is: CET > (correct) > > With the Linux jdk1.3.1: > java TestRun > The TZ is: EST > (wrong) > but after > > $ export TZ=CET > > I got the right result: > java TestRun > The TZ is: CET > Regards, > > Jorge > Ok I tried the same stuff you did, and I seem to have gotten completely opposite results. Here's a paste. But it seems that at first the linux JDK got the timezone right, but then after exporting the TZ, both JDKs return GMT?? $ /usr/local/linux-jdk1.3.1/bin/java TestRun The TZ is: GMT-06:00 $ /usr/local/jdk1.3.1/bin/java TestRun The TZ is: GMT+06:00 $ export TZ=CST $ /usr/local/linux-jdk1.3.1/bin/java TestRun The TZ is: GMT+00:00 $ /usr/local/jdk1.3.1/bin/java TestRun The TZ is: GMT+00:00 -- Tim Kettering http://www.blackcore.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 12 19:26: 5 2002 Delivered-To: freebsd-java@freebsd.org Received: from chen.org.nz (adsl-210.54.19.51.quicksilver.net.nz [210.54.19.51]) by hub.freebsd.org (Postfix) with ESMTP id AF9BF37B405 for ; Tue, 12 Mar 2002 19:26:01 -0800 (PST) Received: (from jonc@localhost) by chen.org.nz (8.11.6/8.11.6) id g2D3Pfq37140; Wed, 13 Mar 2002 16:25:41 +1300 (NZDT) (envelope-from jonc) Date: Wed, 13 Mar 2002 16:25:41 +1300 From: Jonathan Chen To: Timothy Kettering Cc: FreeBSD-Java Subject: Re: Setting the JVM timezone Message-ID: <20020313162541.A37054@grimoire.chen.org.nz> References: <20020312191638.A5376@fritz.cc.gt.atl.ga.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from timster@blackcore.com on Tue, Mar 12, 2002 at 06:27:03PM -0600 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Mar 12, 2002 at 06:27:03PM -0600, Timothy Kettering wrote: [...] > But requesting the timezone in any java application I execute on the server > gets me (+600 GMT). And this makes absolutely no sense. Where is this > value coming from?? It's not CST, or even GMT. The exact output of a > simple program I included with this email (see below) is: > > The TZ is: GMT+06:00 > Well, if I read this right, it says that you're 6 hrs *West* of GMT. The UNIX convention has the '-' being East, '+' being West; New Zealand has GMT-12. I'm not too sure whether Java has adopted this convention though. [...] > Can people on this list run a simple program on their FreeBSD environment, > and see if it returns the same TZ value that their server clock is set to, > and let the list know? Thanks. I've tweaked it slightly, so that it looks like: import java.util.Date; import java.text.SimpleDateFormat; public class TestRun { public static void main(String[] args) { SimpleDateFormat formatter = new SimpleDateFormat("HH:mm zzz"); String str = formatter.format(new Date()); System.out.println("The time is: " + str); } } Output is: central-~,4:20pm> date Wed Mar 13 16:20:23 NZDT 2002 central-~,4:20pm> java TestRun The time is: 16:20 NZDT That looks correct to me, I think. -- Jonathan Chen ---------------------------------------------------------------------- "Irrationality is the square root of all evil" - Douglas Hofstadter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 12 19:52:29 2002 Delivered-To: freebsd-java@freebsd.org Received: from nova.fnal.gov (nova.fnal.gov [131.225.121.207]) by hub.freebsd.org (Postfix) with ESMTP id 90DD037B400 for ; Tue, 12 Mar 2002 19:52:25 -0800 (PST) Received: from localhost (tez@localhost) by nova.fnal.gov (8.10.2+Sun/8.10.2) with ESMTP id g2D3qOn01447 for ; Tue, 12 Mar 2002 21:52:24 -0600 (CST) X-Authentication-Warning: nova.fnal.gov: tez owned process doing -bs Date: Tue, 12 Mar 2002 21:52:23 -0600 (CST) From: Tim Zingelman X-X-Sender: tez@nova.fnal.gov Reply-To: FreeBSD-Java To: FreeBSD-Java Subject: Re: Setting the JVM timezone In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, 12 Mar 2002, Timothy Kettering wrote: > > > > With the compiled native JDK 1.3.1, > > I got: > > java TestRun > > The TZ is: CET > > (correct) > > > > With the Linux jdk1.3.1: > > java TestRun > > The TZ is: EST > > (wrong) > > but after > > > > $ export TZ=CET > > > > I got the right result: > > java TestRun > > The TZ is: CET > > Regards, > > > > Jorge > > > > Ok I tried the same stuff you did, and I seem to have gotten completely > opposite results. Here's a paste. But it seems that at first the linux JDK > got the timezone right, but then after exporting the TZ, both JDKs return > GMT?? > > $ /usr/local/linux-jdk1.3.1/bin/java TestRun > The TZ is: GMT-06:00 > $ /usr/local/jdk1.3.1/bin/java TestRun > The TZ is: GMT+06:00 > $ export TZ=CST > $ /usr/local/linux-jdk1.3.1/bin/java TestRun > The TZ is: GMT+00:00 > $ /usr/local/jdk1.3.1/bin/java TestRun > The TZ is: GMT+00:00 What we use, and works for us with both the linux 1.3.0 jdk on intel (on FreeBSD) and the solaris 1.3.0 jdk on sparc is "export TZ=CST6CDT". solaris8$ java -version java version "1.3.0_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_01) Java HotSpot(TM) Client VM (build 1.3.0_01, mixed mode) solaris8$ export TZ=CST6CDT solaris8$ java TestRun The TZ is: CST solaris8$ unset TZ solaris8$ java TestRun The TZ is: GMT-06:00 FreeBSD$ java -version java version "1.3.0" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0) Classic VM (build 1.3.0, green threads, nojit) FreeBSD$ export TZ=CST6CDT FreeBSD$ java TestRun The TZ is: CST FreeBSD$ unset TZ FreeBSD$ java TestRun The TZ is: GMT-06:00 Seem's pretty consistent. Sorry I don't have any other versions of the jdk handy to test with. - Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 12 21:47:36 2002 Delivered-To: freebsd-java@freebsd.org Received: from mail.j-elite.com (www.j-elite.com [203.173.24.142]) by hub.freebsd.org (Postfix) with ESMTP id CE1F037B417 for ; Tue, 12 Mar 2002 21:47:22 -0800 (PST) Received: from BLACKHAWK (www.j-elite.com [203.173.24.142]) by mail.j-elite.com (Postfix) with SMTP id 4001220F78 for ; Wed, 13 Mar 2002 14:45:12 +1100 (EST) Reply-To: From: "Joe Shevland" To: "FreeBSD-Java" Subject: RE: Setting the JVM timezone Date: Wed, 13 Mar 2002 14:45:39 +1100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" 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) In-Reply-To: <20020313162541.A37054@grimoire.chen.org.nz> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Just ran the same test on FBSD 4.5-STABLE in Australia (AEST): www> uname -a FreeBSD #### 4.5-STABLE FreeBSD 4.5-STABLE #3: Tue Mar 12 12:44:39 EST = 2002 www> java TestRun The time is: 14:39 EST www> date Wed Mar 13 14:39:37 EST 2002 So all good here. Regards, Joe > [...] > > Can people on this list run a simple program on their FreeBSD=20 > environment, > > and see if it returns the same TZ value that their server clock=20 > is set to, > > and let the list know? Thanks. >=20 > I've tweaked it slightly, so that it looks like: >=20 > import java.util.Date; > import java.text.SimpleDateFormat; >=20 > public class TestRun > { > public static void main(String[] args) > { > SimpleDateFormat formatter =3D new=20 > SimpleDateFormat("HH:mm zzz"); > String str =3D formatter.format(new Date()); > System.out.println("The time is: " + str); > } > } >=20 > Output is: >=20 > central-~,4:20pm> date > Wed Mar 13 16:20:23 NZDT 2002 > central-~,4:20pm> java TestRun > The time is: 16:20 NZDT >=20 > That looks correct to me, I think. > --=20 > Jonathan Chen > ---------------------------------------------------------------------- > "Irrationality is the square root of all evil" > - Douglas Hofstadter >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message >=20 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 12 22:18: 6 2002 Delivered-To: freebsd-java@freebsd.org Received: from conn.mc.mpls.visi.com (conn.mc.mpls.visi.com [208.42.156.2]) by hub.freebsd.org (Postfix) with ESMTP id 81DD037B417 for ; Tue, 12 Mar 2002 22:18:02 -0800 (PST) Received: from [209.98.155.26] (envy.blackcore.com [209.98.155.26]) by conn.mc.mpls.visi.com (Postfix) with ESMTP id EA90B81C3 for ; Wed, 13 Mar 2002 00:18:01 -0600 (CST) User-Agent: Microsoft-Entourage/10.0.0.1331 Date: Wed, 13 Mar 2002 00:18:00 -0600 Subject: Re: Setting the JVM timezone From: Timothy Kettering To: FreeBSD-Java Message-ID: In-Reply-To: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I realized just now that I had not updated to the patchset6, so I just did that then reran my tests - still seems that the FreeBSD native jdk is incorrectly seeing the timezone, while the linux-jdk reports the right timezone. $ /usr/local/jdk1.3.1/bin/java TestRun The TZ is: GMT+06:00 $ /usr/local/linux-jdk1.3.1/bin/java TestRun The TZ is: GMT-06:00 -- Tim Kettering http://www.blackcore.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 12 22:32: 8 2002 Delivered-To: freebsd-java@freebsd.org Received: from chen.org.nz (adsl-210.54.19.51.quicksilver.net.nz [210.54.19.51]) by hub.freebsd.org (Postfix) with ESMTP id A58FA37B416 for ; Tue, 12 Mar 2002 22:31:46 -0800 (PST) Received: (from jonc@localhost) by chen.org.nz (8.11.6/8.11.6) id g2D6UWi64990; Wed, 13 Mar 2002 19:30:32 +1300 (NZDT) (envelope-from jonc) Date: Wed, 13 Mar 2002 19:30:31 +1300 From: Jonathan Chen To: Timothy Kettering Cc: FreeBSD-Java Subject: Re: Setting the JVM timezone Message-ID: <20020313193031.A44414@grimoire.chen.org.nz> References: <3C8EA1E0.1020003@usa.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from timster@blackcore.com on Tue, Mar 12, 2002 at 09:12:26PM -0600 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Mar 12, 2002 at 09:12:26PM -0600, Timothy Kettering wrote: [...] > Ok I tried the same stuff you did, and I seem to have gotten completely > opposite results. Here's a paste. But it seems that at first the linux JDK > got the timezone right, but then after exporting the TZ, both JDKs return > GMT?? > > $ /usr/local/linux-jdk1.3.1/bin/java TestRun > The TZ is: GMT-06:00 > $ /usr/local/jdk1.3.1/bin/java TestRun > The TZ is: GMT+06:00 > $ export TZ=CST > $ /usr/local/linux-jdk1.3.1/bin/java TestRun > The TZ is: GMT+00:00 > $ /usr/local/jdk1.3.1/bin/java TestRun > The TZ is: GMT+00:00 That's 'cos the TZ entry refers to zone files relative to /usr/share/zoneinfo. If it can't find the zone-file, it will default to GMT. If you try something like "export TZ=America/Denver", I suspect your results will be more correct. -- Jonathan Chen ---------------------------------------------------------------------- "I don't want to achive immortality through my works.. I want to achieve it through not dying" - Woody Allen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 13 1: 6:33 2002 Delivered-To: freebsd-java@freebsd.org Received: from snipe.prod.itd.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by hub.freebsd.org (Postfix) with ESMTP id 8B09137B402 for ; Wed, 13 Mar 2002 01:06:29 -0800 (PST) Received: from dhcp151-67-151-24.nt01-c3.cpe.charter-ne.com ([24.151.67.151] helo=there) by snipe.prod.itd.earthlink.net with smtp (Exim 3.33 #1) id 16l4iK-0006LF-00; Wed, 13 Mar 2002 01:06:28 -0800 Content-Type: text/plain; charset="iso-8859-1" From: Dylan Carlson Reply-To: absinthe@pobox.com Organization: r e t r o v e r t i g o To: Timothy Kettering , FreeBSD-Java Subject: Re: Setting the JVM timezone Date: Wed, 13 Mar 2002 04:06:24 -0500 X-Mailer: KMail [version 1.3] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tuesday 12 March 2002 07:27pm, Timothy Kettering wrote: > Yes, I could put this in, but I'm also the kind of person who dislikes > putting in a fix on top of a problem that (in my perspective) shouldn't be > a problem to start with. Better to resolve the problem itself, I think. > We've had this same problem! I have checked jguru and other sources and it seems that other people, not necessarily just with the FreeBSD VM, have had this same problem. We made a property file for our apps and servlets to set the timezone manually. We did not see any other reliable mechanism for doing so. For as "improved" as the date/time handling is supposed to be in 1.2.2... I think it's ridiculous that everyone is still struggling with these issues in 1.3. Frankly I don't know why the problem hasn't gotten more attention. Time and date must not, surprisingly, be a major factor in the rest of the world's Java applications . . . IMO, the VM should *NEVER* set an arbitrary default timezone if it can't figure out what the real timezone is. It should throw an exception and halt. -- Dylan Carlson [absinthe@pobox.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 13 7: 9:42 2002 Delivered-To: freebsd-java@freebsd.org Received: from Millions.Ca (h-207-228-120-32.gen.cadvision.com [207.228.120.32]) by hub.freebsd.org (Postfix) with ESMTP id 146FD37B419 for ; Wed, 13 Mar 2002 07:09:26 -0800 (PST) Received: (from uucp@localhost) by Millions.Ca (8.11.1/8.9.3) id g2DF9PO19563; Wed, 13 Mar 2002 08:09:25 -0700 (MST) (envelope-from stacy@Millions.Ca) Received: from Cedar.Millions.Ca(192.168.64.8) via SMTP by mail-gw-0.millions.ca, id smtpdj19561; Wed Mar 13 08:09:19 2002 Received: from millions.ca (Maple.Millions.Ca [192.168.64.2]) by cedar.millions.ca (8.11.1/8.11.3) with ESMTP id g2DF9Il37370; Wed, 13 Mar 2002 08:09:18 -0700 (MST) (envelope-from stacy@millions.ca) Message-ID: <3C8F6B9E.CA1AADBA@millions.ca> Date: Wed, 13 Mar 2002 08:09:18 -0700 From: Stacy Millions Organization: Millions Consulting Limited X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Timothy Kettering Cc: FreeBSD-Java Subject: Re: Setting the JVM timezone References: Content-Type: multipart/mixed; boundary="------------E8337002D7EF6B1939B27BD6" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------E8337002D7EF6B1939B27BD6 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Timothy Kettering wrote: > > I realized just now that I had not updated to the patchset6, so I > just did that then reran my tests - still seems that the FreeBSD > native jdk is incorrectly seeing the timezone, while the linux-jdk > reports the right timezone. > > $ /usr/local/jdk1.3.1/bin/java TestRun > The TZ is: GMT+06:00 > $ /usr/local/linux-jdk1.3.1/bin/java TestRun > The TZ is: GMT-06:00 That is reproducible by me as well. Note that setting the TZ environment variable works around the problem. TZ="" - date output Wed Mar 13 07:50:22 MST 2002 TZ="" - native 1.3.1-p6 It is: 2002.03.13 at 21:50:23 GMT+07:00 TZ="" - linux 1.3.1 It is: 2002.03.13 at 07:50:24 GMT-07:00 TZ="" - my patched native 1.3.1 It is: 2002.03.13 at 07:50:25 GMT-07:00 TZ="MST7MDT" - date output Wed Mar 13 07:50:25 MST 2002 TZ="MST7MDT" - native 1.3.1-p6 It is: 2002.03.13 at 07:50:26 MST TZ="MST7MDT" - linux 1.3.1 It is: 2002.03.13 at 07:50:27 MST TZ="MST7MDT" - my patched native 1.3.1 It is: 2002.03.13 at 07:50:28 MST I tracked down (what I think is) the problem. In the file .../src/solaris/native/java/util/TimeZone_md.c you will find the following (this is the original unpatched source) /* Note that the time offset direction is opposite. */ if (timezone > 0) { offset = timezone; sign = '-'; } else { offset = -timezone; sign = '+'; } p6 turns it into: /* Note that the time offset direction is opposite. */ #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) struct tm *local_tm; time_t clock = time(NULL); tzset(); local_tm = localtime(&clock); if (local_tm->tm_gmtoff > 0) { offset = (time_t) local_tm->tm_gmtoff; sign = '-'; } else { offset = (time_t) -local_tm->tm_gmtoff; sign = '+'; } #else if (timezone > 0) { offset = timezone; sign = '-'; } else { offset = -timezone; sign = '+'; } #endif all I did was swap the '+' and '-' and the problem went away. (see attached diff file) Please note that I spent all of .5 hours looking at this (and less testing it), so I don't know if this breaks something else. -stacy -- You'll see it's all a show. Keep 'em laughing as you go. Just remember that the last laugh is on you. - Monty Python _The Life Of Brian_ Stacy Millions stacy@millions.ca Millions Consulting Limited --------------E8337002D7EF6B1939B27BD6 Content-Type: text/plain; charset=us-ascii; name="TimeZone.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="TimeZone.diff" *** TimeZone_md.c-p6 Wed Feb 20 07:54:39 2002 --- TimeZone_md.c Tue Mar 12 21:18:37 2002 *************** *** 390,400 **** local_tm = localtime(&clock); if (local_tm->tm_gmtoff > 0) { offset = (time_t) local_tm->tm_gmtoff; ! sign = '-'; } else { offset = (time_t) -local_tm->tm_gmtoff; ! sign = '+'; } #else if (timezone > 0) { --- 390,400 ---- local_tm = localtime(&clock); if (local_tm->tm_gmtoff > 0) { offset = (time_t) local_tm->tm_gmtoff; ! sign = '+'; } else { offset = (time_t) -local_tm->tm_gmtoff; ! sign = '-'; } #else if (timezone > 0) { --------------E8337002D7EF6B1939B27BD6-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 13 9:13:45 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by hub.freebsd.org (Postfix) with ESMTP id E52B037B419 for ; Wed, 13 Mar 2002 09:13:37 -0800 (PST) Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.22 #1) id 16lCJj-0008Ou-00; Wed, 13 Mar 2002 10:13:36 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g2DHDUC18329; Thu, 14 Mar 2002 03:43:30 +1030 (CST) (envelope-from glewis) Date: Thu, 14 Mar 2002 03:43:30 +1030 From: Greg Lewis To: Stacy Millions Cc: Timothy Kettering , FreeBSD-Java Subject: Re: Setting the JVM timezone Message-ID: <20020314034330.A18304@misty.eyesbeyond.com> References: <3C8F6B9E.CA1AADBA@millions.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3C8F6B9E.CA1AADBA@millions.ca>; from stacy@millions.ca on Wed, Mar 13, 2002 at 08:09:18AM -0700 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Mar 13, 2002 at 08:09:18AM -0700, Stacy Millions wrote: > I tracked down (what I think is) the problem. > > In the file .../src/solaris/native/java/util/TimeZone_md.c > you will find the following (this is the original unpatched source) > > /* Note that the time offset direction is opposite. */ > if (timezone > 0) { > offset = timezone; > sign = '-'; > } else { > offset = -timezone; > sign = '+'; > } > > p6 turns it into: > > /* Note that the time offset direction is opposite. */ > #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) > || defined(__bsdi__) > struct tm *local_tm; > time_t clock = time(NULL); > tzset(); > local_tm = localtime(&clock); > if (local_tm->tm_gmtoff > 0) { > offset = (time_t) local_tm->tm_gmtoff; > sign = '-'; > } > else { > offset = (time_t) -local_tm->tm_gmtoff; > sign = '+'; > } > #else > if (timezone > 0) { > offset = timezone; > sign = '-'; > } else { > offset = -timezone; > sign = '+'; > } > #endif > > all I did was swap the '+' and '-' and the problem went away. > (see attached diff file) D'oh. Cut and pasto by yours truly it looks like. > Please note that I spent all of .5 hours looking at this (and less > testing it), so I don't know if this breaks something else. Thanks for the patch! I'll try and verify that this still DTRT for time zones both ahead and behind GMT. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 13 15: 1:10 2002 Delivered-To: freebsd-java@freebsd.org Received: from smtp.hccnet.nl (smtp.hccnet.nl [62.251.0.13]) by hub.freebsd.org (Postfix) with ESMTP id 84F4137B41B; Wed, 13 Mar 2002 15:00:51 -0800 (PST) Received: from there by smtp.hccnet.nl via uds53-45.dial.hccnet.nl [62.251.45.53] with SMTP id AAA05224 (8.8.8/1.13); Thu, 14 Mar 2002 00:00:49 +0100 (MET) Message-Id: <200203132300.AAA05224@smtp.hccnet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan Organization: FreeBSD Project To: java@FreeBSD.org, ports@FreeBSD.org Subject: Proposal for bsd.java.mk Date: Wed, 13 Mar 2002 23:59:37 +0100 X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org To all that are I've finished a first version of a bsd.java.mk that is usable in real systems. If some people could review it, then I'd be very grateful =] It can be downloaded from: * http://www.metaverse.nl/~ernst/bsd.java.mk (11 KB) Testing is a matter of doing the following: Place bsd.java.mk in /usr/ports/Mk/ and then add: .include to your /usr/ports/Mk/bsd.port.mk, just above the include for bsd.ruby.mk (not within the .if, ofcourse) Then modify a port in accordance with the guidelines: * http://www.metaverse.nl/~ernst/writing.html And then test it. For that you might want to read this document as well: * http://www.metaverse.nl/~ernst/installing.html Please confirm if this works for you or not! Sincerely, Ernst de Haan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 13 15: 2:57 2002 Delivered-To: freebsd-java@freebsd.org Received: from smtp.hccnet.nl (smtp.hccnet.nl [62.251.0.13]) by hub.freebsd.org (Postfix) with ESMTP id 1F42A37B4A5; Wed, 13 Mar 2002 15:02:43 -0800 (PST) Received: from there by smtp.hccnet.nl via uds53-45.dial.hccnet.nl [62.251.45.53] with SMTP id AAA05580 (8.8.8/1.13); Thu, 14 Mar 2002 00:02:41 +0100 (MET) Message-Id: <200203132302.AAA05580@smtp.hccnet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan Organization: FreeBSD Project To: java@FreeBSD.org, ports@FreeBSD.org Subject: Re: Proposal for bsd.java.mk Date: Thu, 14 Mar 2002 00:01:30 +0100 X-Mailer: KMail [version 1.3.2] References: <200203132300.AAA05224@smtp.hccnet.nl> In-Reply-To: <200203132300.AAA05224@smtp.hccnet.nl> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wednesday 13 March 2002 23:59, Ernst de Haan wrote: > To all that are ...interested in Java-related FreeBSD ports :-) 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 13 15: 7:32 2002 Delivered-To: freebsd-java@freebsd.org Received: from smtp.hccnet.nl (smtp.hccnet.nl [62.251.0.13]) by hub.freebsd.org (Postfix) with ESMTP id 2340137B402; Wed, 13 Mar 2002 15:07:23 -0800 (PST) Received: from there by smtp.hccnet.nl via uds53-45.dial.hccnet.nl [62.251.45.53] with SMTP id AAA06416 (8.8.8/1.13); Thu, 14 Mar 2002 00:07:19 +0100 (MET) Message-Id: <200203132307.AAA06416@smtp.hccnet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan Organization: FreeBSD Project To: "Malan Joubert" Subject: Re: Forte for java on FreeBSD install error Date: Thu, 14 Mar 2002 00:06:08 +0100 X-Mailer: KMail [version 1.3.2] References: In-Reply-To: Cc: java@FreeBSD.org, ports@FreeBSD.org MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Malan, The problem is that the Forte port depends on the Sun JDK 1.3.1 for Linux and it does not support specifying a different JDK. Some ports support this and some don't. A generic solution has been developed (called 'bsd.java.mk') that allows all ports to be very flexible in this respect. As soon as this has materialized all Java-related ports will be changed to use this solution. In the meantime you can try bugging the maintainer or you can send a PR, using send-pr(1). I suggest you do the latter and just CC the maintainer. Sincerely, Ernst On Thursday 07 March 2002 08:29, Malan Joubert wrote: > Hi > I’m trying to install the forte port on FreeBSD. > Version: forte-3.0_2 > I copied the .class file into /distfiles and tried to install the port but > it said it needed: > /usr/local/linux-jdk1.3.1/bin/java > > I only had the jdk1.4.0 for linux installed, so I copied the sdk to / > usr/local/linux-jdk1.3.1/ and make installed the port again but it now give > me the following error: > > make install > ===> Installing for forte-3.0_2 > ===> forte-3.0_2 depends on file: /usr/local/linux-jdk1.3.1/bin/java - > found > ===> forte-3.0_2 depends on shared library: X11.6 - found > install: /usr/local/share/java/forte4j/bin: No such file or directory > *** Error code 71 > > Stop in /usr/ports/java/forte. > *** Error code 1 > > Stop in /usr/ports/java/forte. > *** Error code 1 > > Stop in /usr/ports/java/forte. > > I create the directory it asked for only to be told that I have already got > forte installed and should uninstall it before installing the new version… > > Has anyone got any ideas as to what is wrong? I would think that it is not > the sdk’s version giving the error as it should work on a never sdk? > > BTW The sdk works and compiles a basic “hello world” app > > Any help would be much appreciated, > Malan Joubert > > > > _________________________________________________________________ > Join the world’s largest e-mail service with MSN Hotmail. > http://www.hotmail.com > > > 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 13 17:39:41 2002 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 61BD837B400 for ; Wed, 13 Mar 2002 17:39:14 -0800 (PST) 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 KAA32180 for ; Thu, 14 Mar 2002 10:38:55 +0900 Message-Id: <200203140138.KAA32180@cafe.muraoka.info.waseda.ac.jp> To: java@FreeBSD.org From: shudo@computer.org Subject: shuJIT 0.7.11 Date: Thu, 14 Mar 2002 10:38:55 +0900 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi all, I have released shuJIT 0.7.11. http://www.shudo.net/jit/ Two problem reports came to me last month from Mr. Mike Gratton and Mr. Maxim Sobolev. Now the newly released version of shuJIT run Xindice 1.0rc1 and jEdit 3.2.2 well. I'd appreciate any report on this version of shuJIT. Two bugs of shuJIT and one possible bug of FreeBSD 1.3.1-p6 came to the front of me. Bugs of shuJIT were kinds of Java stack destruction and those could be fixed. But, the last bug seems to be in JDK 1.3.1-p6, not shuJIT. I implemented a nasty workaround for it. It is automatically enabled if the shuJIT is compiled with 1.3.1-p6. See the macro named `WORKAROUND_FOR_FREEBSD_131P6' in config.h. The version of JDK seems to call JIT-compiled native code as the JDK leaves SIGTRAP signal blocked. It's possible that other signals are also kept blocked. Native code generated by shuJIT causes SIGTRAP intentionally for some reasons, but the signal is not delivered until it is unblocked by sigprocmask(2). Just when unblocked, it is delivered and the timing of the delivery is different from one intended by shuJIT (and me). We can reproduce the problem by following the below instruction: - Configure the shuJIT. % ./configure - Comment out the following line in config.h. #define WORKAROUND_FOR_FREEBSD_131P6 1 - Change `#define' to `#undef' in the line as follows in compiler.h. #define METHOD_INLINING Now, shuJIT with JDK 1.3.1-p6 aborts. If we enable the workaround indicated by the macro in config.h, shuJIT works correctly. Then, we can confirm the workaround implemented in runtime.c is effective. I am not sure there is this problem in the previous releases of JDK 1.3.1 and 1.2.X. If there is, I have to change the way to judge whether the workaround should be enabled or not. I'm running FreeBSD 4.5-STABLE about early in March. Note that the signal related problem mentioned above does not occur on Linux, at least with Blackdown JDK 1.3.1-02a-FCS. Kazuyuki Shudo shudo@computer.org http://www.shudo.net/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 14 0:44: 8 2002 Delivered-To: freebsd-java@freebsd.org Received: from ns.plaut.de (ns.plaut.de [194.99.75.166]) by hub.freebsd.org (Postfix) with ESMTP id F412F37B405 for ; Thu, 14 Mar 2002 00:44:05 -0800 (PST) Received: (from uucp@localhost) by ns.plaut.de (8.9.3/8.9.3) with UUCP id JAA75972 for freebsd-java@freebsd.org; Thu, 14 Mar 2002 09:42:11 +0100 (CET) (envelope-from root@nihil.plaut.de) Received: from localhost (root@localhost) by nihil.plaut.de (8.12.2/8.12.2) with ESMTP id g2E8hLRf070222 for ; Thu, 14 Mar 2002 09:43:21 +0100 (CET) (envelope-from root@nihil.plaut.de) Date: Thu, 14 Mar 2002 09:43:20 +0100 (CET) From: Michael Reifenberger To: freebsd-java@freebsd.org Subject: mozilla-0.9.9 & java plugin & SSL & Notes mail -> nogo Message-ID: <20020314093604.U70204-100000@nihil> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I get the following exception when trying to connect my mebmail account (via SSL) on my notesserver using the "non Active-X" screen: FATAL ERROR in native method: Native code expects wrong return type from Java callback at sun.plugin.protocol.https.BrowserHttpsInputStream.readStream(Native Method) at sun.plugin.protocol.https.BrowserHttpsInputStream.read(BrowserHttpsInputStream.java, Compiled Code) at java.io.BufferedInputStream.fill(BufferedInputStream.java, Compiled Code) at java.io.BufferedInputStream.read(BufferedInputStream.java, Compiled Code) at java.net.URLConnection.guessContentTypeFromStream(URLConnection.java, Compiled Code) at sun.plugin.protocol.https.BrowserHttpsURLConnection.getInputStream(BrowserHttpsURLConnection.java, Compiled Code) at sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java, Compiled Code) at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java, Compiled Code) at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java, Compiled Code) at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java, Compiled Code) at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java, Compiled Code) at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java, Compiled Code) at sun.misc.URLClassPath$JarLoader.(URLClassPath.java, Compiled Code) at sun.misc.URLClassPath$2.run(URLClassPath.java, Compiled Code) Any clues? Bye! ---- Michael Reifenberger ^.*Plaut.*$, IT, R/3 Basis, GPS To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 14 2:31:54 2002 Delivered-To: freebsd-java@freebsd.org Received: from alogis.com (firewall.solit-ag.de [212.184.102.1]) by hub.freebsd.org (Postfix) with ESMTP id 7237B37B417 for ; Thu, 14 Mar 2002 02:31:47 -0800 (PST) Received: from alogis.com (kipp@clausthal.int1.b.intern [10.1.1.30]) by alogis.com (8.11.1/8.9.3) with ESMTP id g2EAVkl56168 for ; Thu, 14 Mar 2002 11:31:46 +0100 (CET) (envelope-from holger.kipp@alogis.com) Message-ID: <3C9078C3.9D28F165@alogis.com> Date: Thu, 14 Mar 2002 11:17:39 +0100 From: Holger Kipp X-Mailer: Mozilla 4.7 [en] (X11; U; Linux 2.2.13 i686) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: Oracle Universal Installer, SAP JavaGUI (PlatinGUI) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I have a few problems with two Java-based programs. These are: - Oracle Universal Installer - PlatinGUI (SAP JavaGUI) (So I went straigt to the simple ones ;-) I am willing to debug/trace those both on Linux native (where it does work) and on FreeBSD (jdk1.1.8, jdk1.3.1, linux-ibm-jdk1.3.0,...), but as I'm not very firm with these things - additional directions (what to do, what info is needed) might be very helpful. Thanx, Holger Kipp ----------------------------------------------------------------------- Oracle Universal Installer comes with its own Java118 - works without problems under SuSE Linux 6.3 (quite old actually) - has some problems running under FreeBSD using /usr/local/jdk1.1.8 - I haven't checked /usr/local/linux-ibm-jdk1.3.0 yet, though ----------------------------------------------------------------------- PlatinGUI - does work with /usr/local/linux-ibm-jdk1.3.0 with a few minor problems. - works without these problems on SuSE Linux 6.3 using the original ibm jdk118 - doesn't work with /usr/local/jdk1.1.8 - doesn't work with /usr/local/jdk1.3.1 PlatinGUI with /usr/local/jdk1.3.1 (both green and native tested): Environment settings: SHLIB_PATH=/compat/linux/opt/PlatinGUI/lib:/usr/local/jdk1.3.1/jre/lib:/compat/linux/lib LD_LIBRARY_PATH=/compat/linux/opt/PlatinGUI/lib:/usr/local/jdk1.3.1/jre/lib:/compat/linux/lib:/compat/linux/usr/lib PLATINHOME=/compat/linux/opt/PlatinGUI/ PATH=$PATH:/compat/linux/opt/PlatinGUI/bin:/usr/local/jdk1.3.1/jre/bin /compat/linux/opt/PlatinGUI/lib/libJPlatin.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped /compat/linux/opt/PlatinGUI/bin/gmux/ contains some more ELF 32bit LSB (SYSV) binaries... Start via:/usr/local/jdk1.3.1/jre/bin/java -native -verbose -cp /compat/linux/opt/PlatinGUI/lib/swingall.jar:/compat/linux/opt/PlatinGUI/lib/platin.jar com.sap.platin.Gui [...] [Loaded com.sap.platin.util.GuiParentInfo] [Loaded javax.swing.JRootPane from /usr/local/jdk1.3.1/jre/lib/rt.jar] [Loaded com.sap.platin.automation.GuiRefCountedObject] [Loaded com.sap.platin.util.GuiJniLoader] [Loaded java.lang.SecurityException from /usr/local/jdk1.3.1/jre/lib/rt.jar] [Loaded java.lang.UnsatisfiedLinkError from /usr/local/jdk1.3.1/jre/lib/rt.jar] [Loaded com.sap.platin.util.GuiVersionInfo] [Loaded com.sap.platin.GuiVersionInfoI] SIGBUS 10* bus error Full thread dump Classic VM (1.3.1-p6-root-020313-18:59, native threads): "Image Fetcher 3" (TID:0x28d34230, sys_thread_t:0x8497d80, state:CW, native ID:0x84d3800) prio=8 at java.lang.Object.wait(Native Method) at sun.awt.image.ImageFetcher.nextImage(ImageFetcher.java:163) at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:212) at sun.awt.image.ImageFetcher.run(ImageFetcher.java:185) "AWT-Motif" (TID:0x28d502f8, sys_thread_t:0x8381280, state:R, native ID:0x838d000) prio=6 at sun.awt.motif.MToolkit.run(Native Method) at java.lang.Thread.run(Thread.java:484) "SunToolkit.PostEventQueue-0" (TID:0x28d4f9a8, sys_thread_t:0x8356380, state:CW, native ID:0x835c000) prio=6 at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:420) at sun.awt.PostEventQueue.run(SunToolkit.java:491) "AWT-EventQueue-0" (TID:0x28d4fa40, sys_thread_t:0x8356180, state:CW, native ID:0x8331000) prio=6 at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:420) at java.awt.EventQueue.getNextEvent(EventQueue.java:260) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:106) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:85) "Finalizer" (TID:0x28e4b528, sys_thread_t:0x80de380, state:CW, native ID:0x80df400) prio=8 at java.lang.Object.wait(Native Method) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:108) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:123) at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:162) "Reference Handler" (TID:0x28e4b300, sys_thread_t:0x80de080, state:CW, native ID:0x80df000) prio=10 at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:420) at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:110) "Signal dispatcher" (TID:0x28e4b330, sys_thread_t:0x80bbe80, state:CW, native ID:0x80da400) prio=5 "main" (TID:0x28e4b1b0, sys_thread_t:0x8060280, state:R, native ID:0x804f000) prio=5 at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1382) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1306) at java.lang.Runtime.loadLibrary0(Runtime.java:749) at java.lang.System.loadLibrary(System.java:820) at com.sap.platin.util.GuiJniLoader.loadPlatinLibrary(GuiJniLoader.java:139) at com.sap.platin.Launcher.(Launcher.java:48) at com.sap.platin.Gui.createLauncher(Gui.java:181) at com.sap.platin.Gui.main(Gui.java:308) Monitor Cache Dump: java.lang.ref.ReferenceQueue$Lock@28E4B540/28E81478: Waiting to be notified: "Finalizer" (0x80de380) java.lang.ref.Reference$Lock@28E4B310/28E80F98: Waiting to be notified: "Reference Handler" (0x80de080) java.util.Vector@28E4C540/28E92E00: owner "main" (0x8060280) 1 entry sun.awt.PostEventQueue@28D4F9A8/29352568: Waiting to be notified: "SunToolkit.PostEventQueue-0" (0x8356380) java.util.Vector@28D34208/29047C68: Waiting to be notified: "Image Fetcher 3" (0x8497d80) java.lang.Runtime@28E4D3E0/28E9B9D8: owner "main" (0x8060280) 1 entry java.awt.EventQueue@28D4F820/29351F68: Waiting to be notified: "AWT-EventQueue-0" (0x8356180) java.util.Vector@28E4B0B0/28E7EE10: owner "main" (0x8060280) 1 entry Registered Monitor Dump: utf8 hash table: JNI pinning lock: JNI global reference lock: BinClass lock: Class linking lock: System class loader lock: Code rewrite lock: Heap lock: Monitor cache lock: owner "main" (0x8060280) 1 entry Thread queue lock: owner "main" (0x8060280) 1 entry Monitor registry: owner "main" (0x8060280) 1 entry Abort trap (core dumped) ------------------------------------------------------------------------ gdb -core java.core /usr/local/jdk1.3.1/jre/bin/i386/native_threads/java (gdb) bt #0 0x280b2cb8 in kill () from /usr/lib/libc_r.so.4 #1 0x280fd3ad in abort () from /usr/lib/libc_r.so.4 #2 0x28173ad9 in Abort () from /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so #3 0x2819ca9f in panicHandler () from /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so #4 0x2806d74f in userSignalHandler () from /usr/local/jdk1.3.1/jre/lib/i386/native_threads/libhpi.so #5 0x2806d708 in intrDispatch () from /usr/local/jdk1.3.1/jre/lib/i386/native_threads/libhpi.so #6 0x2806ce5e in intrDispatchMD () from /usr/local/jdk1.3.1/jre/lib/i386/native_threads/libhpi.so #7 0x280c1b2c in _thread_sig_wrapper () from /usr/lib/libc_r.so.4 #8 0x0 in ?? () -- Holger Kipp, Dipl.-Math., Systemadministrator | alogis AG Fon: +49 (0)30 / 43 65 8 - 114 | Berliner Strasse 26 Fax: +49 (0)30 / 43 65 8 - 214 | D-13507 Berlin Tegel email: holger.kipp@alogis.com | http://www.alogis.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 14 4:26: 4 2002 Delivered-To: freebsd-java@freebsd.org Received: from beamer.mchh.siemens.de (beamer.mchh.siemens.de [194.138.158.163]) by hub.freebsd.org (Postfix) with ESMTP id 3E35937B402 for ; Thu, 14 Mar 2002 04:25:49 -0800 (PST) Received: from moody.mchh.siemens.de (mail2.mchh.siemens.de [194.138.158.226]) by beamer.mchh.siemens.de (8.9.3/8.9.3) with ESMTP id NAA07294; Thu, 14 Mar 2002 13:25:36 +0100 (MET) Received: from mchh246e.demchh201e.icn.siemens.de ([139.21.200.56]) by moody.mchh.siemens.de (8.9.1/8.9.1) with ESMTP id NAA20879; Thu, 14 Mar 2002 13:25:28 +0100 (MET) Received: by MCHH246E with Internet Mail Service (5.5.2653.19) id ; Thu, 14 Mar 2002 13:25:57 +0100 Message-ID: <67E0BE167008D31185F60008C7289DA0E1315A@MCHH218E> From: Reifenberger Michael EXT To: "'Holger Kipp'" , freebsd-java@FreeBSD.ORG Subject: AW: Oracle Universal Installer, SAP JavaGUI (PlatinGUI) Date: Thu, 14 Mar 2002 13:25:55 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, - Oracle Universal Installer I never got to work right their included IBM JRE 1.1.8 and gave up. The runinstaller has the internal JRE hardcoded... - PlatinGUI (SAP JavaGUI) It just works (6.10r2) using /usr/local/linux-ibm-jdk1.3.0 as the JRE. It will never work by definition using a native FreeBSD JRE until: o SAP makes a native port of it. o We are able to call native Linux Classes (JNI) from within the = FreeBSD JRE Bye/2 ------ Michael Reifenberger - IT, UNIX, R/3-Basis Work: Michael.Reifenberger@plaut.de Proj: = Michael.Reifenberger.gp@icn.siemens.de Pers: Michael@Reifenberger.com Webspace: http://www.reifenberger.com -----Urspr=FCngliche Nachricht----- Von: Holger Kipp [mailto:holger.kipp@alogis.com] Gesendet: Donnerstag, 14. M=E4rz 2002 11:18 An: freebsd-java@FreeBSD.ORG Betreff: Oracle Universal Installer, SAP JavaGUI (PlatinGUI) Hi, I have a few problems with two Java-based programs. These are: - Oracle Universal Installer - PlatinGUI (SAP JavaGUI) (So I went straigt to the simple ones ;-) I am willing to debug/trace those both on Linux native (where it does work) and on FreeBSD (jdk1.1.8, jdk1.3.1, linux-ibm-jdk1.3.0,...), but as I'm not very firm with these things - additional directions (what to do, what info is needed) might be very helpful. Thanx, Holger Kipp ----------------------------------------------------------------------- Oracle Universal Installer comes with its own Java118 - works without problems under SuSE Linux 6.3 (quite old actually) - has some problems running under FreeBSD using /usr/local/jdk1.1.8 - I haven't checked /usr/local/linux-ibm-jdk1.3.0 yet, though ----------------------------------------------------------------------- PlatinGUI - does work with /usr/local/linux-ibm-jdk1.3.0 with a few minor = problems. - works without these problems on SuSE Linux 6.3 using the original ibm jdk118 - doesn't work with /usr/local/jdk1.1.8 - doesn't work with /usr/local/jdk1.3.1 =20 PlatinGUI with /usr/local/jdk1.3.1 (both green and native tested): Environment settings: SHLIB_PATH=3D/compat/linux/opt/PlatinGUI/lib:/usr/local/jdk1.3.1/jre/lib= :/compat/linux/lib LD_LIBRARY_PATH=3D/compat/linux/opt/PlatinGUI/lib:/usr/local/jdk1.3.1/jr= e/lib:/compat/linux/lib:/compat/linux/usr/lib PLATINHOME=3D/compat/linux/opt/PlatinGUI/ PATH=3D$PATH:/compat/linux/opt/PlatinGUI/bin:/usr/local/jdk1.3.1/jre/bin= /compat/linux/opt/PlatinGUI/lib/libJPlatin.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped /compat/linux/opt/PlatinGUI/bin/gmux/ contains some more ELF 32bit LSB = (SYSV) binaries... Start via:/usr/local/jdk1.3.1/jre/bin/java -native -verbose -cp = /compat/linux/opt/PlatinGUI/lib/swingall.jar:/compat/linux/opt/PlatinGUI= /lib/platin.jar com.sap.platin.Gui [...] [Loaded com.sap.platin.util.GuiParentInfo] [Loaded javax.swing.JRootPane from /usr/local/jdk1.3.1/jre/lib/rt.jar] [Loaded com.sap.platin.automation.GuiRefCountedObject] [Loaded com.sap.platin.util.GuiJniLoader] [Loaded java.lang.SecurityException from = /usr/local/jdk1.3.1/jre/lib/rt.jar] [Loaded java.lang.UnsatisfiedLinkError from = /usr/local/jdk1.3.1/jre/lib/rt.jar] [Loaded com.sap.platin.util.GuiVersionInfo] [Loaded com.sap.platin.GuiVersionInfoI] SIGBUS 10* bus error Full thread dump Classic VM (1.3.1-p6-root-020313-18:59, native = threads): "Image Fetcher 3" (TID:0x28d34230, sys_thread_t:0x8497d80, = state:CW, native ID:0x84d3800) prio=3D8 at java.lang.Object.wait(Native Method) at sun.awt.image.ImageFetcher.nextImage(ImageFetcher.java:163) at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:212) at sun.awt.image.ImageFetcher.run(ImageFetcher.java:185) "AWT-Motif" (TID:0x28d502f8, sys_thread_t:0x8381280, state:R, = native ID:0x838d000) prio=3D6 at sun.awt.motif.MToolkit.run(Native Method) at java.lang.Thread.run(Thread.java:484) "SunToolkit.PostEventQueue-0" (TID:0x28d4f9a8, = sys_thread_t:0x8356380, state:CW, native ID:0x835c000) prio=3D6 at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:420) at sun.awt.PostEventQueue.run(SunToolkit.java:491) "AWT-EventQueue-0" (TID:0x28d4fa40, sys_thread_t:0x8356180, = state:CW, native ID:0x8331000) prio=3D6 at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:420) at java.awt.EventQueue.getNextEvent(EventQueue.java:260) at = java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThrea= d.java:106) at = java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.= java:98) at = java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at = java.awt.EventDispatchThread.run(EventDispatchThread.java:85) "Finalizer" (TID:0x28e4b528, sys_thread_t:0x80de380, state:CW, = native ID:0x80df400) prio=3D8 at java.lang.Object.wait(Native Method) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:108) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:123) at = java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:162) "Reference Handler" (TID:0x28e4b300, sys_thread_t:0x80de080, = state:CW, native ID:0x80df000) prio=3D10 at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:420) at = java.lang.ref.Reference$ReferenceHandler.run(Reference.java:110) "Signal dispatcher" (TID:0x28e4b330, sys_thread_t:0x80bbe80, = state:CW, native ID:0x80da400) prio=3D5 "main" (TID:0x28e4b1b0, sys_thread_t:0x8060280, state:R, native = ID:0x804f000) prio=3D5 at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1382) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1306) at java.lang.Runtime.loadLibrary0(Runtime.java:749) at java.lang.System.loadLibrary(System.java:820) at = com.sap.platin.util.GuiJniLoader.loadPlatinLibrary(GuiJniLoader.java:139= ) at com.sap.platin.Launcher.(Launcher.java:48) at com.sap.platin.Gui.createLauncher(Gui.java:181) at com.sap.platin.Gui.main(Gui.java:308) Monitor Cache Dump: java.lang.ref.ReferenceQueue$Lock@28E4B540/28E81478: Waiting to be notified: "Finalizer" (0x80de380) java.lang.ref.Reference$Lock@28E4B310/28E80F98: Waiting to be notified: "Reference Handler" (0x80de080) java.util.Vector@28E4C540/28E92E00: owner "main" (0x8060280) 1 = entry sun.awt.PostEventQueue@28D4F9A8/29352568: Waiting to be notified: "SunToolkit.PostEventQueue-0" (0x8356380) java.util.Vector@28D34208/29047C68: Waiting to be notified: "Image Fetcher 3" (0x8497d80) java.lang.Runtime@28E4D3E0/28E9B9D8: owner "main" (0x8060280) 1 = entry java.awt.EventQueue@28D4F820/29351F68: Waiting to be notified: "AWT-EventQueue-0" (0x8356180) java.util.Vector@28E4B0B0/28E7EE10: owner "main" (0x8060280) 1 = entry Registered Monitor Dump: utf8 hash table: JNI pinning lock: JNI global reference lock: BinClass lock: Class linking lock: System class loader lock: Code rewrite lock: Heap lock: Monitor cache lock: owner "main" (0x8060280) 1 entry Thread queue lock: owner "main" (0x8060280) 1 entry Monitor registry: owner "main" (0x8060280) 1 entry Abort trap (core dumped) ------------------------------------------------------------------------= gdb -core java.core = /usr/local/jdk1.3.1/jre/bin/i386/native_threads/java (gdb) bt #0 0x280b2cb8 in kill () from /usr/lib/libc_r.so.4 #1 0x280fd3ad in abort () from /usr/lib/libc_r.so.4 #2 0x28173ad9 in Abort () from = /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so #3 0x2819ca9f in panicHandler () from = /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so #4 0x2806d74f in userSignalHandler () from = /usr/local/jdk1.3.1/jre/lib/i386/native_threads/libhpi.so #5 0x2806d708 in intrDispatch () from = /usr/local/jdk1.3.1/jre/lib/i386/native_threads/libhpi.so #6 0x2806ce5e in intrDispatchMD () from = /usr/local/jdk1.3.1/jre/lib/i386/native_threads/libhpi.so #7 0x280c1b2c in _thread_sig_wrapper () from /usr/lib/libc_r.so.4 #8 0x0 in ?? () --=20 Holger Kipp, Dipl.-Math., Systemadministrator | alogis AG Fon: +49 (0)30 / 43 65 8 - 114 | Berliner Strasse 26 Fax: +49 (0)30 / 43 65 8 - 214 | D-13507 Berlin Tegel email: holger.kipp@alogis.com | http://www.alogis.com 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 14 6:41:18 2002 Delivered-To: freebsd-java@freebsd.org Received: from cerberus.perendengue.com (lnk-65-31-227-117.neb.rr.com [65.31.227.117]) by hub.freebsd.org (Postfix) with ESMTP id ECC5C37B419 for ; Thu, 14 Mar 2002 06:41:07 -0800 (PST) Received: by cerberus.perendengue.com (Postfix, from userid 1000) id 552D93C0D; Thu, 14 Mar 2002 08:41:33 -0600 (CST) Date: Thu, 14 Mar 2002 08:41:32 -0600 From: Jesse McConnell To: java@freebsd.org Subject: java ports Message-ID: <20020314084132.A8692@gallup.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I finally submitted my jboss port a couple of days ago, after working out a local issue with the reverse-dns thing..again. Sheesh, hopefully I got it all working now. :) Like the way the bsd.java.mk is shaping up, I am looking forward to how it will evolve! One thought, now that we are getting closer to having that in place..do we want to address how we should go about setting up ports for the helper class jars and deal with versioning of those guys? And how we can setup a mkclasspath-config command for automagically setting classpaths up to those helper classes.. where to install, etc. I see us growing the helper class ports pretty quickly with stuff like jgraph, cvsclient from netbeans, xml parsers, and all that jazz... Thoughts? Jesse P.S. Great job Ernst! -- Jesse McConnell The Gallup Organization (402) 486-6987 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 14 6:47:31 2002 Delivered-To: freebsd-java@freebsd.org Received: from cerberus.perendengue.com (lnk-65-31-227-117.neb.rr.com [65.31.227.117]) by hub.freebsd.org (Postfix) with ESMTP id 4F22637B400 for ; Thu, 14 Mar 2002 06:47:21 -0800 (PST) Received: by cerberus.perendengue.com (Postfix, from userid 1000) id 49ED03C0D; Thu, 14 Mar 2002 08:47:51 -0600 (CST) Date: Thu, 14 Mar 2002 08:47:51 -0600 From: Jesse McConnell To: java@freebsd.org Subject: shell scripts for starting programs.. Message-ID: <20020314084751.B8692@gallup.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org A thought from reading Ernst's mail about forte a bit ago.. How about setting up a convention for startup scripts for all these java programs that allow the port maintainer to choose (or suggest rather) that a particular program run under a certain JDK. Just use sed to put the relevant information in place for starting the program in the right environment. I know that it would be handy for something like jboss, where it works fine under either linux or native jdk's, but performance is much better under the native one...so I would prolley bring it up under native...but we have a standard place that users and hack a program script which are almost always in a certain format to change the basic environment a program runs in. Would be nice to not have to always be flipping between native and linux jdk's by manipulating environment variables on the command-line. Thoughts? Jesse -- Jesse McConnell The Gallup Organization (402) 486-6987 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 14 7: 6:47 2002 Delivered-To: freebsd-java@freebsd.org Received: from Millions.Ca (h-207-228-120-32.gen.cadvision.com [207.228.120.32]) by hub.freebsd.org (Postfix) with ESMTP id EF38137B404 for ; Thu, 14 Mar 2002 07:06:43 -0800 (PST) Received: (from uucp@localhost) by Millions.Ca (8.11.1/8.9.3) id g2EF6hS21622 for ; Thu, 14 Mar 2002 08:06:43 -0700 (MST) (envelope-from stacy@Millions.Ca) Received: from Cedar.Millions.Ca(192.168.64.8) via SMTP by mail-gw-0.millions.ca, id smtpdC21620; Thu Mar 14 08:06:33 2002 Received: from millions.ca (Maple.Millions.Ca [192.168.64.2]) by cedar.millions.ca (8.11.1/8.11.3) with ESMTP id g2EF6Wl40164 for ; Thu, 14 Mar 2002 08:06:32 -0700 (MST) (envelope-from stacy@millions.ca) Message-ID: <3C90BC78.E1D4E3DB@millions.ca> Date: Thu, 14 Mar 2002 08:06:32 -0700 From: Stacy Millions Organization: Millions Consulting Limited X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-java@FreeBSD.ORG Subject: Re: Oracle Universal Installer, SAP JavaGUI (PlatinGUI) References: <3C9078C3.9D28F165@alogis.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Holger Kipp wrote: > Oracle Universal Installer comes with its own Java118 > - works without problems under SuSE Linux 6.3 (quite old actually) > - has some problems running under FreeBSD using /usr/local/jdk1.1.8 > - I haven't checked /usr/local/linux-ibm-jdk1.3.0 yet, though I butted heads with the universal installer for 8.1.6. There are several problems, the top two that I remember are: 1) it comes with a bunch of linux native libs 2) it assumes some linux files that are not included in the linux compatibility. For details of what I did, see http://www.FreeBSD.org/cgi/getmsg.cgi?fetch=7927+13188+/usr/local/www/db/text/2000/freebsd-database/20001210.freebsd-database -- You'll see it's all a show. Keep 'em laughing as you go. Just remember that the last laugh is on you. - Monty Python _The Life Of Brian_ Stacy Millions stacy@millions.ca Millions Consulting Limited To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 14 7:15:33 2002 Delivered-To: freebsd-java@freebsd.org Received: from puget.esil.univ-mrs.fr (puget.esil.univ-mrs.fr [139.124.41.103]) by hub.freebsd.org (Postfix) with ESMTP id C66F837B416; Thu, 14 Mar 2002 07:15:28 -0800 (PST) Received: from localhost (hquiroz@localhost) by puget.esil.univ-mrs.fr (8.11.6/8.11.6) with ESMTP id g2EFNGD82142; Thu, 14 Mar 2002 16:23:16 +0100 (CET) (envelope-from hquiroz@esil.univ-mrs.fr) X-Authentication-Warning: puget.esil.univ-mrs.fr: hquiroz owned process doing -bs Date: Thu, 14 Mar 2002 16:23:16 +0100 (CET) From: Herve Quiroz To: Ernst de Haan Cc: java@FreeBSD.ORG, Subject: Re: Proposal for bsd.java.mk In-Reply-To: <200203132300.AAA05224@smtp.hccnet.nl> Message-ID: <20020314161938.Y82066-100000@puget.esil.univ-mrs.fr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org There is an error in your bsd.java.mk : line 144: there should not be any "\" character ending the line I am trying to make a port for jakarta-log4j to see if your "new way of java ports" works fine... I definitively miss ant variables (but ant is included is the log4j distfile anyway as well as a build.sh script) and JAVA_CLASSES/JAVA_LIBS variable but I'll do it regardless. ++ rv To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 14 7:23:19 2002 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id CD39537B41B for ; Thu, 14 Mar 2002 07:23:15 -0800 (PST) Received: by zaphod.euronet.nl (8.11.6/8.11.6) id g2EFNBc79056; Thu, 14 Mar 2002 16:23:11 +0100 (CET) (envelope-from ernst) Message-Id: <200203141523.g2EFNBc79056@zaphod.euronet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan Organization: EuroNet Internet B.V. To: Jesse McConnell , java@freebsd.org Subject: Re: java ports Date: Thu, 14 Mar 2002 16:23:05 +0100 X-Mailer: KMail [version 1.3.2] References: <20020314084132.A8692@gallup.com> In-Reply-To: <20020314084132.A8692@gallup.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hey Jesse, > I finally submitted my jboss port a couple of days ago, after working > out a local issue with the reverse-dns thing..again. Sheesh, hopefully > I got it all working now. :) I took responsibility for the PR just a minute ago :) > Like the way the bsd.java.mk is shaping up, I am looking forward to how > it will evolve! I'm glad you like it. Have you tested it yet ? > One thought, now that we are getting closer to having that in place..do > we want to address how we should go about setting up ports for the > helper class jars and deal with versioning of those guys? And how we > can setup a mkclasspath-config command for automagically setting > classpaths up to those helper classes.. where to install, etc. Yeah we should look into that. Perhaps we can start a public discussion now? Perhaps start with the exact goals and then list alternative solutions, etc ? > I see us growing the helper class ports pretty quickly with stuff like > jgraph, cvsclient from netbeans, xml parsers, and all that jazz... Yeah, I want to have jdom, log4j, xalan, xerces, crimson, poolman, junit, jta, javamail, jaf and doccheck all in there. Some already are, but it's a mess :-\ It should all be consistent with respect to the approach for the porting, the location of the Javadoc API docs, the location of the source files, the location of the JARs, the way the port is built, etc. I'm thinking about something like a library.xml file in ${FILESDIR} (or alternatively just some definitions in the Makefile) where a port specifies what it needs in terms of dependencies, where the source lives, etc. Then we can use XSLT to convert that to an Ant build file and then build the port using that build file. Dunno, still pondering. > P.S. Great job Ernst! Thanks. Hope you like it *and* test it too :) Ernst -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 14 7:27: 0 2002 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id EEDEF37B402; Thu, 14 Mar 2002 07:26:52 -0800 (PST) Received: (from ernst@localhost) by zaphod.euronet.nl (8.11.6/8.11.6) id g2EFQpH86301; Thu, 14 Mar 2002 16:26:51 +0100 (CET) (envelope-from ernst) Message-Id: <200203141526.g2EFQpH86301@zaphod.euronet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan To: Herve Quiroz Subject: Re: Proposal for bsd.java.mk Date: Thu, 14 Mar 2002 16:26:48 +0100 X-Mailer: KMail [version 1.3.2] Cc: java@FreeBSD.ORG, References: <20020314161938.Y82066-100000@puget.esil.univ-mrs.fr> In-Reply-To: <20020314161938.Y82066-100000@puget.esil.univ-mrs.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Herve, > line 144: there should not be any "\" character ending the line Fixed that. Download a new version at: http://www.metaverse.nl/~ernst/bsd.java.mk > I am trying to make a port for jakarta-log4j to see if your "new way of > java ports" works fine... I definitively miss ant variables (but ant is > included is the log4j distfile anyway as well as a build.sh script) and > JAVA_CLASSES/JAVA_LIBS variable but I'll do it regardless. Look again. It's there and it's called JAVA_CLASSES. Quoting the bsd.java.mk: # Set the location of the ZIP or JAR file with all standard Java classes.. if defined(USE_JAVA) && ${USE_JAVA} == "1.1" JAVA_CLASSES= ${JAVA_HOME}/lib/classes.zip . else JAVA_CLASSES= ${JAVA_HOME}/jre/lib/rt.jar . endif Let me know how things go! :) Kind regards, Ernst -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 14 7:41:36 2002 Delivered-To: freebsd-java@freebsd.org Received: from puget.esil.univ-mrs.fr (puget.esil.univ-mrs.fr [139.124.41.103]) by hub.freebsd.org (Postfix) with ESMTP id 97E6937B405; Thu, 14 Mar 2002 07:41:15 -0800 (PST) Received: from localhost (hquiroz@localhost) by puget.esil.univ-mrs.fr (8.11.6/8.11.6) with ESMTP id g2EFmxD84936; Thu, 14 Mar 2002 16:49:03 +0100 (CET) (envelope-from hquiroz@esil.univ-mrs.fr) X-Authentication-Warning: puget.esil.univ-mrs.fr: hquiroz owned process doing -bs Date: Thu, 14 Mar 2002 16:48:58 +0100 (CET) From: Herve Quiroz To: Ernst de Haan Cc: java@FreeBSD.ORG, Subject: Re: Proposal for bsd.java.mk In-Reply-To: <200203141526.g2EFQpH86301@zaphod.euronet.nl> Message-ID: <20020314164242.M84923-100000@puget.esil.univ-mrs.fr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > Look again. It's there and it's called JAVA_CLASSES. > > Quoting the bsd.java.mk: > > # Set the location of the ZIP or JAR file with all standard Java classes.= =2E > if defined(USE_JAVA) && ${USE_JAVA} =3D=3D "1.1" > JAVA_CLASSES=3D ${JAVA_HOME}/lib/classes.zip > . else > JAVA_CLASSES=3D ${JAVA_HOME}/jre/lib/rt.jar > . endif I meant the path where all jars are to be installed... I should have written JAVA_JARS/JAVA_LIBS or something. I have defined and used it in my Makefile so it will be easy to transform when included in bsd.java.mk : JAVA_LIBS=3D ${PREFIX}/share/java/classes Also, I have noticed that there is actually no ant jar in the distfile... unfortunately :( Herv=E9 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 14 8:25:53 2002 Delivered-To: freebsd-java@freebsd.org Received: from puget.esil.univ-mrs.fr (puget.esil.univ-mrs.fr [139.124.41.103]) by hub.freebsd.org (Postfix) with ESMTP id 42CFD37B402; Thu, 14 Mar 2002 08:25:41 -0800 (PST) Received: from localhost (hquiroz@localhost) by puget.esil.univ-mrs.fr (8.11.6/8.11.6) with ESMTP id g2EGXTT94023; Thu, 14 Mar 2002 17:33:29 +0100 (CET) (envelope-from hquiroz@esil.univ-mrs.fr) X-Authentication-Warning: puget.esil.univ-mrs.fr: hquiroz owned process doing -bs Date: Thu, 14 Mar 2002 17:33:29 +0100 (CET) From: Herve Quiroz To: Ernst de Haan Cc: java@FreeBSD.ORG, Subject: Re: Proposal for bsd.java.mk In-Reply-To: <200203141526.g2EFQpH86301@zaphod.euronet.nl> Message-ID: <20020314171853.Q86480-100000@puget.esil.univ-mrs.fr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org It works ! Still using ${NOPORTDOCS} for javadoc but I think there should be a NOJAVADOC variable to install only the standard doc (no apidocs) such as the manual... I will clean all things up and put a zipped version of the java/jakarta-log4j directory on my web page if people want to have a look. Note that it is now really simple to write a port (thanks also to ant which does everything by itself). I keep you informed. Herv=E9 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 14 8:30:52 2002 Delivered-To: freebsd-java@freebsd.org Received: from puget.esil.univ-mrs.fr (puget.esil.univ-mrs.fr [139.124.41.103]) by hub.freebsd.org (Postfix) with ESMTP id B147D37B402; Thu, 14 Mar 2002 08:30:47 -0800 (PST) Received: from localhost (hquiroz@localhost) by puget.esil.univ-mrs.fr (8.11.6/8.11.6) with ESMTP id g2EGca194047; Thu, 14 Mar 2002 17:38:36 +0100 (CET) (envelope-from hquiroz@esil.univ-mrs.fr) X-Authentication-Warning: puget.esil.univ-mrs.fr: hquiroz owned process doing -bs Date: Thu, 14 Mar 2002 17:38:35 +0100 (CET) From: Herve Quiroz To: Ernst de Haan Cc: java@FreeBSD.ORG, Subject: Re: Proposal for bsd.java.mk In-Reply-To: <200203141526.g2EFQpH86301@zaphod.euronet.nl> Message-ID: <20020314173500.X94038-100000@puget.esil.univ-mrs.fr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Problem: A port using bsd.java.mk gets registered with all the dependancies of the corresponding jdk. I think it should just depend on the jdk (from USE_JAVA) itself. Herv=E9 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 14 8:33:54 2002 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id 0B76637B400; Thu, 14 Mar 2002 08:33:48 -0800 (PST) Received: by zaphod.euronet.nl (8.11.6/8.11.6) id g2EGXnP06065; Thu, 14 Mar 2002 17:33:49 +0100 (CET) (envelope-from ernst) Message-Id: <200203141633.g2EGXnP06065@zaphod.euronet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan To: Herve Quiroz Subject: Re: Proposal for bsd.java.mk Date: Thu, 14 Mar 2002 17:33:48 +0100 X-Mailer: KMail [version 1.3.2] Cc: java@FreeBSD.ORG, References: <20020314171853.Q86480-100000@puget.esil.univ-mrs.fr> In-Reply-To: <20020314171853.Q86480-100000@puget.esil.univ-mrs.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Herve, > It works ! Still using ${NOPORTDOCS} for javadoc but I think there should Great to hear that it actually works! What JDK did your port get installed with? > be a NOJAVADOC variable to install only the standard doc (no apidocs) > such as the manual... Yeah, I agree. There should (and will) be a setting like that, but first we need to get the base in place :) > I will clean all things up and put a zipped version of the > java/jakarta-log4j directory on my web page if people want to have a look. Good! I will provide a download location for a modified a few ports I tested this with, including the www/orion port. > Note that it is now really simple to write a port (thanks also to ant > which does everything by itself). Hmm, I would like to see _how_ you used Ant in this scenario... > I keep you informed. Yeah, please do :) Ernst -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 14 8:35:53 2002 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id 7930C37B405; Thu, 14 Mar 2002 08:35:44 -0800 (PST) Received: (from ernst@localhost) by zaphod.euronet.nl (8.11.6/8.11.6) id g2EGZlk06071; Thu, 14 Mar 2002 17:35:47 +0100 (CET) (envelope-from ernst) Message-Id: <200203141635.g2EGZlk06071@zaphod.euronet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan To: Herve Quiroz Subject: Re: Proposal for bsd.java.mk Date: Thu, 14 Mar 2002 17:35:47 +0100 X-Mailer: KMail [version 1.3.2] Cc: java@FreeBSD.ORG, References: <20020314173500.X94038-100000@puget.esil.univ-mrs.fr> In-Reply-To: <20020314173500.X94038-100000@puget.esil.univ-mrs.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi Herve (again), :-) > A port using bsd.java.mk gets registered with all the dependancies of the > corresponding jdk. I think it should just depend on the jdk (from > USE_JAVA) itself. Nah, that's probably just the way the pkg_install works. The only dependencies bsd.java.mk sets at the moment are the JDK and possibly Jikes. Perhaps you could send the output that lead you to this conclusion? Kind regards, Ernst -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 14 8:56:19 2002 Delivered-To: freebsd-java@freebsd.org Received: from puget.esil.univ-mrs.fr (puget.esil.univ-mrs.fr [139.124.41.103]) by hub.freebsd.org (Postfix) with ESMTP id 3DA6F37B41B; Thu, 14 Mar 2002 08:56:14 -0800 (PST) Received: from localhost (hquiroz@localhost) by puget.esil.univ-mrs.fr (8.11.6/8.11.6) with ESMTP id g2EH42r94199; Thu, 14 Mar 2002 18:04:02 +0100 (CET) (envelope-from hquiroz@esil.univ-mrs.fr) X-Authentication-Warning: puget.esil.univ-mrs.fr: hquiroz owned process doing -bs Date: Thu, 14 Mar 2002 18:04:01 +0100 (CET) From: Herve Quiroz To: Ernst de Haan Cc: java@FreeBSD.ORG Subject: Re: Proposal for bsd.java.mk In-Reply-To: <200203141635.g2EGZlk06071@zaphod.euronet.nl> Message-ID: <20020314175707.C94187-100000@puget.esil.univ-mrs.fr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Ernst, > > Nah, that's probably just the way the pkg_install works. The only > dependencies bsd.java.mk sets at the moment are the JDK and possibly Jike= s. > > Perhaps you could send the output that lead you to this conclusion? > In fact, I had to pkgdb -F a lot just after installing the port because 1) my other ports were not quite up-to-date (a lot of updates these last two days) and 2) ljakarta-log4j was registered with a lot of useless stuff such as urwfonts, pkgconfig... If my system has been up-to-date I would probably not have noticed it. Anyway, there seems to be some weird behaviour with my pkgdb (some ruby error statements) since one week or so. I will fix it up and see how the java ports are actually registered after that... which is tomorrow ;) Regards Herv=E9 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 14 9: 2:33 2002 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id 9534237B402 for ; Thu, 14 Mar 2002 09:02:26 -0800 (PST) Received: (from ernst@localhost) by zaphod.euronet.nl (8.11.6/8.11.6) id g2EH2Kw06124; Thu, 14 Mar 2002 18:02:20 +0100 (CET) (envelope-from ernst) Message-Id: <200203141702.g2EH2Kw06124@zaphod.euronet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan To: Herve Quiroz Subject: pkgdb problems (Was: Proposal for bsd.java.mk) Date: Thu, 14 Mar 2002 18:02:20 +0100 X-Mailer: KMail [version 1.3.2] Cc: java@FreeBSD.ORG References: <20020314175707.C94187-100000@puget.esil.univ-mrs.fr> In-Reply-To: <20020314175707.C94187-100000@puget.esil.univ-mrs.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Herve, > In fact, I had to pkgdb -F a lot just after installing the port because 1) > my other ports were not quite up-to-date (a lot of updates these last two > days) and 2) ljakarta-log4j was registered with a lot of useless stuff > such as urwfonts, pkgconfig... If my system has been up-to-date I would > probably not have noticed it. I have the same problems with all of my ports. It's just what happens when you cvsup your ports collection. It seems that the installed packages then suddenly point to the new versions (the ones in the ports) of their dependencies. > Anyway, there seems to be some weird behaviour with my pkgdb (some ruby > error statements) since one week or so. I will fix it up and see how the > java ports are actually registered after that... which is tomorrow ;) Perhaps update your bsd.ruby.mk ? I dunno, I've seen bsd.ruby.mk-related problems show up in some traces as well. Just ignore them. I did. And I'm still here ;) Regards, Ernst -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 14 9:16:46 2002 Delivered-To: freebsd-java@freebsd.org Received: from alogis.com (firewall.solit-ag.de [212.184.102.1]) by hub.freebsd.org (Postfix) with ESMTP id 84D4237B431 for ; Thu, 14 Mar 2002 09:16:07 -0800 (PST) Received: from alogis.com (kipp@clausthal.int1.b.intern [10.1.1.30]) by alogis.com (8.11.1/8.9.3) with ESMTP id g2EHG4l79991; Thu, 14 Mar 2002 18:16:04 +0100 (CET) (envelope-from holger.kipp@alogis.com) Message-ID: <3C90D784.20A7EDA6@alogis.com> Date: Thu, 14 Mar 2002 18:01:56 +0100 From: Holger Kipp X-Mailer: Mozilla 4.7 [en] (X11; U; Linux 2.2.13 i686) X-Accept-Language: en MIME-Version: 1.0 To: Reifenberger Michael EXT , freebsd-java@freebsd.org Subject: Re: AW: Oracle Universal Installer, SAP JavaGUI (PlatinGUI) References: <67E0BE167008D31185F60008C7289DA0E1315A@MCHH218E> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Reifenberger Michael EXT wrote: > > Hi, > - Oracle Universal Installer > I never got to work right their included IBM JRE 1.1.8 and gave up. > The runinstaller has the internal JRE hardcoded... One can override it. I got the OUI-Window up, till displaying the products.jar load bar(up to about 34%) and then ending with an obviously wrong error message. I'll post the details if anyone is interested (might take some days, though). > - PlatinGUI (SAP JavaGUI) > It just works (6.10r2) using /usr/local/linux-ibm-jdk1.3.0 as the JRE. > It will never work by definition using a native FreeBSD JRE until: > o SAP makes a native port of it. > o We are able to call native Linux Classes (JNI) from within the FreeBSD JRE Does transaktion SE80 work also? Over here, it (SE80) just plain hangs after (tracing using the sapgui-Trace (everything)): [...] 14.03. 18:01:52.583 [AWT-EventQueue-0] (+ 00001 ms) PICT: adjusting size of the image component 14.03. 18:01:52.584 [AWT-EventQueue-0] (+ 00001 ms) PICT: container size = java.awt.Dimension[width=270,height=278] 14.03. 18:01:52.584 [AWT-EventQueue-0] (+ 00000 ms) PICT: set size of JIC component : 270, 278 14.03. 18:01:52.584 [AWT-EventQueue-0] (+ 00000 ms) PICT: adjusted size of the image component = 270 ,278 14.03. 18:01:52.584 [AWT-EventQueue-0] (+ 00000 ms) PICT: scale image to : (270 ,278) 14.03. 18:01:52.607 [AWT-EventQueue-0] (+ 00023 ms) PICT: finished scaling 14.03. 18:01:53.184 [AWT-EventQueue-0] (+ 00577 ms) TBCL: SapToolBar.getOrientation() => 0 :-( For linux environment I have installed: linux_base-6.1 The base set of packages needed in Linux mode linux_base-7.1_2 The base set of packages needed in Linux mode linux_devtools-6.1 Packages needed for doing development in Linux mode untared the rpm 4 (rpm-4.0.1.i386.tar.gz) into /compat/linux, as the PlatinGUI/GX.rpm use the new format 4... made a link within /compat/linux/usr/lib: lrwxr-xr-x 1 root wheel 31 Mar 14 17:49 libstdc++-libc6.1-2.so.3 -> libstdc++-3-libc6.2-2-2.10.0.so and installed the Platin-RPMs as 'linux'-root with rpm -i --nodeps Anything I missed? Maybe I should also try 620... . Regards, Holger -- Holger Kipp, Dipl.-Math., Systemadministrator | alogis AG Fon: +49 (0)30 / 43 65 8 - 114 | Berliner Strasse 26 Fax: +49 (0)30 / 43 65 8 - 214 | D-13507 Berlin Tegel email: holger.kipp@alogis.com | http://www.alogis.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 14 9:42:53 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by hub.freebsd.org (Postfix) with ESMTP id AA62037B426 for ; Thu, 14 Mar 2002 09:42:45 -0800 (PST) Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.22 #1) id 16lZFS-0004KJ-00; Thu, 14 Mar 2002 10:42:43 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g2EHgcS15176; Fri, 15 Mar 2002 04:12:38 +1030 (CST) (envelope-from glewis) Date: Fri, 15 Mar 2002 04:12:38 +1030 From: Greg Lewis To: Holger Kipp Cc: freebsd-java@FreeBSD.ORG Subject: Re: Oracle Universal Installer, SAP JavaGUI (PlatinGUI) Message-ID: <20020315041238.A15146@misty.eyesbeyond.com> References: <3C9078C3.9D28F165@alogis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3C9078C3.9D28F165@alogis.com>; from holger.kipp@alogis.com on Thu, Mar 14, 2002 at 11:17:39AM +0100 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Mar 14, 2002 at 11:17:39AM +0100, Holger Kipp wrote: > ----------------------------------------------------------------------- > PlatinGUI > - does work with /usr/local/linux-ibm-jdk1.3.0 with a few minor problems. > - works without these problems on SuSE Linux 6.3 using the original > ibm jdk118 > - doesn't work with /usr/local/jdk1.1.8 > - doesn't work with /usr/local/jdk1.3.1 > > > PlatinGUI with /usr/local/jdk1.3.1 (both green and native tested): > Environment settings: > SHLIB_PATH=/compat/linux/opt/PlatinGUI/lib:/usr/local/jdk1.3.1/jre/lib:/compat/linux/lib > LD_LIBRARY_PATH=/compat/linux/opt/PlatinGUI/lib:/usr/local/jdk1.3.1/jre/lib:/compat/linux/lib:/compat/linux/usr/lib > PLATINHOME=/compat/linux/opt/PlatinGUI/ > PATH=$PATH:/compat/linux/opt/PlatinGUI/bin:/usr/local/jdk1.3.1/jre/bin > > /compat/linux/opt/PlatinGUI/lib/libJPlatin.so: > ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped > > /compat/linux/opt/PlatinGUI/bin/gmux/ contains some more ELF 32bit LSB (SYSV) > binaries... Well, its never going to work with a native FreeBSD JDK if it includes Linux shared libraries to be loaded via JNI :). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 14 10: 1:38 2002 Delivered-To: freebsd-java@freebsd.org Received: from alcatraz.iptelecom.net.ua (alcatraz.iptelecom.net.ua [212.9.224.15]) by hub.freebsd.org (Postfix) with ESMTP id CF6CA37B419 for ; Thu, 14 Mar 2002 10:01:29 -0800 (PST) Received: from ipcard.iptcom.net (ipcard.iptcom.net [212.9.224.5]) by alcatraz.iptelecom.net.ua (8.9.3/8.9.3) with ESMTP id UAA88923 for ; Thu, 14 Mar 2002 20:01:25 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Received: from vega.vega.com (h236.228.dialup.iptcom.net [212.9.228.236]) by ipcard.iptcom.net (8.9.3/8.9.3) with ESMTP id UAA51363 for ; Thu, 14 Mar 2002 20:01:19 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vega.vega.com (8.11.6/8.11.3) with ESMTP id g2EI06B95114 for ; Thu, 14 Mar 2002 20:00:06 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Message-ID: <3C90E55F.49B67088@FreeBSD.org> Date: Thu, 14 Mar 2002 20:01:03 +0200 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en,uk,ru MIME-Version: 1.0 To: java@FreeBSD.org Subject: [Fwd: cvs commit: ports/java/jdk13 Makefile pkg-plistports/java/jdk13/files patch-..::ext::plugin::build::solaris::GNUmakefile] Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org FYI. Would be nice to have this integrated into p7. -Maxim -------- Original Message -------- Subject: cvs commit: ports/java/jdk13 Makefile pkg-plistports/java/jdk13/files patch-..::ext::plugin::build::solaris::GNUmakefile Date: Wed, 13 Mar 2002 07:06:16 -0800 (PST) From: Maxim Sobolev To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG sobomax 2002/03/13 07:06:16 PST Modified files: java/jdk13 Makefile pkg-plist Added files: java/jdk13/files patch-..::ext::plugin::build::solaris::GNUmakefile Log: Link Mozilla pligin with libXt to make it working with Mozilla-0.9.9. This resolves the following error when starting Mozilla: LoadPlugin: failed to initialize shared library /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so [/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so: Undefined symbol "XtShellStrings"] While I'm here add a tweak to prune empty directories before installing JDK, so that JDK installed from a pre-built package deinstalls properly. Bump PORTREVISION. Revision Changes Path 1.18 +9 -2 ports/java/jdk13/Makefile 1.1 +14 -0 ports/java/jdk13/files/patch-..::ext::plugin::build::solaris::GNUmakefile (new) 1.6 +0 -2 ports/java/jdk13/pkg-plist To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 14 14: 6:19 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by hub.freebsd.org (Postfix) with ESMTP id C1A1D37B47F; Thu, 14 Mar 2002 14:05:48 -0800 (PST) Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.22 #1) id 16ldM3-0001zt-00; Thu, 14 Mar 2002 15:05:48 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g2EM5Zx16151; Fri, 15 Mar 2002 08:35:35 +1030 (CST) (envelope-from glewis) Date: Fri, 15 Mar 2002 08:35:35 +1030 From: Greg Lewis To: Maxim Sobolev Cc: java@FreeBSD.ORG Subject: Re: [Fwd: cvs commit: ports/java/jdk13 Makefile pkg-plistports/java/jdk13/files patch-..::ext::plugin::build::solaris::GNUmakefile] Message-ID: <20020315083535.A16136@misty.eyesbeyond.com> References: <3C90E55F.49B67088@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3C90E55F.49B67088@FreeBSD.org>; from sobomax@FreeBSD.ORG on Thu, Mar 14, 2002 at 08:01:03PM +0200 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Mar 14, 2002 at 08:01:03PM +0200, Maxim Sobolev wrote: > FYI. Would be nice to have this integrated into p7. I have it in my local copy already, will be committing it to the repository shortly. Thanks :). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 14 18:36: 4 2002 Delivered-To: freebsd-java@freebsd.org Received: from eudoramail.com (netturbo3.cscoms.com [202.183.214.4]) by hub.freebsd.org (Postfix) with SMTP id ECAAB37B400 for ; Thu, 14 Mar 2002 18:34:39 -0800 (PST) From: "Moissanite" To: Subject: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Date: Fri, 15 Mar 2002 09:38:29 +0700 Reply-To: "Moissanite" Content-Transfer-Encoding: 8bit Message-Id: <20020315023440.ECAAB37B400@hub.freebsd.org> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Moissanite: More Fire and Brilliance
The Truth About Moissanite
 
Fact - Moissanite delivers more
fire, brilliance and luster than any other hard jewel on Earth.
This unretouched photograph supports the adage that "a picture is worth a thousand words". Here, a light source over a similar sized moissanite and diamond placed in shallow water clearly shows the superior fire and brilliance of this unique new jewel. And the picture is supported by measurable facts: the GIA publishes the dispersion (fire) of created moissanite at 0.104, refractive index (brilliance) at 2.65 to 2.69, and luster at 20.4%. No other hard jewel measures up, not even a fine diamond. And only moissanite and diamond are over 9 on the Mohs hardness scale. Moissanite jewels created by Charles & Colvard are available in all popular shapes and sizes. 

www.moissanitesource.com is the place to buy moissanite jewelry on the internet. Buy with confidence at the best prices in the world. 

 

Moissanite Created By Charles &
Colvard
 

Moissanite created by Charles & Colvard is a unique jewel, not a synthetic diamond.

Moissanite Source is an authorized distributor of Moissanite.

 

If you wish to stop receiving these occasional mailings, simply reply to this email with the word "REMOVE" in
the subject line and we will remove your name and email address from our database.

To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 14 23: 4:30 2002 Delivered-To: freebsd-java@freebsd.org Received: from beech.FernUni-Hagen.de (beech.fernuni-hagen.de [132.176.114.20]) by hub.freebsd.org (Postfix) with ESMTP id 95C7D37B400; Thu, 14 Mar 2002 23:04:26 -0800 (PST) Received: from es-i2.fernuni-hagen.de ([132.176.7.81]) by beech.FernUni-Hagen.de with esmtp (Exim 3.22 #15) id 16llkp-0001wP-00; Fri, 15 Mar 2002 08:03:55 +0100 Received: from jfh00.fernuni-hagen.de (jfh00.fernuni-hagen.de [132.176.7.6]) by es-i2.fernuni-hagen.de (8.11.6/8.11.6) with ESMTP id g2DEOhC16365; Wed, 13 Mar 2002 15:24:43 +0100 (CET) (envelope-from fritz.heinrichmeyer@fernuni-hagen.de) Received: from fernuni-hagen.de (localhost [127.0.0.1]) by jfh00.fernuni-hagen.de (8.11.6/8.11.6) with ESMTP id g2DEOfk01033; Wed, 13 Mar 2002 15:24:42 +0100 (CET) (envelope-from fritz.heinrichmeyer@fernuni-hagen.de) Message-ID: <3C8F6129.9080306@fernuni-hagen.de> Date: Wed, 13 Mar 2002 15:24:41 +0100 From: Fritz Heinrichmeyer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.9) Gecko/20020313 X-Accept-Language: de, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org, freebsd-java@freebsd.org Subject: Strange Error in native Appletviewer with Math.pow Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Look at the applet http://www-es.fernuni-hagen.de/funktionsplotter/release/Funktionsplotter.html it works with the mozilla-plugin under freebsd, with linux-appletviewer but not with freebsd-appletviewer (1.3.1). Try to plot a function that needs Math.pow, i.e. x^2.3 x negative and positive. You see what you would expect in mozilla, but nonsense with appletviewer. I am not subscribed to the java list, so please forward it. -- Fritz Heinrichmeyer mailto:fritz.heinrichmeyer@fernuni-hagen.de FernUniversitaet Hagen, LG ES, 58084 Hagen (Germany) tel:+49 2331/987-1166 fax:987-355 http://www-es.fernuni-hagen.de/~jfh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 15 1:43:57 2002 Delivered-To: freebsd-java@freebsd.org Received: from polaris.we.lc.ehu.es (polaris.we.lc.ehu.es [158.227.6.43]) by hub.freebsd.org (Postfix) with ESMTP id CAD0537B417 for ; Fri, 15 Mar 2002 01:43:42 -0800 (PST) Received: from v-ger.we.lc.ehu.es (v-ger [158.227.6.51]) by polaris.we.lc.ehu.es (8.11.6/8.11.6) with ESMTP id g2F9hcf08879 for ; Fri, 15 Mar 2002 10:43:38 +0100 (MET) Received: (from jose@localhost) by v-ger.we.lc.ehu.es (8.11.6/8.11.6) id g2F9hZO01080 for java@FreeBSD.org; Fri, 15 Mar 2002 10:43:35 +0100 (CET) (envelope-from jose) Date: Fri, 15 Mar 2002 10:43:35 +0100 From: "Jose M. Alcaide" To: java@FreeBSD.org Subject: SIGSEGV while installing forte with linux-jdk14 Message-ID: <20020315104334.B235@v-ger.we.lc.ehu.es> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i X-Operating-System: FreeBSD 4.5-RELEASE Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I am trying to install java/forte using linux-jdk14. I modified the forte port Makefile in order to make it depend on java/linux-jdk14, which is already installed. However, javavm dies with SIGSEGV and creates this error log: ------------------------------------------------------------------- Unexpected Signal : 11 occurred at PC=0x2A0CB730 Function=[Unknown.] Library=(N/A) NOTE: We are unable to locate the function name symbol for the error just occurred. Please refer to release documentation for possible reason and solutions. Current Java thread: Dynamic libraries: Can not get information for pid = 66365 Local Time = Fri Mar 15 10:21:37 2002 Elapsed Time = 7 # # HotSpot Virtual Machine Error : 11 # Error ID : 4F530E43505002D3 # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # # Java VM: Java HotSpot(TM) Client VM (1.4.0-b92 mixed mode) # ------------------------------------------------------------------- Forte runs with JDK 1.4.0 on a colleague's Linux machine without problems. I am downloading JDK 1.3.1 just now, but I am a bit frustrated. Does anyone have any idea about the cause of this problem? Cheers, JMA -- ****** Jose M. Alcaide // jose@we.lc.ehu.es // jmas@FreeBSD.org ****** ** "Beware of Programmers who carry screwdrivers" -- Leonard Brandwein ** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 15 3:29:41 2002 Delivered-To: freebsd-java@freebsd.org Received: from puget.esil.univ-mrs.fr (puget.esil.univ-mrs.fr [139.124.41.103]) by hub.freebsd.org (Postfix) with ESMTP id C8D8F37B416 for ; Fri, 15 Mar 2002 03:29:34 -0800 (PST) Received: from localhost (hquiroz@localhost) by puget.esil.univ-mrs.fr (8.11.6/8.11.6) with ESMTP id g2FBbJC38673 for ; Fri, 15 Mar 2002 12:37:19 +0100 (CET) (envelope-from herve.quiroz@esil.univ-mrs.fr) X-Authentication-Warning: puget.esil.univ-mrs.fr: hquiroz owned process doing -bs Date: Fri, 15 Mar 2002 12:37:18 +0100 (CET) From: Herve Quiroz X-X-Sender: hquiroz@puget.esil.univ-mrs.fr To: java@freebsd.org Subject: Location of javadoc Message-ID: <20020315123339.N38122-100000@puget.esil.univ-mrs.fr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org What is the best place for javadocs when writing a port ? ${LOCALBASE}/share/doc/{PORTNAME} or ${LOCALBASE}/share/java/doc/{PORTNAME} I was thinking of having the javadoc in a subdir of the port doc dir : ${LOCALBASE}/share/doc/{PORTNAME} -> manuals and regular doc ${LOCALBASE}/share/doc/{PORTNAME}/javadoc -> apidocs Herv=E9 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 15 3:48:55 2002 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id ECE1F37B400 for ; Fri, 15 Mar 2002 03:48:43 -0800 (PST) Received: by zaphod.euronet.nl (8.11.6/8.11.6) id g2FBmkg91212; Fri, 15 Mar 2002 12:48:46 +0100 (CET) (envelope-from ernst) Message-Id: <200203151148.g2FBmkg91212@zaphod.euronet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan Organization: EuroNet Internet B.V. To: Herve Quiroz Subject: Re: Location of javadoc Date: Fri, 15 Mar 2002 12:48:45 +0100 X-Mailer: KMail [version 1.3.2] References: <20020315123339.N38122-100000@puget.esil.univ-mrs.fr> In-Reply-To: <20020315123339.N38122-100000@puget.esil.univ-mrs.fr> Cc: java@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Herve, According to the FreeBSD Porters Handbook, all additional port docs should go below ${PREFIX}/share/doc: http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/x1850.html So perhaps we should define the base location for the documentation of a Java port as: ${PREFIX}/share/doc/java/${PKGNAME} And then the API documentation would always go in ${PREFIX}/share/doc/java/${PKGNAME}/api Whaddayathink ? Ernst On Friday 15 March 2002 12:37, Herve Quiroz wrote: > What is the best place for javadocs when writing a port ? > > ${LOCALBASE}/share/doc/{PORTNAME} > > or > > ${LOCALBASE}/share/java/doc/{PORTNAME} > > > I was thinking of having the javadoc in a subdir of the port doc dir : > > ${LOCALBASE}/share/doc/{PORTNAME} -> manuals and regular doc > ${LOCALBASE}/share/doc/{PORTNAME}/javadoc -> apidocs > > > Hervé > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 15 4:17: 4 2002 Delivered-To: freebsd-java@freebsd.org Received: from puget.esil.univ-mrs.fr (puget.esil.univ-mrs.fr [139.124.41.103]) by hub.freebsd.org (Postfix) with ESMTP id 8A62A37B402 for ; Fri, 15 Mar 2002 04:16:57 -0800 (PST) Received: from localhost (hquiroz@localhost) by puget.esil.univ-mrs.fr (8.11.6/8.11.6) with ESMTP id g2FCOhc48615; Fri, 15 Mar 2002 13:24:43 +0100 (CET) (envelope-from hquiroz@esil.univ-mrs.fr) X-Authentication-Warning: puget.esil.univ-mrs.fr: hquiroz owned process doing -bs Date: Fri, 15 Mar 2002 13:24:42 +0100 (CET) From: Herve Quiroz To: Ernst de Haan Cc: Herve Quiroz , Subject: Re: Location of javadoc In-Reply-To: <200203151148.g2FBmkg91212@zaphod.euronet.nl> Message-ID: <20020315132207.S48613-100000@puget.esil.univ-mrs.fr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Ernst, It sounds fine for me. I'll try and have the log4j port running and clean available on the web before going on weekend (which is about 6h from now). Herv=E9 On Fri, 15 Mar 2002, Ernst de Haan wrote: > Herve, > > According to the FreeBSD Porters Handbook, all additional port docs shoul= d go > below ${PREFIX}/share/doc: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/x1850.h= tml > > So perhaps we should define the base location for the documentation of a = Java > port as: > > ${PREFIX}/share/doc/java/${PKGNAME} > > And then the API documentation would always go in > > ${PREFIX}/share/doc/java/${PKGNAME}/api > > Whaddayathink ? > > > Ernst > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 15 4:27:52 2002 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id D96AB37B405 for ; Fri, 15 Mar 2002 04:27:41 -0800 (PST) Received: (from ernst@localhost) by zaphod.euronet.nl (8.11.6/8.11.6) id g2FCRfS12133; Fri, 15 Mar 2002 13:27:41 +0100 (CET) (envelope-from ernst) Message-Id: <200203151227.g2FCRfS12133@zaphod.euronet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan Organization: EuroNet Internet B.V. To: Herve Quiroz Subject: Re: Location of javadoc Date: Fri, 15 Mar 2002 13:27:41 +0100 X-Mailer: KMail [version 1.3.2] Cc: Herve Quiroz , References: <20020315132207.S48613-100000@puget.esil.univ-mrs.fr> In-Reply-To: <20020315132207.S48613-100000@puget.esil.univ-mrs.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hey Herve, > It sounds fine for me. I'll try and have the log4j port running and clean > available on the web before going on weekend (which is about 6h from now). Kewl! > > ${PREFIX}/share/doc/java/${PKGNAME} What if I create a PORTDOCS_JAVA variable for this in the bsd.java.mk ? > > ${PREFIX}/share/doc/java/${PKGNAME}/api And perhaps a APIDOCS_JAVA for this? I dunno, I want to think about this anyway, I don't want to bloat bsd.java.mk... I'm not sure this would be a good thing to do... Ernst -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 15 4:50:31 2002 Delivered-To: freebsd-java@freebsd.org Received: from puget.esil.univ-mrs.fr (puget.esil.univ-mrs.fr [139.124.41.103]) by hub.freebsd.org (Postfix) with ESMTP id C62FA37B427 for ; Fri, 15 Mar 2002 04:50:03 -0800 (PST) Received: from localhost (hquiroz@localhost) by puget.esil.univ-mrs.fr (8.11.6/8.11.6) with ESMTP id g2FCvq348676; Fri, 15 Mar 2002 13:57:52 +0100 (CET) (envelope-from hquiroz@esil.univ-mrs.fr) X-Authentication-Warning: puget.esil.univ-mrs.fr: hquiroz owned process doing -bs Date: Fri, 15 Mar 2002 13:57:52 +0100 (CET) From: Herve Quiroz To: Ernst de Haan Cc: java@freebsd.org Subject: Re: Location of javadoc In-Reply-To: <200203151227.g2FCRfS12133@zaphod.euronet.nl> Message-ID: <20020315134621.I48668-100000@puget.esil.univ-mrs.fr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Ernst, > > What if I create a PORTDOCS_JAVA variable for this in the bsd.java.mk ? > > > > ${PREFIX}/share/doc/java/${PKGNAME}/api > > And perhaps a APIDOCS_JAVA for this? > > I dunno, I want to think about this anyway, I don't want to bloat > bsd.java.mk... I'm not sure this would be a good thing to do... > This could be the way to have all java relatad ports unified in the way they are installing data, docs, apidocs and classes. Indeed, people are more likely to use defined variables if they exist when otherwise they would do as they intend to, which may possibly not match the discussed "unified" way. Herv=E9 PS: BTW, don't you think PORTAPIDOCS is more significant than APIDOCS_JAVA (which sounds more like a "global" variable and not an installing port related one) ? -I'm just splitting hairs here ;) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 15 5:13:55 2002 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id 057C237B431 for ; Fri, 15 Mar 2002 05:13:36 -0800 (PST) Received: (from ernst@localhost) by zaphod.euronet.nl (8.11.6/8.11.6) id g2FDDbo44565; Fri, 15 Mar 2002 14:13:37 +0100 (CET) (envelope-from ernst) Message-Id: <200203151313.g2FDDbo44565@zaphod.euronet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan Organization: EuroNet Internet B.V. To: Herve Quiroz Subject: Re: Location of javadoc Date: Fri, 15 Mar 2002 14:13:37 +0100 X-Mailer: KMail [version 1.3.2] Cc: java@freebsd.org References: <20020315134621.I48668-100000@puget.esil.univ-mrs.fr> In-Reply-To: <20020315134621.I48668-100000@puget.esil.univ-mrs.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hey Herve, > This could be the way to have all java relatad ports unified in the way > they are installing data, docs, apidocs and classes. Indeed, people are > more likely to use defined variables if they exist when otherwise they > would do as they intend to, which may possibly not match the discussed > "unified" way. Yeah, you're probably right. > PS: BTW, don't you think PORTAPIDOCS is more significant than APIDOCS_JAVA > (which sounds more like a "global" variable and not an installing port > related one) ? -I'm just splitting hairs here ;) Actually I love hair-splitting! :) I'm a perfectionist, and I think you're right. PORTAPIDOCS sounds better, although I'm missing 'JAVA' in there now. Perhaps PORTJAVADOCS or PORTAPIDOCS_JAVA or so... Ernst -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 15 6:41:58 2002 Delivered-To: freebsd-java@freebsd.org Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94]) by hub.freebsd.org (Postfix) with ESMTP id 96D8637B400 for ; Fri, 15 Mar 2002 06:41:52 -0800 (PST) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by probity.mcc.ac.uk with esmtp (Exim 2.05 #7) id 16lsts-0003d5-00 for freebsd-java@freebsd.org; Fri, 15 Mar 2002 14:41:44 +0000 Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.11.6/8.11.1) id g2FEfhl31580 for freebsd-java@freebsd.org; Fri, 15 Mar 2002 14:41:43 GMT (envelope-from jcm) Date: Fri, 15 Mar 2002 14:41:43 +0000 From: j mckitrick To: freebsd-java@freebsd.org Subject: Are JSP and EJB just Win2k clones? Quote... Message-ID: <20020315144142.A31561@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i X-Scanner: exiscan *16lsts-0003d5-00*9D6jfzDogWU* (Manchester Computing, University of Manchester) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I found this quote from a javaworld article interesting. This is an answer to a question to a Microsoft product manager. http://www.javaworld.com/javaworld/jw-03-2002/jw-0308-j2eenet-p2.html#sidebar1 >>> By contrast, the J2EE specifications are just that -- specifications. They define a small portion of a complete platform focused on server-side application development. These specifications, such as the JSP and EJB specifications, clone the Microsoft Windows 2000 operating system. For example, JSP is a direct clone of Microsoft's Active Server Pages, and EJB is a clone of some of Windows' COM+ features. J2EE is largely a set of specifications designed to make building server-side applications on Unix systems easier. <<< Is there a shred of truth to this spin, er, comment? Note: please CC me, as I am not currently subscribed. jm To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 15 9: 8:28 2002 Delivered-To: freebsd-java@freebsd.org Received: from blue.eslitebooks.com (211-23-184-179.eslitebooks.com [211.23.184.179]) by hub.freebsd.org (Postfix) with ESMTP id 88F1137B404 for ; Fri, 15 Mar 2002 09:08:13 -0800 (PST) Received: from malloc.eb.kliev.net (pc186.office.eslite [192.168.7.186]) by blue.eslitebooks.com (8.12.2/8.12.2) with SMTP id g2FH7kN2028618; Sat, 16 Mar 2002 01:07:46 +0800 Received: (nullmailer pid 32438 invoked by uid 1000); Fri, 15 Mar 2002 17:07:40 -0000 Date: Sat, 16 Mar 2002 01:07:40 +0800 From: Clive Lin To: Michael Lucas Cc: java@FreeBSD.ORG Subject: Re: plug-in error? Message-ID: <20020315170740.GA32296@malloc.eb.kliev.net> References: <20020311162814.A87805@blackhelicopters.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020311162814.A87805@blackhelicopters.org> User-Agent: Mutt/1.3.28i X-Operating-System: FreeBSD 4.5-RELEASE-p1 i386 X-PGP-key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xA008C03E Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I've seen exactly the same error when I have the combination of mozilla 0.9.9 with jdk-1.3p6_1 on a -CURRENT box. I just portupgraded jdk from p6_1 and p6_2 and this no more appears. Sorry not to check whole thread if your problem is solved, but on my box everything works just fine. Not only http://java.sun.com works (the mostly mentioned test case), even VNC works fine. The only problem is java_vm still takes too much resource ;p 793 clive 20 0 103M 26560K pause 0:14 9.19% 8.84% java_vm (Here is a Celeron 300A with only 192MB RAM) The Hrajuxz symlink is runtime flags for FreeBSD native malloc(3), and is also documented in malloc(3). I'd like (and I'm lazy) to let everything abuses memory allocation to make my life easier.. ;) Clive On Mon, Mar 11, 2002 at 04:28:14PM -0500, Michael Lucas wrote: > > Hello, > > I've tried the archives, without success. Does anyone recognize this > error? It's from Mozilla 0.9.8_2,1 and jdk-1.3.1p6. > > LoadPlugin: failed to initialize shared library /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so [/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so: Undefined symbol "XtShellStrings"] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8kipUdFUoBaAIwD4RAv6FAJ9ZJyxBTZVsVkgMixwGdXqwHSf2zgCffgDj 4m/mCLUkR3RaedegJKekABI= =Xf8s -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 15 10:58:30 2002 Delivered-To: freebsd-java@freebsd.org Received: from puget.esil.univ-mrs.fr (puget.esil.univ-mrs.fr [139.124.41.103]) by hub.freebsd.org (Postfix) with ESMTP id AB90737B404 for ; Fri, 15 Mar 2002 10:58:20 -0800 (PST) Received: from localhost (hquiroz@localhost) by puget.esil.univ-mrs.fr (8.11.6/8.11.6) with ESMTP id g2FJ60K62857 for ; Fri, 15 Mar 2002 20:06:04 +0100 (CET) (envelope-from herve.quiroz@esil.univ-mrs.fr) X-Authentication-Warning: puget.esil.univ-mrs.fr: hquiroz owned process doing -bs Date: Fri, 15 Mar 2002 20:06:00 +0100 (CET) From: Herve Quiroz X-X-Sender: hquiroz@puget.esil.univ-mrs.fr To: java@freebsd.org Subject: jakarta-log4j port for testing with Message-ID: <20020315195711.I61759-100000@puget.esil.univ-mrs.fr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org It works ! It is available at http://www.iut-gtr.univ-mrs.fr/~quiroz/freebsd/jakarta-log4j-port.zip Actually there is no need to build as the distfile already has jars and apidocs included but I enforced the build as I wanted to test using ant. no sure about the apidocs being installed in post-install instead of do-install (I've seen many ports handling it differently each time) Herv=E9 PS: I am going on weekend for now so I won't reply posts for at least 24h from now... I hope there is no bug in my zip file ;) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Mar 15 15: 2:11 2002 Delivered-To: freebsd-java@freebsd.org Received: from smtp.hccnet.nl (smtp.hccnet.nl [62.251.0.13]) by hub.freebsd.org (Postfix) with ESMTP id 23C7C37B420 for ; Fri, 15 Mar 2002 15:01:21 -0800 (PST) Received: from there by smtp.hccnet.nl via uds121-60.dial.hccnet.nl [62.251.60.121] with SMTP id XAA29371 (8.8.8/1.13); Fri, 15 Mar 2002 23:57:33 +0100 (MET) Message-Id: <200203152257.XAA29371@smtp.hccnet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan Organization: FreeBSD Project To: j mckitrick Subject: Re: Are JSP and EJB just Win2k clones? Quote... Date: Fri, 15 Mar 2002 23:52:50 +0100 X-Mailer: KMail [version 1.3.2] References: <20020315144142.A31561@dogma.freebsd-uk.eu.org> In-Reply-To: <20020315144142.A31561@dogma.freebsd-uk.eu.org> Cc: java@FreeBSD.org MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > Is there a shred of truth to this spin, er, comment? It's just the spreading of FUD. Nothing more. I guess that's why nobody responded to your post. We're past that, we're focusing on our own world, Microsoft can't really harm Java nor UNIX a great deal with this nonsense anymore. Apache, UNIX, Linux, Java, Mozilla and GNU are realities that Microsoft will have to face. But they're smart enough to realize that. They just keep trying :) Ernst To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Mar 16 8:31:29 2002 Delivered-To: freebsd-java@freebsd.org Received: from smtp3.ctimail3.com (smtp3.ctimail3.com [203.80.64.6]) by hub.freebsd.org (Postfix) with ESMTP id 501D937B417 for ; Sat, 16 Mar 2002 08:27:19 -0800 (PST) Received: from holam (203195072120.ctinets.com [203.195.72.120]) by smtp3.ctimail3.com (8.10.1/8.10.1) with SMTP id g2GGYO614058 for ; Sun, 17 Mar 2002 00:34:26 +0800 (HKT) Message-ID: <000801c1cd05$d447f260$7848c3cb@holam> From: "Ahfei Ho" To: Subject: TOMCAT install problem.Please Help! Date: Sun, 17 Mar 2002 00:15:43 +0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01C1CD48.E09539E0" 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 List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C1CD48.E09539E0 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: quoted-printable Dear Sir/Madam, We have followed the below steps to install jakarta-tomcat-4.0. But it = still shown message as"The JAVA_HOME environment variable is not = defined correctly,This environment variable is needed to run this = program". Please Help us. Thanks. Best Regards. Ahfei Ho cd /usr/ports/java/jdk make make install make clean reboot /usr/local/jakarta-tomcat-4.0/bin/startup.sh ------=_NextPart_000_0005_01C1CD48.E09539E0 Content-Type: text/html; charset="big5" Content-Transfer-Encoding: quoted-printable
Dear  Sir/Madam,
 
We have followed the below steps to install =20 jakarta-tomcat-4.0. But it still shown  message as"The JAVA_HOME=20 environment variable is not defined correctly,This environment variable = is=20 needed to run this program".
 
Please Help us.
 
Thanks.
 
Best Regards.
 
Ahfei Ho
 
cd /usr/ports/java/jdk
make
make = install
make=20 clean
reboot
/usr/local/jakarta-tomcat-4.0/bin/startup.sh=
 
 
 
 

------=_NextPart_000_0005_01C1CD48.E09539E0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Mar 16 9:26:23 2002 Delivered-To: freebsd-java@freebsd.org Received: from smtp.hccnet.nl (smtp.hccnet.nl [62.251.0.13]) by hub.freebsd.org (Postfix) with ESMTP id A4F0837B417 for ; Sat, 16 Mar 2002 09:26:02 -0800 (PST) Received: from there by smtp.hccnet.nl via uds84-60.dial.hccnet.nl [62.251.60.84] with SMTP for id SAA26959 (8.8.8/1.13); Sat, 16 Mar 2002 18:25:56 +0100 (MET) Message-Id: <200203161725.SAA26959@smtp.hccnet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan Organization: FreeBSD Project To: java@FreeBSD.org Subject: Jakarta Tomcat 4.0 port Date: Sat, 16 Mar 2002 18:22:51 +0100 X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I was working on a www/jakarta-tomcat4 port, but due to time and priority constraints, I haven't been able to complete and test it. There is, however, obviously a great need for it. Could somebody on this list perhaps create a www/jakarta-tomcat4 port based on the existing www/jakarta-tomcat port? If so, then please send it to me as a diff for the current www/jakarta-tomcat. My apologies for not having it finished myself yet :-( Ernst To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Mar 16 9:37:27 2002 Delivered-To: freebsd-java@freebsd.org Received: from smtp1.rdc-kc.rr.com (mkc-162-200.kc.rr.com [24.94.162.200]) by hub.freebsd.org (Postfix) with ESMTP id D844E37B41B; Sat, 16 Mar 2002 09:37:23 -0800 (PST) Received: from gruffy.kc.rr.com (mkc-65-26-58-166.kc.rr.com [65.26.58.166]) by smtp1.rdc-kc.rr.com (8.12.2/8.12.2) with ESMTP id g2GHYHZC028728; Sat, 16 Mar 2002 11:37:17 -0600 (CST) Received: (from riksca@localhost) by gruffy.kc.rr.com (8.11.6/8.11.6) id g2GHYVp59569; Sat, 16 Mar 2002 11:34:31 -0600 (CST) (envelope-from riksca) Date: Sat, 16 Mar 2002 11:34:31 -0600 From: Rik Scarborough To: Ernst de Haan Cc: java@FreeBSD.ORG Subject: Re: Jakarta Tomcat 4.0 port Message-ID: <20020316173431.GA59545@gruffy.kc.rr.com> Mail-Followup-To: Ernst de Haan , java@FreeBSD.ORG References: <200203161725.SAA26959@smtp.hccnet.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200203161725.SAA26959@smtp.hccnet.nl> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I am in the process of install Tomcat 4 on my machine. I will give the port a shot. I am new to the FreeBSD port system, so any advice would be appreciated. ~Rik * Ernst de Haan (znerd@FreeBSD.ORG) [020316 11:28]: > Hi, > > I was working on a www/jakarta-tomcat4 port, but due to time and priority > constraints, I haven't been able to complete and test it. There is, however, > obviously a great need for it. > > Could somebody on this list perhaps create a www/jakarta-tomcat4 port based > on the existing www/jakarta-tomcat port? If so, then please send it to me as > a diff for the current www/jakarta-tomcat. > > My apologies for not having it finished myself yet :-( > > > Ernst > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message -- Ranger Rik -- RikSca@mac.com Brought to you by FreeBSD 4.4 Joshua 24:15 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Mar 16 9:54: 4 2002 Delivered-To: freebsd-java@freebsd.org Received: from smtp.hccnet.nl (smtp.hccnet.nl [62.251.0.13]) by hub.freebsd.org (Postfix) with ESMTP id 4B9DB37B416 for ; Sat, 16 Mar 2002 09:49:56 -0800 (PST) Received: from there by smtp.hccnet.nl via uds84-60.dial.hccnet.nl [62.251.60.84] with SMTP id SAA00219 (8.8.8/1.13); Sat, 16 Mar 2002 18:49:51 +0100 (MET) Message-Id: <200203161749.SAA00219@smtp.hccnet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan Organization: FreeBSD Project To: Rik Scarborough Subject: Re: Jakarta Tomcat 4.0 port Date: Sat, 16 Mar 2002 18:45:45 +0100 X-Mailer: KMail [version 1.3.2] Cc: java@FreeBSD.ORG References: <200203161725.SAA26959@smtp.hccnet.nl> <20020316173431.GA59545@gruffy.kc.rr.com> In-Reply-To: <20020316173431.GA59545@gruffy.kc.rr.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Well, just look at the www/jakarta-tomcat port, change some variables (like PORTVERSION), see how that goes, etc. Read the Porters Handbook first! :) Ernst On Saturday 16 March 2002 18:34, Rik Scarborough wrote: > I am in the process of install Tomcat 4 on my machine. I will give > the port a shot. I am new to the FreeBSD port system, so any advice > would be appreciated. > > ~Rik > > * Ernst de Haan (znerd@FreeBSD.ORG) [020316 11:28]: > > Hi, > > > > I was working on a www/jakarta-tomcat4 port, but due to time and priority > > constraints, I haven't been able to complete and test it. There is, > > however, obviously a great need for it. > > > > Could somebody on this list perhaps create a www/jakarta-tomcat4 port > > based on the existing www/jakarta-tomcat port? If so, then please send it > > to me as a diff for the current www/jakarta-tomcat. > > > > My apologies for not having it finished myself yet :-( > > > > > > 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 Sat Mar 16 12:31:24 2002 Delivered-To: freebsd-java@freebsd.org Received: from mail8.nc.rr.com (fe8.southeast.rr.com [24.93.67.55]) by hub.freebsd.org (Postfix) with ESMTP id A04B837B43B for ; Sat, 16 Mar 2002 12:31:16 -0800 (PST) Received: from nc.rr.com ([66.26.64.108]) by mail8.nc.rr.com with Microsoft SMTPSVC(5.5.1877.687.68); Sat, 16 Mar 2002 13:50:28 -0500 Message-ID: <3C9393F4.CCB354AC@nc.rr.com> Date: Sat, 16 Mar 2002 13:50:28 -0500 From: Michael E Mercer Reply-To: mmercer@nc.rr.com X-Mailer: Mozilla 4.75 [en] (X11; U; FreeBSD 4.5-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: 'FreeBSD Java mailing list' Subject: Popup window displays first time then never again... Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello all, I am using Jbuilder 5 on FreeBSD 4.5 Stable using the native jdk with latest patchset from /usr/ports/java/jdk13. What I am seeing is this: I type a class variable name then hit period (.), this causes the member insight dialog to show. This works the first time you try it but never again. What I have found out is the dialog is actually there, just I can not see it. I can (blindly) use the arrow keys to scroll through the list and hit enter and that name (what ever was highlighted when I hit enter) appears. Does anyone know why this is happening? Thanks Michael Mercer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Mar 16 14:39:39 2002 Delivered-To: freebsd-java@freebsd.org Received: from smtp.hccnet.nl (smtp.hccnet.nl [62.251.0.13]) by hub.freebsd.org (Postfix) with ESMTP id 561EF37B402 for ; Sat, 16 Mar 2002 14:39:35 -0800 (PST) Received: from there by smtp.hccnet.nl via uds244-44.dial.hccnet.nl [62.251.44.244] with SMTP id XAA15318 (8.8.8/1.13); Sat, 16 Mar 2002 23:39:26 +0100 (MET) Message-Id: <200203162239.XAA15318@smtp.hccnet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan Organization: FreeBSD Project To: mmercer@nc.rr.com Subject: Re: Popup window displays first time then never again... Date: Sat, 16 Mar 2002 23:38:09 +0100 X-Mailer: KMail [version 1.3.2] References: <3C9393F4.CCB354AC@nc.rr.com> In-Reply-To: <3C9393F4.CCB354AC@nc.rr.com> Cc: java@FreeBSD.ORG MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This has to do with your window manager. Are you using KDE? Try using twm. From my experience twm has the least focus-related problems, while KDE exposes the most. Perhaps this could be solved by some patch on the side of the JDK (Greg?) but I don't know enough about that. Ernst On Saturday 16 March 2002 19:50, Michael E Mercer wrote: > Hello all, > > I am using Jbuilder 5 on FreeBSD 4.5 Stable using the native jdk with > latest patchset from /usr/ports/java/jdk13. > > What I am seeing is this: I type a class variable name then hit period (.), > this causes the member insight > dialog to show. This works the first time you try it but never again. > > What I have found out is the dialog is actually there, just I can not see > it. I can (blindly) use the arrow keys > to scroll through the list and hit enter and that name (what ever was > highlighted when I hit enter) appears. > > Does anyone know why this is happening? > > Thanks > Michael Mercer > > > 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