Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 99575 invoked from network); 18 Jan 2007 14:42:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Jan 2007 14:42:04 -0000 Received: (qmail 3767 invoked by uid 500); 18 Jan 2007 14:41:59 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 3534 invoked by uid 500); 18 Jan 2007 14:41:58 -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 3523 invoked by uid 99); 18 Jan 2007 14:41:58 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jan 2007 06:41:58 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.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; Thu, 18 Jan 2007 06:41:46 -0800 Received: from usea-nagw1.na.uis.unisys.com ([129.224.72.16]) by usea-naimss2 with InterScan Message Security Suite; Thu, 18 Jan 2007 08:41:25 -0600 Received: from usea-nagw1.na.uis.unisys.com ([129.224.72.51]) by usea-nagw1.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 18 Jan 2007 08:41:24 -0600 Received: from USRV-EXCH4.na.uis.unisys.com ([192.61.245.232]) by usea-nagw1.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 18 Jan 2007 08:41:24 -0600 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: server.xml Date: Thu, 18 Jan 2007 08:41:23 -0600 Message-ID: In-Reply-To: <28545223.67401169130127241.JavaMail.webmail@ps1zhb.bluewin.ch> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: server.xml Thread-Index: Acc7DCGTLBE6i1zRSauSGT2v/of+kgAAOZzg References: <28545223.67401169130127241.JavaMail.webmail@ps1zhb.bluewin.ch> From: "Caldarale, Charles R" To: "Tomcat Users List" X-OriginalArrivalTime: 18 Jan 2007 14:41:24.0105 (UTC) FILETIME=[BA17C790:01C73B0E] X-Virus-Checked: Checked by ClamAV on apache.org > From: mzelenkovska@bluewin.ch [mailto:mzelenkovska@bluewin.ch]=20 > Subject: server.xml >=20 > 1. works fine when called from the server machine with the link=20 > localhost:8080\test\test.html The above indicates Tomcat is listening on port 8080. However, it's unlikely the above actually worked with back slashes in the URL. > 2. but http://www2.myhostmz.org/test/test.html shows page not=20 > found You left out the port number. If you want Tomcat to use port 80 (the browser default), change the configuration of the element in the server.xml file and restart Tomcat. > > > Putting elements in server.xml is strongly discouraged. Also, a docBase of "." indicates the app is deployed _in_ the webapps directory rather than under it. At best, that's inviting confusion and disorganization. The default app should be placed in a directory named ROOT (or packaged in a file named ROOT.war) under the appBase directory. If you're using Tomcat's normal default app, you don't need a element for it (that's the case for many apps). - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL 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 attachments 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