Hi!

How can I solve the problem to point JNDI-Resources to different values for the same webapplication that is deployed in serveral hosts on a server without having to rewrite the context.xml in the webapp for each deployment?

<host1> with <mywebapp> using jndi-resource <mydatabase> points to resource1 defined in GlobalNamingResources with value "2" <host2> with <mywebapp> using jndi-resource <mydatabase> points to resource3 defined in GlobalNamingResources with value "4"

As far I can read in the documentation I can't define JNDI-resources for a host. Only all-context via default-context for only one context in the webapp context.xml-file. I hope that I'm wrong since this is something that would greatly reduce configuration issues between updates of my webapp.

Right now we are running the application in one server per host but new hardware could run all traffic in a single server. But then we need to find a way to configure it.

Thans in advance
Roland



---------------------------------------------------------------------
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