Forums

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

Combination View Flat View Tree View
Threads [ Previous | Next ]
Ranga Rao Bobbili
Liferay 6.0.5-reindex issue(org.apache.lucene.store.AlreadyClosedException)
September 10, 2012 12:33 PM
Answer

Ranga Rao Bobbili

Rank: Regular Member

Posts: 152

Join Date: July 20, 2007

Recent Posts

Hi Friends, iam facing severe issue with reindexing. Lucene is throwing below exception.

org.apache.lucene.store.AlreadyClosedException: this IndexWriter is closed
at org.apache.lucene.index.IndexWriter.ensureOpen(IndexWriter.java:789)
at org.apache.lucene.index.IndexWriter.ensureOpen(IndexWriter.java:794)
at org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:4110)
at org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:4096)
at com.liferay.portal.search.lucene.IndexAccessorImpl._doCommit(IndexAccessorImpl.java:255)
at com.liferay.portal.search.lucene.IndexAccessorImpl._commit(IndexAccessorImpl.ja|#]

[#|2012-09-07T16:22:06.410-0500|INFO|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=36;_ThreadName=Thread-1;|va:193)
at com.liferay.portal.search.lucene.IndexAccessorImpl._write(IndexAccessorImpl.java:520)
at com.liferay.portal.search.lucene.IndexAccessorImpl.updateDocument(IndexAccessorImpl.java:169)
at com.liferay.portal.search.lucene.LuceneHelperImpl.updateDocument(LuceneHelperImpl.java:246)
at com.liferay.portal.search.lucene.LuceneHelperUtil.updateDocument(LuceneHelperUtil.java:198)
at com.liferay.portal.search.lucene.LuceneIndexWriterImpl.updateDocument(LuceneIndexWriterImpl.java:103)
at com.liferay.portal.search.lucene.LuceneIndexWriterImpl.updateDocuments(LuceneIndexWriterImpl.java:120)
at com.liferay.portal.kernel.search.messaging.SearchWriterMessageListener.doReceive(SearchWriterMessageListener.java:91)
at com.liferay.portal.kernel.search.messaging.SearchWriterMessageListener.receive(SearchWriterMessageListener.java:33)
at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:63)
at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:61)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

My Environment:
Liferay Portal 6.0.5 CE
Glassfish 3.0.1
Oracle 10g

My Lucene Properties
index.read.only=false
index.on.startup=true
index.with.thread=true
lucene.store.type=file
lucene.file.extractor=com.liferay.portal.search.lucene.LuceneFileExtractor
lucene.analyzer=org.apache.lucene.analysis.standard.StandardAnalyzer
lucene.optimize.interval=10

Could you please let me know my mistakes.

Thanks in advance....................


Thanks & Regards,
Ranga Rao
Adaequare INC