-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: ERROR JDBCExceptionReporter
PostPosted: Sat Jul 24, 2010 10:35 am 
Newbie

Joined: Sat Jul 24, 2010 10:28 am
Posts: 1
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)


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.