tomcat « Load « JPA Q&A





1. turn api with hibernate objects into service for multiple applications    stackoverflow.com

i have an API that is being written for a large group of 40 or so applications to share. my problem is currently they plan on having the API as ...

2. cannot load hibernate.cfg.xml with tomcat    forum.hibernate.org

I try to configure my sessionFactory using hibernate.cfg.xml and File file = new File(absolutePath+"hibernate.cfg.xml"); session = new Configuration().configure(file).buildSessionFactory().openSession(); But it always throws me an net.sf.hibernate.cfg.Configuration exception and it said it cannot find absolutePath+"hibernate.cfg.xml"). I'm using Tomcat for this webapps.Is tomcat able to load absolute path during webapps runtime? Any help colud be appreciated Regards

3. Could not load com.mchange....BasicResourcePool in Tomcat    forum.hibernate.org

Hello all, I'm running Hibernate 3.1 inside a web application running in Tomcat. After few minutes (aprox 20 minutes) I have the following message in the catalina log file INFO: Illegal access: this web application instance has been stopped already. Could not load com.mchange.v2.resourcepool.BasicResourcePool$5. The eventual following stack trace is caused by an error thrown for debugging purposes as well as ...