Re: Not supported by Basic Datasource

2010-12-14 Thread Christopher Schultz
-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 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 no

Re: Not supported by Basic Datasource

2010-12-14 Thread Phil Steitz
On Tue, Dec 14, 2010 at 6:42 AM, SOPANMISHRA 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

Re: Not supported by Basic Datasource

2010-12-14 Thread SOPANMISHRA
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? 3. Till now I have configured my files as asked by Chris & Mark 4. I'm

Re: Not supported by Basic Datasource

2010-12-10 Thread Mark Eggers
e user name and password exist in the META-INF/context.xml file. . . . . hope that helps. /mde/ - Original Message From: SOPANMISHRA To: users@tomcat.apache.org Sent: Fri, December 10, 2010 6:51:43 AM Subject: Re: Not supported by Basic Datasource 1.By normal jdbc process means witho

Re: Not supported by Basic Datasource

2010-12-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 SOPANMISHRA, On 12/10/2010 9:51 AM, SOPANMISHRA wrote: > 1.By normal jdbc process means without implementing any datasource concept in > tomcat for my project evrything is working fine. Glad to hear it. > It is just when i do > datasource config I'

Re: Not supported by Basic Datasource

2010-12-10 Thread SOPANMISHRA
1.By normal jdbc process means without implementing any datasource concept in tomcat for my project evrything is working fine.It is just when i do datasource config I'm facing "not supported by basic data source" against a method that uses a stringbuilder to form a query by retrieving values from

Re: Not supported by Basic Datasource

2010-12-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 SOPANMISHRA, On 12/9/2010 12:33 PM, SOPANMISHRA wrote: > I'm getting the error "Not supported by BasicDataSource" while running a > project based on java-hibernate-tomcat server. > The project works fine if I use the normal jdbc process. What is the

Re: Not supported by Basic Datasource

2010-12-09 Thread Mark Eggers
>From a quick glance it looks like you're mixing Hibernate-controlled database pooling with Tomcat-managed pooling. Read this and see if that helps. http://wiki.apache.org/tomcat/TomcatHibernate . . . . just my two cents. /mde/ - Original Message From: SOPANMISHRA To: users@tomcat.