pax_global_header 0000666 0000000 0000000 00000000064 14101262766 0014517 g ustar 00root root 0000000 0000000 52 comment=2abdb498d0aa7b65d668fc5661795bc83844d8fa
commons-dbcp-rel-commons-dbcp-2.9.0/ 0000775 0000000 0000000 00000000000 14101262766 0017247 5 ustar 00root root 0000000 0000000 commons-dbcp-rel-commons-dbcp-2.9.0/.github/ 0000775 0000000 0000000 00000000000 14101262766 0020607 5 ustar 00root root 0000000 0000000 commons-dbcp-rel-commons-dbcp-2.9.0/.github/dependabot.yml 0000664 0000000 0000000 00000001734 14101262766 0023444 0 ustar 00root root 0000000 0000000 # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# 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.
version: 2
updates:
- package-ecosystem: "maven"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
commons-dbcp-rel-commons-dbcp-2.9.0/.github/workflows/ 0000775 0000000 0000000 00000000000 14101262766 0022644 5 ustar 00root root 0000000 0000000 commons-dbcp-rel-commons-dbcp-2.9.0/.github/workflows/maven.yml 0000664 0000000 0000000 00000003050 14101262766 0024473 0 ustar 00root root 0000000 0000000 # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# 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.
name: Java CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
java: [ 8, 11, 16 ]
experimental: [false]
include:
- java: 17-ea
experimental: true
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/cache@v2.1.6
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: ${{ matrix.java }}
- name: Build with Maven
run: mvn -V --file pom.xml --no-transfer-progress
commons-dbcp-rel-commons-dbcp-2.9.0/.gitignore 0000664 0000000 0000000 00000000377 14101262766 0021246 0 ustar 00root root 0000000 0000000 target/
pom.xml.tag
pom.xml.releaseBackup
pom.xml.versionsBackup
pom.xml.next
release.properties
site-content
/.checkstyle
/.classpath
/.pmd
/.project
/.settings
/ObjectStore/
/bin/
# no IDE stuff in our SCM
.classpath
.settings
.idea
*.iml
.nbproject
commons-dbcp-rel-commons-dbcp-2.9.0/.travis.yml 0000664 0000000 0000000 00000001614 14101262766 0021362 0 ustar 00root root 0000000 0000000 # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# 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.
language: java
sudo: false
cache:
directories:
- $HOME/.m2
jdk:
- openjdk8
- openjdk11
- openjdk16
- openjdk-ea
commons-dbcp-rel-commons-dbcp-2.9.0/CODE_OF_CONDUCT.md 0000664 0000000 0000000 00000001641 14101262766 0022050 0 ustar 00root root 0000000 0000000
The Apache code of conduct page is [https://www.apache.org/foundation/policies/conduct.html](https://www.apache.org/foundation/policies/conduct.html).
commons-dbcp-rel-commons-dbcp-2.9.0/CONTRIBUTING.md 0000664 0000000 0000000 00000014601 14101262766 0021502 0 ustar 00root root 0000000 0000000
Contributing to Apache Commons DBCP
======================
You have found a bug or you have an idea for a cool new feature? Contributing code is a great way to give something back to
the open source community. Before you dig right into the code there are a few guidelines that we need contributors to
follow so that we can have a chance of keeping on top of things.
Getting Started
---------------
+ Make sure you have a [JIRA account](https://issues.apache.org/jira/).
+ Make sure you have a [GitHub account](https://github.com/signup/free).
+ If you're planning to implement a new feature it makes sense to discuss your changes on the [dev list](https://commons.apache.org/mail-lists.html) first. This way you can make sure you're not wasting your time on something that isn't considered to be in Apache Commons DBCP's scope.
+ Submit a [Jira Ticket][jira] for your issue, assuming one does not already exist.
+ Clearly describe the issue including steps to reproduce when it is a bug.
+ Make sure you fill in the earliest version that you know has the issue.
+ Find the corresponding [repository on GitHub](https://github.com/apache/?query=commons-),
[fork](https://help.github.com/articles/fork-a-repo/) and check out your forked repository.
Making Changes
--------------
+ Create a _topic branch_ for your isolated work.
* Usually you should base your branch on the `master` or `trunk` branch.
* A good topic branch name can be the JIRA bug id plus a keyword, e.g. `DBCP-123-InputStream`.
* If you have submitted multiple JIRA issues, try to maintain separate branches and pull requests.
+ Make commits of logical units.
* Make sure your commit messages are meaningful and in the proper format. Your commit message should contain the key of the JIRA issue.
* e.g. `DBCP-123: Close input stream earlier`
+ Respect the original code style:
+ Only use spaces for indentation.
+ Create minimal diffs - disable _On Save_ actions like _Reformat Source Code_ or _Organize Imports_. If you feel the source code should be reformatted create a separate PR for this change first.
+ Check for unnecessary whitespace with `git diff` -- check before committing.
+ Make sure you have added the necessary tests for your changes, typically in `src/test/java`.
+ Run all the tests with `mvn clean verify` to assure nothing else was accidentally broken.
Making Trivial Changes
----------------------
The JIRA tickets are used to generate the changelog for the next release.
For changes of a trivial nature to comments and documentation, it is not always necessary to create a new ticket in JIRA.
In this case, it is appropriate to start the first line of a commit with '(doc)' instead of a ticket number.
Submitting Changes
------------------
+ Sign and submit the Apache [Contributor License Agreement][cla] if you haven't already.
* Note that small patches & typical bug fixes do not require a CLA as
clause 5 of the [Apache License](https://www.apache.org/licenses/LICENSE-2.0.html#contributions)
covers them.
+ Push your changes to a topic branch in your fork of the repository.
+ Submit a _Pull Request_ to the corresponding repository in the `apache` organization.
* Verify _Files Changed_ shows only your intended changes and does not
include additional files like `target/*.class`
+ Update your JIRA ticket and include a link to the pull request in the ticket.
If you prefer to not use GitHub, then you can instead use
`git format-patch` (or `svn diff`) and attach the patch file to the JIRA issue.
Additional Resources
--------------------
+ [Contributing patches](https://commons.apache.org/patches.html)
+ [Apache Commons DBCP JIRA project page][jira]
+ [Contributor License Agreement][cla]
+ [General GitHub documentation](https://help.github.com/)
+ [GitHub pull request documentation](https://help.github.com/articles/creating-a-pull-request/)
+ [Apache Commons Twitter Account](https://twitter.com/ApacheCommons)
+ `#apache-commons` IRC channel on `irc.freenode.net`
[cla]:https://www.apache.org/licenses/#clas
[jira]:https://issues.apache.org/jira/browse/DBCP
commons-dbcp-rel-commons-dbcp-2.9.0/LICENSE.txt 0000664 0000000 0000000 00000026136 14101262766 0021102 0 ustar 00root root 0000000 0000000
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
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
http://www.apache.org/licenses/LICENSE-2.0
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.
commons-dbcp-rel-commons-dbcp-2.9.0/NOTICE.txt 0000664 0000000 0000000 00000000256 14101262766 0020774 0 ustar 00root root 0000000 0000000 Apache Commons DBCP
Copyright 2001-2021 The Apache Software Foundation
This product includes software developed at
The Apache Software Foundation (https://www.apache.org/).
commons-dbcp-rel-commons-dbcp-2.9.0/README.md 0000664 0000000 0000000 00000013066 14101262766 0020534 0 ustar 00root root 0000000 0000000
Apache Commons DBCP
===================
[](https://travis-ci.org/apache/commons-dbcp)
[](https://github.com/apache/commons-dbcp/actions)
[](https://coveralls.io/r/apache/commons-dbcp)
[](https://maven-badges.herokuapp.com/maven-central/org.apache.commons/commons-dbcp2/)
[](https://javadoc.io/doc/org.apache.commons/commons-dbcp2/2.9.0)
Apache Commons DBCP software implements Database Connection Pooling
Documentation
-------------
More information can be found on the [Apache Commons DBCP homepage](https://commons.apache.org/proper/commons-dbcp).
The [Javadoc](https://commons.apache.org/proper/commons-dbcp/apidocs) can be browsed.
Questions related to the usage of Apache Commons DBCP should be posted to the [user mailing list][ml].
Where can I get the latest release?
-----------------------------------
You can download source and binaries from our [download page](https://commons.apache.org/proper/commons-dbcp/download_dbcp.cgi).
Alternatively you can pull it from the central Maven repositories:
```xml
org.apache.commons
commons-dbcp2
2.9.0
```
Contributing
------------
We accept Pull Requests via GitHub. The [developer mailing list][ml] is the main channel of communication for contributors.
There are some guidelines which will make applying PRs easier for us:
+ No tabs! Please use spaces for indentation.
+ Respect the code style.
+ Create minimal diffs - disable on save actions like reformat source code or organize imports. If you feel the source code should be reformatted create a separate PR for this change.
+ Provide JUnit tests for your changes and make sure your changes don't break any existing tests by running ```mvn clean test```.
If you plan to contribute on a regular basis, please consider filing a [contributor license agreement](https://www.apache.org/licenses/#clas).
You can learn more about contributing via GitHub in our [contribution guidelines](CONTRIBUTING.md).
License
-------
This code is under the [Apache Licence v2](https://www.apache.org/licenses/LICENSE-2.0).
See the `NOTICE.txt` file for required notices and attributions.
Donations
---------
You like Apache Commons DBCP? Then [donate back to the ASF](https://www.apache.org/foundation/contributing.html) to support the development.
Additional Resources
--------------------
+ [Apache Commons Homepage](https://commons.apache.org/)
+ [Apache Issue Tracker (JIRA)](https://issues.apache.org/jira/browse/DBCP)
+ [Apache Commons Twitter Account](https://twitter.com/ApacheCommons)
+ `#apache-commons` IRC channel on `irc.freenode.org`
[ml]:https://commons.apache.org/mail-lists.html
commons-dbcp-rel-commons-dbcp-2.9.0/README.txt 0000664 0000000 0000000 00000001001 14101262766 0020735 0 ustar 00root root 0000000 0000000 Apache Commons DBCP
===========================
Welcome to the DBCP component of the Apache Commons
project (https://commons.apache.org).
DBCP version 2.5.0 requires JDK 1.8.
DBCP can be built using either Maven or Ant. When building using Ant,
Locations of dependent jars for the Ant build need to be specified in
build.properties. There is a build.properties.sample file included in the
source distribution.
See https://commons.apache.org/dbcp/ for additional and
up-to-date information on Commons DBCP.
commons-dbcp-rel-commons-dbcp-2.9.0/RELEASE-NOTES.txt 0000664 0000000 0000000 00000064441 14101262766 0021767 0 ustar 00root root 0000000 0000000 Apache Apache Commons DBCP
Version 2.9.0
RELEASE NOTES
The Apache Commons DBCP team is pleased to announce the release of Apache Apache Commons DBCP 2.9.0.
Apache Commons DBCP software implements Database Connection Pooling.
This is a minor release, including bug fixes and enhancements.
Changes in this version include:
New features:
o Add and reuse Constants.KEY_USER and Constants.KEY_PASSWORD. Thanks to Gary Gregory.
o Add and reuse DataSourceMXBean. Thanks to Frank Gasdorf, Gary Gregory.
o Add and reuse DriverAdapterCPDS.{get|set}DurationBetweenEvictionRuns(), deprecate {get|set}TimeBetweenEvictionRunsMillis(long). Thanks to Gary Gregory.
o Add and reuse DriverAdapterCPDS.{get|set}MinEvictableIdleDuration(), deprecate {get|set}MinEvictableIdleTimeMillis(int). Thanks to Gary Gregory.
o Add and reuse CPDSConnectionFactory.setMaxConnLifetime(Duration), deprecate setMaxConnLifetimeMillis(long). Thanks to Gary Gregory.
o Add and reuse KeyedCPDSConnectionFactory.setMaxConnLifetime(Duration), deprecate setMaxConnLifetimeMillis(long). Thanks to Gary Gregory.
o Add and reuse KeyedCPDSConnectionFactory.setMaxConnLifetime(Duration), deprecate setMaxConnLifetimeMillis(long). Thanks to Gary Gregory.
o Add and reuse InstanceKeyDataSource.{get|set}DefaultMaxWait(Duration), deprecate {get|set}DefaultMaxWaitMillis(long). Thanks to Gary Gregory.
Fixed Bugs:
o DBCP-569: Fix test random failure on TestSynchronizationOrder.testInterposedSynchronization, #84. Thanks to Florent Guillaume.
o DBCP-568: ManagedConnection must clear its cached state after transaction completes, #75. Thanks to Florent Guillaume.
o Minor Improvements #78. Thanks to Arturo Bernal.
o DBCP-567: Use abort rather than close to clean up abandoned connections. Thanks to Phil Steitz, Gary Gregory, Phil Steitz, Romain Manni-Bucau.
o Performance Enhancement: Call toArray with Zero Array Size #20. Thanks to Gary Gregory, DaGeRe.
o DBCP-562: Avoid exposing password via JMX #38. Thanks to Frank Gasdorf, Gary Gregory.
o DBCP-575: Remove redundant initializers #98. Thanks to Arturo Bernal.
o DBCP-577: Simplify test assertions #100, #113. Thanks to Arturo Bernal.
o DBCP-573: DataSource implementations do not implement Wrapper interface correctly #93. Thanks to Réda Housni Alaoui, Gary Gregory.
o Replace FindBugs with SpotBugs.
o DataSourceConnectionFactory.getUserPassword() may expose internal representation by returning DataSourceConnectionFactory.userPassword.
o DataSourceXAConnectionFactory.getUserPassword() may expose internal representation by returning DataSourceXAConnectionFactory.userPassword.
o DriverAdapterCPDS.getPasswordCharArray() may expose internal representation by returning DriverAdapterCPDS.userPassword.
o new org.apache.commons.dbcp2.managed.DataSourceXAConnectionFactory(TransactionManager, XADataSource, String, char[], TransactionSynchronizationRegistry) may expose internal representation by storing an externally mutable object into DataSourceXAConnectionFactory.userPassword.
o org.apache.commons.dbcp2.managed.DataSourceXAConnectionFactory.setPassword(char[]) may expose internal representation by storing an externally mutable object into DataSourceXAConnectionFactory.userPassword.
o org.apache.commons.dbcp2.PStmtKey.getColumnIndexes() may expose internal representation by returning PStmtKey.columnIndexes.
o org.apache.commons.dbcp2.PStmtKey.getColumnNames() may expose internal representation by returning PStmtKey.columnNames.
o DBCP-578: Use Collections.synchronizedList() Instead Of Vector #101. Thanks to Arturo Bernal.
o DBCP-576: Simplify and inline variables #99. Thanks to Arturo Bernal.
o Update PoolKey#toString() to avoid revealing a user name is here. Thanks to Gary Gregory.
o Internal package private UserPassKey class stores its user name as a char[] as it already does the password. Thanks to Gary Gregory.
o DBCP-579: Performance of DelegatingConnection.prepareStatement(String) regressed enormously in 2.8.0 compared to 1.4.
DelegatingConnection should also cache connection schema string to avoid calling the Connection#getSchema() for each key creation.
DelegatingConnection should also cache connection catalog string to avoid calling the Connection#getCatalog() for each key creation. Thanks to Shaktisinh Jhala, Gary Gregory.
o BasicDataSource should test for the presence of a security manager dynamically, not once on initialization. Thanks to Gary Gregory.
Changes:
o Bump mockito-core from 3.5.11 to 3.11.2 #66, #72, #77, #85, #91, #105, #110, #116. Thanks to Dependabot.
o Bump actions/checkout from v2.3.2 to v2.3.4 #65, #74. Thanks to Dependabot.
o Bump actions/cache from v2 to v2.1.6 #90, #108. Thanks to Dependabot.
o Bump commons-pool2 from 2.8.1 to 2.9.0. Thanks to Gary Gregory.
o Bump actions/setup-java from v1.4.2 to v2 #69. Thanks to Dependabot, Gary Gregory.
o Bump japicmp-maven-plugin from 0.14.3 to 0.15.2 #71, #82. Thanks to Dependabot, Gary Gregory.
o Bump maven-pmd-plugin from 3.13.0 to 3.14.0 #76. Thanks to Dependabot.
o Bump japicmp-maven-plugin from 0.14.4 to 0.15.3, #83. Thanks to Dependabot, Gary Gregory.
o Bump Hamcrest 1.3 -> 2.2 #70. Thanks to John Patrick.
o Bump maven-checkstyle-plugin from 3.1.1 to 3.1.2 #88. Thanks to Gary Gregory.
o Bump junit-jupiter from 5.7.0 to 5.8.0-M1, #89, #106. Thanks to Gary Gregory.
o Bump narayana-jta from 5.10.6.Final to 5.12.0.Final #103, #111. Thanks to Dependabot.
o Bump maven-javadoc-plugin from 3.2.0 to 3.3.0 #107. Thanks to Dependabot.
o Bump commons.jacoco.version 0.8.6 -> 0.8.7. Thanks to Gary Gregory.
o Bump jboss-logging from 3.4.1.Final to 3.4.2.Final #109. Thanks to Dependabot.
o Bump org.jboss:jboss-transaction-spi from 7.6.0.Final to 7.6.1.Final. Thanks to Gary Gregory.
o Bump commons-pool2 from 2.9.0 to 2.10.0. Thanks to Gary Gregory.
o Bump checkstyle to 8.44. Thanks to Gary Gregory.
o Bump spotbugs from 4.2.3 to 4.3.0 #117. Thanks to Dependabot.
o Bump spotbugs-maven-plugin from 4.2.3 to 4.3.0 #118. Thanks to Dependabot.
For complete information on Apache Commons DBCP, including instructions on how to submit bug reports,
patches, or suggestions for improvement, see the Apache Apache Commons DBCP website:
https://commons.apache.org/dbcp/
Download page: https://commons.apache.org/dbcp/download_dbcp.cgi
-----------------------------------------------------------------------------
Apache Apache Commons DBCP
Version 2.8.0
RELEASE NOTES
The Apache Commons DBCP team is pleased to announce the release of Apache Apache Commons DBCP 2.8.0.
Apache Commons DBCP software implements Database Connection Pooling.
This is a minor release, including bug fixes and enhancements.
Changes in this version include:
New features:
o DBCP-564: Fix BasicManagedDataSource leak of connections opened after transaction is rollback-only #39. Thanks to Florent Guillaume.
o DBCP-566: Add clearStatementPoolOnReturn #42. Thanks to Robert Paschek, Gary Gregory, Phil Steitz.
o DBCP-559: Add start, restart methods to BasicDataSource. #50. Thanks to Phil Steitz.
Fixed Bugs:
o DBCP-555: NPE when creating a SQLExceptionList with a null list. Thanks to Gary Gregory.
o DBCP-558: Fix DelegatingConnection readOnly and autoCommit caching mechanism #35. Thanks to louislatreille.
o Fix regression introduced by unreleased code clean-up #63. Thanks to Sebastian Haas.
Changes:
o Update to PR#36 - PrepareStatement and prepareCall methods are extracted #37. Thanks to DoiMasayuki, Alexander Norz, Gary Gregory.
o Mask out user name and password from DriverAdapterCPDS.toString(). Thanks to Gary Gregory.
o DBCP-650: Update Apache Commons Pool from 2.7.0 to 2.8.1, #48. Thanks to Gary Gregory, Dependabot.
o Update tests from H2 1.4.199 to 1.4.200. Thanks to Gary Gregory.
o Update tests from Mockito 3.0.0 to 3.5.11 #47, #60, #64. Thanks to Gary Gregory, Dependabot.
o Update tests from jboss-logging 3.4.0.Final to 3.4.1.Final. Thanks to Gary Gregory.
o Update tests from narayana-jta 5.9.5.Final to 5.10.6.Final, #61. Thanks to Gary Gregory.
o Update tests from junit-jupiter 5.5.1 to 5.7.0 #62. Thanks to Gary Gregory.
o Update tests from org.slf4j:slf4j-simple 1.7.26 to 1.7.30. Thanks to Gary Gregory.
o Update build from com.github.siom79.japicmp:japicmp-maven-plugin 0.13.1 to 0.14.3. Thanks to Gary Gregory.
o Update build from maven-javadoc-plugin 3.1.1 to 3.2.0. Thanks to Gary Gregory.
o Update build from maven-pmd-plugin 3.12.0 to 3.13.0. Thanks to Gary Gregory.
o Update org.apache.commons:commons-parent from 48 to 51. Thanks to Gary Gregory.
o Update jacoco-maven-plugin from 0.8.4 to 0.8.6. Thanks to Gary Gregory.
o Update maven-checkstyle-plugin from 3.0.0 to 3.1.1. Thanks to Gary Gregory.
o Update actions/checkout from v1 to v2.3.2, #44, #51. Thanks to Dependabot.
o Update actions/setup-java from v1.4.0 to v1.4.2 #58. Thanks to Dependabot.
For complete information on Apache Commons DBCP, including instructions on how to submit bug reports,
patches, or suggestions for improvement, see the Apache Apache Commons DBCP website:
https://commons.apache.org/dbcp/
Download page: https://commons.apache.org/dbcp/download_dbcp.cgi
-----------------------------------------------------------------------------
Apache Apache Commons DBCP
Version 2.7.0
RELEASE NOTES
7 July 2019
The Apache Commons DBCP team is pleased to announce the release of Apache Apache Commons DBCP 2.7.0.
Apache Commons DBCP software implements Database Connection Pooling.
This is a minor release, including bug fixes and enhancements.
Changes in this version include:
New features:
o DBCP-539: ManagedDataSource#close() should declare used exceptions. Thanks to Jacques Le Roux.
o DBCP-547: Add a ConnectionFactory class name setting for BasicDataSource.createConnectionFactory() #33. Thanks to leechoongyon, Gary Gregory.
o Add missing Javadocs. Thanks to Gary Gregory.
Fixed Bugs:
o DBCP-538: Wrong JMX base name derived in BasicDataSource#updateJmxName. Thanks to Ragnar Haugan, Gary Gregory.
o DBCP-546: Avoid NPE when calling DriverAdapterCPDS.toString(). Thanks to Sergey Chupov.
o DBCP-550: java.util.IllegalFormatException while building a message for a SQLFeatureNotSupportedException in Jdbc41Bridge.getObject(ResultSet,String,Class). Thanks to Gary Gregory.
o Fix Javadoc link in README.md #21. Thanks to LichKing-lee.
Changes:
o DBCP-540: Close ObjectOutputStream before calling toByteArray() on underlying ByteArrayOutputStream #28. Thanks to emopers.
o DBCP-541: Upgrade to JUnit Jupiter #19. Thanks to Allon Murienik.
o DBCP-542: Fix tests on Java 11. Thanks to Zheng Feng, Gary Gregory.
o DBCP-543: Update Apache Commons Pool from 2.6.1 to 2.6.2. Thanks to Gary Gregory.
o DBCP-529: Add 'jmxName' property to web configuration parameters listing. Thanks to Yuri.
o DBCP-548: Update Apache Commons Pool from 2.6.2 to 2.7.0. Thanks to Gary Gregory.
o DBCP-549: Make org.apache.commons.dbcp2.AbandonedTrace.removeTrace(AbandonedTrace) null-safe. Thanks to Gary Gregory.
o DBCP-551: org.apache.commons.dbcp2.DelegatingStatement.close() should try to close ALL of its result sets even when an exception occurs. Thanks to Gary Gregory.
o DBCP-552: org.apache.commons.dbcp2.DelegatingConnection.passivate() should close ALL of its resources even when an exception occurs. Thanks to Gary Gregory.
o DBCP-553: org.apache.commons.dbcp2.PoolablePreparedStatement.passivate() should close ALL of its resources even when an exception occurs. Thanks to Gary Gregory.
o DBCP-554: org.apache.commons.dbcp2.PoolableCallableStatement.passivate() should close ALL of its resources even when an exception occurs. Thanks to Gary Gregory.
o Update tests from org.mockito:mockito-core 2.28.2 to 3.0.0. Thanks to Gary Gregory.
o Update tests from H2 1.4.198 to 1.4.199. Thanks to Gary Gregory.
o Update tests from com.h2database:h2 1.4.197 to 1.4.199. Thanks to Gary Gregory.
o Update tests from org.jboss.narayana.jta:narayana-jta 5.9.2.Final to 5.9.5.Final. Thanks to Gary Gregory.
o Update tests from org.jboss.logging:jboss-logging 3.3.2.Final to 3.4.0.Final. Thanks to Gary Gregory.
o Update tests from org.mockito:mockito-core 2.24.0 to 2.28.2. Thanks to Gary Gregory.
o Update tests from org.mockito:mockito-core 2.28.2 to 3.0.0. Thanks to Gary Gregory.
For complete information on Apache Commons DBCP, including instructions on how to submit bug reports,
patches, or suggestions for improvement, see the Apache Apache Commons DBCP website:
https://commons.apache.org/dbcp/
Download page: https://commons.apache.org/dbcp/download_dbcp.cgi
-----------------------------------------------------------------------------
Apache Apache Commons DBCP
Version 2.6.0
RELEASE NOTES
The Apache Commons DBCP team is pleased to announce the release of Apache Apache Commons DBCP 2.6.0.
Apache Commons DBCP software implements Database Connection Pooling.
This is a minor release, including bug fixes and enhancements.
Changes in this version include:
New features:
o DBCP-534: Allow for manual connection eviction. Thanks to Peter Wicks.
o DBCP-514: Allow DBCP to register with a TransactionSynchronizationRegistry for XA cases. Thanks to Tom Jenkinson, Gary Gregory.
o DBCP-519: Add some toString() methods for debugging (never printing passwords.) Thanks to Gary Gregory.
o DBCP-527: Add getters to some classes. Thanks to Gary Gregory.
o DBCP-528: org.apache.commons.dbcp2.DriverManagerConnectionFactory should use a char[] instead of a String to store passwords. Thanks to Gary Gregory.
Fixed Bugs:
o DBCP-518: Allow DBCP to work with old Java 6/JDBC drivers without throwing AbstractMethodError. Thanks to Gary Gregory.
Changes:
o DBCP-517: Make defensive copies of char[] passwords. Thanks to Gary Gregory.
o DBCP-515: Do not try to register synchronization when the transaction is no longer active. Thanks to Tom Jenkinson, Gary Gregory.
o DBCP-516: Do not double returnObject back to the pool if there is a transaction context with a shared connection. Thanks to Tom Jenkinson, Gary Gregory.
o DBCP-520: BasicManagedDataSource needs to pass the TSR with creating DataSourceXAConnectionFactory. Thanks to Zheng Feng.
o DBCP-537: Update Apache Commons Pool from 2.6.0 to 2.6.1. Thanks to Gary Gregory.
For complete information on Apache Commons DBCP, including instructions on how to submit bug reports,
patches, or suggestions for improvement, see the Apache Apache Commons DBCP website:
https://commons.apache.org/dbcp/
Download page: https://commons.apache.org/dbcp/download_dbcp.cgi
-----------------------------------------------------------------------------
Apache Apache Commons DBCP
Version 2.5.0
RELEASE NOTES
The Apache Commons DBCP team is pleased to announce the release of Apache Apache Commons DBCP 2.5.0.
Apache Commons DBCP software implements Database Connection Pooling.
This is a minor release, including bug fixes and enhancements and requires Java 8 to support JDBC 4.2.
Changes in this version include:
New features:
o DBCP-506: Support JDBC 4.2. Thanks to Gary Gregory.
o DBCP-479: Support default schema in configuration. Thanks to Guillaume Husta, Gary Gregory.
Fixed Bugs:
o DBCP-508: Prepared statement keys should take a Connection's schema into account. Thanks to Gary Gregory.
o DBCP-512: Avoid exceptions when closing a connection in mutli-threaded use case. Thanks to Gary Gregory.
Changes:
o DBCP-505: Update Java requirement from version 7 to 8. Thanks to Gary Gregory.
o DBCP-427: Examines 'SQLException's thrown by underlying connections or statements for fatal (disconnection) errors. Thanks to Vladimir Konkov, Phil Steitz, Gary Gregory.
o DBCP-507: Change default for fail-fast connections from false to true. Thanks to Vladimir Konkov, Phil Steitz, Gary Gregory.
o DBCP-504: Increase test coverage. Thanks to Bruno P. Kinoshita.
o DBCP-510: Update Apache Commons Pool from 2.5.0 to 2.6.0. Thanks to Gary Gregory.
Note that Clirr incorrectly reports one binary incompatible change because it is not aware of Java 8 and default methods:
[ERROR] 7012: org.apache.commons.dbcp2.BasicDataSourceMXBean: Method 'public java.lang.String getDefaultSchema()' has been added to an interface
For complete information on Apache Commons DBCP, including instructions on how to submit bug reports,
patches, or suggestions for improvement, see the Apache Apache Commons DBCP website:
https://commons.apache.org/dbcp/
Download from https://commons.apache.org/proper/commons-dbcp/download_dbcp.cgi
-----------------------------------------------------------------------------
Download page: https://commons.apache.org/dbcp/download_dbcp.cgi
Apache Apache Commons DBCP
Version 2.4.0
RELEASE NOTES
The Apache Commons DBCP team is pleased to announce the release of Apache Apache Commons DBCP 2.4.0.
Apache Commons DBCP software implements Database Connection Pooling.
This is a minor release, including bug fixes and enhancements, which you can download from https://commons.apache.org/proper/commons-dbcp/download_dbcp.cgi
Changes in this version include:
Fixed Bugs:
o DBCP-484: Connection leak during XATransaction in high load. Thanks to Emanuel Freitas.
o DBCP-496: Add support for pooling CallableStatements to the org.apache.commons.dbcp2.cpdsadapter package. Thanks to Gary Gregory.
Changes:
o DBCP-492: Drop Ant build. Thanks to Gary Gregory.
o DBCP-491: Ensure DBCP ConnectionListener can deal with transaction managers which invoke rollback in a separate thread. Thanks to Zheng Feng, Gary Gregory.
o DBCP-494: org.apache.commons.dbcp2.PStmtKey should make copies of given arrays in constructors. Thanks to Gary Gregory.
o DBCP-495: Remove duplicate code in org.apache.commons.dbcp2.cpdsadapter.PStmtKeyCPDS. Thanks to Gary Gregory.
o DBCP-497: Deprecate use of PStmtKeyCPDS in favor of PStmtKey. Thanks to Gary Gregory.
o DBCP-498: org.apache.commons.dbcp2.DataSourceConnectionFactory should use a char[] instead of a String to store passwords. Thanks to Gary Gregory.
o DBCP-499: org.apache.commons.dbcp2.managed.DataSourceXAConnectionFactory should use a char[] instead of a String to store passwords. Thanks to Gary Gregory.
o DBCP-500: org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS should use a char[] instead of a String to store passwords. Thanks to Gary Gregory.
o DBCP-501: org.apache.commons.dbcp2.datasources.CPDSConnectionFactory should use a char[] instead of a String to store passwords. Thanks to Gary Gregory.
o DBCP-502: org.apache.commons.dbcp2.datasources internals should use a char[] instead of a String to store passwords. Thanks to Gary Gregory.
o DBCP-503: org.apache.commons.dbcp2.datasources.InstanceKeyDataSourceFactory.closeAll() does not close all. Thanks to Gary Gregory.
For complete information on Apache Commons DBCP, including instructions on how to submit bug reports,
patches, or suggestions for improvement, see the Apache Apache Commons DBCP website:
https://commons.apache.org/dbcp/
Download from https://commons.apache.org/proper/commons-dbcp/download_dbcp.cgi
-----------------------------------------------------------------------------
Apache Apache Commons DBCP
Version 2.3.0
RELEASE NOTES
The Apache Commons DBCP team is pleased to announce the release of Apache Apache Commons DBCP 2.3.0.
Apache Commons DBCP software implements Database Connection Pooling.
This is a minor release, including bug fixes and enhancements.
Changes in this version include:
Fixed Bugs:
o DBCP-476: AbandonedTrace.getTrace() contains race condition Thanks to Gary Evesson, Richard Cordova.
o DBCP-482: Avoid javax.management.InstanceNotFoundException on shutdown when a bean is not registered. Thanks to Dennis Lloyd, Gary Gregory.
Changes:
o DBCP-483: Make constant public: org.apache.commons.dbcp2.PoolingDriver.URL_PREFIX. Thanks to Gary Gregory.
o DBCP-486: DriverAdapterCPDS.setUser(), setPassword(), and getPooledConnection() with null arguments throw NullPointerExceptions when connection properties are set. Thanks to Gary Gregory.
o DBCP-487: Add API org.apache.commons.dbcp2.datasources.PerUserPoolDataSource.clear(). Thanks to Gary Gregory.
o DBCP-488: NPE for org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS.setConnectionProperties(null). Thanks to Gary Gregory.
o DBCP-490: The method org.apache.commons.dbcp2.PoolingDriver.getConnectionPool(String) does not tell you which pool name is not registered when it throws an exception. Thanks to Gary Gregory.
For complete information on Apache Commons DBCP, including instructions on how to submit bug reports,
patches, or suggestions for improvement, see the Apache Apache Commons DBCP website:
https://commons.apache.org/dbcp/
Download from https://commons.apache.org/proper/commons-dbcp/download_dbcp.cgi
-----------------------------------------------------------------------------
Apache Apache Commons DBCP
Version 2.2.0
RELEASE NOTES
The Apache Commons DBCP team is pleased to announce the release of Apache Apache Commons DBCP 2.2.0.
Apache Commons DBCP software implements Database Connection Pooling.
This is a minor release, including bug fixes and enhancements.
Changes in this version include:
New features:
o DBCP-451: Add constructor DriverManagerConnectionFactory(String).
o DBCP-462: Refactoring to prepare for a future patch to enable pooling of all
prepared and callable statements in PoolingConnection. Thanks to Keiichi Fujino.
o DBCP-458: Make it simpler to extend BasicDataSource to allow sub-classes to
provide custom GenericObjectPool implementations. Thanks to Adrian Tarau.
o DBCP-474: Enable pooling of all prepared and callable statements
inPoolingConnection. Thanks to Keiichi Fujino.
Fixed Bugs:
o DBCP-481: Update Apache Commons Pool from 2.4.2 to 2.5.0. Thanks to Gary Gregory.
o DBCP-454: OSGi declarations contain multiple import headers for javax.transaction. Thanks to Philipp Marx, Matt Sicker.
o DBCP-478: Wrong parameter name in site documentation for BasicDataSource Configuration Parameters. Thanks to nicola mele.
o DBCP-452: Add jmxName to properties set by BasicDataSourceFactory. This
enables container-managed pools created from JNDI Resource
definitions to enable JMX by supplying a valid root JMX name.
o DBCP-446: NullPointerException thrown when calling ManagedConnection.isClosed(). Thanks to Gary Gregory, feng yang, Euclides M, Phil Steitz.
o DBCP-444: InvalidateConnection can result in closed connection returned by getConnection.
o DBCP-449: Complete the fix for DBCP-418, enabling PoolableConnection class to load in environments
(such as GAE) where the JMX ManagementFactory is not available. Thanks to Grzegorz D..
o DBCP-455: Ensure that the cacheState setting is used when statement pooling is
disabled. Thanks to Kyohei Nakamura.
o DBCP-453: Ensure that setSoftMinEvictableIdleTimeMillis is used when working with
BasicDataSource. Thanks to Philipp Marx.
o DBCP-456: Correct the name of the configuration attribute
softMinEvictableIdleTimeMillis. Thanks to Kyohei Nakamura.
o DBCP-472: Avoid potential infinite loops when checking if an SQLException is fatal
for a connection or not.
o DBCP-468: Expand the fail-fast for fatal connection errors feature to include
managed connections.
o DBCP-463: Correct a typo in the method name
PoolableConnectionFactory#setMaxOpenPreparedStatements. The old method
remains but is deprecated so not to break clients currently using the
incorrect name.
o DBCP-459: Ensure that a thread's interrupt status is visible to the caller if the
thread is interrupted during a call to
PoolingDataSource.getConnection().
o DBCP-457: When using a BasicDataSource, pass changes related to the handling of
abandoned connections to the underlying pool so that the pool
configuration may be updated dynamically.
For complete information on Apache Commons DBCP, including instructions on how to submit bug reports,
patches, or suggestions for improvement, see the Apache Apache Commons DBCP website:
https://commons.apache.org/dbcp/
Download from https://commons.apache.org/proper/commons-dbcp/download_dbcp.cgi
-----------------------------------------------------------------------------
Apache Apache Commons DBCP
Version 2.1.1
RELEASE NOTES
The Apache Commons DBCP team is pleased to announce the release of Apache Apache Commons DBCP 2.1.1.
Apache Commons DBCP software implements Database Connection Pooling.
This is a patch release, including bug fixes only.
Changes in this version include:
Fixed Bugs:
o DBCP-441: Added BasicDataSource abandonedUsageTracking property missing from BasicDataSourceFactory.
o DBCP-442: SharedPoolDataSource getConnection fails when testOnBorrow is set with
a null validation query.
o DBCP-438: Nested connections in a transaction (local) throws null pointer. Thanks to Raihan Kibria.
o DBCP-437: BasicDataSource does not set disconnectionSql properties on its PoolableConnectionFactory.
Changes:
o Updated pool version to 2.4.2. The fix for POOL-300 may cause DBCP
users to see more reports of abandoned connections (if removal and logging
are configured). Prior to the fix for POOL-300, the PrintWriter used to log
abandoned connection stack traces was not being flushed on each log event.
For complete information on Apache Commons DBCP, including instructions on how to submit bug reports,
patches, or suggestions for improvement, see the Apache Apache Commons DBCP website:
https://commons.apache.org/dbcp/
Download from https://commons.apache.org/proper/commons-dbcp/download_dbcp.cgi
commons-dbcp-rel-commons-dbcp-2.9.0/SECURITY.md 0000664 0000000 0000000 00000001604 14101262766 0021041 0 ustar 00root root 0000000 0000000
The Apache Commons security page is [https://commons.apache.org/security.html](https://commons.apache.org/security.html).
commons-dbcp-rel-commons-dbcp-2.9.0/checkstyle.xml 0000664 0000000 0000000 00000016070 14101262766 0022133 0 ustar 00root root 0000000 0000000
commons-dbcp-rel-commons-dbcp-2.9.0/dbcp-RC.sh 0000775 0000000 0000000 00000004462 14101262766 0021026 0 ustar 00root root 0000000 0000000 #!/bin/sh
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# 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.
# -----------------------------------------------------------------------------
# Generates a dbcp RC and publishes (a superset of) maven artifacts to Nexus.
# Should be run from top-level directory of a fresh checkout of the RC tag.
#
# Preconditions:
# 0) dbcp-pre-RC has been run to update the download page and release notes
# and these have been checked in and included in the RC tag.
# 1) Release artifacts from previous runs have been svn deleted from local
# svn pub/sub dev checkout.
# 2) Nexus repo from previous RC has been dropped.
#
# -----------------------------------------------------------------------------
# Set script variables
version=2.4.0
repo_path=~/.m2/repository/org/apache/commons/commons-dbcp2/${version}
release_path=~/dbcp-rc #checkout of https://dist.apache.org/repos/dist/dev/commons/dbcp
#
# Delete any locally installed artifacts from previous runs
rm -rf ${repo_path}
echo "Cleaned maven repo."
#
# Generate site and release artifacts, deploy locally and upload to Nexus
mvn clean site
mvn deploy -Prelease
#
# Copy the zips/tarballs and release notes to the local svn pub path
cp ${repo_path}/*bin.zip* ${release_path}/binaries
cp ${repo_path}/*bin.tar.gz* ${release_path}/binaries
cp ${repo_path}/*src.zip* ${release_path}/source
cp ${repo_path}/*src.tar.gz* ${release_path}/source
cp RELEASE-NOTES.txt ${release_path}
echo "Release candidate complete."
echo "svn add the generated artifacts and commit after inspection."
echo "log in to repository.apache.org, manually (sic) drop the cruft and close the repo."
commons-dbcp-rel-commons-dbcp-2.9.0/dbcp-pre-RC.sh 0000775 0000000 0000000 00000002620 14101262766 0021604 0 ustar 00root root 0000000 0000000 #!/bin/sh
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# 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.
# -----------------------------------------------------------------------------
#
# Shell script to update download page and release notes prior
# to preparing a commons dbcp release candidate.
#
# Note: RELEASE-NOTES.txt may need a little reformatting prior
# to checkin. Both RELEASE-NOTES.txt and the generated download
# page need to be checked in after review.
#
# ----------------------------------------------------------------------------
version=2.4.0
mvn changes:announcement-generate -Prelease-notes -Dchanges.version=${version}
mvn commons:download-page -Dcommons.componentid=dbcp -Dcommons.release.version=${version}
commons-dbcp-rel-commons-dbcp-2.9.0/dbcp-release.sh 0000775 0000000 0000000 00000005072 14101262766 0022140 0 ustar 00root root 0000000 0000000 #!/bin/sh
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# 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.
# -----------------------------------------------------------------------------
# Performs the local svn steps necessary to publish a dbcp release.
#
# Preconditions:
# 0) Successful release VOTE has completed, based on artifacts in rc_path
# (checkout of https://dist.apache.org/repos/dist/dev/commons/dbcp)
# 1) release_path points to a local checkout of
# https://dist.apache.org/repos/dist/release/commons/dbcp
# 2) RELEASE-NOTES.txt for the new release is in top level of rc_path
#
# NOTE: This script does not do any of the following:
# 0) Commit the local changes to actually publish the artifacts
# 1) Cleanup old versions in dist
#
# -----------------------------------------------------------------------------
# Set script variables
version=2.4.0 # version being released
last_version=2.3.0 # previous version, will be replaced in README.html
rc_path=~/dbcp-rc # checkout of https://dist.apache.org/repos/dist/dev/commons/dbcp
release_path=~/dbcp-release #https://dist.apache.org/repos/dist/release/commons/dbcp
#
# Move release notes
cp $rc_path/RELEASE-NOTES.txt $release_path
svn rm $rc_path/RELEASE-NOTES.txt
#
# Update README.html
sed -i "" "s/$last_version/$version/g" $release_path/README.html
# OSX ^^ required suffix
#
# DBCP uses symlinks, so below not needed unless this changes.
#cp $release_path/README.html $release_path/source
#cp $release_path/README.html $release_path/binaries
# ^^^^^^^^^^ Maybe we can toss these? ^^^^^^^
#
# Move release artifacts
svn mv $rc_path/source/* $release_path/source
svn mv $rc_path/binaries/* $release_path/binaries
#
echo "Local svn changes complete."
echo "Inspect the files in $release_path and commit to publish the release."
echo "Also remember to commit $rc_path to drop RC artifacts and svn rm"
echo "obsolete artifacts from $release_path."
commons-dbcp-rel-commons-dbcp-2.9.0/doc/ 0000775 0000000 0000000 00000000000 14101262766 0020014 5 ustar 00root root 0000000 0000000 commons-dbcp-rel-commons-dbcp-2.9.0/doc/BasicDataSourceExample.java 0000664 0000000 0000000 00000010372 14101262766 0025172 0 ustar 00root root 0000000 0000000 /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* 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.
*/
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import javax.sql.DataSource;
//
// Here are the dbcp-specific classes.
// Note that they are only used in the setupDataSource
// method. In normal use, your classes interact
// only with the standard JDBC API
//
import org.apache.commons.dbcp2.BasicDataSource;
//
// Here's a simple example of how to use the BasicDataSource.
//
//
// Note that this example is very similar to the PoolingDriver
// example.
//
// To compile this example, you'll want:
// * commons-pool-2.3.jar
// * commons-dbcp-2.1.jar
// in your classpath.
//
// To run this example, you'll want:
// * commons-pool-2.3.jar
// * commons-dbcp-2.1.jar
// * commons-logging-1.2.jar
// in your classpath.
//
//
// Invoke the class using two arguments:
// * the connect string for your underlying JDBC driver
// * the query you'd like to execute
// You'll also want to ensure your underlying JDBC driver
// is registered. You can use the "jdbc.drivers"
// property to do this.
//
// For example:
// java -Djdbc.drivers=org.h2.Driver \
// -classpath commons-pool2-2.3.jar:commons-dbcp2-2.1.jar:commons-logging-1.2.jar:h2-1.3.152.jar:. \
// BasicDataSourceExample \
// "jdbc:h2:~/test" \
// "SELECT 1"
//
public class BasicDataSourceExample {
public static void main(String[] args) {
// First we set up the BasicDataSource.
// Normally this would be handled auto-magically by
// an external configuration, but in this example we'll
// do it manually.
//
System.out.println("Setting up data source.");
DataSource dataSource = setupDataSource(args[0]);
System.out.println("Done.");
//
// Now, we can use JDBC DataSource as we normally would.
//
Connection conn = null;
Statement stmt = null;
ResultSet rset = null;
try {
System.out.println("Creating connection.");
conn = dataSource.getConnection();
System.out.println("Creating statement.");
stmt = conn.createStatement();
System.out.println("Executing statement.");
rset = stmt.executeQuery(args[1]);
System.out.println("Results:");
int numcols = rset.getMetaData().getColumnCount();
while(rset.next()) {
for(int i=1;i<=numcols;i++) {
System.out.print("\t" + rset.getString(i));
}
System.out.println("");
}
} catch(SQLException e) {
e.printStackTrace();
} finally {
try { if (rset != null) rset.close(); } catch(Exception e) { }
try { if (stmt != null) stmt.close(); } catch(Exception e) { }
try { if (conn != null) conn.close(); } catch(Exception e) { }
}
}
public static DataSource setupDataSource(String connectURI) {
BasicDataSource ds = new BasicDataSource();
ds.setDriverClassName("org.h2.Driver");
ds.setUrl(connectURI);
return ds;
}
public static void printDataSourceStats(DataSource ds) {
BasicDataSource bds = (BasicDataSource) ds;
System.out.println("NumActive: " + bds.getNumActive());
System.out.println("NumIdle: " + bds.getNumIdle());
}
public static void shutdownDataSource(DataSource ds) throws SQLException {
BasicDataSource bds = (BasicDataSource) ds;
bds.close();
}
}
commons-dbcp-rel-commons-dbcp-2.9.0/doc/PoolingDataSourceExample.java 0000664 0000000 0000000 00000014077 14101262766 0025566 0 ustar 00root root 0000000 0000000 /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* 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.
*/
import javax.sql.DataSource;
import java.sql.Connection;
import java.sql.Statement;
import java.sql.ResultSet;
import java.sql.SQLException;
//
// Here are the dbcp-specific classes.
// Note that they are only used in the setupDataSource
// method. In normal use, your classes interact
// only with the standard JDBC API
//
import org.apache.commons.pool2.ObjectPool;
import org.apache.commons.pool2.impl.GenericObjectPool;
import org.apache.commons.dbcp2.ConnectionFactory;
import org.apache.commons.dbcp2.PoolableConnection;
import org.apache.commons.dbcp2.PoolingDataSource;
import org.apache.commons.dbcp2.PoolableConnectionFactory;
import org.apache.commons.dbcp2.DriverManagerConnectionFactory;
//
// Here's a simple example of how to use the PoolingDataSource.
//
//
// Note that this example is very similar to the PoolingDriver
// example. In fact, you could use the same pool in both a
// PoolingDriver and a PoolingDataSource
//
//
// To compile this example, you'll want:
// * commons-pool2-2.3.jar
// * commons-dbcp2-2.1.jar
// in your classpath.
//
// To run this example, you'll want:
// * commons-pool2-2.3.jar
// * commons-dbcp2-2.1.jar
// * commons-logging-1.2.jar
// * the classes for your (underlying) JDBC driver
// in your classpath.
//
// Invoke the class using two arguments:
// * the connect string for your underlying JDBC driver
// * the query you'd like to execute
// You'll also want to ensure your underlying JDBC driver
// is registered. You can use the "jdbc.drivers"
// property to do this.
//
// For example:
// java -Djdbc.drivers=org.h2.Driver \
// -classpath commons-pool2-2.3.jar:commons-dbcp2-2.1.jar:commons-logging-1.2.jar:h2-1.3.152.jar:. \
// PoolingDataSourceExample \
// "jdbc:h2:~/test" \
// "SELECT 1"
//
public class PoolingDataSourceExample {
public static void main(String[] args) {
//
// First we load the underlying JDBC driver.
// You need this if you don't use the jdbc.drivers
// system property.
//
System.out.println("Loading underlying JDBC driver.");
try {
Class.forName("org.h2.Driver");
} catch (ClassNotFoundException e) {
e.printStackTrace();
}
System.out.println("Done.");
//
// Then, we set up the PoolingDataSource.
// Normally this would be handled auto-magically by
// an external configuration, but in this example we'll
// do it manually.
//
System.out.println("Setting up data source.");
DataSource dataSource = setupDataSource(args[0]);
System.out.println("Done.");
//
// Now, we can use JDBC DataSource as we normally would.
//
Connection conn = null;
Statement stmt = null;
ResultSet rset = null;
try {
System.out.println("Creating connection.");
conn = dataSource.getConnection();
System.out.println("Creating statement.");
stmt = conn.createStatement();
System.out.println("Executing statement.");
rset = stmt.executeQuery(args[1]);
System.out.println("Results:");
int numcols = rset.getMetaData().getColumnCount();
while(rset.next()) {
for(int i=1;i<=numcols;i++) {
System.out.print("\t" + rset.getString(i));
}
System.out.println("");
}
} catch(SQLException e) {
e.printStackTrace();
} finally {
try { if (rset != null) rset.close(); } catch(Exception e) { }
try { if (stmt != null) stmt.close(); } catch(Exception e) { }
try { if (conn != null) conn.close(); } catch(Exception e) { }
}
}
public static DataSource setupDataSource(String connectURI) {
//
// First, we'll create a ConnectionFactory that the
// pool will use to create Connections.
// We'll use the DriverManagerConnectionFactory,
// using the connect string passed in the command line
// arguments.
//
ConnectionFactory connectionFactory =
new DriverManagerConnectionFactory(connectURI,null);
//
// Next we'll create the PoolableConnectionFactory, which wraps
// the "real" Connections created by the ConnectionFactory with
// the classes that implement the pooling functionality.
//
PoolableConnectionFactory poolableConnectionFactory =
new PoolableConnectionFactory(connectionFactory, null);
//
// Now we'll need a ObjectPool that serves as the
// actual pool of connections.
//
// We'll use a GenericObjectPool instance, although
// any ObjectPool implementation will suffice.
//
ObjectPool connectionPool =
new GenericObjectPool<>(poolableConnectionFactory);
// Set the factory's pool property to the owning pool
poolableConnectionFactory.setPool(connectionPool);
//
// Finally, we create the PoolingDriver itself,
// passing in the object pool we created.
//
PoolingDataSource dataSource =
new PoolingDataSource<>(connectionPool);
return dataSource;
}
}
commons-dbcp-rel-commons-dbcp-2.9.0/doc/PoolingDriverExample.java 0000664 0000000 0000000 00000016353 14101262766 0024766 0 ustar 00root root 0000000 0000000 /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* 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.
*/
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import org.apache.commons.dbcp2.ConnectionFactory;
import org.apache.commons.dbcp2.DriverManagerConnectionFactory;
import org.apache.commons.dbcp2.PoolableConnection;
import org.apache.commons.dbcp2.PoolableConnectionFactory;
import org.apache.commons.dbcp2.PoolingDriver;
//
// Here are the dbcp-specific classes.
// Note that they are only used in the setupDriver
// method. In normal use, your classes interact
// only with the standard JDBC API
//
import org.apache.commons.pool2.ObjectPool;
import org.apache.commons.pool2.impl.GenericObjectPool;
//
// Here's a simple example of how to use the PoolingDriver.
//
// To compile this example, you'll want:
// * commons-pool-2.3.jar
// * commons-dbcp-2.1.jar
// in your classpath.
//
// To run this example, you'll want:
// * commons-pool-2.3.jar
// * commons-dbcp-2.1.jar
// * commons-logging-1.2.jar
// in your classpath.
//
// Invoke the class using two arguments:
// * the connect string for your underlying JDBC driver
// * the query you'd like to execute
// You'll also want to ensure your underlying JDBC driver
// is registered. You can use the "jdbc.drivers"
// property to do this.
//
// For example:
// java -Djdbc.drivers=org.h2.Driver \
// -classpath commons-pool2-2.3.jar:commons-dbcp2-2.1.jar:commons-logging-1.2.jar:h2-1.3.152.jar:. \
// PoolingDriverExample \
// "jdbc:h2:~/test" \
// "SELECT 1"
//
public class PoolingDriverExample {
public static void main(String[] args) {
//
// First we load the underlying JDBC driver.
// You need this if you don't use the jdbc.drivers
// system property.
//
System.out.println("Loading underlying JDBC driver.");
try {
Class.forName("org.h2.Driver");
} catch (ClassNotFoundException e) {
e.printStackTrace();
}
System.out.println("Done.");
//
// Then we set up and register the PoolingDriver.
// Normally this would be handled auto-magically by
// an external configuration, but in this example we'll
// do it manually.
//
System.out.println("Setting up driver.");
try {
setupDriver(args[0]);
} catch (Exception e) {
e.printStackTrace();
}
System.out.println("Done.");
//
// Now, we can use JDBC as we normally would.
// Using the connect string
// jdbc:apache:commons:dbcp:example
// The general form being:
// jdbc:apache:commons:dbcp:
//
Connection conn = null;
Statement stmt = null;
ResultSet rset = null;
try {
System.out.println("Creating connection.");
conn = DriverManager.getConnection("jdbc:apache:commons:dbcp:example");
System.out.println("Creating statement.");
stmt = conn.createStatement();
System.out.println("Executing statement.");
rset = stmt.executeQuery(args[1]);
System.out.println("Results:");
int numcols = rset.getMetaData().getColumnCount();
while(rset.next()) {
for(int i=1;i<=numcols;i++) {
System.out.print("\t" + rset.getString(i));
}
System.out.println("");
}
} catch(SQLException e) {
e.printStackTrace();
} finally {
try { if (rset != null) rset.close(); } catch(Exception e) { }
try { if (stmt != null) stmt.close(); } catch(Exception e) { }
try { if (conn != null) conn.close(); } catch(Exception e) { }
}
// Display some pool statistics
try {
printDriverStats();
} catch (Exception e) {
e.printStackTrace();
}
// closes the pool
try {
shutdownDriver();
} catch (Exception e) {
e.printStackTrace();
}
}
public static void setupDriver(String connectURI) throws Exception {
//
// First, we'll create a ConnectionFactory that the
// pool will use to create Connections.
// We'll use the DriverManagerConnectionFactory,
// using the connect string passed in the command line
// arguments.
//
ConnectionFactory connectionFactory =
new DriverManagerConnectionFactory(connectURI,null);
//
// Next, we'll create the PoolableConnectionFactory, which wraps
// the "real" Connections created by the ConnectionFactory with
// the classes that implement the pooling functionality.
//
PoolableConnectionFactory poolableConnectionFactory =
new PoolableConnectionFactory(connectionFactory, null);
//
// Now we'll need a ObjectPool that serves as the
// actual pool of connections.
//
// We'll use a GenericObjectPool instance, although
// any ObjectPool implementation will suffice.
//
ObjectPool connectionPool =
new GenericObjectPool<>(poolableConnectionFactory);
// Set the factory's pool property to the owning pool
poolableConnectionFactory.setPool(connectionPool);
//
// Finally, we create the PoolingDriver itself...
//
Class.forName("org.apache.commons.dbcp2.PoolingDriver");
PoolingDriver driver = (PoolingDriver) DriverManager.getDriver("jdbc:apache:commons:dbcp:");
//
// ...and register our pool with it.
//
driver.registerPool("example",connectionPool);
//
// Now we can just use the connect string "jdbc:apache:commons:dbcp:example"
// to access our pool of Connections.
//
}
public static void printDriverStats() throws Exception {
PoolingDriver driver = (PoolingDriver) DriverManager.getDriver("jdbc:apache:commons:dbcp:");
ObjectPool extends Connection> connectionPool = driver.getConnectionPool("example");
System.out.println("NumActive: " + connectionPool.getNumActive());
System.out.println("NumIdle: " + connectionPool.getNumIdle());
}
public static void shutdownDriver() throws Exception {
PoolingDriver driver = (PoolingDriver) DriverManager.getDriver("jdbc:apache:commons:dbcp:");
driver.closePool("example");
}
}
commons-dbcp-rel-commons-dbcp-2.9.0/doc/README.txt 0000664 0000000 0000000 00000002707 14101262766 0021520 0 ustar 00root root 0000000 0000000 ===================================================================================
Before running these examples make sure you have registered the database
driver you want to use. If you don't you will get the following error:
"org.apache.commons.dbcp2.DbcpException: java.sql.SQLException: No suitable driver"
The DriverManager class will attempt to load the driver classes referenced
in the "jdbc.drivers" system property. For example you might specify
-Djdbc.drivers=foo.bah.Driver:wombat.sql.Driver:bad.taste.ourDriver
as command line argument to the java VM.
A program can also explicitly load JDBC drivers at any time. For
example, the my.sql.Driver is loaded with the following statement:
Class.forName("my.sql.Driver");
===================================================================================
PoolingDriverExample.java
Provides a simple example of how to use the DBCP package with a
PoolingDriver.
Look at the comments with that file for instructions on how to
build and run it.
PoolingDataSource.java
Provides a simple example of how to use the DBCP package with a
PoolingDataSource.
Look at the comments with that file for instructions on how to
build and run it.
See also the Javadoc documentation (use "ant doc" to generate it),
especially the package documentation for org.apache.commons.dbcp
for an overview of how it all works.
The test cases (the source files whose names start with "Test")
provide some additional examples.
commons-dbcp-rel-commons-dbcp-2.9.0/doc/abandon.jsp 0000664 0000000 0000000 00000011120 14101262766 0022127 0 ustar 00root root 0000000 0000000
Couldn't build an initial context : " + e);
return null;
}
try {
Object value = ctx.lookup("java:/comp/env/jdbc/abandoned");
out.println("
DataSource lookup");
out.println("
jdbc value : " + value);
out.println("
jdbc class : " + value.getClass().getName());
out.println("
");
if (value instanceof DataSource) {
return (DataSource) value;
}
else {
return null;
}
} catch (NamingException e) {
out.println("
JNDI lookup failed : " + e);
return null;
}
}
private void getConnection1(DataSource ds, JspWriter out) throws Exception {
System.err.println("BEGIN getConnection1()");
out.println("
BEGIN getConnection1()");
Connection conn = ds.getConnection();
System.err.println("conn: " + conn);
out.println("
conn: " + conn);
System.err.println("END getConnection1()");
out.println("
END getConnection1()");
}
private void getConnection2(DataSource ds, JspWriter out) throws Exception {
System.err.println("BEGIN getConnection2()");
out.println("
BEGIN getConnection2()");
Connection conn = ds.getConnection();
System.err.println("conn: " + conn);
out.println("
conn: " + conn);
System.err.println("END getConnection2()");
out.println("
END getConnection2()");
}
private void getConnection3(DataSource ds, JspWriter out) throws Exception {
System.err.println("BEGIN getConnection3()");
out.println("
BEGIN getConnection3()");
Connection conn = ds.getConnection();
System.err.println("conn: " + conn);
out.println("
conn: " + conn);
System.err.println("END getConnection3()");
out.println("
END getConnection3()");
}
]]>
DBCP Abandoned Connection Test
DBCP Abandoned Connection Test
DataSource ds = getDataSource(out);
if (ds != null) {
getConnection1(ds, out);
getConnection2(ds, out);
getConnection3(ds, out);
}
OK
commons-dbcp-rel-commons-dbcp-2.9.0/doc/static_structure_dia.gif 0000664 0000000 0000000 00000023643 14101262766 0024737 0 ustar 00root root 0000000 0000000 GIF89a#÷ư € € €€ €€ € €€ÀÀÀÀÜÀ¦Êđ@ ` € À à @ @ @@ `@ €@ @ À@ à@ ` ` @` `` €` ` À` à` € € @€ `€ €€ € À€ à€ @ ` € À à À À @À `À €À À ÀÀ àÀ à à @à `à €à à Àà àà @ @@ @` @€ @ @À @à @ @ @@ @` @€ @ @À @à @ @@ @@@@@`@@€@@ @@À@@à@@ `@ `@@`@``@€`@ `@À`@à`@ €@ €@@€@`€@€€@ €@À€@à€@ @ @@ @` @€ @ @À @à @ À@ À@@À@`À@€À@ À@ÀÀ@àÀ@ à@ à@@à@`à@€à@ à@Àà@àà@ € €@ €` €€ € €À €à € € €@ €` €€ € €À €à € @€ @€@@€`@€€@€ @€À@€à@€ `€ `€@`€``€€`€ `€À`€à`€ €€ €€@€€`€€€€€ €€À€€à€€ € €@ €` €€ € €À €à € À€ À€@À€`À€€À€ À€ÀÀ€àÀ€ à€ à€@à€`à€€à€ à€Àà€àà€ À À@ À` À€ À ÀÀ Àà À À À@ À` À€ À ÀÀ Àà À @À @À@@À`@À€@À @ÀÀ@Àà@À `À `À@`À``À€`À `ÀÀ`Àà`À €À €À@€À`€À€€À €ÀÀ€Àà€À À À@ À` À€ À ÀÀ Àà À ÀÀ ÀÀ@ÀÀ`ÀÀ€ÀÀ ÀÀÿû𠤀€€ÿ ÿ ÿÿ ÿÿ ÿ ÿÿÿÿÿ!ù ư , #@₫ û H° Áƒ*\Ȱ¡Ă‡#JœH±¢Å‹3jÜȱ£Ç CI²¤É“(Sª\ɲ¥Ë— ÆŒ)pæAq>´YRçËŸ@oÄé³bQ„Gwæ:0éE§FûA
JµªƠ«X³jƯ:5b×>¿6@V́Ö³
ͪT‹%Û¶păÊK·®̉¦2¥â¥Y–¬^¼5Ë₫mÚ7°ĐÁ<œ·&âÇ};ÖKô1ăĘÿúµ{w0åÉ™gæë82dÂ~IW®|y2ẳ{¥VxóêØymªöü™çmĂœƒN¼8È®o+î4ụ̀çĐ£KŸNóêØé^Ïν»÷ïàĂ₫¿O^{ùóèÓ«_v;û÷#ƯĂŸO¿¾}̣̣ï뺿¿ÿÿ B—_€"Uà&¨àJ.x`ƒF(á„ưAHá^¨á†vè¡x~(âˆvđω(¦¨â,¶èâ‹0Æ(ăŒ4Öh£Œ!’h̃‚&̃èă@)ä7æ¨ăO=9d’=–…¢“ÿ˜(%”QJeVfùä‰PZ©¤’|MµÙ‘Áy^’_â¨b—d=Ùæ•W¢g•\rùf•Sz '•]¦Y$™ÏÉéç „jèf¨‚‰2$è¡F*韋VjéxkMªé¦œ¶ØèR—†*ê¨m}V§5ÊÙd“uîÙ*«₫pÖ ë¬¨Â¨Ó˜Eꮼöê’© =Zë°Ä. “¯ÈN(l±̀6;#°vmJ’U7íPÎf«-ÉÆµlLƪ§–á®ëœ²¶º'ånùf»êFfN^{¬rÍYӤ‹nœ¬ú+kÀâë¿ă+o·p}»íĂÍÚ‹_t¤‰è0Ä×*1ĂwL›t{,̣È$“2I'—¬̣Ê,#˜²H/·,ó̀4³íÅç¼ìóñ\óϼ̃L(»®M+F¿º¦J'mt_M=«—8¿èó{·¶Úl®Ơ¶›×ŸÉ–Zl¦1Q\{V±Ú‹m›`a
ôÜ- óƯÅ^m3₫Ư|÷
‘̃Uë7x¶åª®·9vm{U,·Ø†ơ¸ÜY³Fù¼™AÎøæ„q^Ú w=øè
h6éøv¦ơ梡›æ²…í:ä—«6ùÛ©áúîO8ï jô;đÄ?è{ñAáụ̈̀§uzêÍG/ưôÉ·
=ơØg}ƠxwïçđqïưøÆ–I₫ù‚¯}°6ú›đû¬îûîÖŸ.Â÷y?ºå,₫“À –̃₫ç¢;)Mj‹×º¢ÆÀ¢ƯxzW¥F5±%ó3X™¤‚IUd ±Ä4§Ah'ä×ú´ƒ¾9.Œá—.)‰xP†8Ä̉
E%¸úđ‡₫@ÄN¾‚HÄ"±8=<¢—ÈD¨¯‰PŒ"Ÿ(Å*Z{T|P·hÁ+zÑAYü΀¾57Œi«ºŸ´ä&&p₫+ÚˆF;ÅQPmJc ơ·%«}ñ.ëƠ¹HH…ˆ¬Ê!¥•ÈF:r9‹äN$IÉJ‡–̀¤&mXÈNÚJxÂó¤(Y4ÉMzñ†@¢̉MhÆV̉ÉÄ̉[ÉG…ê(ˆ+]FPÙÆpe
ƒăû(̀WÚq˜k¢Ú»ôL"•̉”Väå(½7ÆPNóÏ„¦6–Ímzó›Ö '8ÇINe]¥›åL§:’²AÚ±_í[¼.zªŒ¶₫êâ:÷I·gJSSÿÜ"»øIP¿…1 ×̀:ÊPư,´¡¨é$JÑ.ªAµ¨F7z₫´æo^¹$FÄ$κqô¤,3KF'‚œÇ¡ô¥¢k¾˜ßœ.4¸q̃LySÓ`ơ6Y{Pt³S¡â4W•ĂL—jĐ×,F—Öăé́<²6†#ƠZ)S·Ê!êÊ"‰̣*WÇÊ(¤¨g]œYmzÔ°µ5sj£iPDzÚƠ‘b½«^÷j¸°ä”¨±£«eØzVÙơ¼Ánl*R¾:y},E#+3ÊJö²ªS̀bû¿Fơ0œưë`ÔÖ8N3FµLy$gÚhÉ4¢-₫-be+:Ö¦–±‰½SH¹Z³ÊåótƠ]*/p¥KƠ‘FK>’SÜgAëRâ.%‰ .é’̣[¬t׆Ăơ)#µ[Pµ|7hÍ%¯z¹Óơº—3ç¥Y|ß‹̉ùÖ̀¾ôµ(~ï›ß₫³¾₫
0’`º_ø>°‚!»à "4¡K°É”áQJŒÙá₫Èe¿<³rü—¶Đ––zmôdN §¦A_.pNîs 2EÜ©ó¨Â¢Dñ‰÷…ăNÚ¸Áñáq ©c y-B0Ÿ&.v¹Ñ–«\eg(“ăéÇGN'‡\È"g™Â\梗³#VÏêëWas₫§́)D©Q‚ 3&>ål®4ẨŒz²*À›`ÙªHï…Ølµ7p]qŒ²‘ÆL)çù˜&tלfNd&«tÿüåQ–Óµ>-êR‘Ô¦Nơí¦i‚Z‘»í\O¤jæ*U¹ª–¤[Ơ¯7O
Î.¦'>§bCăÙÍo¦å¡¡L)A*×Èbu«]øjªT®®³mZ̉Ö°i¸»¶¶ÄéV¨ĐnOï’[Ñă²;Ư§TdºOw_u<Ø[áêÉøFÛáwgo
ï²bzœöÆuÁYUHZ²ÚO©xñˆ[Ó‘øÅ7Ÿiǰ›’ö¸¤₫hx(N}ïØÿđèëW‘ëײ¼³].sKÙ~²Dô—Ílnơy(tf±‰æJ›ÉOv¥Í“Ys{;éµD%
£lbë9á@—
ª‚Môî/‚îâzÎëˆl`†Q/=ûÉ
̣µŸ¯ín_ʵYkÛ½¼Ó½»̃×9÷½ûưR}ÿ»àÉøÅ]A¶â³ëđ›ñ£g¿lĂ`§|b´'’…w‹5·Đ̃ÓÎ>½êÉœúƠ»₫à»2ưëOªv̉Sy—£·½BgºÚ“Q._`
Y쟂2~!½
çÚ§,iÅ—¯üÁùêG~‡¦;₫¯ÕÎ÷ºR5w~É̃ûúE¿ú¾₫ölxçw¿ü\=̣—?cñŸ?7æÎsÅY™N̉. øvèt8‡}Kw@ hKP£a3.ú§w‘~÷×}èwù—81øS‚"¸jÎ5‚&4oÁ\EƠZR•[ß¶VăöQÿFXøƒYơ1ˆUƒäV[w‚{‡̀'^9„ï†\*hm>˜„ŸER%ˆ!y§„P¸‰S8ç–6º‘6,(pXˆZ4heU¦Vpåmú@‡Ơ‚Qx†Eˆ†jX2Gx;»a9˜¡8Tn°s9‡SnsmA†³†~d2(‡CWƒØp¬S;₫¡Ă8psˆs8Up£;?•†8‰€F‰̃´]e‰ä…‰Â‰È†Î‡ñ5[³‚m¶s[§ƠY´U©(WªåH‹YøoçÙ&ƒKhƒ̃‹48Tµø‰ơÁ]8Øo½1/3…%FbWø9³ĂŒƒ•U‚[nu6xx&7USVÖoȸ8c£‡œÓ[_¨Tn¸Sp˜ˆ̃8‡qk¢%‰Â"üä‰ïÈ0U%¹³Çˆu8ă˜Œ‰¥<¸„;q“ˆ´“¹m)ƠƠ;IµYú†öˆ¸‹˜ŒY;̀׌wè:¹‘¬cVhE[ÖˆVf8Ïf=eˆnƒØ‹:ˆ[‡s,y₫‹3ظȒuu’;¸o¸X2‰ZƠ“º“)p< ƒè¶‚€’1i’°w—è”L©Qb!Áe]Q QT™‰WI`íµ• Ö•^¹c••a9"XÇwe™~í––“%•l –kù–E–—&—ñH{vy—x™—êD—Gâ—|i\ªP³fê9†çp=(!dºuDV©Zº3u)o™6ªÚ©ŸPºª¬:™¥“̉ª²:« ¤£v<¶«÷¶nºÚ«Ç¦¾¬kJqÂZ¬ÊÆj¬7C«̀ʪі¬"m¨ºuÏ
¸k]:œÄ¹o
y?̉§j2rƠ
[o(‘Ûx½‘C ;BY g‘ÑEÓˆ‘)p¡ÿWœ(ê€'úa*:§™~*~ăʃK9Wùö“ÆÈmäø®‡5ẂÈo/yyi¯éù©^G°¾̉Åj±Ó
P{“®,e¿º«¶†\Ÿ¸¬ÍÚ₫²J²=µmûZDYw
×m©³8ÛXu“8‹]j˜q8*•u§(hÊơÊ«C‹wÁă6&q-![pe&hơ–‚_XnV6 DzֵwèŸÓ‘qh_¥´ñ]#k¶÷j2¢lK!nKwŸ2µ¾Zeâ™q[YĂ:v»·_iµy¸K°J¸Œ)²Ä¸>è²K¤̀ñ¸’Ë ‘;¹–K i÷±C[c)&×¹¤Z_ñ¤€ê¥Â®÷
¦*F©¥›̃5C-Ú¡₫÷¦´Ë}_ºr‡Brß#»Z£“'§µkºtªºÀ麴Wº’Z?̀ù¯’Gy
t}Đ;½wÔx₫$¨O
§àºyÔ·¢ûê¼Ûû§Ó°ưy7´™+¾ÜËt©1Ü·¾r$°xºáË¢à÷·ƒ&ºÂû~v¦Ö6rlFO4Z¦Ÿ[CÍ…±¤À.™«¿ k>\§đÁ̀Q—{Á0Z&¼ÁØY¹üÁ¢é~˸$LOXÂ(|†›Â,lRîØÂ0|¶1<ĂÔBĂ6,z7œĂ€¨Ă<·|Â@=F‹GÁ|6Ä ‚¿Øz¼©{¼³«¼„&>ºëLH¼©¤̉¤d½ü¦zg¨»]œ¾óÛœøê½Î¼ TÅ„^ögÄ©dœj¼Æ±—{nüBqŒzl|Ç¢¦Äé¥ÇYÆÇ₫MëÇÜz‚<Èy\ÈGÈV‰ÈúUÇ»«p`åÈlÇÈ,ɼÉFaÉvLÉuÑ›Æ+tÊ˺>êg Ú|‘,~¶ÛºOÊ·+ÊâÊÉŒâ+BZ}NÓKÑû¼µg'•§\¦Z|y*GKcËœe,¿{úOܘú+À·ä(D8RœÊ° Ë,TÍŒ{m¬ÍTŒÍq Î…Ǜâjä\ÎZR蜖àsÎëÜ—̃ơÎI‹„ỨÍ+Ï+ô2XlÏŒÏ$èÂÔ<¦0¿p†t̀ôtOvĐ4il̉rÇt€
=¾W—'‘öœî́ÏêœÍñÛ½¶,̀ÚgsK—gÈLÆdÆøÑ:₫P]D“´À=zÑ+í-rá̉
Ó1=Ó7]Å6ÓưµÓưÓîÔB^D]ÔÚ•GÔc VL¬%‹)êptx69k‹…ºÅFI”=é‹4y°/ùÔ»™]ư¨ŒÚ‰́ú“#ùº™cHÙ¥́®]Èp¹©·³´dưÏÜ×É
æVƠc†‚u‹wØ^Í6Ơ˜”C鳯Ó:£èŒ^K#Øx•’}I^[]›M×É•°îºÖqíocX« ›Ö¦}Ù˜ưHGøÚqkÚmí₫H…â¨YPûTåX‘ˆ8Uä&ûˆ”A‹²ƯP*Z˜³“Ô¸Ø¹ØØ¼₫ˆi5ØÑ‘a˜Üs©ƯŒ+’M\!âEû\ܽ`Ë-nÑŒ¸Ơ³b¸ƒºÈ̃GỸë5„µÏ},ßF6…SéË:„iX6ßߦßXÙd{Ü©̃“à\ƒ¨qƒß´¾W‹¹Ô®•Îá¾¼£ ®2.F#9µFR¦bˆ¡¢ßY½lÖ½\ß%(µ'T*ÉÎH¯