
full-hibernate-plugin-for-struts2 - issue #24
hibernate pooling is broken after using full-hibernate-plugin-for-struts2
What steps will reproduce the problem? 1. Configure the C3P0 connection pool in Hibernate 2. Try to get some data from the database 3. Add hibernate-plugin, get some additional data from the database in new struts2 action. Try to get the data from the second point above.
What is the expected output? What do you see instead? I expected to get the result from the database. Hibernate pooling is closed. I got an error: com.mchange.v2.c3p0.PoolBackedDataSource.....has been closed() -- you can no longer use it
What version of the product are you using? On what operating system? struts2-fullhibernatecore-plugin-2.2.1-GA.
Please provide any additional information below. I put the error on my blog http://javanus.com/blog/?p=233
Regards, Javanus
Comment #1
Posted on Nov 11, 2010 by Happy HorseI can't really confirm the post above. But i experienced that the connection pool managed by c3p0 is growing with each database request. Why the "pool max size" is ignored at this point is confusing me. The result is to have such a lot of connections to mysql that mysql's connection limit is reached.
If i can help/investigate more, please let me know.
Comment #2
Posted on Sep 10, 2012 by Quick MonkeyWe experiment the same problem.
Status: New
Labels:
Type-Defect
Priority-Medium