Hi,

On this page
http://tomcat.apache.org/tomcat-8.0-doc/jndi-datasource-examples-howto.html
there is an example of a global JDBC resource being defined.  There is also
a comment saying "This author has not had success here, although others
have reported so. Clarification would be appreciated here."

I defined the global postgres jdbc definition, and then I add a resource
link in the two web application contexts that I wanted to use the
datasource with, and this resolved the issue.

If I did not define the resource links in the context elements I would
receive an error that the driver was not present.

Is this the correct approach to solving this problem?  If so, should I
document it this way?   Basically:

1.  Define the global JDBC resource
2.  Define the resource references in the contexts you would like to share
the datasource with.

-- 
With Regards,
Andrew Carr

e. andrewlanec...@gmail.com
w. andrew.c...@openlogic.com
h. 4235255668
c. 4239489852
a. 101 Francis Drive, Greeneville, TN, 37743

Reply via email to