time « Tomcat « JPA Q&A





1. can Use Hibernate and Tomcat Connection pool at same time?    stackoverflow.com

I have a java web Application and I use Tomcat connection pooling for it, this my setting:

<?xml version="1.0" encoding="UTF-8"?>
<Context path="" docBase="" debug="5" reloadable="true" crossContext="true">
<Resource name="jdbc/jdbcPool"
       ...

2. Hibernate Connection time out - java.io.EOFException    stackoverflow.com

An exception is thrown after 2 days of starting the connection...

SEVERE: Servlet.service() for servlet Reciever threw exception org.hibernate.exception.JDBCConnectionException: could not execute query ...

3. Tomcat startup time is about 5 minutes    forum.hibernate.org

..resulting directly from a huge number of Hibernate mapping files. I am just a week into the project so don't know the exact issues yet but am wondering what would be some approaches to solving this problem. If I comment out the .hbm files, the startup time reduces by 80% or so. The database is in the network but not running ...