Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Locking is not possible in the directory(Problem with locking on startup)
Locking is not possible in the directory [message #1029520] Fri, 29 March 2013 16:27 Go to next message
Margaret doll is currently offline Margaret doll
Messages: 1
Registered: March 2013
Junior Member
I downloaded and installed

http://www.eclipse.org/downloads/packages/eclipse-ide-cc-developers/junosr2

in /usr/local/ as root.

root can run the program, but other users cannot. They get

Locking is not possible in the directory "/usr/local/eclipse/configuration/org.eclipse.osgi". 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.
/usr/local/eclipse/configuration/org.eclipse.osgi/.manager/.fileTableLock (Permission denied

even if they use

eclipse -vmargs -Dosgi.locking=none

How do I get this program working for ordinary users?

Also I see that logs are created in ../eclipse/configuration. It is inconvenient to clear out these files. Can the logs be sent to the user's home directory or to /var/log/eclipse instead?
Re: Locking is not possible in the directory [message #1053320 is a reply to message #1029520] Fri, 03 May 2013 16:59 Go to previous message
Daniel Jongeling is currently offline Daniel Jongeling
Messages: 1
Registered: May 2013
Junior Member
I ran into this problem trying to connect with a network drive. I have succesfully solved this on this environment by adding a line at the end of the config.ini file.


osgi.locking=none

After that I was able to set up a workspace on the network drive. Hope that helps.

Daniel
Previous Topic:Help needed to extend the properties view of papyrus model
Next Topic:Unable to export Juno (4.2) Product
Goto Forum:
  


Current Time: Fri Aug 01 04:06:03 EDT 2014

Powered by FUDForum. Page generated in 0.01386 seconds