From owner-freebsd-java@FreeBSD.ORG Sun Dec 28 15:05:58 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C43416A4CE for ; Sun, 28 Dec 2003 15:05:58 -0800 (PST) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 03B8D43D49 for ; Sun, 28 Dec 2003 15:05:57 -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 1Aajyt-0000J2-02; Sun, 28 Dec 2003 16:05:55 -0700 Received: from glewis.users.xmission.com ([207.135.128.145] helo=misty.eyesbeyond.com) by mgr6.xmission.com with esmtp (Exim 4.22) id 1Aajys-0005FJ-Rx; Sun, 28 Dec 2003 16:05:55 -0700 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) hBSN9sYa002870; Sun, 28 Dec 2003 16:09:54 -0700 (MST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.10/8.12.10/Submit) id hBSN9owx002869; Sun, 28 Dec 2003 16:09:50 -0700 (MST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Sun, 28 Dec 2003 16:09:49 -0700 From: Greg Lewis To: Ernst de Haan Message-ID: <20031228230948.GA2846@misty.eyesbeyond.com> References: <200312191900.hBJJ07fV081841@repoman.freebsd.org> <200312220741.06558.ernst.dehaan@nl.wanadoo.com> Mime-Version: 1.0 Content-Disposition: inline In-Reply-To: <200312220741.06558.ernst.dehaan@nl.wanadoo.com> 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.9 required=8.0 tests=BAYES_30 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: cvs commit: ports/java/jdk13 Makefile distinfo ports/java/jdk13/files patch-GNUmakefile patch-InetAddressImpl.c patch-common::Defs-bsd.gmk patch-e_pow.c patch-javaCalls.cpp patch-java_wrapper_bsd.sh patch-jni.cpp patch-jvm.cfg ... X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Dec 2003 23:05:58 -0000 On Mon, Dec 22, 2003 at 07:41:06AM +0100, Ernst de Haan wrote: > Wow, this is quite a commit. Are the removed patch files now included in the > patchset distribution file? Yes. > And what are the real changes in patchset 9? See the ChangeLog :). -- 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 Dec 29 05:07:12 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DAA4F16A4CE for ; Mon, 29 Dec 2003 05:07:12 -0800 (PST) Received: from ulysses.noc.ntua.gr (ulysses.noc.ntua.gr [147.102.222.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12E8C43D2D for ; Mon, 29 Dec 2003 05:07: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 hBTD78FO063652 for ; Mon, 29 Dec 2003 15:07:08 +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 hBTD78KY088963 for ; Mon, 29 Dec 2003 15:07:08 +0200 (EET) (envelope-from past@noc.ntua.gr) From: Panagiotis Astithas Organization: NTUA/NMC To: java@freebsd.org Date: Mon, 29 Dec 2003 15:07:08 +0200 User-Agent: KMail/1.5.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200312291507.08541.past@noc.ntua.gr> Subject: Tomcat's daemonctl script X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Dec 2003 13:07:13 -0000 Hi all, I' ve been bitten by the fact that tomcat from ports installs a binary script to control its status. The unfortunate fact is that when you upgrade the jdk, the port has to be upgraded too, since it contains a hardcoded reference to the java program's path. This could be tolerated in a personal system, but on a farm-like environment with more than a dozen hosts, it becomes a maintenance nightmare. I have resorted temporarily to creating symlinks from jdk1.4.2 to jdk1.4.1, but overall I agree with Sheldon Hearn's opinion in: http://docs.freebsd.org/cgi/mid.cgi?20031215123601.GU13737 Could we please provide an regular rc.d script as we do for every other service? Cheers, -- Panagiotis Astithas Electrical & Computer Engineer, PhD Network Management Center National Technical University of Athens, Greece From owner-freebsd-java@FreeBSD.ORG Mon Dec 29 05:25:24 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BCFE616A4CE for ; Mon, 29 Dec 2003 05:25:24 -0800 (PST) Received: from smtp0.euronet.nl (smtp0.euronet.nl [194.134.35.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21A1243D6D for ; Mon, 29 Dec 2003 05:25:23 -0800 (PST) (envelope-from ernst.dehaan@nl.wanadoo.com) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by smtp0.euronet.nl (Postfix) with ESMTP id 925372462A; Mon, 29 Dec 2003 14:25:19 +0100 (MET) From: Ernst de Haan Organization: Wanadoo Nederland B.V. To: Panagiotis Astithas , java@freebsd.org Date: Mon, 29 Dec 2003 14:25:27 +0100 User-Agent: KMail/1.5.4 References: <200312291507.08541.past@noc.ntua.gr> In-Reply-To: <200312291507.08541.past@noc.ntua.gr> 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: <200312291425.27739.ernst.dehaan@nl.wanadoo.com> Subject: Re: Tomcat's daemonctl script X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Dec 2003 13:25:24 -0000 I agree. Sheldon is indeed right. The only problem is I don't have the time to rework the system yet. Working patches are appreciated and I will try to look at them ASAP. Ernst On maandag 29 december 2003 14:07, Panagiotis Astithas wrote: > Hi all, > > I' ve been bitten by the fact that tomcat from ports installs a binary > script to control its status. The unfortunate fact is that when you > upgrade the jdk, the port has to be upgraded too, since it contains a > hardcoded reference to the java program's path. This could be tolerated > in a personal system, but on a farm-like environment with more than a > dozen hosts, it becomes a maintenance nightmare. I have resorted > temporarily to creating symlinks from jdk1.4.2 to jdk1.4.1, but overall I > agree with Sheldon Hearn's opinion in: > http://docs.freebsd.org/cgi/mid.cgi?20031215123601.GU13737 > Could we please provide an regular rc.d script as we do for every other > service? > > Cheers, From owner-freebsd-java@FreeBSD.ORG Mon Dec 29 11:03:49 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE15316A4CE for ; Mon, 29 Dec 2003 11:03:49 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A489643D7B for ; Mon, 29 Dec 2003 11:02:27 -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 hBTJ2RFR041110 for ; Mon, 29 Dec 2003 11:02:27 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id hBTJ2QN6041103 for freebsd-java@freebsd.org; Mon, 29 Dec 2003 11:02:26 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 29 Dec 2003 11:02:26 -0800 (PST) Message-Id: <200312291902.hBTJ2QN6041103@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, 29 Dec 2003 19:03:49 -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/10/25] java/58524 java new port: java/jmf - Java Media Framework o [2003/11/06] java/59021 java Mk/bsd.sites.mk: MASTER_SITE_APACHE_JAKAR 2 problems 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 Tue Dec 30 00:08:55 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4610D16A4CE; Tue, 30 Dec 2003 00:08:55 -0800 (PST) Received: from tisch.mail.mindspring.net (tisch.mail.mindspring.net [207.69.200.157]) by mx1.FreeBSD.org (Postfix) with ESMTP id D75AF43D2F; Tue, 30 Dec 2003 00:08:51 -0800 (PST) (envelope-from bgulla@mindspring.com) Received: from h-68-166-100-70.nycmny83.covad.net ([68.166.100.70] helo=fire.bgulla.com) by tisch.mail.mindspring.net with esmtp (Exim 3.33 #1) id 1AbEvq-0007ED-00; Tue, 30 Dec 2003 03:08:51 -0500 Received: from fire.bgulla.com (localhost.bgulla.com [127.0.0.1]) by fire.bgulla.com (8.12.9p1/8.12.9) with ESMTP id hBU88oGE089959 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 30 Dec 2003 03:08:50 -0500 (EST) (envelope-from bgulla@mindspring.com) Received: (from www@localhost) by fire.bgulla.com (8.12.9p1/8.12.9/Submit) id hBU88opJ089958; Tue, 30 Dec 2003 03:08:50 -0500 (EST) X-Authentication-Warning: fire.bgulla.com: www set sender to bgulla@mindspring.com using -f Received: from brett.bgulla.com (brett.bgulla.com [192.168.2.5]) by www.bgulla.com (IMP) with HTTP for ; Tue, 30 Dec 2003 03:08:49 -0500 Message-ID: <1072771729.3ff13291a6a22@www.bgulla.com> Date: Tue, 30 Dec 2003 03:08:49 -0500 From: Brett Gulla To: freebsd-questions@freebsd.org, freebsd-java@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.2 / FreeBSD-5.1 X-Originating-IP: 192.168.2.5 Subject: jdk14+tomcat5 crashing box X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Dec 2003 08:08:55 -0000 I am experiencing a reproducable system crash. If I access a tomcat application (or use the mod_jk connector) then stop the tomcat service then restart the tomcat service, the box will crash. I'm not terribly concerned over this as I am using this box as development - porting to tomcat5 - but I would be willing to assist anyone who wishes to delve into the problem with me. Any help would be appreciated. Thus far I have not been able to find any information in the system logs or anywhere else. I may need assistance on where to look. Just before the system crashes the console displays a brief message and reboots - I can't get the information and at this point I'm not willfully crashing the machine over and over. Below is some information I believe may be helpful sysctl.conf: net.inet6.ip6.v6only=0 system: FreeBSD 5.1-RELEASE-p11 FreeBSD 5.1-RELEASE-p11 #1: Fri Nov 28 0 5:09:25 EST 2003 /usr/obj/usr/src/sys/BSD1007 i386 packages: apache-2.0.47 mod_jk-apache2-1.2.2 jakarta-tomcat-5.0.14 jdk-1.4.2p5 -- Brett Gulla ------------------------------------------------------------------------- | The lung of a smoker is like a virgin | thrown into the godfire. | | -- Tom Robbins ------------------------------------------------------------------------- ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From owner-freebsd-java@FreeBSD.ORG Tue Dec 30 05:58:16 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3DBE416A4CE; Tue, 30 Dec 2003 05:58:16 -0800 (PST) Received: from adsl-68-76-19-75.dsl.klmzmi.ameritech.net (adsl-68-76-19-75.dsl.klmzmi.ameritech.net [68.76.19.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81FFB43D1F; Tue, 30 Dec 2003 05:58:12 -0800 (PST) (envelope-from luke@foolishgames.com) Received: from [192.168.2.49] (adsl-67-36-61-104.dsl.klmzmi.ameritech.net [67.36.61.104]) (authenticated bits=0)ESMTP id hBUDwBZA093573; Tue, 30 Dec 2003 08:58:11 -0500 (EST) (envelope-from luke@foolishgames.com) X-Authentication-Warning: adsl-68-76-19-75.dsl.klmzmi.ameritech.net: Host adsl-67-36-61-104.dsl.klmzmi.ameritech.net [67.36.61.104] claimed to be [192.168.2.49] In-Reply-To: <1072771729.3ff13291a6a22@www.bgulla.com> References: <1072771729.3ff13291a6a22@www.bgulla.com> Mime-Version: 1.0 (Apple Message framework v609) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <3A47E005-3AD0-11D8-87C2-000A95EFF4CA@foolishgames.com> Content-Transfer-Encoding: 7bit From: Lucas Holt Date: Tue, 30 Dec 2003 08:58:21 -0500 To: Brett Gulla X-Mailer: Apple Mail (2.609) cc: freebsd-questions@freebsd.org cc: freebsd-java@freebsd.org Subject: Re: jdk14+tomcat5 crashing box X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Dec 2003 13:58:16 -0000 > > system: > FreeBSD 5.1-RELEASE-p11 FreeBSD 5.1-RELEASE-p11 #1: Fri Nov 28 0 > 5:09:25 EST 2003 /usr/obj/usr/src/sys/BSD1007 i386 > > packages: > apache-2.0.47 > mod_jk-apache2-1.2.2 > jakarta-tomcat-5.0.14 > jdk-1.4.2p5 > What threading model did you use with the JDK? Does the problem occur when starting other java software multiple times that uses threads? I'd also try a newer version of tomcat as they fixed a lot of bugs. I installed 5.0.16 the other day, and as I recall the change log wasn't tiny. My working setup: apache 2.0.48 Tomcat 5.0.16 mod jk (1) connector for 4.1.27 tomcat jdk-1.4.2p5 FreeBSD 4.9 Stable cvsup'd about a week ago. Note: I don't use ports for apache, tomcat, or mod jk Lucas Holt Luke@FoolishGames.com ________________________________________________________ FoolishGames.com (Jewel Fan Site) JustJournal.com (Free blogging) 'Re-implementing what I designed in 1979 is not interesting to me personally. For kids who are 20 years younger than me, Linux is a great way to cut your teeth. It's a cultural phenomenon and a business phenomenon. Mac OS X is a rock-solid system that's beautifully designed. I much prefer it to Linux.' -- Bill Joy, Wired Article 2003 From owner-freebsd-java@FreeBSD.ORG Tue Dec 30 19:34:24 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B57B16A4CE for ; Tue, 30 Dec 2003 19:34:24 -0800 (PST) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0C1643D41 for ; Tue, 30 Dec 2003 19:34:22 -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 1AbX7m-0000mj-02 for freebsd-java@freebsd.org; Tue, 30 Dec 2003 20:34:22 -0700 Received: from glewis.users.xmission.com ([207.135.128.145] helo=misty.eyesbeyond.com) by mgr5.xmission.com with esmtp (Exim 4.22) id 1AbX7k-0006Cl-Ro for freebsd-java@freebsd.org; Tue, 30 Dec 2003 20:34:21 -0700 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.12.10/8.12.10) with ESMTP id hBV3cWYa053798 for ; Tue, 30 Dec 2003 20:38:33 -0700 (MST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.10/8.12.10/Submit) id hBV3cU0C053791 for freebsd-java@freebsd.org; Tue, 30 Dec 2003 20:38:30 -0700 (MST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 30 Dec 2003 20:38:29 -0700 From: Greg Lewis To: freebsd-java@freebsd.org Message-ID: <20031231033829.GA53774@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 mgr5.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 Subject: 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: Wed, 31 Dec 2003 03:34:24 -0000 I am pleased to be able to announce 1.4.2 patchset 6. This patchset should be suitable for most applications. The JDK it produces is de facto compliant, if you recompile Open Motif with the included patches. Use in a production environment is still at your own risk. This patchset is mainly a bugfix release over 1.4.2p5, with the exception being the change of the default threads library for -CURRENT to be libkse rather than libc_r. Some of the fixes are: 1. Fixes to JavaWS support. 2. Fix a problem with some missing fonts. 3. Fix the -Xrs switch to work on FreeBSD. 4. Improved NetBSD support. Thanks again to all the hard work by the BSD Java Porting Team, particularly Alexey Zelkin and Christos Zoulas, and to the FreeBSD Foundation for their continued support. The patchset can, as usual, be downloaded from http://www.eyesbeyond.com/freebsddom/java/jdk14.html I believe Alexey will update the jdk14 port shortly. -- 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 Dec 31 00:56:56 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C02916A4CE; Wed, 31 Dec 2003 00:56:56 -0800 (PST) Received: from mooseriver.com (h-66-166-146-73.SNVACAID.covad.net [66.166.146.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id C801A43D64; Wed, 31 Dec 2003 00:56:54 -0800 (PST) (envelope-from jgrosch@mooseriver.com) Received: by mooseriver.com (Postfix, from userid 200) id 6B0DA1702D; Wed, 31 Dec 2003 00:56:54 -0800 (PST) Date: Wed, 31 Dec 2003 00:56:54 -0800 From: Josef Grosch To: Lucas Holt Message-ID: <20031231085654.GA817@mooseriver.com> References: <1072771729.3ff13291a6a22@www.bgulla.com> <3A47E005-3AD0-11D8-87C2-000A95EFF4CA@foolishgames.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BOKacYhQ+x31HxR3" Content-Disposition: inline In-Reply-To: <3A47E005-3AD0-11D8-87C2-000A95EFF4CA@foolishgames.com> Organization: Moose River, LLC User-Agent: Mutt/1.5.5.1i cc: freebsd-questions@freebsd.org cc: freebsd-java@freebsd.org Subject: Re: jdk14+tomcat5 crashing box X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jgrosch@MooseRiver.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Dec 2003 08:56:56 -0000 --BOKacYhQ+x31HxR3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I am getting the same problem. Restarting Tomcat5 and Tomcat41 causes the system to crash. This is completly repeatable. Other Java programs such as Eclispe and Bugseeker can be restarted multiple times without problems. ** Java Version ** berkeley% java -version java version "1.4.2-p5" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-p5-root_13_de= c_2003_19_39) Java HotSpot(TM) Client VM (build 1.4.2-p5-root_13_dec_2003_19_39, mixed mo= de) berkeley%=20 ** Tomcat Version ** jakarta-tomcat-5.0.16 ** System Version ** berkeley% uname -a FreeBSD berkeley.mooseriver.com 5.1-RELEASE-p11 FreeBSD 5.1-RELEASE-p11 #1:= Tue Dec 30 00:13:24 PST 2003 root@berkeley.mooseriver.com:/usr/obj/usr= /src/sys/BERKELEY i386 berkeley%=20 On Tue, Dec 30, 2003 at 08:58:21AM -0500, Lucas Holt wrote: > > > >system: > >FreeBSD 5.1-RELEASE-p11 FreeBSD 5.1-RELEASE-p11 #1: Fri Nov 28 0 > >5:09:25 EST 2003 /usr/obj/usr/src/sys/BSD1007 i386 > > > >packages: > >apache-2.0.47 > >mod_jk-apache2-1.2.2 > >jakarta-tomcat-5.0.14 > >jdk-1.4.2p5 > > >=20 > What threading model did you use with the JDK? If you mean what JVM am I using, I am using client. I'll try switching to server in the file /usr/local/java/jre/lib/i386/jvm.cfg *NOTE* I have a symbolic link from /usr/local/jdk1.4.2 to /usr/local/java. Saves me the trouble of having to redo paths and classpaths everytime I upgrade java. >=20 > Does the problem occur when starting other java software multiple times= =20 > that uses threads? See above. This is the only java package that exhibits this problem, so far. >=20 > I'd also try a newer version of tomcat as they fixed a lot of bugs. I=20 > installed 5.0.16 the other day, and as I recall the change log wasn't=20 > tiny. Yep. Running 5.0.16 >=20 > My working setup: > apache 2.0.48 > Tomcat 5.0.16 > mod jk (1) connector for 4.1.27 tomcat > jdk-1.4.2p5 >=20 > FreeBSD 4.9 Stable cvsup'd about a week ago. cvsup'd last night Josef --=20 Josef Grosch | Another day closer to a | FreeBSD 5.1 jgrosch@MooseRiver.com | Micro$oft free world | Berkeley, Ca. --BOKacYhQ+x31HxR3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- iD8DBQE/8o9Wy8prLS1GYSERAr7NAKDVNUZSnY14pQP5SbawHhgRcAWvHgCfdTsS KXouJWz+XoX9+QLxB9Tzg+A= =rAIK -----END PGP SIGNATURE----- --BOKacYhQ+x31HxR3-- From owner-freebsd-java@FreeBSD.ORG Wed Dec 31 01:56:28 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C96A916A4CE; Wed, 31 Dec 2003 01:56:28 -0800 (PST) Received: from barry.mail.mindspring.net (barry.mail.mindspring.net [207.69.200.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id C094343D4C; Wed, 31 Dec 2003 01:56:26 -0800 (PST) (envelope-from bagulla@mindspring.com) Received: from h-68-166-100-70.nycmny83.covad.net ([68.166.100.70] helo=fire.bgulla.com) by barry.mail.mindspring.net with esmtp (Exim 3.33 #1) id 1Abd5C-0006Hd-00; Wed, 31 Dec 2003 04:56:06 -0500 Received: from fire.bgulla.com (localhost.bgulla.com [127.0.0.1]) by fire.bgulla.com (8.12.10/8.12.9) with ESMTP id hBV9u5dS002844 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 31 Dec 2003 04:56:05 -0500 (EST) (envelope-from bagulla@mindspring.com) Received: (from www@localhost) by fire.bgulla.com (8.12.10/8.12.9/Submit) id hBV9tvvk002839; Wed, 31 Dec 2003 04:55:57 -0500 (EST) X-Authentication-Warning: fire.bgulla.com: www set sender to bagulla@mindspring.com using -f Received: from h-68-166-100-70.NYCMNY83.covad.net (h-68-166-100-70.NYCMNY83.covad.net [68.166.100.70]) by www.bgulla.com (IMP) with HTTP for ; Wed, 31 Dec 2003 04:55:56 -0500 Message-ID: <1072864556.3ff29d2cafce5@www.bgulla.com> Date: Wed, 31 Dec 2003 04:55:56 -0500 From: Brett Gulla To: jgrosch@MooseRiver.com, Lucas Holt References: <1072771729.3ff13291a6a22@www.bgulla.com> <3A47E005-3AD0-11D8-87C2-000A95EFF4CA@foolishgames.com> <20031231085654.GA817@mooseriver.com> In-Reply-To: <20031231085654.GA817@mooseriver.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.2 / FreeBSD-5.1 X-Originating-IP: 68.166.100.70 cc: freebsd-questions@freebsd.org cc: freebsd-java@freebsd.org Subject: Re: jdk14+tomcat5 crashing box 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, 31 Dec 2003 09:56:29 -0000 Thanks for the input, but the problem seems to have been fixed. Here's what I did: 1. cvsup'd to 5.2 RC 2. upgraded to tomcat 5.0.16 PS. Using native threads (-lc_r not -pthread) Quoting Josef Grosch : > > I am getting the same problem. Restarting Tomcat5 and Tomcat41 causes the > system to crash. This is completly repeatable. Other Java programs such as > Eclispe and Bugseeker can be restarted multiple times without problems. > > > ** Java Version ** > berkeley% java -version > java version "1.4.2-p5" > Java(TM) 2 Runtime Environment, Standard Edition (build > 1.4.2-p5-root_13_dec_2003_19_39) > Java HotSpot(TM) Client VM (build 1.4.2-p5-root_13_dec_2003_19_39, mixed > mode) > berkeley% > > > ** Tomcat Version ** > jakarta-tomcat-5.0.16 > > > ** System Version ** > berkeley% uname -a > FreeBSD berkeley.mooseriver.com 5.1-RELEASE-p11 FreeBSD 5.1-RELEASE-p11 #1: > Tue Dec 30 00:13:24 PST 2003 > root@berkeley.mooseriver.com:/usr/obj/usr/src/sys/BERKELEY i386 > berkeley% > > > On Tue, Dec 30, 2003 at 08:58:21AM -0500, Lucas Holt wrote: > > > > > >system: > > >FreeBSD 5.1-RELEASE-p11 FreeBSD 5.1-RELEASE-p11 #1: Fri Nov 28 0 > > >5:09:25 EST 2003 /usr/obj/usr/src/sys/BSD1007 i386 > > > > > >packages: > > >apache-2.0.47 > > >mod_jk-apache2-1.2.2 > > >jakarta-tomcat-5.0.14 > > >jdk-1.4.2p5 > > > > > > > What threading model did you use with the JDK? > > If you mean what JVM am I using, I am using client. I'll try switching to > server in the file /usr/local/java/jre/lib/i386/jvm.cfg > > *NOTE* I have a symbolic link from /usr/local/jdk1.4.2 to > /usr/local/java. Saves me the trouble of having to redo paths and > classpaths everytime I upgrade java. > > > > > Does the problem occur when starting other java software multiple times > > that uses threads? > > See above. This is the only java package that exhibits this problem, so far. > > > > > I'd also try a newer version of tomcat as they fixed a lot of bugs. I > > installed 5.0.16 the other day, and as I recall the change log wasn't > > tiny. > > Yep. Running 5.0.16 > > > > > My working setup: > > apache 2.0.48 > > Tomcat 5.0.16 > > mod jk (1) connector for 4.1.27 tomcat > > jdk-1.4.2p5 > > > > FreeBSD 4.9 Stable cvsup'd about a week ago. > > cvsup'd last night > > > > Josef > > -- > Josef Grosch | Another day closer to a | FreeBSD 5.1 > jgrosch@MooseRiver.com | Micro$oft free world | Berkeley, Ca. > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From owner-freebsd-java@FreeBSD.ORG Wed Dec 31 05:33:26 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E242416A4CE for ; Wed, 31 Dec 2003 05:33:26 -0800 (PST) Received: from diomedes.noc.ntua.gr (diomedes.noc.ntua.gr [147.102.222.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5185643D66 for ; Wed, 31 Dec 2003 05:33:12 -0800 (PST) (envelope-from past@noc.ntua.gr) Received: from ajax.noc.ntua.gr (ajax.noc.ntua.gr [147.102.220.1]) by diomedes.noc.ntua.gr (8.12.9p1/8.12.9) with ESMTP id hBVDXALb057712 for ; Wed, 31 Dec 2003 15:33:10 +0200 (EET) (envelope-from past@noc.ntua.gr) Received: from ppp-229-010.dialup.ntua.gr (ppp-229-010.dialup.ntua.gr [147.102.229.10]) by ajax.noc.ntua.gr (8.12.9p1/8.12.9) with ESMTP id hBVDX9KY070641 for ; Wed, 31 Dec 2003 15:33:10 +0200 (EET) (envelope-from past@noc.ntua.gr) From: Panagiotis Astithas Organization: NTUA/NMC To: java@freebsd.org Date: Wed, 31 Dec 2003 15:33:03 +0200 User-Agent: KMail/1.5.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200312311533.03754.past@noc.ntua.gr> Subject: make openmotif patch port-compliant 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, 31 Dec 2003 13:33:27 -0000 Hi all, I tried to apply the DnD fix to the openmotif port to build a compliant jdk, but it seems that the paths are slightly off. Patching the patch (no pun intended) with the following lets me drop the file in /usr/ports/x11-toolkits/openmotif/files/ and have everything working. http://noc.ntua.gr/~past/freebsd/patch-java-dnd-fix.patch Cheers, -- Panagiotis Astithas Electrical & Computer Engineer, PhD Network Management Center National Technical University of Athens, Greece From owner-freebsd-java@FreeBSD.ORG Wed Dec 31 22:50:38 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 36D5516A4CE for ; Wed, 31 Dec 2003 22:50:38 -0800 (PST) Received: from gddsn.org.cn (mail.gddsn.org.cn [210.21.6.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id B9DF943D48 for ; Wed, 31 Dec 2003 22:50:36 -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 EFD3A38CBCC for ; Thu, 1 Jan 2004 14:50:23 +0800 (CST) Message-ID: <3FF3C32F.1080808@gddsn.org.cn> Date: Thu, 01 Jan 2004 14:50:23 +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: java@freebsd.org Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 7bit Subject: Could not debug anymore using JDK1.4.2-p6 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, 01 Jan 2004 06:50:38 -0000 hi, After upgrade to p6, I could not use debuger in JBuilder or NetBeans. p6 with libc_r also not work. p5+libc_r did work in p5 before. I use CURRENT. Is this known problem or I miss something? Thanks, --hwh From owner-freebsd-java@FreeBSD.ORG Wed Dec 31 22:55:54 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A00116A4CE for ; Wed, 31 Dec 2003 22:55:54 -0800 (PST) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id E531243D67 for ; Wed, 31 Dec 2003 22:55:48 -0800 (PST) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.10/8.12.1) with ESMTP id i016tliw009481; Thu, 1 Jan 2004 01:55:47 -0500 (EST) Date: Thu, 1 Jan 2004 01:55:47 -0500 (EST) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: Huang wen hui In-Reply-To: <3FF3C32F.1080808@gddsn.org.cn> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: java@freebsd.org Subject: Re: Could not debug anymore using JDK1.4.2-p6 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, 01 Jan 2004 06:55:54 -0000 On Thu, 1 Jan 2004, Huang wen hui wrote: > hi, > After upgrade to p6, I could not use debuger in JBuilder or NetBeans. > p6 with libc_r also not work. p5+libc_r did work in p5 before. I use > CURRENT. > Is this known problem or I miss something? I'll take a guess and say it is because p6 uses libkse instead of libc_r, and gdb doesn't yet work(*) with libkse or libthr. If my guess is correct, you could use /etc/libmap.conf to map libkse to libc_r and see if that allows you to use the debugger. (*) This is on our todo list for 5.3 -- Dan Eischen From owner-freebsd-java@FreeBSD.ORG Wed Dec 31 23:02:01 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C315F16A4CE for ; Wed, 31 Dec 2003 23:02:01 -0800 (PST) Received: from gddsn.org.cn (mail.gddsn.org.cn [210.21.6.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DDBD43D68 for ; Wed, 31 Dec 2003 23:02: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 B390F38CBCC; Thu, 1 Jan 2004 15:01:58 +0800 (CST) Message-ID: <3FF3C5E6.8020600@gddsn.org.cn> Date: Thu, 01 Jan 2004 15:01:58 +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: Daniel Eischen References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: java@freebsd.org Subject: Re: Could not debug anymore using JDK1.4.2-p6 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, 01 Jan 2004 07:02:01 -0000 Daniel Eischen wrote: >On Thu, 1 Jan 2004, Huang wen hui wrote: > > > >>hi, >>After upgrade to p6, I could not use debuger in JBuilder or NetBeans. >>p6 with libc_r also not work. p5+libc_r did work in p5 before. I use >>CURRENT. >>Is this known problem or I miss something? >> >> > >I'll take a guess and say it is because p6 uses libkse instead >of libc_r, and gdb doesn't yet work(*) with libkse or libthr. If >my guess is correct, you could use /etc/libmap.conf to map libkse >to libc_r and see if that allows you to use the debugger. > > Yes, my fault, p6 with libc_r does work! >(*) This is on our todo list for 5.3 > > >