0 Replies Latest reply on Mar 11, 2004 2:19 AM by xcom

    why mdb receive jms_message occur exception

    xcom Newbie

      when a mdb receive more than 5000-10000 messages, jboss occur exception:
      java.io.InterruptedIOException: Read timed out
      at java.net.SocketInputStream.socketRead(Native Method)
      at java.net.SocketInputStream.read(SocketInputStream.java:85)
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:181)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:199)
      at java.io.ObjectInputStream.peekCode(ObjectInputStream.java:1545)
      at java.io.ObjectInputStream.refill(ObjectInputStream.java:1679)
      at java.io.ObjectInputStream.read(ObjectInputStream.java:1655)
      at java.io.ObjectInputStream.readByte(ObjectInputStream.java:1901)
      at org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.java:206)
      at java.lang.Thread.run(Thread.java:479)

      it's always lost 5-10 messages when mdb receive message
      we are using UIL2ConnectionFactory and persist messages to oracle
      how can we find a way to let mdb redo receive message after occur exception or borbidden this occur again?