Details
-
Type:
Task
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 1.7.4
-
Component/s: Documentation
-
Labels:None
-
Number of attachments :
Description
Christian Mueller just added support for JNDI based connection pools in GeoServer. A tutorial on how to setup one for postgis in tomcat would be nice
The short story, so that I don't forget it, is:
inside the Context element
<resource-ref>
<description>postgreSQL Datasource example</description>
<res-ref-name>jdbc/pglocal</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
See also:
http://www.mbaworld.com/docs/jndi-resources-howto.html
http://www.mbaworld.com/docs/jndi-datasource-examples-howto.html