Author: violetagg
Date: Tue Mar 18 10:13:55 2014
New Revision: 1578810
URL: http://svn.apache.org/r1578810
Log:
Corrected link to Tomcat 8.0 documentation. Issue is reported via comments at
apache.org
Modified:
tomcat/trunk/modules/jdbc-pool/doc/jdbc-pool.xml
Modified: tomcat/trunk/modules/jdbc-pool/doc/jdbc-pool.xml
URL:
http://svn.apache.org/viewvc/tomcat/trunk/modules/jdbc-pool/doc/jdbc-pool.xml?rev=1578810&r1=1578809&r2=1578810&view=diff
==============================================================================
--- tomcat/trunk/modules/jdbc-pool/doc/jdbc-pool.xml (original)
+++ tomcat/trunk/modules/jdbc-pool/doc/jdbc-pool.xml Tue Mar 18 10:13:55 2014
@@ -128,7 +128,7 @@
</subsection>
<subsection name="Inside the Apache Tomcat Container">
<p>
- The Tomcat Connection pool is configured as a resource described in <a
href="http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html"
target="_blank">The Tomcat JDBC documentation</a>
+ The Tomcat Connection pool is configured as a resource described in <a
href="http://tomcat.apache.org/tomcat-8.0-doc/jndi-datasource-examples-howto.html"
target="_blank">The Tomcat JDBC documentation</a>
With the only difference being that you have to specify the
<code>factory</code> attribute and set the value to
<code>org.apache.tomcat.jdbc.pool.DataSourceFactory</code>
</p>
@@ -696,7 +696,7 @@
</section>
<section name="Code Example">
- <p>Other examples of Tomcat configuration for JDBC usage can be found <a
href="http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html">in
the Tomcat documentation</a>. </p>
+ <p>Other examples of Tomcat configuration for JDBC usage can be found <a
href="http://tomcat.apache.org/tomcat-8.0-doc/jndi-datasource-examples-howto.html">in
the Tomcat documentation</a>. </p>
<subsection name="Plain Ol' Java">
<p>Here is a simple example of how to create and use a data source.</p>
<source><![CDATA[ import java.sql.Connection;
@@ -903,7 +903,7 @@
<section name="Building">
<p>We build the JDBC pool code with 1.6, but it is backwards compatible down
to 1.5 for runtime environment. For unit test, we use 1.6 and higher</p>
- <p>Other examples of Tomcat configuration for JDBC usage can be found <a
href="http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html">in
the Tomcat documentation</a>. </p>
+ <p>Other examples of Tomcat configuration for JDBC usage can be found <a
href="http://tomcat.apache.org/tomcat-8.0-doc/jndi-datasource-examples-howto.html">in
the Tomcat documentation</a>. </p>
<subsection name="Building from source">
<p>Building is pretty simple. The pool has a dependency on
<code>tomcat-juli.jar</code> and in case you want the
<code>SlowQueryReportJmx</code></p>
<source><![CDATA[ javac -classpath tomcat-juli.jar \
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]