I'm now trying to migrate from JBoss AS 7 to WildFly 8. There is a working JBoss AS 7 server (I'll call it server-server) and working JBoss AS 7 EJB client (client-server). After migrating client-server I got error:
14:34:09,827 ERROR [org.jboss.remoting.remote.connection] (Remoting "testj2" read-1) JBREM000200: Remote connection failed: java.io.IOException: Received an invalid message length of 1195725856
I know that there was already a discussion about this error, but I don't have a problem with understanding the reason of it, rather with a way of solving it.
This error shows on server-server side which is still a JBoss AS 7 instance. Is it possible that the reason is different versions of remoting protocol? On server-server there is remoting 1.1, on client-server (WildFly) there is remoting 2.0 by default (it uses http on port 8080). If yes, then is there any way to make it working without changing remoting versions? I mean, for example a simple application (a GUI client written in Swing) works without any problem, so why another server couldn't? If no, then what?