From owner-freebsd-java@FreeBSD.ORG Tue Jan 6 01:56: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 0E41216A4CE for ; Tue, 6 Jan 2004 01:56:22 -0800 (PST) Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DD0743D31 for ; Tue, 6 Jan 2004 01:56:20 -0800 (PST) (envelope-from sheldonh@starjuice.net) Received: from sheldonh by axl.seasidesoftware.co.za with local (Exim 4.24; FreeBSD) id 1Adnwf-000PdA-T7; Tue, 06 Jan 2004 11:56:17 +0200 Date: Tue, 6 Jan 2004 11:56:17 +0200 From: Sheldon Hearn To: Greg Lewis Message-ID: <20040106095617.GC97880@starjuice.net> Mail-Followup-To: Greg Lewis , freebsd-java@freebsd.org References: <20031231033829.GA53774@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031231033829.GA53774@misty.eyesbeyond.com> User-Agent: Mutt/1.5.4i cc: freebsd-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: Tue, 06 Jan 2004 09:56:22 -0000 On (2003/12/30 20:38), Greg Lewis wrote: > I am pleased to be able to announce 1.4.2 patchset 6. > > 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: Hi Greg, Hmmm, about using libkse... Have you tried starting Tomcat 4.1.29 from ports with debugging enabled, using libkse instead of libc_r? With jdk-1.4.2p5, I start Tomcat as follows: $ JPDA_ADDRESS=5050 \ sudo -u www /usr/local/jakarta-tomcat4.1/bin/catalina.sh jpda start I get the following in logs/catalina.out: FATAL ERROR in native method: JDWP "util.c" (Nov 12 2003), line 1194: Unexpected error, error code = 51 (JVMDI_ERROR_NOT_MONITOR_OWNER) Switching to libc_r (with libmap.conf) solves the problem, and I'm able to debug into my webapps using IntelliJ IDEA. This is on 5.2-CURRENT from 2003-12-10. Ciao, Sheldon.