[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jboss-user
Subject:    [jboss-user] [JBoss Remoting] - Re: SocketClientInvoker - NEW
From:       Ron Sigal <do-not-reply () jboss ! com>
Date:       2010-09-30 11:31:27
Message-ID: 2-562780-3-72806-1285076458387-2-564183-3-2018-1285784699701.jivesbs.jivemailuser () http://community ! jboss ! org
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Ron Sigal [http://community.jboss.org/people/ron.sigal%40jboss.com] created the \
discussion

"Re: SocketClientInvoker - NEW ClientSocketWrapper Errors"

To view the discussion, visit: http://community.jboss.org/message/564183#564183

--------------------------------------------------------------
Hi Vidhya,

Re: "The odd thing being the IP address (X) on the thread name is different   from \
the bisocket's one...(Is this OK ? Is this because that worker   thread was created \
for an ip X and then went back to the pool and is   being reused for another ip Y? )"

When a ServerThread is retrieved from the pool its name is reset to reflect its new \
socket.   The address in ServerThread.toString() is generated by a call to \
Socket.getInetAddress().getHostAddress() and the address in ClientSocketWrapper is \
generated in Socket.toString() by a call to java.net.SocketImp.getInetAddress().   I \
would expect them to refer to the same host, but, possibly, look a little different.  \
Are they actually referring to distinct hosts?

Both of your stacktraces indicate that something has happened to a client.   In the \
first one, JBossMessaging is trying to send some messages to a consumer and the \
connection has been closed on the client side.   The second stacktrace suggests that, \
in response to the broken connection, Remoting is trying to create a new connection \
by writing a CREATE_ORDINARY_SOCKET message on the bisocket control connection (for \
the details see Section   5.4.17 "Bisocket transport" of the Remoting Guide at  \
http://docs.jboss.org/jbossremoting/2.5.3.SP1/html/ \
http://docs.jboss.org/jbossremoting/2.5.3.SP1/html/).   So, I don't know what the \
problem is, but you should check out what's going on at the client side.

-Ron
--------------------------------------------------------------

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

Start a new discussion in JBoss Remoting at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2050]



[Attachment #5 (text/html)]

<!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;">  Re: SocketClientInvoker - NEW ClientSocketWrapper \
Errors </h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/ron.sigal%40jboss.com">Ron \
Sigal</a> in <i>JBoss Remoting</i> - <a \
href="http://community.jboss.org/message/564183#564183">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 Vidhya,</p><p style="min-height: 8pt; \
height: 8pt; padding: 0px;">&#160;</p><p>Re: "The odd thing being the IP address (X) \
on the thread name is different&#160; from the bisocket's one...(Is this OK ? Is this \
because that worker&#160; thread was created for an ip X and then went back to the \
pool and is&#160; being reused for another ip Y? )"</p><p style="min-height: 8pt; \
height: 8pt; padding: 0px;">&#160;</p><p>When a ServerThread is retrieved from the \
pool its name is reset to reflect its new socket.&#160; The address in \
ServerThread.toString() is generated by a call to \
Socket.getInetAddress().getHostAddress() and the address in ClientSocketWrapper is \
generated in Socket.toString() by a call to \
java.net.SocketImp.getInetAddress().&#160; I would expect them to refer to the same \
host, but, possibly, look a little different.&#160; Are they actually referring to \
distinct hosts?</p><p style="min-height: 8pt; height: 8pt; padding: \
0px;">&#160;</p><p><span>Both of your stacktraces indicate that something has \
happened to a client.&#160; In the first one, JBossMessaging is trying to send some \
messages to a consumer and the connection has been closed on the client side.&#160; \
The second stacktrace suggests that, in response to the broken connection, Remoting \
is trying to create a new connection by writing a CREATE_ORDINARY_SOCKET message on \
the bisocket control connection (for the details see Section&#160; 5.4.17 "Bisocket \
transport" of the Remoting Guide at </span><a class="jive-link-external-small" \
href="http://docs.jboss.org/jbossremoting/2.5.3.SP1/html/" \
target="_blank">http://docs.jboss.org/jbossremoting/2.5.3.SP1/html/</a><span>).&#160; \
So, I don't know what the problem is, but you should check out what's going on at the \
client side.</span></p><p style="min-height: 8pt; height: 8pt; padding: \
0px;">&#160;</p><p>-Ron</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/564183#564183">going to Community</a></p>  \
<p style="margin: 0;">Start a new discussion in JBoss Remoting at <a \
href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2050">Community</a></p>
 </div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>



_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic