<!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: is Jboss 7.1.0 Final compatible with IPv 6 ?
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/ktfan">fan kam thong</a> in <i>JBoss AS 7 Development</i> - <a href="https://community.jboss.org/message/723084#723084">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>I try running JBoss AS 7.1 in Linux RedHat 6, the NIO issue does not happen in Linux environment. </p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>However, when I was running EJB client in Windows Vista , I encountered this problem:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><em>Mar 12, 2012 1:14:34 PM org.jboss.ejb.client.EJBClient &lt;clinit&gt;</em></p><p><em>INFO: JBoss EJB Client version 1.0.2.Final</em></p><p><em>Mar 12, 2012 1:14:35 PM org.xnio.Xnio &lt;clinit&gt;</em></p><p><em>INFO: XNIO Version 3.0.3.GA</em></p><p><em>Mar 12, 2012 1:14:35 PM org.xnio.nio.NioXnio &lt;clinit&gt;</em></p><p><em>INFO: XNIO NIO Implementation Version 3.0.3.GA</em></p><p><em>Mar 12, 2012 1:14:35 PM org.jboss.remoting3.EndpointImpl &lt;clinit&gt;</em></p><p><em>INFO: JBoss Remoting version 3.2.2.GA</em></p><p><em>Mar 12, 2012 1:14:35 PM org.jboss.ejb.client.remoting.ConfigBasedEJBClientContextSelector setupEJBReceivers</em></p><p><em>WARN: Could not register a EJB receiver for connection to remote://fe80::218:8bff:fe1e:c118:4447</em></p><p><em>java.lang.IllegalArgumentException: destination address may not be null</em></p><p><em>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.remoting3.remote.RemoteConnectionProvider.connect(RemoteConnectionProvider.java:98)</em></p><p><em>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.remoting3.EndpointImpl.doConnect(EndpointImpl.java:296)</em></p><p><em>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.remoting3.EndpointImpl.doConnect(EndpointImpl.java:251)</em></p><p><em>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:349)</em></p><p><em>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:333)</em></p><p><em>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.ejb.client.remoting.ConfigBasedEJBClientContextSelector.setupEJBReceivers(ConfigBasedEJBClientContextSelector.java:113)</em></p><p><em>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.ejb.client.remoting.ConfigBasedEJBClientContextSelector.&lt;init&gt;(ConfigBasedEJBClientContextSelector.java:77)</em></p><p><em>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.ejb.client.EJBClientContext.&lt;clinit&gt;(EJBClientContext.java:76)</em></p><p><em>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:120)</em></p><p><em>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:104)</em></p><p><em>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at $Proxy0.getLogs(Unknown Source)</em></p><p><em>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at com.mytest.ejb.EJBClient.main(EJBClient.java:36)</em></p><p><em>java.lang.IllegalStateException: No EJB receiver available for handling [appName:,modulename:test-web-service,distinctname:] combination</em></p><p><em>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.java:530)</em></p><p><em>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverInterceptor.java:84)</em></p><p><em>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:175)</em></p><p><em>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:136)</em></p><p><em>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:121)</em></p><p><em>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:104)</em></p><p><em>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at $Proxy0.getLogs(Unknown Source)</em></p><p><em>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at com.mytest.ejb.EJBClient.main(EJBClient.java:36)</em></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p> <span style="text-decoration: underline;">My <strong>jboss-ejb-client.properties </strong>is set as below:</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>remote.connectionprovider.create.options.org.xnio.Options.SSL_ENABLED=false</p><p>remote.connections=default </p><p>#remote.connection.default.host=fe80--218-8bff-fe1e-c118.ipv6-literal.net</p><p># tested working fine with IPv 4</p><p>#remote.connection.default.host=192.168.2.166</p><p>remote.connection.default.host=fe80::218:8bff:fe1e:c118</p><p>#remote.connection.default.host=[fe80::ed29:5b4b:37cc:d429]</p><p>remote.connection.default.port = 4447</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="text-decoration: underline;">My <strong>pom.xml</strong> is as below</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><em>&lt;!-- Import the transaction spec API, we use runtime scope because we aren't using any direct</em></p><p><em>&#160;&#160;&#160;&#160;&#160;&#160;&#160; reference to the spec API in our client code --&gt;</em></p><p><em>&#160;&#160;&#160;&#160;&#160; &lt;dependency&gt;</em></p><p><em>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;groupId&gt;org.jboss.spec.javax.transaction&lt;/groupId&gt;</em></p><p><em>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;artifactId&gt;jboss-transaction-api_1.1_spec&lt;/artifactId&gt;</em></p><p><em>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;scope&gt;runtime&lt;/scope&gt;</em></p><p><em>&#160;&#160;&#160;&#160;&#160; &lt;/dependency&gt;</em></p><p>&#160; </p><p><em>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&lt;!-- Import the EJB 3.1 API, we use runtime scope because we aren't using any direct</em></p><p><em>&#160;&#160;&#160;&#160;&#160;&#160; reference to EJB spec API in our client code --&gt;</em></p><p><em>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&lt;dependency&gt;</em></p><p><em>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;groupId&gt;org.jboss.spec.javax.ejb&lt;/groupId&gt;</em></p><p><em>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;artifactId&gt;jboss-ejb-api_3.1_spec&lt;/artifactId&gt;</em></p><p><em>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;scope&gt;runtime&lt;/scope&gt;</em></p><p><em>&#160;&#160;&#160;&#160;&#160; &lt;/dependency&gt; </em></p><p>&#160; </p><p><em>&#160;&#160;&#160; &lt;!-- JBoss EJB client API jar. We use runtime scope because the EJB client API</em></p><p><em>&#160;&#160;&#160;&#160;&#160;&#160;&#160; isn't directly used in this example. We just need it in our runtime classpath --&gt;</em></p><p><em>&#160;&#160;&#160;&#160;&#160;&#160; &lt;dependency&gt;</em></p><p><em>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;groupId&gt;org.jboss&lt;/groupId&gt;</em></p><p><em>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;artifactId&gt;jboss-ejb-client&lt;/artifactId&gt;</em></p><p><em>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;version&gt;1.0.2.Final&lt;/version&gt;</em></p><p><em>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;scope&gt;runtime&lt;/scope&gt;</em></p><p><em>&#160;&#160;&#160;&#160;&#160;&#160; &lt;/dependency&gt;</em></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><em>&#160;&#160;&#160;&#160;&#160;&#160; &lt;!-- client communications with the server use XNIO --&gt;</em></p><p><em>&#160;&#160;&#160;&#160;&#160;&#160; &lt;dependency&gt;</em></p><p><em>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;groupId&gt;org.jboss.xnio&lt;/groupId&gt;</em></p><p><em>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;artifactId&gt;xnio-api&lt;/artifactId&gt;</em></p><p><em>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;version&gt;3.0.3.GA&lt;/version&gt;</em></p><p><em>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;scope&gt;runtime&lt;/scope&gt;</em></p><p><em>&#160;&#160;&#160;&#160;&#160;&#160; &lt;/dependency&gt;</em></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><em>&#160;&#160;&#160;&#160;&#160;&#160; &lt;dependency&gt;</em></p><p><em>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;groupId&gt;org.jboss.xnio&lt;/groupId&gt;</em></p><p><em>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;artifactId&gt;xnio-nio&lt;/artifactId&gt;</em></p><p><em>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;version&gt;3.0.3.GA&lt;/version&gt;</em></p><p><em>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;scope&gt;runtime&lt;/scope&gt;</em></p><p><em>&#160;&#160;&#160;&#160;&#160;&#160; &lt;/dependency&gt;</em></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><em>&#160;&#160;&#160;&#160;&#160; &lt;!-- The client needs JBoss remoting to access the server --&gt;</em></p><p><em>&#160;&#160;&#160;&#160;&#160;&#160; &lt;dependency&gt;</em></p><p><em>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;groupId&gt;org.jboss.remoting3&lt;/groupId&gt;</em></p><p><em>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;artifactId&gt;jboss-remoting&lt;/artifactId&gt;</em></p><p><em>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;version&gt;3.2.2.GA&lt;/version&gt;</em></p><p><em>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;scope&gt;runtime&lt;/scope&gt;</em></p><p><em>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/dependency&gt;</em></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><em>&#160;&#160;&#160;&#160;&#160; &lt;!-- Remote EJB accesses can be secured --&gt;</em></p><p><em>&#160;&#160;&#160;&#160;&#160;&#160; &lt;dependency&gt;</em></p><p><em>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;groupId&gt;org.jboss.sasl&lt;/groupId&gt;</em></p><p><em>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;artifactId&gt;jboss-sasl&lt;/artifactId&gt;</em></p><p><em>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;version&gt;1.0.0.Final&lt;/version&gt;</em></p><p><em>&#160;&#160;&#160;&#160;&#160;&#160; &lt;/dependency&gt;</em></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><em>&#160;&#160;&#160;&#160;&#160;&#160; &lt;!-- data serialization for invoking remote EJBs --&gt;</em></p><p><em>&#160;&#160;&#160;&#160;&#160;&#160; &lt;dependency&gt;</em></p><p><em>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;groupId&gt;org.jboss.marshalling&lt;/groupId&gt;</em></p><p><em>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;artifactId&gt;jboss-marshalling-river&lt;/artifactId&gt;</em></p><p><em>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;version&gt;1.3.9.GA&lt;/version&gt;</em></p><p><em>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;scope&gt;runtime&lt;/scope&gt;</em></p><p><em>&#160;&#160;&#160;&#160;&#160;&#160; &lt;/dependency&gt;</em></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160; Do I need the get the latest jboss-ejb-client jar ?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160; </p><p><span style="text-decoration: underline;"><br/></span></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/723084#723084">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>