<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>
                                <td>
                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
Urgent problem: jboss as 5.1 offten happened time out exception
</h3>
<span style="margin-bottom: 10px;">
created by <a href="https://community.jboss.org/people/aquila_bj">jiang hongyu</a> in <i>Datasource Configuration</i> - <a href="https://community.jboss.org/message/731223#731223">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>helllo every one, I have some urgent problem about JBOSS db pool with mysql database(5.1.41). I offen found my sql exception from jboss as server. Does anybody find the same error problem before, how to fix this problem. </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Can anybody help to find what's root cause about this?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>2012-04-20 11:29:17,189 WARN  [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Unable to fill pool </p><p>org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>The last packet successfully received from the server was 6,128 milliseconds ago.  The last packet sent successfully to the server was 6,127 milliseconds ago.)</p><p>        at org.jboss.resource.adapter.jdbc.xa.XAManagedConnectionFactory.getXAManagedConnection(XAManagedConnectionFactory.java:465)</p><p>        at org.jboss.resource.adapter.jdbc.xa.XAManagedConnectionFactory.createManagedConnection(XAManagedConnectionFactory.java:409)</p><p>        at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:633)</p><p>        at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.fillToMin(InternalManagedConnectionPool.java:541)</p><p>        at org.jboss.resource.connectionmanager.PoolFiller.run(PoolFiller.java:74)</p><p>        at java.lang.Thread.run(Thread.java:619)</p><p>Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>The last packet successfully received from the server was 6,128 milliseconds ago.  The last packet sent successfully to the server was 6,127 milliseconds ago.</p><p>        at sun.reflect.GeneratedConstructorAccessor219.newInstance(Unknown Source)</p><p>        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)</p><p>        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)</p><p>        at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)</p><p>        at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1116)</p><p>        at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3591)</p><p>        at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3480)</p><p>        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4021)</p><p>        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:951)</p><p>        at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:4602)</p><p>        at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1328)</p><p>        at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2389)</p><p>        at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2422)</p><p>        at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2207)</p><p>        at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:797)</p><p>        at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)</p><p>        at sun.reflect.GeneratedConstructorAccessor125.newInstance(Unknown Source)</p><p>        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)</p><p>        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)</p><p>        at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)</p><p>        at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:389)</p><p>        at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)</p><p>        at com.mysql.jdbc.jdbc2.optional.MysqlDataSource.getConnection(MysqlDataSource.java:440)</p><p>        at com.mysql.jdbc.jdbc2.optional.MysqlDataSource.getConnection(MysqlDataSource.java:138)</p><p>        at com.mysql.jdbc.jdbc2.optional.MysqlDataSource.getConnection(MysqlDataSource.java:108)</p><p>        at com.mysql.jdbc.jdbc2.optional.MysqlXADataSource.getXAConnection(MysqlXADataSource.java:48)</p><p>        at org.jboss.resource.adapter.jdbc.xa.XAManagedConnectionFactory.getXAManagedConnection(XAManagedConnectionFactory.java:449)</p><p>        ... 5 more</p><p>Caused by: java.io.EOFException: Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.</p><p>        at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:3041)</p><p>        at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3491)</p><p>        ... 26 more</p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/731223#731223">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in Datasource Configuration at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2077">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>