From users-return-219669-apmail-tomcat-users-archive=tomcat.apache.org@tomcat.apache.org Thu Dec 02 17:42:15 2010 Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 1231 invoked from network); 2 Dec 2010 17:42:14 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Dec 2010 17:42:14 -0000 Received: (qmail 1163 invoked by uid 500); 2 Dec 2010 17:42:11 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 1076 invoked by uid 500); 2 Dec 2010 17:42:11 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 1067 invoked by uid 99); 2 Dec 2010 17:42:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Dec 2010 17:42:11 +0000 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [204.15.49.138] (HELO relay.teklinks.com) (204.15.49.138) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Dec 2010 17:42:01 +0000 Received: from ex01.acteksoft.com (mail.acteksoft.com [208.72.134.135]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by relay.teklinks.com (Postfix) with ESMTPS id 75C551C488 for ; Thu, 2 Dec 2010 11:41:36 -0600 (CST) Received: from ex01.acteksoft.com ([192.168.1.251]) by ex01.acteksoft.com ([192.168.1.251]) with mapi; Thu, 2 Dec 2010 11:41:36 -0600 From: Johnny Clark To: "users@tomcat.apache.org" Date: Thu, 2 Dec 2010 11:41:36 -0600 Subject: How to Run a Single Application instead of all Applications under webapps Thread-Topic: How to Run a Single Application instead of all Applications under webapps Thread-Index: AcuSSCr+vlTQV+9+RjuuufrBEG0tlQ== Message-ID: <245A5600AB46BD42985380479F40B46DD7A6C582F8@ex01.acteksoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_245A5600AB46BD42985380479F40B46DD7A6C582F8ex01acteksoft_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_245A5600AB46BD42985380479F40B46DD7A6C582F8ex01acteksoft_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I have used Jboss for a long time, but recently we've removed our dependenc= ies on a full blown J2EE container so that we can run in Tomcat. I am tryi= ng to modify my development environment to support our standard workflow, b= ut I can't figure out how to get Tomcat to run a specific application as op= posed to every application under the webapps directory. I've done a lot of= searching, I'm beginning to think that Tomcat does not support this type o= f operation, but I wanted to verify that before I rethink our process. So IF Tomcat worked just like Jboss then this is how it WOULD work. I have= two versions of my application, compiled and ready to run. They are in th= e following directories: C:\apache-tomcat-6\webapps\MyApp_V1 C:\apache-tomcat-6\webapps\MyApp_V2 When I want to start up MyApp_V1, I would pass that name into the startup.b= at or catalina.bat. In my Jboss deployments I simply start Jboss using 'ru= n -c MyApp_V1'. Our application's start up time is not insignificant, so s= tarting both apps is a very bad thing, especially since I'll probably have = more than two versions. Obviously, I could copy MyApp_Vx in and out of the= webapps directory as needed, but this type of operation can confuse my IDE= , so I'd like to avoid it. I am running on Windows XP and the tomcat version is 6.0.29. Thanks in advance for the assistance. --_000_245A5600AB46BD42985380479F40B46DD7A6C582F8ex01acteksoft_--