JBoss Community

Socket Communication - StreamCorruptedException

reply from giftsamuel asir in JBoss Remoting - View the full discussion

Hi Ron Sigal,

Thanks for your reply.I had resolved the problem. Actually the problem was on my side.

 

client.setSocketFactory(getSocketFactory());

 

should be set only for the transport protocol "sslsocket". The mistake what I made is, I had set the above for the transport protocol "socket". So I got the StreamCorruptedException. Now its working perfectly.

Reply to this message by going to Community

Start a new discussion in JBoss Remoting at Community