SessionImpl « Connection « JPA Q&A





2. net.sf.hibernate.impl.SessionImpl unclosed connection    forum.hibernate.org

Read the rules before posting! http://www.hibernate.org/ForumMailingli ... AskForHelp Hibernate version: 2.1.8 Code between sessionFactory.openSession() and session.close(): public ActionForward save(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { ActionErrors errors = new ActionErrors(); DynaActionForm dynaForm = (DynaActionForm) form; Transaction tx = null; HibernateUtil util = null; Session session = null; ActionUtil aUtil = ActionUtil.getInstance(); try { ViewBean bean = new ...

4. WARN SessionImpl unclosed connection and pgm dies    forum.hibernate.org

Using Hibernate 2 and MySql 4.1.20 I have a program that ran constantly (and successfully) for a month when it suddenly just died with no exception info and no stack trace (we print a stack trace when a catchable exception is thrown). The last thing that we see in the log file is the following error: WARN [07 Dec 2006 02:11:18] ...