I am trying to get an application that simply listens to a socket on the JBoss 
remoting to work, it works with the sample client. however if i try to telnet 
to the port it doesn't work. it throws a java.io.StreamCorruptedException seen 
on line 4 below.  We are attempting to get more flexibility with JBoss 
Remoting.  Is there a better way that would accept pretty much any generic 
stream regardless of "stream header"?
Thanks, 
Will


     [java] Starting remoting server with locator uri of: 
socket://localhost:5400
     [java] Invocation request is: Do something
     [java] Invocation request is: Do something
     [java] (socket.ServerThread                 307 ) Failed to initialize
     [java] java.io.StreamCorruptedException: invalid stream header
     [java]     at 
java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:737)
     [java]     at java.io.ObjectInputStream.(ObjectInputStream.java:253)
     [java]     at 
org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:303)
     [java]     at 
org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:147)


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882437#3882437

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882437


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to