Hi,
After upgrading from Hibernate 2.1.6 to 2.1.8, I get an AbstractMethodError when trying to open a session.
Downgrading to 2.1.6 solves the problem.
I was using the EHCahce.
Since I haven't tried 2.1.7 I don't know if this problem was introduced in 2.1.7, or in 2.1.8.
I'm sorry for not yet trying out more, but I don't have time now to experiment much -- I need to deliver, and can actually just as well deliver with 2.1.6, so there's not a strong need for me to get this sorted out right now.
But I wanted to report the problem nonetheless, and I'd like to know if anyone else has had a similar problem, and what was needed to fix it.
regards,
--Tim van der Leeuw
Hibernate version: 2.1.8
Full stack trace of any exception that occurs:
java.lang.AbstractMethodError: net/sf/ehcache/hibernate/Provider.start
at net.sf.hibernate.cfg.Configuration.configureCaches(Configuration.java:1133)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:804)
at com.unisys.pdg.common.dao._RootDAO.initialize(Unknown Source)
at com.unisys.pdg.common.dao.DaoFactory.<init>(Unknown Source)
at com.unisys.pdg.life.dao.LifeDaoFactory.<init>(Unknown Source)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java(Compiled Code))
at com.unisys.pdg.common.core.PDGFactory.createInstance(Unknown Source)
at com.unisys.pdg.common.core.PDGFactory.getDaoFactory(Unknown Source)
at com.unisys.pdg.common.core.AbstractPDGBean.daoSetup(Unknown Source)
at com.unisys.pdg.common.incoming.GenericRequestMessageBean.handleMessage(Unknown Source)
at com.unisys.pdg.common.jms.AbstractPDGMessageBean.onMessage(Unknown Source)
at com.ibm.ejs.jms.listener.MDBWrapper$PriviledgedOnMessage.run(MDBWrapper.java:205)
at java.security.AccessController.doPrivileged(Native Method)
at com.ibm.ejs.jms.listener.MDBWrapper.callOnMessage(MDBWrapper.java:194)
at com.ibm.ejs.jms.listener.MDBWrapper.onMessage(MDBWrapper.java:172)
at com.ibm.mq.jms.MQSession.run(MQSession.java:1043)
at com.ibm.ejs.jms.JMSSessionHandle.run(JMSSessionHandle.java:923)
at com.ibm.ejs.jms.listener.ServerSession.connectionConsumerOnMessage(ServerSession.java:697)
at com.ibm.ejs.jms.listener.ServerSession.onMessage(ServerSession.java:482)
at com.ibm.ejs.jms.listener.ServerSession.dispatch(ServerSession.java:449)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ejs.jms.listener.ServerSessionDispatcher.dispatch(ServerSessionDispatcher.java:37)
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:91)
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:127)
at com.ibm.ejs.jms.listener.ServerSession.run(ServerSession.java:372)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)
Name and version of the database you are using:
DB2, v8.1
|