4 Replies Latest reply on Oct 24, 2003 5:03 PM by arabin

    An exception. What does it mean?

    arabin Novice

      What does it mean this?

      org.jboss.mq.SpyJMSException: Cannot send a message to the JMS server; - nested
      throwable: (java.io.StreamCorruptedException)
      at org.jboss.mq.Connection.sendToServer(Connection.java:1251)
      at org.jboss.mq.SpySession.sendMessage(SpySession.java:720)
      at org.jboss.mq.SpyQueueSender.internalSend(SpyQueueSender.java:118)
      at org.jboss.mq.SpyQueueSender.send(SpyQueueSender.java:76)
      at com.wrn.teamworks.cms.cms.MessageServiceObjectSender.finallySendLocal
      lyOrTemp(MessageServiceObjectSender.java:198)
      at com.wrn.teamworks.cms.cms.MessageServiceObjectSender.finallySendLocal
      ly(MessageServiceObjectSender.java:228)
      at com.wrn.teamworks.cms.cms.MessageServiceObjectHighSender.answerLocall
      yAsynch(MessageServiceObjectHighSender.java:514)
      at com.wrn.teamworks.cms.cms.MessageServiceObject.answer(MessageServiceO
      bject.java:718)
      at com.wrn.teamworks.cms.client.ExampleAsynchReceiverAndAnswerer$MBodyLi
      stener1.onMessageBody(ExampleAsynchReceiverAndAnswerer.java:46)
      at com.wrn.teamworks.cms.cms.MessageCallbackHandler.onMessage(MessageCal
      lbackHandler.java:123)
      at org.jboss.mq.SpyMessageConsumer.run(SpyMessageConsumer.java:546)
      at java.lang.Thread.run(Thread.java:534)
      Caused by: java.io.StreamCorruptedException
      at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(Object
      InputStream.java:2347)
      at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStre
      am.java:2380)
      at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream
      .java:2452)
      at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputSt
      ream.java:2601)
      at java.io.ObjectInputStream.readByte(ObjectInputStream.java:845)
      at org.jboss.mq.il.oil.OILServerIL.waitAnswer(OILServerIL.java:601)
      at org.jboss.mq.il.oil.OILServerIL.addMessage(OILServerIL.java:219)
      at org.jboss.mq.Connection.sendToServer(Connection.java:1243)

        • 1. Re: An exception. What does it mean?
          arabin Novice

          And this one too?

          org.jboss.mq.SpyJMSException: Cannot send a message to the JMS server; - nested
          throwable: (java.io.UTFDataFormatException)
          at org.jboss.mq.Connection.sendToServer(Connection.java:1251)
          at org.jboss.mq.SpySession.sendMessage(SpySession.java:720)
          at org.jboss.mq.SpyQueueSender.internalSend(SpyQueueSender.java:118)
          at org.jboss.mq.SpyQueueSender.send(SpyQueueSender.java:76)
          at com.wrn.teamworks.cms.cms.MessageServiceObjectSender.finallySendLocal
          lyOrTemp(MessageServiceObjectSender.java:198)
          at com.wrn.teamworks.cms.cms.MessageServiceObjectSender.finallySendLocal
          ly(MessageServiceObjectSender.java:228)
          at com.wrn.teamworks.cms.cms.MessageServiceObjectHighSender.answerLocall
          yAsynch(MessageServiceObjectHighSender.java:514)
          at com.wrn.teamworks.cms.cms.MessageServiceObject.answer(MessageServiceO
          bject.java:718)
          at com.wrn.teamworks.cms.client.ExampleAsynchReceiverAndAnswerer$MBodyLi
          stener1.onMessageBody(ExampleAsynchReceiverAndAnswerer.java:46)
          at com.wrn.teamworks.cms.cms.MessageCallbackHandler.onMessage(MessageCal
          lbackHandler.java:123)
          at org.jboss.mq.SpyMessageConsumer.run(SpyMessageConsumer.java:546)
          at java.lang.Thread.run(Thread.java:534)
          Caused by: java.io.UTFDataFormatException
          at java.io.ObjectInputStream$BlockDataInputStream.readUTFSpan(ObjectInpu
          tStream.java:2963)
          at java.io.ObjectInputStream$BlockDataInputStream.readUTFBody(ObjectInpu
          tStream.java:2888)
          at java.io.ObjectInputStream$BlockDataInputStream.readUTF(ObjectInputStr
          eam.java:2701)
          at java.io.ObjectInputStream.readUTF(ObjectInputStream.java:999)
          at org.jboss.mq.SpyMessage.readString(SpyMessage.java:779)
          at org.jboss.mq.SpyMessage.readExternal(SpyMessage.java:787)
          at org.jboss.mq.SpyObjectMessage.readExternal(SpyObjectMessage.java:147)

          at org.jboss.mq.SpyMessage.readMessage(SpyMessage.java:696)
          at org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.
          java:253)
          ... 1 more

          ?

          • 2. Re: An exception. What does it mean?
            arabin Novice

            And this one?

            org.jboss.mq.SpyJMSException: Cannot send a message to the JMS server; - nested
            throwable: (java.rmi.RemoteException: Bad method code !)
            at org.jboss.mq.Connection.sendToServer(Connection.java:1251)
            at org.jboss.mq.SpySession.sendMessage(SpySession.java:720)
            at org.jboss.mq.SpyQueueSender.internalSend(SpyQueueSender.java:118)
            at org.jboss.mq.SpyQueueSender.send(SpyQueueSender.java:76)
            at com.wrn.teamworks.cms.cms.MessageServiceObjectSender.finallySendLocal
            lyAndWaitAsynch(MessageServiceObjectSender.java:470)
            at com.wrn.teamworks.cms.cms.MessageServiceObjectHighSender.sendAndWaitR
            esponseAsynch(MessageServiceObjectHighSender.java:458)
            at com.wrn.teamworks.cms.cms.MessageServiceObject.sendAndReceiveAsynch(M
            essageServiceObject.java:685)
            at com.wrn.teamworks.cms.client.ExampleMultipleLocalSenderAndAsynchWaite
            r.main(ExampleMultipleLocalSenderAndAsynchWaiter.java:76)
            Caused by: java.rmi.RemoteException: Bad method code !
            at org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.
            java:337)
            at java.lang.Thread.run(Thread.java:534)

            • 3. Re: An exception. What does it mean?
              arabin Novice

              Another one is this one. I also do not understand what it means.

              10:21:01,140 WARN [ClientConsumer] Could not send messages to a receiver.
              java.rmi.RemoteException: ; nested exception is:
              java.rmi.RemoteException: Bad method code !
              at org.jboss.mq.il.oil.OILClientIL.waitAnswer(OILClientIL.java:205)
              at org.jboss.mq.il.oil.OILClientIL.receive(OILClientIL.java:141)
              at org.jboss.mq.server.ClientConsumer.doWork(ClientConsumer.java:284)
              at org.jboss.mq.threadpool.ThreadPool$WorkerThread.run(ThreadPool.java:2
              30)
              Caused by: java.rmi.RemoteException: Bad method code !
              at org.jboss.mq.il.oil.OILClientILService.run(OILClientILService.java:22
              4)
              at java.lang.Thread.run(Thread.java:534)
              10:21:01,140 ERROR [JMSDestinationManager] The connection to client ID:5 failed.

              • 4. Re: An exception. What does it mean?
                arabin Novice

                That was McAfee. The problem is solved.