Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 24768 invoked from network); 3 Jul 2008 13:53:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Jul 2008 13:53:50 -0000 Received: (qmail 19025 invoked by uid 500); 3 Jul 2008 13:52:59 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 19003 invoked by uid 500); 3 Jul 2008 13:52:59 -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 18991 invoked by uid 99); 3 Jul 2008 13:52:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jul 2008 06:52:59 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=NORMAL_HTTP_TO_IP,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of martinharrigan@gmail.com designates 66.249.82.237 as permitted sender) Received: from [66.249.82.237] (HELO wx-out-0506.google.com) (66.249.82.237) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jul 2008 13:52:06 +0000 Received: by wx-out-0506.google.com with SMTP id i28so396714wxd.12 for ; Thu, 03 Jul 2008 06:52:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=h/EhAstNNwURWH7KWqHNLrWJpB6P6rke+P6qml9Snzg=; b=Pk5rS2j0E+Nrd7AD1V643YLYHL2QLYoQhSjEq9b8bPXypPo3a4QFtYAKdwqfqfLRdd tPCb9pec5OLypfTv7vycaOdiP+rbS7mDYFe7xQWFz7cg7wky6O76NXwAWK3P5gLbZof3 PojkVbh2zTBMsZQYnXC1lEy7Qnx00UTuA0YOE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=L57hQBbacLS+jk1wFm18ULoa850DDRMhojxSk5rIjrez4Dz8diElUVdX2qpjGZnu6G pcXWUfarjs/Q/2vW3yTWUIsFIJ+YlHHqM0dEPhnhcrAa/BArXrKKAsILS2iSfgbRwvvY CGif5o8nmLv86HdE/5ThZT/sHi7CEjzU/+O6g= Received: by 10.70.38.16 with SMTP id l16mr198463wxl.50.1215093128377; Thu, 03 Jul 2008 06:52:08 -0700 (PDT) Received: by 10.70.38.11 with HTTP; Thu, 3 Jul 2008 06:52:08 -0700 (PDT) Message-ID: <81adbcf00807030652g1bb55d3eid5c0c292284c2f33@mail.gmail.com> Date: Thu, 3 Jul 2008 14:52:08 +0100 From: "Martin Harrigan" To: users@tomcat.apache.org Subject: Virtual Hosts and 'Hot' Redeployment MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I have the following problem with tomcat 6.0: I have two webapps, ROOT and myWebApp. ROOT is deployed to /var/lib/tomcat-6/webapps and has the following entry in server.xml: I can reach it fine through http://1.2.3.4/ and if I redeploy ROOT (using the tomcat-maven-plugin), I do not need to restart tomcat. Everything works fine. On the other hand, myWebApp is deployed to /var/lib/tomcat-6/webapps/myWebApp and has the following entry in server.xml: www.otherserver.com I can reach it fine through http://1.2.3.4/myWebApp and through http://www.otherserver.com. However, if I redeploy myWebApp, http://1.2.3.4/myWebApp works fine but http://www.otherserver.com gives a 404 resource unavailable error. The only way I can fix it is to restart tomcat. Any ideas why a redeployed webapp might work from http://1.2.3.4/myWebApp but not from http://www.otherserver.com? Martin. --------------------------------------------------------------------- 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