Sebastian - I'm not aware of anything from an OpenJPA configuration point of view. Have you looked at the MySQL driver documentation[1]? Perhaps the tcpKeepAlive property will solve your problem.
[1] http://dev.mysql.com/doc/refman/5.0/en/connector-j-reference-configuration-properties.html Thanks, Rick On Tue, Jun 12, 2012 at 9:38 AM, seba.wag...@gmail.com < seba.wag...@gmail.com> wrote: > Hi, > > after checking some of our logs I did found some Exception like: > Operation Broken Pipe, last Packet send 52.xxx seconds .... > > Is there a Ping that you can configure in OpenJPA so that OpenJPA > keeps the DB connection active? > > We are using OpenJPA integrated into Spring with: > org.springframework.orm.jpa.JpaTransactionManager > > This is our openJPA/Spring configuration: > > https://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/WEB-INF/openmeetings-applicationContext.xml?view=markup > > Is there are way either in the persistence.xml or Spring config for > the transactionManager? > Something like "keepAlivePingTime" or comparable? > > Thanks! > Sebastian > -- > Sebastian Wagner > https://twitter.com/#!/dead_lock > http://www.openmeetings.de > http://www.webbase-design.de > http://www.wagner-sebastian.com > seba.wag...@gmail.com > -- *Rick Curtis*