<!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;">
[JBossAS5.1] JBoss Messaging works within a localhost, but not between systems
</h3>
<span style="margin-bottom: 10px;">
created by <a href="https://community.jboss.org/people/ednaswap">Sunghyun Kim</a> in <i>JBoss Messaging</i> - <a href="https://community.jboss.org/message/766551#766551">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 style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>I've recently set up JBoss AS 5.1 and implemented a point-to-point messaging service,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>where one client produces a message and the other consumes it, which works well </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>on a localhost, but not the case when the localhost is bound to an ip address and</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>the client(consumer) is outside the system over the firewall, with the producer within the localhost.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>The currently open ports ( by system administrator of my institution ) are :</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>1098</p><p>1099</p><p>4444</p><p>4457  (  opened to solve -> Problem establishing socket connection for InvokerLocator [bisocket://???.??.??.???:<span style="color: #ff0000;"><strong>4457</strong></span>/ )</p><p>4460</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>The ip address is open to public and even the firewall in my Windows 7 is down for test. </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>The command I use when starting a JBoss AS is</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>run.bat -b ???.??.??.??? -c default</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>I have not been able to find any clue to the problem since yesterday, completely stuck.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>I hope some guru may wake me up.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>=== Error message ===</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>org.jboss.jms.exception.MessagingNetworkFailureException</p><p> at org.jboss.jms.client.delegate.DelegateSupport.handleThrowable(DelegateSupport.java:245)</p><p> at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$createConnectionDelegate$aop(ClientConnectionFactoryDelegate.java:191)</p><p> at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.invokeTarget(ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.java)</p><p> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)</p><p> at org.jboss.jms.client.container.StateCreationAspect.handleCreateConnectionDelegate(StateCreationAspect.java:81)</p><p> at org.jboss.aop.advice.org.jboss.jms.client.container.StateCreationAspect_z_handleCreateConnectionDelegate_1522065175.invoke(StateCreationAspect_z_handleCreateConnectionDelegate_1522065175.java)</p><p> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)</p><p> at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createConnectionDelegate(ClientConnectionFactoryDelegate.java)</p><p> at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:205)</p><p> at org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:87)</p><p> at org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:82)</p><p> at net.hdss.clients.jms.HDSS_JMS_Consumer_Client.main(HDSS_JMS_Consumer_Client.java:39)</p><p>Caused by: java.net.ConnectException: Connection timed out: connect</p><p> at java.net.PlainSocketImpl.socketConnect(Native Method)</p><p> at java.net.PlainSocketImpl.doConnect(Unknown Source)</p><p> at java.net.PlainSocketImpl.connectToAddress(Unknown Source)</p><p> at java.net.PlainSocketImpl.connect(Unknown Source)</p><p> at java.net.SocksSocketImpl.connect(Unknown Source)</p><p> at java.net.Socket.connect(Unknown Source)</p><p> at java.net.Socket.connect(Unknown Source)</p><p> at java.net.Socket.<init>(Unknown Source)</p><p> at java.net.Socket.<init>(Unknown Source)</p><p> at org.jboss.remoting.transport.bisocket.BisocketServerInvoker$2.run(BisocketServerInvoker.java:398)</p><p> at java.security.AccessController.doPrivileged(Native Method)</p><p> at org.jboss.remoting.transport.bisocket.BisocketServerInvoker.createControlConnection(BisocketServerInvoker.java:390)</p><p> at org.jboss.remoting.transport.bisocket.BisocketClientInvoker.transport(BisocketClientInvoker.java:415)</p><p> at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:165)</p><p> at org.jboss.remoting.Client.invoke(Client.java:1724)</p><p> at org.jboss.remoting.Client.addCallbackListener(Client.java:1793)</p><p> at org.jboss.remoting.Client.addListener(Client.java:1001)</p><p> at org.jboss.jms.client.remoting.JMSRemotingConnection.addInvokerCallbackHandler(JMSRemotingConnection.java:259)</p><p> at org.jboss.jms.client.remoting.JMSRemotingConnection.start(JMSRemotingConnection.java:375)</p><p> at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$createConnectionDelegate$aop(ClientConnectionFactoryDelegate.java:158)</p><p> ... 10 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/766551#766551">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Messaging at <a href="https://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>