1 Reply Latest reply on Mar 5, 2004 5:08 AM by Adrian Brock

    occurs thiese exceptions, what's wrong?

    matafy Newbie

      I deployed a message driven bean using jboss. But when i execute the Client to publish messages 100 times with a loop for many time. The following errors occured every time, why?

      1.Why did the SocketException occur?
      2.Some messages seem not to be caught by message driven bean, such as 82, 83, 84..., why?
      Thank you very much!


      10:32:21,170 INFO [STDOUT] ejbCreate
      10:32:21,170 INFO [STDOUT] Received new message: This is a test message of zhangming at 0th.
      10:32:21,170 INFO [STDOUT] Received new message: This is a test message of zhangming at 1th.
      10:32:21,170 INFO [STDOUT] Received new message: This is a test message of zhangming at 2th.
      10:32:21,170 INFO [STDOUT] Received new message: This is a test message of zhangming at 3th.
      10:32:21,180 INFO [STDOUT] Received new message: This is a test message of zhangming at 4th.
      10:32:21,180 INFO [STDOUT] Received new message: This is a test message of zhangming at 5th.
      10:32:21,180 INFO [STDOUT] Received new message: This is a test message of zhangming at 6th.
      10:32:21,241 INFO [STDOUT] Received new message: This is a test message of zhangming at 7th.
      10:32:21,241 INFO [STDOUT] Received new message: This is a test message of zhangming at 8th.
      10:32:21,241 INFO [STDOUT] Received new message: This is a test message of zhangming at 9th.
      10:32:21,241 INFO [STDOUT] Received new message: This is a test message of zhangming at 10th.
      10:32:21,241 INFO [STDOUT] Received new message: This is a test message of zhangming at 11th.
      10:32:21,241 INFO [STDOUT] Received new message: This is a test message of zhangming at 12th.
      10:32:21,241 INFO [STDOUT] Received new message: This is a test message of zhangming at 13th.
      10:32:21,251 INFO [STDOUT] Received new message: This is a test message of zhangming at 14th.
      10:32:21,281 INFO [STDOUT] Received new message: This is a test message of zhangming at 15th.
      10:32:21,291 INFO [STDOUT] Received new message: This is a test message of zhangming at 16th.
      10:32:21,311 INFO [STDOUT] Received new message: This is a test message of zhangming at 17th.
      10:32:21,341 INFO [STDOUT] Received new message: This is a test message of zhangming at 18th.
      10:32:21,341 INFO [STDOUT] Received new message: This is a test message of zhangming at 19th.
      10:32:21,341 INFO [STDOUT] Received new message: This is a test message of zhangming at 20th.
      10:32:21,341 INFO [STDOUT] Received new message: This is a test message of zhangming at 21th.
      10:32:21,341 INFO [STDOUT] Received new message: This is a test message of zhangming at 22th.
      10:32:21,341 INFO [STDOUT] Received new message: This is a test message of zhangming at 23th.
      10:32:21,341 INFO [STDOUT] Received new message: This is a test message of zhangming at 24th.
      10:32:21,361 INFO [STDOUT] Received new message: This is a test message of zhangming at 25th.
      10:32:21,361 INFO [STDOUT] Received new message: This is a test message of zhangming at 26th.
      10:32:21,361 INFO [STDOUT] Received new message: This is a test message of zhangming at 27th.
      10:32:21,371 INFO [STDOUT] Received new message: This is a test message of zhangming at 28th.
      10:32:21,371 INFO [STDOUT] Received new message: This is a test message of zhangming at 29th.
      10:32:21,401 INFO [STDOUT] Received new message: This is a test message of zhangming at 30th.
      10:32:21,401 INFO [STDOUT] Received new message: This is a test message of zhangming at 31th.
      10:32:21,401 INFO [STDOUT] Received new message: This is a test message of zhangming at 32th.
      10:32:21,421 INFO [STDOUT] Received new message: This is a test message of zhangming at 33th.
      10:32:21,431 INFO [STDOUT] Received new message: This is a test message of zhangming at 34th.
      10:32:21,441 INFO [STDOUT] Received new message: This is a test message of zhangming at 37th.
      10:32:21,441 INFO [STDOUT] Received new message: This is a test message of zhangming at 38th.
      10:32:21,461 INFO [STDOUT] Received new message: This is a test message of zhangming at 39th.
      10:32:21,461 INFO [STDOUT] Received new message: This is a test message of zhangming at 41th.
      10:32:21,471 INFO [STDOUT] Received new message: This is a test message of zhangming at 42th.
      10:32:21,471 INFO [STDOUT] Received new message: This is a test message of zhangming at 43th.
      10:32:21,471 INFO [STDOUT] Received new message: This is a test message of zhangming at 40th.
      10:32:21,481 INFO [STDOUT] Received new message: This is a test message of zhangming at 44th.
      10:32:21,511 INFO [STDOUT] Received new message: This is a test message of zhangming at 45th.
      10:32:21,511 INFO [STDOUT] Received new message: This is a test message of zhangming at 46th.
      10:32:21,521 INFO [STDOUT] Received new message: This is a test message of zhangming at 47th.
      10:32:21,521 INFO [STDOUT] Received new message: This is a test message of zhangming at 48th.
      10:32:21,541 INFO [STDOUT] Received new message: This is a test message of zhangming at 49th.
      10:32:21,541 INFO [STDOUT] Received new message: This is a test message of zhangming at 50th.
      10:32:21,541 INFO [STDOUT] Received new message: This is a test message of zhangming at 51th.
      10:32:21,541 INFO [STDOUT] Received new message: This is a test message of zhangming at 52th.
      10:32:21,551 INFO [STDOUT] Received new message: This is a test message of zhangming at 53th.
      10:32:21,551 INFO [STDOUT] Received new message: This is a test message of zhangming at 54th.
      10:32:21,561 INFO [STDOUT] Received new message: This is a test message of zhangming at 55th.
      10:32:21,581 INFO [STDOUT] Received new message: This is a test message of zhangming at 56th.
      10:32:21,581 INFO [STDOUT] Received new message: This is a test message of zhangming at 57th.
      10:32:21,581 INFO [STDOUT] Received new message: This is a test message of zhangming at 58th.
      10:32:21,581 INFO [STDOUT] Received new message: This is a test message of zhangming at 59th.
      10:32:21,611 INFO [STDOUT] Received new message: This is a test message of zhangming at 60th.
      10:32:21,611 INFO [STDOUT] Received new message: This is a test message of zhangming at 61th.
      10:32:21,621 INFO [STDOUT] Received new message: This is a test message of zhangming at 62th.
      10:32:21,621 INFO [STDOUT] Received new message: This is a test message of zhangming at 63th.
      10:32:21,641 INFO [STDOUT] Received new message: This is a test message of zhangming at 64th.
      10:32:21,651 INFO [STDOUT] Received new message: This is a test message of zhangming at 65th.
      10:32:21,651 INFO [STDOUT] Received new message: This is a test message of zhangming at 66th.
      10:32:21,651 INFO [STDOUT] Received new message: This is a test message of zhangming at 67th.
      10:32:21,661 INFO [STDOUT] Received new message: This is a test message of zhangming at 68th.
      10:32:21,661 INFO [STDOUT] Received new message: This is a test message of zhangming at 69th.
      10:32:21,671 INFO [STDOUT] Received new message: This is a test message of zhangming at 70th.
      10:32:21,671 INFO [STDOUT] Received new message: This is a test message of zhangming at 71th.
      10:32:21,681 INFO [STDOUT] Received new message: This is a test message of zhangming at 72th.
      10:32:21,681 INFO [STDOUT] Received new message: This is a test message of zhangming at 73th.
      10:32:21,691 INFO [STDOUT] Received new message: This is a test message of zhangming at 74th.
      10:32:21,721 WARN [OILServerILService] Connection failure (1).
      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:231
      6)
      at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2383)
      at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2455)
      at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2604)
      at java.io.ObjectInputStream.readByte(ObjectInputStream.java:845)
      at org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.java:205)
      at java.lang.Thread.run(Thread.java:536)
      10:32:21,751 INFO [STDOUT] Received new message: This is a test message of zhangming at 75th.
      10:32:21,761 INFO [STDOUT] Received new message: This is a test message of zhangming at 78th.
      10:32:21,801 INFO [STDOUT] Received new message: This is a test message of zhangming at 79th.
      10:32:21,801 INFO [STDOUT] Received new message: This is a test message of zhangming at 80th.
      10:32:21,801 INFO [STDOUT] Received new message: This is a test message of zhangming at 81th.
      10:32:21,801 INFO [STDOUT] Received new message: This is a test message of zhangming at 82th.
      10:32:21,821 INFO [STDOUT] Received new message: This is a test message of zhangming at 87th.
      10:32:21,841 INFO [STDOUT] Received new message: This is a test message of zhangming at 88th.
      10:32:21,851 INFO [STDOUT] Received new message: This is a test message of zhangming at 89th.
      10:32:21,891 INFO [STDOUT] Received new message: This is a test message of zhangming at 90th.
      10:32:21,911 INFO [STDOUT] Received new message: This is a test message of zhangming at 93th.
      10:32:21,911 INFO [STDOUT] Received new message: This is a test message of zhangming at 94th.
      10:32:21,922 INFO [STDOUT] Received new message: This is a test message of zhangming at 95th.
      10:32:21,932 INFO [STDOUT] Received new message: This is a test message of zhangming at 96th.
      10:32:21,932 INFO [STDOUT] Received new message: This is a test message of zhangming at 97th.
      10:32:21,942 INFO [STDOUT] Received new message: This is a test message of zhangming at 98th.