gloeglm wrote:
Then set hibernate.cache.provider_class=net.sf.hibernate.cache.HashtableCacheProvider if you are not using caching this should not matter.
OK, I trid this but all I get instead is,
Code:
net.sf.hibernate.HibernateException: could not instantiate CacheProvider: net.sf.hibernate.cache.HashtableCacheProvider
at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:115)
at net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1091)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:737)
at com.dexels.sportlink.adapters.HibernateBaseMap.startHibernateSession(HibernateBaseMap.java:89)
at com.dexels.sportlink.adapters.HibernateBaseMap.load(HibernateBaseMap.java:57)
at InitHibernate.execute(InitHibernate.java:39)
at com.dexels.navajo.server.GenericHandler.doService(GenericHandler.java:118)
at com.dexels.navajo.server.ServiceHandler.construct(ServiceHandler.java:57)
at com.dexels.navajo.persistence.impl.PersistenceManagerImpl.get(PersistenceManagerImpl.java:266)
at com.dexels.navajo.server.Dispatcher.dispatch(Dispatcher.java:206)
at com.dexels.navajo.server.Dispatcher.handle(Dispatcher.java:576)
at com.dexels.navajo.server.listener.http.TmlHttpServlet.doPost(TmlHttpServlet.java:265)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:211)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
at com.evermind._deb._lnc(.:514)
at com.evermind._deb._wmb(.:170)
at com.evermind._co._wbb(.:581)
at com.evermind._co._fs(.:189)
at com.evermind._bt.run(.:62)
Caused by: java.lang.ClassCastException
at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:112)
... 19 more
Here too are the log entries from Hibernate,
Code:
69178 [ApplicationServerThread] INFO net.sf.hibernate.dialect.Dialect - Using dialect: net.sf.hibernate.dialect.Oracle9Dialect
70387 [ApplicationServerThread] WARN net.sf.hibernate.cfg.SettingsFactory - No dialect set - using GenericDialect: Could not instantiate dialect class
70624 [ApplicationServerThread] INFO net.sf.hibernate.dialect.Dialect - Using dialect: net.sf.hibernate.dialect.GenericDialect
70626 [ApplicationServerThread] INFO net.sf.hibernate.cfg.SettingsFactory - Use outer join fetching: false
71362 [ApplicationServerThread] WARN net.sf.hibernate.connection.UserSuppliedConnectionProvider - No connection properties specified - the user must supply JDBC connections
72410 [ApplicationServerThread] INFO net.sf.hibernate.transaction.TransactionManagerLookupFactory - No TransactionManagerLookup configured (in JTA environment, use of process level read-write cache is not recommended)
72409 [ApplicationServerThread] INFO net.sf.hibernate.cfg.SettingsFactory - Use scrollable result sets: false
72410 [ApplicationServerThread] INFO net.sf.hibernate.cfg.SettingsFactory - echoing all SQL to stdout
72411 [ApplicationServerThread] INFO net.sf.hibernate.cfg.SettingsFactory - Query language substitutions: {}
72413 [ApplicationServerThread] INFO net.sf.hibernate.cfg.SettingsFactory - cache provider: net.sf.hibernate.cache.HashtableCacheProvider