tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From matador <matador1910-li...@yahoo.com>
Subject virtual host doesn't load database content
Date Thu, 06 Oct 2005 03:27:58 GMT
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


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message