Hi,
I modified the examples SimpleServer and SimpleClient in order to check out the
compressing marshallers:
added the following line in both classes before creating the
SimpleClient/SimpleServer in main
| MarshalFactory.addMarshaller("compress", new CompressingMarshaller(), new
CompressingUnMarshaller());
|
and modified the locator to this:
socket://localhost:5400/?datatype=compress
When running, the stuff, I could see that
on the client side, in SocketClientInvoker.tansport() the marshaller writes its
data without complain and blocks when trying to read response... seems normal.
on the server side, in ServerThread.processInvocation(), in the following
statement :
Object obj = unmarshaller.read(socketWrapper.getInputStream(), null);
the socketWrapper.getInputStream() goes down to ObjectInputStream's constructor
which blocks on readStreamHeader() until a read timeout exception is thrown
Anyone got a suggestion?
Thanks!
Eric.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3913843#3913843
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3913843
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user