Re: Lock Errors within JBoss Environment

2012-12-19 Thread Bowden Wise
Ian, I did see the warnings against using the NativeFSLockFactory on NFS. I know the the volume is mounted, but I am not sure it is NFS. If I run my indexing process outside of JBoss I do not see the lock errors, which made me think it was not using NFS. But I am not sure. If I don't use NativeFSL

Re: Lock Errors within JBoss Environment

2012-12-19 Thread Bowden Wise
Hi Andrew I am using Spring to define my Quartz job's and triggers. I use org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean to specify the targetobject and targetmethod of another java object that is executed when the tirgger occurs. Since we are using JBoss, the scheduler i

Re: Lock Errors within JBoss Environment

2012-12-18 Thread Andrew Hecox
$ mount ? -Ah On 12/18/2012 05:00 PM, Bowden Wise wrote: > How can one tell if they are using NFS or not? > > > > On Tue, Dec 18, 2012 at 3:26 PM, Ian Lea wrote: > >> Is the index on NFS? There are words in the javadocs warning against >> using NativeFSLockFactory on NFS. >> >> >> -- >> I

Re: Lock Errors within JBoss Environment

2012-12-18 Thread Bowden Wise
How can one tell if they are using NFS or not? On Tue, Dec 18, 2012 at 3:26 PM, Ian Lea wrote: > Is the index on NFS? There are words in the javadocs warning against > using NativeFSLockFactory on NFS. > > > -- > Ian. > > > On Tue, Dec 18, 2012 at 8:02 PM, Bowden Wise wrote: > > Hi Andrew: >

Re: Lock Errors within JBoss Environment

2012-12-18 Thread Ian Lea
Is the index on NFS? There are words in the javadocs warning against using NativeFSLockFactory on NFS. -- Ian. On Tue, Dec 18, 2012 at 8:02 PM, Bowden Wise wrote: > Hi Andrew: > > Thanks for the reply; I am glad to here our approach is also being used out > there. > > In our case, there is al

Re: Lock Errors within JBoss Environment

2012-12-18 Thread Bowden Wise
Hi Andrew: Thanks for the reply; I am glad to here our approach is also being used out there. In our case, there is always only 1 writer. I have added debug output to my log and can see that the index writer is getting closed each time. And yet, I am still seeing the error. I am doing another tes

Re: Lock Errors within JBoss Environment

2012-12-18 Thread Andrew Hecox
On 12/18/2012 01:59 PM, Bowden Wise wrote: Hello, I have been getting the following lock error when attempting to open an index writer to add new documents to an index. org.apache.lucene.store.LockObtainFailedException Lock obtain timed out: NativeFSLock@/opt/shared/data/CTXTMNG/PAC_INDEX/lucen

Lock Errors within JBoss Environment

2012-12-18 Thread Bowden Wise
Hello, I have been getting the following lock error when attempting to open an index writer to add new documents to an index. org.apache.lucene.store.LockObtainFailedException Lock obtain timed out: NativeFSLock@/opt/shared/data/CTXTMNG/PAC_INDEX/lucene/aero/prod/index/write.lock Our ingest/ind