Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 67743 invoked from network); 7 Oct 2005 03:31:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Oct 2005 03:31:19 -0000 Received: (qmail 6624 invoked by uid 500); 7 Oct 2005 03:31:08 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 5657 invoked by uid 500); 7 Oct 2005 03:31:05 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 5638 invoked by uid 99); 7 Oct 2005 03:31:05 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Oct 2005 20:31:05 -0700 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jak-tomcat-dev@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Oct 2005 20:31:08 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1ENivD-0003CH-RA for tomcat-dev@jakarta.apache.org; Fri, 07 Oct 2005 05:29:23 +0200 Received: from adsl-69-209-231-222.dsl.chcgil.ameritech.net ([69.209.231.222]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 07 Oct 2005 05:29:23 +0200 Received: from matador1910-lists by adsl-69-209-231-222.dsl.chcgil.ameritech.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 07 Oct 2005 05:29:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: tomcat-dev@jakarta.apache.org From: matador Subject: Re: virtual host doesn't load database content Date: Fri, 7 Oct 2005 03:28:09 +0000 (UTC) Organization: CPUSA Lines: 63 Message-ID: References: X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: adsl-69-209-231-222.dsl.chcgil.ameritech.net User-Agent: Xnews/5.04.25 Sender: news X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N matador wrote in news:Xns96E6E48D82B9Amatador@80.91.229.5: > ok so i define my connection pools etc in a context.xml for localhost: > > C:\Tomcat 5.5\conf\Catalina\localhost\context.xml > > and it works. > > but when the site is accessed from the virtual host defined in > server.xml, then the context.xml (deployed as described below) does > not ever see the connection pools > > i tried it as follows, no joy: > > C:\Tomcat 5.5\conf\Catalina\struts.acme.com\context.xml > C:\Tomcat 5.5\conf\Catalina\struts.acme.com\context.xml.default > C:\Tomcat 5.5\conf\Catalina\struts.acme.com\struts.xml > C:\Tomcat 5.5\conf\Catalina\struts.acme.com\struts.acme.com.xml > > only ever works from server.xml > > is there a workaround? i know im not the only one: > http://www.junlu.com/msg/187453.html got it to work: here is how: tomcat 5.5.9 windows server.xml struts.acme.com add this file: C:\Tomcat 5.5\conf\Catalina\struts.acme.com\ROOT.xml