4 Replies Latest reply on Mar 8, 2002 4:04 PM by amywkwan

    JVM_recv in socket  error

    sundaram

      When i run JMS client program jboss is giving this kind of error. Any idea why its giving this error message.

      Thanks
      -SR

      [OILClientIL] Checking socket
      [OILClientIL] Writing request
      [OILClientIL] Waiting for awnser
      [OILClientIL] Done
      [JMSServer] JMSServer->connectionClosing(dc=SpyDistributedConnection:ID4)
      [OILServerILService] Connection failure (1).
      java.net.SocketException: Connection reset by peer: JVM_recv in socket input stream read
       at java.net.SocketInputStream.socketRead(Native Method)
       at java.net.SocketInputStream.read(SocketInputStream.java:86)
       at java.io.BufferedInputStream.fill(BufferedInputStream.java:186)
       at java.io.BufferedInputStream.read(BufferedInputStream.java:204)
       at java.io.ObjectInputStream.peekCode(ObjectInputStream.java:1549)
       at java.io.ObjectInputStream.refill(ObjectInputStream.java:1683)
       at java.io.ObjectInputStream.read(ObjectInputStream.java:1659)
       at java.io.ObjectInputStream.readByte(ObjectInputStream.java:1905)
       at org.jboss.mq.il.oil.OILServerILService.run(OILServerILService.java:193)
       at java.lang.Thread.run(Thread.java:484)
      [JMSServer] JMSServer->connectionClosing(dc=SpyDistributedConnection:ID1)
      [ClientConsumer:ID1] ClientConsumer:ID1->close()
      [ClientConsumer:ID1] ClientConsumer:ID1->removeSubscription(subscriberId=-2147483648)
      [OILServerILService] The OILClientIL Connection is set up
      


        • 1. Re: JVM_recv in socket  error
          allisonwestley

          And so am i right now

          [OILServerILService] Connection failure (1).
          java.net.SocketException: Connection reset by peer: JVM_recv in socket input str
          eam read
           at java.net.SocketInputStream.socketRead(Native Method)
           at java.net.SocketInputStream.read(Unknown Source)
           at java.io.BufferedInputStream.fill(Unknown Source)
           at java.io.BufferedInputStream.read(Unknown Source)
           at java.io.ObjectInputStream.peekCode(Unknown Source)
           at java.io.ObjectInputStream.refill(Unknown Source)
           at java.io.ObjectInputStream.read(Unknown Source)
           at java.io.ObjectInputStream.readByte(Unknown Source)
           at org.jboss.mq.il.oil.OILServerILService.run(OILServerILService.java:19
          3)
           at java.lang.Thread.run(Unknown Source)
          [OILServerILService] Connection failure (1).
          


          • 2. Re: JVM_recv in socket  error
            hchirino

            Are you shutting down the client connection with a close()??? Or are you killing the client with a Ctrl-C??

            Regards,
            Hiram

            • 3. Re: JVM_recv in socket  error
              allisonwestley

              Yup, I'm an idiot - Control C'ing out of the client app. Thanks for the help!

              • 4. Re: JVM_recv in socket  error
                amywkwan

                I got the same error.
                How can I shut down the client connection in order to avoid this error?

                Thanks