You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2009/05/25 12:18:13 UTC
svn commit: r778375 - in /tomcat: container/branches/tc4.1.x/
container/branches/tc4.1.x/webapps/tomcat-docs/
container/tc5.5.x/webapps/docs/ tc6.0.x/trunk/webapps/docs/
trunk/modules/jdbc-pool/doc/ trunk/webapps/docs/
Author: markt
Date: Mon May 25 10:18:13 2009
New Revision: 778375
URL: http://svn.apache.org/viewvc?rev=778375&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47235
Remove use of auto-reconnect flag from MySQL examples
Modified:
tomcat/container/branches/tc4.1.x/RELEASE-NOTES-4.1.txt
tomcat/container/branches/tc4.1.x/webapps/tomcat-docs/jndi-datasource-examples-howto.xml
tomcat/container/tc5.5.x/webapps/docs/changelog.xml
tomcat/container/tc5.5.x/webapps/docs/jndi-datasource-examples-howto.xml
tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml
tomcat/tc6.0.x/trunk/webapps/docs/jndi-datasource-examples-howto.xml
tomcat/trunk/modules/jdbc-pool/doc/jdbc-pool.xml
tomcat/trunk/webapps/docs/jndi-datasource-examples-howto.xml
Modified: tomcat/container/branches/tc4.1.x/RELEASE-NOTES-4.1.txt
URL: http://svn.apache.org/viewvc/tomcat/container/branches/tc4.1.x/RELEASE-NOTES-4.1.txt?rev=778375&r1=778374&r2=778375&view=diff
==============================================================================
--- tomcat/container/branches/tc4.1.x/RELEASE-NOTES-4.1.txt (original)
+++ tomcat/container/branches/tc4.1.x/RELEASE-NOTES-4.1.txt Mon May 25 10:18:13 2009
@@ -706,6 +706,9 @@
[4.1.39] Installer
Make file patterns used to copy files for installer more strict
+[4.1.40] Docs
+ Remove use of autoReconnect flag from MySQL examples
+
------------------
Catalina Bug Fixes:
Modified: tomcat/container/branches/tc4.1.x/webapps/tomcat-docs/jndi-datasource-examples-howto.xml
URL: http://svn.apache.org/viewvc/tomcat/container/branches/tc4.1.x/webapps/tomcat-docs/jndi-datasource-examples-howto.xml?rev=778375&r1=778374&r2=778375&view=diff
==============================================================================
--- tomcat/container/branches/tc4.1.x/webapps/tomcat-docs/jndi-datasource-examples-howto.xml (original)
+++ tomcat/container/branches/tc4.1.x/webapps/tomcat-docs/jndi-datasource-examples-howto.xml Mon May 25 10:18:13 2009
@@ -279,13 +279,10 @@
</parameter>
<!-- The JDBC connection url for connecting to your MySQL dB.
- The autoReconnect=true argument to the url makes sure that the
- mm.mysql JDBC Driver will automatically reconnect if mysqld closed the
- connection. mysqld by default closes idle connections after 8 hours.
-->
<parameter>
<name>url</name>
- <value>jdbc:mysql://localhost:3306/javatest?autoReconnect=true</value>
+ <value>jdbc:mysql://localhost:3306/javatest</value>
</parameter>
</ResourceParams>
</Context>
Modified: tomcat/container/tc5.5.x/webapps/docs/changelog.xml
URL: http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/webapps/docs/changelog.xml?rev=778375&r1=778374&r2=778375&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/webapps/docs/changelog.xml (original)
+++ tomcat/container/tc5.5.x/webapps/docs/changelog.xml Mon May 25 10:18:13 2009
@@ -108,6 +108,10 @@
<bug>47032</bug>: Fix /status/all in Manager webapp when using the
PersistentManager. (markt)
</fix>
+ <fix>
+ <bug>47235</bug>: Remove use of autoReconnect from MySQL examples.
+ (mark)
+ </fix>
</changelog>
</subsection>
<subsection name="Coyote" >
Modified: tomcat/container/tc5.5.x/webapps/docs/jndi-datasource-examples-howto.xml
URL: http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/webapps/docs/jndi-datasource-examples-howto.xml?rev=778375&r1=778374&r2=778375&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/webapps/docs/jndi-datasource-examples-howto.xml (original)
+++ tomcat/container/tc5.5.x/webapps/docs/jndi-datasource-examples-howto.xml Mon May 25 10:18:13 2009
@@ -240,15 +240,12 @@
-->
<!-- url: The JDBC connection url for connecting to your MySQL dB.
- The autoReconnect=true argument to the url makes sure that the
- mm.mysql JDBC Driver will automatically reconnect if mysqld closed the
- connection. mysqld by default closes idle connections after 8 hours.
-->
<Resource name="jdbc/TestDB" auth="Container" type="javax.sql.DataSource"
maxActive="100" maxIdle="30" maxWait="10000"
username="javauser" password="javadude" driverClassName="com.mysql.jdbc.Driver"
- url="jdbc:mysql://localhost:3306/javatest?autoReconnect=true"/>
+ url="jdbc:mysql://localhost:3306/javatest"/>
</Context>
</source>
Modified: tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml?rev=778375&r1=778374&r2=778375&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml Mon May 25 10:18:13 2009
@@ -53,6 +53,14 @@
</fix>
</changelog>
</subsection>
+ <subsection name="Webapps">
+ <changelog>
+ <fix>
+ <bug>47235</bug>: Remove use of autoReconnect from MySQL examples.
+ (mark)
+ </fix>
+ </changelog>
+ </subsection>
<subsection name="Other">
<changelog>
<fix>
Modified: tomcat/tc6.0.x/trunk/webapps/docs/jndi-datasource-examples-howto.xml
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/jndi-datasource-examples-howto.xml?rev=778375&r1=778374&r2=778375&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/webapps/docs/jndi-datasource-examples-howto.xml (original)
+++ tomcat/tc6.0.x/trunk/webapps/docs/jndi-datasource-examples-howto.xml Mon May 25 10:18:13 2009
@@ -240,15 +240,12 @@
-->
<!-- url: The JDBC connection url for connecting to your MySQL dB.
- The autoReconnect=true argument to the url makes sure that the
- mm.mysql JDBC Driver will automatically reconnect if mysqld closed the
- connection. mysqld by default closes idle connections after 8 hours.
-->
<Resource name="jdbc/TestDB" auth="Container" type="javax.sql.DataSource"
maxActive="100" maxIdle="30" maxWait="10000"
username="javauser" password="javadude" driverClassName="com.mysql.jdbc.Driver"
- url="jdbc:mysql://localhost:3306/javatest?autoReconnect=true"/>
+ url="jdbc:mysql://localhost:3306/javatest"/>
</Context>
</source>
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=778375&r1=778374&r2=778375&view=diff
==============================================================================
--- tomcat/trunk/modules/jdbc-pool/doc/jdbc-pool.xml (original)
+++ tomcat/trunk/modules/jdbc-pool/doc/jdbc-pool.xml Mon May 25 10:18:13 2009
@@ -478,7 +478,7 @@
public static void main(String[] args) throws Exception {
PoolProperties p = new PoolProperties();
- p.setUrl("jdbc:mysql://localhost:3306/mysql?autoReconnect=true");
+ p.setUrl("jdbc:mysql://localhost:3306/mysql");
p.setDriverClassName("com.mysql.jdbc.Driver");
p.setUsername("root");
p.setPassword("password");
@@ -546,7 +546,7 @@
username="root"
password="password"
driverClassName="com.mysql.jdbc.Driver"
- url="jdbc:mysql://localhost:3306/mysql?autoReconnect=true"/>
+ url="jdbc:mysql://localhost:3306/mysql"/>
</source>
Modified: tomcat/trunk/webapps/docs/jndi-datasource-examples-howto.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/jndi-datasource-examples-howto.xml?rev=778375&r1=778374&r2=778375&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/jndi-datasource-examples-howto.xml (original)
+++ tomcat/trunk/webapps/docs/jndi-datasource-examples-howto.xml Mon May 25 10:18:13 2009
@@ -240,15 +240,12 @@
-->
<!-- url: The JDBC connection url for connecting to your MySQL dB.
- The autoReconnect=true argument to the url makes sure that the
- mm.mysql JDBC Driver will automatically reconnect if mysqld closed the
- connection. mysqld by default closes idle connections after 8 hours.
-->
<Resource name="jdbc/TestDB" auth="Container" type="javax.sql.DataSource"
maxActive="100" maxIdle="30" maxWait="10000"
username="javauser" password="javadude" driverClassName="com.mysql.jdbc.Driver"
- url="jdbc:mysql://localhost:3306/javatest?autoReconnect=true"/>
+ url="jdbc:mysql://localhost:3306/javatest"/>
</Context>
</source>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org