Cannot send a message to the JMS Server
bkmenon Apr 28, 2005 10:32 AMHello all,
I am running tests using a client program that test my schedule classes on the jBoss3.2.3 server. The schedule classes talk back to the client using JMS messages. After talking sometime, suddenly the jBoss server showing the following error and the client stops responding.
2005-04-28 17:13:09,709 ERROR [STDERR] java.lang.OutOfMemoryError
2005-04-28 17:13:11,131 ERROR [STDERR] java.lang.OutOfMemoryError
2005-04-28 17:13:11,146 ERROR [STDERR] org.jboss.mq.SpyJMSException: Cannot send a message to the JMS server; - nested throwable: (java.io.EOFException)
2005-04-28 17:13:11,146 ERROR [STDERR] at org.jboss.mq.Connection.sendToServer(Connection.java:1251)
2005-04-28 17:13:11,146 ERROR [STDERR] at org.jboss.mq.SpySession.sendMessage(SpySession.java:732)
2005-04-28 17:13:11,146 ERROR [STDERR] at org.jboss.mq.SpyQueueSender.internalSend(SpyQueueSender.java:118)
2005-04-28 17:13:11,146 ERROR [STDERR] at org.jboss.mq.SpyQueueSender.send(SpyQueueSender.java:68)
2005-04-28 17:13:11,146 ERROR [STDERR] at com.teradata.tap.system.logging.QueueAccessor.write(QueueAccessor.java:111)
2005-04-28 17:13:11,146 ERROR [STDERR] at com.teradata.tap.system.logging.LogQueueAppender.append(LogQueueAppender.java:80)
2005-04-28 17:13:11,146 ERROR [STDERR] at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:221)
2005-04-28 17:13:11,146 ERROR [STDERR] at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:57)
2005-04-28 17:13:11,146 ERROR [STDERR] at org.apache.log4j.Category.callAppenders(Category.java:187)
2005-04-28 17:13:11,146 ERROR [STDERR] at org.apache.log4j.Category.forcedLog(Category.java:372)
2005-04-28 17:13:11,146 ERROR [STDERR] at org.apache.log4j.Category.info(Category.java:674)
2005-04-28 17:13:11,146 ERROR [STDERR] at com.teradata.tap.system.scheduler.JobExecutor.run(JobExecutor.java:55)
2005-04-28 17:13:11,146 ERROR [STDERR] at com.teradata.tap.system.pool.WorkerThread.run(WorkerThread.java:91)
2005-04-28 17:13:11,146 ERROR [STDERR] Caused by: java.io.EOFException
2005-04-28 17:13:11,146 ERROR [STDERR] at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2603)
2005-04-28 17:13:11,146 ERROR [STDERR] at java.io.ObjectInputStream.readByte(ObjectInputStream.java:845)
2005-04-28 17:13:11,146 ERROR [STDERR] at org.jboss.mq.il.oil.OILServerIL.waitAnswer(OILServerIL.java:601)
2005-04-28 17:13:11,146 ERROR [STDERR] at org.jboss.mq.il.oil.OILServerIL.addMessage(OILServerIL.java:219)
2005-04-28 17:13:11,146 ERROR [STDERR] at org.jboss.mq.Connection.sendToServer(Connection.java:1243)
2005-04-28 17:13:11,146 ERROR [STDERR] ... 12 more
I have no clue about this error and why this error is coming. Can somebody please help me out from this exception situation.
Advanced Thanks,
B. Krishna Menon.