jms sender exception - Weblogic

This is a discussion on jms sender exception - Weblogic ; i tried to send one message in byte message.The size is 11986291 But i getting this error while calling QueueSender sender method. weblogic.jms.common.JMSException: ; nested exception is: java.io.EOFException at weblogic.jms.dispatcher.DispatcherWrapperState.dis patchSyncTran(Disp tcherWrapperState.java:415) at weblogic.jms.client.JMSProducer.sendInternal(JMSPr oducer.java:382) at weblogic.jms.client.JMSProducer.send(JMSProducer.j ava:186) at com.db.prisma.util.JMSTest.sendXMLToQueue(JMSTest. ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: jms sender exception

  1. jms sender exception


    i tried to send one message in byte message.The size is 11986291

    But i getting this error while calling QueueSender sender method.


    weblogic.jms.common.JMSException: ; nested exception is:
    java.io.EOFException
    at weblogic.jms.dispatcher.DispatcherWrapperState.dis patchSyncTran(Disp
    tcherWrapperState.java:415)
    at weblogic.jms.client.JMSProducer.sendInternal(JMSPr oducer.java:382)
    at weblogic.jms.client.JMSProducer.send(JMSProducer.j ava:186)
    at com.db.prisma.util.JMSTest.sendXMLToQueue(JMSTest. java:35)
    at com.db.prisma.util.JMSTest.main(JMSTest.java:50)
    Caused by: weblogic.rjvm.PeerGoneException: ; nested exception is:
    java.io.EOFException
    at weblogic.rjvm.BasicOutboundRequest.sendReceive(Bas icOutboundRequest.
    ava:108)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicR emoteRef.java:138)
    at weblogic.jms.dispatcher.DispatcherImpl_811_WLStub. dispatchSyncTranFu
    ure(Unknown Source)
    at weblogic.jms.dispatcher.DispatcherWrapperState.dis patchSyncTran(Disp
    tcherWrapperState.java:394)
    ... 4 more
    Caused by: java.io.EOFException
    at weblogic.rjvm.t3.T3JVMConnection.endOfStream(T3JVM Connection.java:68
    )
    at weblogic.socket.SocketMuxer.deliverExceptionAndCle anup(SocketMuxer.j
    va:562)
    at weblogic.socket.SocketMuxer.deliverEndOfStream(Soc ketMuxer.java:512)
    at weblogic.socket.SocketMuxer.readReadySocketOnce(So cketMuxer.java:670

    at weblogic.socket.SocketMuxer.readReadySocket(Socket Muxer.java:617)
    at weblogic.socket.JavaSocketMuxer.processSockets(Jav aSocketMuxer.java:
    82)
    at weblogic.socket.SocketReaderRequest.execute(Socket ReaderRequest.java
    32)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThrea d.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.ja va:170)
    SenderFacade.sendIndividualInstructionsnested exception is: weblogic.jms.common
    JMSException: ; nested exception is:
    java.io.EOFException
    javax.ejb.EJBException: nested exception is: weblogic.jms.common.JMSException:
    nested exception is:
    java.io.EOFException
    weblogic.jms.common.JMSException: ; nested exception is:
    java.io.EOFException
    at weblogic.jms.dispatcher.DispatcherWrapperState.dis patchSyncTran(Disp
    tcherWrapperState.java:415)
    at weblogic.jms.client.JMSProducer.sendInternal(JMSPr oducer.java:382)
    at weblogic.jms.client.JMSProducer.send(JMSProducer.j ava:186)
    at com.db.prisma.util.JMSTest.sendXMLToQueue(JMSTest. java:35)
    at com.db.prisma.util.JMSTest.main(JMSTest.java:50)
    Caused by: weblogic.rjvm.PeerGoneException: ; nested exception is:
    java.io.EOFException
    at weblogic.rjvm.BasicOutboundRequest.sendReceive(Bas icOutboundRequest.
    ava:108)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicR emoteRef.java:138)
    at weblogic.jms.dispatcher.DispatcherImpl_811_WLStub. dispatchSyncTranFu
    ure(Unknown Source)
    at weblogic.jms.dispatcher.DispatcherWrapperState.dis patchSyncTran(Disp
    tcherWrapperState.java:394)
    ... 4 more
    Caused by: java.io.EOFException
    at weblogic.rjvm.t3.T3JVMConnection.endOfStream(T3JVM Connection.java:68
    )
    at weblogic.socket.SocketMuxer.deliverExceptionAndCle anup(SocketMuxer.j
    va:562)
    at weblogic.socket.SocketMuxer.deliverEndOfStream(Soc ketMuxer.java:512)
    at weblogic.socket.SocketMuxer.readReadySocketOnce(So cketMuxer.java:670

    at weblogic.socket.SocketMuxer.readReadySocket(Socket Muxer.java:617)
    at weblogic.socket.JavaSocketMuxer.processSockets(Jav aSocketMuxer.java:
    82)
    at weblogic.socket.SocketReaderRequest.execute(Socket ReaderRequest.java
    32)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThrea d.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.ja va:170)
    javax.ejb.EJBException: nested exception is: weblogic.jms.common.JMSException:
    nested exception is:
    java.io.EOFException
    at com.db.prisma.util.JMSTest.sendXMLToQueue(JMSTest. java:41)
    at com.db.prisma.util.JMSTest.main(JMSTest.java:50)
    Exception in thread "main" javax.ejb.EJBException: nested exception is: javax.e
    b.EJBException: nested exception is: weblogic.jms.common.JMSException: ; nested
    exception is:
    java.io.EOFException
    javax.ejb.EJBException: nested exception is: weblogic.jms.common.JMSException:
    nested exception is:
    java.io.EOFException
    weblogic.jms.common.JMSException: ; nested exception is:
    java.io.EOFException
    at weblogic.jms.dispatcher.DispatcherWrapperState.dis patchSyncTran(Disp
    tcherWrapperState.java:415)
    at weblogic.jms.client.JMSProducer.sendInternal(JMSPr oducer.java:382)
    at weblogic.jms.client.JMSProducer.send(JMSProducer.j ava:186)
    at com.db.prisma.util.JMSTest.sendXMLToQueue(JMSTest. java:35)
    at com.db.prisma.util.JMSTest.main(JMSTest.java:50)
    Caused by: weblogic.rjvm.PeerGoneException: ; nested exception is:
    java.io.EOFException
    at weblogic.rjvm.BasicOutboundRequest.sendReceive(Bas icOutboundRequest.
    ava:108)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicR emoteRef.java:138)
    at weblogic.jms.dispatcher.DispatcherImpl_811_WLStub. dispatchSyncTranFu
    ure(Unknown Source)
    at weblogic.jms.dispatcher.DispatcherWrapperState.dis patchSyncTran(Disp
    tcherWrapperState.java:394)
    ... 4 more
    Caused by: java.io.EOFException
    at weblogic.rjvm.t3.T3JVMConnection.endOfStream(T3JVM Connection.java:68
    )
    at weblogic.socket.SocketMuxer.deliverExceptionAndCle anup(SocketMuxer.j
    va:562)
    at weblogic.socket.SocketMuxer.deliverEndOfStream(Soc ketMuxer.java:512)
    at weblogic.socket.SocketMuxer.readReadySocketOnce(So cketMuxer.java:670

    at weblogic.socket.SocketMuxer.readReadySocket(Socket Muxer.java:617)
    at weblogic.socket.JavaSocketMuxer.processSockets(Jav aSocketMuxer.java:
    82)
    at weblogic.socket.SocketReaderRequest.execute(Socket ReaderRequest.java
    32)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThrea d.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.ja va:170)
    javax.ejb.EJBException: nested exception is: weblogic.jms.common.JMSException:
    nested exception is:
    java.io.EOFException
    at com.db.prisma.util.JMSTest.sendXMLToQueue(JMSTest. java:41)
    at com.db.prisma.util.JMSTest.main(JMSTest.java:50)
    javax.ejb.EJBException: nested exception is: javax.ejb.EJBException: nested exc
    ption is: weblogic.jms.common.JMSException: ; nested exception is:
    java.io.EOFException
    at com.db.prisma.util.JMSTest.main(JMSTest.java:54)


    Can you give your valuable solution.

  2. Re: jms sender exception

    (1) If its reasonable in your particular app, I highly recommend
    compressing messages using the java.util.zip package - this
    reduces the amount of work the JMS server has to do to network
    and/or persist the message.

    (2) WebLogic Servers have a 10MB built-in limitation on network
    packet sizes - which applies to all network calls
    to/from the server. You can configure this higher via
    the server's network settings on the console.

    (3) WL JMS asynchronous consumers (includes MDBs)
    may actually internally receive multiple messages
    within a single network call. If you are using
    such consumers you should configure and use a
    custom connection factory for them to
    disable this behavior - set the
    "MessagesMaximum" down to 1.

    senthilkumar wrote:
    > i tried to send one message in byte message.The size is 11986291
    >
    > But i getting this error while calling QueueSender sender method.
    >
    >
    > weblogic.jms.common.JMSException: ; nested exception is:
    > java.io.EOFException
    > at weblogic.jms.dispatcher.DispatcherWrapperState.dis patchSyncTran(Disp
    > tcherWrapperState.java:415)
    > at weblogic.jms.client.JMSProducer.sendInternal(JMSPr oducer.java:382)
    > at weblogic.jms.client.JMSProducer.send(JMSProducer.j ava:186)
    > at com.db.prisma.util.JMSTest.sendXMLToQueue(JMSTest. java:35)
    > at com.db.prisma.util.JMSTest.main(JMSTest.java:50)
    > Caused by: weblogic.rjvm.PeerGoneException: ; nested exception is:
    > java.io.EOFException
    > at weblogic.rjvm.BasicOutboundRequest.sendReceive(Bas icOutboundRequest.
    > ava:108)
    > at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicR emoteRef.java:138)
    > at weblogic.jms.dispatcher.DispatcherImpl_811_WLStub. dispatchSyncTranFu
    > ure(Unknown Source)
    > at weblogic.jms.dispatcher.DispatcherWrapperState.dis patchSyncTran(Disp
    > tcherWrapperState.java:394)
    > ... 4 more
    > Caused by: java.io.EOFException
    > at weblogic.rjvm.t3.T3JVMConnection.endOfStream(T3JVM Connection.java:68
    > )
    > at weblogic.socket.SocketMuxer.deliverExceptionAndCle anup(SocketMuxer.j
    > va:562)
    > at weblogic.socket.SocketMuxer.deliverEndOfStream(Soc ketMuxer.java:512)
    > at weblogic.socket.SocketMuxer.readReadySocketOnce(So cketMuxer.java:670
    >
    > at weblogic.socket.SocketMuxer.readReadySocket(Socket Muxer.java:617)
    > at weblogic.socket.JavaSocketMuxer.processSockets(Jav aSocketMuxer.java:
    > 82)
    > at weblogic.socket.SocketReaderRequest.execute(Socket ReaderRequest.java
    > 32)
    > at weblogic.kernel.ExecuteThread.execute(ExecuteThrea d.java:197)
    > at weblogic.kernel.ExecuteThread.run(ExecuteThread.ja va:170)
    > SenderFacade.sendIndividualInstructionsnested exception is: weblogic.jms.common
    > JMSException: ; nested exception is:
    > java.io.EOFException
    > javax.ejb.EJBException: nested exception is: weblogic.jms.common.JMSException:
    > nested exception is:
    > java.io.EOFException
    > weblogic.jms.common.JMSException: ; nested exception is:
    > java.io.EOFException
    > at weblogic.jms.dispatcher.DispatcherWrapperState.dis patchSyncTran(Disp
    > tcherWrapperState.java:415)
    > at weblogic.jms.client.JMSProducer.sendInternal(JMSPr oducer.java:382)
    > at weblogic.jms.client.JMSProducer.send(JMSProducer.j ava:186)
    > at com.db.prisma.util.JMSTest.sendXMLToQueue(JMSTest. java:35)
    > at com.db.prisma.util.JMSTest.main(JMSTest.java:50)
    > Caused by: weblogic.rjvm.PeerGoneException: ; nested exception is:
    > java.io.EOFException
    > at weblogic.rjvm.BasicOutboundRequest.sendReceive(Bas icOutboundRequest.
    > ava:108)
    > at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicR emoteRef.java:138)
    > at weblogic.jms.dispatcher.DispatcherImpl_811_WLStub. dispatchSyncTranFu
    > ure(Unknown Source)
    > at weblogic.jms.dispatcher.DispatcherWrapperState.dis patchSyncTran(Disp
    > tcherWrapperState.java:394)
    > ... 4 more
    > Caused by: java.io.EOFException
    > at weblogic.rjvm.t3.T3JVMConnection.endOfStream(T3JVM Connection.java:68
    > )
    > at weblogic.socket.SocketMuxer.deliverExceptionAndCle anup(SocketMuxer.j
    > va:562)
    > at weblogic.socket.SocketMuxer.deliverEndOfStream(Soc ketMuxer.java:512)
    > at weblogic.socket.SocketMuxer.readReadySocketOnce(So cketMuxer.java:670
    >
    > at weblogic.socket.SocketMuxer.readReadySocket(Socket Muxer.java:617)
    > at weblogic.socket.JavaSocketMuxer.processSockets(Jav aSocketMuxer.java:
    > 82)
    > at weblogic.socket.SocketReaderRequest.execute(Socket ReaderRequest.java
    > 32)
    > at weblogic.kernel.ExecuteThread.execute(ExecuteThrea d.java:197)
    > at weblogic.kernel.ExecuteThread.run(ExecuteThread.ja va:170)
    > javax.ejb.EJBException: nested exception is: weblogic.jms.common.JMSException:
    > nested exception is:
    > java.io.EOFException
    > at com.db.prisma.util.JMSTest.sendXMLToQueue(JMSTest. java:41)
    > at com.db.prisma.util.JMSTest.main(JMSTest.java:50)
    > Exception in thread "main" javax.ejb.EJBException: nested exception is: javax.e
    > b.EJBException: nested exception is: weblogic.jms.common.JMSException: ; nested
    > exception is:
    > java.io.EOFException
    > javax.ejb.EJBException: nested exception is: weblogic.jms.common.JMSException:
    > nested exception is:
    > java.io.EOFException
    > weblogic.jms.common.JMSException: ; nested exception is:
    > java.io.EOFException
    > at weblogic.jms.dispatcher.DispatcherWrapperState.dis patchSyncTran(Disp
    > tcherWrapperState.java:415)
    > at weblogic.jms.client.JMSProducer.sendInternal(JMSPr oducer.java:382)
    > at weblogic.jms.client.JMSProducer.send(JMSProducer.j ava:186)
    > at com.db.prisma.util.JMSTest.sendXMLToQueue(JMSTest. java:35)
    > at com.db.prisma.util.JMSTest.main(JMSTest.java:50)
    > Caused by: weblogic.rjvm.PeerGoneException: ; nested exception is:
    > java.io.EOFException
    > at weblogic.rjvm.BasicOutboundRequest.sendReceive(Bas icOutboundRequest.
    > ava:108)
    > at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicR emoteRef.java:138)
    > at weblogic.jms.dispatcher.DispatcherImpl_811_WLStub. dispatchSyncTranFu
    > ure(Unknown Source)
    > at weblogic.jms.dispatcher.DispatcherWrapperState.dis patchSyncTran(Disp
    > tcherWrapperState.java:394)
    > ... 4 more
    > Caused by: java.io.EOFException
    > at weblogic.rjvm.t3.T3JVMConnection.endOfStream(T3JVM Connection.java:68
    > )
    > at weblogic.socket.SocketMuxer.deliverExceptionAndCle anup(SocketMuxer.j
    > va:562)
    > at weblogic.socket.SocketMuxer.deliverEndOfStream(Soc ketMuxer.java:512)
    > at weblogic.socket.SocketMuxer.readReadySocketOnce(So cketMuxer.java:670
    >
    > at weblogic.socket.SocketMuxer.readReadySocket(Socket Muxer.java:617)
    > at weblogic.socket.JavaSocketMuxer.processSockets(Jav aSocketMuxer.java:
    > 82)
    > at weblogic.socket.SocketReaderRequest.execute(Socket ReaderRequest.java
    > 32)
    > at weblogic.kernel.ExecuteThread.execute(ExecuteThrea d.java:197)
    > at weblogic.kernel.ExecuteThread.run(ExecuteThread.ja va:170)
    > javax.ejb.EJBException: nested exception is: weblogic.jms.common.JMSException:
    > nested exception is:
    > java.io.EOFException
    > at com.db.prisma.util.JMSTest.sendXMLToQueue(JMSTest. java:41)
    > at com.db.prisma.util.JMSTest.main(JMSTest.java:50)
    > javax.ejb.EJBException: nested exception is: javax.ejb.EJBException: nested exc
    > ption is: weblogic.jms.common.JMSException: ; nested exception is:
    > java.io.EOFException
    > at com.db.prisma.util.JMSTest.main(JMSTest.java:54)
    >
    >
    > Can you give your valuable solution.



+ Reply to Thread