Hi,

I am having trouble with something google and the docs cant seem to help.

1) After setting up a connection to a database in the context.xml file using the <Resource> tag, do you need the <resource-ref> in the web.xml file. I have tried with and without and it doesn't seem to make a difference.

2) I want to be able to deploy two instances of an application on the same installation of tomcat. (using two separate virtual hosts) with two separate databases. If I simply deploy the application twice, with two different context.xml files, sometimes this works (ie one instance uses the database from one context.xml and the other instance uses the database from the other context.xml) but sometimes it seems they both use the same database!!

How do I fix this? The tomcat documentation seems to imply the context.xml file jndi information is local to a single applications context. It appears this is not true if that is what the documentation means.

Best Regards,
Jacob

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to