I've searched for this about one week, and still no answer. I'm not sure what this problem is about
I 've been using MySql 4.1, Tomcat 5, hibernate2, Spring 1.1.5 together without problem.
Until i changed the DriverManagerDataSource of Spring into a connection pooling source; C3P0 0.9.0 pre6 (or DBCP)
Now, after some time like 5-10 mins (i guess time decreases with concurrent user count), tomcat gives an error :
org.apache.tomcat.util.threads.ThreadPool logFull SEVERE : All threads(150) are currently busy, waiting. Increase maxThreads or check servlet status
After this error, tomcat doesnt let any other connection.
Ofcourse, i tried to increase max thread, just delayed the error.
I dont think this is something about MySql, because same error with different consequences happens with Oracle too.
I dont know what to do. Somehow, somewhere threads are not being released
Any guidance would be appreciated.
|