I'm trying to run two servers in my installation of Tomcat: www.foo.com and test.foo.com.
In my server.xml file, there are two <Host> declarations, each with a single <Context>. Each <Host> specifies a different name and app base. Each <Context> defines a <Resource> named "jdbc/store", and associated <ResourceParams>. The corresponding web.xml files for the two webapps (one in each app base) defines some additional <env-entry> stuff. What I notice is that my two webapps (which are the same app, but one is used to test changes before moving to the other end up stepping on each other in the JNDI namespace. More precisely, the second app to load overwrites the JDNI entries of the first. I would have expected them to get two separate InitialContexts, so that their namespace would be kept separate. How can I accomplish this? Oh, Tomcat 4.0.4, I think (4.0.x, anyway) TIA, -- Rick -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
