Hi, I have a program that is 24x7 on ... I ' m using java + hibernate 3.3.2 GA + c3pO + mysql
And I have this exception .... The problem is that exception occurs 5 - 6 times the program stop ...
I dont known what to do ...
tkanks
[Thread-23841] ERROR org.hibernate.util.JDBCExceptionReporter - The last packet successfully received from the server was 43.203.686 milliseconds ago. The last packet sent successfully to the server was 43.203.699 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. 00:53:32,310 ERROR [STDERR] 44886692 [Thread-23841] ERROR org.hibernate.event.def.AbstractFlushingEventListener - Could not synchronize database state with session 00:53:32,310 ERROR [STDERR] org.hibernate.exception.JDBCConnectionException: Could not execute JDBC batch update 00:53:32,310 ERROR [STDERR] at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:97) 00:53:32,310 ERROR [STDERR] at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) 00:53:32,310 ERROR [STDERR] at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275) 00:53:32,310 ERROR [STDERR] at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:266) 00:53:32,310 ERROR [STDERR] at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:167) 00:53:32,310 ERROR [STDERR] at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321) 00:53:32,310 ERROR [STDERR] at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:50) 00:53:32,310 ERROR [STDERR] at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1028) 00:53:32,310 ERROR [STDERR] at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:366) 00:53:32,311 ERROR [STDERR] at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:137)
|