yoavs 2005/03/30 09:23:23 Modified: webapps/docs changelog.xml jndi-datasource-examples-howto.xml Log: Bugzilla 34237. Revision Changes Path 1.277 +4 -0 jakarta-tomcat-catalina/webapps/docs/changelog.xml Index: changelog.xml =================================================================== RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/changelog.xml,v retrieving revision 1.276 retrieving revision 1.277 diff -u -r1.276 -r1.277 --- changelog.xml 30 Mar 2005 17:04:09 -0000 1.276 +++ changelog.xml 30 Mar 2005 17:23:23 -0000 1.277 @@ -32,6 +32,10 @@ <update> <bug>33522</bug>: Update jasper-howto to reflect use of javac switch. (yoavs) </update> + <update> + <bug>34237</bug>: Added note and links to context and host configuration + references in JNDI DataSources HowTo to aid the clueless. (yoavs) + </update> </changelog> </subsection> <subsection name="Catalina"> 1.15 +15 -1 jakarta-tomcat-catalina/webapps/docs/jndi-datasource-examples-howto.xml Index: jndi-datasource-examples-howto.xml =================================================================== RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/jndi-datasource-examples-howto.xml,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- jndi-datasource-examples-howto.xml 26 Mar 2005 03:16:18 -0000 1.14 +++ jndi-datasource-examples-howto.xml 30 Mar 2005 17:23:23 -0000 1.15 @@ -47,6 +47,14 @@ resource configurations to match the syntax in the example below in order to make them work in Tomcat 5.5.x. </p> + +<p> +Also, please note that JNDI DataSource configuration in general, and this +tutorial in particular, assumes that you have read and understood the +<a href="config/context.html">Context</a> and +<a href="config/host.html">Host</a> configuration references, including +the section about Automatic Application Deployment in the latter reference. +</p> </section> <section name="Database Connection Pool (DBCP) Configurations"> @@ -189,7 +197,13 @@ <p>Configure the JNDI DataSource in Tomcat by adding a declaration for your resource to <code>$CATALINA_HOME/conf/server.xml</code>.</p> <p>Add this in between the <code></Context></code> tag of the examples -context and the <code></Host></code> tag closing the localhost definition.<source> +context and the <code></Host></code> tag closing the localhost definition. +If there is no such tag, you can add one as illustrated in the +<a href="config/context.html">Context</a> and +<a href="config/host.html">Host</a> configuration references, and repeated below +for your convenience. + +<source> <Context path="/DBTest" docBase="DBTest" debug="5" reloadable="true" crossContext="true">
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]