facebook

hibernate & tomcat

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

    Steven Leija
    Member

    Hello,

    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 :

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

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

    Any ideas?

    Thanks!

    #219498 Reply

    Riyad Kalla
    Member

    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