1 Reply Latest reply on May 3, 2004 9:00 AM by sitakanta_pat

    Exception

    sitakanta_pat Newbie

      Hi,
      My work functionality is that one server is posting the request and in Jboss it is processed and returned some service.But during this process some time I get the exceptions as

      1.java.net.SocketTimeoutException: Read timed out\par
      at java.net.SocketInputStream.socketRead0(Native Method)\par
      at java.net.SocketInputStream.read(SocketInputStream.java:129)\par
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)\par
      at java.io.BufferedInputStream.read(BufferedInputStream.java:201)\par
      at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2133)\par
      at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2313)\par
      at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2380)\par
      at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2452)\par
      at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2601)\par
      at java.io.ObjectInputStream.readByte(ObjectInputStream.java:845)\par
      at org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.java:206)\par


      2.
      10:41:37,258 FATAL :JMS Connection could not be initialized: org.jboss.mq.SpyJMSException: Cannot authenticate user; - nested throwable:
      (java.net.BindException: Address already in use: connect)

      The different user in both the servers .

      So, these exceptions are thrown due to any errornious configuration of jboss or the wrong data set by the user from other server or any other cause and remedy??


        • 1. Re: Exception
          sitakanta_pat Newbie

          Hi,
          My work functionality is that one server is posting the request and in Jboss it is processed and returned some service.But during this process some time I get the exceptions as

          1.java.net.SocketTimeoutException: Read timed out\par
          at java.net.SocketInputStream.socketRead0(Native Method)\par
          at java.net.SocketInputStream.read(SocketInputStream.java:129)\par
          at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)\par
          at java.io.BufferedInputStream.read(BufferedInputStream.java:201)\par
          at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2133)\par
          at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2313)\par
          at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2380)\par
          at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2452)\par
          at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2601)\par
          at java.io.ObjectInputStream.readByte(ObjectInputStream.java:845)\par
          at org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.java:206)\par


          2.
          10:41:37,258 FATAL :JMS Connection could not be initialized: org.jboss.mq.SpyJMSException: Cannot authenticate user; - nested throwable:
          (java.net.BindException: Address already in use: connect)

          The different user in both the servers .and i have to restart the server if any of the above exception is occuring.


          So, these exceptions are thrown due to any errornious configuration of jboss or the wrong data set by the user from other server or any other cause and remedy??