java.io.IOException

An error occurred while locking file "Operation not supported". A common reason is that the file system or Runtime Environment does not support file locking for that location. Please choose a different location, or disable file locking by passing "-Dosgi.locking=none" as a VM argument.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web32315

  • via narkive.com by Unknown author, 10 months ago
    An error occurred while locking file "Operation not supported". A common reason is that the file system or Runtime Environment does not support file locking for that location. Please choose a different location, or disable file locking by passing "-Dosgi.locking=none" as a VM argument.
  • via Oracle Community by 848099, 11 months ago
    An error occurred while locking file "c:\OracleBI\web\catalogmanager\configuration\org.eclipse.core.runtime\.manager\.fileTableLock": "Access is denied". A common reason is that the file system or Runtime Environment does not support file locking for that location. Please choose a different location, or disable file locking passing "-Dosgi.locking=none" as a VM argument.
  • via Google Groups by sudheer....@regions.com, 1 year ago
    An error occurred while locking file "/home/wasadm/PMT/workspace/configuration/org.eclipse.osgi/.manager/.fileTableLock": "No locks available". A common reason is that the file system or Runtime Environment does not support file locking for that location. Please choose a different location, or disable file locking passing "-Dosgi.locking=none" as a VM argument.
  • Stack trace

    • java.io.IOException: An error occurred while locking file "Operation not supported". A common reason is that the file system or Runtime Environment does not support file locking for that location. Please choose a different location, or disable file locking by passing "-Dosgi.locking=none" as a VM argument. at org.eclipse.osgi.internal.location.Locker_JavaNio.lock(Locker_JavaNio.java:49) at org.eclipse.osgi.storagemanager.StorageManager.lock(StorageManager.java:388) at org.eclipse.osgi.storagemanager.StorageManager.open(StorageManager.java:701) at org.eclipse.osgi.storage.Storage.getChildStorageManager(Storage.java:1785) at org.eclipse.osgi.storage.Storage.getInfoInputStream(Storage.java:1802) at org.eclipse.osgi.storage.Storage.<init>(Storage.java:128) at org.eclipse.osgi.storage.Storage.createStorage(Storage.java:87) at org.eclipse.osgi.internal.framework.EquinoxContainer.<init>(EquinoxContainer.java:66)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.