MyEclipse Forums
This thread has been locked & this forum has been archived.
Please post new topics to Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
View previous topic Printable version Log in to check your private messages View next topic
Author Message
StevenLeija
Post subject: hibernate & tomcat  PostPosted: Nov 11, 2004 - 08:46 PM
Veteran Member
Veteran Member


Joined: Jul 16, 2004
Posts: 14

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!
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Nov 15, 2004 - 05:21 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23818

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.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits