Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 57013 invoked from network); 25 Jun 2009 06:29:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Jun 2009 06:29:32 -0000 Received: (qmail 85393 invoked by uid 500); 25 Jun 2009 06:29:39 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 85312 invoked by uid 500); 25 Jun 2009 06:29:38 -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 85301 invoked by uid 99); 25 Jun 2009 06:29:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jun 2009 06:29:38 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jun 2009 06:29:27 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MJiSJ-000383-5a for users@tomcat.apache.org; Wed, 24 Jun 2009 23:29:07 -0700 Message-ID: <24197704.post@talk.nabble.com> Date: Wed, 24 Jun 2009 23:29:07 -0700 (PDT) From: tomcatastrophe To: users@tomcat.apache.org Subject: Tomcat WAR deployment with virtual host only shows blank page MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: nabble@changethings.org X-Virus-Checked: Checked by ClamAV on apache.org So, here is my configuration and what I am trying to accomplish: I have 1 host definition (aside from the default localhost) in my server.xml: foocom I have /work/tomcat as my home folder for Tomcat. Inside of /work/tomcat I have foocom (/work/tomcat/foocom) Inside of /work/tomcat/foocom is ROOT.war ROOT.war contains: index.html WEB-INF WEB-INF/web.xml WEB-INF/lib WEB-INF/classes META-INF META-INF/context.xml The contents of context.xml are: (removed XML DTD data and comments for readability, but it is standard) When I start up Tomcat and try to access http://www.foo.com:8080 (foo.com is set in my host file to 127.0.0.1) I only see a blank white page. If I rename the ROOT.war to ROOT it starts up fine. Does it matter if the .war file is packed or unpacked and just named .WAR? In /work/tomcat/conf/Catalina it creates foo.com with a ROOT.war.xml file inside. So, it looks in META-INF and finds and copies the context.xml to the conf/Catalina/foo.com folder, but it still just serves a white page. Thanks!!! -- View this message in context: http://www.nabble.com/Tomcat-WAR-deployment-with-virtual-host-only-shows-blank-page-tp24197704p24197704.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org