Re: MySql Connector returning ?DataSource

2007-07-23 Thread Prem Padarath
Chuck, Checked...it is only in the one place. Thx, Prem On 7/23/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > From: Prem Padarath [mailto:[EMAIL PROTECTED] > Subject: Re: MySql Connector returning ?DataSource > > I checked. The mysql jar file is in common\lib dire

Re: MySql Connector returning ?DataSource

2007-07-23 Thread Prem Padarath
ould easily be caused by the mysql jar file not being in tomcat's common/lib directory -- especially if local, non JNDI access is working. --David Prem Padarath wrote: > Hi Wade, > > Yes, I have been able to connect with a plain java class and I have been > able to connect from

Re: MySql Connector returning ?DataSource

2007-07-23 Thread Prem Padarath
WEB-INF/lib folder. May or may not be your issue, but make sure you can actually make a JDBC connection with the drivers first. If not then the DataSource won't work either. I have never used WEB-INF/web.xml before either. Maybe comment out this line and see if it has any impact. Wade --- Prem

Re: MySql Connector returning ?DataSource

2007-07-23 Thread Prem Padarath
Hash: SHA1 Prem, Prem Padarath wrote: > I am trying to set up a database resource in Tomcat 5.5.20 . I am having a > problem getting a DataSource object back from a JNDI lookup. > (I am getting a "org.apache.tomcat.dbcp.dbcp.BasicDataSource" object > returned and t

MySql Connector returning ?DataSource

2007-07-23 Thread Prem Padarath
Hi, I am trying to set up a database resource in Tomcat 5.5.20 . I am having a problem getting a DataSource object back from a JNDI lookup. (I am getting a "org.apache.tomcat.dbcp.dbcp.BasicDataSource" object returned and throwing an exception - code below) My problem is similar to the "Re: MyS