Advertisement
Guest User

Untitled

a guest
Aug 21st, 2016
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.62 KB | None | 0 0
  1. 21.08.16 12:28:47 [ERROR] com.dao.ReplicationRecipientDao - could not extract ResultSet
  2. 21.08.16 12:28:47 [ERROR] com.main.MainProgram - org.hibernate.exception.JDBCConnectionException: could not extract ResultSet
  3.  
  4. [2016-08-21T12:28:47.905+0300] [glassfish 4.1] [WARN] [] [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] [tid: _ThreadID=1065 _ThreadName=Thread-64] [timeMillis: 1471771727905] [levelValue: 900] [[
  5. SQL Error: 0, SQLState: 08S01]]
  6.  
  7. [2016-08-21T12:28:47.906+0300] [glassfish 4.1] [ERROR] [] [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] [tid: _ThreadID=1065 _ThreadName=Thread-64] [timeMillis: 1471771727906] [levelValue: 1000] [[
  8. The last packet successfully received from the server was 36,940,570 milliseconds ago. The last packet sent successfully to the server was 36,940,570 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem.]]
  9.  
  10. <property name="connection.driver_class">com.mysql.jdbc.Driver</property>
  11. <property name="hibernate.current_session_context_class">thread</property>
  12. <property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>
  13. <property name="connection.url">jdbc:mysql://localhost:3306/mydb?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&useSSL=false</property>
  14. <property name="connection.username">root</property>
  15. <property name="connection.password">123</property>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement