commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject cvs commit: jakarta-commons/dbcp/xdocs release-notes-1.2.1.xml downloads.xml
Date Sat, 12 Jun 2004 13:25:56 GMT
dirkv       2004/06/12 06:25:56

  Modified:    dbcp/xdocs downloads.xml
  Added:       dbcp/xdocs release-notes-1.2.1.xml
  prepare release 1.2.1
  Revision  Changes    Path
  1.7       +2 -1      jakarta-commons/dbcp/xdocs/downloads.xml
  Index: downloads.xml
  RCS file: /home/cvs/jakarta-commons/dbcp/xdocs/downloads.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- downloads.xml	7 Jun 2004 17:56:43 -0000	1.6
  +++ downloads.xml	12 Jun 2004 13:25:56 -0000	1.7
  @@ -25,6 +25,7 @@
         <section name="Releases">
            <p>The following releases are available:</p>
  +           <li>Version 1.2.1 - 14 June 2004 - <a href="release-notes-1.2.1.html">(release
              <li>Version 1.2 - 7 June 2004 - <a href="release-notes-1.2.html">(release
              <li>Version 1.1 - 20 October 2003 - <a href="release-notes-1.1.html">(release
              <li>Version 1.0 - 12 August 2002</li>
  1.1                  jakarta-commons/dbcp/xdocs/release-notes-1.2.1.xml
  Index: release-notes-1.2.1.xml
  <?xml version="1.0"?>
     Copyright 2003-2004 The Apache Software Foundation
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at
     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
        <title>Release notes for Commons-DBCP 1.2.1</title>
        <author email="">Commons Documentation Team</author>
        <revision>$Id: release-notes-1.2.1.xml,v 1.1 2004/06/12 13:25:56 dirkv Exp $</revision>
       <section name="Release notes for Commons-DBCP 1.2.1">
  <b>NOTE:</b> DBCP v1.2.1 requires Pool v1.2, make sure you use the correct version!
  <p>DBCP 1.2.1 is a maintenance release to restore full JDK 1.3 compatibility.</p>
  <p>The problem lies in the improper use of a JDK 1.4 method: java.lang.Boolean.valueOf(boolean)</p>
  <p>This method was used in the defaultReadOnly property processing.</p>
  <p>We recommend to upgrade to DBCP 1.2.1 to avoid this problem altogether.</p>
  <p>If you use the defaultReadOnly property in a JRE &lt;1.4, you will get the
following error:
  	at org.apache.commons.dbcp.BasicDataSource.setDefaultReadOnly(
  	at org.apache.commons.dbcp.BasicDataSourceFactory.createDataSource(
  	at org.apache.commons.dbcp.BasicDataSourceFactory.getObjectInstance(
  	at org.apache.naming.factory.ResourceFactory.getObjectInstance(
  <p>The simple workaround is not to use this property. For example remove the following
from the tomcat config.xml.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message