From owner-freebsd-java@FreeBSD.ORG Sun Sep 28 05:47:22 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C12E316A4B3 for ; Sun, 28 Sep 2003 05:47:22 -0700 (PDT) Received: from smtp04.wxs.nl (smtp04.wxs.nl [195.121.6.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id 054C643FAF for ; Sun, 28 Sep 2003 05:47:22 -0700 (PDT) (envelope-from akruijff@www.kruijff.org) Received: from kruij557.speed.planet.nl (ipd50a97ba.speed.planet.nl [213.10.151.186]) by smtp04.wxs.nl (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HLX001HFCYS6O@smtp04.wxs.nl> for freebsd-java@freebsd.org; Sun, 28 Sep 2003 14:49:41 +0200 (MEST) Received: from Intranet.lan (akruijff@localhost [127.0.0.1]) h8SClHQL013823 for ; Sun, 28 Sep 2003 14:47:17 +0200 (CEST envelope-from akruijff@Intranet.lan) Received: (from akruijff@localhost) by Intranet.lan (8.12.8p1/8.12.8/Submit) id h8SClH99013822 for freebsd-java@freebsd.org; Sun, 28 Sep 2003 14:47:17 +0200 (CEST) Date: Sun, 28 Sep 2003 14:47:17 +0200 From: Alex de Kruijff To: freebsd-java@freebsd.org Message-id: <20030928124716.GK94873@dds.nl> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4.1i Subject: Opera X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Sep 2003 12:47:22 -0000 I'm trying to get Opera 7.20 to work with Java 1.3+ but am not succesfull. Java 1.3 is installed and have sen it worked with Opera 6 and Mozilla. Basicaly my question is: are there know issues with Opera conserning Java? Tanks in advance -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/ From owner-freebsd-java@FreeBSD.ORG Sun Sep 28 09:18:21 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF46A16A4B3 for ; Sun, 28 Sep 2003 09:18:21 -0700 (PDT) Received: from arthur.nitro.dk (port324.ds1-khk.adsl.cybercity.dk [212.242.113.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 700B34400E for ; Sun, 28 Sep 2003 09:18:20 -0700 (PDT) (envelope-from simon@arthur.nitro.dk) Received: by arthur.nitro.dk (Postfix, from userid 1000) id 8D10910BF8C; Sun, 28 Sep 2003 18:18:19 +0200 (CEST) Date: Sun, 28 Sep 2003 18:18:19 +0200 From: "Simon L. Nielsen" To: Greg Lewis Message-ID: <20030928161817.GB393@FreeBSD.org> References: <20030918210342.GB1558@FreeBSD.org> <20030922184551.GA35332@misty.eyesbeyond.com> <20030924221148.GA391@FreeBSD.org> <20030926060929.GA30436@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zx4FCpZtqtKETZ7O" Content-Disposition: inline In-Reply-To: <20030926060929.GA30436@misty.eyesbeyond.com> User-Agent: Mutt/1.5.4i cc: freebsd-java@FreeBSD.org Subject: Re: Review request for update to links on FreeBSD Java webpage X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Sep 2003 16:18:21 -0000 --zx4FCpZtqtKETZ7O Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2003.09.26 00:09:30 -0600, Greg Lewis wrote: > On Thu, Sep 25, 2003 at 12:11:50AM +0200, Simon L. Nielsen wrote: > > On 2003.09.22 12:45:51 -0600, Greg Lewis wrote: > > Index: links/development.sgml > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > RCS file: /home/ncvs/www/en/java/links/development.sgml,v > > retrieving revision 1.9 > > diff -u -d -r1.9 development.sgml > > --- links/development.sgml 22 Sep 2003 09:29:14 -0000 1.9 > > +++ links/development.sgml 24 Sep 2003 21:39:37 -0000 > > @@ -35,13 +35,17 @@ > > webpages, just check out the newest CVS-sources. > >
  • Elix= irIDE
    > > An IDE that includes a debugger. Rated a JARS top 5%. > > +
  • Eclipse
    > > + An open extensible IDE for anything and nothing in particular. > > +
  • IDEA
    >=20 > Technically, I believe this URL should have a trailing slash, i.e. > http://www.jetbrains.com/idea/ I thought the same initially, but the site doesn't append the slash when using the URL without the slash, and the links on the site doesn't use the trailing slash. I don't care much either way... > > Index: links/freebsd.sgml > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > RCS file: /home/ncvs/www/en/java/links/freebsd.sgml,v > > retrieving revision 1.7 > > diff -u -d -r1.7 freebsd.sgml > > --- links/freebsd.sgml 22 Sep 2003 09:29:14 -0000 1.7 > > +++ links/freebsd.sgml 23 Sep 2003 21:21:37 -0000 > > @@ -10,6 +10,7 @@ > > > > > >
      > > +
    • The JavaComm API - Port of the JavaComm A= PI to FreeBSD. > >
    • shuJIT - http:/= /www.shudo.net/jit/ - a "Just In Time" compiler for FreeBSD a= nd Linux. > >
    • TYA - ftp://gonzalez.cyberus.ca/pub/Linux/java/ - a "Just In Time= " compiler for FreeBSD. > >
    • Kaffe - http://www.k= affe.org - a "clean room" implementation of Java. >=20 > Here is another instance of a missing trailing /. I don't know if there > are others in the page. Actually the HTML is a bit of a mess (like a lot of other parts of the website), and there are several other links without trailing slash where I think there should be one. I haven't touched the trailing slash and the HTML formating at the moment, to seperate the content commits from the cleanup commits. I hope to have some time to look at some HTML "cleanup" later, but I don't know when. --=20 Simon L. Nielsen FreeBSD Documentation Team --zx4FCpZtqtKETZ7O Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/dwnJh9pcDSc1mlERAstFAJwJuQ/GhpB6K00SEveBlV63N/hXtwCfa7/S B9YfLZrWcQdOHfFmCB5GLv8= =BXuk -----END PGP SIGNATURE----- --zx4FCpZtqtKETZ7O-- From owner-freebsd-java@FreeBSD.ORG Sun Sep 28 23:45:30 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C21516A4B3 for ; Sun, 28 Sep 2003 23:45:30 -0700 (PDT) Received: from rijpat-s-321-a2.europe.shell.com (gi-smtpout1-eu.shell.com [145.26.110.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E9B14402A for ; Sun, 28 Sep 2003 23:45:28 -0700 (PDT) (envelope-from Gert.VanIngen@shell.com) Received: from rijpat-s-323-a1.europe.shell.com ([145.26.110.69]) by rijpat-s-321-a2.europe.shell.com with Microsoft SMTPSVC(5.0.2195.4905); Mon, 29 Sep 2003 08:45:25 +0200 Received: from rijpat-s-320-a1.europe.shell.com ([145.26.110.66]) by rijpat-s-323-a1.europe.shell.com with Microsoft SMTPSVC(5.0.2195.4905); Mon, 29 Sep 2003 08:45:25 +0200 Received: from RIJPAT-S-326-a1.europe.shell.com ([145.26.111.83]) by rijpat-s-320-a1.europe.shell.com with Microsoft SMTPSVC(5.0.2195.4905); Mon, 29 Sep 2003 08:45:25 +0200 Received: from wyt-s-020.europe.shell.com ([134.142.0.60]) by RIJPAT-S-326-a1.europe.shell.com with Microsoft SMTPSVC(5.0.2195.4905); Mon, 29 Sep 2003 08:45:04 +0200 content-class: urn:content-classes:message MIME-Version: 1.0 X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 Date: Mon, 29 Sep 2003 07:45:04 +0100 Message-ID: <5447D73AE838F44FB6D0D20BB48612C485EA43@wyt-s-020.europe.shell.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: JBoss 3.2.1 doesn't start on FreeBSD4.8-stable / diablo-jdk1.3.1 Thread-Index: AcOGVUD1enOeCsIvQxSOxRmx/aUZiw== From: "van Ingen, Gert E SITI-ITDGE22" To: X-OriginalArrivalTime: 29 Sep 2003 06:45:04.0505 (UTC) FILETIME=[36BAA690:01C38655] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: JBoss 3.2.1 doesn't start on FreeBSD4.8-stable / diablo-jdk1.3.1 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2003 06:45:30 -0000 Hi, When starting JBoss 3.2.1 on FreeBSD4.8-stable with the diablo-jdk1.3.1 = it fails with: java.lang.AbstractMethodError: = org/jboss/deployment/SubDeployerSupport.accepts at = org.jboss.deployment.MainDeployer.findDeployer(MainDeployer.java:881)=20 I used JBoss from http://eu.dl.sourceforge.net/jboss/jboss-3.2.1.zip. I used JAVA from Latte Diablo JRE 1.3.1 binary package = Regards, Gert van Ingen. From owner-freebsd-java@FreeBSD.ORG Mon Sep 29 06:05:14 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9EFD216A4B3; Mon, 29 Sep 2003 06:05:14 -0700 (PDT) Received: from smtp1.euronet.nl (smtp1.euronet.nl [194.134.35.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0FE043FEC; Mon, 29 Sep 2003 06:05:13 -0700 (PDT) (envelope-from ernst.dehaan@nl.wanadoo.com) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by smtp1.euronet.nl (Postfix) with ESMTP id B793C67489; Mon, 29 Sep 2003 15:05:10 +0200 (MEST) From: Ernst de Haan Organization: Wanadoo Nederland B.V. To: Herve Quiroz Date: Mon, 29 Sep 2003 15:05:14 +0200 User-Agent: KMail/1.5.2 References: <200309291139.h8TBdMxF054851@repoman.freebsd.org> In-Reply-To: <200309291139.h8TBdMxF054851@repoman.freebsd.org> X-Address: Muiderstraat 1, Amsterdam, Netherlands MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200309291505.14155.ernst.dehaan@nl.wanadoo.com> cc: java@FreeBSD.org cc: Edwin Groothuis Subject: Re: cvs commit: ports/java Makefile ports/java/linux-blackdown-jre11 Makefile distinfo pkg-descr pkg-plist ports/java/linux-blackdown-jre11/files patch-aa patch-ab X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2003 13:05:14 -0000 Herve, Could you change your bsd.java.mk 2.0 to handle this new Blackdown JRE 1.1? Ernst On maandag 29 september 2003 13:39, Edwin Groothuis wrote: > edwin 2003/09/29 04:39:22 PDT > > FreeBSD ports repository > > Modified files: > java Makefile > Added files: > java/linux-blackdown-jre11 Makefile distinfo pkg-descr > pkg-plist > java/linux-blackdown-jre11/files patch-aa patch-ab > Log: > New port: java/linux-blackdown-jre11: Blackdown Linux JRE 1.1.8 > > Blackdown Linux Java Runtime Environment 1.1.8 > It is needed for running Oracle for Linux > > PR: ports/56738 > Submitted by: Simun Mikecin > > Revision Changes Path > 1.90 +1 -0 ports/java/Makefile > 1.1 +59 -0 ports/java/linux-blackdown-jre11/Makefile (new) > 1.1 +1 -0 ports/java/linux-blackdown-jre11/distinfo (new) > 1.1 +26 -0 ports/java/linux-blackdown-jre11/files/patch-aa > (new) 1.1 +28 -0 > ports/java/linux-blackdown-jre11/files/patch-ab (new) 1.1 +1 -0 > ports/java/linux-blackdown-jre11/pkg-descr (new) 1.1 +83 -0 > ports/java/linux-blackdown-jre11/pkg-plist (new) From owner-freebsd-java@FreeBSD.ORG Mon Sep 29 10:03:45 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C1CDB16A4C0 for ; Mon, 29 Sep 2003 10:03:45 -0700 (PDT) Received: from puget.esil.univ-mrs.fr (puget.esil.univ-mrs.fr [139.124.41.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 68F8C44014 for ; Mon, 29 Sep 2003 10:03:38 -0700 (PDT) (envelope-from rv@puget.esil.univ-mrs.fr) Received: from puget.esil.univ-mrs.fr (localhost [127.0.0.1]) h8TGrm9u050079; Mon, 29 Sep 2003 18:53:48 +0200 (CEST) (envelope-from rv@puget.esil.univ-mrs.fr) Received: (from rv@localhost) by puget.esil.univ-mrs.fr (8.12.9/8.12.9/Submit) id h8TGrkDH050078; Mon, 29 Sep 2003 18:53:46 +0200 (CEST) Date: Mon, 29 Sep 2003 18:53:45 +0200 From: Herve Quiroz To: Ernst de Haan Message-ID: <20030929165345.GA50005@puget.esil.univ-mrs.fr> References: <200309291139.h8TBdMxF054851@repoman.freebsd.org> <200309291505.14155.ernst.dehaan@nl.wanadoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200309291505.14155.ernst.dehaan@nl.wanadoo.com> User-Agent: Mutt/1.4.1i cc: freebsd-java@FreeBSD.ORG Subject: Re: cvs commit: ports/java Makefile ports/java/linux-blackdown-jre11 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2003 17:03:46 -0000 Ernst, I'll handle this as soon as possible. Hopefully tonight... if I manage to get out of office before 10PM. But that means bsd.java.mk should make a difference between JDK and JRE. So I will be a bit more complex. I'm trying to improve the current bsd.java.mk version by using ports metainfo for installed port detection stage... and all subsequent stages. Just to ease a bit more the life of maintainers. I also plan to provide a nice XSLT/XML combo to produce this metadata section (which should stay in "maintainer-land"). I bet you know what I'm talking about because it's your PR after all: http://www.FreeBSD.org/cgi/query-pr.cgi?pr=java/44041 One solution would be to have a static bsd.java.mk and a separate .mk file that would contain all ports metainfo (the one generated through XSLT). This new file would just get included in bsd.java.mk. With this scheme, we would have java dependencies and building tools setup separated from the list of java ports. Just as it is the case for usual ports and mirror sites for example. So when adding a new JDK or JRE, the maintainer of this new port just has to modify bsd.whateverthename.mk to get its new port handled by bsd.java.mk. No need for XML anymore to maintain bsd.java.mk... unless of course you're a fanatic of XSLT just as me ;) Indeed I tend to XSLTize everything I come across (TODO lists, adressbooks...) so please do not hesitate to tell me when it's not necessary ;) Herve On Mon, Sep 29, 2003 at 03:05:14PM +0200, Ernst de Haan wrote: > Herve, > > Could you change your bsd.java.mk 2.0 to handle this new Blackdown JRE 1.1? > > Ernst > > On maandag 29 september 2003 13:39, Edwin Groothuis wrote: > > edwin 2003/09/29 04:39:22 PDT > > > > FreeBSD ports repository > > > > Modified files: > > java Makefile > > Added files: > > java/linux-blackdown-jre11 Makefile distinfo pkg-descr > > pkg-plist > > java/linux-blackdown-jre11/files patch-aa patch-ab > > Log: > > New port: java/linux-blackdown-jre11: Blackdown Linux JRE 1.1.8 > > > > Blackdown Linux Java Runtime Environment 1.1.8 > > It is needed for running Oracle for Linux > > > > PR: ports/56738 > > Submitted by: Simun Mikecin > > > > Revision Changes Path > > 1.90 +1 -0 ports/java/Makefile > > 1.1 +59 -0 ports/java/linux-blackdown-jre11/Makefile (new) > > 1.1 +1 -0 ports/java/linux-blackdown-jre11/distinfo (new) > > 1.1 +26 -0 ports/java/linux-blackdown-jre11/files/patch-aa > > (new) 1.1 +28 -0 > > ports/java/linux-blackdown-jre11/files/patch-ab (new) 1.1 +1 -0 > > ports/java/linux-blackdown-jre11/pkg-descr (new) 1.1 +83 -0 > > ports/java/linux-blackdown-jre11/pkg-plist (new) > From owner-freebsd-java@FreeBSD.ORG Mon Sep 29 18:51:19 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4CA6116A4BF for ; Mon, 29 Sep 2003 18:51:19 -0700 (PDT) Received: from merlot.juniper.net (natint2.juniper.net [207.17.136.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F8FC4400F for ; Mon, 29 Sep 2003 18:51:18 -0700 (PDT) (envelope-from jnai@juniper.net) Received: from juniper.net (tass.juniper.net [172.17.12.39]) by merlot.juniper.net (8.11.3/8.11.3) with ESMTP id h8U1pIj48296; Mon, 29 Sep 2003 18:51:18 -0700 (PDT) (envelope-from jnai@juniper.net) Message-ID: <3F78E196.7050006@juniper.net> Date: Mon, 29 Sep 2003 18:51:18 -0700 From: Jeff Nai User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:0.9.4) Gecko/20011126 Netscape6/6.2.1 X-Accept-Language: en-us MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: multipart/mixed; boundary="------------080007040108040705020700" cc: Jeff Nai Subject: java 1.4 not setting time zone correctly ... X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2003 01:51:19 -0000 This is a multi-part message in MIME format. --------------080007040108040705020700 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit On FreeBSD, java 1.4 always defaults time zone to GMT. I'd like to know if this is a known bug. % uname -smr FreeBSD 4.8-RELEASE i386 java -version java version "1.4.1-p3" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-p3-jnai_15_sep_2003_19_22) Java HotSpot(TM) Client VM (build 1.4.1-p3-jnai_15_sep_2003_19_22, mixed mode) % java TimeTest old: GMT new: US/Pacific shell: Mon Sep 29 18:41:24 PDT 2003 normal: Tue Sep 30 01:41:24 GMT 2003 adjusted: Mon Sep 29 18:41:24 GMT 2003 On linxu, time zone is set correctly: % uname -smr Linux 2.4.7-10 i686 % java -version java version "1.4.2" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28) Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode) % java TimeTest old: US/Pacific new: US/Pacific shell: Mon Sep 29 18:48:47 PDT 2003 normal: Mon Sep 29 18:48:47 PDT 2003 adjusted: Mon Sep 29 11:48:47 PDT 2003 Thanks, Jeff Nai --------------080007040108040705020700 Content-Type: text/plain; name="TimeTest.java" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="TimeTest.java" import java.io.InputStream; import java.io.IOException; import java.sql.Timestamp; import java.util.Date; import java.util.Properties; import java.text.SimpleDateFormat; public class TimeTest { public static void main(String[] args) { final SimpleDateFormat DATE = new SimpleDateFormat("EEE MMM dd kk:mm:ss zzz yyyy"); // change time zone setting System.out.println("old: " + System.setProperty("user.timezone", "US/Pacific")); System.out.println("new: " + System.getProperty("user.timezone")); // output from 'date' System.out.print("shell: "); try { Process child = Runtime.getRuntime().exec("date"); InputStream in = child.getInputStream(); int c; while ((c = in.read()) != -1) { System.out.print((char)c); } } catch (IOException e) {} // output from vm System.out.println("normal: " + DATE.format(new Date())); // dirty hack! Timestamp ts = new Timestamp(System.currentTimeMillis() - 25200000); System.out.println("adjusted: " + DATE.format(ts)); } } --------------080007040108040705020700-- From owner-freebsd-java@FreeBSD.ORG Tue Sep 30 02:08:08 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8831A16A4B3 for ; Tue, 30 Sep 2003 02:08:08 -0700 (PDT) Received: from amsfep16-int.chello.nl (amsfep16-int.chello.nl [213.46.243.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3955A43FCB for ; Tue, 30 Sep 2003 02:08:05 -0700 (PDT) (envelope-from znerd@FreeBSD.org) Received: from c104187.upc-c.chello.nl ([212.187.104.187]) by amsfep16-int.chello.nlESMTP <20030930090804.VTCL6291.amsfep16-int.chello.nl@c104187.upc-c.chello.nl> for ; Tue, 30 Sep 2003 11:08:04 +0200 From: Ernst de Haan Date: Tue, 30 Sep 2003 11:08:32 +0200 User-Agent: KMail/1.5.2 To: java@FreeBSD.org X-Address: Muiderstraat 1, Amsterdam, Netherlands MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200309301108.32375.znerd@FreeBSD.org> Subject: Fwd: Reminder: Call for FreeBSD status reports! X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2003 09:08:08 -0000 FYI. Ernst ---------- Doorgestuurd bericht ---------- Subject: Reminder: Call for FreeBSD status reports! Date: maandag 29 september 2003 23:33 From: Scott Long To: hackers@freebsd.org All, Don't forget to submit your FreeBSD status reports by Oct 1, 2003! These reports are open to not only official project memebers, but also to anyone who is engaged in the development of projects that relate to FreeBSD. Kernel, userland, ports, documentation, installation, integration, etc, reports are all welcome and encouraged. Reports should be 1-2 paragraphs in length, focus on one topic, and should follow the template that is available at http://www.freebsd.org/news/status/report-sample.xml. Submissions must be made to monthly@freebsd.org. Submissions for multiple projects per person are welcome. Thanks! Scott Long Robert Watson ------------------------------------------------------- From owner-freebsd-java@FreeBSD.ORG Tue Sep 30 12:30:20 2003 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9FB9D16A4B3 for ; Tue, 30 Sep 2003 12:30:20 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E34544013 for ; Tue, 30 Sep 2003 12:30:18 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8UJUIFY045979 for ; Tue, 30 Sep 2003 12:30:18 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8UJUIlb045978; Tue, 30 Sep 2003 12:30:18 -0700 (PDT) (envelope-from gnats) Resent-Date: Tue, 30 Sep 2003 12:30:18 -0700 (PDT) Resent-Message-Id: <200309301930.h8UJUIlb045978@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-java@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Christian Laursen Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A823916A4B3 for ; Tue, 30 Sep 2003 12:21:50 -0700 (PDT) Received: from vulcan.borderworlds.dk (213.237.93.241.adsl.hc.worldonline.dk [213.237.93.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1DE7543FAF for ; Tue, 30 Sep 2003 12:21:48 -0700 (PDT) (envelope-from xi@vulcan.borderworlds.dk) Received: from vulcan.borderworlds.dk (localhost [127.0.0.1]) h8UJME7x047649 for ; Tue, 30 Sep 2003 21:22:14 +0200 (CEST) (envelope-from xi@vulcan.borderworlds.dk) Received: (from xi@localhost) by vulcan.borderworlds.dk (8.12.9p1/8.12.9/Submit) id h8UJMC9b047648; Tue, 30 Sep 2003 21:22:12 +0200 (CEST) Message-Id: <200309301922.h8UJMC9b047648@vulcan.borderworlds.dk> Date: Tue, 30 Sep 2003 21:22:12 +0200 (CEST) From: Christian Laursen To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: java/57420: linux-sun-jdk 1.4.2 is not detected when building java ports X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Christian Laursen List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2003 19:30:20 -0000 >Number: 57420 >Category: java >Synopsis: linux-sun-jdk 1.4.2 is not detected when building java ports >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Sep 30 12:30:17 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Christian Laursen >Release: FreeBSD 5.1-RELEASE-p8 i386 >Organization: The Border Worlds >Environment: System: FreeBSD vulcan.borderworlds.dk 5.1-RELEASE-p8 FreeBSD 5.1-RELEASE-p8 #13: Thu Sep 25 22:16:40 CEST 2003 root@vulcan.borderworlds.dk:/usr/obj/usr/src/sys/VULCAN i386 >Description: When linux-sun-jdk-1.4.2.01_1 is installed and I try to build a port that depends on java, it is not detected and the ports system tries to build a jdk 1.2 instead. >How-To-Repeat: Have linux-sun-jdk-1.4.2.01_1 installed and try to build a java port e.g. devel/apache-ant. >Fix: The below change fixes it for me, but I'm not sure that it is the most elegant way to solve the problem. --- java.diff begins here --- --- ports/Mk/bsd.java.mk.orig Tue Sep 30 21:15:09 2003 +++ ports/Mk/bsd.java.mk Tue Sep 30 21:15:24 2003 @@ -56,7 +56,7 @@ _JAVA_HOME_IBM_LINUX_1_4= ${LOCALBASE}/linux-ibm-jdk1.4.1 _JAVA_HOME_SUN_LINUX_1_2= ${LOCALBASE}/linux-sun-jdk1.2.2 _JAVA_HOME_SUN_LINUX_1_3= ${LOCALBASE}/linux-sun-jdk1.3.1 -_JAVA_HOME_SUN_LINUX_1_4= ${LOCALBASE}/linux-sun-jdk1.4.2 +_JAVA_HOME_SUN_LINUX_1_4= ${LOCALBASE}/linux-sun-jdk1.4.2_01 # Set the JDK ports for all recognized JDK's _JAVA_PORT_FREEBSD_1_1= java/jdk11 --- java.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-java@FreeBSD.ORG Tue Sep 30 13:30:20 2003 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A75316A4B3 for ; Tue, 30 Sep 2003 13:30:20 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50CA544005 for ; Tue, 30 Sep 2003 13:30:18 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8UKUHFY052206 for ; Tue, 30 Sep 2003 13:30:17 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8UKUH8p052205; Tue, 30 Sep 2003 13:30:17 -0700 (PDT) (envelope-from gnats) Date: Tue, 30 Sep 2003 13:30:17 -0700 (PDT) Message-Id: <200309302030.h8UKUH8p052205@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Herve Quiroz Subject: Re: java/57420: linux-sun-jdk 1.4.2 is not detected when building java ports X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Herve Quiroz List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2003 20:30:20 -0000 The following reply was made to PR java/57420; it has been noted by GNATS. From: Herve Quiroz To: FreeBSD-gnats-submit@FreeBSD.org Cc: Herve Quiroz , xi@borderworlds.dk Subject: Re: java/57420: linux-sun-jdk 1.4.2 is not detected when building java ports Date: Tue, 30 Sep 2003 22:13:15 +0200 On the other hand, maybe 'java/linux-sun-jdk14' should install in ${LOCALBASE}/linux-sun-jdk1.4.2 instead of ${LOCALBASE}/linux-sun-jdk1.4.2_01, as this is the case for all other JDK ports, even those with a JDK revision number. Herve On Tue, Sep 30, 2003 at 09:22:12PM +0200, Christian Laursen wrote: > >Description: > When linux-sun-jdk-1.4.2.01_1 is installed and I try to build a > port that depends on java, it is not detected and the ports system > tries to build a jdk 1.2 instead. > > >How-To-Repeat: > Have linux-sun-jdk-1.4.2.01_1 installed and try to build a java port > e.g. devel/apache-ant. > > >Fix: > > The below change fixes it for me, but I'm not sure that it is the > most elegant way to solve the problem. > > --- java.diff begins here --- > --- ports/Mk/bsd.java.mk.orig Tue Sep 30 21:15:09 2003 > +++ ports/Mk/bsd.java.mk Tue Sep 30 21:15:24 2003 > @@ -56,7 +56,7 @@ > _JAVA_HOME_IBM_LINUX_1_4= ${LOCALBASE}/linux-ibm-jdk1.4.1 > _JAVA_HOME_SUN_LINUX_1_2= ${LOCALBASE}/linux-sun-jdk1.2.2 > _JAVA_HOME_SUN_LINUX_1_3= ${LOCALBASE}/linux-sun-jdk1.3.1 > -_JAVA_HOME_SUN_LINUX_1_4= ${LOCALBASE}/linux-sun-jdk1.4.2 > +_JAVA_HOME_SUN_LINUX_1_4= ${LOCALBASE}/linux-sun-jdk1.4.2_01 > > # Set the JDK ports for all recognized JDK's > _JAVA_PORT_FREEBSD_1_1= java/jdk11 > --- java.diff ends here --- From owner-freebsd-java@FreeBSD.ORG Tue Sep 30 16:43:36 2003 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 35CB016A4B3; Tue, 30 Sep 2003 16:43:36 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA48543FBF; Tue, 30 Sep 2003 16:43:35 -0700 (PDT) (envelope-from glewis@FreeBSD.org) Received: from freefall.freebsd.org (glewis@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8UNhZFY072899; Tue, 30 Sep 2003 16:43:35 -0700 (PDT) (envelope-from glewis@freefall.freebsd.org) Received: (from glewis@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8UNhZ62072895; Tue, 30 Sep 2003 16:43:35 -0700 (PDT) (envelope-from glewis) Date: Tue, 30 Sep 2003 16:43:35 -0700 (PDT) From: Greg Lewis Message-Id: <200309302343.h8UNhZ62072895@freefall.freebsd.org> To: xi@borderworlds.dk, glewis@FreeBSD.org, freebsd-java@FreeBSD.org Subject: Re: java/57420: linux-sun-jdk 1.4.2 is not detected when building java ports X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2003 23:43:36 -0000 Synopsis: linux-sun-jdk 1.4.2 is not detected when building java ports State-Changed-From-To: open->closed State-Changed-By: glewis State-Changed-When: Tue Sep 30 16:43:08 PDT 2003 State-Changed-Why: Herve is right. I've just committed a fix. http://www.freebsd.org/cgi/query-pr.cgi?pr=57420 From owner-freebsd-java@FreeBSD.ORG Tue Sep 30 18:12:20 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 07D2716A4B3 for ; Tue, 30 Sep 2003 18:12:20 -0700 (PDT) Received: from mgr3.xmission.com (mgr3.xmission.com [198.60.22.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED6914400D for ; Tue, 30 Sep 2003 18:12:17 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr3.xmission.com with spam-scanned (Exim 3.35 #1) id 1A4VXM-0005Bx-03 for java@freebsd.org; Tue, 30 Sep 2003 19:12:17 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr3.xmission.com with esmtp (Exim 3.35 #1) id 1A4VXG-00058M-03; Tue, 30 Sep 2003 19:12:11 -0600 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) h911CcjG006575; Tue, 30 Sep 2003 19:12:39 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9p1/8.12.9/Submit) id h911CUla006574; Tue, 30 Sep 2003 19:12:30 -0600 (MDT) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 30 Sep 2003 19:12:30 -0600 From: Greg Lewis To: Ernst de Haan Message-ID: <20031001011230.GA6490@misty.eyesbeyond.com> References: <1062193328.1241.23.camel@hunter.muc.eu.mscsoftware.com> <20030904044719.GA35997@misty.eyesbeyond.com> <200309041108.44760.ernst.dehaan@nl.wanadoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="/04w6evG8XlLl3ft" Content-Disposition: inline In-Reply-To: <200309041108.44760.ernst.dehaan@nl.wanadoo.com> User-Agent: Mutt/1.4.1i X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on mgr3.xmission.com X-Spam-Status: No, hits=-0.9 required=8.0 tests=BAYES_10 autolearn=no version=2.60 X-Spam-Level: X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: java@FreeBSD.org Subject: Re: Native jdk1.4.1 working X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2003 01:12:20 -0000 --/04w6evG8XlLl3ft Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Sep 04, 2003 at 11:21:19AM +0200, Ernst de Haan wrote: > > The proper fix is to do this in the port. If you look at the raw > > download for the Linux JDK 1.4.2 (needs upgrading to 1.4.2_01 btw) > > Just committed the update to 1.4.2_01... > > > strip the shell script and unpack, but then don't perform the actions the > > shell script portion of the install does. One of these actions is to > > create the system preference directory and appropriate files. We really > > need to preserve the shell script and run it during post-install or write > > our own stuff to perform an equivalent set of actions. The native 1.4.1 > > port needs to perform similar actions to create its system preference > > stuff. > > I could use a suggested patch for this *hint* *hint* :-) A shell script like the attached (run as root) eliminates the warnings for me. However, it has the obvious problem of installing files outside of the port. The script in front of the install seems to have the option of putting things in ${JAVA_HOME} instead of /etc/.java, but that doesn't seem to work for me. I need to look into this more and in particular look at where the JDK searches for these files. The intent would be to have a similar script that stores files inside of the port run during post-install. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org --/04w6evG8XlLl3ft-- From owner-freebsd-java@FreeBSD.ORG Tue Sep 30 18:15:30 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CCB3D16A4B3 for ; Tue, 30 Sep 2003 18:15:30 -0700 (PDT) Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id E97D744005 for ; Tue, 30 Sep 2003 18:15:27 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr1.xmission.com with spam-scanned (Exim 3.35 #1) id 1A4VaR-0002Bh-01 for java@freebsd.org; Tue, 30 Sep 2003 19:15:27 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.35 #1) id 1A4Va0-00022B-01; Tue, 30 Sep 2003 19:15:00 -0600 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) h911FRjG006591; Tue, 30 Sep 2003 19:15:28 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9p1/8.12.9/Submit) id h911FJgh006590; Tue, 30 Sep 2003 19:15:19 -0600 (MDT) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 30 Sep 2003 19:15:19 -0600 From: Greg Lewis To: "Georg-W. Koltermann" Message-ID: <20031001011519.GB6490@misty.eyesbeyond.com> References: <1062193328.1241.23.camel@hunter.muc.eu.mscsoftware.com> <20030904044719.GA35997@misty.eyesbeyond.com> <200309041108.44760.ernst.dehaan@nl.wanadoo.com> <1062706874.886.27.camel@hunter.muc.eu.mscsoftware.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1062706874.886.27.camel@hunter.muc.eu.mscsoftware.com> User-Agent: Mutt/1.4.1i X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on mgr1.xmission.com X-Spam-Status: No, hits=-0.9 required=8.0 tests=BAYES_30 autolearn=no version=2.60 X-Spam-Level: cc: Ernst de Haan cc: java@freebsd.org Subject: Re: Native jdk1.4.1 working X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2003 01:15:30 -0000 On Thu, Sep 04, 2003 at 10:21:14PM +0200, Georg-W. Koltermann wrote: > On Do, 2003-09-04 at 11:21, Ernst de Haan wrote: > > > I could use a suggested patch for this *hint* *hint* :-) > > > > Ernst > > Not really a patch, but from looking at the shell script of the Linux > distribution I see they are creating a hierarchy like the following: > > $ ls -lRa $JAVA_HOME/jre/.systemPrefs Argh, thats what I was missing. I need to put them in jre! Ernst, I think I can come up with a patch for this. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Wed Oct 1 00:18:54 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1749116A4B3 for ; Wed, 1 Oct 2003 00:18:54 -0700 (PDT) Received: from smtp1.euronet.nl (smtp1.euronet.nl [194.134.35.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2AA8343FFD for ; Wed, 1 Oct 2003 00:18:53 -0700 (PDT) (envelope-from ernst.dehaan@nl.wanadoo.com) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by smtp1.euronet.nl (Postfix) with ESMTP id A851C6772E; Wed, 1 Oct 2003 09:18:50 +0200 (MEST) From: Ernst de Haan Organization: Wanadoo Nederland B.V. To: Greg Lewis , "Georg-W. Koltermann" Date: Wed, 1 Oct 2003 09:18:53 +0200 User-Agent: KMail/1.5.2 References: <1062706874.886.27.camel@hunter.muc.eu.mscsoftware.com> <20031001011519.GB6490@misty.eyesbeyond.com> In-Reply-To: <20031001011519.GB6490@misty.eyesbeyond.com> X-Address: Muiderstraat 1, Amsterdam, Netherlands MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200310010918.53967.ernst.dehaan@nl.wanadoo.com> cc: java@freebsd.org Subject: Re: Native jdk1.4.1 working X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2003 07:18:54 -0000 Greg, > Argh, thats what I was missing. I need to put them in jre! Ernst, I > think I can come up with a patch for this. What can I say? This is great. I'm looking forward to your patch. Ernst From owner-freebsd-java@FreeBSD.ORG Wed Oct 1 04:09:06 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 142FE16A4B3; Wed, 1 Oct 2003 04:09:06 -0700 (PDT) Received: from puget.esil.univ-mrs.fr (puget.esil.univ-mrs.fr [139.124.41.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4AD8943FE9; Wed, 1 Oct 2003 04:09:04 -0700 (PDT) (envelope-from rv@puget.esil.univ-mrs.fr) Received: from puget.esil.univ-mrs.fr (localhost [127.0.0.1]) h91AxD9u055683; Wed, 1 Oct 2003 12:59:14 +0200 (CEST) (envelope-from rv@puget.esil.univ-mrs.fr) Received: (from rv@localhost) by puget.esil.univ-mrs.fr (8.12.9/8.12.9/Submit) id h91AxDqP055682; Wed, 1 Oct 2003 12:59:13 +0200 (CEST) Date: Wed, 1 Oct 2003 12:59:13 +0200 From: Herve Quiroz To: monthly@freebsd.org Message-ID: <20031001105913.GA55671@puget.esil.univ-mrs.fr> Mail-Followup-To: monthly@freebsd.org, Greg Lewis , Ernst de Haan , freebsd-java@FreeBSD.ORG Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="wac7ysb48OaltWcw" Content-Disposition: inline User-Agent: Mutt/1.4.1i cc: Greg Lewis cc: freebsd-java@freebsd.org Subject: Java community Status Report: bsd.java.mk 2.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2003 11:09:06 -0000 --wac7ysb48OaltWcw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Here is a status report for one of our current tasks. Regards Herve --wac7ysb48OaltWcw Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="2003-10.xml" bsd.java.mk version 2.0 Ernst De Haan znerd@FreeBSD.org Herve Quiroz herve.quiroz@esil.univ-mrs.fr Project homepage

      The FreeBSD Java community has started an effort to improve the current framework for Java-based ports. The main objective is the automation of JDK/JRE build and run dependency checking.

      The original version was aimed to ease the life of porters. Although it has proved to be useful and reliable to a great extend, we are currently working on a new version. We intend to reach a high degree of flexibility to cope with the recent increase of available JDK/JRE flavors. Furthermore, the new version will be easier to maintain, which means improved reliability, and hopefully more frequent updates.

      --wac7ysb48OaltWcw-- From owner-freebsd-java@FreeBSD.ORG Wed Oct 1 09:38:09 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5946016A4BF for ; Wed, 1 Oct 2003 09:38:09 -0700 (PDT) Received: from research.rutgers.edu (research.rutgers.edu [128.6.25.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25C6443FDF for ; Wed, 1 Oct 2003 09:38:08 -0700 (PDT) (envelope-from bohra@cs.rutgers.edu) Received: from cs.rutgers.edu (sirtaki.rutgers.edu [128.6.171.146]) h91Gc7H23282 for ; Wed, 1 Oct 2003 12:38:07 -0400 (EDT) Message-ID: <3F7B02ED.1020506@cs.rutgers.edu> Date: Wed, 01 Oct 2003 12:38:05 -0400 From: Aniruddha Bohra User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20030728 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: SPEC JVM'98 on diablo-jdk1.3.1 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2003 16:38:09 -0000 Hello We ran a couple of SPEC JVM benchmarks using the diablo-jdk1.3.1 package distributed by the FreeBSD Foundation on FreeBSD 4.8-STABLE from August 25. We compared it against the Linux JDK running on Linux-2.4.20. The performance on FreeBSD is 5 to 10 times lower than the Linux version. Are there any tuning parameters etc. that will help improve the performance? In any case, I would like to run this with native threads (right now it runs with green threads). How do I enable the native threads? Finally, does JAVA run on -current? Does it run with libkse or libthr? Thanks With regards Aniruddha From owner-freebsd-java@FreeBSD.ORG Wed Oct 1 10:29:18 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5104216A4C0 for ; Wed, 1 Oct 2003 10:29:18 -0700 (PDT) Received: from puget.esil.univ-mrs.fr (puget.esil.univ-mrs.fr [139.124.41.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1ACB743FBD for ; Wed, 1 Oct 2003 10:29:17 -0700 (PDT) (envelope-from rv@puget.esil.univ-mrs.fr) Received: from puget.esil.univ-mrs.fr (localhost [127.0.0.1]) by puget.esil.univ-mrs.fr (8.12.9/8.12.9) with ESMTP id h91HJP9u057379 for ; Wed, 1 Oct 2003 19:19:26 +0200 (CEST) (envelope-from rv@puget.esil.univ-mrs.fr) Received: (from rv@localhost) by puget.esil.univ-mrs.fr (8.12.9/8.12.9/Submit) id h91HJPa8057378 for freebsd-java@FreeBSD.ORG; Wed, 1 Oct 2003 19:19:25 +0200 (CEST) Date: Wed, 1 Oct 2003 19:19:24 +0200 From: Herve Quiroz To: freebsd-java@FreeBSD.ORG Message-ID: <20031001171924.GA57131@puget.esil.univ-mrs.fr> Mail-Followup-To: freebsd-java@FreeBSD.ORG Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: bsd.java.mk 2.0 Homepage X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2003 17:29:18 -0000 Hi all, In case you missed the monthly Status Report I submitted a few hours ago, I wanted you to know that the "bsd.java.mk 2.0 effort" has its own webpage: http://www.esil.univ-mrs.fr/~hquiroz/freebsd/bsd.java.mk-2.0.html Comments are welcome (even for typos and style, as English is not my main language). Any other help is also welcome, as always. Regards, Herve From owner-freebsd-java@FreeBSD.ORG Wed Oct 1 10:45:46 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC82B16A4B3 for ; Wed, 1 Oct 2003 10:45:46 -0700 (PDT) Received: from mgr4.xmission.com (mgr4.xmission.com [198.60.22.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 616CE43F3F for ; Wed, 1 Oct 2003 10:45:44 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr4.xmission.com with spam-scanned (Exim 3.35 #1) id 1A4l2l-00082l-04 for freebsd-java@freebsd.org; Wed, 01 Oct 2003 11:45:43 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr4.xmission.com with esmtp (Exim 3.35 #1) id 1A4l2c-0007xn-04; Wed, 01 Oct 2003 11:45:35 -0600 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) h91Hk4jG011015; Wed, 1 Oct 2003 11:46:05 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9p1/8.12.9/Submit) id h91Hk2ja011014; Wed, 1 Oct 2003 11:46:02 -0600 (MDT) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 1 Oct 2003 11:46:02 -0600 From: Greg Lewis To: Aniruddha Bohra Message-ID: <20031001174601.GA10929@misty.eyesbeyond.com> References: <3F7B02ED.1020506@cs.rutgers.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F7B02ED.1020506@cs.rutgers.edu> User-Agent: Mutt/1.4.1i X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on mgr4.xmission.com X-Spam-Status: No, hits=-0.9 required=8.0 tests=BAYES_10 autolearn=no version=2.60 X-Spam-Level: cc: freebsd-java@FreeBSD.org Subject: Re: SPEC JVM'98 on diablo-jdk1.3.1 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2003 17:45:46 -0000 On Wed, Oct 01, 2003 at 12:38:05PM -0400, Aniruddha Bohra wrote: > We ran a couple of SPEC JVM benchmarks using the > diablo-jdk1.3.1 package distributed by the FreeBSD Foundation > on FreeBSD 4.8-STABLE from August 25. > We compared it against the Linux JDK running on Linux-2.4.20. > The performance on FreeBSD is 5 to 10 times lower than the Linux > version. The FreeBSD version is using the byte code interpreter, the Linux version is using the HotSpot JVM. This isn't really surprising. > Are there any tuning parameters etc. that will help improve the > performance? In any case, I would like to run this with native threads > (right now it runs with green threads). How do I enable the native > threads? You can't enable native threads as the Diablo distribution doesn't include native threads support (its not complete). If you want something faster, I'd suggest (in order): 1. Using the jdk14 port. 2. Use the jdk13 port and enabling HotSpot. 3. Install a JIT (e.g. shuJIT, OpenJIT). None of these will get you a compliant JDK, but they will all get you a faster JDK. > Finally, does JAVA run on -current? Does it run with libkse or > libthr? You can build a JDK on -current. However, the Diablo distribution doesn't support FreeBSD 5.1. I'm not sure if the fix has been committed to -current which stopped it working on 5.1. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Wed Oct 1 11:21:41 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A3CE516A4B3 for ; Wed, 1 Oct 2003 11:21:41 -0700 (PDT) Received: from mgr5.xmission.com (mgr5.xmission.com [198.60.22.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBDB543FAF for ; Wed, 1 Oct 2003 11:21:39 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr5.xmission.com with spam-scanned (Exim 3.35 #1) id 1A4lbW-0001NF-05 for java@freebsd.org; Wed, 01 Oct 2003 12:21:39 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr5.xmission.com with esmtp (Exim 3.35 #1) id 1A4lbR-0001KE-05; Wed, 01 Oct 2003 12:21:34 -0600 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) h91IM2jG011212; Wed, 1 Oct 2003 12:22:03 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9p1/8.12.9/Submit) id h91ILx85011211; Wed, 1 Oct 2003 12:21:59 -0600 (MDT) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 1 Oct 2003 12:21:59 -0600 From: Greg Lewis To: Ernst de Haan Message-ID: <20031001182159.GA11190@misty.eyesbeyond.com> References: <1062706874.886.27.camel@hunter.muc.eu.mscsoftware.com> <20031001011519.GB6490@misty.eyesbeyond.com> <200310010918.53967.ernst.dehaan@nl.wanadoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="C7zPtVaVf+AK4Oqc" Content-Disposition: inline In-Reply-To: <200310010918.53967.ernst.dehaan@nl.wanadoo.com> User-Agent: Mutt/1.4.1i X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on mgr5.xmission.com X-Spam-Status: No, hits=-0.0 required=8.0 tests=BAYES_40 autolearn=no version=2.60 X-Spam-Level: cc: java@freebsd.org cc: "Georg-W. Koltermann" Subject: Re: Native jdk1.4.1 working X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2003 18:21:41 -0000 --C7zPtVaVf+AK4Oqc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Oct 01, 2003 at 09:18:53AM +0200, Ernst de Haan wrote: > > Argh, thats what I was missing. I need to put them in jre! Ernst, I > > think I can come up with a patch for this. > > What can I say? This is great. I'm looking forward to your patch. Look forward no longer... Here 'tis :). I have a similar patch for the native port which I'll run by Alexey if you think this one is ok. It may also be worthwhile adding something similar to both linux-blackdown-jdk14 and linux-ibm-jdk14. I'll try and figure out if they need it (I'm sure Blackdown does, not so sure about IBM). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org --C7zPtVaVf+AK4Oqc Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="prefs.diff" Index: Makefile =================================================================== RCS file: /var/fcvs/ports/java/linux-sun-jdk14/Makefile,v retrieving revision 1.36 diff -u -r1.36 Makefile --- Makefile 30 Sep 2003 23:42:51 -0000 1.36 +++ Makefile 1 Oct 2003 18:16:39 -0000 @@ -7,7 +7,7 @@ PORTNAME= jdk PORTVERSION= ${INSTALL_JDK_VERSION} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= java devel MASTER_SITES= # PKGNAMEPREFIX= linux-sun- @@ -71,6 +71,11 @@ ${RM} -f ${APP_HOME}/`dirname $$i`/`basename $$i .jar`.pack; \ fi \ done + +post-install: ${LOCALBASE}/bin/registervm "${APP_HOME}/bin/java # Linux-Sun-JDK${PORTVERSION}" + ${SED} -e "s:%%JRE_HOME%%:${APP_HOME}/jre:g" \ + < ${FILESDIR}/pkg-install.in > ${PKGINSTALL} + ${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL .include Index: pkg-plist =================================================================== RCS file: /var/fcvs/ports/java/linux-sun-jdk14/pkg-plist,v retrieving revision 1.15 diff -u -r1.15 pkg-plist --- pkg-plist 4 Sep 2003 15:09:56 -0000 1.15 +++ pkg-plist 1 Oct 2003 17:15:45 -0000 @@ -883,6 +883,8 @@ %%T%%/include/jvmpi.h %%T%%/include/linux/jawt_md.h %%T%%/include/linux/jni_md.h +%%T%%/jre/.systemPrefs/.system.lock +%%T%%/jre/.systemPrefs/.systemRootModFile %%T%%/jre/CHANGES %%T%%/jre/COPYRIGHT %%T%%/jre/ControlPanel.html @@ -1589,6 +1591,7 @@ @dirrm %%T%%/jre/javaws/resources @dirrm %%T%%/jre/javaws @dirrm %%T%%/jre/bin +@dirrm %%T%%/jre/.systemPrefs @dirrm %%T%%/jre @dirrm %%T%%/include/linux @dirrm %%T%%/include Index: files/pkg-install.in =================================================================== RCS file: files/pkg-install.in diff -N files/pkg-install.in --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/pkg-install.in 1 Oct 2003 17:16:00 -0000 @@ -0,0 +1,19 @@ +#!/bin/sh + +# System preference location +PREFS_LOCATION=%%JRE_HOME%% + +# Set up system preferences during post install +if [ "$2" = "POST-INSTALL" ]; then + if [ ! -d "${PREFS_LOCATION}/.systemPrefs" ] ; then + mkdir -m 755 "${PREFS_LOCATION}/.systemPrefs" + fi + if [ ! -f "${PREFS_LOCATION}/.systemPrefs/.system.lock" ] ; then + touch "${PREFS_LOCATION}/.systemPrefs/.system.lock" + chmod 644 "${PREFS_LOCATION}/.systemPrefs/.system.lock" + fi + if [ ! -f "${PREFS_LOCATION}/.systemPrefs/.systemRootModFile" ] ; then + touch "${PREFS_LOCATION}/.systemPrefs/.systemRootModFile" + chmod 644 "${PREFS_LOCATION}/.systemPrefs/.systemRootModFile" + fi +fi --C7zPtVaVf+AK4Oqc-- From owner-freebsd-java@FreeBSD.ORG Thu Oct 2 02:55:02 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D370616A4B3 for ; Thu, 2 Oct 2003 02:55:02 -0700 (PDT) Received: from mail18.svr.pol.co.uk (mail18.svr.pol.co.uk [195.92.67.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE03743FE5 for ; Thu, 2 Oct 2003 02:54:59 -0700 (PDT) (envelope-from james@gamepub.com) Received: from modem-11.chimpanzee.dialup.pol.co.uk ([217.134.112.11] helo=reale) by mail18.svr.pol.co.uk with smtp (Exim 4.14) id 1A50Ai-0007g5-Ky for freebsd-java@freebsd.org; Thu, 02 Oct 2003 10:54:57 +0100 Message-ID: <001701c388cb$3cefc130$0b7086d9@reale> From: "James Adams" To: Date: Thu, 2 Oct 2003 10:54:56 +0100 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: /usr/local/jdk1.4.1/jre/lib/security/cacerts X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2003 09:55:03 -0000 Hello, I saw a post of yours on the Java on FreeBSD mailing list back in = August. I'm trying to get Java + SSL working on native Java 1.4.1 port, for = JBoss/Jetty. I replaced the cacerts file as you mention below, but I'm still having = trouble with it. It just seems to hang when trying to do anything = involving ssl, including using keytool. Did you ever get SSL working on FreeBSD with the native Java 1.4.1 port? Any help will be much appreciated regards James >Hi, > >I'm trying out my hand on Java+SSL, and have discovered that: > > /usr/local/jdk1.4.1/jre/lib/security/cacerts > >is only 32 bytes long. This can't be correct; shouldn't it have the CA >for people like Verisign and Thawte? I substituted it with one I got = off >a Windows box (which was about 11k big), and that seemed to work fine. > >Is this a packaging bug? Or some deliberate thing I don't know about? > >Cheers. >--=20 >Jonathan Chen From owner-freebsd-java@FreeBSD.ORG Thu Oct 2 03:15:55 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B69FA16A4B3 for ; Thu, 2 Oct 2003 03:15:55 -0700 (PDT) Received: from hotmail.com (law14-f63.law14.hotmail.com [64.4.21.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id 430FA43F93 for ; Thu, 2 Oct 2003 03:15:55 -0700 (PDT) (envelope-from seventyforty@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 2 Oct 2003 03:15:55 -0700 Received: from 195.92.67.66 by lw14fd.law14.hotmail.msn.com with HTTP; Thu, 02 Oct 2003 10:15:54 GMT X-Originating-IP: [195.92.67.66] X-Originating-Email: [seventyforty@hotmail.com] From: "James Adams" To: freebsd-java@freebsd.org Date: Thu, 02 Oct 2003 10:15:54 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 02 Oct 2003 10:15:55.0267 (UTC) FILETIME=[2A68FD30:01C388CE] Subject: SSL on Java 1.4.1 native port X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2003 10:15:55 -0000 Hello all, I've been using the native port of Java 1.4.1 to run JBoss 3.2.1 + a custom server that uses and its been working perfectly. I've just tried to use SSL with JBoss/Jetty and it hangs on initialisation. Using keytool also causes it to hang when it tries to generate a key. I've included a cacerts files taken from another distribution as discuessed in http://lists.freebsd.org/mailman/htdig/freebsd-java/2003-August/000600.html but this didn't seem to help. Any help will be much appreciated regards James _________________________________________________________________ On the move? Get Hotmail on your mobile phone http://www.msn.co.uk/msnmobile From owner-freebsd-java@FreeBSD.ORG Thu Oct 2 03:49:01 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9665016A4B3 for ; Thu, 2 Oct 2003 03:49:01 -0700 (PDT) Received: from diomedes.noc.ntua.gr (diomedes.noc.ntua.gr [147.102.222.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20E2343FAF for ; Thu, 2 Oct 2003 03:49:00 -0700 (PDT) (envelope-from past@noc.ntua.gr) Received: from ajax.noc.ntua.gr (ajax.noc.ntua.gr [147.102.220.1]) h92AmwSW094070; Thu, 2 Oct 2003 13:48:58 +0300 (EEST) (envelope-from past@noc.ntua.gr) Received: from noc.ntua.gr (hal.noc.ntua.gr [147.102.220.45]) by ajax.noc.ntua.gr (8.12.9p1/8.12.9) with ESMTP id h92Amv36068421; Thu, 2 Oct 2003 13:48:58 +0300 (EEST) (envelope-from past@noc.ntua.gr) Message-ID: <3F7C0299.1000001@noc.ntua.gr> Date: Thu, 02 Oct 2003 13:48:57 +0300 From: Panagiotis Astithas Organization: NTUA/NMC User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20030924 X-Accept-Language: el, en-us, en MIME-Version: 1.0 To: James Adams References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-java@freebsd.org Subject: Re: SSL on Java 1.4.1 native port X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2003 10:49:01 -0000 James Adams wrote: > Hello all, > > I've been using the native port of Java 1.4.1 to run JBoss 3.2.1 + a > custom server that uses and its been working perfectly. > > I've just tried to use SSL with JBoss/Jetty and it hangs on > initialisation. Using keytool also causes it to hang when it tries to > generate a key. Hi, I' ve had similar symptoms using SSL+Tomcat and I overcame them using rndcontrol to put some more interrupts (ethernet & clock, IIRC) to seed the PRNG. Cheers, -- Panagiotis Astithas Electrical & Computer Engineer, PhD Network Management Center National Technical University of Athens, Greece From owner-freebsd-java@FreeBSD.ORG Thu Oct 2 04:10:35 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B29516A4B3 for ; Thu, 2 Oct 2003 04:10:35 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A8DD43FD7 for ; Thu, 2 Oct 2003 04:10:32 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) h92BABBB013916 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 2 Oct 2003 12:10:24 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id h92BABG4013915; Thu, 2 Oct 2003 12:10:11 +0100 (BST) (envelope-from matthew) Date: Thu, 2 Oct 2003 12:10:11 +0100 From: Matthew Seaman To: Panagiotis Astithas Message-ID: <20031002111011.GC13305@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Panagiotis Astithas , James Adams , freebsd-java@freebsd.org References: <3F7C0299.1000001@noc.ntua.gr> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="B4IIlcmfBL/1gGOG" Content-Disposition: inline In-Reply-To: <3F7C0299.1000001@noc.ntua.gr> User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-java@freebsd.org cc: James Adams Subject: Re: SSL on Java 1.4.1 native port X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2003 11:10:35 -0000 --B4IIlcmfBL/1gGOG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 02, 2003 at 01:48:57PM +0300, Panagiotis Astithas wrote: > I' ve had similar symptoms using SSL+Tomcat and I overcame them using=20 > rndcontrol to put some more interrupts (ethernet & clock, IIRC) to seed= =20 > the PRNG. Using the clock interrupt won't introduce any randomness into the PRNG... The randomness that is derived from interrupts comes out of the unpredictability of the time gap between them. That obviously doesn't apply to the clock interrupt. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --B4IIlcmfBL/1gGOG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/fAeTdtESqEQa7a0RAqQGAKCTK+pcy1WsbOYaD3cWXnvOJOUhzACfRndB XZ582XYFuAPWX/M/QfouL3s= =DMU0 -----END PGP SIGNATURE----- --B4IIlcmfBL/1gGOG-- From owner-freebsd-java@FreeBSD.ORG Thu Oct 2 04:26:31 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 643D916A4B3 for ; Thu, 2 Oct 2003 04:26:31 -0700 (PDT) Received: from hotmail.com (law14-oe36.law14.hotmail.com [64.4.20.93]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4033C43FDF for ; Thu, 2 Oct 2003 04:26:30 -0700 (PDT) (envelope-from seventyforty@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 2 Oct 2003 04:26:30 -0700 Received: from 195.92.67.209 by law14-oe36.law14.hotmail.com with DAV; Thu, 02 Oct 2003 11:26:29 +0000 X-Originating-IP: [195.92.67.209] X-Originating-Email: [seventyforty@hotmail.com] From: "SeventyForty" To: "Matthew Seaman" , "Panagiotis Astithas" References: <3F7C0299.1000001@noc.ntua.gr> <20031002111011.GC13305@happy-idiot-talk.infracaninophile.co.uk> Date: Thu, 2 Oct 2003 12:26:23 +0100 Organization: SeventyForty MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2720.3000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2727.1300 Message-ID: X-OriginalArrivalTime: 02 Oct 2003 11:26:30.0093 (UTC) FILETIME=[069027D0:01C388D8] cc: freebsd-java@freebsd.org Subject: Re: SSL on Java 1.4.1 native port X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: SeventyForty List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2003 11:26:31 -0000 X-List-Received-Date: Thu, 02 Oct 2003 11:26:31 -0000 I added a number of different randomness "things" using rndcontrol such as #rndcontrol -s 5 #rndcontrol -s 10 + a couple of others and now all works fine many thanks James ----- Original Message ----- From: "Matthew Seaman" To: "Panagiotis Astithas" Cc: ; "James Adams" Sent: Thursday, October 02, 2003 12:10 PM Subject: Re: SSL on Java 1.4.1 native port From owner-freebsd-java@FreeBSD.ORG Thu Oct 2 04:26:31 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A13E16A4B3 for ; Thu, 2 Oct 2003 04:26:31 -0700 (PDT) Received: from ulysses.noc.ntua.gr (ulysses.noc.ntua.gr [147.102.222.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2225243FAF for ; Thu, 2 Oct 2003 04:26:30 -0700 (PDT) (envelope-from past@noc.ntua.gr) Received: from ajax.noc.ntua.gr (ajax.noc.ntua.gr [147.102.220.1]) by ulysses.noc.ntua.gr (8.12.9p1/8.12.9) with ESMTP id h92BPqUo078031; Thu, 2 Oct 2003 14:25:52 +0300 (EEST) (envelope-from past@noc.ntua.gr) Received: from noc.ntua.gr (hal.noc.ntua.gr [147.102.220.45]) by ajax.noc.ntua.gr (8.12.9p1/8.12.9) with ESMTP id h92BPp36074751; Thu, 2 Oct 2003 14:25:51 +0300 (EEST) (envelope-from past@noc.ntua.gr) Message-ID: <3F7C0B3F.8010806@noc.ntua.gr> Date: Thu, 02 Oct 2003 14:25:51 +0300 From: Panagiotis Astithas Organization: NTUA/NMC User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20030924 X-Accept-Language: el, en-us, en MIME-Version: 1.0 To: Matthew Seaman References: <3F7C0299.1000001@noc.ntua.gr> <20031002111011.GC13305@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <20031002111011.GC13305@happy-idiot-talk.infracaninophile.co.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: James Adams cc: freebsd-java@freebsd.org Subject: Re: SSL on Java 1.4.1 native port X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2003 11:26:31 -0000 Matthew Seaman wrote: > On Thu, Oct 02, 2003 at 01:48:57PM +0300, Panagiotis Astithas wrote: > > >>I' ve had similar symptoms using SSL+Tomcat and I overcame them using >>rndcontrol to put some more interrupts (ethernet & clock, IIRC) to seed >>the PRNG. > > > Using the clock interrupt won't introduce any randomness into the > PRNG... The randomness that is derived from interrupts comes out of > the unpredictability of the time gap between them. That obviously > doesn't apply to the clock interrupt. Of course, you are right. Now that I am checking, I see that I actually use etherenet & ata. Cheers, -- Panagiotis Astithas Electrical & Computer Engineer, PhD Network Management Center National Technical University of Athens, Greece From owner-freebsd-java@FreeBSD.ORG Thu Oct 2 05:31:36 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E8D2E16A4B3 for ; Thu, 2 Oct 2003 05:31:36 -0700 (PDT) Received: from diomedes.noc.ntua.gr (diomedes.noc.ntua.gr [147.102.222.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E89143FB1 for ; Thu, 2 Oct 2003 05:31:35 -0700 (PDT) (envelope-from past@noc.ntua.gr) Received: from ajax.noc.ntua.gr (ajax.noc.ntua.gr [147.102.220.1]) h92CVGSW016129; Thu, 2 Oct 2003 15:31:16 +0300 (EEST) (envelope-from past@noc.ntua.gr) Received: from noc.ntua.gr (hal.noc.ntua.gr [147.102.220.45]) by ajax.noc.ntua.gr (8.12.9p1/8.12.9) with ESMTP id h92CVF36086588; Thu, 2 Oct 2003 15:31:15 +0300 (EEST) (envelope-from past@noc.ntua.gr) Message-ID: <3F7C1A93.3020700@noc.ntua.gr> Date: Thu, 02 Oct 2003 15:31:15 +0300 From: Panagiotis Astithas Organization: NTUA/NMC User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20030924 X-Accept-Language: el, en-us, en MIME-Version: 1.0 To: SeventyForty References: <3F7C0299.1000001@noc.ntua.gr> <20031002111011.GC13305@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-java@freebsd.org cc: Matthew Seaman Subject: Re: SSL on Java 1.4.1 native port X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2003 12:31:37 -0000 SeventyForty wrote: > I added a number of different randomness "things" using rndcontrol > > such as > > #rndcontrol -s 5 > #rndcontrol -s 10 > + a couple of others > > and now all works fine Just bear in mind that the more interrupts you use to seed randomness, the more interrupt latency you are going to experience, in those interrupts. Cheers, -- Panagiotis Astithas Electrical & Computer Engineer, PhD Network Management Center National Technical University of Athens, Greece From owner-freebsd-java@FreeBSD.ORG Thu Oct 2 06:07:11 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A016116A4B3 for ; Thu, 2 Oct 2003 06:07:11 -0700 (PDT) Received: from smtp1.euronet.nl (smtp1.euronet.nl [194.134.35.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD70543FA3 for ; Thu, 2 Oct 2003 06:07:08 -0700 (PDT) (envelope-from znerd@FreeBSD.org) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by smtp1.euronet.nl (Postfix) with ESMTP id 2BF4A671F2 for ; Thu, 2 Oct 2003 15:07:06 +0200 (MEST) From: Ernst de Haan To: java@freebsd.org Date: Thu, 2 Oct 2003 15:07:09 +0200 User-Agent: KMail/1.5.2 X-Address: Muiderstraat 1, Amsterdam, Netherlands MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200310021507.09939.znerd@FreeBSD.org> Subject: [OT] SourceForge AddReleaseTask X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2003 13:07:11 -0000 Offtopic: A question about HTTPS / Java: I'm writing an Ant task to automate the SourceForge 'Add release' procedure. For this I'm using Jakarta Commons Net and HttpClient. The task can be used in an Ant build file as follows: The login is done using HTTPS. The Commons HttpClient library supports this. But apparently, the server is not trusted, because I get a javax.net.ssl.SSLHandshakeException. The message is: "java.security.cert.CertificateException: Could not find trusted certificate" Apparently, I need to get the certificate of sourceforge.net and store it in a keystore. Perhaps I should use 'keytool -import' for this, in some way. Questions: * How do I get the certificate of sourceforge.net? * How do I store it in a file so that Java will accept it? Ernst From owner-freebsd-java@FreeBSD.ORG Thu Oct 2 06:27:27 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 995D816A4B3 for ; Thu, 2 Oct 2003 06:27:27 -0700 (PDT) Received: from svbcf02.win.tue.nl (svbcf02.win.tue.nl [131.155.71.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6BF043F75 for ; Thu, 2 Oct 2003 06:27:26 -0700 (PDT) (envelope-from mriem@win.tue.nl) Received: from master (dyn361 [131.155.71.47]) by svbcf02.win.tue.nl (Postfix) with ESMTP id 106ED25AE1 for ; Thu, 2 Oct 2003 15:27:26 +0200 (MET DST) From: "Manfred Riem" To: Date: Thu, 2 Oct 2003 15:27:25 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal In-Reply-To: <200310021507.09939.znerd@FreeBSD.org> Subject: RE: [OT] SourceForge AddReleaseTask X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: mriem@win.tue.nl List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2003 13:27:27 -0000 Hi Ernst, You can do 2 things. Either just disable certificate validation in Java. See http://javaalmanac.com/egs/javax.net.ssl/TrustAll.html Or adding the certificate See http://javaalmanac.com/egs/javax.net.ssl/GetCert.html See http://javaalmanac.com/egs/java.security/AddCert.html Regards, Manfred. -----Original Message----- From: owner-freebsd-java@freebsd.org [mailto:owner-freebsd-java@freebsd.org] On Behalf Of Ernst de Haan Sent: Thursday, October 02, 2003 3:07 PM To: java@freebsd.org Subject: [OT] SourceForge AddReleaseTask Offtopic: A question about HTTPS / Java: I'm writing an Ant task to automate the SourceForge 'Add release' procedure. For this I'm using Jakarta Commons Net and HttpClient. The task can be used in an Ant build file as follows: The login is done using HTTPS. The Commons HttpClient library supports this. But apparently, the server is not trusted, because I get a javax.net.ssl.SSLHandshakeException. The message is: "java.security.cert.CertificateException: Could not find trusted certificate" Apparently, I need to get the certificate of sourceforge.net and store it in a keystore. Perhaps I should use 'keytool -import' for this, in some way. Questions: * How do I get the certificate of sourceforge.net? * How do I store it in a file so that Java will accept it? Ernst _______________________________________________ freebsd-java@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-java To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" From owner-freebsd-java@FreeBSD.ORG Thu Oct 2 06:47:02 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C13316A4BF; Thu, 2 Oct 2003 06:47:02 -0700 (PDT) Received: from ulysses.noc.ntua.gr (ulysses.noc.ntua.gr [147.102.222.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0630243FE0; Thu, 2 Oct 2003 06:46:59 -0700 (PDT) (envelope-from past@noc.ntua.gr) Received: from ajax.noc.ntua.gr (ajax.noc.ntua.gr [147.102.220.1]) by ulysses.noc.ntua.gr (8.12.9p1/8.12.9) with ESMTP id h92DkvUo097037; Thu, 2 Oct 2003 16:46:57 +0300 (EEST) (envelope-from past@noc.ntua.gr) Received: from noc.ntua.gr (hal.noc.ntua.gr [147.102.220.45]) by ajax.noc.ntua.gr (8.12.9p1/8.12.9) with ESMTP id h92Dku36000198; Thu, 2 Oct 2003 16:46:57 +0300 (EEST) (envelope-from past@noc.ntua.gr) Message-ID: <3F7C2C50.2080807@noc.ntua.gr> Date: Thu, 02 Oct 2003 16:46:56 +0300 From: Panagiotis Astithas Organization: NTUA/NMC User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20030924 X-Accept-Language: el, en-us, en MIME-Version: 1.0 To: Ernst de Haan References: <200310021507.09939.znerd@FreeBSD.org> In-Reply-To: <200310021507.09939.znerd@FreeBSD.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: java@freebsd.org Subject: Re: [OT] SourceForge AddReleaseTask X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2003 13:47:02 -0000 Ernst de Haan wrote: > Questions: > * How do I get the certificate of sourceforge.net? Usually, I use a browser to connect to the https site, and then export the certificate to a file. > * How do I store it in a file so that Java will accept it? keytool -import -keystore [keystore-file] Cheers, -- Panagiotis Astithas Electrical & Computer Engineer, PhD Network Management Center National Technical University of Athens, Greece From owner-freebsd-java@FreeBSD.ORG Thu Oct 2 06:58:38 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7AE4816A4B3 for ; Thu, 2 Oct 2003 06:58:38 -0700 (PDT) Received: from smtp1.euronet.nl (smtp1.euronet.nl [194.134.35.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFC2E43FE3 for ; Thu, 2 Oct 2003 06:58:36 -0700 (PDT) (envelope-from ernst.dehaan@nl.wanadoo.com) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by smtp1.euronet.nl (Postfix) with ESMTP id 6EB9567470; Thu, 2 Oct 2003 15:58:34 +0200 (MEST) From: Ernst de Haan Organization: Wanadoo Nederland B.V. To: mriem@win.tue.nl, Date: Thu, 2 Oct 2003 15:58:38 +0200 User-Agent: KMail/1.5.2 References: In-Reply-To: X-Address: Muiderstraat 1, Amsterdam, Netherlands MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_O8Cf/EV4ajtYq+t" Message-Id: <200310021558.38487.ernst.dehaan@nl.wanadoo.com> X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Re: [OT] SourceForge AddReleaseTask X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2003 13:58:38 -0000 --Boundary-00=_O8Cf/EV4ajtYq+t Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Manfred, Thanks for the quick reply! /me considers buying this Java Almanac book > See http://javaalmanac.com/egs/javax.net.ssl/TrustAll.html I've tried this and it doesn't seem to work. See attached file for the source code. > Or adding the certificate > > See http://javaalmanac.com/egs/javax.net.ssl/GetCert.html > See http://javaalmanac.com/egs/java.security/AddCert.html I'll try this next... Ernst --Boundary-00=_O8Cf/EV4ajtYq+t-- From owner-freebsd-java@FreeBSD.ORG Thu Oct 2 07:13:23 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 35C4F16A4B3 for ; Thu, 2 Oct 2003 07:13:23 -0700 (PDT) Received: from smtp1.euronet.nl (smtp1.euronet.nl [194.134.35.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11C7243F75 for ; Thu, 2 Oct 2003 07:13:22 -0700 (PDT) (envelope-from ernst.dehaan@nl.wanadoo.com) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by smtp1.euronet.nl (Postfix) with ESMTP id 63443679A6; Thu, 2 Oct 2003 16:13:19 +0200 (MEST) From: Ernst de Haan Organization: Wanadoo Nederland B.V. To: mriem@win.tue.nl, Date: Thu, 2 Oct 2003 16:13:23 +0200 User-Agent: KMail/1.5.2 References: In-Reply-To: X-Address: Muiderstraat 1, Amsterdam, Netherlands MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_DKDf/8VLx/F4T9v" Message-Id: <200310021613.23463.ernst.dehaan@nl.wanadoo.com> X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Re: [OT] SourceForge AddReleaseTask X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2003 14:13:23 -0000 --Boundary-00=_DKDf/8VLx/F4T9v Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline > See http://javaalmanac.com/egs/javax.net.ssl/GetCert.html This doesn't seem to work for me: java -cp ${CLASSPATH}:build/xins-common.jar org.xins.tools.security.FetchCertificate sourceforge.net Exception in thread "main" javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Could not find trusted certificate at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.a(DashoA6275) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275) at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA6275) at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA6275) at com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(DashoA6275) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(DashoA6275) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(DashoA6275) at org.xins.tools.security.FetchCertificate.main(FetchCertificate.java:42) Caused by: java.security.cert.CertificateException: Could not find trusted certificate at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.a(DashoA6275) at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(DashoA6275) at com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(DashoA6275) ... 7 more See the attaches source code. That should do the trick, shouldn't it? Ernst --Boundary-00=_DKDf/8VLx/F4T9v-- From owner-freebsd-java@FreeBSD.ORG Thu Oct 2 07:16:42 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1BDFB16A4B3 for ; Thu, 2 Oct 2003 07:16:42 -0700 (PDT) Received: from smtp1.euronet.nl (smtp1.euronet.nl [194.134.35.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 437AB43FCB for ; Thu, 2 Oct 2003 07:16:39 -0700 (PDT) (envelope-from ernst.dehaan@nl.wanadoo.com) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by smtp1.euronet.nl (Postfix) with ESMTP id C5B7B67363; Thu, 2 Oct 2003 16:16:36 +0200 (MEST) From: Ernst de Haan Organization: Wanadoo Nederland B.V. To: mriem@win.tue.nl, Date: Thu, 2 Oct 2003 16:16:41 +0200 User-Agent: KMail/1.5.2 References: <200310021613.23463.ernst.dehaan@nl.wanadoo.com> In-Reply-To: <200310021613.23463.ernst.dehaan@nl.wanadoo.com> X-Address: Muiderstraat 1, Amsterdam, Netherlands MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200310021616.41179.ernst.dehaan@nl.wanadoo.com> Subject: Re: [OT] SourceForge AddReleaseTask X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2003 14:16:42 -0000 Argh. The attachement got swallowed by java@ again. It's available here: http://people.freebsd.org/~znerd/FetchCertificate.java Ernst On donderdag 2 oktober 2003 16:13, Ernst de Haan wrote: > > See http://javaalmanac.com/egs/javax.net.ssl/GetCert.html > > This doesn't seem to work for me: > > java -cp ${CLASSPATH}:build/xins-common.jar > org.xins.tools.security.FetchCertificate sourceforge.net > Exception in thread "main" javax.net.ssl.SSLHandshakeException: > java.security.cert.CertificateException: Could not find trusted > certificate at > com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.a(DashoA6275) at > com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275) at > com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275) at > com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA6275) at > com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA6275) at > com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(DashoA6275) at > com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275) at > com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(DashoA6275) at > com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(DashoA6275) > at > org.xins.tools.security.FetchCertificate.main(FetchCertificate.java:42) > Caused by: java.security.cert.CertificateException: Could not find > trusted certificate > at > com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.a(DashoA6275) at > com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Dash >oA6275) at > com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(Dash >oA6275) ... 7 more > > See the attaches source code. That should do the trick, shouldn't it? > > Ernst From owner-freebsd-java@FreeBSD.ORG Thu Oct 2 07:27:19 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7BB1F16A4B3 for ; Thu, 2 Oct 2003 07:27:19 -0700 (PDT) Received: from smtp0.euronet.nl (smtp0.euronet.nl [194.134.35.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1989043FA3 for ; Thu, 2 Oct 2003 07:27:18 -0700 (PDT) (envelope-from ernst.dehaan@nl.wanadoo.com) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by smtp0.euronet.nl (Postfix) with ESMTP id D6F6224BDC; Thu, 2 Oct 2003 16:27:15 +0200 (MEST) From: Ernst de Haan Organization: Wanadoo Nederland B.V. To: mriem@win.tue.nl, Date: Thu, 2 Oct 2003 16:27:19 +0200 User-Agent: KMail/1.5.2 References: <200310021613.23463.ernst.dehaan@nl.wanadoo.com> In-Reply-To: <200310021613.23463.ernst.dehaan@nl.wanadoo.com> X-Address: Muiderstraat 1, Amsterdam, Netherlands MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200310021627.19590.ernst.dehaan@nl.wanadoo.com> Subject: Re: [OT] SourceForge AddReleaseTask X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2003 14:27:19 -0000 The certificate fetching does work now. I'm disabling the SSL certificate validation first, and then I can get the SSL certificates. I'm uploading the new source file to: http://people.freebsd.org/~znerd/FetchCertificate.java Below is the output I get for sourceforge.net. $ java -cp ${CLASSPATH}:build/xins-common.jar org.xins.tools.security.FetchCertificate sourceforge.net Fetched 1 certificate(s). CERTIFICATE #0: [ [ Version: V3 Subject: CN=sourceforge.net, OU=Domain Control Validated, OU=See www.geotrust.com/quickssl/cps (c)03, OU=Business Registration: https:// services.choicepoint.net/get.jsp?3754508056, O=sourceforge.net, C=US Signature Algorithm: SHA1withRSA, OID = 1.2.840.113549.1.1.5 Key: com.sun.net.ssl.internal.ssl.JSA_RSAPublicKey@1fd Validity: [From: Wed Apr 09 00:24:14 GMT 2003, To: Sat Apr 09 00:24:14 GMT 2005] Issuer: OU=Equifax Secure Certificate Authority, O=Equifax, C=US SerialNumber: [ 03be4c] Certificate Extensions: 6 [1]: ObjectId: 2.5.29.14 Criticality=false SubjectKeyIdentifier [ KeyIdentifier [ 0000: E7 E3 00 04 63 28 23 3C 82 64 5B 6C FA F9 80 4D ....c(#<.d[l...M 0010: BA AF EF 4E ...N ] ] [2]: ObjectId: 2.16.840.1.113730.1.1 Criticality=false NetscapeCertType [ SSL server ] [3]: ObjectId: 2.5.29.35 Criticality=false AuthorityKeyIdentifier [ KeyIdentifier [ 0000: 48 E6 68 F9 2B D2 B2 95 D7 47 D8 23 20 10 4F 33 H.h.+....G.# .O3 0010: 98 90 9F D4 .... ] ] [4]: ObjectId: 2.5.29.31 Criticality=false Extension unknown: DER encoded OCTET string = 0000: 04 33 30 31 30 2F A0 2D A0 2B 86 29 68 74 74 70 .3010/.-.+.)http 0010: 3A 2F 2F 63 72 6C 2E 67 65 6F 74 72 75 73 74 2E ://crl.geotrust. 0020: 63 6F 6D 2F 63 72 6C 73 2F 73 65 63 75 72 65 63 com/crls/securec 0030: 61 2E 63 72 6C a.crl [5]: ObjectId: 2.5.29.37 Criticality=false ExtendedKeyUsages [ [1.3.6.1.5.5.7.3.1]] [6]: ObjectId: 2.5.29.15 Criticality=true KeyUsage [ DigitalSignature Non_repudiation Key_Encipherment Data_Encipherment ] ] Algorithm: [SHA1withRSA] Signature: 0000: 1E 80 38 DA 35 F7 FE 93 E1 A3 F8 DE 88 6D 88 64 ..8.5........m.d 0010: 1B 13 AD C4 94 E8 17 4B 98 65 C7 8C 10 81 05 A8 .......K.e...... 0020: EE 46 F6 96 AE 8C 34 8C DF F7 EE E6 D6 9D 11 22 .F....4........" 0030: 54 C2 89 51 87 AB C4 CB F5 DA CB C3 5F 52 5B B9 T..Q........_R[. 0040: 2D C3 8C 26 D4 E8 B4 0C D3 62 3A 4B 3E F0 5D DB -..&.....b:K>.]. 0050: 7A C5 AB 6D 85 D3 07 50 B2 94 38 BE 30 DD A0 42 z..m...P..8.0..B 0060: 13 F7 F3 7A 40 0A 63 61 86 0E 9B DA BB 4D 64 32 ...z@.ca.....Md2 0070: 2A 2E 9A E0 EA 8E 96 C1 05 61 C0 32 41 FC D6 63 *........a.2A..c ] From owner-freebsd-java@FreeBSD.ORG Thu Oct 2 21:07:50 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA66116A4B3 for ; Thu, 2 Oct 2003 21:07:50 -0700 (PDT) Received: from 141.com (mail.141.com [65.168.139.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08DEB43FA3 for ; Thu, 2 Oct 2003 21:07:48 -0700 (PDT) (envelope-from arlankfo@141.com) Date: Thu, 2 Oct 2003 22:11:50 -0600 Message-Id: <200310022211.AA2152464542@141.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "Andrew Lankford" To: X-Mailer: X-Declude-Sender: arlankfo@141.com [127.0.0.1] X-Note: This E-mail was scanned for spam. Subject: Re: Native jdk1.4.1 working X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: arlankfo@141.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2003 04:07:51 -0000 This is what I get when the build errors out on -CURRENT: /usr/ports/java/jdk14/work/hotspot/src/share/vm/prims/jni.cpp:929:50: pasting "." and "i" does not give a valid preprocessing token /usr/ports/java/jdk14/work/hotspot/src/share/vm/prims/jni.cpp:929:50: pasting "." and "i" does not give a valid preprocessing token /usr/ports/java/jdk14/work/hotspot/src/share/vm/prims/jni.cpp:929:50: pasting "." and "i" does not give a valid preprocessing token /usr/ports/java/jdk14/work/hotspot/src/share/vm/prims/jni.cpp:930:50: pasting "." and "i" does not give a valid preprocessing token /usr/ports/java/jdk14/work/hotspot/src/share/vm/prims/jni.cpp:930:50: pasting "." and "i" does not give a valid preprocessing token /usr/ports/java/jdk14/work/hotspot/src/share/vm/prims/jni.cpp:930:50: pasting "." and "i" does not give a valid preprocessing token /usr/ports/java/jdk14/work/hotspot/src/share/vm/prims/jni.cpp:931:50: pasting "." and "i" does not give a valid preprocessing token /usr/ports/java/jdk14/work/hotspot/src/share/vm/prims/jni.cpp:931:50: pasting "." and "i" does not give a valid preprocessing token /usr/ports/java/jdk14/work/hotspot/src/share/vm/prims/jni.cpp:931:50: pasting "." and "i" does not give a valid preprocessing token /usr/ports/java/jdk14/work/hotspot/src/share/vm/prims/jni.cpp:932:50: pasting "." and "i" does not give a valid preprocessing token /usr/ports/java/jdk14/work/hotspot/src/share/vm/prims/jni.cpp:932:50: pasting "." and "i" does not give a valid preprocessing token From owner-freebsd-java@FreeBSD.ORG Fri Oct 3 03:43:03 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5AA9416A4B3 for ; Fri, 3 Oct 2003 03:43:03 -0700 (PDT) Received: from mail.liwing.de (mail.liwing.de [213.70.188.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id D171843F93 for ; Fri, 3 Oct 2003 03:43:01 -0700 (PDT) (envelope-from rehsack@liwing.de) Received: (qmail 39309 invoked from network); 3 Oct 2003 10:43:00 -0000 Received: from stingray.liwing.de (HELO liwing.de) ([213.70.188.164]) (envelope-sender ) by mail.liwing.de (qmail-ldap-1.03) with SMTP for ; 3 Oct 2003 10:43:00 -0000 Message-ID: <3F7D52B4.8000306@liwing.de> Date: Fri, 03 Oct 2003 10:43:00 +0000 From: Jens Rehsack User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20030928 X-Accept-Language: de-de, de, en-us, en MIME-Version: 1.0 To: Alexey Zelkin Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: glewis@freebsd.org cc: freebsd-java@freebsd.org Subject: Another jdk build error on -CURRENT X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2003 10:43:03 -0000 Hi Alexey, after I patched out all '-O3' flags as recommented, the build failed again at the same place with the same core dump. By the way, the hint of Thomas to use the debug versions worked fine. Everytime the build stops with core dump, I link the debug executables those ones without debug (ln -f $file_g $file). Now I'm getting 2 new errors: 1) Because of the -Werror in j2se/make/java/nio/Makefile (already in and added by patch for bsd platform), gcc3.3.1 fails because _LITTLE_ENDIAN is already defined. Setting both occurances to -Wno-error solved that. 2) In the makefiles is the threading linkage different between -STABLE and -CURRENT, j2se/ext/plugin/build/solaris/GNUmakefile seems to does not. The following error results: gmake[2]: Entering directory `/usr/ports/java/jdk14/work/j2se/ext/plugin/build/solaris' gcc -Wall -o /usr/ports/java/jdk14/work/control/build/bsd-i586/bin/java_vm /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/plugin/java_vm/java_vm.o -L/usr/ports/java/jdk14/work/control/build/bsd-i586/lib/i386 -L/usr/ports/java/jdk14/work/control/build/bsd-i586/lib/i386/classic -L/usr/X11R6/lib \ -pthread gcc: The -pthread option is deprecated. gmake[2]: *** [/usr/ports/java/jdk14/work/control/build/bsd-i586/bin/java_vm] Error 1 gmake[2]: Leaving directory `/usr/ports/java/jdk14/work/j2se/ext/plugin/build/solaris' gmake[1]: *** [plugin-all] Error 1 gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make' gmake: *** [j2se-build] Error 2 *** Error code 2 From owner-freebsd-java@FreeBSD.ORG Fri Oct 3 07:27:40 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7821F16A4BF for ; Fri, 3 Oct 2003 07:27:40 -0700 (PDT) Received: from mgr4.xmission.com (mgr4.xmission.com [198.60.22.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDD5243F85 for ; Fri, 3 Oct 2003 07:27:38 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr4.xmission.com with spam-scanned (Exim 3.35 #1) id 1A5Qu9-0002kR-04 for java@freebsd.org; Fri, 03 Oct 2003 08:27:38 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr4.xmission.com with esmtp (Exim 3.35 #1) id 1A5Qu5-0002ho-04; Fri, 03 Oct 2003 08:27:34 -0600 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) h93ES9jG049231; Fri, 3 Oct 2003 08:28:10 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9p1/8.12.9/Submit) id h93ES7rd049230; Fri, 3 Oct 2003 08:28:07 -0600 (MDT) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Fri, 3 Oct 2003 08:28:07 -0600 From: Greg Lewis To: Andrew Lankford Message-ID: <20031003142807.GA49177@misty.eyesbeyond.com> References: <200310022211.AA2152464542@141.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200310022211.AA2152464542@141.com> User-Agent: Mutt/1.4.1i X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on mgr4.xmission.com X-Spam-Status: No, hits=-0.9 required=8.0 tests=BAYES_10 autolearn=no version=2.60 X-Spam-Level: cc: java@freebsd.org Subject: Re: Native jdk1.4.1 working X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2003 14:27:40 -0000 Hi Andrew, On Thu, Oct 02, 2003 at 10:11:50PM -0600, Andrew Lankford wrote: > This is what I get when the build errors out on -CURRENT: Patches to fix this have been posted to freebsd-java. Take a look in the archives. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Fri Oct 3 07:46:17 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7997716A4B3 for ; Fri, 3 Oct 2003 07:46:17 -0700 (PDT) Received: from mgr5.xmission.com (mgr5.xmission.com [198.60.22.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id A678444063 for ; Fri, 3 Oct 2003 07:45:51 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr5.xmission.com with spam-scanned (Exim 3.35 #1) id 1A5RBl-0000qs-05 for freebsd-java@freebsd.org; Fri, 03 Oct 2003 08:45:51 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr5.xmission.com with esmtp (Exim 3.35 #1) id 1A5RBU-0000jo-05; Fri, 03 Oct 2003 08:45:33 -0600 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) h93Ek8jG049366; Fri, 3 Oct 2003 08:46:08 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9p1/8.12.9/Submit) id h93Ek1nH049363; Fri, 3 Oct 2003 08:46:01 -0600 (MDT) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Fri, 3 Oct 2003 08:46:01 -0600 From: Greg Lewis To: Jens Rehsack Message-ID: <20031003144600.GA49318@misty.eyesbeyond.com> References: <3F7D52B4.8000306@liwing.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F7D52B4.8000306@liwing.de> User-Agent: Mutt/1.4.1i X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on mgr5.xmission.com X-Spam-Status: No, hits=-0.9 required=8.0 tests=BAYES_30 autolearn=no version=2.60 X-Spam-Level: cc: Alexey Zelkin cc: freebsd-java@freebsd.org Subject: Re: Another jdk build error on -CURRENT X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2003 14:46:17 -0000 On Fri, Oct 03, 2003 at 10:43:00AM +0000, Jens Rehsack wrote: > after I patched out all '-O3' flags as recommented, the build failed > again at the same place with the same core dump. By the way, the hint > of Thomas to use the debug versions worked fine. Everytime the build > stops with core dump, I link the debug executables those ones without > debug (ln -f $file_g $file). > > Now I'm getting 2 new errors: > 1) Because of the -Werror in j2se/make/java/nio/Makefile (already > in and added by patch for bsd platform), gcc3.3.1 fails because > _LITTLE_ENDIAN is already defined. Setting both occurances to > -Wno-error solved that. I have patches for this one. It switches the JDK to use rather than do its own endian thing. > 2) In the makefiles is the threading linkage different between > -STABLE and -CURRENT, j2se/ext/plugin/build/solaris/GNUmakefile > seems to does not. The following error results: I'll look into this. All we need to do is check the version and use -lc_r instead (or at least thats what bsd.port.mk does). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Fri Oct 3 07:56:44 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F113516A4C1 for ; Fri, 3 Oct 2003 07:56:43 -0700 (PDT) Received: from mail.liwing.de (mail.liwing.de [213.70.188.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A8A04400E for ; Fri, 3 Oct 2003 07:55:57 -0700 (PDT) (envelope-from rehsack@liwing.de) Received: (qmail 87817 invoked from network); 3 Oct 2003 14:55:41 -0000 Received: from stingray.liwing.de (HELO liwing.de) ([213.70.188.164]) (envelope-sender ) by mail.liwing.de (qmail-ldap-1.03) with SMTP for ; 3 Oct 2003 14:55:41 -0000 Message-ID: <3F7D8DED.9030105@liwing.de> Date: Fri, 03 Oct 2003 14:55:41 +0000 From: Jens Rehsack User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20030928 X-Accept-Language: de-de, de, en-us, en MIME-Version: 1.0 To: Greg Lewis References: <3F7D52B4.8000306@liwing.de> <20031003144600.GA49318@misty.eyesbeyond.com> In-Reply-To: <20031003144600.GA49318@misty.eyesbeyond.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: Alexey Zelkin cc: freebsd-java@freebsd.org Subject: Re: Another jdk build error on -CURRENT X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2003 14:56:44 -0000 Greg Lewis wrote: > On Fri, Oct 03, 2003 at 10:43:00AM +0000, Jens Rehsack wrote: > >>after I patched out all '-O3' flags as recommented, the build failed >>again at the same place with the same core dump. By the way, the hint >>of Thomas to use the debug versions worked fine. Everytime the build >>stops with core dump, I link the debug executables those ones without >>debug (ln -f $file_g $file). >> >>Now I'm getting 2 new errors: >>1) Because of the -Werror in j2se/make/java/nio/Makefile (already >> in and added by patch for bsd platform), gcc3.3.1 fails because >> _LITTLE_ENDIAN is already defined. Setting both occurances to >> -Wno-error solved that. > > I have patches for this one. It switches the JDK to use > rather than do its own endian thing. Maybe it would be a good thing (looking at all new warnings generated by new system compiler in -CURRENT) to use -Wno-error even. > >>2) In the makefiles is the threading linkage different between >> -STABLE and -CURRENT, j2se/ext/plugin/build/solaris/GNUmakefile >> seems to does not. The following error results: > > I'll look into this. All we need to do is check the version and use > -lc_r instead (or at least thats what bsd.port.mk does). > I was collecting both described messages, because I assumed there may come up more during build. And than I forgot to send them :-) Of course, I'm sure you work further on it, but I think when I don't have enough time to create patches best I can do is send all errors happens here. Can you estimate a 'release time' for the new patch-level? It sucks a little bit fixing the -current patchset into the jdk-1.4_3p3 port and rename *_g -> \1 each portupgrade :-( Jens From owner-freebsd-java@FreeBSD.ORG Fri Oct 3 08:26:30 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4475C16A4B3 for ; Fri, 3 Oct 2003 08:26:30 -0700 (PDT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E76F43FF9 for ; Fri, 3 Oct 2003 08:26:29 -0700 (PDT) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.10/8.12.1) with ESMTP id h93FQAgG017598; Fri, 3 Oct 2003 11:26:10 -0400 (EDT) Date: Fri, 3 Oct 2003 11:26:10 -0400 (EDT) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: Greg Lewis In-Reply-To: <20031003142807.GA49177@misty.eyesbeyond.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Andrew Lankford cc: java@freebsd.org Subject: Re: Native jdk1.4.1 working X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: deischen@freebsbd.org List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2003 15:26:30 -0000 On Fri, 3 Oct 2003, Greg Lewis wrote: > Hi Andrew, > > On Thu, Oct 02, 2003 at 10:11:50PM -0600, Andrew Lankford wrote: > > This is what I get when the build errors out on -CURRENT: > > Patches to fix this have been posted to freebsd-java. Take a look in the > archives. Can you please commit these? -- Dan Eischen From owner-freebsd-java@FreeBSD.ORG Fri Oct 3 08:27:13 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3C5716A4B3 for ; Fri, 3 Oct 2003 08:27:13 -0700 (PDT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id E56E143FE5 for ; Fri, 3 Oct 2003 08:27:12 -0700 (PDT) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.10/8.12.1) with ESMTP id h93FR2gG017809; Fri, 3 Oct 2003 11:27:02 -0400 (EDT) Date: Fri, 3 Oct 2003 11:27:02 -0400 (EDT) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: Greg Lewis In-Reply-To: <20031003144600.GA49318@misty.eyesbeyond.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Jens Rehsack cc: Alexey Zelkin cc: freebsd-java@freebsd.org Subject: Re: Another jdk build error on -CURRENT X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2003 15:27:13 -0000 On Fri, 3 Oct 2003, Greg Lewis wrote: > On Fri, Oct 03, 2003 at 10:43:00AM +0000, Jens Rehsack wrote: > > after I patched out all '-O3' flags as recommented, the build failed > > again at the same place with the same core dump. By the way, the hint > > of Thomas to use the debug versions worked fine. Everytime the build > > stops with core dump, I link the debug executables those ones without > > debug (ln -f $file_g $file). > > > > Now I'm getting 2 new errors: > > 1) Because of the -Werror in j2se/make/java/nio/Makefile (already > > in and added by patch for bsd platform), gcc3.3.1 fails because > > _LITTLE_ENDIAN is already defined. Setting both occurances to > > -Wno-error solved that. > > I have patches for this one. It switches the JDK to use > rather than do its own endian thing. > > > 2) In the makefiles is the threading linkage different between > > -STABLE and -CURRENT, j2se/ext/plugin/build/solaris/GNUmakefile > > seems to does not. The following error results: > > I'll look into this. All we need to do is check the version and use > -lc_r instead (or at least thats what bsd.port.mk does). ^^^^^ ${PTHREAD_LIBS} -- Dan Eischen From owner-freebsd-java@FreeBSD.ORG Fri Oct 3 16:09:49 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E71E316A4B3; Fri, 3 Oct 2003 16:09:49 -0700 (PDT) Received: from 141.com (mail.141.com [65.168.139.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED9ED43FF3; Fri, 3 Oct 2003 16:09:48 -0700 (PDT) (envelope-from arlankfo@141.com) Date: Fri, 3 Oct 2003 17:13:59 -0600 Message-Id: <200310031713.AA1355546918@141.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "Andrew Lankford" To: X-Mailer: X-Declude-Sender: arlankfo@141.com [127.0.0.1] X-Note: This E-mail was scanned for spam. cc: java@freebsd.org Subject: Re: Native jdk1.4.1 working X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: arlankfo@141.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2003 23:09:50 -0000 >Patches to fix this have been posted to freebsd-java. Take a >look in the archives. Thanks for the tip. I'll go look for them later. Andrew Lankford From owner-freebsd-java@FreeBSD.ORG Sat Oct 4 05:50:11 2003 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8EF0B16A4B3 for ; Sat, 4 Oct 2003 05:50:11 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C15C043FF3 for ; Sat, 4 Oct 2003 05:50:09 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h94Co9FY063017 for ; Sat, 4 Oct 2003 05:50:09 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h94Co9Ya063016; Sat, 4 Oct 2003 05:50:09 -0700 (PDT) (envelope-from gnats) Resent-Date: Sat, 4 Oct 2003 05:50:09 -0700 (PDT) Resent-Message-Id: <200310041250.h94Co9Ya063016@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-java@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Anton Yudin Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D39F416A4B3 for ; Sat, 4 Oct 2003 05:46:36 -0700 (PDT) Received: from ib.com.ua (ib.com.ua [217.144.67.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C20843FE0 for ; Sat, 4 Oct 2003 05:46:34 -0700 (PDT) (envelope-from toha@ib.com.ua) Received: from ib.com.ua (localhost.ib.com.ua [127.0.0.1]) by ib.com.ua (8.12.9p1/8.12.9) with ESMTP id h94CkEnY040644 for ; Sat, 4 Oct 2003 15:46:14 +0300 (EEST) (envelope-from toha@ib.com.ua) Received: (from root@localhost) by ib.com.ua (8.12.9p1/8.12.9/Submit) id h94CkETj040643; Sat, 4 Oct 2003 15:46:14 +0300 (EEST) (envelope-from toha) Message-Id: <200310041246.h94CkETj040643@ib.com.ua> Date: Sat, 4 Oct 2003 15:46:14 +0300 (EEST) From: Anton Yudin To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: java/57573: New java ports: java/jakarta-commons-pool and java/jakarta-commons-dbcp X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Anton Yudin List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2003 12:50:11 -0000 >Number: 57573 >Category: java >Synopsis: New java ports: java/jakarta-commons-pool and java/jakarta-commons-dbcp >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Oct 04 05:50:08 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Anton Yudin >Release: FreeBSD 4.9-PRERELEASE i386 >Organization: >Environment: System: FreeBSD ib.com.ua 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #0: Sat Sep 20 14:14:10 EEST 2003 root@localhost:/obj/usr/src/sys/KERNEL i386 >Description: New java ports: java/jakarta-commons-pool and java/jakarta-commons-dbcp >How-To-Repeat: >Fix: shar: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # ./jakarta-commons-pool # ./jakarta-commons-pool/Makefile # ./jakarta-commons-pool/distinfo # ./jakarta-commons-pool/pkg-descr # ./jakarta-commons-pool/pkg-plist # ./jakarta-commons-dbcp # ./jakarta-commons-dbcp/Makefile # ./jakarta-commons-dbcp/distinfo # ./jakarta-commons-dbcp/pkg-descr # ./jakarta-commons-dbcp/pkg-plist # ./jakarta-commons-dbcp/files # ./jakarta-commons-dbcp/files/patch-aa # echo c - ./jakarta-commons-pool mkdir -p ./jakarta-commons-pool > /dev/null 2>&1 echo x - ./jakarta-commons-pool/Makefile sed 's/^X//' >./jakarta-commons-pool/Makefile << 'END-of-./jakarta-commons-pool/Makefile' X# New ports collection makefile for: Jakarta Commons Pool X# Date created: X# Whom: Anton Yudin X# X# $FreeBSD$ X# X XPORTNAME= commons-pool XPORTVERSION= 1.0.1 XCATEGORIES= java XMASTER_SITES= http://www.apache.org/dist/jakarta/commons/pool/source/ XPKGNAMEPREFIX= jakarta- XDISTNAME= pool-${PORTVERSION}-src XDIST_SUBDIR= jakarta X XMAINTAINER= toha@toha.org.ua XCOMMENT= Jakarta Object-pooling API X XBUILD_DEPENDS= ${ANT}:${PORTSDIR}/devel/apache-ant X XUSE_JAVA= 1.2+ X XWRKSRC= ${WRKDIR}/commons-${DISTNAME} XPLIST_SUB+= T=${TARGET_DIR:S/^${PREFIX}\///} XANT?= ${LOCALBASE}/bin/ant X.if defined(NOPORTDOCS) XANT_TARGET= dist-jar X.else XANT_TARGET= dist-jar doc X.endif XJAVASHAREDIR= ${PREFIX}/share/java XJARDIR= ${JAVASHAREDIR}/classes XJARFILE= ${PORTNAME}.jar XDESTJARFILE= ${PORTNAME}.jar X X Xdo-build: X @cd ${WRKSRC} && ${ANT} ${ANT_TARGET} X Xdo-install: X @${ECHO} -n ">> Installing JAR as ${JARDIR}/${DESTJARFILE}..." X @${CP} ${WRKSRC}/dist/${JARFILE} ${JARDIR}/${DESTJARFILE} X @${ECHO} " [ DONE ]" X X.if !defined(NOPORTDOCS) X @${ECHO} -n ">> Installing documentation in ${DOCSDIR}..." X @${MKDIR} ${DOCSDIR} X @${CP} -r ${WRKSRC}/dist/docs/api/* ${DOCSDIR} X @${ECHO} " [ DONE ]" X.endif X X.include END-of-./jakarta-commons-pool/Makefile echo x - ./jakarta-commons-pool/distinfo sed 's/^X//' >./jakarta-commons-pool/distinfo << 'END-of-./jakarta-commons-pool/distinfo' XMD5 (jakarta/pool-1.0.1-src.tar.gz) = df9aaf5ee3e5d68abbee6eca0b8d037f END-of-./jakarta-commons-pool/distinfo echo x - ./jakarta-commons-pool/pkg-descr sed 's/^X//' >./jakarta-commons-pool/pkg-descr << 'END-of-./jakarta-commons-pool/pkg-descr' XThe Pool Component X X Pool provides an Object-pooling API, with three major aspects: X 1. A generic object pool interface that clients and implementors can X use to provide easily interchangable pooling implementations. X 2. A toolkit for creating modular object pools. X 3. Several general purpose pool implementations. X XWWW: http://jakarta.apache.org/commons/pool END-of-./jakarta-commons-pool/pkg-descr echo x - ./jakarta-commons-pool/pkg-plist sed 's/^X//' >./jakarta-commons-pool/pkg-plist << 'END-of-./jakarta-commons-pool/pkg-plist' Xshare/doc/commons-pool/allclasses-frame.html Xshare/doc/commons-pool/allclasses-noframe.html Xshare/doc/commons-pool/constant-values.html Xshare/doc/commons-pool/index-all.html Xshare/doc/commons-pool/index.html Xshare/doc/commons-pool/org/apache/commons/pool/BaseKeyedObjectPool.html Xshare/doc/commons-pool/org/apache/commons/pool/BaseKeyedPoolableObjectFactory.html Xshare/doc/commons-pool/org/apache/commons/pool/BaseObjectPool.html Xshare/doc/commons-pool/org/apache/commons/pool/BasePoolableObjectFactory.html Xshare/doc/commons-pool/org/apache/commons/pool/KeyedObjectPool.html Xshare/doc/commons-pool/org/apache/commons/pool/KeyedObjectPoolFactory.html Xshare/doc/commons-pool/org/apache/commons/pool/KeyedPoolableObjectFactory.html Xshare/doc/commons-pool/org/apache/commons/pool/ObjectPool.html Xshare/doc/commons-pool/org/apache/commons/pool/ObjectPoolFactory.html Xshare/doc/commons-pool/org/apache/commons/pool/PoolableObjectFactory.html Xshare/doc/commons-pool/org/apache/commons/pool/impl/GenericKeyedObjectPool.Config.html Xshare/doc/commons-pool/org/apache/commons/pool/impl/GenericKeyedObjectPool.html Xshare/doc/commons-pool/org/apache/commons/pool/impl/GenericKeyedObjectPoolFactory.html Xshare/doc/commons-pool/org/apache/commons/pool/impl/GenericObjectPool.Config.html Xshare/doc/commons-pool/org/apache/commons/pool/impl/GenericObjectPool.html Xshare/doc/commons-pool/org/apache/commons/pool/impl/GenericObjectPoolFactory.html Xshare/doc/commons-pool/org/apache/commons/pool/impl/SoftReferenceObjectPool.html Xshare/doc/commons-pool/org/apache/commons/pool/impl/StackKeyedObjectPool.html Xshare/doc/commons-pool/org/apache/commons/pool/impl/StackKeyedObjectPoolFactory.html Xshare/doc/commons-pool/org/apache/commons/pool/impl/StackObjectPool.html Xshare/doc/commons-pool/org/apache/commons/pool/impl/StackObjectPoolFactory.html Xshare/doc/commons-pool/org/apache/commons/pool/impl/package-frame.html Xshare/doc/commons-pool/org/apache/commons/pool/impl/package-summary.html Xshare/doc/commons-pool/org/apache/commons/pool/package-frame.html Xshare/doc/commons-pool/org/apache/commons/pool/package-summary.html Xshare/doc/commons-pool/overview-frame.html Xshare/doc/commons-pool/overview-summary.html Xshare/doc/commons-pool/package-list Xshare/doc/commons-pool/packages.html Xshare/doc/commons-pool/serialized-form.html Xshare/doc/commons-pool/stylesheet.css Xshare/java/classes/commons-pool.jar X@dirrm share/doc/commons-pool/org/apache/commons/pool/impl X@dirrm share/doc/commons-pool/org/apache/commons/pool X@dirrm share/doc/commons-pool/org/apache/commons X@dirrm share/doc/commons-pool/org/apache X@dirrm share/doc/commons-pool/org X@dirrm share/doc/commons-pool END-of-./jakarta-commons-pool/pkg-plist echo c - ./jakarta-commons-dbcp mkdir -p ./jakarta-commons-dbcp > /dev/null 2>&1 echo x - ./jakarta-commons-dbcp/Makefile sed 's/^X//' >./jakarta-commons-dbcp/Makefile << 'END-of-./jakarta-commons-dbcp/Makefile' X# New ports collection makefile for: Jakarta Commons DBCP X# Date created: X# Whom: Anton Yudin X# X# $FreeBSD$ X# X XPORTNAME= commons-dbcp XPORTVERSION= 1.0 XCATEGORIES= java XMASTER_SITES= http://www.apache.org/dist/jakarta/commons/dbcp/source/ XPKGNAMEPREFIX= jakarta- XDISTNAME= ${PORTNAME}-${PORTVERSION}-src XDIST_SUBDIR= jakarta X XMAINTAINER= toha@toha.org.ua XCOMMENT= The DBCP Component X XBUILD_DEPENDS= ${ANT}:${PORTSDIR}/devel/apache-ant \ X ${LOCALBASE}/share/java/classes/commons-pool.jar:${PORTSDIR}/java/jakarta-commons-pool \ X XUSE_JAVA= 1.2+ X XWRKSRC= ${WRKDIR}/${DISTNAME} XPLIST_SUB+= T=${TARGET_DIR:S/^${PREFIX}\///} XANT?= ${LOCALBASE}/bin/ant X.if defined(NOPORTDOCS) XANT_TARGET= dist-jar X.else XANT_TARGET= dist-jar doc X.endif XJAVASHAREDIR= ${PREFIX}/share/java XJARDIR= ${JAVASHAREDIR}/classes XJARFILE= ${PORTNAME}.jar XDESTJARFILE= ${PORTNAME}.jar X Xpost-patch: X @${CP} ${WRKSRC}/LICENSE.txt ${WRKSRC}/../LICENSE X X Xdo-build: X @cd ${WRKSRC} && ${ANT} ${ANT_TARGET} X Xdo-install: X @${ECHO} -n ">> Installing JAR as ${JARDIR}/${DESTJARFILE}..." X @${CP} ${WRKSRC}/dist/${JARFILE} ${JARDIR}/${DESTJARFILE} X @${ECHO} " [ DONE ]" X X.if !defined(NOPORTDOCS) X @${ECHO} -n ">> Installing documentation in ${DOCSDIR}..." X @${MKDIR} ${DOCSDIR} X @${CP} -r ${WRKSRC}/dist/docs/api/* ${DOCSDIR} X @${ECHO} " [ DONE ]" X.endif X X.include END-of-./jakarta-commons-dbcp/Makefile echo x - ./jakarta-commons-dbcp/distinfo sed 's/^X//' >./jakarta-commons-dbcp/distinfo << 'END-of-./jakarta-commons-dbcp/distinfo' XMD5 (jakarta/commons-dbcp-1.0-src.tar.gz) = 85305821547f060fb6090f022c33e5f9 END-of-./jakarta-commons-dbcp/distinfo echo x - ./jakarta-commons-dbcp/pkg-descr sed 's/^X//' >./jakarta-commons-dbcp/pkg-descr << 'END-of-./jakarta-commons-dbcp/pkg-descr' XThe DBCP Component X X Many Jakarta projects support interaction with a relational database. X Creating a new connection for each user can be time consuming (often X requiring multiple seconds of clock time), in order to perform a X database transaction that might take milliseconds. Opening a X connection per user can be unfeasible in a publicly-hosted Internet X application where the number of simultaneous users can be very large. X Accordingly, developers often wish to share a "pool" of open X connections between all of the application's current users. The number X of users actually performing a request at any given time is usually a X very small percentage of the total number of active users, and during X request processing is the only time that a database connection is X required. The application itself logs into the DBMS, and handles any X user account issues internally. X X There are several Database Connection Pools already available, both X within Jakarta products and elsewhere. This Commons package provides X an opportunity to coordinate the efforts required to create and X maintain an efficient, feature-rich package under the ASF license. X X The commons-dbcp package relies on code in the commons-pool package to X provide the underlying object pool mechanisms that it utilizes. X XWWW: http://jakarta.apache.org/commons/dbcp END-of-./jakarta-commons-dbcp/pkg-descr echo x - ./jakarta-commons-dbcp/pkg-plist sed 's/^X//' >./jakarta-commons-dbcp/pkg-plist << 'END-of-./jakarta-commons-dbcp/pkg-plist' Xshare/doc/commons-dbcp/allclasses-frame.html Xshare/doc/commons-dbcp/allclasses-noframe.html Xshare/doc/commons-dbcp/constant-values.html Xshare/doc/commons-dbcp/index-all.html Xshare/doc/commons-dbcp/index.html Xshare/doc/commons-dbcp/org/apache/commons/dbcp/AbandonedConfig.html Xshare/doc/commons-dbcp/org/apache/commons/dbcp/AbandonedObjectPool.html Xshare/doc/commons-dbcp/org/apache/commons/dbcp/AbandonedTrace.html Xshare/doc/commons-dbcp/org/apache/commons/dbcp/BasicDataSource.html Xshare/doc/commons-dbcp/org/apache/commons/dbcp/BasicDataSourceFactory.html Xshare/doc/commons-dbcp/org/apache/commons/dbcp/ConnectionFactory.html Xshare/doc/commons-dbcp/org/apache/commons/dbcp/DataSourceConnectionFactory.html Xshare/doc/commons-dbcp/org/apache/commons/dbcp/DbcpException.html Xshare/doc/commons-dbcp/org/apache/commons/dbcp/DelegatingCallableStatement.html Xshare/doc/commons-dbcp/org/apache/commons/dbcp/DelegatingConnection.html Xshare/doc/commons-dbcp/org/apache/commons/dbcp/DelegatingPreparedStatement.html Xshare/doc/commons-dbcp/org/apache/commons/dbcp/DelegatingResultSet.html Xshare/doc/commons-dbcp/org/apache/commons/dbcp/DelegatingStatement.html Xshare/doc/commons-dbcp/org/apache/commons/dbcp/DriverConnectionFactory.html Xshare/doc/commons-dbcp/org/apache/commons/dbcp/DriverManagerConnectionFactory.html Xshare/doc/commons-dbcp/org/apache/commons/dbcp/PoolableConnection.html Xshare/doc/commons-dbcp/org/apache/commons/dbcp/PoolableConnectionFactory.html Xshare/doc/commons-dbcp/org/apache/commons/dbcp/PoolablePreparedStatement.html Xshare/doc/commons-dbcp/org/apache/commons/dbcp/PoolingConnection.html Xshare/doc/commons-dbcp/org/apache/commons/dbcp/PoolingDataSource.html Xshare/doc/commons-dbcp/org/apache/commons/dbcp/PoolingDriver.html Xshare/doc/commons-dbcp/org/apache/commons/dbcp/cpdsadapter/DriverAdapterCPDS.html Xshare/doc/commons-dbcp/org/apache/commons/dbcp/cpdsadapter/package-frame.html Xshare/doc/commons-dbcp/org/apache/commons/dbcp/cpdsadapter/package-summary.html Xshare/doc/commons-dbcp/org/apache/commons/dbcp/package-frame.html Xshare/doc/commons-dbcp/org/apache/commons/dbcp/package-summary.html Xshare/doc/commons-dbcp/org/apache/commons/jocl/ConstructorUtil.html Xshare/doc/commons-dbcp/org/apache/commons/jocl/JOCLContentHandler.html Xshare/doc/commons-dbcp/org/apache/commons/jocl/package-frame.html Xshare/doc/commons-dbcp/org/apache/commons/jocl/package-summary.html Xshare/doc/commons-dbcp/overview-frame.html Xshare/doc/commons-dbcp/overview-summary.html Xshare/doc/commons-dbcp/package-list Xshare/doc/commons-dbcp/packages.html Xshare/doc/commons-dbcp/serialized-form.html Xshare/doc/commons-dbcp/stylesheet.css X@dirrm share/doc/commons-dbcp/org/apache/commons/dbcp/cpdsadapter X@dirrm share/doc/commons-dbcp/org/apache/commons/dbcp X@dirrm share/doc/commons-dbcp/org/apache/commons/jocl X@dirrm share/doc/commons-dbcp/org/apache/commons X@dirrm share/doc/commons-dbcp/org/apache X@dirrm share/doc/commons-dbcp/org X@dirrm share/doc/commons-dbcp END-of-./jakarta-commons-dbcp/pkg-plist echo c - ./jakarta-commons-dbcp/files mkdir -p ./jakarta-commons-dbcp/files > /dev/null 2>&1 echo x - ./jakarta-commons-dbcp/files/patch-aa sed 's/^X//' >./jakarta-commons-dbcp/files/patch-aa << 'END-of-./jakarta-commons-dbcp/files/patch-aa' X*** build.xml.orig Sat Oct 4 14:56:13 2003 X--- build.xml Sat Oct 4 14:56:15 2003 X*************** X*** 282,288 **** X X X X! X X X X--- 282,288 ---- X X X X! X X X END-of-./jakarta-commons-dbcp/files/patch-aa exit >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-java@FreeBSD.ORG Sat Oct 4 18:54:06 2003 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E44DE16A4B3; Sat, 4 Oct 2003 18:54:06 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3E4343F93; Sat, 4 Oct 2003 18:54:05 -0700 (PDT) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (edwin@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h951s5FY083603; Sat, 4 Oct 2003 18:54:05 -0700 (PDT) (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h951s55u083599; Sat, 4 Oct 2003 18:54:05 -0700 (PDT) (envelope-from edwin) Date: Sat, 4 Oct 2003 18:54:05 -0700 (PDT) From: Edwin Groothuis Message-Id: <200310050154.h951s55u083599@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-java@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org Subject: Re: java/57573: New java ports: java/jakarta-commons-pool and java/jakarta-commons-dbcp X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2003 01:54:07 -0000 Synopsis: New java ports: java/jakarta-commons-pool and java/jakarta-commons-dbcp Responsible-Changed-From-To: freebsd-java->freebsd-ports-bugs Responsible-Changed-By: edwin Responsible-Changed-When: Sat Oct 4 18:53:45 PDT 2003 Responsible-Changed-Why: Fix category http://www.freebsd.org/cgi/query-pr.cgi?pr=57573