Friday, January 9, 2015

[Store:280105]The persistent file store "OIMJMSFileStore" cannot open file OIMJMSFILESTORE000000.DAT

Issue-

####<Nov 28, 2011 6:07:59 PM CST> <Error> <Store> <host.domain.com> <oim_server1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <c097772d3d090d3c:-2c3070a3:133eca6309a:-8000-0000000000000002> <1322525279221> <BEA-280061> <The persistent store "OIMJMSFileStore" could not be deployed: weblogic.store.PersistentStoreException: [Store:280105]The persistent file store "OIMJMSFileStore" cannot open file OIMJMSFILESTORE000000.DAT.

weblogic.store.PersistentStoreException: [Store:280105]The persistent file store "OIMJMSFileStore" cannot open file OIMJMSFILESTORE000000.DAT.

at weblogic.store.io.file.Heap.open(Heap.java:325) at weblogic.store.io.file.FileStoreIO.open(FileStoreIO.java:104)...

####<Nov 28, 2011 6:07:59 PM CST> <Warning> <Management> <host.domain.com> <oim_server1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <c097772d3d090d3c:-2c3070a3:133eca6309a:-8000-0000000000000002> <1322525279243> <BEA-141197> <The deployment of OIMJMSServer failed.

weblogic.management.DeploymentException: Internalrror activating the JMS Server OIMJMSServer: weblogic.management.DeploymentException: The persistent store "OIMJMSFileStor2" does not exist at weblogic.jms.deployer.BEAdminHandler.activate(BEAdminHandler.java:215

Solution- 

For clearing the corresponding JMS messages in the queue, please follow the below:
1. Stop the OIM server (all nodes)
2. Clear the JMS file store, by deleting:
 $MW_HOME/user_projects/domains/oim_domain/OIMJMSFileStore/OIMJMSFILESTORE000000.DAT
(It is recommended to take a backup of this file, like mv OIMJMSFILESTORE000000.DAT OIMJMSFILESTORE000000.OLD instead of deleting)
3).Do this on all nodes.
4) Delete the tmp and cache of Admin, OIM and SOA servers

5). Start the Admin ,SOA and OIM servers.

Thank you,
Arihant Baid