There was an error while opening the file store file _WLS_ADMINSERVER000000.DAT


Error:

If we are facing an error like 

<Error> <Store> <BEA-280061> <The persistent store “_WLS_AdminServer” could not be deployed: weblogic.store.PersistentStoreException: java.io.IOException: [Store:280021]There was an error while opening the file store file “_WLS_ADMINSERVER000000.DAT”


Solution

The may be *.lok and *.DAT files which need to be removed.

Command

find . -name "*.DAT" -print -exec rm {} \;
find . -name "*.lok" -print -exec rm {} \;


These has to be removed form $DOMAIN_HOME for Admin Server and Managed Server