-
Bug
-
Resolution: Obsolete
-
Major
-
JBossAS-5.0.1.GA
-
None
Using compression with EJB3 produces lots of socket exceptions in the server log. The frequency of the exceptions seems to increase as the size of transferred data increases or as the speed of the connection decreases.
2009-04-14 10:57:58,872 DEBUG [org.jboss.remoting.transport.socket.ServerSocketWrapper] (WorkerThread#0[127.0.0.1:2794]) ServerSocketWrapper[Socket[addr=/127.0.0.1,port=2794,localport=3873].f2a5fc] unable to writing CLOSING byte
java.net.SocketException: Software caused connection abort: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:115)
at org.jboss.remoting.transport.socket.ServerSocketWrapper.close(ServerSocketWrapper.java:56)
at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:653)
at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:230)
Steps to reproduce:
1) Enable compression for EJB3:
In jboss-5.0.1.GA\server\default\deploy\ejb3-connectors-jboss-beans.xml change the line
<parameter>socket://${jboss.bind.address}:${port}</parameter>
to
<parameter>socket://${jboss.bind.address}:${port}/?marshaller=org.jboss.remoting.marshal.compress.CompressingMarshaller&unmarshaller=org.jboss.remoting.marshal.compress.CompressingUnMarshaller</parameter>
2) Deploy echo.ear
3) Run the client.jar
The server.log should have plenty of socket write errors.