<!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;">
Re: EJB bean is not working in Multi threading of JBoss 7.1.1 Final
</h3>
<span style="margin-bottom: 10px;">
created by <a href="https://community.jboss.org/people/olli24">Oliver Katzer</a> in <i>JBoss AS 7 Development</i> - <a href="https://community.jboss.org/message/755512#755512">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>If I use on client side a JRE which causes the problem I see in the JBoss log file</p><p>"JBAS011806: Channel end notification received"</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>JBoss log</p><p>2012-08-23 15:48:17,068 TRACE [org.jboss.remoting.remote] Closed inbound channel on Connection handler for Remoting connection 0133bcc2 to /10.1.2.81:52129</p><p>2012-08-23 15:48:17,069 TRACE [org.jboss.remoting.resource] Completed close of Channel ID 7fb4e1bd (inbound) of Remoting connection 0133bcc2 to /10.1.2.81:52129</p><p><strong>2012-08-23 15:48:17,069 INFO  [org.jboss.as.naming] JBAS011806: Channel end notification received, closing channel Channel ID 7fb4e1bd (inbound) of Remoting connection 0133bcc2 to /10.1.2.81:52129</strong></p><p>2012-08-23 15:48:17,069 DEBUG [org.jboss.naming.remote.server.RemoteNamingService] Channel Channel ID 7fb4e1bd (inbound) of Remoting connection 0133bcc2 to /10.1.2.81:52129 closed.</p><p>2012-08-23 15:48:17,070 TRACE [org.jboss.remoting.resource] Closing Channel ID 7fb4e1bd (inbound) of Remoting connection 0133bcc2 to /10.1.2.81:52129 synchronously</p><p>2012-08-23 15:48:17,070 TRACE [org.xnio.nio.selector] Beginning select on sun.nio.ch.WindowsSelectorImpl@10bc3c9</p><p>2012-08-23 15:48:17,071 TRACE [org.xnio.nio.selector] Selected on sun.nio.ch.WindowsSelectorImpl@10bc3c9</p><p>2012-08-23 15:48:17,072 TRACE [org.xnio.nio.selector] Selected key sun.nio.ch.SelectionKeyImpl@192722c for java.nio.channels.SocketChannel[connected oshut local=oliver2/10.1.2.81:9000 remote=/10.1.2.81:52129]</p><p>2012-08-23 15:48:17,072 TRACE [org.xnio.listener] Invoking listener Read listener for org.xnio.channels.FramedMessageChannel around TCP socket channel (NIO) <145502b> on channel TCP socket channel (NIO) <145502b></p><p>2012-08-23 15:48:17,073 TRACE [org.xnio.listener] Invoking listener org.jboss.remoting3.remote.RemoteReadListener@168ef25 on channel org.xnio.channels.FramedMessageChannel around TCP socket channel (NIO) <145502b></p><p>2012-08-23 15:48:17,074 TRACE [org.xnio.channels.framed] Copying message from java.nio.HeapByteBuffer[pos=4 lim=5 cap=8196] into java.nio.HeapByteBuffer[pos=0 lim=8192 cap=8192]</p><p>2012-08-23 15:48:17,074 TRACE [org.jboss.remoting.remote] Received connection close request</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>For "JBAS011806: Channel end notification received" I found this:</p><p><a class="jive-link-external-small" href="https://issues.jboss.org/browse/AS7-1338">https://issues.jboss.org/browse/AS7-1338</a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>But if I use on client side the newest JRE 1.7.0_06, JBoss prompts no "Channel end notification received". </p><p>Everything is working fine.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>It seems its bug inside the JRE, in the NIO part as you mentioned.</p><p>In the fixed bug list of JRE 1.7.0_06 are some bugs for NIO listed.</p><p><a class="jive-link-external-small" href="http://www.oracle.com/technetwork/java/javase/2col/7u6-bugfixes-1733378.html">http://www.oracle.com/technetwork/java/javase/2col/7u6-bugfixes-1733378.html</a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Conclusion:</p><p>I will use now on client side at least JRE 1.7.0_06 and I am happy.</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/755512#755512">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss AS 7 Development at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>