Hi All, We are using Jboss AS 4.2.0 GA version in clustered env. in production. There are 2 nodes in this cluster. We are using MDB in our application .
Thats the only one MDB that we are using in our application, which used to sync the data based on user's request. Initially it works fine, but after 3-4 days i am getting followin exception. If i restart both the servers, it starts working fine but again after 3-4 days i get same exception. any help would be greatly appreciated. | java.lang.OutOfMemoryError: unable to create new native thread | | at java.lang.Thread.start0(Native Method) | | at java.lang.Thread.start(Thread.java:574) | | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor.addThread(PooledExecutor.java:520) | | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor.execute(PooledExecutor.java:891) | | at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:335) | | at java.lang.Thread.run(Thread.java:595) | | 2008-05-23 10:40:26,152 DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] Exiting on unexpected error in read task | | java.lang.OutOfMemoryError: unable to create new native thread | | at java.lang.Thread.start0(Native Method) | | at java.lang.Thread.start(Thread.java:574) | | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor.addThread(PooledExecutor.java:520) | | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor.execute(PooledExecutor.java:891) | | at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:335) | | at java.lang.Thread.run(Thread.java:595) | | | | 2008-05-23 10:40:58,490 WARN [org.jboss.mq.server.BasicQueue] Caught unusual exception sending message to receiver. | | org.jboss.util.threadpool.ThreadPoolFullException: java.lang.OutOfMemoryError: unable to create new native thread | | at org.jboss.util.threadpool.BasicThreadPool.execute(BasicThreadPool.java:417) | | at org.jboss.util.threadpool.BasicThreadPool.runTaskWrapper(BasicThreadPool.java:192) | | at org.jboss.util.threadpool.BasicThreadPool.run(BasicThreadPool.java:212) | | at org.jboss.util.threadpool.BasicThreadPool.run(BasicThreadPool.java:206) | | at org.jboss.mq.server.ClientConsumer.queueMessageForSending(ClientConsumer.java:125) | | at org.jboss.mq.server.BasicQueue.queueMessageForSending(BasicQueue.java:1140) | | at org.jboss.mq.server.BasicQueue.internalAddMessage(BasicQueue.java:1111) | | at org.jboss.mq.server.BasicQueue.access$000(BasicQueue.java:76) | | at org.jboss.mq.server.BasicQueue$AddMessagePostCommitTask.run(BasicQueue.java:1359) | | at org.jboss.mq.pm.TxManager.addPostCommitTask(TxManager.java:162) | | at org.jboss.mq.server.BasicQueue.performOrPrepareAddMessage(BasicQueue.java:411) | | at org.jboss.mq.server.BasicQueue.addMessage(BasicQueue.java:383) | | at org.jboss.mq.server.PersistentQueue.addMessage(PersistentQueue.java:76) | | at org.jboss.mq.server.JMSQueue.addMessage(JMSQueue.java:180) | | at org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationManager.java:415) | | at org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationManager.java:399) | | at org.jboss.mq.server.JMSServerInterceptorSupport.addMessage(JMSServerInterceptorSupport.java:106) | | at org.jboss.mq.security.ServerSecurityInterceptor.addMessage(ServerSecurityInterceptor.java:168) | | at org.jboss.mq.server.TracingInterceptor.addMessage(TracingInterceptor.java:226) | | at org.jboss.mq.server.JMSServerInvoker.addMessage(JMSServerInvoker.java:112) | | at org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketManagerHandler.java:114) | | at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:395) | | at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:398) | | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748) | | at java.lang.Thread.run(Thread.java:595) | | | | 2008-05-23 10:41:26,153 WARN [org.jboss.mq.Connection] Connection failure, use javax.jms.Connection.setExceptionListener() to handle this error and reconnect | | org.jboss.mq.SpyJMSException: No pong received; - nested throwable: (java.io.IOException: ping timeout.) | | at org.jboss.mq.Connection$PingTask.run(Connection.java:1313) | | at EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(ClockDaemon.java:364) | | at java.lang.Thread.run(Thread.java:595) | | Caused by: java.io.IOException: ping timeout. | | ... 3 more | | 2008-05-23 10:42:21,043 WARN [org.apache.tomcat.util.http.Parameters] Parameters: Invalid chunk ignored. | | 2008-05-23 10:42:21,043 WARN [org.apache.tomcat.util.http.Parameters] Parameters: Invalid chunk ignored. | | 2008-05-23 10:42:26,155 WARN [org.jboss.mq.Connection] Connection failure, use javax.jms.Connection.setExceptionListener() to handle this error and reconnect | | org.jboss.mq.SpyJMSException: No pong received; - nested throwable: (java.io.IOException: ping timeout.) | | at org.jboss.mq.Connection$PingTask.run(Connection.java:1313) | | at EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(ClockDaemon.java:364) | | at java.lang.Thread.run(Thread.java:595) | | Caused by: java.io.IOException: ping timeout. | | ... 3 more | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154765#4154765 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154765 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
