Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » : java.io.IOException: An error occurred while locking file
: java.io.IOException: An error occurred while locking file [message #274637] Wed, 27 October 2004 04:48 Go to next message
Eclipse UserFriend
Hi,
I am running eclipse in HP-UX envrionment. I get the following error while
i call ./eclipse -vmargs -XdoCloseWithReadPending :
"Caused by: java.io.IOException: An error occurred while locking file
"/home/roopam/eclipse/eclipse/configuration/org.eclipse.core
runtime/.manager/.fileTableLock": "Invalid argument". A probably reason
is that the file system or Runtime Environment does not
support file locking. You may want to choose a different location, or
disable file locking (using the osgi.locking property), but
this can cause data corruption."

Snippet of the log file is as below:


!SESSION Oct 27, 2004 14:17:36.442
---------------------------------------------
eclipse.buildId=M200409161125
java.version=1.4.1.00
java.vendor=Hewlett-Packard Co.
BootLoader constants: OS=hpux, ARCH=PA_RISC, WS=motif, NL=en

!ENTRY
initial@reference :file:/home/roopam/eclipse/eclipse/plugins/org.eclipse.core. runtime_3.0.1/
0 0 Oct 27, 2004 14:17:36.491
!MESSAGE FrameworkEvent.ERROR
!STACK 0
org.osgi.framework.BundleException: Exception in
org.eclipse.core.internal.runtime.PlatformActivator.start() of bundle
org.eclips
e.core.runtime.
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:975)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:937)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:421)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:366)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:999)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:577)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:488)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:273)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:444)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:186)
at
org.eclipse.osgi.framework.eventmgr.EventThread.run(EventThr ead.java:104)
Caused by: java.io.IOException: An error occurred while locking file
"/home/roopam/eclipse/eclipse/configuration/org.eclipse.core
runtime/.manager/.fileTableLock": "Invalid argument". A probably reason
is that the file system or Runtime Environment does not
support file locking. You may want to choose a different location, or
disable file locking (using the osgi.locking property), but
this can cause data corruption.
at
org.eclipse.core.runtime.adaptor.Locker_JavaNio.lock(Locker_ JavaNio.java:42)
at
org.eclipse.osgi.service.datalocation.FileManager.lock(FileM anager.java:219)
at
org.eclipse.osgi.service.datalocation.FileManager.open(FileM anager.java:423)
at
org.eclipse.core.internal.runtime.InternalPlatform.initializ eRuntimeFileManager(InternalPlatform.java:391)
at
org.eclipse.core.internal.runtime.InternalPlatform.start(Int ernalPlatform.java:38

Can anyone tell how to overcome with the error?

Thanks,
Rgds,
Roopa
Re: : java.io.IOException: An error occurred while locking file [message #274673 is a reply to message #274637] Wed, 27 October 2004 10:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: chaves.nospam.inf.ufsc.br.please

See:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=44735#c37

Roopa wrote:

> Hi,
> I am running eclipse in HP-UX envrionment. I get the following error while
> i call ./eclipse -vmargs -XdoCloseWithReadPending :
> "Caused by: java.io.IOException: An error occurred while locking file
> "/home/roopam/eclipse/eclipse/configuration/org.eclipse.core
> runtime/.manager/.fileTableLock": "Invalid argument". A probably reason
> is that the file system or Runtime Environment does not
> support file locking. You may want to choose a different location, or
> disable file locking (using the osgi.locking property), but
> this can cause data corruption."

> Snippet of the log file is as below:


> !SESSION Oct 27, 2004 14:17:36.442
> ---------------------------------------------
> eclipse.buildId=M200409161125
> java.version=1.4.1.00
> java.vendor=Hewlett-Packard Co.
> BootLoader constants: OS=hpux, ARCH=PA_RISC, WS=motif, NL=en

> !ENTRY
>
initial@reference :file:/home/roopam/eclipse/eclipse/plugins/org.eclipse.core. runtime_3.0.1/
> 0 0 Oct 27, 2004 14:17:36.491
> !MESSAGE FrameworkEvent.ERROR
> !STACK 0
> org.osgi.framework.BundleException: Exception in
> org.eclipse.core.internal.runtime.PlatformActivator.start() of bundle
> org.eclips
> e.core.runtime.
> at
>
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:975)
> at
>
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:937)
> at
>
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:421)
> at
>
org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:366)
> at
>
org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:999)
> at
>
org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:577)
> at
>
org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:488)
> at
>
org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:273)
> at
>
org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:444)
> at
>
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:186)
> at
> org.eclipse.osgi.framework.eventmgr.EventThread.run(EventThr ead.java:104)
> Caused by: java.io.IOException: An error occurred while locking file
> "/home/roopam/eclipse/eclipse/configuration/org.eclipse.core
> runtime/.manager/.fileTableLock": "Invalid argument". A probably reason
> is that the file system or Runtime Environment does not
> support file locking. You may want to choose a different location, or
> disable file locking (using the osgi.locking property), but
> this can cause data corruption.
> at
> org.eclipse.core.runtime.adaptor.Locker_JavaNio.lock(Locker_ JavaNio.java:42)
> at
> org.eclipse.osgi.service.datalocation.FileManager.lock(FileM anager.java:219)
> at
> org.eclipse.osgi.service.datalocation.FileManager.open(FileM anager.java:423)
> at
>
org.eclipse.core.internal.runtime.InternalPlatform.initializ eRuntimeFileManager(InternalPlatform.java:391)
> at
>
org.eclipse.core.internal.runtime.InternalPlatform.start(Int ernalPlatform.java:38

> Can anyone tell how to overcome with the error?

> Thanks,
> Rgds,
> Roopa
Re: : java.io.IOException: An error occurred while locking file [message #274978 is a reply to message #274673] Tue, 02 November 2004 04:31 Go to previous message
Eclipse UserFriend
The error persists inspite of running with the following option
/eclipse –vmargs -Dorg.eclipse.core.runtime.ignoreLockFile
-XdoCloseWithReadPending

Any other way to overcome this and get started on the HP-UX ?
Thanks,
Rgds,
Roopa


Rafael Chaves wrote:

> See:

> https://bugs.eclipse.org/bugs/show_bug.cgi?id=44735#c37

> Roopa wrote:

> > Hi,
> > I am running eclipse in HP-UX envrionment. I get the following error while
> > i call ./eclipse -vmargs -XdoCloseWithReadPending :
> > "Caused by: java.io.IOException: An error occurred while locking file
> > "/home/roopam/eclipse/eclipse/configuration/org.eclipse.core
> > runtime/.manager/.fileTableLock": "Invalid argument". A probably reason
> > is that the file system or Runtime Environment does not
> > support file locking. You may want to choose a different location, or
> > disable file locking (using the osgi.locking property), but
> > this can cause data corruption."

> > Snippet of the log file is as below:


> > !SESSION Oct 27, 2004 14:17:36.442
> > ---------------------------------------------
> > eclipse.buildId=M200409161125
> > java.version=1.4.1.00
> > java.vendor=Hewlett-Packard Co.
> > BootLoader constants: OS=hpux, ARCH=PA_RISC, WS=motif, NL=en

> > !ENTRY
> >
>
initial@reference :file:/home/roopam/eclipse/eclipse/plugins/org.eclipse.core. runtime_3.0.1/
> > 0 0 Oct 27, 2004 14:17:36.491
> > !MESSAGE FrameworkEvent.ERROR
> > !STACK 0
> > org.osgi.framework.BundleException: Exception in
> > org.eclipse.core.internal.runtime.PlatformActivator.start() of bundle
> > org.eclips
> > e.core.runtime.
> > at
> >
>
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:975)
> > at
> >
>
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:937)
> > at
> >
>
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:421)
> > at
> >
>
org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:366)
> > at
> >
>
org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:999)
> > at
> >
>
org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:577)
> > at
> >
>
org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:488)
> > at
> >
>
org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:273)
> > at
> >
>
org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:444)
> > at
> >
>
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:186)
> > at
> > org.eclipse.osgi.framework.eventmgr.EventThread.run(EventThr ead.java:104)
> > Caused by: java.io.IOException: An error occurred while locking file
> > "/home/roopam/eclipse/eclipse/configuration/org.eclipse.core
> > runtime/.manager/.fileTableLock": "Invalid argument". A probably reason
> > is that the file system or Runtime Environment does not
> > support file locking. You may want to choose a different location, or
> > disable file locking (using the osgi.locking property), but
> > this can cause data corruption.
> > at
> >
org.eclipse.core.runtime.adaptor.Locker_JavaNio.lock(Locker_ JavaNio.java:42)
> > at
> >
org.eclipse.osgi.service.datalocation.FileManager.lock(FileM anager.java:219)
> > at
> >
org.eclipse.osgi.service.datalocation.FileManager.open(FileM anager.java:423)
> > at
> >
>
org.eclipse.core.internal.runtime.InternalPlatform.initializ eRuntimeFileManager(InternalPlatform.java:391)
> > at
> >
>
org.eclipse.core.internal.runtime.InternalPlatform.start(Int ernalPlatform.java:38

> > Can anyone tell how to overcome with the error?

> > Thanks,
> > Rgds,
> > Roopa
Previous Topic:IncrementalProjectBuilder and IWorkspaceRunnable
Next Topic:Dynamic Menubar
Goto Forum:
  


Current Time: Thu Jun 19 13:14:33 EDT 2025

Powered by FUDForum. Page generated in 0.06085 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top