Hello all,
I am running tests using a client program that tests my schedule classes on the jBoss3.2.3 server. I am using Hibernate 3.0 to persists schedule classes information in the Teradata database. I am using JMS to publish messages that client program listens on. For sometime, the client works fine and suddenly
jBoss throws the java.lang.OutOfMemory error and the stack trace is shown below:
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.
Do I Need to increase the JVM heap size somewhere? (may be in the run.bat file?)
Advanced Thanks,
B. Krishna Menon.