From bdb0f7a6eaa81a510db884273cf4418710cee3a4 Mon Sep 17 00:00:00 2001
From: fhanik
Date: Mon, 15 Jun 2009 17:22:55 +0000
Subject: [PATCH] Fix documentation
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@784869 13f79535-47bb-0310-9956-ffa450edef68
---
modules/jdbc-pool/doc/changelog.xml | 2 +-
modules/jdbc-pool/doc/jdbc-pool.xml | 19 +++++++++++++++++--
2 files changed, 18 insertions(+), 3 deletions(-)
diff --git a/modules/jdbc-pool/doc/changelog.xml b/modules/jdbc-pool/doc/changelog.xml
index 383650f66..141f5f2e5 100644
--- a/modules/jdbc-pool/doc/changelog.xml
+++ b/modules/jdbc-pool/doc/changelog.xml
@@ -28,7 +28,7 @@
-
+
720253 Document how to use interceptors
diff --git a/modules/jdbc-pool/doc/jdbc-pool.xml b/modules/jdbc-pool/doc/jdbc-pool.xml
index 89a55956b..ad33b43f0 100644
--- a/modules/jdbc-pool/doc/jdbc-pool.xml
+++ b/modules/jdbc-pool/doc/jdbc-pool.xml
@@ -394,7 +394,7 @@
Interceptors can have properties as well. These would be configured within the paranthesis of the class names.
Example:
- jdbcInterceptors="ConnectionState;StatementFinalizer(useWeakReferences=true,useEquals=true)"
+ jdbcInterceptors="ConnectionState;StatementFinalizer(useEquals=true)"
@@ -679,7 +679,22 @@
-
+
+ Other examples of Tomcat configuration for JDBC usage can be found in the Tomcat documentation .
+
+ Building is pretty simple. The pool has a dependency on tomcat-juli.jar and in case you want the SlowQueryReportJmx
+ it also requires the tomcat-coyote.jar library.
+
+ javac -classpath /development/tomcat/trunk/trunk/output/build/bin/tomcat-juli.jar:/development/tomcat/trunk/trunk/output/build/lib/tomcat-coyote.jar \
+ -d . \
+ org/apache/tomcat/jdbc/pool/*.java org/apache/tomcat/jdbc/pool/interceptor/*.java org/apache/tomcat/jdbc/pool/jmx/*.java
+
+
+ A build file can be found in the Tomcat source repository .
+ It depends on the entire Tomcat trunk being checked out.
+
+
+
--
2.11.0