Forums

Home » Liferay Portal » English » 2. Using Liferay » General »

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Hojat Vaheb
Lock Obtain Failed Exception In Windows
June 14, 2008 2:47 AM
Answer

Hojat Vaheb

Rank: Junior Member

Posts: 29

Join Date: September 18, 2007

Recent Posts

I got this exception several times. Could anyone guide me to handle it?

Thank you in advance
Mariano Cifre
RE: Lock Obtain Failed Exception In Windows
June 14, 2008 1:21 PM
Answer

Mariano Cifre

Rank: Junior Member

Posts: 90

Join Date: May 27, 2008

Recent Posts

Hi Hojat,

I don't know if you are talking about a lucene exception I resolved it removing a file named "write.0" or "lock.0" I don't remember well.

It was located on C:\Documentas and settings\[your_user]\liferay\lucene

HTH,

Mariano.
Raju Uppalapati
RE: Lock Obtain Failed Exception In Windows
June 16, 2008 5:45 PM
Answer

Raju Uppalapati

Rank: Junior Member

Posts: 66

Join Date: October 24, 2007

Recent Posts

What version of Liferay are you using?
A fix for a similar bug was integrated into the Liferay trunk a few weeks ago. The errors were coming due to stale locks of Lucene.
The workaround suggested in the other response to this tread will also resolve the issue until it reoccurs :-)
Just delete that directory and restart your webcontainer.

_raju
Hojat Vaheb
RE: Lock Obtain Failed Exception In Windows
June 18, 2008 11:24 AM
Answer

Hojat Vaheb

Rank: Junior Member

Posts: 29

Join Date: September 18, 2007

Recent Posts

Dear Mariano
Thanks a lot for your guidance. It is helpful for me