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".

Oracle Community | 526497 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    mapviewer won't restart after rebooting OS

    Oracle Community | 1 decade ago | 526497
    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".
  2. 0

    Error While Executing Sample Application (JHeadStart  10.1.3.0.95 )

    Oracle Community | 10 years ago | 89388
    java.lang.InstantiationException: [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)".

    Root Cause Analysis

    1. 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()
    2. com.evermind.server
      ServerFile$2.run
      1. com.evermind.server.jms.JMSUtils.make(JMSUtils.java:1034)
      2. com.evermind.server.jms.JMSUtils.toIOException(JMSUtils.java:1171)
      3. com.evermind.server.jms.JMSUtils.toIOException(JMSUtils.java:1166)
      4. com.evermind.server.jms.ServerFile.safeOpenFile(ServerFile.java:735)
      5. com.evermind.server.jms.ServerFile.access$000(ServerFile.java:76)
      6. com.evermind.server.jms.ServerFile$2.run(ServerFile.java:700)
      6 frames
    3. oracle.oc4j.security
      OC4JSecurity.doUnprivileged
      1. oracle.oc4j.security.OC4JSecurity.doUnprivileged(OC4JSecurity.java:325)
      1 frame
    4. com.evermind.server
      ApplicationServerLauncher.run
      1. com.evermind.server.jms.ServerFile.openFile(ServerFile.java:697)
      2. com.evermind.server.jms.ServerFile.<init>(ServerFile.java:119)
      3. com.evermind.server.jms.PersistentMap.loadFile(PersistentMap.java:99)
      4. com.evermind.server.jms.PersistentMap.<init>(PersistentMap.java:60)
      5. com.evermind.server.jms.JMSServer.recoverState(JMSServer.java:1697)
      6. com.evermind.server.jms.JMSServer.internalSetConfig(JMSServer.java:205)
      7. com.evermind.server.jms.JMSServer.setConfig(JMSServer.java:172)
      8. com.evermind.server.ApplicationServer.initializeJMS(ApplicationServer.java:2266)
      9. com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:909)
      10. com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:113)
      10 frames
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame