From owner-freebsd-java@FreeBSD.ORG Thu Aug 28 02:59:45 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C49216A4BF for ; Thu, 28 Aug 2003 02:59:45 -0700 (PDT) Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id D820C43FF3 for ; Thu, 28 Aug 2003 02:59:41 -0700 (PDT) (envelope-from Jan.Grant@bristol.ac.uk) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Thu, 28 Aug 2003 10:59:24 +0100 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 3.16 #1) id 19sJXY-0002oA-00; Thu, 28 Aug 2003 10:58:04 +0100 Date: Thu, 28 Aug 2003 10:58:04 +0100 (BST) From: Jan Grant X-X-Sender: cmjg@mail.ilrt.bris.ac.uk To: freebsd-java@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: Jan Grant Subject: Status of debugging with 1.4.1? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2003 09:59:45 -0000 I'm running 1.4.1-p3 on FreeBSD 4.8-STABLE #0: Tue Jul 29 18:12:32 BST 2003 I'm seeing a problem with one of our web applications (it's a complicated beast sitting on top of jetspeed and tomcat). About 50% of the time (like, when I'm sitting in front of the machine with my sleeves rolled up :-/ ) it works perfectly. At other times, tomcat appears to fail to finish initialising, sitting in a "poll" loop. I'm not sure if this is a problem with tomcat, our software, the threading library, or java. To begin with I would like to trace tomcat - at least up until the point where it hangs - to at least narrow down the field a bit. Unfortuantely, jdb seems to be having an awful lot of grief in this situation. Simple requests like "threads" will hang indefinitely. Is jdb supposed to be working as of patchset 3? ... or am I slightly behind the times? If there's a better way to get thread tracebacks out of java I'd love to hear it. jan PS. I'm sorry to be so vague but this problem is an intermittent one that only appears to show itself with this complex code-base, and I'm having trouble sorting out where it's hanging. -- 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/ On modesty: whoever said "it's hard being perfect" obviously wasn't me.