Good day to all, help me deal with the problem, there is a local database to which hibernate is accessing locally, it happens that the day works perfectly, no errors are broken, everything works fast, but Hibernate often breaks the connection with the socket, what could be the problem? Errors with Eclipse logs:

1) org.hibernate.exception.JDBCConnectionException: Could not open connection

2) Caused by: java.sql.SQLRecoverableException: I / O Error: Socket read timed out

3) Caused by: oracle.net.ns.NetException: Socket read timed out

I decided to make a request directly to jsp through a jdbc driver, also a communication error. Tomcat7 reboots do not help to solve this problem, it happens when after a certain time the problem goes away itself, it happens that in time you need to reboot the server. The database server itself is pinged and requests on the side work. Oracle DB, driver downloaded from off. site and connected to maven, and hibernate, if you need more invy write what, I will provide. Please help me, thank you all very much.

0