0 Replies Latest reply on Mar 29, 2004 12:07 PM by brucec

    OILServerILService throwing SocketTimeoutException after som

    brucec Newbie

      We are running a JMS Topic that clients connect to to provide updates from the server.
      Everything works fine for an extended period of time and then we start getting
      OILServerILService SocketTimeoutExceptions.

      Nothing shows up wrong in the client related to this (they are not disconnecting).
      The following is a sample of information from the server log including DEBUG in the MDB.
      Does anyone have an idea what might be causing the exceptions?

      2004-03-26 23:10:57,938 WARN [org.jboss.mq.il.oil.OILServerILService] Connection failure (1).
      java.net.SocketTimeoutException: Read timed out
      at java.net.SocketInputStream.socketRead0(Native Method)
      at java.net.SocketInputStream.read(SocketInputStream.java:129)
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
      at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2133)
      at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2313)
      at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2380)
      at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2452)
      at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2601)
      at java.io.ObjectInputStream.readByte(ObjectInputStream.java:845)
      at org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.java:206)
      at java.lang.Thread.run(Thread.java:534)
      2004-03-26 23:10:57,938 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] Returning cached instance of singleton bean 'calendar'
      2004-03-26 23:10:57,950 WARN [org.jboss.mq.il.oil.OILServerILService] Connection failure (1).
      java.net.SocketTimeoutException: Read timed out
      at java.net.SocketInputStream.socketRead0(Native Method)
      at java.net.SocketInputStream.read(SocketInputStream.java:129)
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
      at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2133)
      at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2313)
      at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2380)
      at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2452)
      at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2601)
      at java.io.ObjectInputStream.readByte(ObjectInputStream.java:845)
      at org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.java:206)
      at java.lang.Thread.run(Thread.java:534)
      2004-03-26 23:10:58,008 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] Bean with name 'calendar' is a factory bean
      2004-03-26 23:10:58,011 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] Returning cached instance of singleton bean 'calendar'
      2004-03-26 23:10:58,011 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] Bean with name 'calendar' is a factory bean
      2004-03-26 23:10:58,336 WARN [org.jboss.mq.Connection] Connection failure:
      org.jboss.mq.SpyJMSException: Connection Failed; - nested throwable: (java.net.SocketException: Connection reset)
      at org.jboss.mq.Connection.asynchFailure(Connection.java:718)
      at org.jboss.mq.Connection$PingTask.run(Connection.java:1311)
      at EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(ClockDaemon.java:364)
      at java.lang.Thread.run(Thread.java:534)
      Caused by: java.net.SocketException: Connection reset
      at java.net.SocketInputStream.read(SocketInputStream.java:168)
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
      at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2133)
      at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2313)
      at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2380)
      at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2452)
      at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.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.ping(OILServerIL.java:424)
      at org.jboss.mq.Connection.pingServer(Connection.java:1141)
      at org.jboss.mq.Connection$PingTask.run(Connection.java:1307)
      ... 2 more
      2004-03-26 23:10:58,717 DEBUG [com.transdyn.dynac.device.publish.DeviceUpdateBean] Message: org.jboss.mq.SpyObjectMessage {
      Header {
      jmsDestination : TOPIC.DeviceUpdateTopic
      jmsDeliveryMode : 2
      jmsExpiration : 0
      jmsPriority : 4
      jmsMessageID : ID:5-1080371408614261821
      jmsTimeStamp : 1080371408614
      jmsCorrelationID: null
      jmsReplyTo : null
      jmsType : null
      jmsRedelivered : false
      jmsProperties : {}
      jmsPropertiesReadWrite:false
      msgReadOnly : true
      producerClientId: ID:5
      }
      }
      2004-03-26 23:10:58,719 DEBUG [com.transdyn.dynac.device.publish.DeviceUpdateBean] DeviceUpdateBean: received object [Lcom.transdyn.dynac.device.DeviceUpdateEvent;
      2004-03-26 23:10:58,719 DEBUG [com.transdyn.dynac.device.publish.DeviceUpdateBean] posting com.transdyn.dynac.device.DeviceUpdateEvent[source=null]
      2004-03-26 23:10:58,719 DEBUG [com.transdyn.dynac.framework.beans.CachedBeanInfo] Using cached introspection results for class com.transdyn.dynac.device.point.va.VirtualAnalogPoint
      2004-03-26 23:10:58,721 WARN [org.jboss.mq.Connection] Connection failure:
      org.jboss.mq.SpyJMSException: Connection Failed; - nested throwable: (java.net.SocketException: Connection reset)
      at org.jboss.mq.Connection.asynchFailure(Connection.java:718)
      at org.jboss.mq.Connection$PingTask.run(Connection.java:1311)
      at EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(ClockDaemon.java:364)
      at java.lang.Thread.run(Thread.java:534)
      Caused by: java.net.SocketException: Connection reset
      at java.net.SocketInputStream.read(SocketInputStream.java:168)
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
      at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2133)
      at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2313)
      at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2380)
      at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2452)
      at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.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.ping(OILServerIL.java:424)
      at org.jboss.mq.Connection.pingServer(Connection.java:1141)
      at org.jboss.mq.Connection$PingTask.run(Connection.java:1307)
      ... 2 more
      2004-03-26 23:11:00,182 WARN [org.jboss.mq.il.oil.OILServerILService] Connection failure (1).
      java.net.SocketTimeoutException: Read timed out
      at java.net.SocketInputStream.socketRead0(Native Method)
      at java.net.SocketInputStream.read(SocketInputStream.java:129)
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
      at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2133)
      at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2313)
      at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2380)
      at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2452)
      at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2601)
      at java.io.ObjectInputStream.readByte(ObjectInputStream.java:845)
      at org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.java:206)
      at java.lang.Thread.run(Thread.java:534)
      2004-03-26 23:11:06,338 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] Returning cached instance of singleton bean 'calendar'