Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 23450 invoked from network); 3 Nov 2008 03:06:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Nov 2008 03:06:02 -0000 Received: (qmail 2578 invoked by uid 500); 3 Nov 2008 03:05:56 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 2546 invoked by uid 500); 3 Nov 2008 03:05:56 -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 2535 invoked by uid 99); 3 Nov 2008 03:05:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Nov 2008 19:05:55 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [192.61.61.104] (HELO usea-naimss2.unisys.com) (192.61.61.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Nov 2008 03:04:37 +0000 Received: from usea-nagw2.na.uis.unisys.com ([129.224.72.18]) by usea-naimss2 with InterScan Message Security Suite; Sun, 02 Nov 2008 21:05:18 -0600 Received: from usea-nagw2.na.uis.unisys.com ([129.224.72.53]) by usea-nagw2.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 2 Nov 2008 21:05:17 -0600 Received: from usea-nahubcas1.na.uis.unisys.com ([129.224.76.114]) by usea-nagw2.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 2 Nov 2008 21:05:17 -0600 Received: from USEA-EXCH7.na.uis.unisys.com ([129.224.76.41]) by usea-nahubcas1.na.uis.unisys.com ([129.224.76.114]) with mapi; Sun, 2 Nov 2008 21:05:17 -0600 From: "Caldarale, Charles R" To: Tomcat Users List Date: Sun, 2 Nov 2008 21:05:16 -0600 Subject: RE: Set application default Thread-Topic: Set application default Thread-Index: Ack9X25VMuIu2hMWTaywdndxOkTBPQAAGTVA Message-ID: <0AAE5AB84B013E45A7B61CB66943C17214E9A3EA24@USEA-EXCH7.na.uis.unisys.com> References: <20296568.post@talk.nabble.com> In-Reply-To: <20296568.post@talk.nabble.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 03 Nov 2008 03:05:17.0671 (UTC) FILETIME=[FFEDF770:01C93D60] X-Virus-Checked: Checked by ClamAV on apache.org > From: WILLIAMer [mailto:william.tzeng@echannelopen.com.tw] > Subject: Set application default > > I add crossContext=3D"true" debug=3D"0"/> in server.xml. You really shouldn't do that - it's truly the lazy way out (i.e., one that = will cost you more time and energy later). > I dont wanna change my application name to ROOT for this purpose. Do you have any justification for not changing the name, which really is th= e right thing to do? "Don't wanna" is a child's excuse... If you absolutely insist on not changing the name of your app's directory (= or .war file), then place it somewhere other than under your appBase= directory (webapps, in your case), and create a conf/Catalina/[host]/ROOT.= xml file containing this element: - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MA= TERIAL and is thus for use only by the intended recipient. If you received = this in error, please contact the sender and delete the e-mail and its atta= chments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org