From tomcat-user-return-124007-apmail-jakarta-tomcat-user-archive=jakarta.apache.org@jakarta.apache.org Fri Apr 01 01:54:38 2005 Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 81980 invoked from network); 1 Apr 2005 01:54:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Apr 2005 01:54:38 -0000 Received: (qmail 29724 invoked by uid 500); 1 Apr 2005 01:54:19 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 29686 invoked by uid 500); 1 Apr 2005 01:54:19 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 29672 invoked by uid 99); 1 Apr 2005 01:54:19 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=FROM_ENDS_IN_NUMS X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from smarty.dreamhost.com (HELO smarty.dreamhost.com) (66.33.216.24) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 31 Mar 2005 17:54:17 -0800 Received: from strange.dreamhost.com (strange.dreamhost.com [66.33.193.57]) by smarty.dreamhost.com (Postfix) with ESMTP id 6E44013F6C4 for ; Thu, 31 Mar 2005 17:54:15 -0800 (PST) Received: by strange.dreamhost.com (Postfix, from userid 7734) id E28C26A902; Thu, 31 Mar 2005 17:54:15 -0800 (PST) Date: Thu, 31 Mar 2005 19:54:15 -0600 From: QM To: Tomcat Users List Subject: Re: Embedded tomcat ussage Message-ID: <20050401015415.GA27981@strange.dreamhost.com> References: <77bbc9db0503310518a35c6ce@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <77bbc9db0503310518a35c6ce@mail.gmail.com> User-Agent: Mutt/1.3.28i X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Thu, Mar 31, 2005 at 03:18:30PM +0200, Renat Zubairov wrote: : I have a question concerning embedded tomcat. : How to make it even more embedded as it is? : I.e. do not extract war file somewhere but getting a files from it directly? : Is there any standart way to acomplish it? It depends on what you mean by "extract war file": 1/ did you specify "unpackWars=true" in server.xml? If so, Tomcat will unpack the WAR file because you asked it to. Set that attribute to false and see what happens. 2/ or do you mean that Tomcat unpacks certain files to a temporary space? I don't think there's a way around this; so just specify (a subdirectory of) java.io.tmpdir as the work directory, and that should (sort of) cover you. -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org