Return-Path: Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 62121 invoked from network); 19 Sep 2000 18:31:34 -0000 Received: from unknown (HELO morpheus.austinite.com) (64.244.125.5) by locus.apache.org with SMTP; 19 Sep 2000 18:31:34 -0000 Received: from morpheus.austinite.com (warneronstine.com) [64.244.125.5] by morpheus.austinite.com with esmtp (Exim 3.12 #1 (Debian)) id 13bSXZ-0000RH-00; Tue, 19 Sep 2000 13:54:49 -0500 Received: from raegunn (really [207.33.160.68]) by warneronstine.com via in.smtpd with esmtp id (Debian Smail3.2.0.101) for ; Tue, 19 Sep 2000 13:54:49 -0500 (CDT) Message-ID: <012301c02268$00b32ee0$5c01a8c0@raegunn> From: "Warner Onstine" To: Subject: running tomcat in a thread Date: Tue, 19 Sep 2000 11:32:29 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.3018.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hi all, I am attempting to get Tomcat [Catalina] to run in its own thread when asked to start, but am running into some difficulties when attempting to shut it down. I am receiving the following message upon attempted shutdown: Lifecycle Exception: This server has not yet been started. I have an initialize() method start the thread with all of the parsing of server.xml, and then the server.start() command (which works properly), with the appropriate server.await() command (almost identical to org.apache.catalina.startup.Catalina). Now what is happening when the terminate() method is called is the exception above. Any ideas? -warner