[jboss-user] [Beginner's Corner] - JBOSS running into IO exception

Lakshmi Narayana Garoju do-not-reply at jboss.com
Thu Oct 25 15:29:32 EDT 2012


Lakshmi Narayana Garoju [https://community.jboss.org/people/lakshminarayana.garoju] created the discussion

"JBOSS running into IO exception"

To view the discussion, visit: https://community.jboss.org/message/772450#772450

--------------------------------------------------------------
Hi, 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
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/772450#772450]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121025/07acad01/attachment-0001.html 


More information about the jboss-user mailing list