MySQL Forums :: Connector/JDBC and Java :: MySQL Broken pipe

Advanced Search

Re: MySQL Broken pipe
Posted by: Jeyendran Balakrishnan ()
Date: August 31, 2009 06:33PM


I am also getting the same kind of exception after the server has been runing for a while:

My system configuration:
* Tomcat 6.0.18
* mySQL 5.0.45
* Database connection type: Java JPA
* JPA library: Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))
* No connection pooling of any kind.

[TopLink Warning]: 2009.08.31 04:41:43.369--ClientSession(25914126)--Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.DatabaseException
Internal Exception: com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:

MESSAGE: Broken pipe

STACKTRACE: Broken pipe
at Method)
at com.mysql.jdbc.MysqlIO.send(
at com.mysql.jdbc.MysqlIO.sendCommand(
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(
at com.mysql.jdbc.Connection.execSQL(
at com.mysql.jdbc.Connection.setAutoCommit(
at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.basicBeginTransaction(
at oracle.toplink.essentials.internal.databaseaccess.DatasourceAccessor.beginTransaction(
at oracle.toplink.essentials.internal.sessions.AbstractSession.basicBeginTransaction(
at oracle.toplink.essentials.threetier.ClientSession.basicBeginTransaction(
at oracle.toplink.essentials.internal.sessions.AbstractSession.beginTransaction(
at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.beginTransaction(
at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.commitToDatabase(
at oracle.toplink.essentials.internal.ejb.cmp3.base.RepeatableWriteUnitOfWork.commitToDatabase(
at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.commitToDatabaseWithChangeSet(
at oracle.toplink.essentials.internal.ejb.cmp3.base.RepeatableWriteUnitOfWork.commitRootUnitOfWork(
at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.commitAndResume(
at oracle.toplink.essentials.internal.ejb.cmp3.transaction.base.EntityTransactionImpl.commit(
at oracle.toplink.essentials.internal.ejb.cmp3.transaction.EntityTransactionImpl.commit(
at com.personaltube.db.impl.rdb.CResourceLocalDBManager.endTransaction(

where the last line calls:

So the exception occurs while the EntityManager is trying to commit the transaction. My transaction here is merely trying to add a row to a table.

mySQL shell seems to be working fine and I can manually do CRUD operations on the same table.

Please help, I don't know of any solutions that can help.

Thanks a lot.

Options: ReplyQuote

Subject Written By Posted
MySQL Broken pipe Leo Chan 09/04/2005 07:54PM
Re: MySQL Broken pipe Mark Matthews 09/04/2005 09:40PM
Re: MySQL Broken pipe Leo Chan 09/05/2005 01:50AM
Re: MySQL Broken pipe Simon Haldon 02/23/2006 10:48AM
Re: MySQL Broken pipe Mark Matthews 02/23/2006 10:52AM
Re: MySQL Broken pipe Simon Haldon 02/23/2006 10:57AM
Re: MySQL Broken pipe vzelenko 03/02/2006 09:17AM
Re: MySQL Broken pipe Anderson Meirelles 03/08/2006 07:41AM
Re: MySQL Broken pipe Mark Matthews 03/08/2006 07:48AM
Re: MySQL Broken pipe Anderson Meirelles Freitas 03/08/2006 08:37AM
Re: MySQL Broken pipe Mark Matthews 03/08/2006 08:43AM
Re: MySQL Broken pipe YoungSun Kim 04/30/2006 11:18PM
Re: MySQL Broken pipe Tae Yeon Jeon 06/15/2006 01:39AM
Re: MySQL Broken pipe lv qi 07/18/2006 08:18PM
Re: MySQL Broken pipe Allwyn Hill 04/18/2006 01:20PM
Re: MySQL Broken pipe Anson Parker 04/22/2006 07:19PM
Re: MySQL Broken pipe Martin Malo 05/09/2006 01:40PM
Re: MySQL Broken pipe Karikalan Kumaresan 10/05/2006 11:33PM
Re: MySQL Broken pipe Mark Matthews 10/06/2006 11:45AM
Re: MySQL Broken pipe Dmitry Kobyleha 06/16/2008 04:30AM
Re: MySQL Broken pipe shivam shah 02/28/2006 12:46AM
Re: MySQL Broken pipe Steve Reber 09/22/2006 08:05AM
Re: MySQL Broken pipe Lavanya Rathnakumar 06/19/2009 06:45AM
Re: MySQL Broken pipe Jeyendran Balakrishnan 08/31/2009 06:33PM
Re: MySQL Broken pipe suda Murali 11/29/2009 10:18AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.