hi,
i got similar problems when invoking an EJB session bean with a large
Object array.
I am using weblogic 7.0 sp0.
The simple workaround would be to breakdown the initial request with
several smaller, but I would like to understand why my EJB call
sometimes work and sometimes don't....
It looks like the socket fail to transfer the data...
I would also appreciate help on this topic.
Thank you,
Nicolas
> I have a stateless session bean with a method that take a byte array as
> an argument to save the incoming data to a file.
[quoted text clipped - 10 lines]
> write error
> at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:297)
> at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:244)
> at
com.burntsand.hmco.dam.aps.session.statelessSession_oizvbi_EOImpl_812_WLStub.setPublicationResult(Unknown
> Source)
> at
> com.burntsand.hmco.dam.aps.session.APSClient.main(APSClient.java:187)
> Caused by: java.net.SocketException: Software caused connection abort:
> socket write error
> at
weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:108)
> at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:284)
> ... 3 more
> Caused by: 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:136)
> at weblogic.socket.SocketMuxer.write(SocketMuxer.java:721)
> at weblogic.rjvm.t3.T3JVMConnection.sendMsg(T3JVMConnection.java:723)
> at
weblogic.rjvm.MsgAbbrevJVMConnection.sendOutMsg(MsgAbbrevJVMConnection.java:276)
> at
weblogic.rjvm.MsgAbbrevJVMConnection.sendMsg(MsgAbbrevJVMConnection.java:164)
> at
weblogic.rjvm.ConnectionManager.sendMsg(ConnectionManager.java:549)
> at weblogic.rjvm.RJVMImpl.send(RJVMImpl.java:722)
> at
weblogic.rjvm.MsgAbbrevOutputStream.flushAndSendRaw(MsgAbbrevOutputStream.java:292)
> at
weblogic.rjvm.MsgAbbrevOutputStream.flushAndSend(MsgAbbrevOutputStream.java:300)
> at
weblogic.rjvm.MsgAbbrevOutputStream.sendRecv(MsgAbbrevOutputStream.java:322)
> at
weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:103)
> The code that calls the ejb looks like this:
>
[quoted text clipped - 38 lines]
> the handle disappear which might be happening in the case of a
> stateless session bean but that didnt help either. Got same error.
Hello,
We are facing the same error for cases where byte array is too large. We
are using Weblogic 8.1 SP2 as server.
Any work arounds other than breaking the byte array into smaller chunks of
data?
Thanks!
Khyati