file upload

2008-09-05 Thread Silvio Rainoldi
When I try to write a file in a folder in the server I get this error: org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. /home/www/virtual/test/images/htdocs/ flyers/upload_1ed3f2d1_11c313f7288__8000_.tmp (Permission

Losing connection to db with many users

2008-07-23 Thread Silvio Rainoldi
Hi all, I'm using tomcat 6 + mysql + c3p0 connection pools + hibernate. If i test my web application with Apache JMeter simulating 100 users (threads?!) in a page, after 5-30 seconds i will lose the connection to db. If I redeploy the application it work again... In the tomcat manager I see

Re: Losing connection to db with many users

2008-07-23 Thread Silvio Rainoldi
] On Behalf Of Silvio Rainoldi Sent: 23 July 2008 11:07 To: users@tomcat.apache.org Subject: Losing connection to db with many users Hi all, I'm using tomcat 6 + mysql + c3p0 connection pools + hibernate. If i test my web application with Apache JMeter simulating 100 users (threads

Re: Losing connection to db with many users

2008-07-23 Thread Silvio Rainoldi
with it because our pools have a limit on the number of connections that can be created in the pool. This stops the database getting too many requests. Rob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Silvio Rainoldi Sent: 23 July 2008 12:05 To: Tomcat