You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2003/08/11 16:12:18 UTC

DO NOT REPLY [Bug 18905] - Couldn't get connection (Jdbc2PoolDataSource)

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18905>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18905

Couldn't get connection (Jdbc2PoolDataSource)

dirk.verbeeck@pandora.be changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From dirk.verbeeck@pandora.be  2003-08-11 14:12 -------
Jdbc2PoolDataSource.registerPool didn't check if the supplied username/password
was correct. A broken pool was registered and the next call to getConnection
always used this pool.

Now registerPool tries to connect and returns the SQLException if it fails.
(this fix solved the 3 testcases that were failing for me)