Close « Tomcat « JPA Q&A





1. Tomcat closes connection after a month of inactivity - how to avoid?    stackoverflow.com

I have a Flex/Java/MySQL/Hibernate application running on tomcat/BlazeDS which have very LOW activity, the user can even not visit it for months. The problem that after a month of inactivity the connections ...

2. Hibernate's closing Tomcat-supplied connections!    forum.hibernate.org

Regular Joined: Wed Feb 15, 2006 9:09 pm Posts: 76 Need help with Hibernate? Read this first: http://www.hibernate.org/ForumMailingli ... AskForHelp Hibernate version: 3.1.3 Full stack trace of any exception that occurs: Code: INFO: Error performing load command org.hibernate.exception.GenericJDBCException: could not load an entity: [org.blah.system.db.MenuItem#1050] at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103) at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43) ...