JBOSS running into IO exception
lakshminarayana.garoju Oct 25, 2012 3:29 PMHi, could somebody help me with this problem? JBOSS that I am running sometimes crashes.
It seems it is losing connection to MySQL. When I observed the thread dump I found below exception.
INFO | jvm 2 | 2012/10/24 10:49:51 | 10:49:51,383 WARN [JBossManagedConnectionPool] Unable to fill pool
INFO | jvm 2 | 2012/10/24 10:49:51 | org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:
INFO | jvm 2 | 2012/10/24 10:49:51 |
INFO | jvm 2 | 2012/10/24 10:49:51 | ** BEGIN NESTED EXCEPTION **
INFO | jvm 2 | 2012/10/24 10:49:51 |
INFO | jvm 2 | 2012/10/24 10:49:51 | com.mysql.jdbc.CommunicationsException
INFO | jvm 2 | 2012/10/24 10:49:51 | MESSAGE: Communications link failure due to underlying exception:
INFO | jvm 2 | 2012/10/24 10:49:51 |
INFO | jvm 2 | 2012/10/24 10:49:51 | ** BEGIN NESTED EXCEPTION **
INFO | jvm 2 | 2012/10/24 10:49:51 |
INFO | jvm 2 | 2012/10/24 10:49:51 | java.io.EOFException
INFO | jvm 2 | 2012/10/24 10:49:51 | MESSAGE: Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.
INFO | jvm 2 | 2012/10/24 10:49:51 |
INFO | jvm 2 | 2012/10/24 10:49:51 | STACKTRACE:
INFO | jvm 2 | 2012/10/24 10:49:51 |
INFO | jvm 2 | 2012/10/24 10:49:51 | java.io.EOFException: Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.
INFO | jvm 2 | 2012/10/24 10:49:51 | at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1997)
INFO | jvm 2 | 2012/10/24 10:49:51 | at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2411)
INFO | jvm 2 | 2012/10/24 10:49:51 | at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2916)
INFO | jvm 2 | 2012/10/24 10:49:51 | at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:885)
INFO | jvm 2 | 2012/10/24 10:49:51 | at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3421)
INFO | jvm 2 | 2012/10/24 10:49:51 | at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1247)
INFO | jvm 2 | 2012/10/24 10:49:51 | at com.mysql.jdbc.Connection.createNewIO(Connection.java:2748)
INFO | jvm 2 | 2012/10/24 10:49:51 | at com.mysql.jdbc.Connection.<init>(Connection.java:1553)
INFO | jvm 2 | 2012/10/24 10:49:51 | at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:285)
INFO | jvm 2 | 2012/10/24 10:49:51 | at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:172)
INFO | jvm 2 | 2012/10/24 10:49:51 | at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:584)
INFO | jvm 2 | 2012/10/24 10:49:51 | at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.fillToMin(InternalManagedConnectionPool.java:531)
INFO | jvm 2 | 2012/10/24 10:49:51 | at org.jboss.resource.connectionmanager.PoolFiller.run(PoolFiller.java:74)
INFO | jvm 2 | 2012/10/24 10:49:51 | at java.lang.Thread.run(Thread.java:619)
INFO | jvm 2 | 2012/10/24 10:49:51 |
INFO | jvm 2 | 2012/10/24 10:49:51 |
INFO | jvm 2 | 2012/10/24 10:49:51 | ** END NESTED EXCEPTION **
Thanks
Lakshmi Narayana