hibernate & tomcat

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #219359 Reply

    Steven Leija


    This posting differs from this forum, but I figured since I’m using myeclipse maybe othes have run into this issue aswell. I’m currently trying to use hibernate and tomcat in a simple webapp and when I configure my context and deploy, the second i start a transaction, I get a :

    at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:116)

    I’ve configured mysql to handle transactions and stilll no luck.

    Any ideas?


    #219498 Reply

    Riyad Kalla

    Did you setup Tomcat to use a JNDI resource for your database connections? Did you setup Hibernate to use the JNDI datasource to get connections? It looks like you threw in an incompatible version of commons pool into your project and either Tomcat or Hibernate is choking on it.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: hibernate & tomcat

You must be logged in to post in the forum log in