cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
50
Views
0
Helpful
0
Comments
cdnadmin
Community Member
This document was generated from CDN thread

Created by: Bruce Johnson on 26-02-2009 01:58:57 AM
Hi,
I've seen several posts and a video giving helpful steps to configuring the JNDI for the CVP Database Element. In each case I've seen the 'Context ' elements being written into the Tomcat server.xml file. While reserching the config of the JNDI for a database connection I found the Tomcat examples do not recommend this approach:
<quote>
"For Tomcat 5, unlike Tomcat 4.x, it is NOT recommended to place <Context> elements directly in the server.xml file. This is because it makes modifing the Context configuration more invasive since the main <code>conf/server.xml</code> file cannot be reloaded without restarting Tomcat."
<end quote>
I followed the example listed on http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html , which I found to work well and it creates a completely separate application i.e. it is not run under the CVP web.xml
Should we be using this process? What are the merits of each method?
Thanks
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links