From owner-freebsd-java@FreeBSD.ORG Sun Jan 11 14:49:13 2004 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 5ECAF16A4CE for ; Sun, 11 Jan 2004 14:49:13 -0800 (PST) Received: from kryten.alphazed.net (kryten.alphazed.net [212.42.1.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9068243D3F for ; Sun, 11 Jan 2004 14:49:06 -0800 (PST) (envelope-from andrew.liles@starfishzone.com) Received: (qmail 72705 invoked from network); 11 Jan 2004 22:49:05 -0000 X-L7-Peer-IP: 81.2.81.105 X-L7-Peer-HELO: moray.starfishzone.com X-L7-Auth: akexaaaa/www.location7.com Received: from unknown (HELO moray.starfishzone.com) (81.2.81.105) by kryten.alphazed.net with RC4-SHA encrypted SMTP; 11 Jan 2004 22:49:02 -0000 Message-Id: <6.0.0.22.2.20040111224426.01e22c98@localhost> X-Sender: akexaaaa/www.location7.com@localhost X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Sun, 11 Jan 2004 22:48:43 +0000 To: freebsd-java@freebsd.org From: Andrew Liles Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Threads & SMP 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, 11 Jan 2004 22:49:13 -0000 I have successfully installed jvm1.4.2 + patchset 6 and have it running a complex non-GUI application with no problem on a 2xCPU FreeBSD 4.9. What should I expect regarding applications with more than 1 Java thread on a multiprocessor box? Should I expect to see the work spread across CPUs? Andrew Liles. From owner-freebsd-java@FreeBSD.ORG Sun Jan 11 23:11:29 2004 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 CF65016A4CE for ; Sun, 11 Jan 2004 23:11:29 -0800 (PST) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3893643D45 for ; Sun, 11 Jan 2004 23:11:28 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from [198.60.22.205] (helo=mgr5.xmission.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 1AfwEQ-0003XJ-02; Mon, 12 Jan 2004 00:11:26 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr5.xmission.com with esmtp (Exim 4.22) id 1AfwEP-0002dM-SY; Mon, 12 Jan 2004 00:11:26 -0700 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) i0C7FlN2001239; Mon, 12 Jan 2004 00:15:48 -0700 (MST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.10/8.12.10/Submit) id i0C7FjoH001238; Mon, 12 Jan 2004 00:15:45 -0700 (MST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Mon, 12 Jan 2004 00:15:44 -0700 From: Greg Lewis To: Andrew Liles Message-ID: <20040112071544.GA1095@misty.eyesbeyond.com> References: <6.0.0.22.2.20040111224426.01e22c98@localhost> Mime-Version: 1.0 Content-Disposition: inline In-Reply-To: <6.0.0.22.2.20040111224426.01e22c98@localhost> User-Agent: Mutt/1.4.1i Content-Type: text/plain; charset=us-ascii X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on mgr5.xmission.com X-Spam-Level: X-Spam-Status: No, hits=-1.5 required=8.0 tests=BAYES_01 autolearn=no version=2.61 X-SA-Exim-Mail-From: glewis@eyesbeyond.com X-SA-Exim-Version: 3.1 (built Wed Aug 20 09:38:54 PDT 2003) X-SA-Exim-Scanned: Yes cc: freebsd-java@freebsd.org Subject: Re: Threads & SMP 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, 12 Jan 2004 07:11:29 -0000 On Sun, Jan 11, 2004 at 10:48:43PM +0000, Andrew Liles wrote: > I have successfully installed jvm1.4.2 + patchset 6 and have it running a > complex non-GUI application with no problem on a 2xCPU FreeBSD 4.9. > > What should I expect regarding applications with more than 1 Java thread on > a multiprocessor box? Should I expect to see the work spread across CPUs? On FreeBSD 5.x you should expect to see the load spread across both CPUs if you are using libkse of libthread as a threading library. On FreeBSD 4.x the only threading library is libc_r which won't spread the load across the CPUs. -- 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 Mon Jan 12 05:45:49 2004 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 A0E0F16A4CE; Mon, 12 Jan 2004 05:45:49 -0800 (PST) Received: from smtp1.euronet.nl (smtp1.euronet.nl [194.134.35.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id BED9743D5A; Mon, 12 Jan 2004 05:45:48 -0800 (PST) (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 A42626719D; Mon, 12 Jan 2004 14:45:46 +0100 (MET) From: Ernst de Haan To: Ernst de Haan , java@FreeBSD.org Date: Mon, 12 Jan 2004 14:45:56 +0100 User-Agent: KMail/1.5.4 References: <200401101548.33978.znerd@FreeBSD.org> In-Reply-To: <200401101548.33978.znerd@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: <200401121445.56432.znerd@FreeBSD.org> Subject: Re: Problem with ant shell script (Ant 1.6.0 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: Mon, 12 Jan 2004 13:45:49 -0000 Fixed in devel/apache-ant 1.6.0_2. See: http://freshports.org/devel/apache-ant/ Ernst On zaterdag 10 januari 2004 16:48, Ernst de Haan wrote: > Yesterday I noticed there is a problem with the 'ant' shell script with > the current Ant port devel/apache-ant, version 1.6.0. For example, the > -lib option does not work. > > I will fix this ASAP. > > 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 Mon Jan 12 06:52:21 2004 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 1C26716A4CE for ; Mon, 12 Jan 2004 06:52:21 -0800 (PST) Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62B9943D54 for ; Mon, 12 Jan 2004 06:52:19 -0800 (PST) (envelope-from Jan.Grant@bristol.ac.uk) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Mon, 12 Jan 2004 14:52:04 +0000 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 3.16 #1) id 1Ag3Oh-0005Kw-00; Mon, 12 Jan 2004 14:50:31 +0000 Date: Mon, 12 Jan 2004 14:50:31 +0000 (GMT) From: Jan Grant X-X-Sender: cmjg@mail.ilrt.bris.ac.uk To: "Kelly, Michael J." In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: Jan Grant cc: "'freebsd-java@freebsd.org'" Subject: Re: java 1.4 (p4) -Xrunhprof:cpu=times errors? 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, 12 Jan 2004 14:52:21 -0000 On Sat, 10 Jan 2004, Kelly, Michael J. wrote: > I am getting this also. It works with cpu=sample. I'm trying on Solaris with > WebLogic. OptimizeIt crashes too. Did you ever find patch or workaround? I did not; in fact, profiling under -stable seems to produce really odd results - due to the userland multiplexing of threads, I'd guess (cpu-bound unit tests seem to produce reasonably reliable numbers). Since debugging (and relatedly, profiling) is still on the to-do list for native code under KSE*, and since java depends upon this support*, I'd guess much of this is waiting on the KSE work (which according to the todo is due RSN). I've no idea if profiling support is required or tested by the JCK. 'Course, this means that java development work using freebsd as a development platform needs to adopt a slightly different approach: I've taken to writing correct, efficient code first time :-) I may lapse into old habits if the status changes. jan * As I understand it; if I'm grossly misrepresenting I hope that someone will jump in. -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/ "I think therefore I am." -- Ronnie Descartes From owner-freebsd-java@FreeBSD.ORG Mon Jan 12 07:07:38 2004 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 EDCD716A4CE for ; Mon, 12 Jan 2004 07:07:38 -0800 (PST) Received: from smtp1.euronet.nl (smtp1.euronet.nl [194.134.35.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA2BF43D49 for ; Mon, 12 Jan 2004 07:07:36 -0800 (PST) (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 7D42B671AC; Mon, 12 Jan 2004 16:07:34 +0100 (MET) From: Ernst de Haan Organization: Wanadoo Nederland B.V. To: "Andrew Edwards (Olympic Shaver Centre)" Date: Mon, 12 Jan 2004 16:07:44 +0100 User-Agent: KMail/1.5.4 References: <001401c3d6d4$e6a57600$3300a8c0@laptop> In-Reply-To: <001401c3d6d4$e6a57600$3300a8c0@laptop> X-Address: Muiderstraat 1, Amsterdam, Netherlands MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_AhrAAMWLW2VTiXh" Message-Id: <200401121607.44637.ernst.dehaan@nl.wanadoo.com> X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: java@freebsd.org Subject: Re: 1.4.2 patchset 6 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, 12 Jan 2004 15:07:39 -0000 --Boundary-00=_AhrAAMWLW2VTiXh Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Andrew, Try the attached diff. Ernst On vrijdag 9 januari 2004 18:20, Andrew Edwards (Olympic Shaver Centre) wrote: > As the current /java/jdk14 port doesn't seem to yet feature the p6 update > is there a standard(ish) procedure to update the port for the new > patchset on my own system? > > The Makefile looks sufficiently long so I thought I'd ask before I start > playing around. > > Thanks, Andrew. > _______________________________________________ > 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" -- Wanadoo Nederland BV, http://www.wanadoo.nl & http://www.euronet.nl Ernst de Haan, Teamleader IS/IT Tech Team Muiderstraat 1, P.o. BOX 11095, 1001 GB Amsterdam T:+31 (0)20 535 59 71, F:+31 (0)20 535 51 76 E-mail: ernst.dehaan@nl.wanadoo.com --Boundary-00=_AhrAAMWLW2VTiXh-- From owner-freebsd-java@FreeBSD.ORG Mon Jan 12 07:58:52 2004 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 30D0D16A4CE for ; Mon, 12 Jan 2004 07:58:52 -0800 (PST) Received: from ns.hostarica.com (ns.hostarica.com [196.40.45.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 457A043D31 for ; Mon, 12 Jan 2004 07:58:50 -0800 (PST) (envelope-from jose@hostarica.com) Received: from [192.168.0.101] ([196.40.45.30])i0CGGa7u010968 for ; Mon, 12 Jan 2004 10:16:37 -0600 From: jose Hidalgo Herrera To: java@freebsd.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-nf8JVcfvwHmpNpLeFAux" Organization: Corp. Hosta Rica Message-Id: <1073923099.19829.2.camel@jose.hostarica.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Mon, 12 Jan 2004 09:58:19 -0600 Subject: Undefined symbol "__stderrp" X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jose@hostarica.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jan 2004 15:58:52 -0000 --=-nf8JVcfvwHmpNpLeFAux Content-Type: text/plain Content-Transfer-Encoding: quoted-printable It was installed without a warning but when I try to run hotjava: user@host:~$ hotjava=20 user@host:~$ /usr/libexec/ld-elf.so.1: /usr/lib/libm.so.2: Undefined symbol "__stderrp" user@host:~$=20 --=-nf8JVcfvwHmpNpLeFAux Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQBAAsQbMb674RVSRIARAryMAJ9WjDt3F8zOKy1Tx0u737hr6wRrFwCfdLql EHbcdWGX+0IB+MTdvzIDhH8= =lFba -----END PGP SIGNATURE----- --=-nf8JVcfvwHmpNpLeFAux-- From owner-freebsd-java@FreeBSD.ORG Mon Jan 12 08:07:58 2004 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 D69C116A4CE for ; Mon, 12 Jan 2004 08:07:58 -0800 (PST) Received: from smtp3.euronet.nl (smtp3.euronet.nl [194.134.35.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21BEF43D46 for ; Mon, 12 Jan 2004 08:07:57 -0800 (PST) (envelope-from ernst.dehaan@nl.wanadoo.com) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by smtp3.euronet.nl (Postfix) with ESMTP id 244803A01B; Mon, 12 Jan 2004 17:07:56 +0100 (MET) From: Ernst de Haan Organization: Wanadoo Nederland B.V. To: "Andrew Edwards (Olympic Shaver Centre)" Date: Mon, 12 Jan 2004 17:08:04 +0100 User-Agent: KMail/1.5.4 References: <001401c3d6d4$e6a57600$3300a8c0@laptop> <200401121607.44637.ernst.dehaan@nl.wanadoo.com> In-Reply-To: <200401121607.44637.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: <200401121708.04828.ernst.dehaan@nl.wanadoo.com> cc: java@freebsd.org Subject: Re: 1.4.2 patchset 6 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, 12 Jan 2004 16:07:58 -0000 Attachment got killed. Download it here: http://people.freebsd.org/~znerd/jdk14_1.4.2p6.diff Ernst On maandag 12 januari 2004 16:07, Ernst de Haan wrote: > Andrew, > > Try the attached diff. > > Ernst > > On vrijdag 9 januari 2004 18:20, Andrew Edwards (Olympic Shaver Centre) > > wrote: > > As the current /java/jdk14 port doesn't seem to yet feature the p6 > > update is there a standard(ish) procedure to update the port for the > > new patchset on my own system? > > > > The Makefile looks sufficiently long so I thought I'd ask before I > > start playing around. > > > > Thanks, Andrew. > > _______________________________________________ > > 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" -- Wanadoo Nederland BV, http://www.wanadoo.nl & http://www.euronet.nl Ernst de Haan, Teamleader IS/IT Tech Team Muiderstraat 1, P.o. BOX 11095, 1001 GB Amsterdam T:+31 (0)20 535 59 71, F:+31 (0)20 535 51 76 E-mail: ernst.dehaan@nl.wanadoo.com From owner-freebsd-java@FreeBSD.ORG Mon Jan 12 11:02:22 2004 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 E284616A4CE for ; Mon, 12 Jan 2004 11:02:22 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97D6543DA7 for ; Mon, 12 Jan 2004 11:01:34 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.10/8.12.10) with ESMTP id i0CJ1XFR025309 for ; Mon, 12 Jan 2004 11:01:33 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i0CJ1XYr025303 for freebsd-java@freebsd.org; Mon, 12 Jan 2004 11:01:33 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 12 Jan 2004 11:01:33 -0800 (PST) Message-Id: <200401121901.i0CJ1XYr025303@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Subject: Current problem reports assigned to you 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, 12 Jan 2004 19:02:23 -0000 Current FreeBSD problem reports Critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/08/22] java/41913 java JniHandler and ChannelUn Errors 1 problem total. Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2003/11/06] java/59021 java Mk/bsd.sites.mk: MASTER_SITE_APACHE_JAKAR 1 problem total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/10/18] java/44219 java Update port: textproc/cocoon to 2.0.3 o [2002/10/18] java/44251 java Create stylebook port o [2002/11/04] java/44922 java JVM crash o [2003/07/29] java/55032 java SVr4 emulation interferes with install o [2003/09/24] java/57192 java linux-ibm-java1.4 freeze 5 problems total. From owner-freebsd-java@FreeBSD.ORG Mon Jan 12 11:07:28 2004 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 39C7B16A4CE; Mon, 12 Jan 2004 11:07:28 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF34743D5C; Mon, 12 Jan 2004 11:06:50 -0800 (PST) (envelope-from znerd@FreeBSD.org) Received: from freefall.freebsd.org (znerd@localhost [127.0.0.1]) i0CJ6TFR031270; Mon, 12 Jan 2004 11:06:29 -0800 (PST) (envelope-from znerd@freefall.freebsd.org) Received: (from znerd@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i0CJ6TiV031266; Mon, 12 Jan 2004 11:06:29 -0800 (PST) (envelope-from znerd) Date: Mon, 12 Jan 2004 11:06:29 -0800 (PST) From: Ernst de Haan Message-Id: <200401121906.i0CJ6TiV031266@freefall.freebsd.org> To: znerd@FreeBSD.org, freebsd-java@FreeBSD.org, znerd@FreeBSD.org Subject: Re: java/59021: Mk/bsd.sites.mk: MASTER_SITE_APACHE_JAKARTA is broken 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, 12 Jan 2004 19:07:28 -0000 Synopsis: Mk/bsd.sites.mk: MASTER_SITE_APACHE_JAKARTA is broken Responsible-Changed-From-To: freebsd-java->znerd Responsible-Changed-By: znerd Responsible-Changed-When: Mon Jan 12 11:05:58 PST 2004 Responsible-Changed-Why: I'll handle this. http://www.freebsd.org/cgi/query-pr.cgi?pr=59021 From owner-freebsd-java@FreeBSD.ORG Mon Jan 12 11:27:34 2004 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 864A916A4CE for ; Mon, 12 Jan 2004 11:27:34 -0800 (PST) Received: from mtiwmhc11.worldnet.att.net (mtiwmhc11.worldnet.att.net [204.127.131.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A842D43D5F for ; Mon, 12 Jan 2004 11:27:28 -0800 (PST) (envelope-from duanewinner@worldnet.att.net) Received: from [10.10.100.68] (unknown[216.113.237.19]) by worldnet.att.net (mtiwmhc11) with SMTP id <2004011219272711100j1jqfe> (Authid: duanewinner); Mon, 12 Jan 2004 19:27:27 +0000 From: Duane Winner To: freebsd-java Content-Type: text/plain; charset= Organization: UTRS, Inc. Message-Id: <1073935779.3795.29.camel@closetotheedge> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Mon, 12 Jan 2004 14:29:39 -0500 Content-Transfer-Encoding: 8bit Subject: Installation Questions (JDK on FreeBSD 4.9) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: duanewinner@att.net List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jan 2004 19:27:34 -0000 Hello, After many trials and errors, cobbling together out-of-date howto's and banging my head against the wall, I have finally figured out how to get a native JDK1.3.1 w/ patchset 8 installed and running on FreeBSD 4.9. But I'm fairly new to FreeBSD and still don't understand much about Java on FreeBSD and could use some help here. I see that the latest patchset for 1.3.1 is '9', not '8'. How do I compile with patchset 9? It looked like if I just edit the Makefile in /usr/ports/java/jdk13 and change the line "JDK_PATCHSET_VERSION=" to '9', that would do it, but apparently not. What else must I do to it to compile with patchset 9? (I tried w/ NO_CHECKSUM="yes", but that still didn't do it -- I see that distinfo has the MD5 checksums for j2sdk-1_3_1-src.tar.gz and bsd-jdk131-patches-8.tar.gz) And can anybody tell me exactly what the 'real' story and status of JDK on FreeBSD is? Should I even be concerned about patchset 9? Is it stable? Is JDK1.3.1 stable? Can I install JDK1.4 and run it reliably? I had to scour the Internet to find what I needed in order to get what I have installed and running, but in the process, found so much conflicting information that I'm still not clear about things. For instance, eyesbeyond still says that the 1.1.8 is the only official native release, but the I found stuff all over that said that a deal has been struck with Sun and 1.3.1 is good, or even 1.4 -- I don't know. Anyway, any advice, tips or pointers would be greatly appreciated. Here's exactly what I did to get a native build of JDK 1.3.1 on FreeBSD 4.9: JDK 1.3.1 (Native install w/ patchset 8) 1. Copied the following files to /usr/ports/distfiles: j2sdk_1_3_1_09-linux-i586.bin diablo-caffe_1.3.1-0.tar.bz2 bsd-jdk131-patches-8.tar.gz j2sdk-1_3_1-src.tar.gz Installed the Linux JDK: 1. # cd /usr/ports/java/linux-sun-jdk13 2. # make install 3. Tested: #/usr/local/linux-sun-jdk1.3.1/bin/java -version 4. OK - so then typed “make clean” Installed the native JDK: 1. # cd /usr/ports/java/jdk13 2. # make install 3. Tested: #/usr/local/jdk1.3.1/bin/java -version 4. OK, so then typed 'make clean' 5. #pkg_delete linux-sun-jdk-1.3.1.09 From owner-freebsd-java@FreeBSD.ORG Mon Jan 12 11:37:55 2004 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 39F8816A4FF for ; Mon, 12 Jan 2004 11:37:55 -0800 (PST) Received: from smtp4.wanadoo.nl (smtp4.wanadoo.nl [194.134.35.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF27743D2F for ; Mon, 12 Jan 2004 11:37:33 -0800 (PST) (envelope-from znerd@FreeBSD.org) Received: from 10.0.0.153 (db-c-1b11d.adsl.wanadoo.nl [81.69.207.29]) by smtp4.wanadoo.nl (Postfix) with ESMTP id C641941D3A; Mon, 12 Jan 2004 20:37:30 +0100 (CET) From: Ernst de Haan To: duanewinner@att.net, java@FreeBSD.org Date: Mon, 12 Jan 2004 20:38:24 +0000 User-Agent: KMail/1.5.4 References: <1073935779.3795.29.camel@closetotheedge> In-Reply-To: <1073935779.3795.29.camel@closetotheedge> X-Address: Muiderstraat 1, Amsterdam, Netherlands MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200401122038.24672.znerd@FreeBSD.org> Subject: Re: Installation Questions (JDK on FreeBSD 4.9) 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, 12 Jan 2004 19:37:55 -0000 Hi Duane, > I see that the latest patchset for 1.3.1 is '9', not '8'. How do I > compile with patchset 9? Do the following: =2D Use CVSup to update your ports collection. =2D Confirm that the java/jdk13 port is now patchset 9 =2D Install the port sysutils/portupgrade if you don't have it yet =2D Do 'portupgrade jdk' to upgrade jdk13 to patchset 9 > It looked like if I just edit the Makefile in /usr/ports/java/jdk13 and > change the line "JDK_PATCHSET_VERSION=3D" to '9', that would do it, but > apparently not. What else must I do to it to compile with patchset 9? > (I tried w/ NO_CHECKSUM=3D"yes", but that still didn't do it -- I see that > distinfo has the MD5 checksums for j2sdk-1_3_1-src.tar.gz and > bsd-jdk131-patches-8.tar.gz) If you would have done a 'make makesum' as well you would have got one step= =20 further, but then perhaps something changed in the port itself as well, so= =20 you would miss out on that with that kind of approach. > And can anybody tell me exactly what the 'real' story and status of JDK > on FreeBSD is? Should I even be concerned about patchset 9? Is it As far as I know, JDK 1.3.1 patchset 9 is considered to be stable. =46rom my experience, so is JDK 1.4.2 patchset 5. I switched over from JDK= =20 1.3.x to 1.4.x a few months ago. But since I'm currently not running it in= =20 a production environment, I'm really not the one to ask. On my workstation= =20 it works like a charm though, with my daily Ant and Orion work. I'm using FreeBSD 4.x still, but both 4.x and 5.x branches are supported.=20 Some features, like SMP-friendly threading, seems to work only on 5.x,=20 though. Just my EUR 0.02... Ernst From owner-freebsd-java@FreeBSD.ORG Mon Jan 12 13:39:15 2004 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 D184F16A4CE for ; Mon, 12 Jan 2004 13:39:15 -0800 (PST) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id A58B443D60 for ; Mon, 12 Jan 2004 13:39:01 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from [198.60.22.203] (helo=mgr3.xmission.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 1Ag9m0-0007sN-02; Mon, 12 Jan 2004 14:39:00 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr3.xmission.com with esmtp (Exim 4.22) id 1Ag9lz-000184-QV; Mon, 12 Jan 2004 14:38:59 -0700 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) i0CLhIN2064440; Mon, 12 Jan 2004 14:43:18 -0700 (MST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.10/8.12.10/Submit) id i0CLhAiq064439; Mon, 12 Jan 2004 14:43:10 -0700 (MST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Mon, 12 Jan 2004 14:43:10 -0700 From: Greg Lewis To: jose Hidalgo Herrera Message-ID: <20040112214310.GA64127@misty.eyesbeyond.com> References: <1073923099.19829.2.camel@jose.hostarica.net> Mime-Version: 1.0 Content-Disposition: inline In-Reply-To: <1073923099.19829.2.camel@jose.hostarica.net> User-Agent: Mutt/1.4.1i Content-Type: text/plain; charset=us-ascii X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on mgr3.xmission.com X-Spam-Level: X-Spam-Status: No, hits=-1.5 required=8.0 tests=BAYES_01 autolearn=no version=2.61 X-SA-Exim-Mail-From: glewis@eyesbeyond.com X-SA-Exim-Version: 3.1 (built Wed Aug 20 09:38:54 PDT 2003) X-SA-Exim-Scanned: Yes cc: java@freebsd.org Subject: Re: Undefined symbol "__stderrp" 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, 12 Jan 2004 21:39:15 -0000 On Mon, Jan 12, 2004 at 09:58:19AM -0600, jose Hidalgo Herrera wrote: > It was installed without a warning but when I try to run hotjava: > > user@host:~$ hotjava > user@host:~$ /usr/libexec/ld-elf.so.1: /usr/lib/libm.so.2: Undefined > symbol "__stderrp" > > user@host:~$ Please provide more information. What did you install and what version of FreeBSD did you install it on? -- 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 Mon Jan 12 14:23:11 2004 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 7758416A4CE; Mon, 12 Jan 2004 14:23:11 -0800 (PST) Received: from mtiwmhc12.worldnet.att.net (mtiwmhc12.worldnet.att.net [204.127.131.116]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D57743D4C; Mon, 12 Jan 2004 14:23:09 -0800 (PST) (envelope-from duanewinner@worldnet.att.net) Received: from [10.10.100.68] (unknown[216.113.237.19]) by worldnet.att.net (mtiwmhc12) with SMTP id <2004011222230811200qd15re> (Authid: duanewinner); Mon, 12 Jan 2004 22:23:08 +0000 From: Duane Winner To: Ernst de Haan In-Reply-To: <200401122038.24672.znerd@FreeBSD.org> References: <1073935779.3795.29.camel@closetotheedge> <200401122038.24672.znerd@FreeBSD.org> Content-Type: text/plain Organization: UTRS, Inc. Message-Id: <1073946319.3795.44.camel@closetotheedge> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Mon, 12 Jan 2004 17:25:20 -0500 Content-Transfer-Encoding: 7bit cc: java@FreeBSD.org Subject: Re: Installation Questions (JDK on FreeBSD 4.9) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: duanewinner@att.net List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jan 2004 22:23:11 -0000 Thanks twice! Once regarding JDK. And twice because you made me realize that I never had an up-to-date ports collection since starting with FreeBSD due to the fact that I didn't add "ports-all tag=." in my supfile. Cheers, Duane On Mon, 2004-01-12 at 15:38, Ernst de Haan wrote: > Hi Duane, > > > > I see that the latest patchset for 1.3.1 is '9', not '8'. How do I > > compile with patchset 9? > > Do the following: > - Use CVSup to update your ports collection. > - Confirm that the java/jdk13 port is now patchset 9 > - Install the port sysutils/portupgrade if you don't have it yet > - Do 'portupgrade jdk' to upgrade jdk13 to patchset 9 > > > It looked like if I just edit the Makefile in /usr/ports/java/jdk13 and > > change the line "JDK_PATCHSET_VERSION=" to '9', that would do it, but > > apparently not. What else must I do to it to compile with patchset 9? > > (I tried w/ NO_CHECKSUM="yes", but that still didn't do it -- I see that > > distinfo has the MD5 checksums for j2sdk-1_3_1-src.tar.gz and > > bsd-jdk131-patches-8.tar.gz) > > If you would have done a 'make makesum' as well you would have got one step > further, but then perhaps something changed in the port itself as well, so > you would miss out on that with that kind of approach. > > > And can anybody tell me exactly what the 'real' story and status of JDK > > on FreeBSD is? Should I even be concerned about patchset 9? Is it > > As far as I know, JDK 1.3.1 patchset 9 is considered to be stable. > >From my experience, so is JDK 1.4.2 patchset 5. I switched over from JDK > 1.3.x to 1.4.x a few months ago. But since I'm currently not running it in > a production environment, I'm really not the one to ask. On my workstation > it works like a charm though, with my daily Ant and Orion work. > > I'm using FreeBSD 4.x still, but both 4.x and 5.x branches are supported. > Some features, like SMP-friendly threading, seems to work only on 5.x, > though. > > Just my EUR 0.02... > > > 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 Mon Jan 12 19:12:26 2004 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 3949F16A4CE for ; Mon, 12 Jan 2004 19:12:26 -0800 (PST) Received: from hotmail.com (bay9-dav34.bay9.hotmail.com [64.4.46.91]) by mx1.FreeBSD.org (Postfix) with ESMTP id A23BA43D2D for ; Mon, 12 Jan 2004 19:12:24 -0800 (PST) (envelope-from d_sayed@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 12 Jan 2004 19:12:24 -0800 Received: from 67.124.61.100 by bay9-dav34.bay9.hotmail.com with DAV; Tue, 13 Jan 2004 03:12:24 +0000 X-Originating-IP: [67.124.61.100] X-Originating-Email: [d_sayed@hotmail.com] X-Sender: d_sayed@hotmail.com From: "David Sayed" To: Date: Mon, 12 Jan 2004 19:12:23 -0800 MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcPZgxAwxFvIyZTPQtqqc3rl8k3nzQ== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: X-OriginalArrivalTime: 13 Jan 2004 03:12:24.0630 (UTC) FILETIME=[1109BD60:01C3D983] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Problem on 5.2-RC2 but not 4.9-RELEASE with jdk-1.4.2p5 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, 13 Jan 2004 03:12:26 -0000 I recently moved to FreeBSD 5.2-RC2 because it supports my chipset better than 4.9-RELEASE. I use a Java server based on a customised version of Tomcat for my Prismiq media player. It ran OK under 4.9 with jdk-1.4.2p5 but throws the following exception under 5.2-RC2: Adding engine (org.apache.catalina.core.StandardEngine/1.0) Exception in thread "main" java.lang.IllegalArgumentException: Port value out of range: 65536 at java.net.ServerSocket.(ServerSocket.java:180) at java.net.ServerSocket.(ServerSocket.java:97) at com.oxygnet.mediaserver.util.PortFinder.testPort(PortFinder.java:121) at com.oxygnet.mediaserver.util.PortFinder.findFreePort(PortFinder.java:103) at com.oxygnet.mediaserver.util.PortFinder.findPort(PortFinder.java:64) at com.oxygnet.mediaserver.util.PortFinder.findPort(PortFinder.java:45) at Tomcat.EmbeddedTomcat.startTomcat(EmbeddedTomcat.java:124) at Tomcat.EmbeddedTomcat.main(EmbeddedTomcat.java:252) As far as I am aware, the highest port number should be 65535, however, changing the program isn't an option for me (since I don't have the source) and the port number doesn't seem to be set in a config file. Any ideas? Thanks, David. From owner-freebsd-java@FreeBSD.ORG Mon Jan 12 21:25:50 2004 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 46FE516A4CE for ; Mon, 12 Jan 2004 21:25:50 -0800 (PST) Received: from web21205.mail.yahoo.com (web21205.mail.yahoo.com [216.136.131.248]) by mx1.FreeBSD.org (Postfix) with SMTP id 7846E43D54 for ; Mon, 12 Jan 2004 21:25:49 -0800 (PST) (envelope-from sunyaa2002@yahoo.com) Message-ID: <20040113052549.28670.qmail@web21205.mail.yahoo.com> Received: from [62.56.222.121] by web21205.mail.yahoo.com via HTTP; Mon, 12 Jan 2004 21:25:49 PST Date: Mon, 12 Jan 2004 21:25:49 -0800 (PST) From: karari kinyanjui To: freebsd-java@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: JDK 1.3.1-Help! 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, 13 Jan 2004 05:25:50 -0000 I would like to learn[teach myself] java .I however do not have a development kit and would be glad to work with jdk 1.3.1.where can i get a free download the software and also tutorial materials? --------------------------------- Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes From owner-freebsd-java@FreeBSD.ORG Tue Jan 13 00:22:21 2004 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 ABD9F16A4CE for ; Tue, 13 Jan 2004 00:22:21 -0800 (PST) Received: from ulysses.noc.ntua.gr (ulysses.noc.ntua.gr [147.102.222.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BED043D45 for ; Tue, 13 Jan 2004 00:22:11 -0800 (PST) (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 i0D8M9FO049354; Tue, 13 Jan 2004 10:22:09 +0200 (EET) (envelope-from past@noc.ntua.gr) Received: from hal.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 i0D8M9KY063182; Tue, 13 Jan 2004 10:22:09 +0200 (EET) (envelope-from past@noc.ntua.gr) From: Panagiotis Astithas Organization: NTUA/NMC To: "David Sayed" , Date: Tue, 13 Jan 2004 10:22:08 +0200 User-Agent: KMail/1.5.4 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401131022.08844.past@noc.ntua.gr> Subject: Re: Problem on 5.2-RC2 but not 4.9-RELEASE with jdk-1.4.2p5 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, 13 Jan 2004 08:22:21 -0000 On Tuesday 13 January 2004 05:12, David Sayed wrote: > I recently moved to FreeBSD 5.2-RC2 because it supports my chipset better > than 4.9-RELEASE. > > I use a Java server based on a customised version of Tomcat for my Prismiq > media player. It ran OK under 4.9 with jdk-1.4.2p5 but throws the following > exception under 5.2-RC2: > > Adding engine (org.apache.catalina.core.StandardEngine/1.0) > Exception in thread "main" java.lang.IllegalArgumentException: Port value > out of range: 65536 at java.net.ServerSocket.(ServerSocket.java:180) > at java.net.ServerSocket.(ServerSocket.java:97) > at com.oxygnet.mediaserver.util.PortFinder.testPort(PortFinder.java:121) > at > com.oxygnet.mediaserver.util.PortFinder.findFreePort(PortFinder.java:103) > > at com.oxygnet.mediaserver.util.PortFinder.findPort(PortFinder.java:64) > at com.oxygnet.mediaserver.util.PortFinder.findPort(PortFinder.java:45) > at Tomcat.EmbeddedTomcat.startTomcat(EmbeddedTomcat.java:124) > at Tomcat.EmbeddedTomcat.main(EmbeddedTomcat.java:252) > > As far as I am aware, the highest port number should be 65535, however, > changing the program isn't an option for me (since I don't have the source) > and the port number doesn't seem to be set in a config file. > > Any ideas? Just a wild guess: sysctl net.inet.ip.portrange.first=1024 sysctl net.inet.ip.portrange.last=30000 (or the exact values you had on your 4.x system) Cheers, -- Panagiotis Astithas Electrical & Computer Engineer, PhD Network Management Center National Technical University of Athens, Greece From owner-freebsd-java@FreeBSD.ORG Tue Jan 13 02:25:14 2004 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 01D5816A4CE for ; Tue, 13 Jan 2004 02:25:14 -0800 (PST) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id E38E143D31 for ; Tue, 13 Jan 2004 02:25:06 -0800 (PST) (envelope-from jonc@chen.org.nz) Received: by chen.org.nz (Postfix, from userid 1000) id 4232813620; Tue, 13 Jan 2004 23:25:05 +1300 (NZDT) Date: Tue, 13 Jan 2004 23:25:05 +1300 From: Jonathan Chen To: karari kinyanjui Message-ID: <20040113102505.GA83847@grimoire.chen.org.nz> References: <20040113052549.28670.qmail@web21205.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040113052549.28670.qmail@web21205.mail.yahoo.com> User-Agent: Mutt/1.4.1i cc: freebsd-java@freebsd.org Subject: Re: JDK 1.3.1-Help! 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, 13 Jan 2004 10:25:14 -0000 On Mon, Jan 12, 2004 at 09:25:49PM -0800, karari kinyanjui wrote: > I would like to learn[teach myself] java .I however do not have a development kit and would be glad to work with jdk 1.3.1.where can i get a free download the software and also tutorial materials? > JDK1.3.1 binary downloads are available from: http://www.freebsdfoundation.org/downloads/java.shtml For he tutorials you have to hunt around at java.sun.com. -- Jonathan Chen ---------------------------------------------------------------------- Power corrupts, Absolute Power is pretty neat From owner-freebsd-java@FreeBSD.ORG Tue Jan 13 05:10:27 2004 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 6A4C716A4D2 for ; Tue, 13 Jan 2004 05:10:27 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33AB543D5C for ; Tue, 13 Jan 2004 05:10:24 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i0DDAOFR083589 for ; Tue, 13 Jan 2004 05:10:24 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i0DDAO0r083588; Tue, 13 Jan 2004 05:10:24 -0800 (PST) (envelope-from gnats) Resent-Date: Tue, 13 Jan 2004 05:10:24 -0800 (PST) Resent-Message-Id: <200401131310.i0DDAO0r083588@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, Herve Quiroz Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1CA716A4CE for ; Tue, 13 Jan 2004 05:06:43 -0800 (PST) Received: from andouillette.esil.univ-mrs.fr (andouillette.esil.univ-mrs.fr [139.124.41.109]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3206343D49 for ; Tue, 13 Jan 2004 05:06:42 -0800 (PST) (envelope-from rv@andouillette.esil.univ-mrs.fr) Received: from andouillette.esil.univ-mrs.fr (localhost [127.0.0.1]) i0DD6en5031887 for ; Tue, 13 Jan 2004 14:06:40 +0100 (CET) (envelope-from rv@andouillette.esil.univ-mrs.fr) Received: (from rv@localhost)i0DD6e2n031886; Tue, 13 Jan 2004 14:06:40 +0100 (CET) Message-Id: <200401131306.i0DD6e2n031886@andouillette.esil.univ-mrs.fr> Date: Tue, 13 Jan 2004 14:06:40 +0100 (CET) From: Herve Quiroz To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: java/61311: Update port: java/jakarta-commons-primitives 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, 13 Jan 2004 13:10:27 -0000 >Number: 61311 >Category: java >Synopsis: Update port: java/jakarta-commons-primitives >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Jan 13 05:10:23 PST 2004 >Closed-Date: >Last-Modified: >Originator: Herve Quiroz >Release: FreeBSD 5.1-RELEASE-p11 i386 >Organization: >Environment: System: FreeBSD andouillette.esil.univ-mrs.fr 5.1-RELEASE-p11 FreeBSD 5.1-RELEASE-p11 #1: Mon Jan 5 18:04:15 CET 2004 root@andouillette.esil.univ-mrs.fr:/usr/obj/usr/src/sys/ASSIMILATED i386 >Description: - Now uses MASTER_SITE_APACHE_JAKARTA to fetch distfile >How-To-Repeat: >Fix: diff -ur jakarta-commons-primitives.original/Makefile jakarta-commons-primitives/Makefile --- jakarta-commons-primitives.original/Makefile Tue Jan 13 13:55:26 2004 +++ jakarta-commons-primitives/Makefile Tue Jan 13 13:58:58 2004 @@ -8,7 +8,8 @@ PORTNAME= commons-primitives PORTVERSION= 1.0 CATEGORIES= java -MASTER_SITES= http://www.apache.org/dist/jakarta/${PORTNAME:S,-,/,}/binaries/ +MASTER_SITES= ${MASTER_SITE_APACHE_JAKARTA} +MASTER_SITE_SUBDIR= commons/primitives/binaries PKGNAMEPREFIX= jakarta- MAINTAINER= herve.quiroz@esil.univ-mrs.fr >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-java@FreeBSD.ORG Tue Jan 13 08:20:17 2004 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 8EF5A16A4ED; Tue, 13 Jan 2004 08:20:17 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6B2543D55; Tue, 13 Jan 2004 08:20:16 -0800 (PST) (envelope-from glewis@FreeBSD.org) Received: from freefall.freebsd.org (glewis@localhost [127.0.0.1]) i0DGKGFR084214; Tue, 13 Jan 2004 08:20:16 -0800 (PST) (envelope-from glewis@freefall.freebsd.org) Received: (from glewis@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i0DGKGaR084210; Tue, 13 Jan 2004 08:20:16 -0800 (PST) (envelope-from glewis) Date: Tue, 13 Jan 2004 08:20:16 -0800 (PST) From: Greg Lewis Message-Id: <200401131620.i0DGKGaR084210@freefall.freebsd.org> To: herve.quiroz@esil.univ-mrs.fr, glewis@FreeBSD.org, freebsd-java@FreeBSD.org Subject: Re: java/61311: Update port: java/jakarta-commons-primitives 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, 13 Jan 2004 16:20:17 -0000 Synopsis: Update port: java/jakarta-commons-primitives State-Changed-From-To: open->closed State-Changed-By: glewis State-Changed-When: Tue Jan 13 08:20:06 PST 2004 State-Changed-Why: Committed, thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=61311 From owner-freebsd-java@FreeBSD.ORG Tue Jan 13 13:34:13 2004 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 1DFD316A4CE for ; Tue, 13 Jan 2004 13:34:13 -0800 (PST) Received: from smtp4.wanadoo.nl (smtp4.wanadoo.nl [194.134.35.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id CAF8943D31 for ; Tue, 13 Jan 2004 13:34:11 -0800 (PST) (envelope-from znerd@FreeBSD.org) Received: from 10.0.0.153 (db-c-1b11d.adsl.wanadoo.nl [81.69.207.29]) by smtp4.wanadoo.nl (Postfix) with ESMTP id C4B4E41D1A for ; Tue, 13 Jan 2004 22:34:08 +0100 (CET) From: Ernst de Haan To: java@FreeBSD.org Date: Tue, 13 Jan 2004 22:35:06 +0000 User-Agent: KMail/1.5.4 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: <200401132235.06485.znerd@FreeBSD.org> Subject: Issues with pkg-plist and Javadoc 1.4 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, 13 Jan 2004 21:34:13 -0000 There is an issue with Java-based ports that generate Javadoc API documentation. The Javadoc that comes with Java 1.4.x generates files that the predecessors did not generate, for example an inherit.gif. This makes the pkg-plist file for a lot of Java-based ports either incorrect for Java 1.4.x, or incorrect for all predecessors. I remember reading something from somebody about this subject, but I could not found anything using a Google search for 'inherit.gif FreeBSD'. Anyone remember a suggested solution for this? If not, I'll just keep it on my TODO list and look into it ASAP. Ernst From owner-freebsd-java@FreeBSD.ORG Tue Jan 13 15:06:02 2004 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 ECEE716A4CE; Tue, 13 Jan 2004 15:06:02 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9465943D5A; Tue, 13 Jan 2004 15:05:59 -0800 (PST) (envelope-from znerd@FreeBSD.org) Received: from freefall.freebsd.org (znerd@localhost [127.0.0.1]) i0DN5xFR050842; Tue, 13 Jan 2004 15:05:59 -0800 (PST) (envelope-from znerd@freefall.freebsd.org) Received: (from znerd@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i0DN5xSt050838; Tue, 13 Jan 2004 15:05:59 -0800 (PST) (envelope-from znerd) Date: Tue, 13 Jan 2004 15:05:59 -0800 (PST) From: Ernst de Haan Message-Id: <200401132305.i0DN5xSt050838@freefall.freebsd.org> To: znerd@FreeBSD.org, freebsd-java@FreeBSD.org, znerd@FreeBSD.org Subject: Re: java/41913: JniHandler and ChannelUn Errors 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, 13 Jan 2004 23:06:03 -0000 Synopsis: JniHandler and ChannelUn Errors Responsible-Changed-From-To: freebsd-java->znerd Responsible-Changed-By: znerd Responsible-Changed-When: Tue Jan 13 15:05:44 PST 2004 Responsible-Changed-Why: I'll handle this. http://www.freebsd.org/cgi/query-pr.cgi?pr=41913 From owner-freebsd-java@FreeBSD.ORG Tue Jan 13 15:27:56 2004 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 B6E1C16A4CE; Tue, 13 Jan 2004 15:27:56 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F34843D4C; Tue, 13 Jan 2004 15:27:56 -0800 (PST) (envelope-from znerd@FreeBSD.org) Received: from freefall.freebsd.org (znerd@localhost [127.0.0.1]) i0DNRtFR052433; Tue, 13 Jan 2004 15:27:55 -0800 (PST) (envelope-from znerd@freefall.freebsd.org) Received: (from znerd@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i0DNRtBN052429; Tue, 13 Jan 2004 15:27:55 -0800 (PST) (envelope-from znerd) Date: Tue, 13 Jan 2004 15:27:55 -0800 (PST) From: Ernst de Haan Message-Id: <200401132327.i0DNRtBN052429@freefall.freebsd.org> To: znerd@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, java@FreeBSD.org Subject: Re: ports/56928: jce-aba port should install to $JAVA_HOME/jre/lib/ext 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, 13 Jan 2004 23:27:56 -0000 Synopsis: jce-aba port should install to $JAVA_HOME/jre/lib/ext Responsible-Changed-From-To: freebsd-ports-bugs->java Responsible-Changed-By: znerd Responsible-Changed-When: Tue Jan 13 15:27:42 PST 2004 Responsible-Changed-Why: freebsd-java should handle this. http://www.freebsd.org/cgi/query-pr.cgi?pr=56928 From owner-freebsd-java@FreeBSD.ORG Tue Jan 13 15:30:24 2004 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 F01C816A4CE for ; Tue, 13 Jan 2004 15:30:24 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F77A43D66 for ; Tue, 13 Jan 2004 15:30:22 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i0DNULFR052568 for ; Tue, 13 Jan 2004 15:30:21 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i0DNULZo052561; Tue, 13 Jan 2004 15:30:21 -0800 (PST) (envelope-from gnats) Date: Tue, 13 Jan 2004 15:30:21 -0800 (PST) Message-Id: <200401132330.i0DNULZo052561@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Ernst de Haan Subject: Re: java/44922: JVM crash X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Ernst de Haan List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jan 2004 23:30:25 -0000 The following reply was made to PR java/44922; it has been noted by GNATS. From: Ernst de Haan To: freebsd-gnats-submit@FreeBSD.org, i@bansite.ru, Maximillian Dornseif , "Martin van Dijken" Cc: Subject: Re: java/44922: JVM crash Date: Wed, 14 Jan 2004 00:25:58 +0000 Is this still a problem on FreeBSD 4.9 or 5.2? Did you try with the latest 1.4.2? Stability has improved greatly over the last year! Ernst From owner-freebsd-java@FreeBSD.ORG Tue Jan 13 16:05:23 2004 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 EF12316A4CE for ; Tue, 13 Jan 2004 16:05:23 -0800 (PST) Received: from amsfep16-int.chello.nl (amsfep16-int.chello.nl [213.46.243.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69B8543D55 for ; Tue, 13 Jan 2004 16:05:22 -0800 (PST) (envelope-from ronald-freebsd5@klop.yi.org) Received: from henk.thuis.klop.ws ([24.132.246.115]) by amsfep16-int.chello.nlESMTP <20040114000520.TCGM13071.amsfep16-int.chello.nl@henk.thuis.klop.ws> for ; Wed, 14 Jan 2004 01:05:20 +0100 Date: Wed, 14 Jan 2004 01:05:19 +0100 To: freebsd-java@freebsd.org From: Ronald Klop Content-Type: text/plain; format=flowed; charset=iso-8859-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: User-Agent: Opera7.23/FreeBSD M2 build 518 Subject: Re: trying to get java working in opera 7.23 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, 14 Jan 2004 00:05:24 -0000 [cut some talk about opera not running Java] I can tell Opera doesn't use libjavaplugin. It just connects with Java via JNI. And provides it's own implementation of the package java.applet to the applets. (See opera.jar in the opera dist files.) I hope you can shine some light on this issue. I tried a lot also with LD_PRELOAD, etc. but no luck so far. I tried discussion in nntp://news.opera.com/opera.linux, but no solutions yet. Greetings, Ronald. -- Ronald Klop Amsterdam, The Netherlands From owner-freebsd-java@FreeBSD.ORG Wed Jan 14 02:58:50 2004 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 7E93416A4CE for ; Wed, 14 Jan 2004 02:58:50 -0800 (PST) Received: from ulysses.noc.ntua.gr (ulysses.noc.ntua.gr [147.102.222.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12DA043D31 for ; Wed, 14 Jan 2004 02:58:48 -0800 (PST) (envelope-from mantzios@softlab.ece.ntua.gr) Received: from theseas.softlab.ece.ntua.gr (theseas.softlab.ece.ntua.gr [147.102.1.1]) by ulysses.noc.ntua.gr (8.12.9p1/8.12.9) with ESMTP id i0EAwkFO006645 for ; Wed, 14 Jan 2004 12:58:46 +0200 (EET) (envelope-from mantzios@softlab.ece.ntua.gr) Received: from theseas.softlab.ece.ntua.gr (mantzios@localhost [127.0.0.1]) id i0EAwjqb010170 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Wed, 14 Jan 2004 12:58:45 +0200 Received: from localhost (mantzios@localhost)id i0EAwjHR010166 for ; Wed, 14 Jan 2004 12:58:45 +0200 X-Authentication-Warning: theseas.softlab.ece.ntua.gr: mantzios owned process doing -bs Date: Wed, 14 Jan 2004 12:58:44 +0200 (EET) From: Mantzios Achilleus To: freebsd-java@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Jdk1.4.2 patcheset 6 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, 14 Jan 2004 10:58:50 -0000 After tweeking distinfo and Makefile the port refused to build due to some patches not being able to be applied. I am using 5.2-RELEASE. After moving out files/patch-deploy::common::Defs-bsd.gmk files/patch-plugin::ns6::Makefile files/patch-unpack::Makefile The port seems to be making ok (i'll have to wait till the end of make tho). ---------------------------------------------------------------- | go to the source -> http://www.softlab.ece.ntua.gr/~mantzios | ---------------------------------------------------------------- From owner-freebsd-java@FreeBSD.ORG Wed Jan 14 04:00:38 2004 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 87CFF16A4CE for ; Wed, 14 Jan 2004 04:00:38 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6659643D54 for ; Wed, 14 Jan 2004 04:00:27 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i0EC0RFR056634 for ; Wed, 14 Jan 2004 04:00:27 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i0EC0RJD056630; Wed, 14 Jan 2004 04:00:27 -0800 (PST) (envelope-from gnats) Resent-Date: Wed, 14 Jan 2004 04:00:27 -0800 (PST) Resent-Message-Id: <200401141200.i0EC0RJD056630@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, Herve Quiroz Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 54AB016A4CE for ; Wed, 14 Jan 2004 03:55:11 -0800 (PST) Received: from andouillette.esil.univ-mrs.fr (andouillette.esil.univ-mrs.fr [139.124.41.109]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3266F43D45 for ; Wed, 14 Jan 2004 03:55:04 -0800 (PST) (envelope-from rv@andouillette.esil.univ-mrs.fr) Received: from andouillette.esil.univ-mrs.fr (localhost [127.0.0.1]) i0EBt3n5008686 for ; Wed, 14 Jan 2004 12:55:03 +0100 (CET) (envelope-from rv@andouillette.esil.univ-mrs.fr) Received: (from rv@localhost)i0EBt2w7008685; Wed, 14 Jan 2004 12:55:02 +0100 (CET) Message-Id: <200401141155.i0EBt2w7008685@andouillette.esil.univ-mrs.fr> Date: Wed, 14 Jan 2004 12:55:02 +0100 (CET) From: Herve Quiroz To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: java/61357: Fix port: java/jakarta-commons-cli 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: Wed, 14 Jan 2004 12:00:38 -0000 >Number: 61357 >Category: java >Synopsis: Fix port: java/jakarta-commons-cli >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Jan 14 04:00:26 PST 2004 >Closed-Date: >Last-Modified: >Originator: Herve Quiroz >Release: FreeBSD 5.1-RELEASE-p11 i386 >Organization: >Environment: System: FreeBSD andouillette.esil.univ-mrs.fr 5.1-RELEASE-p11 FreeBSD 5.1-RELEASE-p11 #1: Mon Jan 5 18:04:15 CET 2004 root@andouillette.esil.univ-mrs.fr:/usr/obj/usr/src/sys/ASSIMILATED i386 >Description: Short story: java/jakarta-commons-cli won't build as commons-lang is not in the classpath and there is a problem with dependency fetching (which I suspect is related to Ant rather than commons-cli). Now the long story: When I tried to upgrade my java/jakarta-commons-cli port I had a build error. So I tried to build it directly with Ant as a normal user and I get errors while fetching dependencies. I am able to fetch them using wget so I wonder if someone already experienced such a problem. Anyway, here is the output just in case: > Buildfile: build.xml > > init: > > get-deps: > [get] Getting: http://www.ibiblio.org/maven/commons-logging/jars/commons-logging-1.0.jar > [get] Error getting http://www.ibiblio.org/maven/commons-logging/jars/commons-logging-1.0.jar to /export/andouillette/home/rv/src/commons-cli-1.0/lib/commons-logging-1.0.jar > [get] Getting: http://www.ibiblio.org/maven/commons-lang/jars/commons-lang-SNAPSHOT.jar > [get] Error getting http://www.ibiblio.org/maven/commons-lang/jars/commons-lang-SNAPSHOT.jar to /export/andouillette/home/rv/src/commons-cli-1.0/lib/commons-lang-SNAPSHOT.jar > [get] Getting: http://www.ibiblio.org/maven/junit/jars/junit-3.7.jar > [get] Error getting http://www.ibiblio.org/maven/junit/jars/junit-3.7.jar to /export/andouillette/home/rv/src/commons-cli-1.0/lib/junit-3.7.jar > > jar: > > BUILD SUCCESSFUL > Total time: 1 second But then I realized that the build is successful as user (using jdk-1.4.2) but not as root while building the port (using 1.4.2 also). I've just realized that the problem comes from my classpath that is set to "all JARs in ${JAVAJARDIR}" as user but not as root. The most important point here being that building commons-cli requires commons-lang... Now we've got two way of dealing with it: - Install from binary version and set commons-lang as RUN_DEPENDS - Build from source but then add commons-lang in BUILD_DEPENDS and RUN_DEPENDS and add ${JAVAJARDIR}/commons-lang.jar in the classpath while building the port. - Build from source but fix the dependency fetching. However IMHO fecthing additional dependencies at build time is not good. First because of redundancy (in this case JUnit and commons-lang may already be installed as a port), and then because with this scheme you cannot build a "distfiles" distribution CD-ROM so you can build ports while disconnected from the network. I prefer the first one but I'm not the maintainer. And that would resolve the Javadoc/pkg-plist issue... I suspect dependency fetching problems may have something to do with the new version of Ant (1.6.0)... in which case we should probably send another different PR to work on this particular issue. >How-To-Repeat: unset CLASSPATH cd /usr/ports/java/jakarta-commons-cli make build >Fix: Nothing yet, as we need to know what the opinion of the maintainer. I can submit a fix in either case however. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-java@FreeBSD.ORG Wed Jan 14 04:47:36 2004 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 E62B316A4CF for ; Wed, 14 Jan 2004 04:47:36 -0800 (PST) Received: from neuron.tuke.sk (neuron-ai.fei.tuke.sk [147.232.24.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id D574B43D79 for ; Wed, 14 Jan 2004 04:47:28 -0800 (PST) (envelope-from babjak@neuron.tuke.sk) Received: from babjak by neuron.tuke.sk with local (Exim 3.35 #1 (Debian)) id 1AgkQh-0002Cu-00 for ; Wed, 14 Jan 2004 13:47:27 +0100 Date: Wed, 14 Jan 2004 13:47:27 +0100 To: freebsd-java@freebsd.org Message-ID: <20040114124727.GA8303@neuron.tuke.sk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i From: Jozef Babjak Subject: why native jdk? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: babjak@neuron.tuke.sk List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jan 2004 12:47:37 -0000 Hi, can you explain me (or redirect me to appropriate documentation) what are advantages of building native jdk under FreeBSD (-stable) instead of the using linux-jdk under linux compatibility mode? Thank you. Jozef. From owner-freebsd-java@FreeBSD.ORG Wed Jan 14 04:50:24 2004 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 844B416A4CE for ; Wed, 14 Jan 2004 04:50:24 -0800 (PST) Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 123D243D5D for ; Wed, 14 Jan 2004 04:50:23 -0800 (PST) (envelope-from sheldonh@starjuice.net) Received: from sheldonh by axl.seasidesoftware.co.za with local (Exim 4.30; FreeBSD) id 1AgkTX-0009Wx-8I; Wed, 14 Jan 2004 14:50:23 +0200 Date: Wed, 14 Jan 2004 14:50:23 +0200 From: Sheldon Hearn To: Jozef Babjak Message-ID: <20040114125023.GO31823@starjuice.net> Mail-Followup-To: Jozef Babjak , freebsd-java@freebsd.org References: <20040114124727.GA8303@neuron.tuke.sk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040114124727.GA8303@neuron.tuke.sk> User-Agent: Mutt/1.5.4i cc: freebsd-java@freebsd.org Subject: Re: why native jdk? 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, 14 Jan 2004 12:50:24 -0000 On (2004/01/14 13:47), Jozef Babjak wrote: > can you explain me (or redirect me to appropriate documentation) what > are advantages of building native jdk under FreeBSD (-stable) instead > of the using linux-jdk under linux compatibility mode? I thought the reason was that the native JDK is more stable on FreeBSD than the Linux JDK is on FreeBSD. Also, you may find yourself having to play interesting games with the Linux JDK if you have to do any JNI work on FreeBSD. :-) Ciao, Sheldon. From owner-freebsd-java@FreeBSD.ORG Wed Jan 14 04:52:19 2004 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 8638016A4CE for ; Wed, 14 Jan 2004 04:52:19 -0800 (PST) Received: from sponsa.its.uu.se (sponsa.its.UU.SE [130.238.7.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id B297A43D53 for ; Wed, 14 Jan 2004 04:52:13 -0800 (PST) (envelope-from yuri@irfu.se) Received: by sponsa.its.uu.se (Postfix, from userid 213) id 31C9A8840; Wed, 14 Jan 2004 13:52:11 +0100 (MEZ) Received: from sponsa.its.uu.se(127.0.0.1) by sponsa.its.uu.se via virus-scan id s43238; Wed, 14 Jan 04 13:52:02 +0100 Received: from irfu.se (jazz.irfu.se [130.238.30.195]) by sponsa.its.uu.se (Postfix) with ESMTP id 1FBDB482B; Wed, 14 Jan 2004 13:52:02 +0100 (MEZ) Message-ID: <40053BA4.8090709@irfu.se> Date: Wed, 14 Jan 2004 13:52:52 +0100 From: Yuri Khotyaintsev Organization: Swedish Inst. of Space Physics User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; uk-UA; rv:1.5) Gecko/20030925 X-Accept-Language: uk-UA, uk, ru, sv MIME-Version: 1.0 To: babjak@neuron-ai.fei.tuke.sk References: <20040114124727.GA8303@neuron.tuke.sk> In-Reply-To: <20040114124727.GA8303@neuron.tuke.sk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-java@freebsd.org Subject: Re: why native jdk? 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, 14 Jan 2004 12:52:19 -0000 Jozef Babjak wrote: > Hi, > > can you explain me (or redirect me to appropriate documentation) what > are advantages of building native jdk under FreeBSD (-stable) instead > of the using linux-jdk under linux compatibility mode? For me it is JNI. > Thank you. > > Jozef. -- Yuri Khotyaintsev, PhD Swedish Institute of Space Physics, http://www.cluster.irfu.se/yuri Uppsala Division (IRF-U) http://ovt.irfu.se From owner-freebsd-java@FreeBSD.ORG Wed Jan 14 05:10:03 2004 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 94E3416A4CF for ; Wed, 14 Jan 2004 05:10:03 -0800 (PST) Received: from mail.remarkablehost.com (ns1.remarkablehost.com [208.186.168.9]) by mx1.FreeBSD.org (Postfix) with SMTP id C37C243D31 for ; Wed, 14 Jan 2004 05:10:01 -0800 (PST) (envelope-from foo@bar.org) Received: (qmail 4808 invoked by uid 110); 14 Jan 2004 13:10:00 -0000 Received: from unknown (HELO ash) (200.117.145.177) by ns1.remarkablehost.com with SMTP; 14 Jan 2004 13:10:00 -0000 Message-ID: <036f01c3daa0$0ed88800$0200a8c0@veggy.org> From: "Nicolas Gieczewski" To: References: <20040114124727.GA8303@neuron.tuke.sk> Date: Wed, 14 Jan 2004 10:12:13 -0300 Organization: Nix Software Solutions [www.nixsoftware.com] MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4927.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 cc: babjak@neuron.tuke.sk Subject: Re: why native jdk? 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, 14 Jan 2004 13:10:03 -0000 Just like Sheldon said, the native JDK _is_ more stable than the Linux = one. Of course, you may not notice any differences during your = particular usage. I run a rather complex console multi-threaded = application that used to crash the Linux JDK, whereas the native JDK = never had any problems with it. Furthermore, I believe I had to turn = /dev/random into a link to /dev/urandom for SSL handshaking to work on = the Linux SDK. Cheers, Nicolas Gieczewski Nix Software Solutions http://www.nixsoftware.com/ ----- Original Message -----=20 From: "Jozef Babjak" To: Sent: Wednesday, January 14, 2004 09:47 Subject: why native jdk? Hi,=20 can you explain me (or redirect me to appropriate documentation) what=20 are advantages of building native jdk under FreeBSD (-stable) instead=20 of the using linux-jdk under linux compatibility mode? Thank you. Jozef. From owner-freebsd-java@FreeBSD.ORG Wed Jan 14 08:13:58 2004 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 6DD2C16A4CE for ; Wed, 14 Jan 2004 08:13:58 -0800 (PST) Received: from ulysses.noc.ntua.gr (ulysses.noc.ntua.gr [147.102.222.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 60D7043D66 for ; Wed, 14 Jan 2004 08:13:36 -0800 (PST) (envelope-from mantzios@softlab.ece.ntua.gr) Received: from theseas.softlab.ece.ntua.gr (theseas.softlab.ece.ntua.gr [147.102.1.1]) by ulysses.noc.ntua.gr (8.12.9p1/8.12.9) with ESMTP id i0EGDYFO040565 for ; Wed, 14 Jan 2004 18:13:34 +0200 (EET) (envelope-from mantzios@softlab.ece.ntua.gr) Received: from theseas.softlab.ece.ntua.gr (mantzios@localhost [127.0.0.1]) id i0EGDYqb030660 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Wed, 14 Jan 2004 18:13:34 +0200 Received: from localhost (mantzios@localhost)id i0EGDY90030656 for ; Wed, 14 Jan 2004 18:13:34 +0200 X-Authentication-Warning: theseas.softlab.ece.ntua.gr: mantzios owned process doing -bs Date: Wed, 14 Jan 2004 18:13:33 +0200 (EET) From: Mantzios Achilleus To: freebsd-java@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: Jdk1.4.2 patcheset 6 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, 14 Jan 2004 16:13:58 -0000 The build process is complete, and jdk1.4.2p6 is OK and running as expected. I kinda think that the new patch 6 already does some of the work of these 3 problematic patches (files/patch-deploy::common::Defs-bsd.gmk, files/patch-plugin::ns6::Makefile and files/patch-unpack::Makefile), and thats the reason for not being applied. I think the port should be updated accordingly, (or should the removal of these 3 files be considered a temp workaround?) ---------------------------------------------------------------- | go to the source -> http://www.softlab.ece.ntua.gr/~mantzios | ---------------------------------------------------------------- From owner-freebsd-java@FreeBSD.ORG Wed Jan 14 09:19:41 2004 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 7281216A4CE for ; Wed, 14 Jan 2004 09:19:41 -0800 (PST) Received: from alpha.workingtechnology.co.uk (www.shavers.co.uk [81.109.162.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72D5A43D2F for ; Wed, 14 Jan 2004 09:19:39 -0800 (PST) (envelope-from andrew@shavers.co.uk) Received: from laptop (host217-35-97-112.in-addr.btopenworld.com [217.35.97.112]) by alpha.workingtechnology.co.uk (Postfix) with SMTP id 5D9752AB9D8 for ; Wed, 14 Jan 2004 17:18:47 +0000 (GMT) Message-ID: <009101c3dac2$9bcefc90$3300a8c0@laptop> From: "Andrew Edwards" To: References: Date: Wed, 14 Jan 2004 17:19:46 -0000 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.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Re: Jdk1.4.2 patcheset 6 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, 14 Jan 2004 17:19:41 -0000 > I kinda think that the new patch 6 already does some of the work > of these 3 problematic patches (files/patch-deploy::common::Defs-bsd.gmk, > files/patch-plugin::ns6::Makefile and files/patch-unpack::Makefile), > and thats the reason for not being applied. I also has a spot of bother with patch 6 while building jdk14 (on 5.2) last night but it was too late for me to investigate so I let it rip with patch 5 and went to bed. I'll try out Mantzios' findings when I get home from work. Is it odd no one else has mentioned any build probs with 6? Is there an official port update to reflect patch 6 in the pipeline? From owner-freebsd-java@FreeBSD.ORG Wed Jan 14 12:08:14 2004 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 C8CDA16A4CF; Wed, 14 Jan 2004 12:08:14 -0800 (PST) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30E8E43D79; Wed, 14 Jan 2004 12:07:10 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from [198.60.22.206] (helo=mgr6.xmission.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 1AgrI0-00054I-02; Wed, 14 Jan 2004 13:06:56 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr6.xmission.com with esmtp (Exim 4.22) id 1AgrHy-0006QT-RO; Wed, 14 Jan 2004 13:06:55 -0700 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) i0EKBON2011360; Wed, 14 Jan 2004 13:11:24 -0700 (MST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.10/8.12.10/Submit) id i0EKBMWl011359; Wed, 14 Jan 2004 13:11:22 -0700 (MST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 14 Jan 2004 13:11:22 -0700 From: Greg Lewis To: freebsd-java@freebsd.org, znerd@freebsd.org Message-ID: <20040114201122.GA11299@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.4.1i Content-Type: text/plain; charset=us-ascii X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on mgr6.xmission.com X-Spam-Level: X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.61 X-SA-Exim-Mail-From: glewis@eyesbeyond.com X-SA-Exim-Version: 3.1 (built Wed Aug 20 09:38:54 PDT 2003) X-SA-Exim-Scanned: Yes Subject: Fwd: cvs commit: ports/java/jdk13 Makefile ports/java/jdk13/files 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: Wed, 14 Jan 2004 20:08:14 -0000 FYI: ----- Forwarded message from Greg Lewis ----- glewis 2004/01/14 11:44:47 PST FreeBSD ports repository Modified files: java/jdk13 Makefile Added files: java/jdk13/files cacerts Log: . Install the cacerts file from Sun's 1.3.1_10 release to avoid some problems associated with expired root certificates described in: http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsalert%2F57436 ----- End forwarded message ----- Note that the expired root certifcates still exist in most of the JDK ports. The only ones which are up to date are jdk13, linux-sun-jdk13, linux-sun-jdk14 and linux-blackdown-jdk14. The JDK/JRE 1.1.x ports are not affected. I'll try and get the rest updated as time permits. -- 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 Jan 14 12:44:23 2004 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 30AAD16A4CE for ; Wed, 14 Jan 2004 12:44:23 -0800 (PST) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2735E43D90 for ; Wed, 14 Jan 2004 12:44:17 -0800 (PST) (envelope-from jonc@chen.org.nz) Received: by chen.org.nz (Postfix, from userid 1000) id 081CB13651; Thu, 15 Jan 2004 09:44:15 +1300 (NZDT) Date: Thu, 15 Jan 2004 09:44:14 +1300 From: Jonathan Chen To: Greg Lewis Message-ID: <20040114204414.GA88662@grimoire.chen.org.nz> References: <20040114201122.GA11299@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040114201122.GA11299@misty.eyesbeyond.com> User-Agent: Mutt/1.4.1i cc: freebsd-java@freebsd.org Subject: Re: Fwd: cvs commit: ports/java/jdk13 Makefile ports/java/jdk13/files 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: Wed, 14 Jan 2004 20:44:23 -0000 On Wed, Jan 14, 2004 at 01:11:22PM -0700, Greg Lewis wrote: [...] > Note that the expired root certifcates still exist in most of the JDK > ports. The only ones which are up to date are jdk13, linux-sun-jdk13, > linux-sun-jdk14 and linux-blackdown-jdk14. The JDK/JRE 1.1.x ports > are not affected. I'll try and get the rest updated as time permits. It'd be nice to get a working cacerts in the native JDK1.4.2 port - at the moment it only has an empty cacerts :-) Cheers. -- Jonathan Chen ---------------------------------------------------------------------- The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. From owner-freebsd-java@FreeBSD.ORG Wed Jan 14 13:23:21 2004 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 13CF016A4CF for ; Wed, 14 Jan 2004 13:23:21 -0800 (PST) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E73B43D1F for ; Wed, 14 Jan 2004 13:23:19 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from [198.60.22.203] (helo=mgr3.xmission.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 1AgsTu-0000vQ-02; Wed, 14 Jan 2004 14:23:18 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr3.xmission.com with esmtp (Exim 4.22) id 1AgsTt-0002RK-SM; Wed, 14 Jan 2004 14:23:18 -0700 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) i0ELRlN2011876; Wed, 14 Jan 2004 14:27:48 -0700 (MST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.10/8.12.10/Submit) id i0ELRjI3011875; Wed, 14 Jan 2004 14:27:45 -0700 (MST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 14 Jan 2004 14:27:45 -0700 From: Greg Lewis To: Jonathan Chen Message-ID: <20040114212745.GA11856@misty.eyesbeyond.com> References: <20040114201122.GA11299@misty.eyesbeyond.com> <20040114204414.GA88662@grimoire.chen.org.nz> Mime-Version: 1.0 Content-Disposition: inline In-Reply-To: <20040114204414.GA88662@grimoire.chen.org.nz> User-Agent: Mutt/1.4.1i Content-Type: text/plain; charset=us-ascii X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on mgr3.xmission.com X-Spam-Level: X-Spam-Status: No, hits=-4.9 required=8.0 tests=BAYES_00 autolearn=no version=2.61 X-SA-Exim-Mail-From: glewis@eyesbeyond.com X-SA-Exim-Version: 3.1 (built Wed Aug 20 09:38:54 PDT 2003) X-SA-Exim-Scanned: Yes cc: freebsd-java@freebsd.org Subject: Re: Fwd: cvs commit: ports/java/jdk13 Makefile ports/java/jdk13/files 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: Wed, 14 Jan 2004 21:23:21 -0000 On Thu, Jan 15, 2004 at 09:44:14AM +1300, Jonathan Chen wrote: > On Wed, Jan 14, 2004 at 01:11:22PM -0700, Greg Lewis wrote: > > [...] > > Note that the expired root certifcates still exist in most of the JDK > > ports. The only ones which are up to date are jdk13, linux-sun-jdk13, > > linux-sun-jdk14 and linux-blackdown-jdk14. The JDK/JRE 1.1.x ports > > are not affected. I'll try and get the rest updated as time permits. > > It'd be nice to get a working cacerts in the native JDK1.4.2 port - at > the moment it only has an empty cacerts :-) Well, it now has the same one as 1.4.2_03 from Sun... -- 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 Jan 14 13:30:53 2004 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 57B1316A4D0 for ; Wed, 14 Jan 2004 13:30:53 -0800 (PST) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id B5C9243D1F for ; Wed, 14 Jan 2004 13:30:51 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from [198.60.22.204] (helo=mgr4.xmission.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 1AgsbC-0002Yg-02; Wed, 14 Jan 2004 14:30:50 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr4.xmission.com with esmtp (Exim 4.22) id 1AgsbB-0000a7-Qb; Wed, 14 Jan 2004 14:30:49 -0700 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) i0ELZIN2011992; Wed, 14 Jan 2004 14:35:19 -0700 (MST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.10/8.12.10/Submit) id i0ELZGWV011991; Wed, 14 Jan 2004 14:35:16 -0700 (MST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 14 Jan 2004 14:35:15 -0700 From: Greg Lewis To: Andrew Edwards Message-ID: <20040114213515.GA11903@misty.eyesbeyond.com> References: <009101c3dac2$9bcefc90$3300a8c0@laptop> Mime-Version: 1.0 Content-Disposition: inline In-Reply-To: <009101c3dac2$9bcefc90$3300a8c0@laptop> User-Agent: Mutt/1.4.1i Content-Type: text/plain; charset=us-ascii X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on mgr4.xmission.com X-Spam-Level: X-Spam-Status: No, hits=-0.0 required=8.0 tests=BAYES_44 autolearn=no version=2.61 X-SA-Exim-Mail-From: glewis@eyesbeyond.com X-SA-Exim-Version: 3.1 (built Wed Aug 20 09:38:54 PDT 2003) X-SA-Exim-Scanned: Yes cc: freebsd-java@freebsd.org Subject: Re: Jdk1.4.2 patcheset 6 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, 14 Jan 2004 21:30:53 -0000 On Wed, Jan 14, 2004 at 05:19:46PM -0000, Andrew Edwards wrote: > > I kinda think that the new patch 6 already does some of the work > > of these 3 problematic patches (files/patch-deploy::common::Defs-bsd.gmk, > > files/patch-plugin::ns6::Makefile and files/patch-unpack::Makefile), > > and thats the reason for not being applied. > > I also has a spot of bother with patch 6 while building jdk14 (on 5.2) last > night but it was > too late for me to investigate so I let it rip with patch 5 and went to bed. > > I'll try out Mantzios' findings when I get home from work. Is it odd no one > else has mentioned > any build probs with 6? > > Is there an official port update to reflect patch 6 in the pipeline? The port was updated a minute or two ago. Now I wish I had read Mantzios' email first, it would have saved some time finding which patches needed removing :). -- 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 Jan 14 13:33:09 2004 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 55A5316A4CE; Wed, 14 Jan 2004 13:33:09 -0800 (PST) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA15443D58; Wed, 14 Jan 2004 13:33:07 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from [198.60.22.207] (helo=mx1.xmission.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 1AgsdP-0002uP-02; Wed, 14 Jan 2004 14:33:07 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mx1.xmission.com with esmtp (Exim 4.22) id 1AgsdN-0000rf-RW; Wed, 14 Jan 2004 14:33:07 -0700 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) i0ELbZN2012003; Wed, 14 Jan 2004 14:37:35 -0700 (MST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.10/8.12.10/Submit) id i0ELbXBj012002; Wed, 14 Jan 2004 14:37:33 -0700 (MST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 14 Jan 2004 14:37:33 -0700 From: Greg Lewis To: Ernst de Haan Message-ID: <20040114213733.GB11903@misty.eyesbeyond.com> References: <200401132235.06485.znerd@FreeBSD.org> Mime-Version: 1.0 Content-Disposition: inline In-Reply-To: <200401132235.06485.znerd@FreeBSD.org> User-Agent: Mutt/1.4.1i Content-Type: text/plain; charset=us-ascii X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on mx1.xmission.com X-Spam-Level: X-Spam-Status: No, hits=-4.9 required=8.0 tests=BAYES_00 autolearn=no version=2.61 X-SA-Exim-Mail-From: glewis@eyesbeyond.com X-SA-Exim-Version: 3.1 (built Wed Aug 20 09:38:54 PDT 2003) X-SA-Exim-Scanned: Yes cc: java@freebsd.org Subject: Re: Issues with pkg-plist and Javadoc 1.4 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, 14 Jan 2004 21:33:09 -0000 Hi Ernst, On Tue, Jan 13, 2004 at 10:35:06PM +0000, Ernst de Haan wrote: > There is an issue with Java-based ports that generate Javadoc API > documentation. The Javadoc that comes with Java 1.4.x generates files that > the predecessors did not generate, for example an inherit.gif. This makes > the pkg-plist file for a lot of Java-based ports either incorrect for Java > 1.4.x, or incorrect for all predecessors. > > I remember reading something from somebody about this subject, but I could > not found anything using a Google search for 'inherit.gif FreeBSD'. > > Anyone remember a suggested solution for this? > > If not, I'll just keep it on my TODO list and look into it ASAP. Best workaround is to use the PORTDOCS macro, then the documentation part of the packing list is generated automatically and you don't have to worry about the differences. Otherwise you have to play games with PLIST_SUB. -- 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 Jan 14 13:44:35 2004 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 465D516A4CF; Wed, 14 Jan 2004 13:44:35 -0800 (PST) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7E7343D53; Wed, 14 Jan 2004 13:44:32 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i0ELiRfn087051 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 14 Jan 2004 21:44:27 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i0ELiQ2O087050; Wed, 14 Jan 2004 21:44:26 GMT (envelope-from matthew) Date: Wed, 14 Jan 2004 21:44:26 +0000 From: Matthew Seaman To: Ernst de Haan Message-ID: <20040114214426.GA86747@happy-idiot-talk.infracaninophile.co.uk> References: <200401132235.06485.znerd@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5vNYLRcllDrimb99" Content-Disposition: inline In-Reply-To: <200401132235.06485.znerd@FreeBSD.org> User-Agent: Mutt/1.5.5.1i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.61 X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on happy-idiot-talk.infracaninophile.co.uk cc: java@freebsd.org Subject: Re: Issues with pkg-plist and Javadoc 1.4 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, 14 Jan 2004 21:44:35 -0000 --5vNYLRcllDrimb99 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 13, 2004 at 10:35:06PM +0000, Ernst de Haan wrote: > There is an issue with Java-based ports that generate Javadoc API=20 > documentation. The Javadoc that comes with Java 1.4.x generates files tha= t=20 > the predecessors did not generate, for example an inherit.gif. This makes= =20 > the pkg-plist file for a lot of Java-based ports either incorrect for Jav= a=20 > 1.4.x, or incorrect for all predecessors. >=20 > I remember reading something from somebody about this subject, but I coul= d=20 > not found anything using a Google search for 'inherit.gif FreeBSD'. That would be me: http://lists.freebsd.org/pipermail/freebsd-ports/2003-October/005830.ht= ml =20 > Anyone remember a suggested solution for this? >=20 > If not, I'll just keep it on my TODO list and look into it ASAP. The PORTDOCS macro Oliver Eikemeyer invented, and as Greg suggested elsewhere in this thread: http://www.freebsd.org/cgi/query-pr.cgi?pr=3D59182 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 --5vNYLRcllDrimb99 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFABbg6dtESqEQa7a0RAi9zAJ9tnFAnubl6dWwmXAXEVcH0XzRZJwCeIoJX cT6r1Umm6ns7MfzoMKQIQpY= =ZBQ3 -----END PGP SIGNATURE----- --5vNYLRcllDrimb99-- From owner-freebsd-java@FreeBSD.ORG Thu Jan 15 13:20:20 2004 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 F0AF116A4CE for ; Thu, 15 Jan 2004 13:20:19 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C6DE43D49 for ; Thu, 15 Jan 2004 13:20:17 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i0FLKHFR028472 for ; Thu, 15 Jan 2004 13:20:17 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i0FLKHu4028471; Thu, 15 Jan 2004 13:20:17 -0800 (PST) (envelope-from gnats) Resent-Date: Thu, 15 Jan 2004 13:20:17 -0800 (PST) Resent-Message-Id: <200401152120.i0FLKHu4028471@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, Matthew Seaman Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D1B016A4CE for ; Thu, 15 Jan 2004 13:16:49 -0800 (PST) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id C104943D53 for ; Thu, 15 Jan 2004 13:16:44 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i0FLGbfn049781 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 15 Jan 2004 21:16:37 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i0FLGahR049780; Thu, 15 Jan 2004 21:16:36 GMT (envelope-from matthew) Message-Id: <200401152116.i0FLGahR049780@happy-idiot-talk.infracaninophile.co.uk> Date: Thu, 15 Jan 2004 21:16:36 GMT From: Matthew Seaman To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: java/61392: javaws from jdk-1.4.2p6 SEGV on startup X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Matthew Seaman List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jan 2004 21:20:20 -0000 >Number: 61392 >Category: java >Synopsis: javaws from jdk-1.4.2p6 SEGV on startup >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 15 13:20:16 PST 2004 >Closed-Date: >Last-Modified: >Originator: Matthew Seaman >Release: FreeBSD 4.9-STABLE i386 >Organization: Infracaninophile >Environment: System: FreeBSD happy-idiot-talk.infracaninophile.co.uk 4.9-STABLE FreeBSD 4.9-STABLE #48: Sat Jan 10 11:20:34 GMT 2004 root@happy-idiot-talk.infracaninophile.co.uk:/usr/obj/usr/src/sys/HAPPY-IDIOT-TALK i386 >Description: The Java WebStart application javaws from JDK 1.4.2p6 dies repeatably almost immediately on startup with a segmentation violation: arbitrary:...j2sdk-image/jre/javaws:% ./javaws Segmentation fault (core dumped) arbitrary:...j2sdk-image/jre/javaws:% gdb javawsbin -c javawsbin.core GNU gdb 4.18 (FreeBSD) Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"... (no debugging symbols found)... Core was generated by `javawsbin'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/X11R6/lib/libX11.so.6... (no debugging symbols found)...done. Reading symbols from /usr/lib/libc_r.so.4...(no debugging symbols found)... done. Reading symbols from /usr/X11R6/lib/libXThrStub.so.6... (no debugging symbols found)...done. Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols found)... done. #0 0x281d5a21 in _thread_leave_cancellation_point () from /usr/lib/libc_r.so.4 (gdb) bt #0 0x281d5a21 in _thread_leave_cancellation_point () from /usr/lib/libc_r.so.4 #1 0x281d5d51 in _thread_leave_cancellation_point () from /usr/lib/libc_r.so.4 #2 0x281d64a1 in malloc () from /usr/lib/libc_r.so.4 #3 0x80519b8 in ReadFileToBuffer () #4 0x804e511 in parsePropertyFile () #5 0x804b20f in LoadCfgFile () #6 0x804b16e in LoadConfigurationFile () #7 0x80498de in main () #8 0x804975a in _start () (gdb) info frame Stack level 0, frame at 0xbfbff340: eip = 0x281d5a21 in _thread_leave_cancellation_point; saved eip 0x281d5d51 called by frame at 0xbfbff370 Arglist at 0xbfbff340, args: Locals at 0xbfbff340, Previous frame's sp is 0x0 Saved registers: ebx at 0xbfbff328, ebp at 0xbfbff340, eip at 0xbfbff344 That's from a JDK compiled -DWITH_DEBUG: exactly the same crash happens with or without -DWITH_DEBUG. >How-To-Repeat: >Fix: Not known. Happy to provide core files etc. on request. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-java@FreeBSD.ORG Thu Jan 15 15:54:02 2004 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 ABB7116A4CE for ; Thu, 15 Jan 2004 15:54:02 -0800 (PST) Received: from gddsn.org.cn (mail.gddsn.org.cn [210.21.6.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4ABAD43D60 for ; Thu, 15 Jan 2004 15:54:00 -0800 (PST) (envelope-from hwh@gddsn.org.cn) Received: from gddsn.org.cn (gw [210.21.6.34]) by gddsn.org.cn (Postfix) with ESMTP id AAD0838CBC6 for ; Fri, 16 Jan 2004 07:20:29 +0800 (CST) Message-ID: <4007203C.9000808@gddsn.org.cn> Date: Fri, 16 Jan 2004 07:20:28 +0800 From: Huang wen hui User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; zh-CN; rv:1.5) Gecko/20031024 X-Accept-Language: zh-cn,zh MIME-Version: 1.0 References: <200401152116.i0FLGahR049780@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <200401152116.i0FLGahR049780@happy-idiot-talk.infracaninophile.co.uk> Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 8bit cc: java@freebsd.org Subject: Re: java/61392: javaws from jdk-1.4.2p6 SEGV on startup 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, 15 Jan 2004 23:54:02 -0000 Matthew Seaman д: >>Number: 61392 >>Category: java >>Synopsis: javaws from jdk-1.4.2p6 SEGV on startup >>Confidential: no >>Severity: serious >>Priority: medium >>Responsible: freebsd-java >>State: open >>Quarter: >>Keywords: >>Date-Required: >>Class: sw-bug >>Submitter-Id: current-users >>Arrival-Date: Thu Jan 15 13:20:16 PST 2004 >>Closed-Date: >>Last-Modified: >>Originator: Matthew Seaman >>Release: FreeBSD 4.9-STABLE i386 >>Organization: >> >> >Infracaninophile > > >>Environment: >> >> >System: FreeBSD happy-idiot-talk.infracaninophile.co.uk 4.9-STABLE FreeBSD 4.9-STABLE #48: Sat Jan 10 11:20:34 GMT 2004 root@happy-idiot-talk.infracaninophile.co.uk:/usr/obj/usr/src/sys/HAPPY-IDIOT-TALK i386 > > > > > >>Description: >> >> > >The Java WebStart application javaws from JDK 1.4.2p6 dies repeatably >almost immediately on startup with a segmentation violation: > >arbitrary:...j2sdk-image/jre/javaws:% ./javaws >Segmentation fault (core dumped) >arbitrary:...j2sdk-image/jre/javaws:% gdb javawsbin -c javawsbin.core >GNU gdb 4.18 (FreeBSD) >Copyright 1998 Free Software Foundation, Inc. >GDB is free software, covered by the GNU General Public License, and you are >welcome to change it and/or distribute copies of it under certain conditions. >Type "show copying" to see the conditions. >There is absolutely no warranty for GDB. Type "show warranty" for details. >This GDB was configured as "i386-unknown-freebsd"... >(no debugging symbols found)... >Core was generated by `javawsbin'. >Program terminated with signal 11, Segmentation fault. >Reading symbols from /usr/X11R6/lib/libX11.so.6... >(no debugging symbols found)...done. >Reading symbols from /usr/lib/libc_r.so.4...(no debugging symbols found)... >done. >Reading symbols from /usr/X11R6/lib/libXThrStub.so.6... >(no debugging symbols found)...done. >Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols found)... >done. >#0 0x281d5a21 in _thread_leave_cancellation_point () from /usr/lib/libc_r.so.4 >(gdb) bt >#0 0x281d5a21 in _thread_leave_cancellation_point () from /usr/lib/libc_r.so.4 >#1 0x281d5d51 in _thread_leave_cancellation_point () from /usr/lib/libc_r.so.4 >#2 0x281d64a1 in malloc () from /usr/lib/libc_r.so.4 >#3 0x80519b8 in ReadFileToBuffer () >#4 0x804e511 in parsePropertyFile () >#5 0x804b20f in LoadCfgFile () >#6 0x804b16e in LoadConfigurationFile () >#7 0x80498de in main () >#8 0x804975a in _start () >(gdb) info frame >Stack level 0, frame at 0xbfbff340: > eip = 0x281d5a21 in _thread_leave_cancellation_point; saved eip 0x281d5d51 > called by frame at 0xbfbff370 > Arglist at 0xbfbff340, args: > Locals at 0xbfbff340, Previous frame's sp is 0x0 > Saved registers: > ebx at 0xbfbff328, ebp at 0xbfbff340, eip at 0xbfbff344 > >That's from a JDK compiled -DWITH_DEBUG: exactly the same crash >happens with or without -DWITH_DEBUG. > > > >>How-To-Repeat: >> >> > > > >>Fix: >> >> > >Not known. Happy to provide core files etc. on request. > > create /etc/.java/.deployment/deployment.properties and ~user/.java/.deployment/deployment.properties manually can fix this problem. > > > >>Release-Note: >>Audit-Trail: >>Unformatted: >> >> >_______________________________________________ >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 Jan 15 21:20:07 2004 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 B8FC816A4CE for ; Thu, 15 Jan 2004 21:20:07 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5DFF243D45 for ; Thu, 15 Jan 2004 21:20:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i0G5K3FR096810 for ; Thu, 15 Jan 2004 21:20:03 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i0G5K3wf096809; Thu, 15 Jan 2004 21:20:03 -0800 (PST) (envelope-from gnats) Resent-Date: Thu, 15 Jan 2004 21:20:03 -0800 (PST) Resent-Message-Id: <200401160520.i0G5K3wf096809@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, Alan Batie Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B830516A4CE for ; Thu, 15 Jan 2004 21:15:13 -0800 (PST) Received: from pyrex.batie.org (dsl-209-162-200-178.dsl.easystreet.com [209.162.200.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id 316FE43D58 for ; Thu, 15 Jan 2004 21:15:11 -0800 (PST) (envelope-from alan@pyrex.batie.org) Received: from pyrex.batie.org (localhost [127.0.0.1]) by pyrex.batie.org (8.12.7/8.12.6) with ESMTP id i0G5F5Hl045818 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 15 Jan 2004 21:15:06 -0800 (PST) (envelope-from alan@pyrex.batie.org) Received: (from alan@localhost) by pyrex.batie.org (8.12.7/8.12.6/Submit) id i0G5F5Vt045817; Thu, 15 Jan 2004 21:15:05 -0800 (PST) Message-Id: <200401160515.i0G5F5Vt045817@pyrex.batie.org> Date: Thu, 15 Jan 2004 21:15:05 -0800 (PST) From: Alan Batie To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: java/61407: jdk14 port aborts making html32dtd X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Alan Batie List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jan 2004 05:20:07 -0000 >Number: 61407 >Category: java >Synopsis: jdk14 port aborts making html32dtd >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 15 21:20:03 PST 2004 >Closed-Date: >Last-Modified: >Originator: Alan Batie >Release: FreeBSD 4.8-STABLE i386 >Organization: RainDrop Laboratories >Environment: System: FreeBSD pyrex.batie.org 4.8-STABLE FreeBSD 4.8-STABLE #1: Sun Nov 9 03:18:36 PST 2003 root@pyrex.batie.org:/usr/src/freebsd/src/sys/compile/PYREX i386 Latest jdk14 port using patchset 6: # $FreeBSD: ports/java/jdk14/Makefile,v 1.71 2004/01/14 21:21:52 glewis Exp $ >Description: >How-To-Repeat: cvsup (this morning about 5:30 or so PST) cvs update ports cd ports/java/jdk14 make >Fix: >Release-Note: >Audit-Trail: >Unformatted: >>>Recursively making html32dtd html32dtd @ Thu Jan 15 20:56:04 PST 2004 ... gmake[4]: Entering directory `/usr/src/ports/java/jdk14/work/j2se/make/javax/swing/html32dtd' gmake make-html32dtd gmake[5]: Entering directory `/usr/src/ports/java/jdk14/work/j2se/make/javax/swing/html32dtd' /bin/mkdir -p /usr/src/ports/java/jdk14/work/control/build/bsd-i586/tmp/javax/swing/html/dtbuilder/obj /bin/mkdir -p /usr/src/ports/java/jdk14/work/control/build/bsd-i586/tmp/javax/swing/html/dtbuilder/dtdgenclasses rm -f /usr/src/ports/java/jdk14/work/control/build/bsd-i586/tmp/javax/swing/html/dtbuilder/.classes.list if [ -s /usr/src/ports/java/jdk14/work/control/build/bsd-i586/tmp/javax/swing/html/dtbuilder/.classes.list ] ; \ then /usr/src/ports/java/jdk14/work/control/build/bsd-i586/bin/javac -J-XX:ThreadStackSize=768 -J-Xms64m -J-Xmx256m -J-Xmaxf1 -classpath /usr/src/ports/java/jdk14/work/control/build/bsd-i586/classes -bootclasspath "/usr/src/ports/java/jdk14/work/control /build/bsd-i586/lib/jce.jar:/usr/src/ports/java/jdk14/work/control/build/bsd-i586/lib/jsse.jar" -sourcepath "/usr/src/ports/java/jdk14/work/control/build/bsd-i586/gensrc:../../../../src/solaris/classes:../../../../src/share/classes" -d /usr/src/ports/jav a/jdk14/work/control/build/bsd-i586/tmp/javax/swing/html/dtbuilder/dtdgenclasses -source 1.4 \ ../../../tools/dtdbuilder/PublicMapping.java ../../../tools/dtdbuilder/DTDParser.java ../../../tools/dtdbuilder/DTDInputStream.java ../../../tools/dtdbuilder/DTDBuilder.java ; \ fi rm -f /usr/src/ports/java/jdk14/work/control/build/bsd-i586/classes/javax/swing/text/html/parser/html32.bdtd (/usr/src/ports/java/jdk14/work/control/build/bsd-i586/bin/java -ms16m -mx64m \ -classpath "/usr/src/ports/java/jdk14/work/control/build/bsd-i586/tmp/javax/swing/html/dtbuilder/dtdgenclasses:" \ -Ddtd_home=../../../tools/dtdbuilder/dtds \ dtdbuilder.DTDBuilder html32 > /usr/src/ports/java/jdk14/work/control/build/bsd-i586/classes/javax/swing/text/html/parser/html32.bdtd) || exit 1 [Parsed DTD html32 in 197ms] Abort trap (core dumped) gmake[5]: *** [/usr/src/ports/java/jdk14/work/control/build/bsd-i586/classes/javax/swing/text/html/parser/html32.bdtd] Error 1 gmake[5]: Leaving directory `/usr/src/ports/java/jdk14/work/j2se/make/javax/swing/html32dtd' gmake[4]: *** [swing-html32dtd] Error 2 gmake[4]: Leaving directory `/usr/src/ports/java/jdk14/work/j2se/make/javax/swing/html32dtd' gmake[3]: *** [html32dtd] Error 1 gmake[3]: Leaving directory `/usr/src/ports/java/jdk14/work/j2se/make/javax/swing' gmake[2]: *** [all] Error 1 gmake[2]: Leaving directory `/usr/src/ports/java/jdk14/work/j2se/make/javax' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/usr/src/ports/java/jdk14/work/j2se/make' gmake: *** [j2se-build] Error 2 *** Error code 2 Stop in /usr/src/ports/java/jdk14. From owner-freebsd-java@FreeBSD.ORG Thu Jan 15 21:46:16 2004 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 25D6E16A4CE for ; Thu, 15 Jan 2004 21:46:16 -0800 (PST) Received: from gddsn.org.cn (mail.gddsn.org.cn [210.21.6.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5957E43D58 for ; Thu, 15 Jan 2004 21:46:13 -0800 (PST) (envelope-from hwh@gddsn.org.cn) Received: from gddsn.org.cn (gw [210.21.6.34]) by gddsn.org.cn (Postfix) with ESMTP id 435A738CBC6; Fri, 16 Jan 2004 13:46:11 +0800 (CST) Message-ID: <40077AA2.4090901@gddsn.org.cn> Date: Fri, 16 Jan 2004 13:46:10 +0800 From: Huang wen hui User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; zh-CN; rv:1.5) Gecko/20031027 X-Accept-Language: zh-cn, zh-tw, en-us, en MIME-Version: 1.0 To: Alan Batie , java@freebsd.org References: <200401160515.i0G5F5Vt045817@pyrex.batie.org> In-Reply-To: <200401160515.i0G5F5Vt045817@pyrex.batie.org> Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 8bit Subject: Re: java/61407: jdk14 port aborts making html32dtd 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, 16 Jan 2004 05:46:16 -0000 Alan Batie д: >>Number: 61407 >>Category: java >>Synopsis: jdk14 port aborts making html32dtd >>Confidential: no >>Severity: critical >>Priority: high >>Responsible: freebsd-java >>State: open >>Quarter: >>Keywords: >>Date-Required: >>Class: sw-bug >>Submitter-Id: current-users >>Arrival-Date: Thu Jan 15 21:20:03 PST 2004 >>Closed-Date: >>Last-Modified: >>Originator: Alan Batie >>Release: FreeBSD 4.8-STABLE i386 >>Organization: >> >> >RainDrop Laboratories > > >>Environment: >> >> >System: FreeBSD pyrex.batie.org 4.8-STABLE FreeBSD 4.8-STABLE #1: Sun Nov 9 03:18:36 PST 2003 root@pyrex.batie.org:/usr/src/freebsd/src/sys/compile/PYREX i386 > > > Latest jdk14 port using patchset 6: > # $FreeBSD: ports/java/jdk14/Makefile,v 1.71 2004/01/14 21:21:52 glewis Exp $ > > > >>Description: >> >> > > > >>How-To-Repeat: >> >> > cvsup (this morning about 5:30 or so PST) > cvs update ports > cd ports/java/jdk14 > make > > > >>Fix: >>Release-Note: >>Audit-Trail: >>Unformatted: >> >> > >>>Recursively making html32dtd html32dtd @ Thu Jan 15 20:56:04 PST 2004 ... > gmake[4]: Entering directory `/usr/src/ports/java/jdk14/work/j2se/make/javax/swing/html32dtd' > gmake make-html32dtd > gmake[5]: Entering directory `/usr/src/ports/java/jdk14/work/j2se/make/javax/swing/html32dtd' > /bin/mkdir -p /usr/src/ports/java/jdk14/work/control/build/bsd-i586/tmp/javax/swing/html/dtbuilder/obj > /bin/mkdir -p /usr/src/ports/java/jdk14/work/control/build/bsd-i586/tmp/javax/swing/html/dtbuilder/dtdgenclasses > rm -f /usr/src/ports/java/jdk14/work/control/build/bsd-i586/tmp/javax/swing/html/dtbuilder/.classes.list > if [ -s /usr/src/ports/java/jdk14/work/control/build/bsd-i586/tmp/javax/swing/html/dtbuilder/.classes.list ] ; \ > then /usr/src/ports/java/jdk14/work/control/build/bsd-i586/bin/javac -J-XX:ThreadStackSize=768 -J-Xms64m -J-Xmx256m -J-Xmaxf1 -classpath /usr/src/ports/java/jdk14/work/control/build/bsd-i586/classes -bootclasspath "/usr/src/ports/java/jdk14/work/control /build/bsd-i586/lib/jce.jar:/usr/src/ports/java/jdk14/work/control/build/bsd-i586/lib/jsse.jar" -sourcepath "/usr/src/ports/java/jdk14/work/control/build/bsd-i586/gensrc:../../../../src/solaris/classes:../../../../src/share/classes" -d /usr/src/ports/jav a/jdk14/work/control/build/bsd-i586/tmp/javax/swing/html/dtbuilder/dtdgenclasses -source 1.4 \ > ../../../tools/dtdbuilder/PublicMapping.java ../../../tools/dtdbuilder/DTDParser.java ../../../tools/dtdbuilder/DTDInputStream.java ../../../tools/dtdbuilder/DTDBuilder.java ; \ > fi > rm -f /usr/src/ports/java/jdk14/work/control/build/bsd-i586/classes/javax/swing/text/html/parser/html32.bdtd > (/usr/src/ports/java/jdk14/work/control/build/bsd-i586/bin/java -ms16m -mx64m \ > -classpath "/usr/src/ports/java/jdk14/work/control/build/bsd-i586/tmp/javax/swing/html/dtbuilder/dtdgenclasses:" \ > -Ddtd_home=../../../tools/dtdbuilder/dtds \ > dtdbuilder.DTDBuilder html32 > /usr/src/ports/java/jdk14/work/control/build/bsd-i586/classes/javax/swing/text/html/parser/html32.bdtd) || exit 1 > [Parsed DTD html32 in 197ms] > Abort trap (core dumped) > gmake[5]: *** [/usr/src/ports/java/jdk14/work/control/build/bsd-i586/classes/javax/swing/text/html/parser/html32.bdtd] Error 1 > gmake[5]: Leaving directory `/usr/src/ports/java/jdk14/work/j2se/make/javax/swing/html32dtd' > gmake[4]: *** [swing-html32dtd] Error 2 > gmake[4]: Leaving directory `/usr/src/ports/java/jdk14/work/j2se/make/javax/swing/html32dtd' > gmake[3]: *** [html32dtd] Error 1 > gmake[3]: Leaving directory `/usr/src/ports/java/jdk14/work/j2se/make/javax/swing' > gmake[2]: *** [all] Error 1 > gmake[2]: Leaving directory `/usr/src/ports/java/jdk14/work/j2se/make/javax' > gmake[1]: *** [all] Error 1 > gmake[1]: Leaving directory `/usr/src/ports/java/jdk14/work/j2se/make' > gmake: *** [j2se-build] Error 2 > *** Error code 2 > > Stop in /usr/src/ports/java/jdk14. > > I also hit this problem on 4.9R, but make again,the problem has gone. > >_______________________________________________ >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 Jan 15 23:52:30 2004 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 C4BBB16A4CE for ; Thu, 15 Jan 2004 23:52:30 -0800 (PST) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4432443D62 for ; Thu, 15 Jan 2004 23:52:28 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i0G7qLfn055340 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 16 Jan 2004 07:52:21 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i0G7qJ1U055339; Fri, 16 Jan 2004 07:52:19 GMT (envelope-from matthew) Date: Fri, 16 Jan 2004 07:52:19 +0000 From: Matthew Seaman To: Huang wen hui Message-ID: <20040116075219.GA55150@happy-idiot-talk.infracaninophile.co.uk> References: <200401152116.i0FLGahR049780@happy-idiot-talk.infracaninophile.co.uk> <4007203C.9000808@gddsn.org.cn> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4007203C.9000808@gddsn.org.cn> User-Agent: Mutt/1.5.5.1i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.61 X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on happy-idiot-talk.infracaninophile.co.uk cc: java@freebsd.org Subject: Re: java/61392: javaws from jdk-1.4.2p6 SEGV on startup 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, 16 Jan 2004 07:52:30 -0000 On Fri, Jan 16, 2004 at 07:20:28AM +0800, Huang wen hui wrote: > create /etc/.java/.deployment/deployment.properties and > ~user/.java/.deployment/deployment.properties manually > can fix this problem. Hmmm... well I can report that creating ~/.java/.deployment/deployment.properties (just as an empty file) certainly does avoid the crash. However, it cannot be acceptable for an application to dump core simply because one of the machine generated configuration files it wants is not present. Interesting. I had an earlier version of javaws (1.20_01 (build b01)) running, which used ~/.java/deployment/deployment.properties -- seems that the new version has picked up all of my settings from there. Cheers, Matthew -- 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 From owner-freebsd-java@FreeBSD.ORG Fri Jan 16 04:04:41 2004 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 7EC9A16A4CE for ; Fri, 16 Jan 2004 04:04:41 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 432AC43D45 for ; Fri, 16 Jan 2004 04:03:22 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i0GC0ZFR050033 for ; Fri, 16 Jan 2004 04:00:36 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i0GC0ZOA050032; Fri, 16 Jan 2004 04:00:35 -0800 (PST) (envelope-from gnats) Date: Fri, 16 Jan 2004 04:00:35 -0800 (PST) Message-Id: <200401161200.i0GC0ZOA050032@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Panagiotis Astithas Subject: Re: java/61407: jdk14 port aborts making html32dtd X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Panagiotis Astithas List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jan 2004 12:04:41 -0000 The following reply was made to PR java/61407; it has been noted by GNATS. From: Panagiotis Astithas To: freebsd-gnats-submit@FreeBSD.org, alan@pyrex.batie.org Cc: Subject: Re: java/61407: jdk14 port aborts making html32dtd Date: Fri, 16 Jan 2004 13:53:06 +0200 Since from time to time I experience it too, here is a trace from the corefile: #0 0x380a982c in kill () from /usr/lib/libc_r.so.4 #1 0x380f7a8a in abort () from /usr/lib/libc_r.so.4 #2 0x3846d892 in os::abort () from /var/usr/ports/java/jdk14/work/control/build/bsd-i586/lib/i386/client/ libjvm.so #3 0x38469fd4 in os::handle_unexpected_exception () from /var/usr/ports/java/jdk14/work/control/build/bsd-i586/lib/i386/client/ libjvm.so #4 0x3846eca4 in JVM_handle_bsd_signal () from /var/usr/ports/java/jdk14/work/control/build/bsd-i586/lib/i386/client/ libjvm.so #5 0x3846e2e3 in signalHandler () from /var/usr/ports/java/jdk14/work/control/build/bsd-i586/lib/i386/client/ libjvm.so #6 0x380bb696 in _thread_sig_handler () from /usr/lib/libc_r.so.4 #7 0x380bb516 in _thread_sig_handler () from /usr/lib/libc_r.so.4 #8 0xbfbfffac in ?? () #9 0x38449bc0 in LinkResolver::linktime_resolve_static_method () from /var/usr/ports/java/jdk14/work/control/build/bsd-i586/lib/i386/client/ libjvm.so #10 0x38448133 in LinkResolver::resolve_static_call () from /var/usr/ports/java/jdk14/work/control/build/bsd-i586/lib/i386/client/ libjvm.so #11 0x3837d8c9 in JavaCalls::call_static () from /var/usr/ports/java/jdk14/work/control/build/bsd-i586/lib/i386/client/ libjvm.so #12 0x384c385a in JavaThread::exit () from /var/usr/ports/java/jdk14/work/control/build/bsd-i586/lib/i386/client/ libjvm.so #13 0x384c7548 in Threads::destroy_vm () from /var/usr/ports/java/jdk14/work/control/build/bsd-i586/lib/i386/client/ libjvm.so #14 0x383a9ff3 in jni_DestroyJavaVM () from /var/usr/ports/java/jdk14/work/control/build/bsd-i586/lib/i386/client/ libjvm.so #15 0x80495f2 in free () #16 0x8048bc6 in free () From owner-freebsd-java@FreeBSD.ORG Fri Jan 16 07:25:00 2004 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 72E0016A4CE for ; Fri, 16 Jan 2004 07:25:00 -0800 (PST) Received: from avgw.bjut.edu.cn (avgw.bjut.edu.cn [202.112.78.85]) by mx1.FreeBSD.org (Postfix) with SMTP id 53F4E43D4C for ; Fri, 16 Jan 2004 07:24:52 -0800 (PST) (envelope-from liukang@bjpu.edu.cn) Received: from bjpu.edu.cn ([202.112.78.28]) by avgw.bjut.edu.cn (SAVSMTP 3.1.0.29) with SMTP id M2004011623245309568 for ; Fri, 16 Jan 2004 23:24:53 +0800 Received: (eyou send program); Fri, 16 Jan 2004 23:17:38 +0800 Message-ID: <274266258.23232@bjpu.edu.cn> X-EYOUMAIL-SMTPAUTH: liukang@bjpu.edu.cn Received: from unknown (HELO ssc) (unknown@61.149.139.196) by 192.168.1.28 with SMTP; Fri, 16 Jan 2004 23:17:38 +0800 From: "Kang Liu" To: "'Xin LI'" , Date: Fri, 16 Jan 2004 23:33:11 +0800 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <274264876.23232@bjpu.edu.cn> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcPcQKiHBFvdEzd3RViDC+6h9JUI8gAAoIlw cc: ports@FreeBSD.org cc: java@freebsd.org Subject: RE: FreeBSD Port: jakarta-tomcat5-5.0.16 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, 16 Jan 2004 15:25:00 -0000 > -----Original Message----- > From: owner-freebsd-ports@freebsd.org > [mailto:owner-freebsd-ports@freebsd.org] On Behalf Of Xin LI > Sent: Friday, January 16, 2004 11:00 PM > To: Kang Liu; dadelcas@cantv.net > Cc: ports@FreeBSD.org > Subject: Re: FreeBSD Port: jakarta-tomcat5-5.0.16 > > I think a new feature could be added to the bsd.{foo}.mk, > sometimes a port can run with a minimum version of a certain > "environment"-ish port, e.g., > tomcat5 runs on JDK 1.3+, however, it may be best working > with JDK 1.4. > (Just take these as example, I don't mean tomcat5 will or > will not work best with JDK 1.3 or 1.4, though.) > > With this in consideration, I'd proposal some knob like > USE_JAVA_PREFER= 1.4 and this will cause the port to > automatically install JDK 1.4 if there's no JDK installed. > Also, this should apply to other ports like perl, php, etc. > > Just my own 0.02 Yuan :) > > Cheers, > Xin LI USE_JAVA_PREFER=1.4 :-) I think it is a good idea. If we set a variable like this then we could not only set the version of jdk but also choose prefer native jdk (diablo) or not. Regards, Kang From owner-freebsd-java@FreeBSD.ORG Fri Jan 16 08:56:59 2004 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 D325D16A4CE; Fri, 16 Jan 2004 08:56:59 -0800 (PST) Received: from rambutan.pingpong.net (81.milagro.bahnhof.net [195.178.168.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD52843D39; Fri, 16 Jan 2004 08:56:57 -0800 (PST) (envelope-from girgen@pingpong.net) Received: from localhost (localhost [127.0.0.1])i0GGuseq081393; Fri, 16 Jan 2004 17:56:54 +0100 (CET) (envelope-from girgen@pingpong.net) Date: Fri, 16 Jan 2004 17:56:53 +0100 From: Palle Girgensohn To: Ernst de Haan , freebsd-java@freebsd.org Message-ID: <60790000.1074272213@rambutan.pingpong.net> In-Reply-To: <200306270702.h5R72Sus012499@freefall.freebsd.org> References: <200306270702.h5R72Sus012499@freefall.freebsd.org> X-Mailer: Mulberry/3.1.0 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline cc: Wojtek Sobczuk Subject: Re: java/53790: Let tomcat41ctl start java -server 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, 16 Jan 2004 16:56:59 -0000 Ideally, tomcat41ctl whould accept the same set of environment variables as the jakarta-tomcat-4.x.y/bin/catalina.sh script does. One of these is JAVA_OPTS. I doubt that -server works very well in jdk-1.3.1, does it? From owner-freebsd-java@FreeBSD.ORG Fri Jan 16 15:57:53 2004 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 4A40F16A4D5 for ; Fri, 16 Jan 2004 15:57:53 -0800 (PST) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF26E43D48 for ; Fri, 16 Jan 2004 15:57:49 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from [198.60.22.203] (helo=mgr3.xmission.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 1AhdqW-0005Ap-02; Fri, 16 Jan 2004 16:57:48 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr3.xmission.com with esmtp (Exim 4.22) id 1AhdqV-0005Ou-Ra; Fri, 16 Jan 2004 16:57:48 -0700 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) i0H02NN2092379; Fri, 16 Jan 2004 17:02:24 -0700 (MST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.10/8.12.10/Submit) id i0H02Ls7092361; Fri, 16 Jan 2004 17:02:21 -0700 (MST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Fri, 16 Jan 2004 17:02:20 -0700 From: Greg Lewis To: Huang wen hui Message-ID: <20040117000220.GB89481@misty.eyesbeyond.com> References: <200401152116.i0FLGahR049780@happy-idiot-talk.infracaninophile.co.uk> <4007203C.9000808@gddsn.org.cn> Mime-Version: 1.0 Content-Disposition: inline In-Reply-To: <4007203C.9000808@gddsn.org.cn> User-Agent: Mutt/1.4.1i Content-Type: text/plain; charset=us-ascii X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on mgr3.xmission.com X-Spam-Level: X-Spam-Status: No, hits=-1.5 required=8.0 tests=BAYES_01 autolearn=no version=2.61 X-SA-Exim-Mail-From: glewis@eyesbeyond.com X-SA-Exim-Version: 3.1 (built Wed Aug 20 09:38:54 PDT 2003) X-SA-Exim-Scanned: Yes cc: java@freebsd.org Subject: Re: java/61392: javaws from jdk-1.4.2p6 SEGV on startup 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, 16 Jan 2004 23:57:53 -0000 On Fri, Jan 16, 2004 at 07:20:28AM +0800, Huang wen hui wrote: > create /etc/.java/.deployment/deployment.properties and > ~user/.java/.deployment/deployment.properties manually > can fix this problem. Thats somewhat evil as both of these are outside the PREFIX for the port :(. -- 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 Jan 16 16:00:50 2004 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 AECB716A4CE for ; Fri, 16 Jan 2004 16:00:50 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C845A43D6B for ; Fri, 16 Jan 2004 16:00:33 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i0H00XFR022681 for ; Fri, 16 Jan 2004 16:00:33 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i0H00XAQ022680; Fri, 16 Jan 2004 16:00:33 -0800 (PST) (envelope-from gnats) Date: Fri, 16 Jan 2004 16:00:33 -0800 (PST) Message-Id: <200401170000.i0H00XAQ022680@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Greg Lewis Subject: Re: java/61392: javaws from jdk-1.4.2p6 SEGV on startup X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Greg Lewis List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Jan 2004 00:00:50 -0000 The following reply was made to PR java/61392; it has been noted by GNATS. From: Greg Lewis To: Matthew Seaman Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: java/61392: javaws from jdk-1.4.2p6 SEGV on startup Date: Fri, 16 Jan 2004 17:00:44 -0700 --0OAP2g/MAC+5xKAE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Jan 15, 2004 at 09:16:36PM +0000, Matthew Seaman wrote: > The Java WebStart application javaws from JDK 1.4.2p6 dies repeatably > almost immediately on startup with a segmentation violation: Try the attached patch, I'm testing it now, but it will take a few hours. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org --0OAP2g/MAC+5xKAE Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch-native::util.c" $FreeBSD$ --- ../../deploy/src/javaws/src/share/native/util.c 22 Oct 2003 23:04:17 -0000 1.1.1.1 +++ ../../deploy/src/javaws/src/share/native/util.c 16 Jan 2004 23:50:11 -0000 @@ -27,7 +27,10 @@ /* Find size of file */ struct stat statBuf; - stat(filename, &statBuf); + if (stat(filename, &statBuf) == -1) { + *buffer = NULL; + return 0; + } size = statBuf.st_size; /* Allocate memory for contents */ --0OAP2g/MAC+5xKAE-- From owner-freebsd-java@FreeBSD.ORG Fri Jan 16 23:12:59 2004 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 AC8AA16A4CE; Fri, 16 Jan 2004 23:12:59 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 018DC43D4C; Fri, 16 Jan 2004 23:12:59 -0800 (PST) (envelope-from glewis@FreeBSD.org) Received: from freefall.freebsd.org (glewis@localhost [127.0.0.1]) i0H7CwFR092487; Fri, 16 Jan 2004 23:12:58 -0800 (PST) (envelope-from glewis@freefall.freebsd.org) Received: (from glewis@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i0H7Cwa0092483; Fri, 16 Jan 2004 23:12:58 -0800 (PST) (envelope-from glewis) Date: Fri, 16 Jan 2004 23:12:58 -0800 (PST) From: Greg Lewis Message-Id: <200401170712.i0H7Cwa0092483@freefall.freebsd.org> To: m.seaman@infracaninophile.co.uk, glewis@FreeBSD.org, freebsd-java@FreeBSD.org Subject: Re: java/61392: javaws from jdk-1.4.2p6 SEGV on startup 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: Sat, 17 Jan 2004 07:12:59 -0000 Synopsis: javaws from jdk-1.4.2p6 SEGV on startup State-Changed-From-To: open->closed State-Changed-By: glewis State-Changed-When: Fri Jan 16 23:12:29 PST 2004 State-Changed-Why: Tested the patch I posted and it worked ok. Committed that. http://www.freebsd.org/cgi/query-pr.cgi?pr=61392 From owner-freebsd-java@FreeBSD.ORG Sat Jan 17 05:46:10 2004 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 B84E316A4CE for ; Sat, 17 Jan 2004 05:46:10 -0800 (PST) Received: from mail.unisoftbg.com (mail.unisoftbg.com [194.12.229.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23AC243D46 for ; Sat, 17 Jan 2004 05:46:07 -0800 (PST) (envelope-from freeb@t1.unisoftbg.com) Received: (qmail 3562 invoked by uid 507); 17 Jan 2004 14:51:07 -0000 Received: from unknown (HELO t1.unisoftbg.com) (freeb%t1.unisoftbg.com@194.12.229.193) by 0 with SMTP; 17 Jan 2004 14:51:07 -0000 Message-ID: <40092BE2.A78AA31A@t1.unisoftbg.com> Date: Sat, 17 Jan 2004 13:34:42 +0100 From: "freeb t1 unisoftbg com" X-Mailer: Mozilla 4.03 [en] (Win95; I) MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: sun jdk 1.4.2_02 and freebsd 5.2 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: Sat, 17 Jan 2004 13:46:10 -0000 Hi, I try to check if it is possible to migrate from linux ( RedHat AS 3) to freebsd. I am using very intensive java (jboss + tomcat). I installed freebsd 5.2 and try to make some tests with java. I prefer the sun release because sun is the java founder, but if it is a problem I can change this one. Ok, after install I just go to /usr/ports/linux-sun-jdk14 and readet the readme. I installed the java without any problem (reported error), but if I try to run java --version (just to be sure that it is the version), the jdk hangs. It still running as process (I see it with top). So my question: Exist any production ready port (or version) of java form freebsd 5.2 or it is too early to migrate from linux to freebsd? regards, ivan. From owner-freebsd-java@FreeBSD.ORG Sat Jan 17 07:41:33 2004 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 B113F16A4CE for ; Sat, 17 Jan 2004 07:41:33 -0800 (PST) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 593A543D2D for ; Sat, 17 Jan 2004 07:41:30 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i0HFfNfn044280 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 17 Jan 2004 15:41:23 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i0HFfN5q044279; Sat, 17 Jan 2004 15:41:23 GMT (envelope-from matthew) Date: Sat, 17 Jan 2004 15:41:22 +0000 From: Matthew Seaman To: "freeb t1 unisoftbg com" Message-ID: <20040117154122.GA71989@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: "freeb t1 unisoftbg com" , freebsd-java@freebsd.org References: <40092BE2.A78AA31A@t1.unisoftbg.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gKMricLos+KVdGMg" Content-Disposition: inline In-Reply-To: <40092BE2.A78AA31A@t1.unisoftbg.com> User-Agent: Mutt/1.5.5.1i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.61 X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-java@freebsd.org Subject: Re: sun jdk 1.4.2_02 and freebsd 5.2 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: Sat, 17 Jan 2004 15:41:33 -0000 --gKMricLos+KVdGMg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 17, 2004 at 01:34:42PM +0100, freeb t1 unisoftbg com wrote: > I try to check if it is possible to migrate from linux ( RedHat AS 3) to > freebsd. >=20 > I am using very intensive java (jboss + tomcat). >=20 > I installed freebsd 5.2 and try to make some tests with java. >=20 > I prefer the sun release because sun is the java founder, but if it is a > problem I can change this one. The consensus is that the native Java ports will give you the best stability and performance. The JDK-1.4.2 will do the best, but you're going to have to manually get the sources from Sun, plus the required bsd-patchfiles from eyesbeyond.com (Sun licensing restrictions mean you can't download stuff automatically), then compile everything yourself. That takes quite a time and needs something like 1.7Gb free disk space available. It also requires a working copy of one of the linux JDKs in order to bootstrap the build process. An alternative is to install the Diablo JDK or JRE, which are pre-compiled native code, but only Java 1.3.1 and they have to run in FreeBSD 4.x compatability mode. =20 > Ok, after install I just go to /usr/ports/linux-sun-jdk14 and readet the > readme. >=20 > I installed the java without any problem (reported error), but if I try > to run java --version (just to be sure that it is the version), the jdk > hangs. It still running as process (I see it with top). I think you meant: % java -version Kill the hung java process -- you'll probably need to 'kill -9' it. Make sure you've got linprocfs mounted as instructed in /usr/ports/java/linux-sun-jdk14/pkg-message, and try again. 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 --gKMricLos+KVdGMg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFACVeidtESqEQa7a0RAglKAJ9dyCcvgQ19j3nMPJj/3EIwxq0OrgCfW+k2 Zi+MwumSPEZ7YjqJP272TLk= =uFhz -----END PGP SIGNATURE----- --gKMricLos+KVdGMg-- From owner-freebsd-java@FreeBSD.ORG Sat Jan 17 15:51:00 2004 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 238B716A4CE for ; Sat, 17 Jan 2004 15:51:00 -0800 (PST) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id E3A8F43D79 for ; Sat, 17 Jan 2004 15:50:16 -0800 (PST) (envelope-from jonc@chen.org.nz) Received: by chen.org.nz (Postfix, from userid 1000) id 3577313620; Sun, 18 Jan 2004 12:50:15 +1300 (NZDT) Date: Sun, 18 Jan 2004 12:50:15 +1300 From: Jonathan Chen To: freeb@t1.unisoftbg.com Message-ID: <20040117235015.GA98303@grimoire.chen.org.nz> References: <40092BE2.A78AA31A@t1.unisoftbg.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40092BE2.A78AA31A@t1.unisoftbg.com> User-Agent: Mutt/1.4.1i cc: freebsd-java@freebsd.org Subject: Re: sun jdk 1.4.2_02 and freebsd 5.2 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: Sat, 17 Jan 2004 23:51:00 -0000 On Sat, Jan 17, 2004 at 01:34:42PM +0100, freeb t1 unisoftbg com wrote: > Hi, > > I try to check if it is possible to migrate from linux ( RedHat AS 3) to > freebsd. > > I am using very intensive java (jboss + tomcat). > > I installed freebsd 5.2 and try to make some tests with java. > > I prefer the sun release because sun is the java founder, but if it is a > problem I can change this one. If I were going to use it on a production server, FreeBSD 4-STABLE and the native JDK1.4.2 would be my choice. It really comes down to stability and support. At the moment, FreeBSD 5.X is still not considered production stable yet; and use of the native JDK1.4 means that if you find a problem, the freebsd-java people are more receptive and actually have a possibility of finding and fixing the problem. If you use a non-native binary, and you find a problem I doubt very much that the Sun or Linux people would be very interested in fixing your problem as you are not running it on a supported platform. My $0.02. -- Jonathan Chen ---------------------------------------------------------------------- Do not take life too seriously. You will never get out of it alive. From owner-freebsd-java@FreeBSD.ORG Sat Jan 17 16:07:11 2004 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 866BD16A4CE for ; Sat, 17 Jan 2004 16:07:11 -0800 (PST) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id F1ED743D48 for ; Sat, 17 Jan 2004 16:07:08 -0800 (PST) (envelope-from itinerant@mac.com) Received: from mac.com (smtpin08-en2 [10.13.10.153]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id i0I078NM005682 for ; Sat, 17 Jan 2004 16:07:08 -0800 (PST) Received: from mac.com (82-32-116-200.cable.ubr03.hawk.blueyonder.co.uk [82.32.116.200]) (authenticated bits=0) by mac.com (Xserve/smtpin08/MantshX 3.0) with ESMTP id i0I076iG015684 for ; Sat, 17 Jan 2004 16:07:07 -0800 (PST) Message-ID: <4009CE29.3010601@mac.com> Date: Sun, 18 Jan 2004 00:07:05 +0000 From: Pete Carss User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: JBoss3 port update FYI 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, 18 Jan 2004 00:07:11 -0000 I have tried to instal Jboss 3.2.3 onto a box running FreeBSD 4.9 and diablo-jdk1.3.1 - and can confirm that it fails. I'm quite keen to get this going as I need to deploy in the next few weeks...so I'm here for any testing... Pete make output: ===> Extracting for jboss-3.2.3 >> Checksum OK for jboss-3.2.3-src.tar.bz2. ===> Patching for jboss-3.2.3 ===> jboss-3.2.3 depends on file: /usr/local/diablo-jdk1.3.1/bin/java - found ===> Configuring for jboss-3.2.3 Installation settings: Destination directory: /usr/local/jboss3.2 Control program location: /usr/local/bin/jboss3ctl Startup script location: /usr/local/etc/rc.d/020.jboss3.sh Location of JDK: /usr/local/diablo-jdk1.3.1 Location of Java port: java/diablo-jdk13 Using Jikes: Running as (user/group): www/www HTTP port: RMI port: Logfile stdout: /usr/local/jboss3.2/log/stdout.log Logfile stderr: /usr/local/jboss3.2/log/stderr.log Starting after install: NO Stop time-out: 5 sec. ===> Building for jboss-3.2.3 (cd /usr/ports/java/jboss3/work && cc -O -pipe -o jboss3ctl daemonctl.c) (cd /usr/ports/java/jboss3/work/jboss-3.2.3-src/build && /usr/bin/env JAVA_HOME=/usr/local/diablo-jdk1.3.1 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/usr/local/diablo-jdk1.3.1/bin /bin/sh build.sh) Searching for build.xml ... Buildfile: /usr/ports/java/jboss3/work/jboss-3.2.3-src/build/build.xml _buildmagic:init: Trying to override old definition of task property _buildmagic:init:local-properties: [copy] Copying 1 file to /usr/ports/java/jboss3/work/jboss-3.2.3-src/build _buildmagic:init:buildlog: configure: [echo] groups: default [echo] modules: common,jmx,system,j2ee,naming,transaction,server,security,messaging,connector,cluster,jetty,varia,jboss.net,iiop,management,tomcat,console,compatible xdoclet-task-classpath-check: init: _buildmagic:modules:most: ====================================================================== == Executing 'most' in module 'common'... == _buildmagic:init: configure: xdoclet-task-classpath-check: init: _buildmagic:build-bypass-checker: _buildmagic:build-bypass-notice: _buildmagic:build-bypass-check: jars: _buildmagic:init: init: compile-mbean-sources: [mkdir] Created dir: /usr/ports/java/jboss3/work/jboss-3.2.3-src/common/output/gen-src [execmodules] (XDocletMain.start 45 ) Running [execmodules] (TemplateSubTask.engineStarted 788 ) Generating output for 'org.jboss.util.property.jmx.SystemPropertyClassValue' using template file 'jar:file:/usr/ports/java/jboss3/work/jboss-3.2.3-src/thirdparty/xdoclet/xdoclet/lib/xdoclet-jmx-module-jb3.jar!/xdoclet/modules/jmx/resources/mbean.xdt'. [execmodules] (TemplateEngine.invokeMethod 490 ) Invoking method failed: xdoclet.tagshandler.ClassTagsHandler.ifHasClassTag, line=9 of template file: jar:file:/usr/ports/java/jboss3/work/jboss-3.2.3-src/thirdparty/xdoclet/xdoclet/lib/xdoclet-jmx-module-jb3.jar!/xdoclet/modules/jmx/resources/mbean.xdt [execmodules] java.lang.reflect.InvocationTargetException: [execmodules] java.lang.AbstractMethodError: xjavadoc/AbstractProgramElement.getName [execmodules] at xjavadoc.XDoc.getSuperDoc(XDoc.java:639) [execmodules] at xjavadoc.XDoc.getTags(XDoc.java:171) [execmodules] at xjavadoc.XDoc.getTag(XDoc.java:260) [execmodules] at xdoclet.XDocletTagSupport.getTagValue(XDocletTagSupport.java:446) [execmodules] at xdoclet.XDocletTagSupport.getTagValue(XDocletTagSupport.java:394) [execmodules] at xdoclet.XDocletTagSupport.getTagValue(XDocletTagSupport.java:317) [execmodules] at xdoclet.XDocletTagSupport.hasTag(XDocletTagSupport.java:610) [execmodules] at xdoclet.tagshandler.ClassTagsHandler.ifHasClassTag(ClassTagsHandler.java:404) [execmodules] at java.lang.reflect.Method.invoke(Native Method) [execmodules] at xdoclet.template.TemplateEngine.invoke(TemplateEngine.java:584) [execmodules] at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:483) [execmodules] at xdoclet.template.TemplateEngine.invokeBlockMethod(TemplateEngine.java:908) [execmodules] at xdoclet.template.TemplateEngine.handleBlockTag(TemplateEngine.java:875) [execmodules] at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java:425) [execmodules] at xdoclet.template.TemplateEngine.generate(TemplateEngine.java:324) [execmodules] at xdoclet.template.TemplateEngine.start(TemplateEngine.java:373) [execmodules] at xdoclet.TemplateSubTask.startEngine(TemplateSubTask.java:559) [execmodules] at xdoclet.TemplateSubTask.generateForClass(TemplateSubTask.java:765) [execmodules] at xdoclet.TemplateSubTask.startProcessPerClass(TemplateSubTask.java:665) [execmodules] at xdoclet.TemplateSubTask.startProcess(TemplateSubTask.java:592) [execmodules] at xdoclet.TemplateSubTask.execute(TemplateSubTask.java:484) [execmodules] at xdoclet.XDocletMain.start(XDocletMain.java:46) [execmodules] at xdoclet.DocletTask.start(DocletTask.java:457) [execmodules] at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:92) [execmodules] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193) [execmodules] at org.apache.tools.ant.Task.perform(Task.java:341) [execmodules] at org.apache.tools.ant.Target.execute(Target.java:309) [execmodules] at org.apache.tools.ant.Target.performTasks(Target.java:336) [execmodules] at org.apache.tools.ant.Project.executeTarget(Project.java:1339) [execmodules] at org.jboss.tools.buildmagic.task.CallTarget.execute(CallTarget.java:141) [execmodules] at org.apache.tools.ant.Task.perform(Task.java:341) [execmodules] at org.apache.tools.ant.Target.execute(Target.java:309) [execmodules] at org.apache.tools.ant.Target.performTasks(Target.java:336) [execmodules] at org.apache.tools.ant.Project.executeTarget(Project.java:1339) [execmodules] at org.jboss.tools.buildmagic.task.Ant.execute(Ant.java:261) [execmodules] at org.jboss.tools.buildmagic.task.module.ExecuteModules$1.run(ExecuteModules.java:361) [execmodules] at org.jboss.tools.buildmagic.task.module.ExecuteModules.executeModule(ExecuteModules.java:376) [execmodules] at org.jboss.tools.buildmagic.task.module.ExecuteModules.execute(ExecuteModules.java:241) [execmodules] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193) [execmodules] at org.apache.tools.ant.Task.perform(Task.java:341) [execmodules] at org.apache.tools.ant.Target.execute(Target.java:309) [execmodules] at org.apache.tools.ant.Target.performTasks(Target.java:336) [execmodules] at org.apache.tools.ant.Project.executeTarget(Project.java:1339) [execmodules] at org.apache.tools.ant.Project.executeTargets(Project.java:1255) [execmodules] at org.apache.tools.ant.Main.runBuild(Main.java:609) [execmodules] at org.apache.tools.ant.Main.start(Main.java:196) [execmodules] at org.apache.tools.ant.Main.main(Main.java:235) [execmodules] (XDocletMain.start 51 ) Running XDoclet failed. [execmodules] (XDocletMain.start 52 ) <> [execmodules] xdoclet.template.TemplateException: Invoking method in class xdoclet.tagshandler.ClassTagsHandler failed: ifHasClassTag, line=9 of template file: jar:file:/usr/ports/java/jboss3/work/jboss-3.2.3-src/thirdparty/xdoclet/xdoclet/lib/xdoclet-jmx-module-jb3.jar!/xdoclet/modules/jmx/resources/mbean.xdt, exception: null [execmodules] at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:491) [execmodules] at xdoclet.template.TemplateEngine.invokeBlockMethod(TemplateEngine.java:908) [execmodules] at xdoclet.template.TemplateEngine.handleBlockTag(TemplateEngine.java:875) [execmodules] at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java:425) [execmodules] at xdoclet.template.TemplateEngine.generate(TemplateEngine.java:324) [execmodules] at xdoclet.template.TemplateEngine.start(TemplateEngine.java:373) [execmodules] at xdoclet.TemplateSubTask.startEngine(TemplateSubTask.java:559) [execmodules] at xdoclet.TemplateSubTask.generateForClass(TemplateSubTask.java:765) [execmodules] at xdoclet.TemplateSubTask.startProcessPerClass(TemplateSubTask.java:665) [execmodules] at xdoclet.TemplateSubTask.startProcess(TemplateSubTask.java:592) [execmodules] at xdoclet.TemplateSubTask.execute(TemplateSubTask.java:484) [execmodules] at xdoclet.XDocletMain.start(XDocletMain.java:46) [execmodules] at xdoclet.DocletTask.start(DocletTask.java:457) [execmodules] at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:92) [execmodules] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193) [execmodules] at org.apache.tools.ant.Task.perform(Task.java:341) [execmodules] at org.apache.tools.ant.Target.execute(Target.java:309) [execmodules] at org.apache.tools.ant.Target.performTasks(Target.java:336) [execmodules] at org.apache.tools.ant.Project.executeTarget(Project.java:1339) [execmodules] at org.jboss.tools.buildmagic.task.CallTarget.execute(CallTarget.java:141) [execmodules] at org.apache.tools.ant.Task.perform(Task.java:341) [execmodules] at org.apache.tools.ant.Target.execute(Target.java:309) [execmodules] at org.apache.tools.ant.Target.performTasks(Target.java:336) [execmodules] at org.apache.tools.ant.Project.executeTarget(Project.java:1339) [execmodules] at org.jboss.tools.buildmagic.task.Ant.execute(Ant.java:261) [execmodules] at org.jboss.tools.buildmagic.task.module.ExecuteModules$1.run(ExecuteModules.java:361) [execmodules] at org.jboss.tools.buildmagic.task.module.ExecuteModules.executeModule(ExecuteModules.java:376) [execmodules] at org.jboss.tools.buildmagic.task.module.ExecuteModules.execute(ExecuteModules.java:241) [execmodules] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193) [execmodules] at org.apache.tools.ant.Task.perform(Task.java:341) [execmodules] at org.apache.tools.ant.Target.execute(Target.java:309) [execmodules] at org.apache.tools.ant.Target.performTasks(Target.java:336) [execmodules] at org.apache.tools.ant.Project.executeTarget(Project.java:1339) [execmodules] at org.apache.tools.ant.Project.executeTargets(Project.java:1255) [execmodules] at org.apache.tools.ant.Main.runBuild(Main.java:609) [execmodules] at org.apache.tools.ant.Main.start(Main.java:196) [execmodules] at org.apache.tools.ant.Main.main(Main.java:235) [execmodules] file:/usr/ports/java/jboss3/work/jboss-3.2.3-src/common/build.xml:166: XDoclet failed. [execmodules] at xdoclet.DocletTask.start(DocletTask.java:460) [execmodules] at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:92) [execmodules] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193) [execmodules] at org.apache.tools.ant.Task.perform(Task.java:341) [execmodules] at org.apache.tools.ant.Target.execute(Target.java:309) [execmodules] at org.apache.tools.ant.Target.performTasks(Target.java:336) [execmodules] at org.apache.tools.ant.Project.executeTarget(Project.java:1339) [execmodules] at org.jboss.tools.buildmagic.task.CallTarget.execute(CallTarget.java:141) [execmodules] at org.apache.tools.ant.Task.perform(Task.java:341) [execmodules] at org.apache.tools.ant.Target.execute(Target.java:309) [execmodules] at org.apache.tools.ant.Target.performTasks(Target.java:336) [execmodules] at org.apache.tools.ant.Project.executeTarget(Project.java:1339) [execmodules] at org.jboss.tools.buildmagic.task.Ant.execute(Ant.java:261) [execmodules] at org.jboss.tools.buildmagic.task.module.ExecuteModules$1.run(ExecuteModules.java:361) [execmodules] at org.jboss.tools.buildmagic.task.module.ExecuteModules.executeModule(ExecuteModules.java:376) [execmodules] at org.jboss.tools.buildmagic.task.module.ExecuteModules.execute(ExecuteModules.java:241) [execmodules] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193) [execmodules] at org.apache.tools.ant.Task.perform(Task.java:341) [execmodules] at org.apache.tools.ant.Target.execute(Target.java:309) [execmodules] at org.apache.tools.ant.Target.performTasks(Target.java:336) [execmodules] at org.apache.tools.ant.Project.executeTarget(Project.java:1339) [execmodules] at org.apache.tools.ant.Project.executeTargets(Project.java:1255) [execmodules] at org.apache.tools.ant.Main.runBuild(Main.java:609) [execmodules] at org.apache.tools.ant.Main.start(Main.java:196) [execmodules] at org.apache.tools.ant.Main.main(Main.java:235) [execmodules] --- Nested Exception --- [execmodules] xdoclet.XDocletException: Running XDoclet failed. [execmodules] at xdoclet.TemplateSubTask.generateForClass(TemplateSubTask.java:773) [execmodules] at xdoclet.TemplateSubTask.startProcessPerClass(TemplateSubTask.java:665) [execmodules] at xdoclet.TemplateSubTask.startProcess(TemplateSubTask.java:592) [execmodules] at xdoclet.TemplateSubTask.execute(TemplateSubTask.java:484) [execmodules] at xdoclet.XDocletMain.start(XDocletMain.java:46) [execmodules] at xdoclet.DocletTask.start(DocletTask.java:457) [execmodules] at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:92) [execmodules] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193) [execmodules] at org.apache.tools.ant.Task.perform(Task.java:341) [execmodules] at org.apache.tools.ant.Target.execute(Target.java:309) [execmodules] at org.apache.tools.ant.Target.performTasks(Target.java:336) [execmodules] at org.apache.tools.ant.Project.executeTarget(Project.java:1339) [execmodules] at org.jboss.tools.buildmagic.task.CallTarget.execute(CallTarget.java:141) [execmodules] at org.apache.tools.ant.Task.perform(Task.java:341) [execmodules] at org.apache.tools.ant.Target.execute(Target.java:309) [execmodules] at org.apache.tools.ant.Target.performTasks(Target.java:336) [execmodules] at org.apache.tools.ant.Project.executeTarget(Project.java:1339) [execmodules] at org.jboss.tools.buildmagic.task.Ant.execute(Ant.java:261) [execmodules] at org.jboss.tools.buildmagic.task.module.ExecuteModules$1.run(ExecuteModules.java:361) [execmodules] at org.jboss.tools.buildmagic.task.module.ExecuteModules.executeModule(ExecuteModules.java:376) [execmodules] at org.jboss.tools.buildmagic.task.module.ExecuteModules.execute(ExecuteModules.java:241) [execmodules] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193) [execmodules] at org.apache.tools.ant.Task.perform(Task.java:341) [execmodules] at org.apache.tools.ant.Target.execute(Target.java:309) [execmodules] at org.apache.tools.ant.Target.performTasks(Target.java:336) [execmodules] at org.apache.tools.ant.Project.executeTarget(Project.java:1339) [execmodules] at org.apache.tools.ant.Project.executeTargets(Project.java:1255) [execmodules] at org.apache.tools.ant.Main.runBuild(Main.java:609) [execmodules] at org.apache.tools.ant.Main.start(Main.java:196) [execmodules] at org.apache.tools.ant.Main.main(Main.java:235) [execmodules] INFO: Some classes refer to other classes that were not found among the sources or on the classpath. [execmodules] (Perhaps the referred class doesn't exist? Hasn't been generated yet?) [execmodules] The referring classes do not import any fully qualified classes matching these classes. [execmodules] However, since no packages are imported, xjavadoc has assumed that the referred classes [execmodules] belong to the same package as the referring class. The classes are: [execmodules] /usr/ports/java/jboss3/work/jboss-3.2.3-src/common/src/main/org/jboss/net/protocol/URLListerBase.java --> URLFilter qualified to org.jboss.net.protocol.URLFilter BUILD FAILED file:/usr/ports/java/jboss3/work/jboss-3.2.3-src/common/build.xml:166: Unexpected error Total time: 1 minute 30 seconds *** Error code 1 Stop in /usr/ports/java/jboss3. >Hiya all, > >Just an FYI to let you know that I've send-pr'd an update to the >JBoss3 port that brings it up to 3.2.3. The major change in the update >is that it now builds the port from source. This is in response to >reported problems with the port in running under a JDK1.3.X environment >(including Diablo). > >The JBoss binaries from sourceforge.net are compiled with a JDK1.4+ JDK, >and are rumoured to cause problems when running under JDK1.3.X. By >building the binaries from source, I'm hoping that the problems will >go away; but I can't know this for sure unless someone tries to install >and start JBoss3 under a JDK1.3.X environment. > >Could anyone out there using JDK1.3.1+ please try it out and let me >know if it works for you (once the PR has been committed and the CVSup >server updated). > >Cheers. >-- >Jonathan Chen > >---------------------------------------------------------------------- > "Only the meek get pinched. The bold survive." > - Ferris Bueller > From owner-freebsd-java@FreeBSD.ORG Sat Jan 17 18:33:15 2004 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 ADA9216A4CF; Sat, 17 Jan 2004 18:33:15 -0800 (PST) Received: from narcisse.gelf.com (adsl-63-198-182-250.dsl.snfc21.pacbell.net [63.198.182.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1EDA643D53; Sat, 17 Jan 2004 18:32:57 -0800 (PST) (envelope-from gelf@narcisse.gelf.com) Received: from narcisse.gelf.com (localhost [127.0.0.1]) by narcisse.gelf.com (8.12.10/8.12.10) with ESMTP id i0I2aiwN048880; Sat, 17 Jan 2004 18:36:44 -0800 (PST) (envelope-from gelf@narcisse.gelf.com) Received: (from gelf@localhost) by narcisse.gelf.com (8.12.10/8.12.10/Submit) id i0I2ahND048879; Sat, 17 Jan 2004 18:36:43 -0800 (PST) (envelope-from gelf) Date: Sat, 17 Jan 2004 18:36:43 -0800 From: Alexander Gelf To: freebsd-java@FreeBSD.org Message-ID: <20040118023643.GA48825@narcisse.gelf.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.4i cc: openoffice@FreeBSD.org Subject: Error Report: Compiling OpenOffice 1.1.0-1 port on 5.2-RELEASE / JDK 1.4.2-6 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: Sun, 18 Jan 2004 02:33:16 -0000 Compiling openoffice-1.1 port (1.1.0-1): ----- merging registry "/b/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/bin/udkapi.rdb" under key "/" in registry "../unxfbsd.pro/bin/regcomp.rdb". setenv CLASSPATH /b/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/bin/unoil.jar:/b/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/bin/java_uno.jar:/b/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/bin/ridl.jar:/b/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/bin/sandbox.jar:/b/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/bin/jurt.jar:/b/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/lib:/usr/local/jdk1.4.2/jre/lib/rt.jar:. && setenv LD_LIBRARY_PATH .:/b/ports/editors/openoffice-1.1/work/oo_1.1_src/solenv/unxfbsd.pro/lib:/usr/local/jdk1.4.2/jre/lib/i386:/usr/local/jdk1.4.2/jre/lib/i386/client:/usr/local/jdk1.4.2/jre/lib/i386/native_threads:../lib:/b/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/lib:: && \ regcomp -br ../unxfbsd.pro/bin/regcomp.rdb \ -register \ -r ../unxfbsd.pro/bin/setup_services.tmp \ -l com.sun.star.loader.Java2 \ -env:UNO_JAVA_COMPPATH=file:///b/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/bin \ -c vnd.sun.star.expand:\$UNO_JAVA_COMPPATH/java_uno_accessbridge.jar # # HotSpot Virtual Machine Error, Internal Error # Please report this error to # freebsd-java@FreeBSD.org mailing list # # Java VM: Java HotSpot(TM) Client VM (1.4.2-p6-root_15_jan_2004_07_56 mixed mode) # # Error ID: 4F533F4253440E4350500063 # Heap at VM Abort: Heap ----- after which it hangs for several hours using 100% CPU: % top 1 last pid: 48848; load averages: 1.07, 0.91, 0.60 up 2+17:47:21 18:31:19 87 processes: 3 running, 84 sleeping CPU states: 8.4% user, 0.0% nice, 42.4% system, 1.2% interrupt, 48.1% idle Mem: 167M Active, 158M Inact, 133M Wired, 28M Cache, 60M Buf, 8524K Free Swap: 2048M Total, 111M Used, 1937M Free, 5% Inuse PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND 48823 root 120 0 11704K 6872K RUN 1 6:12 98.88% 98.88% regcomp Restarting "make" does not help. Killing make with Control-C leaves "regcmp" running, which can be killed only with 'kill -9'. Regards, AG From owner-freebsd-java@FreeBSD.ORG Sat Jan 17 18:50:19 2004 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 8AC2516A4CE for ; Sat, 17 Jan 2004 18:50:19 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0EEE743D39 for ; Sat, 17 Jan 2004 18:50:14 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i0I2oDFR075756 for ; Sat, 17 Jan 2004 18:50:13 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i0I2oD0L075755; Sat, 17 Jan 2004 18:50:13 -0800 (PST) (envelope-from gnats) Resent-Date: Sat, 17 Jan 2004 18:50:13 -0800 (PST) Resent-Message-Id: <200401180250.i0I2oD0L075755@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, Alexander Gelf Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B5BB816A4CE for ; Sat, 17 Jan 2004 18:48:14 -0800 (PST) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45CB843D39 for ; Sat, 17 Jan 2004 18:48:13 -0800 (PST) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.10/8.12.10) with ESMTP id i0I2mDdL037989 for ; Sat, 17 Jan 2004 18:48:13 -0800 (PST) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.10/8.12.10/Submit) id i0I2mDDU037988; Sat, 17 Jan 2004 18:48:13 -0800 (PST) (envelope-from nobody) Message-Id: <200401180248.i0I2mDDU037988@www.freebsd.org> Date: Sat, 17 Jan 2004 18:48:13 -0800 (PST) From: Alexander Gelf To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.0 Subject: java/61506: OpenOffice 1.1.0-1 port fails to build on a 5.2-RELEASE box due to a Java HotSpot bug 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, 18 Jan 2004 02:50:19 -0000 >Number: 61506 >Category: java >Synopsis: OpenOffice 1.1.0-1 port fails to build on a 5.2-RELEASE box due to a Java HotSpot bug >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jan 17 18:50:13 PST 2004 >Closed-Date: >Last-Modified: >Originator: Alexander Gelf >Release: 5.2-RELEASE >Organization: >Environment: FreeBSD narcisse.gelf.com 5.2-RELEASE FreeBSD 5.2-RELEASE #2: Thu Jan 15 00:39:49 PST 2004 root@narcisse.gelf.com:/a/src/sys/i386/compile/NARCISSE i386 >Description: Building port /b/ports/editors/openoffice-1.1 on a 5.2-RELEASE box with the previously installed JDK port jdk-1.4.2p6 compiled on the same machine gives the following error: register component 'javaloader.uno.so' in registry '../unxfbsd.pro/bin/regcomp.rdb' succesful! regmerge ../unxfbsd.pro/bin/regcomp.rdb / /b/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/bin/udkapi.rdb merging registry "/b/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/bin/udkapi.rdb" under key "/" in registry "../unxfbsd.pro/bin/regcomp.rdb". setenv CLASSPATH /b/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/bin/unoil.jar:/b/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/bin/java_uno.jar:/b/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/bin/ridl.jar:/b/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/bin/sandbox.jar:/b/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/bin/jurt.jar:/b/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/lib:/usr/local/jdk1.4.2/jre/lib/rt.jar:. && setenv LD_LIBRARY_PATH .:/b/ports/editors/openoffice-1.1/work/oo_1.1_src/solenv/unxfbsd.pro/lib:/usr/local/jdk1.4.2/jre/lib/i386:/usr/local/jdk1.4.2/jre/lib/i386/client:/usr/local/jdk1.4.2/jre/lib/i386/native_threads:../lib:/b/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/lib:: && \ regcomp -br ../unxfbsd.pro/bin/regcomp.rdb \ -register \ -r ../unxfbsd.pro/bin/setup_services.tmp \ -l com.sun.star.loader.Java2 \ -env:UNO_JAVA_COMPPATH=file:///b/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/bin \ -c vnd.sun.star.expand:\$UNO_JAVA_COMPPATH/java_uno_accessbridge.jar # # HotSpot Virtual Machine Error, Internal Error # Please report this error to # freebsd-java@FreeBSD.org mailing list # # Java VM: Java HotSpot(TM) Client VM (1.4.2-p6-root_15_jan_2004_07_56 mixed mode) # # Error ID: 4F533F4253440E4350500063 # Heap at VM Abort: Heap >How-To-Repeat: # cd /usr/ports/java/jdk14 # make; make install # cd /usr/ports/editors/ # make >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-java@FreeBSD.ORG Sat Jan 17 23:34:25 2004 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 C1C5816A4CE for ; Sat, 17 Jan 2004 23:34:25 -0800 (PST) Received: from mail.unisoftbg.com (mail.unisoftbg.com [194.12.229.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id ADC9243D39 for ; Sat, 17 Jan 2004 23:34:21 -0800 (PST) (envelope-from freeb@t1.unisoftbg.com) Received: (qmail 21093 invoked by uid 507); 18 Jan 2004 08:39:17 -0000 Received: from unknown (HELO t1.unisoftbg.com) (freeb%t1.unisoftbg.com@194.12.229.193) by 0 with SMTP; 18 Jan 2004 08:39:17 -0000 Message-ID: <400A263C.2CCE9DAD@t1.unisoftbg.com> Date: Sun, 18 Jan 2004 07:22:52 +0100 From: "freeb t1 unisoftbg com" X-Mailer: Mozilla 4.03 [en] (Win95; I) MIME-Version: 1.0 To: Jonathan Chen References: <40092BE2.A78AA31A@t1.unisoftbg.com> <20040117235015.GA98303@grimoire.chen.org.nz> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-java@freebsd.org Subject: Re: sun jdk 1.4.2_02 and freebsd 5.2 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, 18 Jan 2004 07:34:25 -0000 Jonathan Chen wrote: > On Sat, Jan 17, 2004 at 01:34:42PM +0100, freeb t1 unisoftbg com wrote: > > Hi, > > > > I try to check if it is possible to migrate from linux ( RedHat AS 3) to > > freebsd. > > > > I am using very intensive java (jboss + tomcat). > > > > I installed freebsd 5.2 and try to make some tests with java. > > > > I prefer the sun release because sun is the java founder, but if it is a > > problem I can change this one. > > If I were going to use it on a production server, FreeBSD 4-STABLE and > the native JDK1.4.2 would be my choice. Where to ge this 1.4.2 native ?Can you give me any link where to read about it? > It really comes down to stability > and support. At the moment, FreeBSD 5.X is still not considered production > stable yet; and use of the native JDK1.4 means that if you find a problem, > the freebsd-java people are more receptive and actually have a possibility > of finding and fixing the problem. > > If you use a non-native binary, and you find a problem I doubt very much > that the Sun or Linux people would be very interested in fixing your > problem as you are not running it on a supported platform. > > My $0.02. > -- > Jonathan Chen > ---------------------------------------------------------------------- > Do not take life too seriously. > You will never get out of it alive. > _______________________________________________ > 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 Sat Jan 17 23:41:08 2004 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 D79C616A4CE for ; Sat, 17 Jan 2004 23:41:08 -0800 (PST) Received: from mail.unisoftbg.com (mail.unisoftbg.com [194.12.229.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC9D843D55 for ; Sat, 17 Jan 2004 23:41:04 -0800 (PST) (envelope-from freeb@t1.unisoftbg.com) Received: (qmail 21156 invoked by uid 507); 18 Jan 2004 08:46:03 -0000 Received: from unknown (HELO t1.unisoftbg.com) (freeb%t1.unisoftbg.com@194.12.229.193) by 0 with SMTP; 18 Jan 2004 08:46:03 -0000 Message-ID: <400A27D2.5DCE9858@t1.unisoftbg.com> Date: Sun, 18 Jan 2004 07:29:38 +0100 From: "freeb t1 unisoftbg com" X-Mailer: Mozilla 4.03 [en] (Win95; I) MIME-Version: 1.0 To: Matthew Seaman References: <40092BE2.A78AA31A@t1.unisoftbg.com> <20040117154122.GA71989@happy-idiot-talk.infracaninophile.co.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-java@freebsd.org Subject: Re: sun jdk 1.4.2_02 and freebsd 5.2 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, 18 Jan 2004 07:41:09 -0000 Matthew Seaman wrote: > On Sat, Jan 17, 2004 at 01:34:42PM +0100, freeb t1 unisoftbg com wrote: > > > I try to check if it is possible to migrate from linux ( RedHat AS 3) to > > freebsd. > > > > I am using very intensive java (jboss + tomcat). > > > > I installed freebsd 5.2 and try to make some tests with java. > > > > I prefer the sun release because sun is the java founder, but if it is a > > problem I can change this one. > > The consensus is that the native Java ports will give you the best > stability and performance. The JDK-1.4.2 will do the best, but you're > going to have to manually get the sources from Sun, plus the required > bsd-patchfiles from eyesbeyond.com I do not found it on eyesbeyond.com. Where to search ? > (Sun licensing restrictions mean > you can't download stuff automatically), then compile everything > yourself. Any docs about this? > That takes quite a time and needs something like 1.7Gb free > disk space available. Ok. > It also requires a working copy of one of the > linux JDKs in order to bootstrap the build process. > Ok. > An alternative is to install the Diablo JDK or JRE, which are > pre-compiled native code, but only Java 1.3.1 and they have to run in > FreeBSD 4.x compatability mode. > It is not a solution fo me.On linux I compared the 1.3.x/1.4.2 performance and 1.4.2 give me 40% more. > > Ok, after install I just go to /usr/ports/linux-sun-jdk14 and readet the > > readme. > > > > I installed the java without any problem (reported error), but if I try > > to run java --version (just to be sure that it is the version), the jdk > > hangs. It still running as process (I see it with top). > > I think you meant: > > % java -version > > Kill the hung java process -- you'll probably need to 'kill -9' it. > Make sure you've got linprocfs mounted as instructed in > /usr/ports/java/linux-sun-jdk14/pkg-message, and try again. > > Cheers, > > Matthew > > -- > 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 > > ------------------------------------------------------------------------ > > Part 1.2 Type: application/pgp-signature