From owner-freebsd-questions@FreeBSD.ORG Wed Dec 31 01:56:28 2003 Return-Path: Delivered-To: freebsd-questions@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-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions 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.