5 Replies Latest reply on Aug 29, 2001 3:00 AM by pra

    jbossmq connectionreceiver error

    fang

      I made a simple JMX component, which does one job - creating several asyn. message receivers listening to a single queue. I followed the examples to do that.

      But when Jboss is started, each receiver generates an interal error and upon receiving a message, all of them also generate the same error:

      [Default] java.io.EOFException
      [Default] at java.io.ObjectInputStream.readByte(Unknown Source)
      [Default]
      [Default] at org.jbossmq.distributed.server.ConnectionReceiverOIL.run(ConnectionReceiverOIL.java:111)
      [Default]
      [Default] at java.lang.Thread.run(Unknown Source)
      [Default]
      


      There must be some wrong there with the new version 2.4, since it was ok with Jboss 2.2.2. Please advise. Thanks a lot.

      Fang

        • 1. Re: jbossmq connectionreceiver error
          hchirino

          This has been fixed. It will be included in 2.4.1



          Regards,
          Hiram


          • 2. Re: jbossmq connectionreceiver error
            fang

            sometimes when I sent a message the queue, the following error message is also generated:

            [ClientConsumer] Could not send messages to a receiver.
            java.net.SocketException: Connection aborted by peer: socket write error
             at java.net.SocketOutputStream.socketWrite(Native Method)
             at java.net.SocketOutputStream.write(Unknown Source)
             at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
             at java.io.BufferedOutputStream.write(Unknown Source)
             at java.io.ObjectOutputStream.drain(Unknown Source)
             at java.io.ObjectOutputStream.setBlockData(Unknown Source)
             at java.io.ObjectOutputStream.writeObject(Unknown Source)
             at org.jbossmq.distributed.server.ConnectionReceiverOILClient.receive(ConnectionReceiverOILClient.java:127)
             at org.jbossmq.server.ClientConsumer.run(ClientConsumer.java:408)
             at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:655)
             at java.lang.Thread.run(Unknown Source)
            [JMSServer] The connection to client ID5 failed.
            


            But actally everything is working fine!!! I could send a message and I could be able to process the message - Very strange

            • 3. Re: jbossmq connectionreceiver error
              fang

              Thanks. Which files are affected? Can I have a quick fix for this? Those errors are really annoying...


              Fang

              • 4. Re: jbossmq connectionreceiver error
                hchirino

                Too many things changed between 0.8 and 1.0.0 beta.
                Get the Rel_2_4_1_2 from CVS!


                Regards,
                Hiram

                • 5. Re: jbossmq connectionreceiver error

                  I think the rel should be at least Rel_2_4_1_3 since that is where the JMS Ra stuff was fixed.

                  //Peter