java.lang.InstantiationException: ServerFile[PersistentMap,/D:/mv10131rc1_qs/oc4j/j2ee/home/persistence/jms.state]: persistence file "/D:/mv10131rc1_qs/oc4j/j2ee/home/persistence/jms.state" is locked. Verify that there is no sharing violation and manually remove "/D:/mv10131rc1_qs/oc4j/j2ee/home/persistence/jms.state.lock".

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 526497, 1 year ago
ServerFile[PersistentMap,/D:/mv10131rc1_qs/oc4j/j2ee/home/persistence/jms.state]: persistence file "/D:/mv10131rc1_qs/oc4j/j2ee/home/persistence/jms.state" is locked. Verify that there is no sharing violation and manually remove "/D:/mv10131rc1_qs/oc4j/j2ee/home/persistence/jms.state.lock".
via Oracle Community by 843849, 1 year ago
ServerFile[PersistentMap,/C:/Documents and Settings/1217663/Desktop/jdev/jdev/system/oracle.j2ee.10.1.3.40.66/embedded-oc4j/persistence/jms.state]: persistence file could not be locked. Resolve the sharing violation by ending the process currently holding the file lock or by using a different persistence directory for one or both processes.
via Oracle Community by 884523, 1 year ago
ServerFile[PersistentMap,/C:/JDevOA_testfna/jdevhome/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/persistence/jms.state]: persistence file could not be locked. Resolve the sharing violation by ending the process currently holding the file lock or by using a different persistence directory for one or both processes.
via Oracle Community by 89388, 1 year ago
[CONFIGURATION ERROR] ServerFile[jms/Oc4jJmsExceptionQueue,/C:/Documents and Settings/RRajagop/My Documents/JDev10132/jdev/system/oracle.j2ee.10.1.3.40.66/embedded-oc4j/persistence/Oc4jJmsExceptionQueue]: queue/topic mismatch, require "(3=queue)", found "(32=unknown)".
java.io.IOException: ServerFile[PersistentMap,/D:/mv10131rc1_qs/oc4j/j2ee/home/persistence/jms.state]: persistence file "/D:/mv10131rc1_qs/oc4j/j2ee/home/persistence/jms.state" is locked. Verify that there is no sharing violation and manually remove "/D:/mv10131rc1_qs/oc4j/j2ee/home/persistence/jms.state.lock".
at com.evermind.server.jms.JMSUtils.make(JMSUtils.java:1034)
at com.evermind.server.jms.JMSUtils.toIOException(JMSUtils.java:1171)
at com.evermind.server.jms.JMSUtils.toIOException(JMSUtils.java:1166)
at com.evermind.server.jms.ServerFile.safeOpenFile(ServerFile.java:735)
at com.evermind.server.jms.ServerFile.access$000(ServerFile.java:76)
at com.evermind.server.jms.ServerFile$2.run(ServerFile.java:700)
at oracle.oc4j.security.OC4JSecurity.doUnprivileged(OC4JSecurity.java:325)
at com.evermind.server.jms.ServerFile.openFile(ServerFile.java:697)
at com.evermind.server.jms.ServerFile.(ServerFile.java:119)
at com.evermind.server.jms.PersistentMap.loadFile(PersistentMap.java:99)
at com.evermind.server.jms.PersistentMap.(PersistentMap.java:60)
at com.evermind.server.jms.JMSServer.recoverState(JMSServer.java:1697)
at com.evermind.server.jms.JMSServer.internalSetConfig(JMSServer.java:205)
at com.evermind.server.jms.JMSServer.setConfig(JMSServer.java:172)
at com.evermind.server.ApplicationServer.initializeJMS(ApplicationServer.java:2266)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:909)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:113)
at java.lang.Thread.run(Thread.java:595)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.