https://issues.apache.org/bugzilla/show_bug.cgi?id=50025

--- Comment #3 from Tim <t...@cornell.edu> 2010-10-22 10:29:26 EDT ---
(In reply to comment #2)
> Do you have a code example to show how you receive this error? Or perhaps even
> a JUnit test?

Take a look at the source code for getConnection.  It was included in a reply
to my original post in the forums (reproduced below).

---
This is an issue with the new jdbc-pool implementation, it internally always
uses the default configured username/password. I suggest raising a bug on the
tomcat(jdbc-pool) issue tracker.

The actual code.
Code:
public class DataSourceProxy implements PoolConfiguration {

...
   /**
     * {...@link javax.sql.DataSource#getConnection()}
     */
    public Connection getConnection(String username, String password) throws
SQLException {
        return getConnection();
    }
....

}

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to