com.mysql.jdbc.CommunicationsException
Posted by: Aobakwe Moasi
Date: September 16, 2005 03:21AM

I get this exception when my application stays idle for long period.

com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:

** BEGIN NESTED EXCEPTION **

java.net.SocketException
MESSAGE: Broken pipe


Scenario:
I have two applications running on the linux machines. One application is used to write to the database while the Second one is used to check for new entries on the database at fixed intervals, 5 seconds.

I can read from the table but I can't write to the table but I can write to other tables in the database.


I'm using JBoss 4 , MySQL 4.1, Ubuntu

I've been on this issue for weeks now so any help will be appreciated.

Options: ReplyQuote


Subject
Written By
Posted
com.mysql.jdbc.CommunicationsException
September 16, 2005 03:21AM


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.