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 = (BasicDataSource)ctx.lookup(
hiren
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 a the following ClassCastException running Tomcat 5.5.9
>
> -----Ursprüngliche Nachricht-
> Von: Dhiren Bhatia [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 09. Mai 2005 17:19
> An: Tomcat Users List
> Betreff: Re: DBCP ClassCastException
>
>
> Hi Lutz,
> I changed the Resource tag definition to:
> maxActive=&q
actory and it works in tomcat 5.5with
> the above jars.
>
> 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
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 sayi
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 valu
bizarre idea that causes 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 obj