From owner-freebsd-java Sun Jun 18 9:56: 9 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id 75E7E37B574 for ; Sun, 18 Jun 2000 09:56:04 -0700 (PDT) (envelope-from glewis@ares.trc.adelaide.edu.au) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id CAA64449; Mon, 19 Jun 2000 02:25:52 +0930 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200006181655.CAA64449@ares.trc.adelaide.edu.au> Subject: Re: ejboss, java 1.2.2p9 install crashes In-Reply-To: from Edward Wolpert at "Jun 16, 2000 07:28:40 am" To: Edward Wolpert Date: Mon, 19 Jun 2000 02:25:51 +0930 (CST) Cc: freebsd-java@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I've done a bit of digging on this one and thought I would share what I've found in case others are digging too :). Edward Wolpert wrote: > Folks- > > I've downloaded ejboss (www.ejboss.org) EJB server and the spyderMQ JMS > system as well. The installer uses installAnywhere. The EJBServer installed > correctly (Haven't run it yet) but the spyderMQ crashes out. (Well.. almost) > It starts an exception stack, and just hangs. Also, the startup 'gif' stays > on the window... the output is this: > > bash-2.03$ java -cp sypdermqinstall.zip install > java in free(): warning: chunk is already free. Ok, this one is caused by OpenMotif (you won't see it if you're using Lesstif). I'm not going to chase after this since I'm not particularly interested in debugging Motif libraries at the moment ;). > Exception in thread "main" Interestingly, this also occurs when I use the Blackdown Linux JDK 1.2.2 RC4 under Linuxulation. Doesn't make it any less of a bug of course. I'm keen to hear what happens with the Solaris and Windows JDKs. Unfortunately I haven't got more of a handle on it yet. Maybe I need to read the gdb manual to get it work better with debugging the JDK. > And it just stops there. I built the JDK using patch 9, on FBSD4.0. I also tried with patchset 8, no difference (nor did I expect one, I was just being thorough). -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Jun 19 14: 4:32 2000 Delivered-To: freebsd-java@freebsd.org Received: from firewall.ox.com (firewall.ox.com [129.77.1.1]) by hub.freebsd.org (Postfix) with ESMTP id 11FDF37B517 for ; Mon, 19 Jun 2000 14:04:29 -0700 (PDT) (envelope-from rcf@ox.com) Received: from firewall.ox.com (root@localhost) by firewall.ox.com with ESMTP id RAA17471 for ; Mon, 19 Jun 2000 17:04:28 -0400 (EDT) Received: from pur-wk-rfurphy.ny.ox.com (pur-wk-rfurphy.ny.ox.com [129.77.2.133]) by firewall.ox.com with ESMTP id RAA17467 for ; Mon, 19 Jun 2000 17:04:27 -0400 (EDT) Received: from ox.com (localhost.ny.ox.com [127.0.0.1]) by pur-wk-rfurphy.ny.ox.com (8.9.3/8.9.3) with ESMTP id RAA02008 for ; Mon, 19 Jun 2000 17:04:25 -0400 (EDT) (envelope-from rcf@ox.com) Message-ID: <394E8AD9.25790642@ox.com> Date: Mon, 19 Jun 2000 17:04:25 -0400 From: Rob Furphy X-Mailer: Mozilla 4.73 [en] (X11; U; FreeBSD 3.4-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: "freebsd-java@FreeBSD.ORG" Subject: Native JDK sound Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, Thought I'd share what I've found in case anyone is also looking into this. I have tested the Java2D demo in the JDK build under every patchset back to patchset 5(had to rebuild that one). The good news is that under patchset 5 the sound does indeed work(mostly). The bad news is that patchset 6 and subsequent patchsets do not have working sound (But we knew that). There seems to be a problem related to the HaeDevice in sun.audio. When attempting to instanciate a HaeMixer object an HaeException is thrown. I have tracked this down to the file HAE_API_freebsd.c in src/freebsd/native/sun/audio The versions of this file are very different between patchset5 (which sorta worked) and subsequent patchsets (which don't work). Looks like the file was changed to use "/dev/audio" instead of "/dev/dsp" and a host of other changes to support this fundamental change. Perhaps whoever made these changes could look back and fix the file or offer suggestions. For the patchset 9 sound the call to ioctl() in the function HAE_Setup(void) in the above mentioned file is returning an error (errno 22 - "Invalid Argument") and this becomes the exception which is thrown. Also, the sound device is open()ed as read only, is this right? I hope to look at this again soon, but I wanted to report in. Any hints or suggestions would be appreciated. BTW the audio plays better in the native JDK than through the Linux emulation. Rob Furphy PS. For what it's worth here's something fun to do. Save a copy of your patchset 9 version of the above mentioned file. Place a copy of the patchset 5 version of the file into your patchset 9. Rebuild the (9)JDK and install. Sound will now work in the (9)JDK, but with some gotchas. Only ".mid" and ".rmf" files play correctly, ".au", ".wav" and ".aiff" files do not. Try out the Java2D demo under the "Mix" tab. YMMV To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Jun 19 14:44:11 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id 4661537B686 for ; Mon, 19 Jun 2000 14:44:03 -0700 (PDT) (envelope-from glewis@ares.trc.adelaide.edu.au) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id HAA78923; Tue, 20 Jun 2000 07:13:45 +0930 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200006192143.HAA78923@ares.trc.adelaide.edu.au> Subject: Re: Native JDK sound In-Reply-To: <394E8AD9.25790642@ox.com> from Rob Furphy at "Jun 19, 2000 05:04:25 pm" To: Rob Furphy Date: Tue, 20 Jun 2000 07:13:45 +0930 (CST) Cc: "freebsd-java@FreeBSD.ORG" X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Rob Furphy wrote: > Thought I'd share what I've found in case anyone is also looking into > this. I'm not looking into it, but I'm very interested :) > I have tested the Java2D demo in the JDK build under every patchset back > to patchset 5(had to rebuild that one). > The good news is that under patchset 5 the sound does indeed > work(mostly). The bad news is that patchset 6 > and subsequent patchsets do not have working sound (But we knew that). But I didn't :). My reading of the reports I received at the time was that it stopped working between 6 and 7, not 5 and 6. That actually makes quite a big difference. > There seems to be a problem related to the HaeDevice in sun.audio. When > attempting to instanciate a > HaeMixer object an HaeException is thrown. > > I have tracked this down to the file HAE_API_freebsd.c in > src/freebsd/native/sun/audio > > The versions of this file are very different between patchset5 (which > sorta worked) and subsequent > patchsets (which don't work). Looks like the file was changed to use > "/dev/audio" instead of "/dev/dsp" > and a host of other changes to support this fundamental change. Perhaps > whoever made these changes > could look back and fix the file or offer suggestions. Ok, the deal is that in patchset 5 (and 4) I was using a slightly modified version of the Linux sound source code (just to get things to build with the libaudio enabled). Patchset 6 marks the merge with the porting team repository. Since sound worked in 1.1.8, I'd assumed that what was in the repository was better than the hack I was doing and stuck with that. Note that I had (have) no working sound card to check this with, and hadn't received any reports on it. > For the patchset 9 sound the call to ioctl() in the function > HAE_Setup(void) in the above mentioned file is > returning an error (errno 22 - "Invalid Argument") and this becomes the > exception which is thrown. > Also, the sound device is open()ed as read only, is this right? I hope > to look at this again soon, but I wanted to report in. > > Any hints or suggestions would be appreciated. BTW the audio plays > better in the native JDK > than through the Linux emulation. Well, my suggestion would be to take the code from patchset 5, and merge in anything from the version in patchset 9 that looks appropriate :). Test and send patches :). > PS. > For what it's worth here's something fun to do. Save a copy of your > patchset 9 version of the above mentioned > file. Place a copy of the patchset 5 version of the file into your > patchset 9. Rebuild the (9)JDK and install. > Sound will now work in the (9)JDK, but with some gotchas. Only ".mid" > and ".rmf" files play correctly, > ".au", ".wav" and ".aiff" files do not. Try out the Java2D demo under > the "Mix" tab. YMMV Cool! I have a sound card now, although I'm not sure if its working or not. I'll try and determine if it is and test this out. Anyone have a pointer to some setting up and testing docs for sound cards? Great work Rob! -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Jun 19 15:59:53 2000 Delivered-To: freebsd-java@freebsd.org Received: from mbg.sphere.ne.jp (mbg.sphere.ne.jp [203.138.71.44]) by hub.freebsd.org (Postfix) with ESMTP id 3FA1A37B79B for ; Mon, 19 Jun 2000 15:59:46 -0700 (PDT) (envelope-from daichi@ongs.net) Received: from localhost (pl247.nas511.a-nagoya.nttpc.ne.jp [210.139.68.247]) by mbg.sphere.ne.jp (8.9.3+3.2W/3.7W) with ESMTP id HAA16229 for ; Tue, 20 Jun 2000 07:59:42 +0900 (JST) Date: Tue, 20 Jun 2000 08:00:04 +0900 (JST) From: =?iso-2022-jp?B?GyRCOGVGI0JnQ08bKEI=?= To: freebsd-java@FreeBSD.ORG Subject: FreeBSD JDK1.2.2 with patchset9 build is fail. Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit X-Mailer: =?iso-2022-jp?B?GyRCJGYkOhsoQiAxLjAwMA==?= Organization: =?iso-2022-jp?B?T05HUyAbJEIzK0gvSXQbKEI=?= Mime-Version: 1.0 Message-ID: <84694574.961455604863.JavaMail.daichi@localhost> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org When I build the Native JDK1.2.2 (on FreeBSD 4.0-release) with patchset9, ------------------------------------------------- % ./buildscript ERROR: Your ALT_BOOTDIR environment variable does not point to a valid JDK for bootstrapping this build. A JDK 1.2 or 1.2.x build must be bootstrapped against a 1.2-V (or later) build. Please update your ALT_BOOTDIR setting, or just unset it, and try again. ------------------------------------------------- I cannot build it. When I build it with patchset8, that is fine. uhmm.. Is this problem of my FreeBSD environment? Daichi T.GOTO(ONGS) http://www.ongs.net/daichi, daichi@ongs.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Jun 19 22:52:42 2000 Delivered-To: freebsd-java@freebsd.org Received: from c187104187.telekabel.chello.nl (c187104187.telekabel.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with SMTP id A9BD037BA9C for ; Mon, 19 Jun 2000 22:52:38 -0700 (PDT) (envelope-from ernst@c187104187.telekabel.chello.nl) Received: (qmail 12788 invoked by uid 1000); 19 Jun 2000 15:32:57 -0000 Date: Mon, 19 Jun 2000 17:32:57 +0200 From: Ernst de Haan To: freebsd-java@freebsd.org Subject: Patchset 9 results Message-ID: <20000619173257.A12759@c187104187.telekabel.chello.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi freebsd-java people, Just FYI: I tested some programs with alpha patchset 9, and found: Orion 1.0.3 --------------------------- Patchset 9: Runs fine Patchset 8: Orion sometimes seemed to hang (the wait problem) Linux JDK: Runs fine Ant --------------------------- patchset 9: Runs fine patchset 8: Directories were not actually deleted Linux JDK: Weird problem that occurred only sometimes, the java.home system property would be set to a string containing special characters, that always started with a semi-colon I will let you know when I run more Java programs. But these are most essential to me at the moment :) Ernst To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Jun 19 23:36:53 2000 Delivered-To: freebsd-java@freebsd.org Received: from kiew.egd.igd.fhg.de (kiew.egd.igd.fhg.de [192.102.170.32]) by hub.freebsd.org (Postfix) with ESMTP id 4489637B7AC for ; Mon, 19 Jun 2000 23:36:50 -0700 (PDT) (envelope-from runge@rostock.zgdv.de) Received: from rostock.zgdv.de (penguin.egd.igd.fhg.de [192.102.170.145]) by kiew.egd.igd.fhg.de (Netscape Messaging Server 3.6) with ESMTP id AAA15 for ; Tue, 20 Jun 2000 08:36:45 +0200 Message-ID: <394F11EA.27D4B823@rostock.zgdv.de> Date: Tue, 20 Jun 2000 08:40:42 +0200 From: Thomas Runge X-Mailer: Mozilla 4.72 [en] (X11; U; FreeBSD 4.0-STABLE i386) X-Accept-Language: en, de MIME-Version: 1.0 Cc: freebsd-java@FreeBSD.ORG Subject: Re: FreeBSD JDK1.2.2 with patchset9 build is fail. References: <84694574.961455604863.JavaMail.daichi@localhost> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 後藤大地 wrote: > > When I build the Native JDK1.2.2 (on FreeBSD 4.0-release) with patchset9, > > ------------------------------------------------- > % ./buildscript > > ERROR: Your ALT_BOOTDIR environment variable does not point Please follow the instructions on http://web.inter.nl.net/users/kjkoster/java/ especially the part "Install Required Ports". You need our old jdk 1.1.8 as well as the linux jdk 1.2.2. After installing that make that buildscript or set the environment variables manually. ALT_BOOTDIR must point to the directory where your linux jdk 1.2.2 is installed in. -- Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jun 20 0:19:43 2000 Delivered-To: freebsd-java@freebsd.org Received: from c187104187.telekabel.chello.nl (c187104187.telekabel.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with SMTP id 64EC337BBAD for ; Tue, 20 Jun 2000 00:19:39 -0700 (PDT) (envelope-from ernst@c187104187.telekabel.chello.nl) Received: (qmail 2591 invoked by uid 1000); 20 Jun 2000 07:19:33 -0000 Date: Tue, 20 Jun 2000 09:19:33 +0200 From: Ernst de Haan To: freebsd-java@freebsd.org Subject: Re: checkports.sh Message-ID: <20000620091933.B2537@c187104187.telekabel.chello.nl> References: <20000617014249.A76184@c187104187.telekabel.chello.nl> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="opJtzjQTFsWo+cga" Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000617014249.A76184@c187104187.telekabel.chello.nl>; from ernst@jollem.com on Sat, Jun 17, 2000 at 01:42:49AM +0200 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --opJtzjQTFsWo+cga Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Here's an updated version of checkports.sh. The old version used the package name `swing-1.1.1' instead of the correct `jfc-1.1.1'. Ernst Ernst de Haan wrote: > Hi, > > > Here's a very small script that checks the existence of the ports needed > by the FreeBSD JDK port (alpha patchset 9) as per Kees Jan Koster's page > on: > > * http://web.inter.nl.net/users/kjkoster/java/ > > This should make things about 1% easier :) Perhaps we can write a whole > bunch of scripts or even a ports-like Makefile that will do this the > right way. > > > Ernst --opJtzjQTFsWo+cga Content-Type: application/x-sh Content-Disposition: attachment; filename="checkports.sh" #!/bin/sh #----------------------------------------------------------------------------- # Script that checks that all ports needed by the FreeBSD JDK port are # installed # # Author: Ernst de Haan (ernst@jollem.com) # checkPort ( ) { echo -n ">> ${friendly_name}..." # found=`pkg_info | grep ${pkg_name}` # if [ -z "${found}" ] if ! `pkg_info -e ${pkg_name}` then echo " [ FAILED ]" echo "This port can be found in /usr/ports/${port_loc}" else echo " [ DONE ]" fi } echo "--- Checking availability of required ports ---" friendly_name="LessTif (0.90.0)" pkg_name="lesstif-0.90.0" port_loc="x11-toolkits/lesstif" checkPort friendly_name="GNU make (3.79)" pkg_name="gmake-3.79" port_loc="devel/gmake/" checkPort friendly_name="GNU m4 (1.4)" pkg_name="m4-1.4" port_loc="devel/m4" checkPort friendly_name="Display GhostScript (0.5.9)" pkg_name="dgs-0.5.9" port_loc="x11/dgs" checkPort friendly_name="ODBC for UNIX (1.8.8)" pkg_name="unixODBC-1.8.8" port_loc="databases/unixODBC" checkPort friendly_name="Java Development Kit (1.1.8)" pkg_name="jdk-1.1.8" port_loc="java/jdk" checkPort friendly_name="Swing (1.1.1)" pkg_name="jfc-1.1.1" port_loc="java/jfc" checkPort friendly_name="Blackdown Linux JDK (1.2.2)" pkg_name="linux-jdk-1.2.2" port_loc="java/linux-jdk" checkPort friendly_name="ZIP (2.3)" pkg_name="zip-2.3" port_loc="archivers/zip" checkPort --opJtzjQTFsWo+cga-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jun 20 1:27:45 2000 Delivered-To: freebsd-java@freebsd.org Received: from mbg.sphere.ne.jp (mbg.sphere.ne.jp [203.138.71.44]) by hub.freebsd.org (Postfix) with ESMTP id C940137BCCB for ; Tue, 20 Jun 2000 01:27:41 -0700 (PDT) (envelope-from daichi@ongs.net) Received: from localhost (pl126.nas511.a-nagoya.nttpc.ne.jp [210.139.68.126]) by mbg.sphere.ne.jp (8.9.3+3.2W/3.7W) with ESMTP id RAA01329; Tue, 20 Jun 2000 17:27:34 +0900 (JST) Date: Tue, 20 Jun 2000 17:27:58 +0900 (JST) From: "Daichi T.GOTO" To: Thomas Runge Subject: Re: FreeBSD JDK1.2.2 with patchset9 build is fail. Cc: freebsd-java@FreeBSD.ORG In-Reply-to: <394F11EA.27D4B823@rostock.zgdv.de> Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit X-Mailer: =?iso-2022-jp?B?GyRCJGYkOhsoQiAxLjAwMA==?= Organization: =?iso-2022-jp?B?T05HUyAbJEIzK0gvSXQbKEI=?= Mime-Version: 1.0 Message-ID: <84713431.961489678156.JavaMail.daichi@localhost> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > When I build the Native JDK1.2.2 (on FreeBSD 4.0-release) with patchset9, > > > > ------------------------------------------------- > > % ./buildscript > > > > ERROR: Your ALT_BOOTDIR environment variable does not point > > Please follow the instructions on > > http://web.inter.nl.net/users/kjkoster/java/ Yeah, I built with it. > especially the part "Install Required Ports". You need our old > jdk 1.1.8 as well as the linux jdk 1.2.2. What is old jdk1.1.8? The latest jdk1.1.8 is bad for JDK1.2.2 building? > After installing that make that buildscript or set the environment > variables manually. ALT_BOOTDIR must point to the directory > where your linux jdk 1.2.2 is installed in. Yes I did it. But no work. Daichi T.GOTO(ONGS) http://www.ongs.net/daichi, daichi@ongs.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jun 20 1:33:58 2000 Delivered-To: freebsd-java@freebsd.org Received: from kiew.egd.igd.fhg.de (kiew.egd.igd.fhg.de [192.102.170.32]) by hub.freebsd.org (Postfix) with ESMTP id 5667B37BD55 for ; Tue, 20 Jun 2000 01:33:55 -0700 (PDT) (envelope-from runge@rostock.zgdv.de) Received: from rostock.zgdv.de (penguin.egd.igd.fhg.de [192.102.170.145]) by kiew.egd.igd.fhg.de (Netscape Messaging Server 3.6) with ESMTP id AAA625 for ; Tue, 20 Jun 2000 10:33:49 +0200 Message-ID: <394F2D5B.5AB641D9@rostock.zgdv.de> Date: Tue, 20 Jun 2000 10:37:47 +0200 From: Thomas Runge X-Mailer: Mozilla 4.72 [en] (X11; U; FreeBSD 4.0-STABLE i386) X-Accept-Language: en, de MIME-Version: 1.0 Cc: freebsd-java@FreeBSD.ORG Subject: Re: FreeBSD JDK1.2.2 with patchset9 build is fail. References: <84713431.961489678156.JavaMail.daichi@localhost> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org "Daichi T.GOTO" wrote: > What is old jdk1.1.8? The latest jdk1.1.8 is bad for JDK1.2.2 building? /usr/ports/java/jdk FreeBSD's native 1.1.8. > > After installing that make that buildscript or set the environment > > variables manually. ALT_BOOTDIR must point to the directory > > where your linux jdk 1.2.2 is installed in. > > Yes I did it. But no work. Same message as before? Check your linux jdk. I installed from /usr/ports/java/linux-jdk. If you installed manually, there may be some problems, I'm not sure... -- Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jun 20 1:43:52 2000 Delivered-To: freebsd-java@freebsd.org Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8]) by hub.freebsd.org (Postfix) with ESMTP id 6FECD37BD7E for ; Tue, 20 Jun 2000 01:43:49 -0700 (PDT) (envelope-from K.J.Koster@kpn.com) Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by research.kpn.com (PMDF V5.2-31 #42699) with ESMTP id <01JQTN7A6BM80005AD@research.kpn.com> for freebsd-java@FreeBSD.ORG; Tue, 20 Jun 2000 10:43:46 +0200 Received: by l04.research.kpn.com with Internet Mail Service (5.5.2650.21) id ; Tue, 20 Jun 2000 10:43:46 +0100 Content-return: allowed Date: Tue, 20 Jun 2000 10:43:45 +0100 From: "Koster, K.J." Subject: RE: FreeBSD JDK1.2.2 with patchset9 build is fail. To: "'Daichi T.GOTO'" , Thomas Runge Cc: freebsd-java@FreeBSD.ORG Message-id: <59063B5B4D98D311BC0D0001FA7E4522026D7688@l04.research.kpn.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-type: text/plain; charset="iso-2022-jp" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi kids, Please note that you must apply the patches correctly. If you don't, you will get the same error message, since the pre-build sanity check will fail. > > > > ERROR: Your ALT_BOOTDIR environment variable does not > > > point > ALT_BOOTDIR should point to the linux 1.2.2 JDK. If you've installed that using the port (/usr/ports/java/linux-jdk), it will end up in /usr/local/linux-jdk1.2.2. You also need to install the native 1.1.8 port of the JDK (/usr/ports/java/jdk), which will usually end up in /usr/local/jdk1.1.8. Set _JDK11DIR to point to that location. > > What is old jdk1.1.8? The latest jdk1.1.8 is bad for > JDK1.2.2 building? > "old" means "older than 1.2.2". There is only one official port of JDK 1.1.8, which you can find in /usr/ports/java/jdk. Kees Jan ============================================== Everyone is responsible for his own actions, and (people tend to forget this) the effect they have on others. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jun 20 1:46:54 2000 Delivered-To: freebsd-java@freebsd.org Received: from mbg.sphere.ne.jp (mbg.sphere.ne.jp [203.138.71.44]) by hub.freebsd.org (Postfix) with ESMTP id 20D2B37BD97 for ; Tue, 20 Jun 2000 01:46:47 -0700 (PDT) (envelope-from daichi@ongs.net) Received: from localhost (pl151.nas511.a-nagoya.nttpc.ne.jp [210.139.68.151]) by mbg.sphere.ne.jp (8.9.3+3.2W/3.7W) with ESMTP id RAA05393; Tue, 20 Jun 2000 17:46:40 +0900 (JST) Date: Tue, 20 Jun 2000 17:47:04 +0900 (JST) From: "Daichi T.GOTO" To: Thomas Runge Subject: Re: FreeBSD JDK1.2.2 with patchset9 build is fail. Cc: freebsd-java@FreeBSD.ORG In-Reply-to: <394F2D5B.5AB641D9@rostock.zgdv.de> Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit X-Mailer: =?iso-2022-jp?B?GyRCJGYkOhsoQiAxLjAwMA==?= Organization: =?iso-2022-jp?B?T05HUyAbJEIzK0gvSXQbKEI=?= Mime-Version: 1.0 Message-ID: <84711316.961490824260.JavaMail.daichi@localhost> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > "Daichi T.GOTO" wrote: > > > What is old jdk1.1.8? The latest jdk1.1.8 is bad for JDK1.2.2 building? > > /usr/ports/java/jdk > > FreeBSD's native 1.1.8. > > > > After installing that make that buildscript or set the environment > > > variables manually. ALT_BOOTDIR must point to the directory > > > where your linux jdk 1.2.2 is installed in. > > > > Yes I did it. But no work. > > Same message as before? Check your linux jdk. I installed from > /usr/ports/java/linux-jdk. If you installed manually, there may > be some problems, I'm not sure... I found the cause of this problem. The environment variable JAVA_COMPILER is setted to TYA. When I unset it, the build work is began fine :) Thank you. --- buildscript.org Tue Jun 20 17:40:46 2000 +++ buildscript Tue Jun 20 17:40:10 2000 @@ -21,6 +21,7 @@ unset CLASSPATH unset JAVA_HOME +unset JAVA_COMPILER ( cd work/build/freebsd; gmake release-images ) Daichi T.GOTO(ONGS) http://www.ongs.net/daichi, daichi@ongs.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jun 20 1:48:51 2000 Delivered-To: freebsd-java@freebsd.org Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8]) by hub.freebsd.org (Postfix) with ESMTP id 73F8537BD67 for ; Tue, 20 Jun 2000 01:48:49 -0700 (PDT) (envelope-from K.J.Koster@kpn.com) Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by research.kpn.com (PMDF V5.2-31 #42699) with ESMTP id <01JQTNDI5VG20005VV@research.kpn.com> for freebsd-java@FreeBSD.ORG; Tue, 20 Jun 2000 10:48:47 +0200 Received: by l04.research.kpn.com with Internet Mail Service (5.5.2650.21) id ; Tue, 20 Jun 2000 10:48:47 +0100 Content-return: allowed Date: Tue, 20 Jun 2000 10:48:46 +0100 From: "Koster, K.J." Subject: RE: FreeBSD JDK1.2.2 with patchset9 build is fail. To: "'Daichi T.GOTO'" , Thomas Runge Cc: freebsd-java@FreeBSD.ORG Message-id: <59063B5B4D98D311BC0D0001FA7E4522026D7689@l04.research.kpn.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-type: text/plain; charset="iso-2022-jp" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > I found the cause of this problem. The environment variable > JAVA_COMPILER is > setted to TYA. When I unset it, the build work is began > fine :) Thank you. > > --- buildscript.org Tue Jun 20 17:40:46 2000 > +++ buildscript Tue Jun 20 17:40:10 2000 > @@ -21,6 +21,7 @@ > > unset CLASSPATH > unset JAVA_HOME > +unset JAVA_COMPILER > > ( cd work/build/freebsd; gmake release-images ) > Thank you very much for finding this. I will correct my web site. Kees Jan ============================================== Everyone is responsible for his own actions, and (people tend to forget this) the effect they have on others. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jun 20 1:54: 2 2000 Delivered-To: freebsd-java@freebsd.org Received: from mbg.sphere.ne.jp (mbg.sphere.ne.jp [203.138.71.44]) by hub.freebsd.org (Postfix) with ESMTP id 601D737BDAE for ; Tue, 20 Jun 2000 01:54:00 -0700 (PDT) (envelope-from daichi@ongs.net) Received: from localhost (pl151.nas511.a-nagoya.nttpc.ne.jp [210.139.68.151]) by mbg.sphere.ne.jp (8.9.3+3.2W/3.7W) with ESMTP id RAA06877; Tue, 20 Jun 2000 17:53:54 +0900 (JST) Date: Tue, 20 Jun 2000 17:54:18 +0900 (JST) From: "Daichi T.GOTO" To: "Koster, K.J." Subject: RE: FreeBSD JDK1.2.2 with patchset9 build is fail. Cc: freebsd-java@FreeBSD.ORG, Thomas Runge In-Reply-to: <59063B5B4D98D311BC0D0001FA7E4522026D7688@l04.research.kpn.com> Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit X-Mailer: =?iso-2022-jp?B?GyRCJGYkOhsoQiAxLjAwMA==?= Organization: =?iso-2022-jp?B?T05HUyAbJEIzK0gvSXQbKEI=?= Mime-Version: 1.0 Message-ID: <84695294.961491258174.JavaMail.daichi@localhost> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Hi kids, # ? I'am not kids. > > What is old jdk1.1.8? The latest jdk1.1.8 is bad for > > JDK1.2.2 building? > > > "old" means "older than 1.2.2". There is only one official port of JDK > 1.1.8, which you can find in /usr/ports/java/jdk. > > Kees Jan I understood. Thank you. # The building work is going on. It looks very fine. Daichi T.GOTO(ONGS) http://www.ongs.net/daichi, daichi@ongs.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jun 20 2: 0:56 2000 Delivered-To: freebsd-java@freebsd.org Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8]) by hub.freebsd.org (Postfix) with ESMTP id 3F4D237BD58 for ; Tue, 20 Jun 2000 02:00:53 -0700 (PDT) (envelope-from K.J.Koster@kpn.com) Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by research.kpn.com (PMDF V5.2-31 #42699) with ESMTP id <01JQTNSGERX00004Q5@research.kpn.com> for freebsd-java@FreeBSD.ORG; Tue, 20 Jun 2000 11:00:51 +0200 Received: by l04.research.kpn.com with Internet Mail Service (5.5.2650.21) id ; Tue, 20 Jun 2000 11:00:50 +0100 Content-return: allowed Date: Tue, 20 Jun 2000 11:00:49 +0100 From: "Koster, K.J." Subject: RE: FreeBSD JDK1.2.2 with patchset9 build is fail. To: "'Daichi T.GOTO'" Cc: freebsd-java@FreeBSD.ORG Message-id: <59063B5B4D98D311BC0D0001FA7E4522026D768B@l04.research.kpn.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-type: text/plain; charset="iso-2022-jp" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > Hi kids, > > # ? I'am not kids. > I'm sorry. It's mean as a sort of joke, to break the "Dear All" monotony. :-) Kees Jan ============================================== Everyone is responsible for his own actions, and (people tend to forget this) the effect they have on others. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jun 20 2: 1:39 2000 Delivered-To: freebsd-java@freebsd.org Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8]) by hub.freebsd.org (Postfix) with ESMTP id 8E69537BD58 for ; Tue, 20 Jun 2000 02:01:36 -0700 (PDT) (envelope-from K.J.Koster@kpn.com) Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by research.kpn.com (PMDF V5.2-31 #42699) with ESMTP id <01JQTNTBO9680004J5@research.kpn.com> for freebsd-java@freebsd.org; Tue, 20 Jun 2000 11:01:33 +0200 Received: by l04.research.kpn.com with Internet Mail Service (5.5.2650.21) id ; Tue, 20 Jun 2000 11:01:32 +0100 Content-return: allowed Date: Tue, 20 Jun 2000 11:01:31 +0100 From: "Koster, K.J." Subject: RE: FreeBSD JDK1.2.2 with patchset9 build is fail. To: 'Cliff Rowley' Cc: 'FreeBSD Java mailing list' Message-id: <59063B5B4D98D311BC0D0001FA7E4522026D768C@l04.research.kpn.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > Heh I did point this out a few days ago, with a warning to > others not to make the same mistake... :) > Euh, you did? Sorry. Thank you too, then. :-) Kees Jan ============================================== Everyone is responsible for his own actions, and (people tend to forget this) the effect they have on others. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jun 20 6:10:58 2000 Delivered-To: freebsd-java@freebsd.org Received: from c187104187.telekabel.chello.nl (c187104187.telekabel.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with SMTP id 402B237B7F6 for ; Tue, 20 Jun 2000 06:10:52 -0700 (PDT) (envelope-from ernst@c187104187.telekabel.chello.nl) Received: (qmail 6390 invoked by uid 1000); 20 Jun 2000 13:10:48 -0000 Date: Tue, 20 Jun 2000 15:10:48 +0200 From: Ernst de Haan To: FreeBSD Java mailing list Subject: Patchset 9 + Orion 1.0.3 ==> Bus error Message-ID: <20000620151048.A6374@c187104187.telekabel.chello.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, My Orion application server just crashed on patchset 9. It happened when I clicked a link that referred to a JSP page. Perhaps this is an OpenJIT problem. My system: * Pentium2-400/128 MB/SCSI/FreeBSD 4.0-STABLE * All the ports necessary for ps9 are installed (according to checkports.sh) * Orion 1.0.3 * OpenJIT 1.1.12 The output: SIGABRT 6 abort() Monitor Cache Dump: com.evermind.server.ApplicationServerThread@28E29170/28FF4A18: owner "TaskManager" (0x871ca80) 1 entry com.evermind.server.ApplicationServerThread@28E2A520/28FF1C58: owner "HttpConnectionListener [0.0.0.0/0.0.0.0:9000]" (0x86e3280) 1 entry java.lang.ref.Reference$Lock@28E643C0/28E99860: owner BOGUS-HANDLE[700041] (0x88bec80) 1 entry Waiting to be notified: "Reference Handler" (0x8085480) java.lang.ref.ReferenceQueue$Lock@28E64338/28E99D30: Waiting to be notified: "Finalizer" (0x8085c80) java.util.HashMap@28E45B30/29009430: owner BOGUS-HANDLE[700041] (0x88bec80) 1 entry java.net.PlainSocketImpl@28E616E8/28F9A6E8: owner "ApplicationServerThread" (0x8599880) 1 entry com.evermind.server.ApplicationServerThread@28E5C330/28F9ABF8: owner "ApplicationServerThread" (0x8599880) 1 entry java.lang.StringBuffer@28E7BF68/28FE0230: owner BOGUS-HANDLE[700041] (0x88bec80) 1 entry BOGUS-PTR[686149440]: owner BOGUS-HANDLE[700041] (0x88bec80) 1 entry BOGUS-PTR[0]: Waiting to be notified: BOGUS-PTR[0] (0x87dce80) java.net.PlainSocketImpl@28E2A4F8/28FF1C20: owner "HttpConnectionListener [0.0.0.0/0.0.0.0:9000]" (0x86e3280) 1 entry Registered Monitor Dump: OpenJIT compile lock: utf8 hash table: JNI pinning lock: JNI global reference lock: owner BOGUS-HANDLE[700041] (0x88bec80) 1 entry BinClass lock: owner BOGUS-HANDLE[700041] (0x88bec80) 1 entry Class linking lock: owner BOGUS-HANDLE[700041] (0x88bec80) 1 entry System class loader lock: Code rewrite lock: Heap lock: owner BOGUS-HANDLE[700041] (0x88bec80) 1 entry Monitor cache lock: owner BOGUS-HANDLE[700041] (0x88bec80) 3 entries Dynamic loading lock: Monitor IO lock: User signal monitor: Waiting to be notified: "Signal dispatcher" (0x8050c80) Child death monitor: I/O monitor: Alarm monitor: Waiting to be notified: (0x8050280) Thread queue lock: owner BOGUS-HANDLE[700041] (0x88bec80) 3 entries Waiting to be notified: "Thread-1" (0x8050080) Monitor registry: owner BOGUS-HANDLE[700041] (0x88bec80) 2 entries Abort trap (core dumped) Ernst To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jun 20 6:19:42 2000 Delivered-To: freebsd-java@freebsd.org Received: from c187104187.telekabel.chello.nl (c187104187.telekabel.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with SMTP id 9366037B5B1 for ; Tue, 20 Jun 2000 06:19:31 -0700 (PDT) (envelope-from ernst@c187104187.telekabel.chello.nl) Received: (qmail 6565 invoked by uid 1000); 20 Jun 2000 13:19:15 -0000 Date: Tue, 20 Jun 2000 15:19:15 +0200 From: Ernst de Haan To: FreeBSD Java mailing list Subject: Re: Patchset 9 + Orion 1.0.3 ==> Bus error Message-ID: <20000620151915.A6551@c187104187.telekabel.chello.nl> References: <20000620151048.A6374@c187104187.telekabel.chello.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000620151048.A6374@c187104187.telekabel.chello.nl>; from ernst@jollem.com on Tue, Jun 20, 2000 at 03:10:48PM +0200 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I tried a few more times, and the signal is triggered each time I run the application. So the problem is reproducable. So I tried to run the JVM without the JIT and then it worked fine. So the problem has something to do with the JIT. It may be in the JIT, or -less likely- be triggered by the presence of the JIT. Ernst Ernst de Haan wrote: > Hi, > > My Orion application server just crashed on patchset 9. It happened when > I clicked a link that referred to a JSP page. Perhaps this is an OpenJIT > problem. > > My system: > > * Pentium2-400/128 MB/SCSI/FreeBSD 4.0-STABLE > * All the ports necessary for ps9 are installed (according to > checkports.sh) > * Orion 1.0.3 > * OpenJIT 1.1.12 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jun 20 6:35:26 2000 Delivered-To: freebsd-java@freebsd.org Received: from finch-post-10.mail.demon.net (finch-post-10.mail.demon.net [194.217.242.38]) by hub.freebsd.org (Postfix) with ESMTP id 19A1737B7AB for ; Tue, 20 Jun 2000 06:35:21 -0700 (PDT) (envelope-from cliff@olive.co.uk) Received: from grimwade.demon.co.uk ([194.222.1.157] helo=olive.co.uk) by finch-post-10.mail.demon.net with smtp (Exim 2.12 #1) id 134OBT-000MxX-0A; Tue, 20 Jun 2000 13:35:19 +0000 Received: from olive.co.uk (merlin.osl.co.uk [192.168.1.19]) by olive.co.uk (SMI-8.6/v3.2) with ESMTP id NAA24195; Tue, 20 Jun 2000 13:35:30 GMT Message-ID: <394F73B4.FCCC34CC@olive.co.uk> Date: Tue, 20 Jun 2000 14:37:56 +0100 From: Cliff Rowley Organization: Olive Systems LTD X-Mailer: Mozilla 4.73 [en] (X11; I; FreeBSD 4.0-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Ernst de Haan Cc: freebsd-java@freebsd.org Subject: Re: Patchset 9 + Orion 1.0.3 ==> Bus error References: <20000620151048.A6374@c187104187.telekabel.chello.nl> <20000620151915.A6551@c187104187.telekabel.chello.nl> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Have you tried another JIT? Which one are you currently using? I had similar problems running Forte while using Tya. OpenJIT seems to work for me. On a side note, has anyone had any luck running the AppletViewer? In patchset 8 it didnt run at all, in patchset 9 it runs but coredumps. Ernst de Haan wrote: > > I tried a few more times, and the signal is triggered each time I run > the application. So the problem is reproducable. > > So I tried to run the JVM without the JIT and then it worked fine. So > the problem has something to do with the JIT. It may be in the JIT, or > -less likely- be triggered by the presence of the JIT. > > Ernst > > Ernst de Haan wrote: > > Hi, > > > > My Orion application server just crashed on patchset 9. It happened when > > I clicked a link that referred to a JSP page. Perhaps this is an OpenJIT > > problem. > > > > My system: > > > > * Pentium2-400/128 MB/SCSI/FreeBSD 4.0-STABLE > > * All the ports necessary for ps9 are installed (according to > > checkports.sh) > > * Orion 1.0.3 > > * OpenJIT 1.1.12 > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message -- Cliff Rowley Software Engineer Olive Systems LTD http://www.olive.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jun 20 7: 0:58 2000 Delivered-To: freebsd-java@freebsd.org Received: from firewall.ox.com (firewall.ox.com [129.77.1.1]) by hub.freebsd.org (Postfix) with ESMTP id 0A94937BB5C for ; Tue, 20 Jun 2000 07:00:54 -0700 (PDT) (envelope-from rcf@ox.com) Received: from firewall.ox.com (root@localhost) by firewall.ox.com with ESMTP id KAA00272 for ; Tue, 20 Jun 2000 10:00:49 -0400 (EDT) Received: from pur-wk-rfurphy.ny.ox.com (pur-wk-rfurphy.ny.ox.com [129.77.2.133]) by firewall.ox.com with ESMTP id KAA00263 for ; Tue, 20 Jun 2000 10:00:48 -0400 (EDT) Received: from ox.com (localhost.ny.ox.com [127.0.0.1]) by pur-wk-rfurphy.ny.ox.com (8.9.3/8.9.3) with ESMTP id KAA00837; Tue, 20 Jun 2000 10:00:47 -0400 (EDT) (envelope-from rcf@ox.com) Message-ID: <394F790F.F0A429B1@ox.com> Date: Tue, 20 Jun 2000 10:00:47 -0400 From: Rob Furphy X-Mailer: Mozilla 4.73 [en] (X11; U; FreeBSD 3.4-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Greg Lewis Cc: "freebsd-java@FreeBSD.ORG" Subject: Re: Native JDK sound References: <200006192143.HAA78923@ares.trc.adelaide.edu.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I also remembered that the reports were that it stopped working between 6 and 7, not 5 and 6. After I'd tested all the way back to 6 and got no sound it was only a goof to try patchset5 (Had to dig it up from archives and build it from scratch) I was surprised when it worked. This now makes sense to me as well since the change must have been the reason that sound stopped working. I can't devote much more time this week but I'll keep digging when I can. Any freebsd sound device programming experts out there? Rob Furphy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jun 20 10:19: 7 2000 Delivered-To: freebsd-java@freebsd.org Received: from ntua.gr (achilles.noc.ntua.gr [147.102.222.210]) by hub.freebsd.org (Postfix) with ESMTP id 508D437B5E5 for ; Tue, 20 Jun 2000 10:18:50 -0700 (PDT) (envelope-from past@netmode.ece.ntua.gr) Received: from netmode.ece.ntua.gr (dolly.netmode.ece.ntua.gr [147.102.13.10]) by ntua.gr (8.9.3/8.9.3) with ESMTP id UAA26413; Tue, 20 Jun 2000 20:18:46 +0300 (EET DST) Received: by netmode.ece.ntua.gr (Postfix, from userid 410) id C84E285C3; Tue, 20 Jun 2000 20:07:12 +0300 (EET DST) Date: Tue, 20 Jun 2000 20:07:12 +0300 From: Panagiotis Astithas To: Greg Lewis Cc: Rob Furphy , "freebsd-java@FreeBSD.ORG" Subject: Re: Native JDK sound Message-ID: <20000620200712.A24209@netmode.ece.ntua.gr> Reply-To: past@netmode.ntua.gr References: <394E8AD9.25790642@ox.com> <200006192143.HAA78923@ares.trc.adelaide.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <200006192143.HAA78923@ares.trc.adelaide.edu.au>; from glewis@trc.adelaide.edu.au on Tue, Jun 20, 2000 at 07:13:45AM +0930 X-Organizational-Unit: Network Management and Optimal Design Laboratory X-Organization: National Technical University of Athens, GREECE X-Work-Phone: +30-1-772-1-450 X-Work-FAX: +30-1-772-1-452 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Jun 20, 2000 at 07:13:45AM +0930, Greg Lewis wrote: > Rob Furphy wrote: > > Thought I'd share what I've found in case anyone is also looking into > > this. > > I'm not looking into it, but I'm very interested :) > > > I have tested the Java2D demo in the JDK build under every patchset back > > to patchset 5(had to rebuild that one). I tried to investigate the issue, but I got this: laptop$ java -jar Java2Demo.jar Exception in thread "main" java.lang.IllegalArgumentException: Width (0) and height (0) must be > 0 at java.awt.image.SampleModel.(SampleModel.java:100) at java.awt.image.SinglePixelPackedSampleModel.(SinglePixelPackedSampleModel.java:109) at java.awt.image.Raster.createPackedRaster(Raster.java:598) at java.awt.image.Raster.createPackedRaster(Raster.java:412) at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:633) at java.awt.image.BufferedImage.(BufferedImage.java:245) at TextureChooser.getTextTexture(TextureChooser.java:102) at TextureChooser.(TextureChooser.java:63) at Controls.(Controls.java:94) at Java2Demo.(Java2Demo.java:109) at Java2Demo.main(Java2Demo.java:460) ^C when the application was showing "Loading: init" and a bar 15% full. I have patchset 9, 4-STABLE, no JIT/OpenJIT, XFree86 3.3.5, Lesstiff. The linux-jdk works fine with Java2Demo, except that it does not play any sound (no error messages either). Anybody has a clue? -past To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jun 20 14:14: 8 2000 Delivered-To: freebsd-java@freebsd.org Received: from hotmail.com (law-f98.hotmail.com [209.185.131.161]) by hub.freebsd.org (Postfix) with SMTP id 2E16237B5D7 for ; Tue, 20 Jun 2000 14:14:07 -0700 (PDT) (envelope-from hotjd@hotmail.com) Received: (qmail 8111 invoked by uid 0); 20 Jun 2000 21:14:06 -0000 Message-ID: <20000620211406.8110.qmail@hotmail.com> Received: from 209.220.228.2 by www.hotmail.com with HTTP; Tue, 20 Jun 2000 14:14:06 PDT X-Originating-IP: [209.220.228.2] From: "John Daniels" To: freebsd-java@freebsd.org Subject: mod_jserv and Tomcat Date: Tue, 20 Jun 2000 14:14:06 PDT Mime-Version: 1.0 Content-Type: text/plain; format=flowed Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi: If I want to install and use Tomcat, should I *not* use add jserv (mod_jserv) to Apache? I though I saw an earlier post that basically said not to add jserv if you are going to use Tomcat. John ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jun 20 14:16:24 2000 Delivered-To: freebsd-java@freebsd.org Received: from hotmail.com (law-f232.hotmail.com [209.185.131.49]) by hub.freebsd.org (Postfix) with SMTP id 7CB2137C046 for ; Tue, 20 Jun 2000 14:16:22 -0700 (PDT) (envelope-from hotjd@hotmail.com) Received: (qmail 12523 invoked by uid 0); 20 Jun 2000 21:16:22 -0000 Message-ID: <20000620211622.12522.qmail@hotmail.com> Received: from 209.220.228.2 by www.hotmail.com with HTTP; Tue, 20 Jun 2000 14:16:22 PDT X-Originating-IP: [209.220.228.2] From: "John Daniels" To: freebsd-java@freebsd.org Subject: URW fonts Date: Tue, 20 Jun 2000 14:16:22 PDT Mime-Version: 1.0 Content-Type: text/plain; format=flowed Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi: I downloaded the URW fonts. Where do they go? I didn't see any README or instructions file. John ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jun 20 14:24:27 2000 Delivered-To: freebsd-java@freebsd.org Received: from mail.rpi.edu (mail.rpi.edu [128.113.100.7]) by hub.freebsd.org (Postfix) with ESMTP id 3F2EB37BE00 for ; Tue, 20 Jun 2000 14:24:24 -0700 (PDT) (envelope-from rooneg@rpi.edu) Received: from cortez.sss.rpi.edu (rooneg@cortez.sss.rpi.edu [128.113.113.33]) by mail.rpi.edu (8.9.3/8.9.3) with ESMTP id RAA246522; Tue, 20 Jun 2000 17:24:22 -0400 Received: from localhost (rooneg@localhost) by cortez.sss.rpi.edu (8.8.5/8.8.6) with SMTP id RAA34186; Tue, 20 Jun 2000 17:24:38 -0400 X-Authentication-Warning: cortez.sss.rpi.edu: rooneg owned process doing -bs Date: Tue, 20 Jun 2000 17:24:38 -0400 (EDT) From: Garrett Rooney X-Sender: rooneg@cortez.sss.rpi.edu To: John Daniels Cc: freebsd-java@FreeBSD.ORG Subject: Re: URW fonts In-Reply-To: <20000620211622.12522.qmail@hotmail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 20 Jun 2000, John Daniels wrote: > Hi: > > I downloaded the URW fonts. Where do they go? I didn't see any README or > instructions file. unpack in /usr/X11R6/lib/fonts i believe. i think you also have to run mkfontdir in the new directory. -garrett x----------------------------------------------------------------------x | rooneg@rpi.edu garrett rooney | | http://www.rpi.edu/~rooneg unix geek | |----------------------------------------------------------------------| | unrequited love is neat because it lasts so much longer - w. t. c. | x----------------------------------------------------------------------x To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jun 20 14:45:37 2000 Delivered-To: freebsd-java@freebsd.org Received: from ntua.gr (achilles.noc.ntua.gr [147.102.222.210]) by hub.freebsd.org (Postfix) with ESMTP id 6088C37BD30 for ; Tue, 20 Jun 2000 14:45:33 -0700 (PDT) (envelope-from past@netmode.ece.ntua.gr) Received: from netmode.ece.ntua.gr (dolly.netmode.ece.ntua.gr [147.102.13.10]) by ntua.gr (8.9.3/8.9.3) with ESMTP id AAA16632; Wed, 21 Jun 2000 00:45:31 +0300 (EET DST) Received: by netmode.ece.ntua.gr (Postfix, from userid 410) id B4C1985C3; Wed, 21 Jun 2000 00:33:59 +0300 (EET DST) Date: Wed, 21 Jun 2000 00:33:59 +0300 From: Panagiotis Astithas To: Greg Lewis Cc: Rob Furphy , "freebsd-java@FreeBSD.ORG" Subject: Re: Native JDK sound Message-ID: <20000621003358.A25031@netmode.ece.ntua.gr> Reply-To: past@netmode.ntua.gr References: <394E8AD9.25790642@ox.com> <200006192143.HAA78923@ares.trc.adelaide.edu.au> <20000620200712.A24209@netmode.ece.ntua.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20000620200712.A24209@netmode.ece.ntua.gr>; from past@netmode.ntua.gr on Tue, Jun 20, 2000 at 08:07:12PM +0300 X-Organizational-Unit: Network Management and Optimal Design Laboratory X-Organization: National Technical University of Athens, GREECE X-Work-Phone: +30-1-772-1-450 X-Work-FAX: +30-1-772-1-452 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Jun 20, 2000 at 08:07:12PM +0300, Panagiotis Astithas wrote: > I tried to investigate the issue, but I got this: > laptop$ java -jar Java2Demo.jar > Exception in thread "main" java.lang.IllegalArgumentException: Width (0) and height (0) must be > 0 > at java.awt.image.SampleModel.(SampleModel.java:100) > at java.awt.image.SinglePixelPackedSampleModel.(SinglePixelPackedSampleModel.java:109) > at java.awt.image.Raster.createPackedRaster(Raster.java:598) > at java.awt.image.Raster.createPackedRaster(Raster.java:412) > at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:633) > at java.awt.image.BufferedImage.(BufferedImage.java:245) > at TextureChooser.getTextTexture(TextureChooser.java:102) > at TextureChooser.(TextureChooser.java:63) > at Controls.(Controls.java:94) > at Java2Demo.(Java2Demo.java:109) > at Java2Demo.main(Java2Demo.java:460) > ^C > > when the application was showing "Loading: init" and a bar 15% full. > I have patchset 9, 4-STABLE, no JIT/OpenJIT, XFree86 3.3.5, Lesstiff. > The linux-jdk works fine with Java2Demo, except that it does not play > any sound (no error messages either). Anybody has a clue? I found out what was wrong with that. I was using Robert Swindells' font.properties file, and obviously it isn't quite perfect. I also noticed that in the tests, the antialiasing does not work if you use that font.properties. The sad thing is that I cannot work with the default ones (they are VERY ugly), so I am afraid I will be switching font.properties files :-( -past P.S.: BTW, sound does not work for me either. Wav, au, aiff files produce nothing. Rmf files produce exceptions (Classes not found). I will investigate further. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jun 20 15:54:56 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id 4799837B760 for ; Tue, 20 Jun 2000 15:54:50 -0700 (PDT) (envelope-from glewis@ares.trc.adelaide.edu.au) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id IAA15655; Wed, 21 Jun 2000 08:24:38 +0930 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200006202254.IAA15655@ares.trc.adelaide.edu.au> Subject: Re: Native JDK sound In-Reply-To: <20000621003358.A25031@netmode.ece.ntua.gr> from Panagiotis Astithas at "Jun 21, 2000 00:33:59 am" To: past@netmode.ntua.gr Date: Wed, 21 Jun 2000 08:24:38 +0930 (CST) Cc: freebsd-java@freebsd.org X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Panagiotis Astithas wrote: > On Tue, Jun 20, 2000 at 08:07:12PM +0300, Panagiotis Astithas wrote: > > I tried to investigate the issue, but I got this: > > laptop$ java -jar Java2Demo.jar [snippage] > > when the application was showing "Loading: init" and a bar 15% full. > > I have patchset 9, 4-STABLE, no JIT/OpenJIT, XFree86 3.3.5, Lesstiff. > > The linux-jdk works fine with Java2Demo, except that it does not play > > any sound (no error messages either). Anybody has a clue? > > I found out what was wrong with that. I was using Robert Swindells' > font.properties file, and obviously it isn't quite perfect. I also > noticed that in the tests, the antialiasing does not work if you > use that font.properties. The sad thing is that I cannot work with the > default ones (they are VERY ugly), so I am afraid I will be switching > font.properties files :-( Robert's font.properties file is fine, the problem is that Java2D _needs_ TrueType fonts, and the URW fonts aren't. I even put this in the FAQ I included in patchset 9 :). > P.S.: BTW, sound does not work for me either. Wav, au, aiff files > produce nothing. Rmf files produce exceptions (Classes not found). I > will investigate further. As Rob mentioned, it appears that you can get it partially working using one of the files from patchset 5. -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jun 20 15:57:12 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id C839E37B5DA for ; Tue, 20 Jun 2000 15:57:07 -0700 (PDT) (envelope-from glewis@ares.trc.adelaide.edu.au) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id IAA15689; Wed, 21 Jun 2000 08:26:44 +0930 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200006202256.IAA15689@ares.trc.adelaide.edu.au> Subject: Re: Patchset 9 + Orion 1.0.3 ==> Bus error In-Reply-To: <394F73B4.FCCC34CC@olive.co.uk> from Cliff Rowley at "Jun 20, 2000 02:37:56 pm" To: Cliff Rowley Date: Wed, 21 Jun 2000 08:26:44 +0930 (CST) Cc: Ernst de Haan , freebsd-java@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Cliff Rowley wrote: > On a side note, has anyone had any luck running the AppletViewer? In > patchset 8 it didnt run at all, in patchset 9 it runs but coredumps. I always test a few applets with appletviewer before I put out a patchset, so its working ok for me. Is it all applets? Can you provide more details of your setup and the error? -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jun 20 18: 5:18 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id 86CE037BD38 for ; Tue, 20 Jun 2000 18:05:11 -0700 (PDT) (envelope-from glewis@ares.trc.adelaide.edu.au) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id KAA16871; Wed, 21 Jun 2000 10:35:00 +0930 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200006210105.KAA16871@ares.trc.adelaide.edu.au> Subject: Re: Patchset 9 + Orion 1.0.3 ==> Bus error In-Reply-To: <20000620151915.A6551@c187104187.telekabel.chello.nl> from Ernst de Haan at "Jun 20, 2000 03:19:15 pm" To: Ernst de Haan Date: Wed, 21 Jun 2000 10:35:00 +0930 (CST) Cc: FreeBSD Java mailing list X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Ernst de Haan wrote: > I tried a few more times, and the signal is triggered each time I run > the application. So the problem is reproducable. Thats always useful :) > So I tried to run the JVM without the JIT and then it worked fine. So > the problem has something to do with the JIT. It may be in the JIT, or > -less likely- be triggered by the presence of the JIT. Sounds like a problem with the JIT. You might want to put in a bug report with the OpenJIT folks. Maybe try and verify it on the Linux or Solaris JDK if you have access to a Linux or Solaris box. -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jun 20 23:10:34 2000 Delivered-To: freebsd-java@freebsd.org Received: from kiew.egd.igd.fhg.de (kiew.egd.igd.fhg.de [192.102.170.32]) by hub.freebsd.org (Postfix) with ESMTP id 8237537BA0D for ; Tue, 20 Jun 2000 23:10:32 -0700 (PDT) (envelope-from runge@rostock.zgdv.de) Received: from rostock.zgdv.de (penguin.egd.igd.fhg.de [192.102.170.145]) by kiew.egd.igd.fhg.de (Netscape Messaging Server 3.6) with ESMTP id AAA3388 for ; Wed, 21 Jun 2000 08:10:26 +0200 Message-ID: <39505D43.42157640@rostock.zgdv.de> Date: Wed, 21 Jun 2000 08:14:27 +0200 From: Thomas Runge X-Mailer: Mozilla 4.72 [en] (X11; U; FreeBSD 4.0-STABLE i386) X-Accept-Language: en, de MIME-Version: 1.0 Cc: freebsd-java@FreeBSD.ORG Subject: Re: URW fonts References: <20000620211622.12522.qmail@hotmail.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org John Daniels wrote: > > Hi: > > I downloaded the URW fonts. Where do they go? I didn't see any README or > instructions file. http://www.gimp.org/fonts.html -- Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Jun 21 4:58: 2 2000 Delivered-To: freebsd-java@freebsd.org Received: from hotmail.com (f125.law8.hotmail.com [216.33.241.125]) by hub.freebsd.org (Postfix) with SMTP id 25B3A37B557 for ; Wed, 21 Jun 2000 04:57:58 -0700 (PDT) (envelope-from jmd526@hotmail.com) Received: (qmail 14758 invoked by uid 0); 21 Jun 2000 11:57:57 -0000 Message-ID: <20000621115757.14757.qmail@hotmail.com> Received: from 209.220.228.2 by www.hotmail.com with HTTP; Wed, 21 Jun 2000 04:57:56 PDT X-Originating-IP: [209.220.228.2] From: "John Daniels" To: freebsd-questions@freebsd.org, freebsd-java@freebsd.org Subject: Re: URW fonts Date: Wed, 21 Jun 2000 07:57:56 EDT Mime-Version: 1.0 Content-Type: text/plain; format=flowed Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi: 1) I downloaded URW fonts from www.gimp.org/fonts.html. 2) I placed them in /usr/X11R6/lib/Xll/fonts/URW 3) I changed my /etc/XF86Config to include a line pointing the fonts 4) I ran /usr/X11R6/lib/Mkfontdir (I writing from memory so that may not be the exact path and filename) while in the URW directory 5) I logged out from KDE and did a 'startx' It was my understanding (from a post on the -java list) that the URW fonts would make Netscape look/behave much better (along with possibly making Java look better, but that is a secondary consideration for me right now) but when I start Netscape, I don't really see anything different. Have I done anything wrong? Have I missed anything? Are there alternatives to URW? I am using linux-netscape 4.73 on XF86 3.3.6 on 4.0-STABLE. John ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Jun 21 5:31:19 2000 Delivered-To: freebsd-java@freebsd.org Received: from euromail1.genrad.com (x67.genrad.co.uk [195.99.3.67]) by hub.freebsd.org (Postfix) with ESMTP id B72BB37BE21 for ; Wed, 21 Jun 2000 05:31:14 -0700 (PDT) (envelope-from swindellsr@genrad.co.uk) Received: from CDP437 (cdp437.uk.genrad.com [132.223.135.120]) by euromail1.genrad.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id MCY9NV5K; Wed, 21 Jun 2000 13:31:12 +0100 From: Robert Swindells To: jmd526@hotmail.com Cc: freebsd-java@freebsd.org In-reply-to: <20000621115757.14757.qmail@hotmail.com> (jmd526@hotmail.com) Subject: Re: URW fonts Reply-To: rjs@fdy2.demon.co.uk Message-Id: <20000621123114.B72BB37BE21@hub.freebsd.org> Date: Wed, 21 Jun 2000 05:31:14 -0700 (PDT) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >1) I downloaded URW fonts from www.gimp.org/fonts.html. >2) I placed them in /usr/X11R6/lib/Xll/fonts/URW >3) I changed my /etc/XF86Config to include a line pointing the fonts What did you add to XF86Config ? Mine looks like: FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/URW" FontPath "/usr/X11R6/lib/X11/fonts/Type1" FontPath "/usr/X11R6/lib/X11/fonts/Speedo" FontPath "/usr/X11R6/lib/X11/fonts/misc" FontPath "/usr/X11R6/lib/X11/fonts/75dpi" The URW fonts have the same names as some of the 75dpi or 100dpi ones, so if you miss out the 'unscaled' keyword the server will just scale a bitmap font instead of using the URW one. This was from an earlier thread in freebsd-java. Search for 'URW'. >4) I ran /usr/X11R6/lib/Mkfontdir (I writing from memory so that may not be >the exact path and filename) while in the URW directory I don't think you want to do this. It comes with the font directory files >5) I logged out from KDE and did a 'startx' >It was my understanding (from a post on the -java list) that the URW fonts >would make Netscape look/behave much better (along with possibly making Java >look better, but that is a secondary consideration for me right now) but >when I start Netscape, I don't really see anything different. >Have I done anything wrong? Have I missed anything? Are there alternatives >to URW? >I am using linux-netscape 4.73 on XF86 3.3.6 on 4.0-STABLE. Should be fine. Robert To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Jun 21 5:33:39 2000 Delivered-To: freebsd-java@freebsd.org Received: from mbg.sphere.ne.jp (mbg.sphere.ne.jp [203.138.71.44]) by hub.freebsd.org (Postfix) with ESMTP id 8132837BE3F for ; Wed, 21 Jun 2000 05:33:36 -0700 (PDT) (envelope-from daichi@ongs.net) Received: from localhost (pl234.nas511.a-nagoya.nttpc.ne.jp [210.139.68.234]) by mbg.sphere.ne.jp (8.9.3+3.2W/3.7W) with ESMTP id VAA10021 for ; Wed, 21 Jun 2000 21:33:31 +0900 (JST) Date: Wed, 21 Jun 2000 21:33:50 +0900 (JST) From: "Daichi T.GOTO" To: freebsd-java@FreeBSD.ORG Subject: patchset9 test: Japanese Font Problem Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit X-Mailer: =?iso-2022-jp?B?GyRCJGYkOhsoQiAxLjAwMA==?= Organization: =?iso-2022-jp?B?T05HUyAbJEIzK0gvSXQbKEI=?= Mime-Version: 1.0 Message-ID: <84708005.961590830141.JavaMail.daichi@localhost> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I tried to use Japanese Font with FreeBSD JDK1.2.2 with patchset9. But I was not able to use it. For example, only the two line changes leads segmentation violation. # cd /usr/local/jdk1.2.2/jre/lib # cp font.properties font.properties.ja # vi font.properties.ja # diff font.properties font.properties.ja 40,41c40,41 < sansserif.1=-*-zapf dingbats-medium-r-normal-*-*-%d-*-*-p-*-adobe-fontspecific < sansserif.2=-*-symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific --- > sansserif.1=-wadalab-gothic-medium-r-normal--*-%d-*-*-c-*-jisx0201.1976-0 > sansserif.2=-wadalab-gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0 # cd /usr/local/jdk1.2.2/demo/jfc/SwingSet # java -jar SwingSwt.jar SIGSEGV 11 segmentation violation Full thread dump Classic VM (jdk1.2.2-FreeBSD:daichi:2000/06/20-17:39, green threads): "Thread-0" (TID:0x28e0a598, sys_thread_t:0x8cad880, state:R) prio=4 "TimerQueue" (TID:0x28e18ea8, sys_thread_t:0x8bc9480, state:CW) prio=5 at java.lang.Object.wait(Native Method) at javax.swing.TimerQueue.run(TimerQueue.java, Compiled Code) at java.lang.Thread.run(Thread.java, Compiled Code) "Image Fetcher 0" (TID:0x28e37818, sys_thread_t:0x8a46c80, state:CW) prio=8 at java.lang.Object.wait(Native Method) at sun.awt.image.ImageFetcher.nextImage(ImageFetcher.java, Compiled Code) at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java, Compiled Code) at sun.awt.image.ImageFetcher.run(ImageFetcher.java, Compiled Code) (snip) For all users who uses non-english char, this is not good. I tried in many cases, the X bpp changes (8, 16, 24, 36), use font changes (Wadalab, Watanabe, FC), font.properties.ja changes. But all try cannot get success. All tries leads segmentation violation. I was not able to discover the cause of this problem. I gave up. But to use non-english fonts in AWT and JFC/Swing is very important for us. I want to solve this problem. May I solve this problem? Daichi T.GOTO(ONGS) http://www.ongs.net/daichi, daichi@ongs.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Jun 21 11: 6:15 2000 Delivered-To: freebsd-java@freebsd.org Received: from tkh.att.ne.jp (tkh.att.ne.jp [165.76.17.8]) by hub.freebsd.org (Postfix) with ESMTP id CB25237C01B for ; Wed, 21 Jun 2000 11:06:10 -0700 (PDT) (envelope-from fuyuhik8@is.titech.ac.jp) Received: from tripper.is.titech.ac.jp.is.titech.ac.jp (224.pool29.tokyo.att.ne.jp [165.76.234.239]) by tkh.att.ne.jp (8.8.8+Spin/3.6W-CONS(10/24/99)) id DAA23975; Thu, 22 Jun 2000 03:05:57 +0900 (JST) Date: Thu, 22 Jun 2000 03:08:30 +0900 Message-ID: <55em5qkiu9.wl@is.titech.ac.jp> From: Fuyuhiko Maruyama To: ernst@jollem.com Cc: freebsd-java@freebsd.org Subject: Re: Patchset 9 + Orion 1.0.3 ==> Bus error In-Reply-To: In your message of "Tue, 20 Jun 2000 15:19:15 +0200" <20000620151915.A6551@c187104187.telekabel.chello.nl> References: <20000620151048.A6374@c187104187.telekabel.chello.nl> <20000620151915.A6551@c187104187.telekabel.chello.nl> User-Agent: Wanderlust/2.2.18 (Please Forgive Me) on XEmacs/21.2.32 "Kastor & Polydeukes" MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I am one of developers of OpenJIT, so I'm very interested in your bug report. Yes, bug reports are always useful! At Tue, 20 Jun 2000 15:19:15 +0200, Ernst de Haan wrote: > > I tried a few more times, and the signal is triggered each time I run > the application. So the problem is reproducable. > > So I tried to run the JVM without the JIT and then it worked fine. So > the problem has something to do with the JIT. It may be in the JIT, or > -less likely- be triggered by the presence of the JIT. At this time I cannot decide the problem was caused by OpenJIT or not, so I want more information. If I see the backtrace, I can consider more precisely about your problem. Have you ever tried your application with debug version of JVM(i.e. java_g)? Of course, if I can try the same application, it makes me more easy to analyze. > > My Orion application server just crashed on patchset 9. It happened when > > I clicked a link that referred to a JSP page. Perhaps this is an OpenJIT > > problem. > > > > My system: > > > > * Pentium2-400/128 MB/SCSI/FreeBSD 4.0-STABLE > > * All the ports necessary for ps9 are installed (according to > > checkports.sh) > > * Orion 1.0.3 > > * OpenJIT 1.1.12 I don't know anything about the Orion. Please tell me about it, URL of Orion's Web page may be useful. If I can use it, I will try it. Thanks. -- Fuyuhiko Maruyama Matsuoka laboratory, Department of Mathematical and Computing Sciences, Graduate School of Tokyo 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 Wed Jun 21 11:41:49 2000 Delivered-To: freebsd-java@freebsd.org Received: from tkh.att.ne.jp (tkh.att.ne.jp [165.76.17.8]) by hub.freebsd.org (Postfix) with ESMTP id BC28D37BFF9 for ; Wed, 21 Jun 2000 11:41:41 -0700 (PDT) (envelope-from fuyuhik8@is.titech.ac.jp) Received: from tripper.is.titech.ac.jp.is.titech.ac.jp (224.pool29.tokyo.att.ne.jp [165.76.234.239]) by tkh.att.ne.jp (8.8.8+Spin/3.6W-CONS(10/24/99)) id DAA28268; Thu, 22 Jun 2000 03:41:35 +0900 (JST) Date: Thu, 22 Jun 2000 03:44:11 +0900 Message-ID: <55d7lakh6s.wl@is.titech.ac.jp> From: Fuyuhiko Maruyama To: glewis@trc.adelaide.edu.au Cc: ernst@jollem.com, freebsd-java@FreeBSD.ORG Subject: Re: Patchset 9 + Orion 1.0.3 ==> Bus error In-Reply-To: In your message of "Wed, 21 Jun 2000 10:35:00 +0930 (CST)" <200006210105.KAA16871@ares.trc.adelaide.edu.au> References: <20000620151915.A6551@c187104187.telekabel.chello.nl> <200006210105.KAA16871@ares.trc.adelaide.edu.au> User-Agent: Wanderlust/2.2.18 (Please Forgive Me) on XEmacs/21.2.32 "Kastor & Polydeukes" MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At Wed, 21 Jun 2000 10:35:00 +0930 (CST), Greg Lewis wrote: > > Ernst de Haan wrote: > > I tried a few more times, and the signal is triggered each time I run > > the application. So the problem is reproducable. > > Thats always useful :) > > > So I tried to run the JVM without the JIT and then it worked fine. So > > the problem has something to do with the JIT. It may be in the JIT, or > > -less likely- be triggered by the presence of the JIT. > > Sounds like a problem with the JIT. You might want to put in a bug report > with the OpenJIT folks. Maybe try and verify it on the Linux or Solaris JDK > if you have access to a Linux or Solaris box. OpenJIT also supports Linux JDK (Sun's JDK 1.2.2 and Blackdown's JDK 1.2.2rc*) and differences between FreeBSD version and Linux version are very small: only signal handling mechanism (FreeBSD's is very smart ;-). If you can use it on Linux, please try it. -- Fuyuhiko Maruyama Matsuoka laboratory, Department of Mathematical and Computing Sciences, Graduate School of Tokyo 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 Wed Jun 21 12:28:18 2000 Delivered-To: freebsd-java@freebsd.org Received: from misery.sdf.com (misery.sdf.com [204.244.213.49]) by hub.freebsd.org (Postfix) with ESMTP id 0880637BFED for ; Wed, 21 Jun 2000 12:28:09 -0700 (PDT) (envelope-from tom@sdf.com) Received: from tom (helo=localhost) by misery.sdf.com with local-esmtp (Exim 2.12 #1) id 134prj-0003Qm-00; Wed, 21 Jun 2000 12:08:47 -0700 Date: Wed, 21 Jun 2000 12:08:43 -0700 (PDT) From: Tom Samplonius To: John Daniels Cc: freebsd-java@freebsd.org Subject: Re: mod_jserv and Tomcat In-Reply-To: <20000620211406.8110.qmail@hotmail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 20 Jun 2000, John Daniels wrote: > Hi: > > If I want to install and use Tomcat, should I *not* use add jserv > (mod_jserv) to Apache? I though I saw an earlier post that basically said > not to add jserv if you are going to use Tomcat. > > John mod_jserv != jserv mod_jserv is an Apache module that implements a special protocol for communicating with a servlet runner. The Tomcat developers tweaked mod_jserv a bit so they could use it to connect Apache to Tomcat. So don't install jserv, but install the modified mod_jserv from the Tomcat site. Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Jun 21 16:23:10 2000 Delivered-To: freebsd-java@freebsd.org Received: from dastor.albury.net.au (dastor.albury.NET.AU [203.15.244.203]) by hub.freebsd.org (Postfix) with ESMTP id 45ED637C0FB; Wed, 21 Jun 2000 16:23:04 -0700 (PDT) (envelope-from nicks@dastor.albury.net.au) Received: (from nicks@localhost) by dastor.albury.net.au (8.10.2/8.10.2) id e5LNMpp21621; Thu, 22 Jun 2000 09:22:51 +1000 (EST) Date: Thu, 22 Jun 2000 09:22:51 +1000 From: Nick Slager To: John Daniels Cc: freebsd-questions@FreeBSD.ORG, freebsd-java@FreeBSD.ORG Subject: Re: URW fonts Message-ID: <20000622092251.B21342@albury.net.au> References: <20000621115757.14757.qmail@hotmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000621115757.14757.qmail@hotmail.com>; from jmd526@hotmail.com on Wed, Jun 21, 2000 at 07:57:56AM -0400 X-Homer: Whoohooooooo! Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Thus spake John Daniels (jmd526@hotmail.com): > 1) I downloaded URW fonts from www.gimp.org/fonts.html. > 2) I placed them in /usr/X11R6/lib/Xll/fonts/URW > 3) I changed my /etc/XF86Config to include a line pointing the fonts > 4) I ran /usr/X11R6/lib/Mkfontdir (I writing from memory so that may not be > the exact path and filename) while in the URW directory > 5) I logged out from KDE and did a 'startx' > > It was my understanding (from a post on the -java list) that the URW fonts > would make Netscape look/behave much better (along with possibly making Java > look better, but that is a secondary consideration for me right now) but > when I start Netscape, I don't really see anything different. Did you tell Netscape to use any of the URW fonts? If not, Netscape will simply use it's defaults. Edit, Preferences, Appearance, Fonts in Netscape will take you to the right area. Nick. -- From a Sun Microsystems bug report (#4102680): "Workaround: don't pound on the mouse like a wild monkey." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Jun 21 18:24:55 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id 01C4C37C120 for ; Wed, 21 Jun 2000 18:24:52 -0700 (PDT) (envelope-from glewis@ares.trc.adelaide.edu.au) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id KAA26599; Thu, 22 Jun 2000 10:54:22 +0930 (CST) (envelope-from glewis) Date: Thu, 22 Jun 2000 10:54:22 +0930 From: Greg Lewis To: "Daichi T.GOTO" Cc: freebsd-java@FreeBSD.ORG Subject: Re: patchset9 test: Japanese Font Problem Message-ID: <20000622105422.A26585@ares.trc.adelaide.edu.au> References: <84708005.961590830141.JavaMail.daichi@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <84708005.961590830141.JavaMail.daichi@localhost>; from daichi@ongs.net on Wed, Jun 21, 2000 at 09:33:50PM +0900 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Jun 21, 2000 at 09:33:50PM +0900, Daichi T.GOTO wrote: > I tried to use Japanese Font with FreeBSD JDK1.2.2 with patchset9. > But I was not able to use it. > > For example, only the two line changes leads segmentation violation. Thats a bad thing :(. > # cd /usr/local/jdk1.2.2/jre/lib > # cp font.properties font.properties.ja > # vi font.properties.ja > # diff font.properties font.properties.ja > 40,41c40,41 > < sansserif.1=-*-zapf dingbats-medium-r-normal-*-*-%d-*-*-p-*-adobe-fontspecific > < sansserif.2=-*-symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific > --- > > sansserif.1=-wadalab-gothic-medium-r-normal--*-%d-*-*-c-*-jisx0201.1976-0 > > sansserif.2=-wadalab-gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0 > > # cd /usr/local/jdk1.2.2/demo/jfc/SwingSet > # java -jar SwingSwt.jar > SIGSEGV 11 segmentation violation > > Full thread dump Classic VM (jdk1.2.2-FreeBSD:daichi:2000/06/20-17:39, green threads): > "Thread-0" (TID:0x28e0a598, sys_thread_t:0x8cad880, state:R) prio=4 > "TimerQueue" (TID:0x28e18ea8, sys_thread_t:0x8bc9480, state:CW) prio=5 > at java.lang.Object.wait(Native Method) > at javax.swing.TimerQueue.run(TimerQueue.java, Compiled Code) > at java.lang.Thread.run(Thread.java, Compiled Code) > "Image Fetcher 0" (TID:0x28e37818, sys_thread_t:0x8a46c80, state:CW) prio=8 > at java.lang.Object.wait(Native Method) > at sun.awt.image.ImageFetcher.nextImage(ImageFetcher.java, Compiled Code) > at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java, Compiled Code) > at sun.awt.image.ImageFetcher.run(ImageFetcher.java, Compiled Code) > (snip) > > For all users who uses non-english char, this is not good. > I tried in many cases, the X bpp changes (8, 16, 24, 36), use font changes (Wadalab, Watanabe, FC), > font.properties.ja changes. But all try cannot get success. All tries leads segmentation violation. > > I was not able to discover the cause of this problem. I gave up. > But to use non-english fonts in AWT and JFC/Swing is very important for us. > I want to solve this problem. May I solve this problem? I'll look into it. But I might need some pointers on where to fetch the relevant fonts from :). Could you also try the font.properties.ja from the Blackdown Linux JDK and see if that works any better for you? -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Jun 21 19:54:31 2000 Delivered-To: freebsd-java@freebsd.org Received: from www.kpi.com.au (www.kpi.com.au [203.39.132.210]) by hub.freebsd.org (Postfix) with ESMTP id E1AD537B6B8 for ; Wed, 21 Jun 2000 19:54:21 -0700 (PDT) (envelope-from shevlandj@kpi.com.au) Received: from grail (www.kpi.com.au [203.39.132.210]) by www.kpi.com.au (8.9.3/8.9.3) with SMTP id MAA04904 for ; Thu, 22 Jun 2000 12:54:37 +1000 (EST) (envelope-from shevlandj@kpi.com.au) From: "Joe Shevland" To: "FreeBSD Mailing List" Subject: RE: mod_jserv and Tomcat Date: Thu, 22 Jun 2000 12:55:25 +1000 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.2910.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I was just starting to look at this last night. When I attempted to compile mod_jserv from the Tomcat 3.1 source = distribution, I received an error because I haven't used DSO support in = Apache. Is there: i) a precompiled mod_jserv binary for 3.4/Apache 1.3.12 anywhere? ii) another way to build this in the absense of DSO/apxs? Cheers, Joe -----Original Message----- From: owner-freebsd-java@FreeBSD.ORG [mailto:owner-freebsd-java@FreeBSD.ORG]On Behalf Of Tom Samplonius Sent: Thursday, 22 June 2000 5:09 AM To: John Daniels Cc: freebsd-java@FreeBSD.ORG Subject: Re: mod_jserv and Tomcat On Tue, 20 Jun 2000, John Daniels wrote: > Hi: >=20 > If I want to install and use Tomcat, should I *not* use add jserv=20 > (mod_jserv) to Apache? I though I saw an earlier post that basically = said=20 > not to add jserv if you are going to use Tomcat. >=20 > John mod_jserv !=3D jserv mod_jserv is an Apache module that implements a special protocol for communicating with a servlet runner. The Tomcat developers tweaked mod_jserv a bit so they could use it to connect Apache to Tomcat. So don't install jserv, but install the modified mod_jserv from the Tomcat site. Tom 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 Jun 22 8: 1:29 2000 Delivered-To: freebsd-java@freebsd.org Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by hub.freebsd.org (Postfix) with ESMTP id 06F4D37BCB2 for ; Thu, 22 Jun 2000 08:01:22 -0700 (PDT) (envelope-from Jan.Grant@bristol.ac.uk) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Thu, 22 Jun 2000 16:01:19 +0100 Received: from localhost (cmjg@localhost) by mail.ilrt.bris.ac.uk (8.8.7/8.8.8) with ESMTP id QAA14239; Thu, 22 Jun 2000 16:01:18 +0100 (BST) Date: Thu, 22 Jun 2000 16:01:18 +0100 (BST) From: Jan Grant To: Joe Shevland Cc: FreeBSD Mailing List Subject: RE: mod_jserv and Tomcat In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 22 Jun 2000, Joe Shevland wrote: > I was just starting to look at this last night. > > When I attempted to compile mod_jserv from the Tomcat 3.1 source distribution, I received an error because I haven't used DSO support in Apache. Is there: > > i) a precompiled mod_jserv binary for 3.4/Apache 1.3.12 anywhere? > ii) another way to build this in the absense of DSO/apxs? Yes, this is what I've done. it was a bit hacky, but basically: (from memory and examining the entrails of my apache build directory) - untar the jserv stuff (from the tomcat distribution) into apache/src/modules/jserv. - config apache with "--activate-module=src/modules/jserv/libjserv.a" - run make (this'll fail; the makefile supplied doesn't know how to build libjserv.a) - cd into the apache/src/modules/jserv directory and run gcc directly on every .c file: gcc -c -I../../os/unix -I../../include \ -funsigned-char -DUSE_EXPAT \ -I../../lib/expat-lite -DNO_DL_NEEDED \ `../../apaci` *.c ..should do it. Then (I think, check the man page for ar for this) ar rc libjserv.a *.o ranlib libjserv.a cd back up and rerun the top-level make; everything should go from that point. It's ugly, but mod_jserv's makefile isn't set up to handle static compilation; this method is hacky but works. Drop me a line if you have any problems with this, I'll build apache again from source and give you a complete list of instructions. jan -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287163 Fax +44 (0)117 9287112 RFC822 jan.grant@bris.ac.uk Leverage that synergy! Ooh yeah, looking good! Now stretch - and relax. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jun 22 9: 7:42 2000 Delivered-To: freebsd-java@freebsd.org Received: from mbg.sphere.ne.jp (mbg.sphere.ne.jp [203.138.71.44]) by hub.freebsd.org (Postfix) with ESMTP id AD55137C32C for ; Thu, 22 Jun 2000 09:07:38 -0700 (PDT) (envelope-from daichi@ongs.net) Received: from localhost (pl163.nas511.a-nagoya.nttpc.ne.jp [210.139.68.163]) by mbg.sphere.ne.jp (8.9.3+3.2W/3.7W) with ESMTP id BAA18014; Fri, 23 Jun 2000 01:07:31 +0900 (JST) Date: Fri, 23 Jun 2000 01:07:58 +0900 (JST) From: =?iso-2022-jp?B?GyRCOGVGI0JnQ08bKEI=?= To: Greg Lewis Subject: Re: patchset9 test: Japanese Font Problem Cc: freebsd-java@FreeBSD.ORG In-Reply-to: <20000622105422.A26585@ares.trc.adelaide.edu.au> Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit X-Mailer: =?iso-2022-jp?B?GyRCJGYkOhsoQiAxLjAwMA==?= Organization: =?iso-2022-jp?B?T05HUyAbJEIzK0gvSXQbKEI=?= Mime-Version: 1.0 Message-ID: <84699822.961690078049.JavaMail.daichi@localhost> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > (snip) > > > > For all users who uses non-english char, this is not good. > > I tried in many cases, the X bpp changes (8, 16, 24, 36), use font changes (Wadalab, Watanabe, FC), > > font.properties.ja changes. But all try cannot get success. All tries leads segmentation violation. > > > > I was not able to discover the cause of this problem. I gave up. > > But to use non-english fonts in AWT and JFC/Swing is very important for us. > > I want to solve this problem. May I solve this problem? > > I'll look into it. But I might need some pointers on where to fetch the > relevant fonts from :). Could you also try the font.properties.ja from > the Blackdown Linux JDK and see if that works any better for you? FreeBSD ports system is great :) You can get it using ports. # cd /usr/ports/japanese/truetypefonts # make all install clean and edit /etc/XF86Config to add /usr/X11R6/lib/X11/fonts/TrueType to "Files" Section. Notice: You need XTT Xserver to use 2byte char, so if you do not use it, please install it before font install. for example, # cd /usr/ports/x11-servers/XttXF86srv-SVGA # make all install clean After all work you can check Japanese font using xfontsel. And I checked many font.properties.ja files. I cheched follow: o Blackdown JDK1.2.2 font.properties.ja o Sun JDK 1.2.2 font.properties.ja o KondaraLinux JDK1.2.2 font.properties.ja o MyEdited font.properties.ja (many tried) But all font.properties.ja leads segmentation violation. Daichi T.GOTO(ONGS) http://www.ongs.net/daichi, daichi@ongs.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jun 22 17:23:12 2000 Delivered-To: freebsd-java@freebsd.org Received: from www.kpi.com.au (www.kpi.com.au [203.39.132.210]) by hub.freebsd.org (Postfix) with ESMTP id C25D837B797 for ; Thu, 22 Jun 2000 17:23:06 -0700 (PDT) (envelope-from shevlandj@kpi.com.au) Received: from grail (www.kpi.com.au [203.39.132.210]) by www.kpi.com.au (8.9.3/8.9.3) with SMTP id KAA06870; Fri, 23 Jun 2000 10:23:03 +1000 (EST) (envelope-from shevlandj@kpi.com.au) From: "Joe Shevland" To: "Jan Grant" Cc: "FreeBSD Mailing List" Subject: RE: mod_jserv and Tomcat Date: Fri, 23 Jun 2000 10:23:52 +1000 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.2910.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hey thanks a lot Jan, I won't have time to try this until the weekend = but I'll let you know how it goes. Cheers, Joe -----Original Message----- From: owner-freebsd-java@FreeBSD.ORG [mailto:owner-freebsd-java@FreeBSD.ORG]On Behalf Of Jan Grant Sent: Friday, 23 June 2000 1:01 AM To: Joe Shevland Cc: FreeBSD Mailing List Subject: RE: mod_jserv and Tomcat On Thu, 22 Jun 2000, Joe Shevland wrote: > I was just starting to look at this last night. >=20 > When I attempted to compile mod_jserv from the Tomcat 3.1 source = distribution, I received an error because I haven't used DSO support in = Apache. Is there: >=20 > i) a precompiled mod_jserv binary for 3.4/Apache 1.3.12 anywhere? > ii) another way to build this in the absense of DSO/apxs? Yes, this is what I've done. it was a bit hacky, but basically: (from memory and examining the entrails of my apache build directory) - untar the jserv stuff (from the tomcat distribution) into apache/src/modules/jserv. - config apache with "--activate-module=3Dsrc/modules/jserv/libjserv.a" - run make (this'll fail; the makefile supplied doesn't know how to build libjserv.a) - cd into the apache/src/modules/jserv directory and run gcc directly on every .c file: gcc -c -I../../os/unix -I../../include \ -funsigned-char -DUSE_EXPAT \ -I../../lib/expat-lite -DNO_DL_NEEDED \ `../../apaci` *.c ..should do it. Then (I think, check the man page for ar for this) ar rc libjserv.a *.o ranlib libjserv.a cd back up and rerun the top-level make; everything should go from that point. It's ugly, but mod_jserv's makefile isn't set up to handle static compilation; this method is hacky but works. Drop me a line if you have any problems with this, I'll build apache again from source and give you a complete list of instructions. jan --=20 jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287163 Fax +44 (0)117 9287112 RFC822 jan.grant@bris.ac.uk Leverage that synergy! Ooh yeah, looking good! Now stretch - and relax. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jun 23 1:27:43 2000 Delivered-To: freebsd-java@freebsd.org Received: from tohokugw.tohoku.iij.ad.jp (tohokugw.tohoku.iij.ad.jp [202.232.14.98]) by hub.freebsd.org (Postfix) with ESMTP id D5BB937B897 for ; Fri, 23 Jun 2000 01:27:40 -0700 (PDT) (envelope-from taguchi@tohoku.iij.ad.jp) Received: by tohokugw.tohoku.iij.ad.jp; id RAA20965; Fri, 23 Jun 2000 17:27:39 +0900 (JST) From: Received: from hirose.tohoku.iij.ad.jp(192.168.144.2) by tohokugw.tohoku.iij.ad.jp via smap (V4.2) id xma020959; Fri, 23 Jun 00 17:27:15 +0900 Received: from hirose.tohoku.iij.ad.jp (localhost [127.0.0.1]) by hirose.tohoku.iij.ad.jp (8.9.3/3.7W99113014) with ESMTP id RAA76108; Fri, 23 Jun 2000 17:27:20 +0900 (JST) Date: Fri, 23 Jun 2000 17:27:19 +0900 Message-ID: To: daichi@ongs.net Cc: freebsd-java@FreeBSD.ORG Subject: Re: patchset9 test: Japanese Font Problem In-Reply-To: In your message of "Wed, 21 Jun 2000 21:33:50 +0900 (JST)" <84708005.961590830141.JavaMail.daichi@localhost> References: <84708005.961590830141.JavaMail.daichi@localhost> User-Agent: Wanderlust/2.2.12 (Joyride) EMIKO/1.13.9 (Euglena tripteris) FLIM/1.13.2 (Kasanui) Emacs/20.6 (i386--freebsd) MULE/4.0 (HANANOEN) MIME-Version: 1.0 (generated by EMIKO 1.13.9 - "Euglena tripteris") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, GOTO-san > # diff font.properties font.properties.ja > 40,41c40,41 > < sansserif.1=-*-zapf dingbats-medium-r-normal-*-*-%d-*-*-p-*-adobe-fontspecific > < sansserif.2=-*-symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific > --- > > sansserif.1=-wadalab-gothic-medium-r-normal--*-%d-*-*-c-*-jisx0201.1976-0 > > sansserif.2=-wadalab-gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0 > Not good enough ;-) I think you should set fontcharset.*.[12], such as following: fontcharset.sansserif.1=sun.awt.motif.CharToByteX11JIS0201 fontcharset.sansserif.2=sun.awt.motif.CharToByteX11JIS0208 Is this correct? But this config is also "not good". It can not display multibyte charactors. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jun 23 1:28:13 2000 Delivered-To: freebsd-java@freebsd.org Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by hub.freebsd.org (Postfix) with ESMTP id C1F6137B8C6 for ; Fri, 23 Jun 2000 01:28:10 -0700 (PDT) (envelope-from Jan.Grant@bristol.ac.uk) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Fri, 23 Jun 2000 09:27:59 +0100 Received: from localhost (cmjg@localhost) by mail.ilrt.bris.ac.uk (8.8.7/8.8.8) with ESMTP id JAA28666; Fri, 23 Jun 2000 09:27:58 +0100 (BST) Date: Fri, 23 Jun 2000 09:27:58 +0100 (BST) From: Jan Grant To: Joe Shevland Cc: Jan Grant , FreeBSD Mailing List Subject: RE: mod_jserv and Tomcat In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 23 Jun 2000, Joe Shevland wrote: > Hey thanks a lot Jan, I won't have time to try this until the weekend but I'll let you know how it goes. > > Cheers, > Joe De nada. BTW: I've just joined the tomcat-user group; it's quite a high-noise forum*, but there's quite a bit of talk there about the latest Tomcat releases (3.1, 3.2- which are post-stable and/or development) and the latest jserv-a-like, mod_jk, which you might want to look at. I'm going to have a gander at it this weekend; I'll post results back if anyone's interested. jan * And the evidence of yesterday is that the best way to get a question answered is by posting it with a subject of "tomcat is really shit", which I find quite amusing :-) -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287163 Fax +44 (0)117 9287112 RFC822 jan.grant@bris.ac.uk Spreadsheet through network. Oh yeah. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jun 23 3:45:43 2000 Delivered-To: freebsd-java@freebsd.org Received: from tohokugw.tohoku.iij.ad.jp (tohokugw.tohoku.iij.ad.jp [202.232.14.98]) by hub.freebsd.org (Postfix) with ESMTP id EE16A37C20A for ; Fri, 23 Jun 2000 03:45:40 -0700 (PDT) (envelope-from taguchi@tohoku.iij.ad.jp) Received: by tohokugw.tohoku.iij.ad.jp; id TAA22605; Fri, 23 Jun 2000 19:45:40 +0900 (JST) From: Received: from hirose.tohoku.iij.ad.jp(192.168.144.2) by tohokugw.tohoku.iij.ad.jp via smap (V4.2) id xma022603; Fri, 23 Jun 00 19:45:05 +0900 Received: from hirose.tohoku.iij.ad.jp (localhost [127.0.0.1]) by hirose.tohoku.iij.ad.jp (8.9.3/3.7W99113014) with ESMTP id TAA76625 for ; Fri, 23 Jun 2000 19:45:19 +0900 (JST) Date: Fri, 23 Jun 2000 19:45:18 +0900 Message-ID: To: freebsd-java@FreeBSD.ORG Subject: Re: patchset9 test: Japanese Font Problem In-Reply-To: In your message of "Fri, 23 Jun 2000 17:27:19 +0900" References: <84708005.961590830141.JavaMail.daichi@localhost> User-Agent: Wanderlust/2.2.12 (Joyride) EMIKO/1.13.9 (Euglena tripteris) FLIM/1.13.2 (Kasanui) Emacs/20.6 (i386--freebsd) MULE/4.0 (HANANOEN) MIME-Version: 1.0 (generated by EMIKO 1.13.9 - "Euglena tripteris") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, Perhaps, I find a probrem... > > # diff font.properties font.properties.ja > > 40,41c40,41 > > < sansserif.1=-*-zapf dingbats-medium-r-normal-*-*-%d-*-*-p-*-adobe-fontspecific > > < sansserif.2=-*-symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific > > --- > > > sansserif.1=-wadalab-gothic-medium-r-normal--*-%d-*-*-c-*-jisx0201.1976-0 > > > sansserif.2=-wadalab-gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0 > > > > Not good enough ;-) > I think you should set fontcharset.*.[12], such as following: > fontcharset.sansserif.1=sun.awt.motif.CharToByteX11JIS0201 > fontcharset.sansserif.2=sun.awt.motif.CharToByteX11JIS0208 > Is this correct? src/freebsd/classes/sun/awt/motif contains CharToByteX11Dingbats.java only. it does not contain CharToByteX11(JIS0201|JIS0208).java. I think this is a probrem.... Is this correct? # ext/i18n/src/solaris/sun/awt/motif contains CharToByteX11*.java To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jun 23 5:57:16 2000 Delivered-To: freebsd-java@freebsd.org Received: from mbg.sphere.ne.jp (mbg.sphere.ne.jp [203.138.71.44]) by hub.freebsd.org (Postfix) with ESMTP id 6E0C537BA0C for ; Fri, 23 Jun 2000 05:57:12 -0700 (PDT) (envelope-from daichi@ongs.net) Received: from localhost (pl026.nas511.a-nagoya.nttpc.ne.jp [210.139.68.26]) by mbg.sphere.ne.jp (8.9.3+3.2W/3.7W) with ESMTP id VAA03657; Fri, 23 Jun 2000 21:57:08 +0900 (JST) Date: Fri, 23 Jun 2000 21:57:39 +0900 (JST) From: =?iso-2022-jp?B?GyRCOGVGI0JnQ08bKEI=?= To: taguchi@tohoku.iij.ad.jp Subject: Re: patchset9 test: Japanese Font Problem Cc: freebsd-java@FreeBSD.ORG In-Reply-to: Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit X-Mailer: =?iso-2022-jp?B?GyRCJGYkOhsoQiAxLjAwMA==?= Organization: =?iso-2022-jp?B?T05HUyAbJEIzK0gvSXQbKEI=?= Mime-Version: 1.0 Message-ID: <84693181.961765059111.JavaMail.daichi@localhost> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Hi, GOTO-san > > > # diff font.properties font.properties.ja > > 40,41c40,41 > > < sansserif.1=-*-zapf dingbats-medium-r-normal-*-*-%d-*-*-p-*-adobe-fontspecific > > < sansserif.2=-*-symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific > > --- > > > sansserif.1=-wadalab-gothic-medium-r-normal--*-%d-*-*-c-*-jisx0201.1976-0 > > > sansserif.2=-wadalab-gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0 > > > > Not good enough ;-) > I think you should set fontcharset.*.[12], such as following: > fontcharset.sansserif.1=sun.awt.motif.CharToByteX11JIS0201 > fontcharset.sansserif.2=sun.awt.motif.CharToByteX11JIS0208 > Is this correct? No. The only two line changes leads the problem. # I thought about the same things, too. But it is not the cause. > But this config is also "not good". > It can not display multibyte charactors. It is why it is not possible with FreeBSD JDK122 to be enacted in Linux one that I wonder. Daichi T.GOTO(ONGS) http://www.ongs.net/daichi, daichi@ongs.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jun 23 12:52:27 2000 Delivered-To: freebsd-java@freebsd.org Received: from outmail.algonquinc.on.ca (algnet.algonquincollege.com [205.211.30.9]) by hub.freebsd.org (Postfix) with ESMTP id 853EE37B89C for ; Fri, 23 Jun 2000 12:52:14 -0700 (PDT) (envelope-from ponds@algonquincollege.com) Received: from algonquincollege.com (aip47-70.algonquincollege.com [205.211.47.70] (may be forged)) by outmail.algonquinc.on.ca (8.8.7/8.8.7) with ESMTP id PAA10679 for ; Fri, 23 Jun 2000 15:53:29 -0400 (EDT) Message-ID: <3953BFBC.B13FB18E@algonquincollege.com> Date: Fri, 23 Jun 2000 15:51:25 -0400 From: Shelly Pond Organization: Continuing Education - Business Sector X-Mailer: Mozilla 4.7 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: java@FreeBSD.ORG Subject: A request for Software Content-Type: multipart/mixed; boundary="------------43FEDD7E8D24B6F406B88C68" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------43FEDD7E8D24B6F406B88C68 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Customer Service, Would it be possible to obtain a copy of Visual Age Java for Linux for educational review. Our college, Algonquin College, is reviewing software and one of our faculty members has put in a request for this for his course of Object-Oriented Programming. Please contact me if you have any questions or concerns regarding this request. Sincerely, Shelly Pond Tel: (613) 727-4723 ext. 5392 Fax: (613) 727-7790 Please forward to the address as indicated: Ms. Shelly Pond Continuing Education - Business Sector Algonquin College 1385 Woodroffe Avenue Nepean ON K2G 1V8 --------------43FEDD7E8D24B6F406B88C68 Content-Type: text/x-vcard; charset=us-ascii; name="ponds.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Shelly Pond Content-Disposition: attachment; filename="ponds.vcf" begin:vcard n:Pond;Shelly x-mozilla-html:FALSE org:Continuing Education - Business Sector adr:;;;;;; version:2.1 email;internet:ponds@algonquincollege.com title:Administrative Support fn:Shelly Pond end:vcard --------------43FEDD7E8D24B6F406B88C68-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jun 23 19:18:45 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id 6B4D537BBA1 for ; Fri, 23 Jun 2000 19:18:38 -0700 (PDT) (envelope-from glewis@ares.trc.adelaide.edu.au) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id LAA98822; Sat, 24 Jun 2000 11:48:23 +0930 (CST) (envelope-from glewis) Date: Sat, 24 Jun 2000 11:48:23 +0930 From: Greg Lewis To: taguchi@tohoku.iij.ad.jp Cc: freebsd-java@FreeBSD.ORG Subject: Re: patchset9 test: Japanese Font Problem Message-ID: <20000624114823.A98789@ares.trc.adelaide.edu.au> References: <84708005.961590830141.JavaMail.daichi@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from taguchi@tohoku.iij.ad.jp on Fri, Jun 23, 2000 at 07:45:18PM +0900 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Jun 23, 2000 at 07:45:18PM +0900, taguchi@tohoku.iij.ad.jp wrote: > Perhaps, I find a probrem... > > Not good enough ;-) > > I think you should set fontcharset.*.[12], such as following: > > fontcharset.sansserif.1=sun.awt.motif.CharToByteX11JIS0201 > > fontcharset.sansserif.2=sun.awt.motif.CharToByteX11JIS0208 > > Is this correct? > > src/freebsd/classes/sun/awt/motif contains CharToByteX11Dingbats.java > only. it does not contain CharToByteX11(JIS0201|JIS0208).java. > > I think this is a probrem.... > Is this correct? Hi Taguchi-san. As far as I know this is how things should be. The Solaris and Linux sources are both set up this way as well. I don't think this is the cause of the problem. > # ext/i18n/src/solaris/sun/awt/motif contains CharToByteX11*.java So does ext/i18n/src/freebsd/sun/awt/motif more importantly :). -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message