From owner-freebsd-java Sun Apr 23 11:51:19 2000 Delivered-To: freebsd-java@freebsd.org Received: from dnvrpop5.dnvr.uswest.net (dnvrpop5.dnvr.uswest.net [206.196.128.7]) by hub.freebsd.org (Postfix) with SMTP id 7044137BA19 for ; Sun, 23 Apr 2000 11:51:11 -0700 (PDT) (envelope-from kduling@uswest.net) Received: (qmail 72488 invoked by alias); 23 Apr 2000 18:51:10 -0000 Delivered-To: fixup-freebsd-java@freebsd.org@fixme Received: (qmail 72461 invoked by uid 0); 23 Apr 2000 18:51:09 -0000 Received: from ppdialup251.dnvr.uswest.net (HELO scylla) (63.225.125.251) by dnvrpop5.dnvr.uswest.net with SMTP; 23 Apr 2000 18:51:09 -0000 Message-ID: <000a01bfad54$e5f8a900$7064a8c0@glyphein.com> From: "Kevin J. Duling" To: Subject: Sun's RFE - 1st place Date: Sun, 23 Apr 2000 12:51:12 -0600 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0007_01BFAD22.9AB66040" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. ------=_NextPart_000_0007_01BFAD22.9AB66040 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Please update the news to show that the requests for Sun to port Java to = FreeBSD is now the number one RFE, outstripping other RFEs by at least = 2000 votes. ------=_NextPart_000_0007_01BFAD22.9AB66040 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Please update the news to show that the = requests=20 for Sun to port Java to FreeBSD is now the number one RFE, outstripping = other=20 RFEs by at least 2000 votes.
 
------=_NextPart_000_0007_01BFAD22.9AB66040-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Apr 23 14:59:37 2000 Delivered-To: freebsd-java@freebsd.org Received: from hotmail.com (f158.law8.hotmail.com [216.33.241.158]) by hub.freebsd.org (Postfix) with SMTP id F02E137B984 for ; Sun, 23 Apr 2000 14:59:34 -0700 (PDT) (envelope-from jmd526@hotmail.com) Received: (qmail 60866 invoked by uid 0); 23 Apr 2000 21:59:34 -0000 Message-ID: <20000423215934.60865.qmail@hotmail.com> Received: from 209.220.228.2 by www.hotmail.com with HTTP; Sun, 23 Apr 2000 14:59:34 PDT X-Originating-IP: [209.220.228.2] From: "John Daniels" To: freebsd-java@freebsd.org Subject: Re: Sun's RFE - 1st place Date: Sun, 23 Apr 2000 17:59:34 EDT Mime-Version: 1.0 Content-Type: text/plain; format=flowed Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 1)How do I vote? 2) Let's get out the vote! Messages and reminders should be sent to other mailing lists and BSD websites. Can someone (I'm just a newbie) send a message to the other mailing lists with simple, easy instructions (with a URL) so we can get the most votes possible? Are multiple votes OK? One vote per person? per url? per login to sun's developer site? If we "win" just what does that mean? How long (estimate?) before Sun would start on/finish a port? Does it help our chances that the Java porting team has made significant progress on a native port? Shouldn't this be made known to Sun? (Oh, and please don't forget to THANK the Java porting team for their work) 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 Sun Apr 23 15:35:44 2000 Delivered-To: freebsd-java@freebsd.org Received: from picnic.mat.net (picnic.mat.net [206.246.122.133]) by hub.freebsd.org (Postfix) with ESMTP id 086D837BA8C for ; Sun, 23 Apr 2000 15:35:40 -0700 (PDT) (envelope-from chuckr@picnic.mat.net) Received: from localhost (chuckr@localhost [127.0.0.1]) by picnic.mat.net (8.9.3/8.9.3) with ESMTP id SAA07577; Sun, 23 Apr 2000 18:35:49 -0400 (EDT) (envelope-from chuckr@picnic.mat.net) Date: Sun, 23 Apr 2000 18:35:48 -0400 (EDT) From: Chuck Robey To: John Daniels Cc: freebsd-java@FreeBSD.ORG Subject: Re: Sun's RFE - 1st place In-Reply-To: <20000423215934.60865.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 Sun, 23 Apr 2000, John Daniels wrote: > 1)How do I vote? > > 2) Let's get out the vote! Messages and reminders should be sent to other > mailing lists and BSD websites. Can someone (I'm just a newbie) send a > message to the other mailing lists with simple, easy instructions (with a > URL) so we can get the most votes possible? Are multiple votes OK? One vote > per person? per url? per login to sun's developer site? > > If we "win" just what does that mean? How long (estimate?) before Sun would > start on/finish a port? Not meaning any slur, but that's a pretty silly thing to ask. Sun is very obviously not constrained at all. You know that Sun reads it, you know that it's definitely a good way to signal Sun that it's wanted, but an estimate. Any estimate you get on that, it's going to be pure wishes. Win? Heh! ---------------------------------------------------------------------------- Chuck Robey | Interests include C & Java programming, FreeBSD, chuckr@picnic.mat.net | electronics, communications, and signal processing. New Year's Resolution: I will not sphroxify gullible people into looking up fictitious words in the dictionary. ---------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Apr 23 15:54:49 2000 Delivered-To: freebsd-java@freebsd.org Received: from lyrisoft.com (cc577769-a.jrsycty1.nj.home.com [24.11.67.11]) by hub.freebsd.org (Postfix) with SMTP id C3FD637B866 for ; Sun, 23 Apr 2000 15:54:39 -0700 (PDT) (envelope-from taso@lyrisoft.com) Received: (qmail 597 invoked from network); 23 Apr 2000 22:54:36 -0000 Received: from unknown (HELO lyrisoft.com) (taso@192.168.1.10) by cc577769-a.jrsycty1.nj.home.com with SMTP; 23 Apr 2000 22:54:36 -0000 Message-ID: <39037F2B.8E010E21@lyrisoft.com> Date: Sun, 23 Apr 2000 18:54:35 -0400 From: Taso Lyristis X-Mailer: Mozilla 4.7 [en] (X11; U; Linux 2.2.13 i686) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: Socket bug and workaround example for FreeBSD JDK 1.2.2 Content-Type: multipart/mixed; boundary="------------41B5B145C871309198599F2C" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------41B5B145C871309198599F2C Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, We have found what appears to be a bug in the (native) socket implementation for JDK1.2.2 for FreeBSD. The quick description of this bug is the following: When implementing a TCP/IP server, the native method java.net.SocketInputStream.socketRead() throws a SocketException: Resource temporarily unavailable instead of blocking until data becomes available. This breaks any Java code that depends on a blocking read from a socket's input stream. I have attached 2 source files, Test1.java and Test2.java. Test1 illustrates the bug, when running on FreeBSD, and Test2 illustrates a partial workaround. The example is of a simple non-threaded echo server, where the server answers an incoming connection and just echos back any data that it receives. Here is the exception that Test1 throws. This is throw immediately after readLine() is called: java.net.SocketException: Resource temporarily unavailable: Resource temporarily unavailable at java.net.SocketInputStream.socketRead(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:90) at java.net.SocketInputStream.read(SocketInputStream.java:71) at java.io.InputStreamReader.fill(InputStreamReader.java:163) at java.io.InputStreamReader.read(InputStreamReader.java:239) at java.io.BufferedReader.fill(BufferedReader.java:137) at java.io.BufferedReader.readLine(BufferedReader.java:274) at java.io.BufferedReader.readLine(BufferedReader.java:329) at Test1.main(Test1.java:40) Feel free to contact me if you need to. I hope this helps in the JDK1.2.2 on FreeBSD porting effort. Best regards, Taso Lyristis --------------41B5B145C871309198599F2C Content-Type: text/plain; charset=us-ascii; name="Test1.java" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Test1.java" import java.io.*; import java.net.*; /** * A simple non-threaded "echo server". This should illustrate the exception thrown * in the native method java.net.SocketInputStream.socketRead() on FreeBSD. * See Test2 for a work-around. * * @author Taso Lyristis (taso@lyrisoft.com) 2000-04-23 */ public class Test1 { public static void main(String[] args) { ServerSocket ss = null; try { ss = new ServerSocket(Integer.parseInt(args[0])); System.err.println("Listening on port " + args[0]); } catch (IOException e) { e.printStackTrace(); System.exit(2); } catch (Exception e) { System.err.println("usage: Test1 port"); System.exit(1); } while (true) { Socket s = null; BufferedReader in = null; PrintWriter out = null; try { s = ss.accept(); System.out.println("Connection from: " + s.getInetAddress()); in = new BufferedReader(new InputStreamReader(s.getInputStream())); out = new PrintWriter(s.getOutputStream()); String line = null; while ((line = in.readLine()) != null) { // simply echo each line back to the sender. out.println(line); out.flush(); } } catch (IOException e) { e.printStackTrace(); } finally { System.out.println("Closing connection to: " + s.getInetAddress()); if (s != null) { try { s.close(); } catch (IOException e) {} } in = null; out = null; } } } } --------------41B5B145C871309198599F2C Content-Type: text/plain; charset=us-ascii; name="Test2.java" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Test2.java" import java.io.*; import java.net.*; /** * A simple non-threaded "echo server". This should illustrate the workaround to the * exception thrown in the native method java.net.SocketInputStream.socketRead() on FreeBSD. * * BUGS: We don't detect a connection getting closed. * * @author Taso Lyristis (taso@lyrisoft.com) 2000-04-23 */ public class Test2 { public static void main(String[] args) { ServerSocket ss = null; try { ss = new ServerSocket(Integer.parseInt(args[0])); System.err.println("Listening on port " + args[0]); } catch (IOException e) { e.printStackTrace(); System.exit(2); } catch (Exception e) { System.err.println("usage: Test1 port"); System.exit(1); } while (true) { Socket s = null; BufferedReader in = null; PrintWriter out = null; try { s = ss.accept(); System.out.println("Connection from: " + s.getInetAddress()); InputStream is = s.getInputStream(); in = new BufferedReader(new InputStreamReader(is)); out = new PrintWriter(s.getOutputStream()); String line = null; do { // The workaround is here: While there is no data available, we sleep. while (is.available() == 0) { try { Thread.sleep(25); } catch (InterruptedException e) { } } line = in.readLine(); out.println(line); out.flush(); } while (line != null); } catch (IOException e) { e.printStackTrace(); } finally { System.out.println("Closing connection to: " + s.getInetAddress()); if (s != null) { try { s.close(); } catch (IOException e) {} } in = null; out = null; } } } } --------------41B5B145C871309198599F2C-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Apr 23 17: 4:37 2000 Delivered-To: freebsd-java@freebsd.org Received: from mta6.snfc21.pbi.net (mta6.snfc21.pbi.net [206.13.28.240]) by hub.freebsd.org (Postfix) with ESMTP id 5E7AD37B886 for ; Sun, 23 Apr 2000 17:04:34 -0700 (PDT) (envelope-from hsu@FreeBSD.org) Received: from FreeBSD.org (adsl-63-193-112-125.dsl.snfc21.pacbell.net) by mta6.snfc21.pbi.net (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9) with ESMTP id <0FTH00KJMUVGAR@mta6.snfc21.pbi.net> for freebsd-java@freebsd.org; Sun, 23 Apr 2000 17:04:29 -0700 (PDT) Date: Sun, 23 Apr 2000 17:10:05 -0700 From: Jeffrey Hsu Subject: Re: Sun's RFE - 1st place In-reply-to: Message from John Daniels "of Sun, 23 Apr 2000 17:59:34 EDT." <20000423215934.60865.qmail@hotmail.com> To: John Daniels Cc: freebsd-java@freebsd.org Message-id: <0FTH00KJNUVGAR@mta6.snfc21.pbi.net> MIME-version: 1.0 X-Mailer: exmh version 2.1.1 10/15/1999 Content-type: text/plain; charset=us-ascii Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org When you sign up (for free) for the Java Developer's Connection at http://developer.java.sun.com you get three votes. This request for enhancement is bug id 4288745. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Apr 23 17:36:32 2000 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.79.126]) by hub.freebsd.org (Postfix) with ESMTP id 669C437B88B for ; Sun, 23 Apr 2000 17:36:28 -0700 (PDT) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.79.115]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id SAA00657; Sun, 23 Apr 2000 18:36:25 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id SAA09319; Sun, 23 Apr 2000 18:36:25 -0600 (MDT) (envelope-from nate) Date: Sun, 23 Apr 2000 18:36:25 -0600 (MDT) Message-Id: <200004240036.SAA09319@nomad.yogotech.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Taso Lyristis Cc: freebsd-java@FreeBSD.ORG Subject: Re: Socket bug and workaround example for FreeBSD JDK 1.2.2 In-Reply-To: <39037F2B.8E010E21@lyrisoft.com> References: <39037F2B.8E010E21@lyrisoft.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > The quick description of this bug is the following: When implementing a > TCP/IP server, the native method java.net.SocketInputStream.socketRead() > throws a SocketException: Resource temporarily unavailable instead of > blocking until data becomes available. This breaks any Java code that > depends on a blocking read from a socket's input stream. Can you give more detailed instructions on how to reproduce the bug? Otherwise, I can assume that it works, since if I run the program no errors are produced. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Apr 23 17:42:51 2000 Delivered-To: freebsd-java@freebsd.org Received: from lyrisoft.com (cc577769-a.jrsycty1.nj.home.com [24.11.67.11]) by hub.freebsd.org (Postfix) with SMTP id 2D3F437BA9E for ; Sun, 23 Apr 2000 17:42:48 -0700 (PDT) (envelope-from taso@lyrisoft.com) Received: (qmail 694 invoked from network); 24 Apr 2000 00:42:47 -0000 Received: from unknown (HELO lyrisoft.com) (taso@192.168.1.10) by cc577769-a.jrsycty1.nj.home.com with SMTP; 24 Apr 2000 00:42:47 -0000 Message-ID: <39039886.9FDDD98E@lyrisoft.com> Date: Sun, 23 Apr 2000 20:42:46 -0400 From: Taso Lyristis X-Mailer: Mozilla 4.7 [en] (X11; U; Linux 2.2.13 i686) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: [Fwd: Socket bug and workaround example for FreeBSD JDK 1.2.2] Content-Type: multipart/mixed; boundary="------------30F514B27926DEB519422349" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------30F514B27926DEB519422349 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit --------------30F514B27926DEB519422349 Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Mozilla-Status2: 00000000 Message-ID: <3903983F.45AE1A85@lyrisoft.com> Date: Sun, 23 Apr 2000 20:41:35 -0400 From: Taso Lyristis X-Mailer: Mozilla 4.7 [en] (X11; U; Linux 2.2.13 i686) X-Accept-Language: en MIME-Version: 1.0 To: Nate Williams Subject: Re: Socket bug and workaround example for FreeBSD JDK 1.2.2 References: <39037F2B.8E010E21@lyrisoft.com> <200004240036.SAA09319@nomad.yogotech.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Nate Williams wrote: > > > The quick description of this bug is the following: When implementing a > > TCP/IP server, the native method java.net.SocketInputStream.socketRead() > > throws a SocketException: Resource temporarily unavailable instead of > > blocking until data becomes available. This breaks any Java code that > > depends on a blocking read from a socket's input stream. > > Can you give more detailed instructions on how to reproduce the bug? > Otherwise, I can assume that it works, since if I run the program no > errors are produced. > > Nate Try telnetting to the port that the server listens on. $ java Test1 2000 Then, in another window, $ telnet localhost 2000 As soon as the connection is establish, you'll see the exception in the console where Test1 is running. Taso --------------30F514B27926DEB519422349-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Apr 24 7:23: 6 2000 Delivered-To: freebsd-java@freebsd.org Received: from green.wl.vg (green.wl.vg [204.200.26.138]) by hub.freebsd.org (Postfix) with ESMTP id 5586837BB08 for ; Mon, 24 Apr 2000 07:23:03 -0700 (PDT) (envelope-from patrick@whetstonelogic.com) Received: from whetstonelogic.com (209-9-69-198.sdsl.cais.net [209.9.69.198]) by green.wl.vg (8.9.3/8.9.3) with ESMTP id HAA11862; Mon, 24 Apr 2000 07:21:41 -0700 (PDT) (envelope-from patrick@whetstonelogic.com) Message-ID: <39049158.11D6C30@whetstonelogic.com> Date: Mon, 24 Apr 2000 14:24:24 -0400 From: Patrick Gardella Organization: Whetstone Logic, Inc. X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.8 i86pc) X-Accept-Language: en MIME-Version: 1.0 To: John Daniels , freebsd-java@freebsd.org Subject: Re: Sun's RFE - 1st place References: <20000423215934.60865.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: > > 1)How do I vote? > > 2) Let's get out the vote! Messages and reminders should be sent to other > mailing lists and BSD websites. Can someone (I'm just a newbie) send a > message to the other mailing lists with simple, easy instructions (with a > URL) so we can get the most votes possible? Are multiple votes OK? One vote > per person? per url? per login to sun's developer site? Take a look at the http://www.freebsd.org/java/ pages. Especially, the news section. :) > If we "win" just what does that mean? How long (estimate?) before Sun would > start on/finish a port? Absolutely nothing. :) It's a request process, (Request for Enhancement), so they can ignore it, if they wish. > Does it help our chances that the Java porting team has made significant > progress on a native port? Shouldn't this be made known to Sun? (Oh, and > please don't forget to THANK the Java porting team for their work) That does help, since they might just pick up our port, and make enhancements to it. But the more "votes" or other requests helps our cause greatly. Patrick Gardella To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Apr 25 3:30:36 2000 Delivered-To: freebsd-java@freebsd.org Received: from iclub.nsu.ru (iclub.nsu.ru [193.124.222.66]) by hub.freebsd.org (Postfix) with ESMTP id 237EE37BCF2 for ; Tue, 25 Apr 2000 03:30:25 -0700 (PDT) (envelope-from fjoe@iclub.nsu.ru) Received: from localhost (fjoe@localhost) by iclub.nsu.ru (8.9.3/8.9.3) with ESMTP id RAA81074 for ; Tue, 25 Apr 2000 17:30:11 +0700 (NSS) (envelope-from fjoe@iclub.nsu.ru) Date: Tue, 25 Apr 2000 17:30:11 +0700 (NSS) From: Max Khon To: freebsd-java@freebsd.org Subject: Turbine (ant?) build problems Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org hi, there! Is there anyone who built Turbine with jdk1.1.8 (from ports, FreeBSD 3.4-STABLE) successfully? running `sh build-turbine.sh' gives the following errors: --- cut here --- master:~/Apache-Turbine-20000422/build$sh build-turbine.sh Now building jar... Buildfile: build-turbine.xml java.lang.IncompatibleClassChangeError: Unimplemented interface method at org.apache.tools.ant.SunParser.parse(SunParser.java:76) at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:85) at org.apache.tools.ant.Main.runBuild(Main.java:223) at org.apache.tools.ant.Main.main(Main.java:191) master~/Apache-Turbine-20000422/build$ --- cut here --- Obviously something is wrong with `ant'. I tried different `ant' versions (from Tomcat 3.1, latest `ant', `ant' that comes with Turbine) but with no luck. Any ideas will be appreciated. /fjoe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Apr 25 5:57:28 2000 Delivered-To: freebsd-java@freebsd.org Received: from nets5.rz.rwth-aachen.de (nets5.rz.RWTH-Aachen.DE [137.226.144.13]) by hub.freebsd.org (Postfix) with ESMTP id 4ABEA37B7D4 for ; Tue, 25 Apr 2000 05:57:26 -0700 (PDT) (envelope-from kuku@gilberto.physik.RWTH-Aachen.DE) Received: from campino.informatik.rwth-aachen.de (campino.Informatik.RWTH-Aachen.DE [137.226.116.240]) by nets5.rz.rwth-aachen.de (8.9.1a/8.9.1/10) with ESMTP id OAA00659 for ; Tue, 25 Apr 2000 14:57:15 +0200 (MET DST) Received: from gil.physik.rwth-aachen.de (gilberto.physik.rwth-aachen.de [137.226.30.2]) by campino.informatik.rwth-aachen.de (8.9.1a/8.9.1/3) with ESMTP id OAA16193 for ; Tue, 25 Apr 2000 14:58:29 +0200 (MET DST) Received: (from kuku@localhost) by gil.physik.rwth-aachen.de (8.9.3/8.6.9) id OAA50170 for java@freebsd.org; Tue, 25 Apr 2000 14:57:19 +0200 (CEST) Date: Tue, 25 Apr 2000 14:57:19 +0200 (CEST) From: Christoph Kukulies Message-Id: <200004251257.OAA50170@gil.physik.rwth-aachen.de> To: java@freebsd.org Subject: the latest - tomcat etc. Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Now that I have apach13 and apache-jserv running again I find that the servlets it is using are still JSDK2.0 (so they are 2.0 servlets, right?) The 2.2 Servlet API seems to be the current and I'm having troubles with a servlet I want to write and find myself with not existing methods in the 2.0 API. To make it short: Is there a way to run the latest (tomcat) release under apache13? -- Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Apr 25 6:20:33 2000 Delivered-To: freebsd-java@freebsd.org Received: from rztsun.rz.tu-harburg.de (rztsun.rz.tu-harburg.de [134.28.200.14]) by hub.freebsd.org (Postfix) with ESMTP id 275F237BD00 for ; Tue, 25 Apr 2000 06:20:25 -0700 (PDT) (envelope-from reimers@tu-harburg.de) Received: from tu-harburg.de (data.et8.tu-harburg.de [134.28.45.64]) by rztsun.rz.tu-harburg.de (8.9.0/8.8.8) with ESMTP id PAA09870; Tue, 25 Apr 2000 15:20:09 +0200 (MET DST) Message-ID: <39059B7C.D7F75388@tu-harburg.de> Date: Tue, 25 Apr 2000 15:19:56 +0200 From: Sven Reimers X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 3.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Christoph Kukulies Cc: java@FreeBSD.ORG Subject: Re: the latest - tomcat etc. References: <200004251257.OAA50170@gil.physik.rwth-aachen.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Christoph, AFAIK there is so far no neat integration as with JServ (but plannend). For now just get the binary distribution, extract to a directory of your choice and use tomcat.sh in /bin/ with option start/run/stop ... If you want integration there should be a apache.conf file (tomcat.conf?) that you have to include instead of the JServ.conf include statement in your apache conf. Remind: There is a new architecture involved webapplications/war(webarchives) with Serlvet 2.2 and JSP 1.1. (No zones) Everything for tomcat is configured in the *.xml files Note: Following the J2EE Blue Prints (Guidelines for development) direct use of servlets (implementing HTTPServlet etc.) should be dropped in favour of JSP. Hope this helps Sven Christoph Kukulies wrote: > > Now that I have apach13 and apache-jserv running again I find that > the servlets it is using are still JSDK2.0 (so they are 2.0 servlets, right?) > > The 2.2 Servlet API seems to be the current and I'm having troubles with > a servlet I want to write and find myself with not existing methods > in the 2.0 API. > > To make it short: Is there a way to run the latest (tomcat) release > under apache13? > > -- > Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Apr 25 6:20:44 2000 Delivered-To: freebsd-java@freebsd.org Received: from dnvrpop3.dnvr.uswest.net (dnvrpop3.dnvr.uswest.net [206.196.128.5]) by hub.freebsd.org (Postfix) with SMTP id 9EF8B37BB03 for ; Tue, 25 Apr 2000 06:20:23 -0700 (PDT) (envelope-from wolpert@methodsystems.com) Received: (qmail 7253 invoked by alias); 25 Apr 2000 13:20:20 -0000 Delivered-To: fixup-java@FreeBSD.ORG@fixme Received: (qmail 7207 invoked by uid 0); 25 Apr 2000 13:20:20 -0000 Received: from unknown (HELO osti.methodsystems.com) (63.227.49.195) by dnvrpop3.dnvr.uswest.net with SMTP; 25 Apr 2000 13:20:20 -0000 Content-Length: 2210 Message-ID: X-Mailer: XFMail 1.4.4 on Linux X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200004251257.OAA50170@gil.physik.rwth-aachen.de> Date: Tue, 25 Apr 2000 07:19:18 -0600 (MDT) From: Edward Wolpert To: Christoph Kukulies Subject: RE: the latest - tomcat etc. Cc: java@FreeBSD.ORG Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org To make it short: yes ;-) (I assume your doing this under freebsd... and using the port installation version. I don't think there is a port or package of the Tomcat 3.1 version yet... ) First, you need to modify the http.conf file in /usr/local/etc/apache as it stipulates in the installation directions for tomcat. (Check the website) it's actually easy. They have 'default' instructions, and check the userguide as well for more complete information) Second, the tomcat.conf file needs to point to the proper location of the mod_jserv.so file. I found it best to explictly point to the one that the jserv installed. (Tomcat and jserv use the same version.) This is the LoadModule line. Mine looks like this: LoadModule jserv_module /usr/local/libexec/apache/mod_jserv.so I think this is the location where the jserv port automatically installs the mod_jserv.so file. You'll notice that you'll have to start tomcat manually. Do this first to test the installation. Once you know it works, create a script in the /usr/local/etc/rc.d directory, so tomcat starts automatically on reboot. Mine looks like this: #!/bin/sh TOMCATDIR=/usr/local/tomcat/current if [ -d $TOMCATDIR ] then /usr/local/tomcat/current/bin/tomcat.sh start echo -n ' tomcat' fi Note that I installed tomcat on my system in /usr/local/tomcat/current and modified the tomcat.sh script that came with it to include the correct system variables. On 25-Apr-2000 Christoph Kukulies wrote: > > Now that I have apach13 and apache-jserv running again I find that > the servlets it is using are still JSDK2.0 (so they are 2.0 servlets, right?) > > The 2.2 Servlet API seems to be the current and I'm having troubles with > a servlet I want to write and find myself with not existing methods > in the 2.0 API. > > To make it short: Is there a way to run the latest (tomcat) release > under apache13? > > -- > Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message Virtually, Edward Wolpert http://www.methodsystems.com/ 4e75 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Apr 25 6:32:37 2000 Delivered-To: freebsd-java@freebsd.org Received: from nets5.rz.rwth-aachen.de (nets5.rz.RWTH-Aachen.DE [137.226.144.13]) by hub.freebsd.org (Postfix) with ESMTP id F27BC37B6C8 for ; Tue, 25 Apr 2000 06:32:33 -0700 (PDT) (envelope-from kuku@gilberto.physik.RWTH-Aachen.DE) Received: from campino.informatik.rwth-aachen.de (campino.Informatik.RWTH-Aachen.DE [137.226.116.240]) by nets5.rz.rwth-aachen.de (8.9.1a/8.9.1/10) with ESMTP id PAA08547; Tue, 25 Apr 2000 15:32:26 +0200 (MET DST) Received: from gil.physik.rwth-aachen.de (gilberto.physik.rwth-aachen.de [137.226.30.2]) by campino.informatik.rwth-aachen.de (8.9.1a/8.9.1/3) with ESMTP id PAA16593; Tue, 25 Apr 2000 15:33:40 +0200 (MET DST) Received: (from kuku@localhost) by gil.physik.rwth-aachen.de (8.9.3/8.6.9) id PAA50457; Tue, 25 Apr 2000 15:32:31 +0200 (CEST) Date: Tue, 25 Apr 2000 15:32:31 +0200 From: Christoph Kukulies To: Sven Reimers Cc: Christoph Kukulies , java@FreeBSD.ORG Subject: Re: the latest - tomcat etc. Message-ID: <20000425153231.A50314@gil.physik.rwth-aachen.de> References: <200004251257.OAA50170@gil.physik.rwth-aachen.de> <39059B7C.D7F75388@tu-harburg.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <39059B7C.D7F75388@tu-harburg.de>; from reimers@tu-harburg.de on Tue, Apr 25, 2000 at 03:19:56PM +0200 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Apr 25, 2000 at 03:19:56PM +0200, Sven Reimers wrote: > Hi Christoph, > > AFAIK there is so far no neat integration as with JServ > (but plannend). > > For now just get the binary distribution, extract to a directory of > your choice and use tomcat.sh in /bin/ with option > start/run/stop ... > > If you want integration there should be a apache.conf file > (tomcat.conf?) > that you have to include instead of the JServ.conf include statement in > your apache conf. > > Remind: There is a new architecture involved > webapplications/war(webarchives) with > Serlvet 2.2 and JSP 1.1. (No zones) > Everything for tomcat is configured in the *.xml files > > Note: Following the J2EE Blue Prints (Guidelines for development) > direct use of servlets > (implementing HTTPServlet etc.) should be dropped in favour of JSP. > > Hope this helps What a world! Sigh. With this all is it worth buying a book like "Java Servlet Programming" by Jason Hunter these days? When will I come to driving when I have to lie under my car fixing the gear all day long? > > Sven > > Christoph Kukulies wrote: > > > > Now that I have apach13 and apache-jserv running again I find that > > the servlets it is using are still JSDK2.0 (so they are 2.0 servlets, right?) > > > > The 2.2 Servlet API seems to be the current and I'm having troubles with > > a servlet I want to write and find myself with not existing methods > > in the 2.0 API. > > > > To make it short: Is there a way to run the latest (tomcat) release > > under apache13? > > > > -- > > Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-java" in the body of the message -- Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Apr 25 7: 9:15 2000 Delivered-To: freebsd-java@freebsd.org Received: from rztsun.rz.tu-harburg.de (rztsun.rz.tu-harburg.de [134.28.200.14]) by hub.freebsd.org (Postfix) with ESMTP id D101C37B7D4 for ; Tue, 25 Apr 2000 07:09:10 -0700 (PDT) (envelope-from reimers@tu-harburg.de) Received: from tu-harburg.de (data.et8.tu-harburg.de [134.28.45.64]) by rztsun.rz.tu-harburg.de (8.9.0/8.8.8) with ESMTP id QAA12679; Tue, 25 Apr 2000 16:04:47 +0200 (MET DST) Message-ID: <3905A5FF.68AC1D27@tu-harburg.de> Date: Tue, 25 Apr 2000 16:04:47 +0200 From: Sven Reimers X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 3.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Max Khon Cc: freebsd-java@FreeBSD.ORG Subject: Re: Turbine (ant?) build problems References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I am so far building the beast with 1.2linux version. This works. Just out of curiosity I changed to 1.1.8 compiler and got the same error-message. Checking the CVS I found as the latest check in remark for the xml.jar library containing the Parser.java from the SUN-XML-Package: Rebuilt tr2 with jdk1.2.2 to hopefully get rid of the IllegalAccessError exception Maybe that is responsible for the problem? Hope this helps. Did you try to compile ANT yourself from src with 1.1.8? Sven Max Khon wrote: > > hi, there! > > Is there anyone who built Turbine with jdk1.1.8 (from ports, > FreeBSD 3.4-STABLE) successfully? > > running `sh build-turbine.sh' gives the following errors: > > --- cut here --- > master:~/Apache-Turbine-20000422/build$sh build-turbine.sh > Now building jar... > Buildfile: build-turbine.xml > java.lang.IncompatibleClassChangeError: Unimplemented interface method > at org.apache.tools.ant.SunParser.parse(SunParser.java:76) > at > org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:85) > at org.apache.tools.ant.Main.runBuild(Main.java:223) > at org.apache.tools.ant.Main.main(Main.java:191) > master~/Apache-Turbine-20000422/build$ > --- cut here --- > > Obviously something is wrong with `ant'. I tried different `ant' versions > (from Tomcat 3.1, latest `ant', `ant' that comes with Turbine) but with no > luck. Any ideas will be appreciated. > > /fjoe > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Apr 25 8: 1:16 2000 Delivered-To: freebsd-java@freebsd.org Received: from nets5.rz.rwth-aachen.de (nets5.rz.RWTH-Aachen.DE [137.226.144.13]) by hub.freebsd.org (Postfix) with ESMTP id 4128537B6C8 for ; Tue, 25 Apr 2000 08:01:14 -0700 (PDT) (envelope-from kuku@gilberto.physik.RWTH-Aachen.DE) Received: from campino.informatik.rwth-aachen.de (campino.Informatik.RWTH-Aachen.DE [137.226.116.240]) by nets5.rz.rwth-aachen.de (8.9.1a/8.9.1/10) with ESMTP id RAA25803 for ; Tue, 25 Apr 2000 17:01:12 +0200 (MET DST) Received: from gil.physik.rwth-aachen.de (gilberto.physik.rwth-aachen.de [137.226.30.2]) by campino.informatik.rwth-aachen.de (8.9.1a/8.9.1/3) with ESMTP id RAA17508 for ; Tue, 25 Apr 2000 17:02:26 +0200 (MET DST) Received: (from kuku@localhost) by gil.physik.rwth-aachen.de (8.9.3/8.6.9) id RAA50904 for java@freebsd.org; Tue, 25 Apr 2000 17:01:17 +0200 (CEST) Date: Tue, 25 Apr 2000 17:01:17 +0200 (CEST) From: Christoph Kukulies Message-Id: <200004251501.RAA50904@gil.physik.rwth-aachen.de> To: java@freebsd.org Subject: jsdk2.1 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At which point in the Apache-Jserv/Apache13 playing together is the information where the JSDK (2.0) goes, important? I'm now compiling with javac from jdk-1.2 (linux) and I'm trying to build jsdk2.1 (Java Servlet Development Kit 2.1) into the tree so that I can run at least the 2.1 Servlet API. -- Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Apr 25 9:52:43 2000 Delivered-To: freebsd-java@freebsd.org Received: from nets5.rz.rwth-aachen.de (nets5.rz.RWTH-Aachen.DE [137.226.144.13]) by hub.freebsd.org (Postfix) with ESMTP id CB74637B6D5 for ; Tue, 25 Apr 2000 09:52:39 -0700 (PDT) (envelope-from kuku@gilberto.physik.RWTH-Aachen.DE) Received: from campino.informatik.rwth-aachen.de (campino.Informatik.RWTH-Aachen.DE [137.226.116.240]) by nets5.rz.rwth-aachen.de (8.9.1a/8.9.1/10) with ESMTP id SAA12901 for ; Tue, 25 Apr 2000 18:52:37 +0200 (MET DST) Received: from gil.physik.rwth-aachen.de (gilberto.physik.rwth-aachen.de [137.226.30.2]) by campino.informatik.rwth-aachen.de (8.9.1a/8.9.1/3) with ESMTP id SAA18680 for ; Tue, 25 Apr 2000 18:53:50 +0200 (MET DST) Received: (from kuku@localhost) by gil.physik.rwth-aachen.de (8.9.3/8.6.9) id SAA95565 for java@freebsd.org; Tue, 25 Apr 2000 18:52:43 +0200 (CEST) Date: Tue, 25 Apr 2000 18:52:43 +0200 (CEST) From: Christoph Kukulies Message-Id: <200004251652.SAA95565@gil.physik.rwth-aachen.de> To: java@freebsd.org Subject: some bits of help still needed (with jakarta) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I ran the bootstrap.sh and build.sh in /usr/local/jakarta-ant and the build.sh in /usr/local/jakarta-tomcat. Now what? Running the startup shells script in ../build/jakarta gives me an exception saying that address already in use. Pointing to the fact that probably my apache server is running in the apache/jserv configuration. I couldn't find any direct installation instructions to configure apache though www.apache.org/jakarta has a vast FAQ on this kind of issues but it's hard to find the starting point. Edward (Wolpert) you wrote: "First, you need to modify the http.conf file in /usr/local/etc/apache as it stipulates in the installation directions for tomcat. (Check the website) it's actually easy. They have 'default' instructions, and check the userguide as well for more complete information)" I'm totally lost here. Cannot find the information you are referring. Sorry. Also, I'm reading that tomcat doesn't reload altered servlets automatically. I think apache/jserv does it. And I think it is an essential feature when one is developing servlets. Without this feature, is it really worth dealing with tomcat? Help! I need to get a working Servlet 2. API by tomorrow. Spent the whole day with downloading/compiling/installing tomcat now and to step further with development. S.O.S. -- Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Apr 25 10:51:15 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 68ADD37B937 for ; Tue, 25 Apr 2000 10:51:10 -0700 (PDT) (envelope-from rcf@ox.com) Received: from firewall.ox.com (root@localhost) by firewall.ox.com with ESMTP id NAA05985 for ; Tue, 25 Apr 2000 13:51:04 -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 NAA05981 for ; Tue, 25 Apr 2000 13:51:04 -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 NAA34512 for ; Tue, 25 Apr 2000 13:51:03 -0400 (EDT) (envelope-from rcf@ox.com) Message-ID: <3905DB07.D847E037@ox.com> Date: Tue, 25 Apr 2000 13:51:03 -0400 From: Rob Furphy X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.4-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: Time - is it right? Content-Type: multipart/mixed; boundary="------------8736DFD88AA5CD5BB55A8503" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------8736DFD88AA5CD5BB55A8503 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, I've got a native freebsd jdk1.2.2 built using FreeBSD 3.4 RELEASE (not STABLE) gcc 2.7.2.3 (not 2.95.2) lesstif 0.89.4 (not 0.89.9) GNU make 3.77 (not 3.78.1) GNU m4 1.4 dgs 0.5.8 (not 0.5.9) unixODBC 1.8.7 I am happy to report initial success in a number of areas. Multicast sockets work correctly. Database access is good. The build is only about an hour old so I haven't tested alot yet but I find that GregorianCalendar and Date are not working correctly. It seems the problem is in the TimeZone class or in what the TimeZone class relies upon. I've attached a small java program to demonstrate. Basically the default time zone under the native freebsd jdk comes out as 'Custom' and under the Linux RC4 the TimeZone is correct. Is this an issue with my system/build or are other people seeing this? Thanks to all for this port. I see good things ahead... Rob F --------------8736DFD88AA5CD5BB55A8503 Content-Type: text/plain; charset=us-ascii; name="foo.java" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="foo.java" /* When run under the Linux RC4 JDK I get the expected result and the correct time. Under the FreeBSD native port I seem to be getting GMT time, reported as 'Custom' in the GregorianCalendar.toString(). Daylight savings is also wrong but I suspect that is because the timezone is incorrect */ import java.util.*; public class foo { public foo(String args[]) { } static public void main(String args[]) { foo me = new foo(args); me.doIt(); System.exit(0); } private void doIt() { System.out.println(getHHMMSS(new GregorianCalendar())); System.out.println(getHHMMSS(new GregorianCalendar(TimeZone.getDefault()))); System.out.println(new Date().toString()); System.out.println("\n" + new GregorianCalendar().toString()); } private String getHHMMSS(GregorianCalendar now) { int hours = now.get(Calendar.HOUR_OF_DAY); if(hours > 12) { hours -= 12; } int mins = now.get(Calendar.MINUTE); int secs = now.get(Calendar.SECOND); String ampm = (now.get(Calendar.AM_PM) == Calendar.AM) ? "am" : "pm"; return timeString(hours, mins, secs) + ampm; } private String timeString(int hour, int minute, int sec) { String answer = "" + hour + ":"; if(minute < 10) { answer += "0"; } answer += minute + ":"; if(sec < 10) { answer += "0"; } answer += sec; return answer; } } --------------8736DFD88AA5CD5BB55A8503-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Apr 25 12: 2:28 2000 Delivered-To: freebsd-java@freebsd.org Received: from iclub.nsu.ru (iclub.nsu.ru [193.124.222.66]) by hub.freebsd.org (Postfix) with ESMTP id 97E8937B7E4 for ; Tue, 25 Apr 2000 12:02:20 -0700 (PDT) (envelope-from fjoe@iclub.nsu.ru) Received: from localhost (fjoe@localhost) by iclub.nsu.ru (8.9.3/8.9.3) with ESMTP id CAA02583; Wed, 26 Apr 2000 02:01:56 +0700 (NSS) (envelope-from fjoe@iclub.nsu.ru) Date: Wed, 26 Apr 2000 02:01:55 +0700 (NSS) From: Max Khon To: Sven Reimers Cc: freebsd-java@FreeBSD.ORG Subject: Re: Turbine (ant?) build problems In-Reply-To: <3905A5FF.68AC1D27@tu-harburg.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org hi, there! On Tue, 25 Apr 2000, Sven Reimers wrote: > I am so far building the beast with 1.2linux version. > This works. Just out of curiosity I changed to 1.1.8 compiler > and got the same error-message. we can't use 1.2.2 because JServ 1.1 has problems with 1.2.2 (linux) ("Resource temporary unavailable" error messages on start) and yes, I can compile turbine successfully with linux 1.2.2 > Checking the CVS I found as the latest check in remark for the xml.jar > library > containing the Parser.java from the SUN-XML-Package: > > Rebuilt tr2 with jdk1.2.2 to hopefully get rid of the IllegalAccessError > exception > > Maybe that is responsible for the problem? what is tr2? > Hope this helps. > > Did you try to compile ANT yourself from src with 1.1.8? yes, I tried ant from Tomcat 3.1 release and ant from latest snapshot. no luck. /fjoe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Apr 25 13: 8:38 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 A7F6437B740 for ; Tue, 25 Apr 2000 13:08:32 -0700 (PDT) (envelope-from rcf@ox.com) Received: from firewall.ox.com (root@localhost) by firewall.ox.com with ESMTP id QAA16766 for ; Tue, 25 Apr 2000 16:08:31 -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 QAA16762 for ; Tue, 25 Apr 2000 16:08:30 -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 QAA38492 for ; Tue, 25 Apr 2000 16:08:30 -0400 (EDT) (envelope-from rcf@ox.com) Message-ID: <3905FB3D.1ECE5D4B@ox.com> Date: Tue, 25 Apr 2000 16:08:30 -0400 From: Rob Furphy X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.4-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-java@FreeBSD.ORG Subject: Re: Time - is it right? References: <3905DB07.D847E037@ox.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Doh, I just reread Kees Jan Koster's site and found the exact bug I'm talking about, so it is known. I've done some more digging and found that the system property "user.timezone" is "GMT+00:00" so that is definately why the Calendar classes are reporting the time as they are. Perhaps the error is in java_props_md.c. In the GetJavaProperties() call there is a snippet of code for the variables hasDST and offset which are set. Is this getting set incorrectly? (The comment above the code is /*** XXX ***/). Rob F Rob Furphy wrote: > Hi, > > I've got a native freebsd jdk1.2.2 built using > > FreeBSD 3.4 RELEASE (not STABLE) > gcc 2.7.2.3 (not 2.95.2) > lesstif 0.89.4 (not 0.89.9) > GNU make 3.77 (not 3.78.1) > GNU m4 1.4 > dgs 0.5.8 (not 0.5.9) > unixODBC 1.8.7 > > I am happy to report initial success in a number of areas. Multicast > sockets work correctly. Database access is good. > > The build is only about an hour old so I haven't tested alot yet but I > find that GregorianCalendar > and Date are not working correctly. > > It seems the problem is in the TimeZone class or in what the TimeZone > class relies upon. I've attached a small > java program to demonstrate. Basically the default time zone under the > native freebsd jdk comes out as 'Custom' > and under the Linux RC4 the TimeZone is correct. Is this an issue with > my system/build or are other people seeing this? > > Thanks to all for this port. I see good things ahead... > > Rob F > > ------------------------------------------------------------------------ > /* > When run under the Linux RC4 JDK I get the expected result and the correct time. > Under the FreeBSD native port I seem to be getting GMT time, reported as 'Custom' > in the GregorianCalendar.toString(). Daylight savings is also wrong but I suspect > that is because the timezone is incorrect > */ > > > import java.util.*; > > public class foo { > > public foo(String args[]) { > } > > static public void main(String args[]) { > > foo me = new foo(args); > me.doIt(); > > System.exit(0); > } > > private void doIt() { > > System.out.println(getHHMMSS(new GregorianCalendar())); > System.out.println(getHHMMSS(new GregorianCalendar(TimeZone.getDefault()))); > > System.out.println(new Date().toString()); > > System.out.println("\n" + new GregorianCalendar().toString()); > } > > private String getHHMMSS(GregorianCalendar now) { > > int hours = now.get(Calendar.HOUR_OF_DAY); > if(hours > 12) { > hours -= 12; > } > int mins = now.get(Calendar.MINUTE); > int secs = now.get(Calendar.SECOND); > > String ampm = (now.get(Calendar.AM_PM) == Calendar.AM) ? "am" : "pm"; > > return timeString(hours, mins, secs) + ampm; > } > > private String timeString(int hour, int minute, int sec) { > > String answer = "" + hour + ":"; > > if(minute < 10) { > answer += "0"; > } > answer += minute + ":"; > > if(sec < 10) { > answer += "0"; > } > answer += sec; > > return answer; > } > > } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Apr 25 15: 7:33 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 EEDA037BE95 for ; Tue, 25 Apr 2000 15:07:21 -0700 (PDT) (envelope-from rcf@ox.com) Received: from firewall.ox.com (root@localhost) by firewall.ox.com with ESMTP id SAA23666 for ; Tue, 25 Apr 2000 18:07:20 -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 SAA23660 for ; Tue, 25 Apr 2000 18:07:20 -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 SAA25156; Tue, 25 Apr 2000 18:07:19 -0400 (EDT) (envelope-from rcf@ox.com) Message-ID: <39061716.2E69B654@ox.com> Date: Tue, 25 Apr 2000 18:07:19 -0400 From: Rob Furphy X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.4-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-java@freebsd.org Cc: glewis@trc.adelaide.edu.au Subject: Pre-alpha JDK 1.2.2 TimeZone (time) bug fixed! Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello all, I really did some digging and I have solved the problem with the JDK for freebsd not figuring out the correct timezone (and ultimately never having the correct time). This fixes the time but the locale is still not quite correct (I get "America/Santiago" instead of "America/New_York"). At least the time is now correct. Perhaps that can be fixed at a later date. I don't know the formal way to get this into the next patchset but here is the fix: in src/freebsd/native/java/lang/java_props_md.c at line 283 you'll find #ifdef __FreeBSD__ /*** XXX ***/ hasDST = local_tm->tm_isdst; offset = local_tm->tm_gmtoff; #else hasDST = daylight == 0 ? kStandard : kDaylight; offset = timezone / -60; /* Conventions reversed between UNIX & Java */ #endif change this to: #ifdef __FreeBSD__ /*** XXX ***/ hasDST = local_tm->tm_isdst; offset = local_tm->tm_gmtoff / 60; /**** Here's the changed line ****/ #else hasDST = daylight == 0 ? kStandard : kDaylight; offset = timezone / -60; /* Conventions reversed between UNIX & Java */ #endif Rob F To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Apr 25 15:22: 1 2000 Delivered-To: freebsd-java@freebsd.org Received: from research.lyrisoft.com (cc577769-a.jrsycty1.nj.home.com [24.11.67.11]) by hub.freebsd.org (Postfix) with SMTP id 9945737C0B3 for ; Tue, 25 Apr 2000 15:21:55 -0700 (PDT) (envelope-from taso@lyrisoft.com) Received: (qmail 14090 invoked from network); 25 Apr 2000 22:21:53 -0000 Received: from localhost (HELO lyrisoft.com) (taso@127.0.0.1) by localhost with SMTP; 25 Apr 2000 22:21:53 -0000 Message-ID: <39061A80.C6EED679@lyrisoft.com> Date: Tue, 25 Apr 2000 18:21:52 -0400 From: Taso Lyristis X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.2.13 i686) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-java@FreeBSD.ORG Subject: Re: Turbine (ant?) build problems References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Max Khon wrote: > > we can't use 1.2.2 because JServ 1.1 has problems with 1.2.2 (linux) > ("Resource temporary unavailable" error messages on start) > and yes, I can compile turbine successfully with linux 1.2.2 This is most likely the same socket-related bug that I posted yesterday, subject titled "Socket bug and workaround example for FreeBSD JDK 1.2.2". As it turns out, my workaround isn't really good enough. Anyway, I believe that the fix for this bug has to be within native code since that's where the exception originates. Trying to work around it in java was silly. Question: does any TCP/IP server socket code work at all under FreeBSD's JDK1.2.2, without throwing "SocketException: Resource temporarily unavailable"?? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Apr 25 16: 5:15 2000 Delivered-To: freebsd-java@freebsd.org Received: from dnvrpop5.dnvr.uswest.net (dnvrpop5.dnvr.uswest.net [206.196.128.7]) by hub.freebsd.org (Postfix) with SMTP id 9D49137B6AA for ; Tue, 25 Apr 2000 16:05:09 -0700 (PDT) (envelope-from wolpert@methodsystems.com) Received: (qmail 27603 invoked by alias); 25 Apr 2000 23:05:06 -0000 Delivered-To: fixup-java@FreeBSD.ORG@fixme Received: (qmail 27534 invoked by uid 0); 25 Apr 2000 23:05:04 -0000 Received: from unknown (HELO osti.methodsystems.com) (63.227.49.195) by dnvrpop5.dnvr.uswest.net with SMTP; 25 Apr 2000 23:05:04 -0000 Content-Length: 2455 Message-ID: X-Mailer: XFMail 1.4.4 on Linux X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200004251652.SAA95565@gil.physik.rwth-aachen.de> Date: Tue, 25 Apr 2000 17:04:09 -0600 (MDT) From: Edward Wolpert To: Christoph Kukulies Subject: RE: some bits of help still needed (with jakarta) Cc: java@FreeBSD.ORG Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org That's too much work... there's an easier way... On 25-Apr-2000 Christoph Kukulies wrote: > > I ran the bootstrap.sh and build.sh in /usr/local/jakarta-ant > and the build.sh in /usr/local/jakarta-tomcat. Rather, download the tomcat 3.1 binary. Untar it in the directory of your choice. Don't rebuild it. > Now what? Running the startup shells script in ../build/jakarta > gives me an exception saying that address already in use. Pointing to > the fact that probably my apache server is running in the > apache/jserv configuration. Is apache Manual mode on or off? it should be set to 'on' > > I couldn't find any direct installation instructions to configure > apache though www.apache.org/jakarta has a vast FAQ on this kind > of issues but it's hard to find the starting point. > I'm totally lost here. Cannot find the information you are > referring. Sorry. Try this URL: http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/uguide/tomcat_ug.html It goes in detail on several versions of tomcat.conf and other configuration files. Do a search for tomcat.conf on the page. That should help. > > Also, I'm reading that tomcat doesn't reload altered servlets automatically. > I think apache/jserv does it. And I think it is an essential feature when one > is developing servlets. Without this feature, is it really worth > dealing with tomcat? It does reload servlets, but it's an option. (I think reload is set on by default.) Remember, that servlets now need to be in the webapp archive location. Specifically, the zones are (basically) replaced by the webapps structure. So, a webapp should declare the servlets that are available to the web server. (Forget about zones.) If the webapp is set to reload, any classes in the webapp structure will be reloaded when they change. > Spent the whole day with downloading/compiling/installing tomcat now > and to step further with development. Also, you (shouldn't) need to recompile anything. Re-use the mod_jserv.so from the jserv package you already have. The above URL should help. (Note that I found the URL at the bottom of the main tomcat page... at http://jakarta.apache.org/tomcat/index.html under the 'user's guide' link. The 'application developers guide' has some useful information, but the first URL that I gave should provide the most amount of help.) Virtually, Edward Wolpert http://www.methodsystems.com/ 4e75 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Apr 25 18:53:46 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 A420837B700 for ; Tue, 25 Apr 2000 18:53:42 -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 LAA80862; Wed, 26 Apr 2000 11:23:34 +0930 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200004260153.LAA80862@ares.trc.adelaide.edu.au> Subject: Re: Pre-alpha JDK 1.2.2 TimeZone (time) bug fixed! In-Reply-To: <39061716.2E69B654@ox.com> from Rob Furphy at "Apr 25, 2000 06:07:19 pm" To: Rob Furphy Date: Wed, 26 Apr 2000 11:23:34 +0930 (CST) Cc: freebsd-java@freebsd.org, glewis@trc.adelaide.edu.au 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 Hi Rob, > I really did some digging and I have solved the problem with the JDK for > freebsd not figuring > out the correct timezone (and ultimately never having the correct > time). This fixes the time > but the locale is still not quite correct (I get "America/Santiago" > instead of "America/New_York"). > At least the time is now correct. Perhaps that can be fixed at a later > date. I'll try and get a look at the locale problem. Not sure that it will be before the next patchset though. > I don't know the formal way to get this into the next patchset but here > is the fix: This cuts it :). Thanks very much Rob, I will add this in before the next patchset. -- 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 Apr 25 23:47:19 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 EB25437BCFA for ; Tue, 25 Apr 2000 23:47:16 -0700 (PDT) (envelope-from taguchi@tohoku.iij.ad.jp) Received: by tohokugw.tohoku.iij.ad.jp; id PAA00152; Wed, 26 Apr 2000 15:47:16 +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 xma000150; Wed, 26 Apr 00 15:46:20 +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 PAA38435 for ; Wed, 26 Apr 2000 15:46:26 +0900 (JST) Date: Wed, 26 Apr 2000 15:46:25 +0900 Message-ID: To: freebsd-java@freebsd.org Subject: Re: Pre-alpha JDK 1.2.2 TimeZone (time) bug fixed! In-Reply-To: In your message of "Wed, 26 Apr 2000 11:23:34 +0930 (CST)" <200004260153.LAA80862@ares.trc.adelaide.edu.au> References: <39061716.2E69B654@ox.com> <200004260153.LAA80862@ares.trc.adelaide.edu.au> User-Agent: Wanderlust/2.2.18 (Please Forgive Me) WEMIKO/1.13.12 (Euglena sociabilis) FLIM/1.13.2 (Kasanui) MULE XEmacs/21.1 (patch 9) (Canyonlands) (i386--freebsd) MIME-Version: 1.0 (generated by WEMIKO 1.13.12 - "Euglena sociabilis") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, src/freebsd/native/java/lang/java_props_md.c uses setlocale(3). So I think it's better that linling libxpg4. makefiles/Defs-freebsd.gmk LDLIBS_COMMON = -lhpi$(SUFFIX) $(JVMLIB) -lgcc -lxpg4 -lc ^^^^^^ add this. Thanks. Taguchi,T. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Apr 25 23:47:54 2000 Delivered-To: freebsd-java@freebsd.org Received: from rztsun.rz.tu-harburg.de (rztsun.rz.tu-harburg.de [134.28.200.14]) by hub.freebsd.org (Postfix) with ESMTP id D9B6D37B765 for ; Tue, 25 Apr 2000 23:47:47 -0700 (PDT) (envelope-from reimers@tu-harburg.de) Received: from tu-harburg.de (data.et8.tu-harburg.de [134.28.45.64]) by rztsun.rz.tu-harburg.de (8.9.0/8.8.8) with ESMTP id IAA15610; Wed, 26 Apr 2000 08:47:43 +0200 (MET DST) Message-ID: <3906910B.AF58B6F7@tu-harburg.de> Date: Wed, 26 Apr 2000 08:47:39 +0200 From: Sven Reimers X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 3.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Christoph Kukulies Cc: java@FreeBSD.ORG Subject: Re: some bits of help still needed (with jakarta) References: <200004251652.SAA95565@gil.physik.rwth-aachen.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Chris, Christoph Kukulies wrote: > > I ran the bootstrap.sh and build.sh in /usr/local/jakarta-ant > and the build.sh in /usr/local/jakarta-tomcat. > > Now what? Running the startup shells script in ../build/jakarta > gives me an exception saying that address already in use. Pointing to > the fact that probably my apache server is running in the > apache/jserv configuration. It is not Apache itself but the connection Apache to Jserv that is causing the problem. For a start you may just stop your Apache ant start tomcat standalone. You can reach it in standard configuration under :8080. This should work. After that change the Apache configuration in the following way: #Include etc/apache/jserv.conf // Comment out this line in your apache.conf Include /usr/local/tomcat/etc/tomcat.conf // Put in this instead (where ever your tomcat.conf lives) This takes care of your problem. Here my tomcat.conf ############################################################################### # Apache JServ Configuration File # ############################################################################### # Note: this file should be appended or included into your httpd.conf # Tell Apache on win32 to load the Apache JServ communication module # LoadModule jserv_module modules/ApacheModuleJServ.dll # Tell Apache on Unix to load the Apache JServ communication module # For shared object builds only!!! # @LOAD_OR_NOT@LoadModule jserv_module @LIBEXECDIR@/mod_jserv.so LoadModule jserv_module libexec/apache/mod_jserv.so # Do not edit! ApJServManual on ApJServDefaultProtocol ajpv12 ApJServSecretKey DISABLED ApJServMountCopy on ApJServLogLevel notice ApJServLogFile /var/log/jserv.log ### Change if you run tomcat on a different host #ApJServDefaultHost localhost ApJServDefaultPort 8007 #################### All jsp files will go to tomcat #################### ApJServMount default /root AddType test/jsp .jsp AddHandler jserv-servlet .jsp ############################## Context mapping - all requests go to tomcat ApJServMount /examples /root ApJServMount /JCVSlet /root ############################## Context mapping - you need to "deploy" # ( copy or ln -s ) the context into htdocs ## # ApJservMount /CONTEXT/servlet /root # # AllowOverride None # deny from all # Hope this fixes your problems (at least for a start) Sven > > I couldn't find any direct installation instructions to configure > apache though www.apache.org/jakarta has a vast FAQ on this kind > of issues but it's hard to find the starting point. > > Edward (Wolpert) you wrote: > > "First, you need to modify the http.conf file in /usr/local/etc/apache as > it stipulates in the installation directions for tomcat. (Check the website) > it's actually easy. They have 'default' instructions, and check the userguide > as well for more complete information)" > > I'm totally lost here. Cannot find the information you are > referring. Sorry. > > Also, I'm reading that tomcat doesn't reload altered servlets automatically. > I think apache/jserv does it. And I think it is an essential feature when one > is developing servlets. Without this feature, is it really worth > dealing with tomcat? > > Help! I need to get a working Servlet 2. API > by tomorrow. > > Spent the whole day with downloading/compiling/installing tomcat now > and to step further with development. > > S.O.S. > > -- > Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Apr 26 6: 7:54 2000 Delivered-To: freebsd-java@freebsd.org Received: from rztsun.rz.tu-harburg.de (rztsun.rz.tu-harburg.de [134.28.200.14]) by hub.freebsd.org (Postfix) with ESMTP id 61C9037B7E3 for ; Wed, 26 Apr 2000 06:07:41 -0700 (PDT) (envelope-from reimers@tu-harburg.de) Received: from tu-harburg.de (data.et8.tu-harburg.de [134.28.45.64]) by rztsun.rz.tu-harburg.de (8.9.0/8.8.8) with ESMTP id PAA08462; Wed, 26 Apr 2000 15:03:15 +0200 (MET DST) Message-ID: <3906E913.4F2EBC6D@tu-harburg.de> Date: Wed, 26 Apr 2000 15:03:15 +0200 From: Sven Reimers X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 3.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Max Khon Cc: freebsd-java@FreeBSD.ORG Subject: Re: Turbine (ant?) build problems References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I found this in the Turbine FAQ: This occurred for me with Blackdown JDK 1.1.8 v1 on Redhat Linux 6.0 (with a few library upgrades such as glibc). I upgraded to Blackdown JDK 1.2.2 RC4 and the problem went away. Another suggestion was: If you get the java.lang.IncompatibleClassChangeError when trying to build Turbine, move ant.jar AND xml.jar to the front of the classpath in the build script right after the CLASSPATH variable. Hope this helps. Sven Max Khon wrote: > > hi, there! > > On Tue, 25 Apr 2000, Sven Reimers wrote: > > > I am so far building the beast with 1.2linux version. > > This works. Just out of curiosity I changed to 1.1.8 compiler > > and got the same error-message. > > we can't use 1.2.2 because JServ 1.1 has problems with 1.2.2 (linux) > ("Resource temporary unavailable" error messages on start) > and yes, I can compile turbine successfully with linux 1.2.2 > > > Checking the CVS I found as the latest check in remark for the xml.jar > > library > > containing the Parser.java from the SUN-XML-Package: > > > > Rebuilt tr2 with jdk1.2.2 to hopefully get rid of the IllegalAccessError > > exception > > > > Maybe that is responsible for the problem? > > what is tr2? > > > Hope this helps. > > > > Did you try to compile ANT yourself from src with 1.1.8? > > yes, I tried ant from Tomcat 3.1 release and ant from latest snapshot. > no luck. > > /fjoe > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Apr 26 6:49:10 2000 Delivered-To: freebsd-java@freebsd.org Received: from rztsun.rz.tu-harburg.de (rztsun.rz.tu-harburg.de [134.28.200.14]) by hub.freebsd.org (Postfix) with ESMTP id 7E33D37BBF3 for ; Wed, 26 Apr 2000 06:49:01 -0700 (PDT) (envelope-from reimers@tu-harburg.de) Received: from tu-harburg.de (data.et8.tu-harburg.de [134.28.45.64]) by rztsun.rz.tu-harburg.de (8.9.0/8.8.8) with ESMTP id PAA11067; Wed, 26 Apr 2000 15:44:43 +0200 (MET DST) Message-ID: <3906F2CB.80948C44@tu-harburg.de> Date: Wed, 26 Apr 2000 15:44:43 +0200 From: Sven Reimers X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 3.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Max Khon , freebsd-java@FreeBSD.ORG Subject: Re: Turbine (ant?) build problems References: <3906E913.4F2EBC6D@tu-harburg.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Got Turbine and Tomcat running on FreeBSD 3.2 with jdk1.1.8. Compilation with jdk1.2linux. Sven Sven Reimers wrote: > > Hi, > > I found this in the Turbine FAQ: > > This occurred for me with Blackdown JDK 1.1.8 v1 on Redhat Linux 6.0 > (with a few library upgrades such as glibc). I upgraded to Blackdown JDK > 1.2.2 RC4 and the problem went away. > > Another suggestion was: > > If you get the java.lang.IncompatibleClassChangeError when trying > to build Turbine, move ant.jar AND xml.jar to the front of the > classpath in the build script right after the CLASSPATH variable. > > Hope this helps. > > Sven > > Max Khon wrote: > > > > hi, there! > > > > On Tue, 25 Apr 2000, Sven Reimers wrote: > > > > > I am so far building the beast with 1.2linux version. > > > This works. Just out of curiosity I changed to 1.1.8 compiler > > > and got the same error-message. > > > > we can't use 1.2.2 because JServ 1.1 has problems with 1.2.2 (linux) > > ("Resource temporary unavailable" error messages on start) > > and yes, I can compile turbine successfully with linux 1.2.2 > > > > > Checking the CVS I found as the latest check in remark for the xml.jar > > > library > > > containing the Parser.java from the SUN-XML-Package: > > > > > > Rebuilt tr2 with jdk1.2.2 to hopefully get rid of the IllegalAccessError > > > exception > > > > > > Maybe that is responsible for the problem? > > > > what is tr2? > > > > > Hope this helps. > > > > > > Did you try to compile ANT yourself from src with 1.1.8? > > > > yes, I tried ant from Tomcat 3.1 release and ant from latest snapshot. > > no luck. > > > > /fjoe > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-java" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Apr 26 7:10:20 2000 Delivered-To: freebsd-java@freebsd.org Received: from iclub.nsu.ru (iclub.nsu.ru [193.124.222.66]) by hub.freebsd.org (Postfix) with ESMTP id A414F37B7F0 for ; Wed, 26 Apr 2000 07:08:56 -0700 (PDT) (envelope-from fjoe@iclub.nsu.ru) Received: from localhost (fjoe@localhost) by iclub.nsu.ru (8.9.3/8.9.3) with ESMTP id VAA39482; Wed, 26 Apr 2000 21:07:26 +0700 (NSS) (envelope-from fjoe@iclub.nsu.ru) Date: Wed, 26 Apr 2000 21:07:26 +0700 (NSS) From: Max Khon To: Sven Reimers Cc: freebsd-java@FreeBSD.ORG Subject: Re: Turbine (ant?) build problems In-Reply-To: <3906E913.4F2EBC6D@tu-harburg.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org hi, there! On Wed, 26 Apr 2000, Sven Reimers wrote: > If you get the java.lang.IncompatibleClassChangeError when trying > to build Turbine, move ant.jar AND xml.jar to the front of the > classpath in the build script right after the CLASSPATH variable. thanks a lot! Seems that I overlooked this topic in FAQ /fjoe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Apr 26 14: 5:39 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 BB06337BA4F for ; Wed, 26 Apr 2000 14:05:32 -0700 (PDT) (envelope-from rcf@ox.com) Received: from firewall.ox.com (root@localhost) by firewall.ox.com with ESMTP id RAA08626 for ; Wed, 26 Apr 2000 17:05:31 -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 RAA08620 for ; Wed, 26 Apr 2000 17:05:30 -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 RAA06816; Wed, 26 Apr 2000 17:05:30 -0400 (EDT) (envelope-from rcf@ox.com) Message-ID: <39075A1A.70DBE0F1@ox.com> Date: Wed, 26 Apr 2000 17:05:30 -0400 From: Rob Furphy X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.4-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-java@freebsd.org, glewis@trc.adelaide.edu.au Subject: *BETTER* Pre-alpha JDK 1.2.2 TimeZone (time) bug fix References: <39061716.2E69B654@ox.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello all, In my fix from yesterday although the wall clock time was correct, the timezone was incorrect and the JVM was defaulting to a generic timezone which set the jvm's clock to the best guess of what a 'wall clock' would say the time was. Needless to say this eventually fails if you ever cross a daylight savings time boundry while the jvm is running. I have a better code fix now which I think will work for all cases and give the correct time and timezone. I now get the correct time and the timezone is "America/New_York" as I expect. Could everyone else please try this new change to see if it works in your timezone? My informal way to get this into the next patchset is here: in src/freebsd/native/java/lang/java_props_md.c at line 283 you'll find #ifdef __FreeBSD__ /*** XXX ***/ hasDST = local_tm->tm_isdst; offset = local_tm->tm_gmtoff; #else hasDST = daylight == 0 ? kStandard : kDaylight; offset = timezone / -60; /* Conventions reversed between UNIX & Java */ #endif change this to: #ifdef __FreeBSD__ /*** XXX ***/ hasDST = (local_tm->tm_isdst == 0) ? kStandard : kDaylight; /*** changed line ***/ offset = (local_tm->tm_gmtoff / 60) - (local_tm->tm_isdst == 0 ? 0 : 60); /*** re-changed line ***/ #else hasDST = daylight == 0 ? kStandard : kDaylight; offset = timezone / -60; /* Conventions reversed between UNIX & Java */ #endif Rob F To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Apr 26 15:11: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 05FB537B781 for ; Wed, 26 Apr 2000 15:11: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 HAA14431; Thu, 27 Apr 2000 07:41:37 +0930 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200004262211.HAA14431@ares.trc.adelaide.edu.au> Subject: Re: Pre-alpha JDK 1.2.2 TimeZone (time) bug fixed! In-Reply-To: from "taguchi@tohoku.iij.ad.jp" at "Apr 26, 2000 03:46:25 pm" To: taguchi@tohoku.iij.ad.jp Date: Thu, 27 Apr 2000 07:41:37 +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 Dear Taguchi-san, > src/freebsd/native/java/lang/java_props_md.c uses setlocale(3). > So I think it's better that linling libxpg4. > > makefiles/Defs-freebsd.gmk > LDLIBS_COMMON = -lhpi$(SUFFIX) $(JVMLIB) -lgcc -lxpg4 -lc > ^^^^^^ add this. > Thanks. > Taguchi,T. I must admit to not being very familiar with setlocale. Could you please elaborate as to why the version in libxpg4 is preferred? -- 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 Apr 26 17:51:20 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 1D3AF37B6DE for ; Wed, 26 Apr 2000 17:51:17 -0700 (PDT) (envelope-from taguchi@tohoku.iij.ad.jp) Received: by tohokugw.tohoku.iij.ad.jp; id JAA06096; Thu, 27 Apr 2000 09:51:15 +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 xma006092; Thu, 27 Apr 00 09:51:03 +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 JAA41319; Thu, 27 Apr 2000 09:50:05 +0900 (JST) Date: Thu, 27 Apr 2000 09:50:04 +0900 Message-ID: To: glewis@trc.adelaide.edu.au Cc: freebsd-java@FreeBSD.ORG Subject: Re: Pre-alpha JDK 1.2.2 TimeZone (time) bug fixed! In-Reply-To: In your message of "Thu, 27 Apr 2000 07:41:37 +0930 (CST)" <200004262211.HAA14431@ares.trc.adelaide.edu.au> References: <200004262211.HAA14431@ares.trc.adelaide.edu.au> 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, Greg. > > src/freebsd/native/java/lang/java_props_md.c uses setlocale(3). > > So I think it's better that linling libxpg4. > > > > makefiles/Defs-freebsd.gmk > > LDLIBS_COMMON = -lhpi$(SUFFIX) $(JVMLIB) -lgcc -lxpg4 -lc > > ^^^^^^ add this. > > Thanks. > > Taguchi,T. > > I must admit to not being very familiar with setlocale. Could you please > elaborate as to why the version in libxpg4 is preferred? In /usr/share/locale, there are many locale data. And libc includes setlocale(3). So many people think that we can use many many locales under the /usr/share/locale/. But this is incorrect. Actuary, setlocale(3) in libc supports very few locales, such as default C, ,iso-8859-*, and so on. Asian locales, such as ja,kr, and chinese locales are NOT supported! To support all locales under /usr/share/locale/, we must link libxgp4. So current XFree86 applications link xpg4 defaultly. See /usr/X11R6/lib/X11/config/FreeBSD.cf. Thanks. PS: My modification is not tested yet. Because I'm using FreeBSD-4.0-stable. Compilation was OK. But I can not test locale related features. Taguchi,T. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Apr 26 18:28:52 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 81C6037B677 for ; Wed, 26 Apr 2000 18:28:45 -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 KAA48402; Thu, 27 Apr 2000 10:58:37 +0930 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200004270128.KAA48402@ares.trc.adelaide.edu.au> Subject: Re: Pre-alpha JDK 1.2.2 TimeZone (time) bug fixed! In-Reply-To: from "taguchi@tohoku.iij.ad.jp" at "Apr 27, 2000 09:50:04 am" To: taguchi@tohoku.iij.ad.jp Date: Thu, 27 Apr 2000 10:58:37 +0930 (CST) Cc: glewis@trc.adelaide.edu.au, 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 Hi Taguchi-san, > > > src/freebsd/native/java/lang/java_props_md.c uses setlocale(3). > > > So I think it's better that linling libxpg4. > > > > > > makefiles/Defs-freebsd.gmk > > > LDLIBS_COMMON = -lhpi$(SUFFIX) $(JVMLIB) -lgcc -lxpg4 -lc > > > ^^^^^^ add this. > > > Thanks. > > > Taguchi,T. > > > > I must admit to not being very familiar with setlocale. Could you please > > elaborate as to why the version in libxpg4 is preferred? > > In /usr/share/locale, there are many locale data. > And libc includes setlocale(3). > So many people think that we can use many many locales under the > /usr/share/locale/. > > But this is incorrect. > Actuary, setlocale(3) in libc supports very few locales, such as default C, > ,iso-8859-*, and so on. Asian locales, such as ja,kr, and chinese locales > are NOT supported! > > To support all locales under /usr/share/locale/, we must link libxgp4. > > So current XFree86 applications link xpg4 defaultly. > See /usr/X11R6/lib/X11/config/FreeBSD.cf. Thanks for the explanation :). I suggest we localise the change to build/freebsd/java/java/GNUmakefile where libjava.so is built (this is where java_props_md gets linked in). E.g. --- build/freebsd/java/java/GNUmakefile~ Tue Oct 12 02:58:50 1999 +++ build/freebsd/java/java/GNUmakefile Thu Apr 27 10:44:15 2000 @@ -106,7 +106,7 @@ @echo "<< PS: My modification is not tested yet. Because I'm using FreeBSD-4.0-stable. > Compilation was OK. But I can not test locale related features. Right. Time to get the next patchset out so you can :). -- 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 Apr 26 20: 5:23 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 80F2C37BD6A for ; Wed, 26 Apr 2000 20:05:16 -0700 (PDT) (envelope-from taguchi@tohoku.iij.ad.jp) Received: by tohokugw.tohoku.iij.ad.jp; id MAA08303; Thu, 27 Apr 2000 12:05:15 +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 xma008299; Thu, 27 Apr 00 12:05:09 +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 MAA41804; Thu, 27 Apr 2000 12:05:16 +0900 (JST) Date: Thu, 27 Apr 2000 12:05:15 +0900 Message-ID: To: glewis@trc.adelaide.edu.au Cc: taguchi@tohoku.iij.ad.jp, freebsd-java@FreeBSD.ORG Subject: Re: Pre-alpha JDK 1.2.2 TimeZone (time) bug fixed! In-Reply-To: In your message of "Thu, 27 Apr 2000 10:58:37 +0930 (CST)" <200004270128.KAA48402@ares.trc.adelaide.edu.au> References: <200004270128.KAA48402@ares.trc.adelaide.edu.au> 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 > This should IMO, DTRT. I see there is also a call to setlocale() in > awt_MToolkit.c which links into libawt.so, but this one sets the locale > to the default "C" locale which should be ok based on your explanation. > Comments? I think following code is seemed correct. if (!XSupportsLocale()) { <--- This means system does not support user's locale. if jdk use libc's setlocale, and user's locale is japanese or korea, then XSupportLocale() will return FALSE. jio_fprintf(stderr, "current locale is not supported in X11, locale is set to C"); setlocale(LC_ALL, "C"); } By other hand, In normal Xt-based (include Motif/lesstif) programs, when create application context, it must call XtSetLanguageProc(), such as: void main () { ... XtSetLanguageProc(NULL, NULL, NULL); toplevel = XtAppInitialize (&app_con, ..... ); ... } But awt_MToolkit.c call XtToolkitInitialize() only. I think it may be incorrect. Sorry, I can not say certainly. I was a X programmer LOG TIME AGO, so I forget many many things. > > PS: My modification is not tested yet. Because I'm using FreeBSD-4.0-stable. > > Compilation was OK. But I can not test locale related features. > > Right. Time to get the next patchset out so you can :). I'm waiting! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Apr 27 23:16: 3 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 C8FA537B6E2 for ; Thu, 27 Apr 2000 23:15:59 -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 PAA97858 for freebsd-java@freebsd.org; Fri, 28 Apr 2000 15:45:58 +0930 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200004280615.PAA97858@ares.trc.adelaide.edu.au> Subject: Alpha JDK 1.2.2 patchset 7 To: freebsd-java@freebsd.org Date: Fri, 28 Apr 2000 15:45:58 +0930 (CST) 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 This is a new set of ALPHA source code patches for the JDK 1.2.2 source. These patches are unofficial and no abuse should be directed towards the FreeBSD java porting team for them :). This new set (patchset 7) can be gotten from http://www.eyesbeyond.com/freebsd-jdk122-patches-7.tar.gz (this message is included in the tar ball as the file ANNOUNCEMENT). Note that the latest version of the patchset can always be gotten from http://www.eyesbeyond.com/freebsd-jdk122-patches-latest.tar.gz Please read the file THANKS for a list of the large number of people who should be thanked that things have gotten this far! The following ISSUES have been addressed since patchset 6 (see the ISSUES files for more details). Issue 1. The JDK now runs correctly on FreeBSD 4.x and 5.x thanks to Steve Price! This was the big step that got me to call the port alpha rather than pre-alpha. Issue 3. Some preliminary work has been done on the Alpha port (again by Steve Price). Issue 14. The support for other JIT compilers, which got somewhat broken in patchset 6, is working again. Issue 8c. The "Unsatisfied link error" that people got when trying to use libcmm.so has been (kind of) fixed. That is, its been fixed, but not in the correct fashion. Additional problems that hadn't made it to the ISSUES list that have been addressed in this patchset: 1. The JDK now receives the right timezone information (thanks to Rob Furphy). 2. A much greater range of locales should now be supported (thanks to Taguchi-san ). 3. There should be no more permissions problems with building the release-images target. In addition to this, some of the fixes from the released Linux JDK source code have been merged in. For more information about the port, consult Kees Jan Koster's web pages at http://web.inter.nl.net/users/kjkoster/java/index.html Please test as much as possible! -- 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 Fri Apr 28 0:38:52 2000 Delivered-To: freebsd-java@freebsd.org Received: from juice.shallow.net (node16229.a2000.nl [24.132.98.41]) by hub.freebsd.org (Postfix) with ESMTP id B1B6637B659 for ; Fri, 28 Apr 2000 00:38:47 -0700 (PDT) (envelope-from joshua@roughtrade.net) Received: from localhost (joshua@localhost) by juice.shallow.net (8.9.3/8.9.3) with ESMTP id JAA03612 for ; Fri, 28 Apr 2000 09:38:47 +0200 (CEST) (envelope-from joshua@roughtrade.net) Date: Fri, 28 Apr 2000 09:38:47 +0200 (CEST) From: Joshua Goodall X-Sender: joshua@juice.shallow.net To: freebsd-java@FreeBSD.ORG Subject: Japanese :) ? In-Reply-To: <200004280615.PAA97858@ares.trc.adelaide.edu.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I may appreciate the beautiful, flowing Japanese character set, but http://www.freebsd.org/java/dists/(*.html) returns it by default in all four of my test browsers (including telnet to port 80) :) sweet, but please fiks :) - J To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Apr 28 0:45:52 2000 Delivered-To: freebsd-java@freebsd.org Received: from juice.shallow.net (node16229.a2000.nl [24.132.98.41]) by hub.freebsd.org (Postfix) with ESMTP id 6786E37B795; Fri, 28 Apr 2000 00:45:48 -0700 (PDT) (envelope-from joshua@roughtrade.net) Received: from localhost (joshua@localhost) by juice.shallow.net (8.9.3/8.9.3) with ESMTP id JAA03627; Fri, 28 Apr 2000 09:45:49 +0200 (CEST) (envelope-from joshua@roughtrade.net) Date: Fri, 28 Apr 2000 09:45:49 +0200 (CEST) From: Joshua Goodall X-Sender: joshua@juice.shallow.net To: freebsd-java@FreeBSD.ORG Cc: Jeffrey Hsu , John Daniels Subject: Re: Sun's RFE - 1st place In-Reply-To: <0FTH00KJNUVGAR@mta6.snfc21.pbi.net> 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 My archive goes back only a month. Did Sun ever issue any response to this RFE? - Joshua On Sun, 23 Apr 2000, Jeffrey Hsu wrote: > When you sign up (for free) for the Java Developer's Connection at > http://developer.java.sun.com > you get three votes. This request for enhancement is bug id 4288745. > > > > 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 Apr 28 11: 3:37 2000 Delivered-To: freebsd-java@freebsd.org Received: from dnvrpop2.dnvr.uswest.net (dnvrpop2.dnvr.uswest.net [206.196.128.4]) by hub.freebsd.org (Postfix) with SMTP id 2CA5437B565 for ; Fri, 28 Apr 2000 11:03:34 -0700 (PDT) (envelope-from wolpert@methodsystems.com) Received: (qmail 5613 invoked by alias); 28 Apr 2000 18:03:33 -0000 Delivered-To: fixup-freebsd-java@FreeBSD.ORG@fixme Received: (qmail 5572 invoked by uid 0); 28 Apr 2000 18:03:32 -0000 Received: from unknown (HELO osti.methodsystems.com) (63.227.49.195) by dnvrpop2.dnvr.uswest.net with SMTP; 28 Apr 2000 18:03:32 -0000 Content-Length: 1816 Message-ID: X-Mailer: XFMail 1.4.4 on Linux X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200004280615.PAA97858@ares.trc.adelaide.edu.au> Date: Fri, 28 Apr 2000 12:00:50 -0600 (MDT) From: Edward Wolpert To: Greg Lewis Subject: Problem with Alpha JDK 1.2.2 patchset 7 Cc: freebsd-java@FreeBSD.ORG Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org -----BEGIN PGP SIGNED MESSAGE----- I did a rebuild of jdk 1.2.2 with patchset 7, and ran into a problem with the swingset demo and notepad demo. (under the jfc directory) Applets worked fine. When I start the swingset demo or the notepad demo, an empty grey box come up on the screen, regardless of the bit depth. (I tried 8, 16 and 24 bits) I did a build with the following environment... export HAVE_DPS=no export ALT_BOOTDIR=/usr/local/linux-jdk1.2.2 export ALT_MOTIF_DIR=/usr/X11R6/LessTif/Motif1.2 export ALT_ODBCDIR=/usr/local/ export OPENWINHOME=/usr/X11R6 Note, I did a make install of the odbcUNIX drivers, which install into /usr/local by default. I did install gps but since I'm running fbsd 4.0, I set the HAVE_DPS to no, as the instructions recommended. I installed LessTif, and used Motif1.2 lib version... should I have used the Motif 2.0 version? Also, my hardware configuration is distributed... my server doesn't have a graphics console, and runs FBSD 4.0-Release. I log into the server remotely, and start an xterm from my xserver. Then, I try to run the demos. The applets worked, but the swingset didn't. My xserver is a linux box. I'm actually more interested in using jdk1.2.2 port without GUI... using it with Tomcat3.1 for servlets. I'll be doing some testing with servlets/jsp compilation and JDBC calls and see how well it works in this threaded environment. Finally, I want to say good job folks! Porting Java is not easy. Virtually, Edward Wolpert http://www.methodsystems.com/ 4e75 -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQB1AwUBOQnR0q2tQW/xJRRFAQEoBAMAkGG4B8fu0kUNEJY0xV8JofXd77vGT8fb dP7/89mBVISq19KOA1YEnYcZyku7HWXoGptetyQNpOdmk4I0cQZ1D1o76N+f5tMk /R8I1BnJpb3hNTcCYS8bin4/RUtBSzV4 =E2JJ -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Apr 28 14:10:52 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 5440B37B8A7 for ; Fri, 28 Apr 2000 14:10:47 -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 GAA08184; Sat, 29 Apr 2000 06:40:37 +0930 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200004282110.GAA08184@ares.trc.adelaide.edu.au> Subject: Re: Problem with Alpha JDK 1.2.2 patchset 7 In-Reply-To: from Edward Wolpert at "Apr 28, 2000 12:00:50 pm" To: Edward Wolpert Date: Sat, 29 Apr 2000 06:40:37 +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 > Note, I did a make install of the odbcUNIX drivers, which install into > /usr/local by default. I did install gps but since I'm running fbsd 4.0, > I set the HAVE_DPS to no, as the instructions recommended. I installed > LessTif, and used Motif1.2 lib version... should I have used the Motif 2.0 > version? I assume you mean dgs :). The advice not to install this from last time proved to be a false alarm, so I've updated and rerolled things in the instructions to reflect this. > Also, my hardware configuration is distributed... my server doesn't have > a graphics console, and runs FBSD 4.0-Release. I log into the server > remotely, and start an xterm from my xserver. Then, I try to run the demos. > The applets worked, but the swingset didn't. My xserver is a linux box. So essentially, the problem is with remote display of applications? I must admit this isn't something I've tested. -- 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 Fri Apr 28 17:32:19 2000 Delivered-To: freebsd-java@freebsd.org Received: from mail.1connect.com (dsl-20919196228.sanjose.ca.internetconnect.net [209.191.96.228]) by hub.freebsd.org (Postfix) with ESMTP id 8B1AB37B777 for ; Fri, 28 Apr 2000 17:32:15 -0700 (PDT) (envelope-from keith@dominocomp.com) Received: from dominocomp.com ([10.0.0.75]) by mail.1connect.com (8.9.3/8.9.3) with ESMTP id RAA16675 for ; Fri, 28 Apr 2000 17:29:28 -0700 (PDT) (envelope-from keith@dominocomp.com) Message-ID: <390A2D57.6BC53D23@dominocomp.com> Date: Fri, 28 Apr 2000 17:31:19 -0700 From: Keith Wong X-Mailer: Mozilla 4.72 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-java@FreeBSD.ORG Subject: jserv classpath?? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi all, I am getting the trouble of classpath or constructor problem. that is when i try to calling the DBoject under several directory by the servlets. For example: com.myDomino.myProject.myClass.myMethod. then, the constructor of myMethod can not be initialed(i am using filewriter to check the initialize), that is i am using Jserv's VM. But, when i run using JDK's VM, calling static main it is working fine no problem. I am wondering is it something wrong on the jserv's vm? I am sure that the JDK and Jserv's classpath is set correctly because the Jserv can find the class but can not be initialed. Is that something wrong on Jserv's classpath settings? My configure is that: apache-1.3.9 apache-jserv-1.0 FreeBSD 3.4 stable( i am not sure, 90% is that) Any reply is appreciate!!! Thanks Keith To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Apr 28 20:29: 3 2000 Delivered-To: freebsd-java@freebsd.org Received: from axp5.physik.fu-berlin.de (axp5.physik.fu-berlin.de [160.45.34.3]) by hub.freebsd.org (Postfix) with ESMTP id 548B937B787 for ; Fri, 28 Apr 2000 20:29:00 -0700 (PDT) (envelope-from dieringe@sirius.physik.fu-berlin.de) Received: from sirius.physik.fu-berlin.de (sirius.physik.fu-berlin.de [160.45.34.162]) by axp5.physik.fu-berlin.de (8.9.1a/8.9.1) with ESMTP id FAA05994 for ; Sat, 29 Apr 2000 05:28:56 +0200 (MET DST) Received: from localhost (dieringe@localhost) by sirius.physik.fu-berlin.de (8.9.1a/8.9.1) with ESMTP id FAA28269 for ; Sat, 29 Apr 2000 05:28:55 +0200 (MET DST) Date: Sat, 29 Apr 2000 05:28:55 +0200 (MET DST) From: Martin Dieringer To: freebsd-java@FreeBSD.ORG Subject: Re: Alpha JDK 1.2.2 patchset 7 In-Reply-To: <200004280615.PAA97858@ares.trc.adelaide.edu.au> 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 It seems it has problems with drawing Images (drawImage method) All demos that use it don't show anything. that's why swing applets are empty also. drawing directly on the canvas works though. Neither does audio work. (On -STABLE, a few days old) martin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Apr 28 20:56:18 2000 Delivered-To: freebsd-java@freebsd.org Received: from mail.hiwaay.net (fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (Postfix) with ESMTP id E28F937B7C7 for ; Fri, 28 Apr 2000 20:56:14 -0700 (PDT) (envelope-from sprice@hiwaay.net) Received: from localhost (sprice@localhost) by mail.hiwaay.net (8.10.1/8.10.1) with ESMTP id e3T3uAT06913; Fri, 28 Apr 2000 22:56:10 -0500 (CDT) Date: Fri, 28 Apr 2000 22:56:10 -0500 (CDT) From: Steve Price To: Martin Dieringer Cc: freebsd-java@FreeBSD.ORG Subject: Re: Alpha JDK 1.2.2 patchset 7 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 Sat, 29 Apr 2000, Martin Dieringer wrote: # It seems it has problems with drawing Images (drawImage method) # All demos that use it don't show anything. that's why swing applets are # empty also. drawing directly on the canvas works though. Just a hunch, but try the following patch and see if it helps matters any. -steve --- src/freebsd/native/sun/awt/awt_MToolkit.c.orig 2000/04/21 23:41:28 +++ src/freebsd/native/sun/awt/awt_MToolkit.c 2000/04/29 03:40:30 @@ -29,6 +29,10 @@ #include #include +#ifdef __FreeBSD__ +#define USE_SELECT +#endif + /* Initialize the Java VM instance variable when the library is first loaded */ JavaVM *jvm; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Apr 29 1:55:50 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 2448C37B647 for ; Sat, 29 Apr 2000 01:55:46 -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 SAA71462; Sat, 29 Apr 2000 18:25:33 +0930 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200004290855.SAA71462@ares.trc.adelaide.edu.au> Subject: Re: Alpha JDK 1.2.2 patchset 7 In-Reply-To: from Martin Dieringer at "Apr 29, 2000 05:28:55 am" To: Martin Dieringer Date: Sat, 29 Apr 2000 18:25:33 +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 > It seems it has problems with drawing Images (drawImage method) > All demos that use it don't show anything. that's why swing applets are > empty also. drawing directly on the canvas works though. > Neither does audio work. > > (On -STABLE, a few days old) > > martin Again, I assume this is remotely, since all the demos run fine for me when I'm at the console of the machine I'm using to run java. -- 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 Sat Apr 29 2:17:51 2000 Delivered-To: freebsd-java@freebsd.org Received: from axp5.physik.fu-berlin.de (axp5.physik.fu-berlin.de [160.45.34.3]) by hub.freebsd.org (Postfix) with ESMTP id 5694737B748 for ; Sat, 29 Apr 2000 02:17:48 -0700 (PDT) (envelope-from dieringe@sirius.physik.fu-berlin.de) Received: from sirius.physik.fu-berlin.de (sirius.physik.fu-berlin.de [160.45.34.162]) by axp5.physik.fu-berlin.de (8.9.1a/8.9.1) with ESMTP id LAA08961; Sat, 29 Apr 2000 11:17:43 +0200 (MET DST) Received: from localhost (dieringe@localhost) by sirius.physik.fu-berlin.de (8.9.1a/8.9.1) with ESMTP id LAA06316; Sat, 29 Apr 2000 11:17:42 +0200 (MET DST) Date: Sat, 29 Apr 2000 11:17:42 +0200 (MET DST) From: Martin Dieringer To: Steve Price Cc: freebsd-java@FreeBSD.ORG Subject: Re: Alpha JDK 1.2.2 patchset 7 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, 28 Apr 2000, Steve Price wrote: > On Sat, 29 Apr 2000, Martin Dieringer wrote: > > # It seems it has problems with drawing Images (drawImage method) > # All demos that use it don't show anything. that's why swing applets are > # empty also. drawing directly on the canvas works though. > > Just a hunch, but try the following patch and see if it helps > matters any. I'm afraid it doesn't. With the patch it doesn't display anything, not even "normal" graphics. I'm not running remotely, just the filesystem is nfs. Maybe the display does matter? I use XFree 4.0 at 16bpp. martin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message