tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Not supported by Basic Datasource
Date Tue, 14 Dec 2010 14:45:40 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Phil,

On 12/14/2010 7:10 AM, Phil Steitz wrote:
> On Tue, Dec 14, 2010 at 6:42 AM, SOPANMISHRA <sopan.mishra@gmail.com> wrote:
>> 1. I have posted the exact tags that i'm using in my hibernate.cfg.xml
>> 2. regarding the BasicDataSource.getConnection in DBCP-1.2.2 ,I have not
>> mentioned username,password tag in my hibernate.cfg.xml so is there any
>> other bug?
>>
> 
> I am not a hibernate expert, but the DBCP exception that you are getting is
> the result of the hibernate code calling getConnection(username,password),
> as opposed to getConnectio().

Yup. Seems like this is a question for the Hibernate forum, since the
problem is triggered somehow by their code:

> org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:899)
> 	at
> org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:89)

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk0HgxQACgkQ9CaO5/Lv0PA+lQCgscVOh/IDQgTy5r/b7n81seDV
xVsAoL9Oklgz7CRdsWUIDV8xAQeguntg
=OEBB
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message