Re: getConnection() in Tomcat 5.5

2007-07-19 Thread Parthasarathy M
Thanks Seva Popov, This is an useful information. I got this solved, by just modyfying the tomcat naming-factory-dbcp.jar (modified to redirect the request for getConnection(username,password) to getConnection()) Regards, Parthasarathy M. On 7/17/07, Seva Popov [EMAIL PROTECTED] wrote: By

RE: getConnection() in Tomcat 5.5

2007-07-17 Thread Seva Popov
By default Tomcat uses DBCP's BasicDataSource. The BasicDataSource does not support getConnection(username,password). You need to use DBCP's SharedPoolDataSource or PerUserPoolDataSource that do support it. You can look at the examples here: http://wiki.apache.org/jakarta-commons/DBCP There's