Hi all,
I'm getting a the following ClassCastException running Tomcat 5.5.9 with
MySQL
java.lang.ClassCastException: org.apache.tomcat.dbcp.dbcp.BasicDataSource
Here's the relevant code:
*Java code:*
org.apache.commons.dbcp.BasicDataSource datasource;
datasource =
ClassCastException. Is Tomcat instantiating the
correct DataSourceFactory?
I have the commons-dbcp-1.2.1.jar in my ${TOMCAT_HOME}/common/lib
Thanks,
Dhiren
On 5/8/05, Lutz Zetzsche [EMAIL PROTECTED] wrote:
Hi Dhiren,
Am Montag, 9. Mai 2005 07:36 schrieb Dhiren Bhatia:
Hi all,
I'm getting
Zetzsche [EMAIL PROTECTED] wrote:
Hi Dhiren,
Am Montag, 9. Mai 2005 07:36 schrieb Dhiren Bhatia:
Hi all,
I'm getting a the following ClassCastException running Tomcat 5.5.9
with MySQL
java.lang.ClassCastException:
org.apache.tomcat.dbcp.dbcp.BasicDataSource
Here's
.
Gernot
-Ursprüngliche Nachricht-
Von: Dhiren Bhatia [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 09. Mai 2005 18:47
An: Tomcat Users List
Betreff: Re: DBCP ClassCastException
I'm using BasicDataSource because javax.sql.DataSource does not have
methods
to set the driver class name
Hi
I'm having a problem reclaiming connections in my database connection pool.
I'm using the standard db conn pooling with Tomcat 5.5.9 with MySQL.
I release the connection as well as close the PreparedStatement in the code
after use. However, I still get errors with logEnabled set to true
Hi all,
I'm having trouble with the HttpServletRequest object if my post contains
multipart data. The request object loses all the parameters set from the
html form.
i.e. request.getParameter(myParam); always returns null. If I remove the
multipart encoding from my form, I see the parameter
this type
of problem.
On 10/8/05, Dhiren Bhatia [EMAIL PROTECTED] wrote:
Hi all,
I'm having trouble with the HttpServletRequest object if my post
contains
multipart data. The request object loses all the parameters set from the
html form.
i.e. request.getParameter(myParam); always