java.lang.InstantiationException: 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.

Oracle Community | 884523 | 4 years 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

    Oaf Seeded page error in JDeveloper

    Oracle Community | 4 years ago | 884523
    java.lang.InstantiationException: 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.
  2. 0

    struts

    Oracle Community | 10 years ago | 843849
    java.lang.InstantiationException: 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.
  3. 0

    Cisco ISE REST HttpUrlConnection 400 Bad Request with POST and xml in body

    Stack Overflow | 2 years ago | Nerotox
    java.io.IOException: Server returned HTTP response code: 400 for URL: https://193.186.11.135:9060/ers/config/Endpoint
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hbase Multiple Master issue

    Google Groups | 5 years ago | V.Sriram
    java.io.IOException: java.io.IOException: java.lang.NullPointerException

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      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.

      at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
    2. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:494)
      4 frames
    3. com.evermind.server
      ServerFile$2.run
      1. com.evermind.server.jms.JMSUtils.make(JMSUtils.java:1035)
      2. com.evermind.server.jms.JMSMessages.log(JMSMessages.java:229)
      3. com.evermind.server.jms.JMSServerMessages.severeLockPersistenceFile(JMSServerMessages.java:86)
      4. com.evermind.server.jms.ServerFile.safeOpenFile(ServerFile.java:788)
      5. com.evermind.server.jms.ServerFile.access$000(ServerFile.java:77)
      6. com.evermind.server.jms.ServerFile$2.run(ServerFile.java:719)
      6 frames
    4. oracle.oc4j.security
      OC4JSecurity.doUnprivileged
      1. oracle.oc4j.security.OC4JSecurity.doUnprivileged(OC4JSecurity.java:325)
      1 frame
    5. com.evermind.server
      ApplicationServerLauncher.run
      1. com.evermind.server.jms.ServerFile.openFile(ServerFile.java:716)
      2. com.evermind.server.jms.ServerFile.<init>(ServerFile.java:133)
      3. com.evermind.server.jms.PersistentMap.loadFile(PersistentMap.java:100)
      4. com.evermind.server.jms.PersistentMap.<init>(PersistentMap.java:61)
      5. com.evermind.server.jms.JMSServer.recoverState(JMSServer.java:1823)
      6. com.evermind.server.jms.JMSServer.internalSetConfig(JMSServer.java:209)
      7. com.evermind.server.jms.JMSServer.setConfig(JMSServer.java:182)
      8. com.evermind.server.ApplicationServer.initializeJMS(ApplicationServer.java:2455)
      9. com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:999)
      10. com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
      10 frames
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame