Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
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
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: