Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 66932 invoked from network); 23 Sep 2004 02:43:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 23 Sep 2004 02:43:13 -0000 Received: (qmail 42305 invoked by uid 500); 23 Sep 2004 02:43:03 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 42278 invoked by uid 500); 23 Sep 2004 02:43:03 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 42261 invoked by uid 99); 23 Sep 2004 02:43:03 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO,SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [205.152.59.68] (HELO imf20aec.mail.bellsouth.net) (205.152.59.68) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 22 Sep 2004 19:43:02 -0700 Received: from w2ks.synernet.com ([65.12.150.225]) by imf20aec.mail.bellsouth.net (InterMail vM.5.01.06.11 201-253-122-130-111-20040605) with ESMTP id <20040923024300.PIEB1719.imf20aec.mail.bellsouth.net@w2ks.synernet.com> for ; Wed, 22 Sep 2004 22:43:00 -0400 Message-Id: <6.0.1.1.2.20040922223354.03fffb18@fast.synernet.com> X-Sender: ftoth@fast.synernet.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Wed, 22 Sep 2004 22:42:55 -0400 To: lucene-user@jakarta.apache.org From: Fred Toth Subject: demo HTML parser question Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, I've been working with the HTML parser demo that comes with Lucene and I'm trying to understand why it's multi-threaded, and, more importantly, how to exit gracefully on errors. I've discovered if I throw an exception in the front-end static code (main(), etc.), the JVM hangs instead of exiting. Presumably this is because there are threads hanging around doing something. But I'm not sure what! Any pointers? I just want to exit gracefully on an error such as a required meta tag is missing or similar. Thanks, Fred --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org