You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by jimbo-black <ma...@yahoo.com> on 2005/09/24 05:30:27 UTC

how to setup context.xml for virual hosts

ok so i define my connection pools etc in the context.xml but when the site 
is accessed from the virutal host, it does not see the connection pool 
since its defined as:

<Context path="/struts" docBase="/struts" debug="1"
	reloadable="true" antiJARLocking="true">
	<ResourceLink global="jdbc/devserver" name="jdbc/devserver"
		type="javax.sql.DataSource" />
etc....

in other words, access the site as localhost/struts and the context.xml 
stuff works, but when you access it as struts.acme.com, it cannot see 
anything in that context.xml file.  


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