JPAContainer + JPA2 + Hbn com.vaadin.server.ServiceException: org.hibernate

Hi! After some time of idle, my application stopped working because of
com.vaadin.server.ServiceException: javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: could not inspect JDBC autocommit mode.

Maybe somebody know how to disable autocommit inspection or in case of failure to reestablish connection?
I am using tomcat7

JPA2

org.hibernate.ejb.HibernatePersistence
java:comp/env/jdbc/RecordManagerDS








I am new in jpa2 - maybe i have some mistake in configuration?