Skip to main content



      Home
Home » Newcomers » Newcomers » File locking error on startup
File locking error on startup [message #29706] Mon, 28 February 2005 02:45 Go to next message
Eclipse UserFriend
Originally posted by: edward.born-digital.co.uk

When I try to start Eclipse 3.0.1 on my gentoo box using the Sun 1.4.2
JDK, it fails with a file locking error reported in the log file.

Caused by: java.io.IOException: An error occurred while locking file
" /home/edward/.eclipse/org.eclipse.platform_3.0.1/configurati on/org.eclipse.core.runtime/.manager/.fileTableLock ":
"Value too large for defined data type". 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.

The filesystem is ext3; and I can't see anything amiss with permissions
and ownership - in any case, Eclipse creates everything in the .eclipse
tree.

Any clues as to what this might be about and suggestions as to how to
fix it would be welcome.

I have tried both the binary version downloaded from the eclispe site
and the Gentoo ebuild (compiled from source), and the same error occurs.

More information from the error file:
!SESSION Feb 28, 2005 07:37:48.489
---------------------------------------------
eclipse.buildId=200409161125
java.version=1.4.2-gentoo
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Re: File locking error on startup [message #29767 is a reply to message #29706] Tue, 01 March 2005 10:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: edward.born-digital.co.uk

So can no one help me? or haven't I formulated my question well enough?
Or is it something blindingly obvious that I should have done?
Whatever it is, I'd really like an answer as I need to get on with some
work and I'm being rather frustratingly unproductive at the moment!

ejoftheweb wrote:
> When I try to start Eclipse 3.0.1 on my gentoo box using the Sun 1.4.2
> JDK, it fails with a file locking error reported in the log file.
>
> Caused by: java.io.IOException: An error occurred while locking file
> " /home/edward/.eclipse/org.eclipse.platform_3.0.1/configurati on/org.eclipse.core.runtime/.manager/.fileTableLock ":
> "Value too large for defined data type". 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.
>
> The filesystem is ext3; and I can't see anything amiss with permissions
> and ownership - in any case, Eclipse creates everything in the .eclipse
> tree.
>
> Any clues as to what this might be about and suggestions as to how to
> fix it would be welcome.
>
> I have tried both the binary version downloaded from the eclispe site
> and the Gentoo ebuild (compiled from source), and the same error occurs.
>
> More information from the error file:
> !SESSION Feb 28, 2005 07:37:48.489
> ---------------------------------------------
> eclipse.buildId=200409161125
> java.version=1.4.2-gentoo
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
>
>
Re: File locking error on startup [message #29809 is a reply to message #29767] Wed, 02 March 2005 10:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: first_dot_last.somanetworks.com

It is not your question that is in question. I am no Gentoo expert, but
I have to question the version of the JVM (Java run time) you are using.
Not sure if is the problem, but I do not know about the
"java.version=1.4.2-gentoo" JVM and if it supports the file locking
required. Sun has a JVM for Linux that does work. (I run it on Fedora 2)
If the RPM is an issue for gentoo, I am sure there are people out there
that could "unpack" it for you, my self included.

This is the only thing that I can see that my cause this problem. try
the Sun Linux JVM and see what happens. I currently run java version
"1.4.2_03" without problems.

ronw

ejoftheweb wrote:
> So can no one help me? or haven't I formulated my question well enough?
> Or is it something blindingly obvious that I should have done?
> Whatever it is, I'd really like an answer as I need to get on with some
> work and I'm being rather frustratingly unproductive at the moment!
>
> ejoftheweb wrote:
>
>> When I try to start Eclipse 3.0.1 on my gentoo box using the Sun 1.4.2
>> JDK, it fails with a file locking error reported in the log file.
>>
>> Caused by: java.io.IOException: An error occurred while locking file
>> " /home/edward/.eclipse/org.eclipse.platform_3.0.1/configurati on/org.eclipse.core.runtime/.manager/.fileTableLock ":
>> "Value too large for defined data type". 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.
>>
>> The filesystem is ext3; and I can't see anything amiss with
>> permissions and ownership - in any case, Eclipse creates everything in
>> the .eclipse tree.
>>
>> Any clues as to what this might be about and suggestions as to how to
>> fix it would be welcome.
>>
>> I have tried both the binary version downloaded from the eclispe site
>> and the Gentoo ebuild (compiled from source), and the same error occurs.
>>
>> More information from the error file:
>> !SESSION Feb 28, 2005 07:37:48.489
>> ---------------------------------------------
>> eclipse.buildId=200409161125
>> java.version=1.4.2-gentoo
>> java.vendor=Sun Microsystems Inc.
>> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
>>
>>
Re: File locking error on startup [message #29813 is a reply to message #29809] Wed, 02 March 2005 13:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: edward.born-digital.co.uk

Ron Winacott wrote:
> It is not your question that is in question. I am no Gentoo expert, but
> I have to question the version of the JVM (Java run time) you are using.
> Not sure if is the problem, but I do not know about the
> "java.version=1.4.2-gentoo" JVM and if it supports the file locking
> required. Sun has a JVM for Linux that does work. (I run it on Fedora 2)
> If the RPM is an issue for gentoo, I am sure there are people out there
> that could "unpack" it for you, my self included.
>
> This is the only thing that I can see that my cause this problem. try
> the Sun Linux JVM and see what happens. I currently run java version
> "1.4.2_03" without problems.

This is very strange. The JVM is a Sun JVM, 1.4.2_06 I think, but
compiled from sources downloaded as a tarball straight from Sun. It runs
other Java apps like jEdit fine.
I get the same problem using the Blackdown JVM - I could, I suppose,
also try the IBM JVM.
I have a feeling though that it is a gentoo-specific problem because
Eclipse runs fine under Mandrake, which is on the same system but a
separate partition, only sharing the /home directory between the two
systems. As such I'll redirect my queries on this to the Gentoo forums...

Thanks for your help.





>
> ronw
>
> ejoftheweb wrote:
>
>> So can no one help me? or haven't I formulated my question well enough?
>> Or is it something blindingly obvious that I should have done?
>> Whatever it is, I'd really like an answer as I need to get on with
>> some work and I'm being rather frustratingly unproductive at the moment!
>>
>> ejoftheweb wrote:
>>
>>> When I try to start Eclipse 3.0.1 on my gentoo box using the Sun
>>> 1.4.2 JDK, it fails with a file locking error reported in the log file.
>>>
>>> Caused by: java.io.IOException: An error occurred while locking file
>>> " /home/edward/.eclipse/org.eclipse.platform_3.0.1/configurati on/org.eclipse.core.runtime/.manager/.fileTableLock ":
>>> "Value too large for defined data type". 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.
>>>
>>> The filesystem is ext3; and I can't see anything amiss with
>>> permissions and ownership - in any case, Eclipse creates everything
>>> in the .eclipse tree.
>>>
>>> Any clues as to what this might be about and suggestions as to how to
>>> fix it would be welcome.
>>>
>>> I have tried both the binary version downloaded from the eclispe site
>>> and the Gentoo ebuild (compiled from source), and the same error occurs.
>>>
>>> More information from the error file:
>>> !SESSION Feb 28, 2005 07:37:48.489
>>> ---------------------------------------------
>>> eclipse.buildId=200409161125
>>> java.version=1.4.2-gentoo
>>> java.vendor=Sun Microsystems Inc.
>>> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
>>>
>>>
Re: File locking error on startup [message #29852 is a reply to message #29813] Thu, 03 March 2005 14:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: german.salazar.siemens.com

Hi, I am a first time user of Eclipse and trying to get myself and
co-workers set up. Here is my situation.

PC installations work fine. Each of us have our own.

UNIX (Solaris) installation works fine for me; but if I asked a co-worker
to launch eclipse from my installation ( /home/myhome/programs/eclipse )
from his home ( /home/hishome ) then a log file is generated with the same
lock file error message as metioned earlier in this thread.

So, in this case, the problem does not have anything to do with OS or java
version, but with some kind of multi-user (read/write?) issue. I would
like to have a single installation but have my co-workers and I use
it...Does anybody know how this can be accomplished?



ejoftheweb wrote:

> Ron Winacott wrote:
>> It is not your question that is in question. I am no Gentoo expert, but
>> I have to question the version of the JVM (Java run time) you are using.
>> Not sure if is the problem, but I do not know about the
>> "java.version=1.4.2-gentoo" JVM and if it supports the file locking
>> required. Sun has a JVM for Linux that does work. (I run it on Fedora 2)
>> If the RPM is an issue for gentoo, I am sure there are people out there
>> that could "unpack" it for you, my self included.
>>
>> This is the only thing that I can see that my cause this problem. try
>> the Sun Linux JVM and see what happens. I currently run java version
>> "1.4.2_03" without problems.

> This is very strange. The JVM is a Sun JVM, 1.4.2_06 I think, but
> compiled from sources downloaded as a tarball straight from Sun. It runs
> other Java apps like jEdit fine.
> I get the same problem using the Blackdown JVM - I could, I suppose,
> also try the IBM JVM.
> I have a feeling though that it is a gentoo-specific problem because
> Eclipse runs fine under Mandrake, which is on the same system but a
> separate partition, only sharing the /home directory between the two
> systems. As such I'll redirect my queries on this to the Gentoo forums...

> Thanks for your help.





>>
>> ronw
>>
>> ejoftheweb wrote:
>>
>>> So can no one help me? or haven't I formulated my question well enough?
>>> Or is it something blindingly obvious that I should have done?
>>> Whatever it is, I'd really like an answer as I need to get on with
>>> some work and I'm being rather frustratingly unproductive at the moment!
>>>
>>> ejoftheweb wrote:
>>>
>>>> When I try to start Eclipse 3.0.1 on my gentoo box using the Sun
>>>> 1.4.2 JDK, it fails with a file locking error reported in the log file.
>>>>
>>>> Caused by: java.io.IOException: An error occurred while locking file
>>>>
" /home/edward/.eclipse/org.eclipse.platform_3.0.1/configurati on/org.eclipse.core.runtime/.manager/.fileTableLock ":
>>>> "Value too large for defined data type". 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.
>>>>
>>>> The filesystem is ext3; and I can't see anything amiss with
>>>> permissions and ownership - in any case, Eclipse creates everything
>>>> in the .eclipse tree.
>>>>
>>>> Any clues as to what this might be about and suggestions as to how to
>>>> fix it would be welcome.
>>>>
>>>> I have tried both the binary version downloaded from the eclispe site
>>>> and the Gentoo ebuild (compiled from source), and the same error occurs.
>>>>
>>>> More information from the error file:
>>>> !SESSION Feb 28, 2005 07:37:48.489
>>>> ---------------------------------------------
>>>> eclipse.buildId=200409161125
>>>> java.version=1.4.2-gentoo
>>>> java.vendor=Sun Microsystems Inc.
>>>> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
>>>>
>>>>
Re: File locking error on startup [message #29854 is a reply to message #29852] Thu, 03 March 2005 16:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: first_dot_last.somanetworks.com

Interesting find. It looks like the issue was a file/directory
permissions problem, not a jvm problem. But that said, the either of
this thread posted that he changed to the Sun binary JVM and it worked
fine for him after that. So, I am not sure if your findings are related
or not.

But to the other issue, sharing a single installed version of eclipse.
The short answer is, DON'T! You will live a happier life is you just
install it twice. And disk is cheap.. Well maybe not Sun disks :-)

But if you really want to do this, read through the other postings in
this group. you will find a posting about the -eclipsehome, command line
switch. Read through them, it will give you the information you are
looking for. The other thread was about running eclipse in a readonly
disk environment (I think)

Hope this help,
ronw.

German Salazar wrote:
> Hi, I am a first time user of Eclipse and trying to get myself and
> co-workers set up. Here is my situation.
>
> PC installations work fine. Each of us have our own.
>
> UNIX (Solaris) installation works fine for me; but if I asked a
> co-worker to launch eclipse from my installation (
> /home/myhome/programs/eclipse ) from his home ( /home/hishome ) then a
> log file is generated with the same lock file error message as metioned
> earlier in this thread.
>
> So, in this case, the problem does not have anything to do with OS or
> java version, but with some kind of multi-user (read/write?) issue. I
> would like to have a single installation but have my co-workers and I
> use it...Does anybody know how this can be accomplished?
>
>
>
> ejoftheweb wrote:
>
>> Ron Winacott wrote:
>>
>>> It is not your question that is in question. I am no Gentoo expert,
>>> but I have to question the version of the JVM (Java run time) you are
>>> using. Not sure if is the problem, but I do not know about the
>>> "java.version=1.4.2-gentoo" JVM and if it supports the file locking
>>> required. Sun has a JVM for Linux that does work. (I run it on Fedora
>>> 2) If the RPM is an issue for gentoo, I am sure there are people out
>>> there that could "unpack" it for you, my self included.
>>>
>>> This is the only thing that I can see that my cause this problem. try
>>> the Sun Linux JVM and see what happens. I currently run java version
>>> "1.4.2_03" without problems.
>
>
>> This is very strange. The JVM is a Sun JVM, 1.4.2_06 I think, but
>> compiled from sources downloaded as a tarball straight from Sun. It
>> runs other Java apps like jEdit fine.
>> I get the same problem using the Blackdown JVM - I could, I suppose,
>> also try the IBM JVM.
>> I have a feeling though that it is a gentoo-specific problem because
>> Eclipse runs fine under Mandrake, which is on the same system but a
>> separate partition, only sharing the /home directory between the two
>> systems. As such I'll redirect my queries on this to the Gentoo forums...
>
>
>> Thanks for your help.
>
>
>
>
>
>
>>>
>>> ronw
>>>
>>> ejoftheweb wrote:
>>>
>>>> So can no one help me? or haven't I formulated my question well enough?
>>>> Or is it something blindingly obvious that I should have done?
>>>> Whatever it is, I'd really like an answer as I need to get on with
>>>> some work and I'm being rather frustratingly unproductive at the
>>>> moment!
>>>>
>>>> ejoftheweb wrote:
>>>>
>>>>> When I try to start Eclipse 3.0.1 on my gentoo box using the Sun
>>>>> 1.4.2 JDK, it fails with a file locking error reported in the log
>>>>> file.
>>>>>
>>>>> Caused by: java.io.IOException: An error occurred while locking file
>
> " /home/edward/.eclipse/org.eclipse.platform_3.0.1/configurati on/org.eclipse.core.runtime/.manager/.fileTableLock ":
>
>
>>>>> "Value too large for defined data type". 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.
>>>>>
>>>>> The filesystem is ext3; and I can't see anything amiss with
>>>>> permissions and ownership - in any case, Eclipse creates everything
>>>>> in the .eclipse tree.
>>>>>
>>>>> Any clues as to what this might be about and suggestions as to how
>>>>> to fix it would be welcome.
>>>>>
>>>>> I have tried both the binary version downloaded from the eclispe
>>>>> site and the Gentoo ebuild (compiled from source), and the same
>>>>> error occurs.
>>>>>
>>>>> More information from the error file:
>>>>> !SESSION Feb 28, 2005 07:37:48.489
>>>>> ---------------------------------------------
>>>>> eclipse.buildId=200409161125
>>>>> java.version=1.4.2-gentoo
>>>>> java.vendor=Sun Microsystems Inc.
>>>>> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
>>>>>
>>>>>
>
>
Re: File locking error on startup [message #29856 is a reply to message #29854] Thu, 03 March 2005 16:44 Go to previous message
Eclipse UserFriend
Originally posted by: german.salazar.siemens.com

Well, I tried to include the command line arguments to the best of my
ability...the explanation on the on-line documentation is not the clearest.

eclipse -install /home/myhome/eclipse -data $HOME/ws -user $HOME/.eclipse

and still does not work...I am giving up for the day.

Ron Winacott wrote:

> Interesting find. It looks like the issue was a file/directory
> permissions problem, not a jvm problem. But that said, the either of
> this thread posted that he changed to the Sun binary JVM and it worked
> fine for him after that. So, I am not sure if your findings are related
> or not.

> But to the other issue, sharing a single installed version of eclipse.
> The short answer is, DON'T! You will live a happier life is you just
> install it twice. And disk is cheap.. Well maybe not Sun disks :-)

> But if you really want to do this, read through the other postings in
> this group. you will find a posting about the -eclipsehome, command line
> switch. Read through them, it will give you the information you are
> looking for. The other thread was about running eclipse in a readonly
> disk environment (I think)

> Hope this help,
> ronw.

> German Salazar wrote:
>> Hi, I am a first time user of Eclipse and trying to get myself and
>> co-workers set up. Here is my situation.
>>
>> PC installations work fine. Each of us have our own.
>>
>> UNIX (Solaris) installation works fine for me; but if I asked a
>> co-worker to launch eclipse from my installation (
>> /home/myhome/programs/eclipse ) from his home ( /home/hishome ) then a
>> log file is generated with the same lock file error message as metioned
>> earlier in this thread.
>>
>> So, in this case, the problem does not have anything to do with OS or
>> java version, but with some kind of multi-user (read/write?) issue. I
>> would like to have a single installation but have my co-workers and I
>> use it...Does anybody know how this can be accomplished?
>>
>>
>>
>> ejoftheweb wrote:
>>
>>> Ron Winacott wrote:
>>>
>>>> It is not your question that is in question. I am no Gentoo expert,
>>>> but I have to question the version of the JVM (Java run time) you are
>>>> using. Not sure if is the problem, but I do not know about the
>>>> "java.version=1.4.2-gentoo" JVM and if it supports the file locking
>>>> required. Sun has a JVM for Linux that does work. (I run it on Fedora
>>>> 2) If the RPM is an issue for gentoo, I am sure there are people out
>>>> there that could "unpack" it for you, my self included.
>>>>
>>>> This is the only thing that I can see that my cause this problem. try
>>>> the Sun Linux JVM and see what happens. I currently run java version
>>>> "1.4.2_03" without problems.
>>
>>
>>> This is very strange. The JVM is a Sun JVM, 1.4.2_06 I think, but
>>> compiled from sources downloaded as a tarball straight from Sun. It
>>> runs other Java apps like jEdit fine.
>>> I get the same problem using the Blackdown JVM - I could, I suppose,
>>> also try the IBM JVM.
>>> I have a feeling though that it is a gentoo-specific problem because
>>> Eclipse runs fine under Mandrake, which is on the same system but a
>>> separate partition, only sharing the /home directory between the two
>>> systems. As such I'll redirect my queries on this to the Gentoo forums...
>>
>>
>>> Thanks for your help.
>>
>>
>>
>>
>>
>>
>>>>
>>>> ronw
>>>>
>>>> ejoftheweb wrote:
>>>>
>>>>> So can no one help me? or haven't I formulated my question well enough?
>>>>> Or is it something blindingly obvious that I should have done?
>>>>> Whatever it is, I'd really like an answer as I need to get on with
>>>>> some work and I'm being rather frustratingly unproductive at the
>>>>> moment!
>>>>>
>>>>> ejoftheweb wrote:
>>>>>
>>>>>> When I try to start Eclipse 3.0.1 on my gentoo box using the Sun
>>>>>> 1.4.2 JDK, it fails with a file locking error reported in the log
>>>>>> file.
>>>>>>
>>>>>> Caused by: java.io.IOException: An error occurred while locking file
>>
>>
" /home/edward/.eclipse/org.eclipse.platform_3.0.1/configurati on/org.eclipse.core.runtime/.manager/.fileTableLock ":
>>
>>
>>>>>> "Value too large for defined data type". 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.
>>>>>>
>>>>>> The filesystem is ext3; and I can't see anything amiss with
>>>>>> permissions and ownership - in any case, Eclipse creates everything
>>>>>> in the .eclipse tree.
>>>>>>
>>>>>> Any clues as to what this might be about and suggestions as to how
>>>>>> to fix it would be welcome.
>>>>>>
>>>>>> I have tried both the binary version downloaded from the eclispe
>>>>>> site and the Gentoo ebuild (compiled from source), and the same
>>>>>> error occurs.
>>>>>>
>>>>>> More information from the error file:
>>>>>> !SESSION Feb 28, 2005 07:37:48.489
>>>>>> ---------------------------------------------
>>>>>> eclipse.buildId=200409161125
>>>>>> java.version=1.4.2-gentoo
>>>>>> java.vendor=Sun Microsystems Inc.
>>>>>> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
>>>>>>
>>>>>>
>>
>>
Previous Topic:javap and -noqualifier option
Next Topic:how to deliver a project?
Goto Forum:
  


Current Time: Wed Jun 25 11:21:25 EDT 2025

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

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

Back to the top