3 Replies Latest reply on Mar 20, 2008 2:33 AM by Sanjay Srivatsa

    JBOSSMQ - org.jboss.mq.SpyJMSException: Exiting on unexpecte

    aneesh vasanthan Newbie

      Hi ,
      we are using jboss4.0.2 as our application server. we are facing a major problem in jms connection. It happens very frequently. After a restart will be fine for sometime n again it crashes.The exception trace is as shown below. expecting ur eteemed reply.

      Application server: jboss 4.0.2
      Application deployed in : jboss\server\default


      2008-03-18 19:22:29,234 WARN [org.jboss.mq.Connection] Connection failure:
      org.jboss.mq.SpyJMSException: Exiting on unexpected error in read task; - nested throwable: (java.lang.reflect.UndeclaredThrowableException)
      at org.jboss.mq.Connection.asynchFailure(Connection.java:429)
      at org.jboss.mq.il.uil2.UILClientILService.asynchFailure(UILClientILService.java:147)
      at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleStop(SocketManager.java:398)
      at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:342)
      at java.lang.Thread.run(Thread.java:536)
      Caused by: java.lang.reflect.UndeclaredThrowableException
      ... 4 more
      Caused by: java.lang.OutOfMemoryError: unable to create new native thread
      at java.lang.Thread.start(Native Method)
      at EDU.oswego.cs.dl.util.concurrent.PooledExecutor.addThread(PooledExecutor.java:520)
      at EDU.oswego.cs.dl.util.concurrent.PooledExecutor.execute(PooledExecutor.java:880)
      at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:296)
      ... 1 more
      2008-03-18 19:27:29,234 WARN [org.jboss.mq.Connection] Connection failure:
      org.jboss.mq.SpyJMSException: Connection Failed; - nested throwable: (java.io.IOException: ping timeout.)
      at org.jboss.mq.Connection.asynchFailure(Connection.java:429)
      at org.jboss.mq.Connection$PingTask.run(Connection.java:1378)
      at EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(ClockDaemon.java:364)
      at java.lang.Thread.run(Thread.java:536)
      Caused by: java.io.IOException: ping timeout.
      at org.jboss.mq.Connection$PingTask.run(Connection.java:1370)
      ... 2 more