An error occurred while shutting down the JMS server

If you are getting errors like below in your log files then please follow below mentioned steps to troubleshoot the issue.

<Apr 28, 2010 2:49:51 PM EDT> <Notice> <Stdout> <BEA-000000> <JMS Exception while enqueuing message ---> weblogic.jms.common.JMSException: weblogic.messaging.kernel.KernelException: Error persisting message>
<Apr 28, 2010 2:49:51 PM EDT> <Notice> <StdErr> <BEA-000000> <2010-04-28 14:49:51.503/172045.350 Oracle Coh<D5> (thread=Cluster, member=1): Service Cluster left the cluster>
<Apr 28, 2010 2:49:54 PM EDT> <Warning> <JMS> <BEA-040494> <An error occurred while shutting down the JMS server WLJMSServer4: weblogic.messaging.kernel.KernelException: Error closing store
weblogic.messaging.kernel.KernelException: Error closing store
at weblogic.messaging.kernel.internal.PagingImpl.close(PagingImpl.java:194)
at weblogic.messaging.kernel.internal.KernelImpl.close(KernelImpl.java:269)
at weblogic.jms.backend.BackEnd.close(BackEnd.java:948)
at weblogic.jms.deployer.BEAdminHandler.deactivate(BEAdminHandler.java:232)
at weblogic.management.utils.GenericManagedService.deactivateDeployment(GenericManagedService.java:268)
Truncated. see log file for complete stacktrace
Caused By: weblogic.store.PersistentStoreException: java.io.IOException: close error, No space left on device, errno=28
at weblogic.store.io.file.Heap.close(Heap.java:1081)
at weblogic.messaging.kernel.internal.PagingImpl.close(PagingImpl.java:192)
at weblogic.messaging.kernel.internal.KernelImpl.close(KernelImpl.java:269)
at weblogic.jms.backend.BackEnd.close(BackEnd.java:948)
at weblogic.jms.deployer.BEAdminHandler.deactivate(BEAdminHandler.java:232)
Truncated. see log file for complete stacktrace
Caused By: java.io.IOException: close error, No space left on device, errno=28
at weblogic.store.io.file.direct.DirectIONative.close(Native Method)
at weblogic.store.io.file.direct.DirectFileChannel.implCloseChannel

Resolution:
1- Check with Oracle Support if any bugs are there for FAILURE WHILE PERFORMING PAGING I/O. If there is some bugs you will get a patch for the same.

- To APPLY the patches refer
http://download.oracle.com/docs/cd/E14759_01/doc.32/e14143/intro.htm#i1088894


2- Increase MessageBuffereSize, refer

http://download.oracle.com/docs/cd/E12839_01/web.1111/e13814/jmstuning.htm#i1149169

3- Refer Best Practices When Using Persistent Stores

http://download.oracle.com/docs/cd/E12839_01/web.1111/e13814/storetune.htm#i1131553

The patch is for Weblogic servers 10.3.2.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.