Hi,
Where in server.xml is your Resource declaration? Is there a matching
resource-ref in your web.xml? (It's required). You also probably want
a factory parameter, as mentioned in the JNDI DataSources how-to.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From:
In both servers the Resource declarations are in the DefaultContext
block. All DataSources are shared by all webapps. I do not have a
resource-ref declaration in either web.xml ... I'll go look that up and
remedy. What is the purpose of the factory parameter, and what is an
appropriate
Hi,
In both servers the Resource declarations are in the DefaultContext
block. All DataSources are shared by all webapps.
You realize that by placing a Resource in DefaultContext you ensure that
a separate copy is created for each Context, right? That means if you
configure for 10 max
I'm sure your explanation as well as a (re) reading of the How To will
allow me to correct the problem. Thanks very much!
I'd like a little more explanation however about your advice on using
DefaultContext. In addition to the advantage of having a single place to
add, remove, and change
Hi,
passwords), I THOUGHT I was sharing a single copy of the resources. I
understand now that a separate copy is created for every application.
But what I don't understand is how putting every resource in every
actual context is better. If I have 5 applications, each of whose
actual context