Thanks for the suggestion, they have given me a place to start looking into this problem.
I am really not sure what I am doing when it comes to the details of MySQL Administration or C3P0.
I assume that if I kill the threads to JForum through MySQL Administrator, then refresh the JForum page, I should actually get the page as I expect rather than the error message? My Assumption would be that if the
thread has died, then C3P0 should start a new thread for this connection as it is a fresh request.
As I cannot really re-produce this error without killing the thread in MySQL Administrator, I will just need to wait and see if the changes I made had any effect. The changes I have made are:
Setting maxIdleTime=120 on the c3p0.extra.paramsSetting connect_timeout to 150 (I assume it is in seconds as the default is 5) through a MySQL console
Does they look like sensible things to try?
With the above setting, if I kill the thread in MySQL Administrator, I still get the error message.
[originally posted on jforum.net by klogger]