File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting "A ResourcePool could not acquire a resource from its primary factory or source."

 
Micale Raj
Ranch Hand
Posts: 30
Hibernate IntelliJ IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

Full stack trace:


My Data source ( spring xml )


Any idea what would be wrong ?

Thanks in advance for any help.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic