This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
I have a Web application which uses hiberante 4. When i deployed it on tomcat ( Tomcat 7 ) and try to do database operation it throws
"com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source." Exception.
But when I'm doing same thing using testng it run without a problem