<div dir="ltr">I've made the deployment of your application and I've got the same error.<div><br></div><div><br></div><div>You can see that the log of your test contains the XNIO version...</div><div>
<p class="">-------------------------------------------------------</p>
<p class=""> T E S T S</p>
<p class="">-------------------------------------------------------</p>
<p class="">Running at.tfr.securefs.client.TestFileSystem</p>
<p class="">Nov 25, 2015 9:18:47 PM org.xnio.Xnio <clinit></p>
<p class="">INFO: XNIO version 3.2.0.Final</p>
<p class="">Nov 25, 2015 9:18:48 PM org.xnio.nio.NioXnio <clinit></p>
<p class="">INFO: XNIO NIO Implementation Version 3.3.2.Final</p>
<p class="">Nov 25, 2015 9:18:48 PM org.jboss.remoting3.EndpointImpl <clinit></p>
<p class="">INFO: JBoss Remoting version 4.0.0.Final</p>
<p class="">Nov 25, 2015 9:18:49 PM org.jboss.ejb.client.EJBClient <clinit></p>
<p class="">INFO: JBoss EJB Client version 2.0.0.Final</p>
<p class="">Nov 25, 2015 9:18:51 PM org.jboss.ejb.client.remoting.ConfigBasedEJBClientContextSelector setupEJBReceivers</p>
<p class="">WARN: Could not register a EJB receiver for connection to localhost:8080</p>
<p class="">java.lang.RuntimeException: java.io.IOException: For now upgrade responses must have a content length of zero.</p><p class=""><br></p><p class=""><br></p><p class="">.m2/repository/./org/jboss/jboss-ejb-client/2.1.3.Final/jboss-ejb-client-2.1.3.Final.pom</p><p class=""><br></p><p class="">Here is the problem, the latest version of the jboss-ejb-client (at least what I have here) is using a xnio version that does not contain the fix:</p><p class=""> <version.org.jboss.xnio>3.2.0.Final</version.org.jboss.xnio></p><p class="">
</p><p class=""><br></p></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-11-25 20:58 GMT-02:00 Thomas Frühbeck <span dir="ltr"><<a href="mailto:fruehbeck@aon.at" target="_blank">fruehbeck@aon.at</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>thanks for the input, yet I am using
following artifacts:<br>
<br>
<dependency><br>
<groupId>org.jboss.xnio</groupId><br>
<artifactId>xnio-nio</artifactId><br>
<version>3.3.2.Final</version><br>
</dependency><br>
<br>
The full source is available at:
<a href="https://github.com/shadogray/securefs/tree/master/securefs-master/securefs-client-test" target="_blank">https://github.com/shadogray/securefs/tree/master/securefs-master/securefs-client-test</a>
<br>
<br>
And, just to make sure, the full command line reads:
xnio-nio-3.3.2.Final.jar<br>
<br>
[DEBUG] Executing command line: [java, -classpath, <br>
/raid/home/thomas/workspace-sec/securefs/securefs-master/securefs-client-test/target/classes:\<br>
/home/thomas/.m2/repository/at/tfr/securefs/securefs-client/1.1.0-SNAPSHOT/securefs-client-1.1.0-SNAPSHOT.jar:\<br>
/home/thomas/.m2/repository/at/tfr/securefs/securefs-api/1.1.0-SNAPSHOT/securefs-api-1.1.0-SNAPSHOT.jar:\<br>
/home/thomas/.m2/repository/org/jboss/logging/jboss-logging/<a href="http://3.1.4.GA/jboss-logging-3.1.4.GA.jar" target="_blank">3.1.4.GA/jboss-logging-3.1.4.GA.jar</a>:\<br>
/home/thomas/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar:\<br>
/home/thomas/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar:\<br>
/home/thomas/.m2/repository/javax/javaee-api/7.0/javaee-api-7.0.jar:\<br>
/home/thomas/.m2/repository/com/sun/mail/javax.mail/1.5.0/javax.mail-1.5.0.jar:\<br>
/home/thomas/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar:\<br>
/home/thomas/.m2/repository/jboss/jboss-client/4.0.2/jboss-client-4.0.2.jar:\<br>
/home/thomas/.m2/repository/org/jboss/jboss-remote-naming/2.0.4.Final/jboss-remote-naming-2.0.4.Final.jar:\<br>
/home/thomas/.m2/repository/org/jboss/jboss-ejb-client/2.0.0.Final/jboss-ejb-client-2.0.0.Final.jar:\<br>
/home/thomas/.m2/repository/org/jboss/marshalling/jboss-marshalling/1.4.3.Final/jboss-marshalling-1.4.3.Final.jar:\<br>
/home/thomas/.m2/repository/org/jboss/marshalling/jboss-marshalling-river/1.4.3.Final/jboss-marshalling-river-1.4.3.Final.jar:\<br>
/home/thomas/.m2/repository/org/jboss/xnio/xnio-api/3.2.0.Final/xnio-api-3.2.0.Final.jar:\<br>
/home/thomas/.m2/repository/org/jboss/remoting/jboss-remoting/4.0.0.Final/jboss-remoting-4.0.0.Final.jar:\<br>
/home/thomas/.m2/repository/org/jboss/sasl/jboss-sasl/1.0.4.Final/jboss-sasl-1.0.4.Final.jar:\<br>
/home/thomas/.m2/repository/commons-cli/commons-cli/1.3.1/commons-cli-1.3.1.jar:\<br>
/home/thomas/.m2/repository/org/jboss/xnio/xnio-nio/3.3.2.Final/xnio-nio-3.3.2.Final.jar:\<br>
/home/thomas/.m2/repository/joda-time/joda-time/2.9/joda-time-2.9.jar,
\<br>
at.tfr.securefs.client.SecurefsClient, -b,
sec:///raid/home/thomas/workspace-sec/securefs/securefs-master/securefs-client-test/target/,
-a, false, -t, 10, -f, data/test/test.txt,data/test/test_main.txt]<br>
<br>
I am really looking forward to Wilfly 10.0.0 - especially clusterd
deployment, and would appreciate to find anything blocking
early.<div><div class="h5"><br>
<br>
<br>
Am 25.11.2015 um 02:14 schrieb Eduardo Sant'Ana da Silva:<br>
</div></div></div><div><div class="h5">
<blockquote type="cite">
In my opinion, you should upgrade your client xnio version to one
later or equals to 3.2.1.Final.
<div><br>
</div>
<div><br>
<div>
<div>On Nov 24, 2015, at 10:34 PM, Thomas Frühbeck <<a href="mailto:fruehbeck@aon.at" target="_blank"></a><a href="mailto:fruehbeck@aon.at" target="_blank">fruehbeck@aon.at</a>>
wrote:</div>
<br>
<blockquote type="cite">
<div bgcolor="#FFFFFF" text="#000000">
<div>you nailed it, thanks!<br>
unfortunate though :-/<br>
<br>
Am 25.11.2015 um 01:30 schrieb Eduardo Sant´Ana da
Silva:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Maybe this could help:
<div><br>
</div>
<div><a href="https://issues.jboss.org/browse/XNIO-222" target="_blank">https://issues.jboss.org/browse/XNIO-222</a></div>
<div><br>
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-11-24 20:33
GMT-02:00 Thomas Frühbeck <span dir="ltr"><<a href="mailto:fruehbeck@aon.at" target="_blank"></a><a href="mailto:fruehbeck@aon.at" target="_blank">fruehbeck@aon.at</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi,<br>
I wanted to experiment with Wildfly 10.0.0.CR4
and Remoting and got the<br>
followin error on client side. I know, that my
client works perfectly<br>
with 9.0.2.Final.<br>
Can you guide me to the relevant changes, is
this a known problem?<br>
<br>
WARN: Could not register a EJB receiver for
connection to localhost:8080<br>
java.lang.RuntimeException:
java.io.IOException: For now upgrade<br>
responses must have a content length of zero.<br>
at<br>
org.jboss.ejb.client.remoting.IoFutureHelper.get(IoFutureHelper.java:92)<br>
at<br>
org.jboss.ejb.client.remoting.ConnectionPool.getConnection(ConnectionPool.java:77)<br>
at<br>
org.jboss.ejb.client.remoting.RemotingConnectionManager.getConnection(RemotingConnectionManager.java:51)<br>
at<br>
org.jboss.ejb.client.remoting.ConfigBasedEJBClientContextSelector.setupEJBReceivers(ConfigBasedEJBClientContextSelector.java:155)<br>
at<br>
org.jboss.ejb.client.remoting.ConfigBasedEJBClientContextSelector.getCurrent(ConfigBasedEJBClientContextSelector.java:115)<br>
at<br>
org.jboss.ejb.client.remoting.ConfigBasedEJBClientContextSelector.getCurrent(ConfigBasedEJBClientContextSelector.java:47)<br>
at<br>
org.jboss.ejb.client.EJBClientContext.getCurrent(EJBClientContext.java:271)<br>
at<br>
org.jboss.ejb.client.EJBClientContext.requireCurrent(EJBClientContext.java:281)<br>
at
org.jboss.ejb.client.EJBClient.createSession(EJBClient.java:200)<br>
at<br>
org.jboss.ejb.client.naming.ejb.EjbNamingContext.doCreateProxy(EjbNamingContext.java:216)<br>
at<br>
org.jboss.ejb.client.naming.ejb.EjbNamingContext.createEjbProxy(EjbNamingContext.java:193)<br>
at<br>
org.jboss.ejb.client.naming.ejb.EjbNamingContext.lookup(EjbNamingContext.java:176)<br>
at
javax.naming.InitialContext.lookup(InitialContext.java:417)<br>
<br>
Thanks,<br>
Thomas<br>
_______________________________________________<br>
wildfly-dev mailing list<br>
<a href="mailto:wildfly-dev@lists.jboss.org" target="_blank">wildfly-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div><font size="1"><span style="font-family:Arial">________________</span><span style="font-family:Arial">__________</span><br>
</font></div>
<div>
<div style="font-family:Arial" align="left"><font size="1">Eduardo
Sant'Ana da Silva - Dr.</font></div>
<div style="font-family:Arial"><font face="Arial" size="1">Pesquisador /
Consultor de TI<br>
</font></div>
<div style="font-family:Arial;font-size:small"><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><font size="1"><span style="font-family:Arial">________________</span><span style="font-family:Arial">__________</span><br></font></div><div><div align="left" style="font-family:Arial"><font size="1">Eduardo Sant'Ana da Silva - Dr.</font></div><div style="font-family:Arial"><font face="Arial" size="1">Pesquisador / Consultor de TI<br></font></div><div style="font-family:Arial;font-size:small"><br></div></div></div></div></div></div>
</div>