<!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="http://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;">
Socket timed out on ResourceManager.commitLocal
</h3>
<span style="margin-bottom: 10px;">
created by <a href="http://community.jboss.org/people/whitingjr">Jeremy Whiting</a> in <i>JBoss Messaging</i> - <a href="http://community.jboss.org/message/563352#563352">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>Hi,</p><p> I am running the SPECjms2007 benchmark against JBM with a MySQL database. There is one resource manager in the SUT and the database is configured using local transaction.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p> The benchmark pushes a variety of message type/size and load. The demand on the messaging server is at (low) BASE 35 for the horizontal topology.</p><p> The benchmark is not completing during warmup due to an socket timeout when processing a message that is sent transactionally.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p> I have not investigated yet but initial thoughts are there is a deadlock when the server is updating the database. Am I on the right track do you think ?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>HQ_Interaction3DR_1_EHID_1: Uncaught exception.<br/>org.jboss.jms.exception.MessagingTransactionRolledBackException<br/>    at org.jboss.jms.tx.ResourceManager.commitLocal(ResourceManager.java:225)<br/>    at org.jboss.jms.client.container.SessionAspect.handleCommit(SessionAspect.java:582)<br/>    at org.jboss.aop.advice.org.jboss.jms.client.container.SessionAspect_z_handleCommit_2058061115.invoke(SessionAspect_z_handleCommit_2058061115.java)<br/>    at org.jboss.jms.client.delegate.ClientSessionDelegate$commit_8461082169793485964.invokeNext(ClientSessionDelegate$commit_8461082169793485964.java)<br/>    at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)<br/>    at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86)<br/>    at org.jboss.jms.client.delegate.ClientSessionDelegate$commit_8461082169793485964.invokeNext(ClientSessionDelegate$commit_8461082169793485964.java)<br/>    at org.jboss.jms.client.delegate.ClientSessionDelegate.commit(ClientSessionDelegate.java)<br/>    at org.jboss.jms.client.JBossSession.commit(JBossSession.java:164)<br/>    at org.spec.jms.eventhandler.hq.HQ_Interaction3DR.oneIteration(HQ_Interaction3DR.java:134)<br/>    at org.spec.perfharness.WorkerThread.pace(WorkerThread.java:339)<br/>    at org.spec.jms.agents.SPECWorkerThread.pace(SPECWorkerThread.java:979)<br/>    at org.spec.jms.agents.SPECWorkerThread.run(SPECWorkerThread.java:750)<br/>    at org.spec.jms.eventhandler.hq.HQ_Interaction3DR.run(HQ_Interaction3DR.java:98)<br/>Caused by: org.jboss.jms.exception.MessagingNetworkFailureException<br/>    at org.jboss.jms.client.delegate.DelegateSupport.handleThrowable(DelegateSupport.java:245)<br/>    at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:205)<br/>    at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:160)<br/>    at org.jboss.jms.client.delegate.ClientConnectionDelegate.org$jboss$jms$client$delegate$ClientConnectionDelegate$sendTransaction$aop(ClientConnectionDelegate.java:225)<br/>    at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N3268650789275322226.invokeNext(Cli<br/>entConnectionDelegate$sendTransaction_N3268650789275322226.java)<br/>    at org.jboss.jms.client.container.FailoverValveInterceptor.invoke(FailoverValveInterceptor.java:92)<br/>    at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86)<br/>    at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N3268650789275322226.invokeNext(ClientConnectionDelegate$sendTransaction_N3268650789275322226.java)<br/>    at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)<br/>    at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86)<br/>    at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N3268650789275322226.invokeNext(ClientConnectionDelegate$sendTransaction_N3268650789275322226.java)<br/>    at org.jboss.jms.client.delegate.ClientConnectionDelegate.sendTransaction(ClientConnectionDelegate.java)<br/>    at org.jboss.jms.tx.ResourceManager.commitLocal(ResourceManager.java:206)<br/>    ... 13 more<br/>Caused by: org.jboss.remoting.InvocationFailureException: Socket timed out.  Waited 300000 milliseconds for response while calling on InvokerLocator [bisocket://hornetq:4457/?JBM_clientMaxPoolSize=1000&clientLeasePeriod=10000&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&failureDisconnectTimeout=0&marshaller=org.jboss.jms.wireformat.JMSWireFormat&socket.check_connection=false&stopLeaseOnFailure=true&timeout=300000&unmarshaller=org.jboss.jms.wireformat.JMSWireFormat&useClientConnectionIdentity=true&validatorPingPeriod=10000&validatorPingTimeout=5000]; nested exception is: <br/>    java.net.SocketTimeoutException: Read timed out<br/>    at org.jboss.remoting.transport.socket.SocketClientInvoker.handleException(SocketClientInvoker.java:137)<br/>    at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.handleOtherException(MicroSocketClientInvoker.java:1079)<br/>    at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:941)<br/>    at org.jboss.remoting.transport.bisocket.BisocketClientInvoker.transport(B<br/>isocketClientInvoker.java:461)<br/>    at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:167)<br/>    at org.jboss.remoting.Client.invoke(Client.java:2034)<br/>    at org.jboss.remoting.Client.invoke(Client.java:877)<br/>    at org.jboss.remoting.Client.invoke(Client.java:865)<br/>    at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:189)<br/>    ... 24 more<br/>Caused by: java.net.SocketTimeoutException: Read timed out<br/>    at java.net.SocketInputStream.socketRead0(Native Method)<br/>    at java.net.SocketInputStream.read(SocketInputStream.java:146)<br/>    at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)<br/>    at java.io.BufferedInputStream.read(BufferedInputStream.java:254)<br/>    at java.io.FilterInputStream.read(FilterInputStream.java:83)<br/>    at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.readVersion(MicroSocketClientInvoker.java:1342)<br/>    at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:895)<br/>    ... 30 more</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>os: RHEL 5.5  x86_64</p><p>database: MySQL 5.1.50 community</p><p>JBM: 1.4.7.GA</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Regards,</p><p>Jeremy</p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/563352#563352">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Messaging at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2042">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>