restart « Tomcat « JPA Q&A





1. Hibernate Exception after restarting Tomcat need redeploying    zkoss.org

***SOLVED*** Hi, When I deploy our application on Apache Tomcat, the application work well. But if I stop/start or restart the Apache Tomcat service. At one of page I get this error. Then the only thing I could do to stop getting this error is redeploy again. What is causing that ? ZK ? Hibernate ? Why ? Is there another ...

2. Recovering from DB Restart in Tomcat    forum.hibernate.org

Hi, So I'm wondering if there is any way to allow Hibernate to recover from a database restart without restarting the Tomcat context. When the database is down I get a java.net.SocketException when I try to start a transaction. session.isConnected() and session.isOpen() don't seem to give any useful information. When the database restarts I get the same exception in the same ...

3. ThreadDeath Exception on Session after Tomcat restart    forum.hibernate.org

Hi I'm using Hibernate 2.1.2 with Tomcat 5.0.1.9 for a servlet based webapplication. I store my Hibernate Session as HttpSession attribute and it works fine, except I restart the Tomcat server. After that the application throws a ThreadDeath exception on the Hibernate Session object. My current solution is to check the Tomcat starttime and create a new Hibernate Session if Tomcat ...

4. Tomcat requires restart offten when my application runs    forum.hibernate.org

Hi all, When i run my code agin & again,tomcat hangs up &requires a restart.But when i stop the server it takes a long time to shutdown.Datas in my legacy db is also very less.Since it is a legacy DB,i used 1 update thread org.hibernate.cache.NoCacheProvider Hope u people help me to solve this.