Re: Multipart Request

2005-10-09 Thread Dhiren Bhatia
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

Multipart Request

2005-10-08 Thread Dhiren Bhatia
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

Tomcat DB Connection Pooling

2005-09-05 Thread Dhiren Bhatia
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

Re: DBCP ClassCastException

2005-05-09 Thread Dhiren Bhatia
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

Re: DBCP ClassCastException

2005-05-09 Thread Dhiren Bhatia
> -----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

Re: DBCP ClassCastException

2005-05-09 Thread Dhiren Bhatia
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 >

DBCP ClassCastException

2005-05-08 Thread 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 the relevant code: *Java code:* org.apache.commons.dbcp.BasicDataSource datasource; datasource = (BasicDataSource)ctx.lookup(