Fórum

Webcontent search fails. Lucene error. Liferay6.2

thumbnail
Gabriel Bustos Padilla, modificado 8 Anos atrás.

Webcontent search fails. Lucene error. Liferay6.2

Junior Member Postagens: 63 Data de Entrada: 06/03/13 Postagens Recentes
Hi! I have a big problem with Lucene search engine. The portal fails in this cases:
1)when I try to add a web content from the portal, the tab of contents appears void.
2) When I try tio search web content with the portlet of web content search, does not return any result.
3) the same thing happens when I search web content in the control panel.

I have this trace to try to help to understand the problem:


17:04:35,585 INFO [Incoming-1,LIFERAY-CONTROL-CHANNEL,portalprod03-39605][ClusterRequestReceiver:280] Unable to find response container for aa405e6e-e872-41e8-9250-80f0134397c3
17:04:35,688 WARN [liferay/search_writer/SYSTEM_ENGINE-404][ProxyMessageListener:81] org.apache.lucene.util.ThreadInterruptedException: java.lang.InterruptedException
org.apache.lucene.util.ThreadInterruptedException: java.lang.InterruptedException
at org.apache.lucene.index.IndexWriter$FlushControl.waitUpdate(IndexWriter.java:4916)
at org.apache.lucene.index.IndexWriter$FlushControl.waitUpdate(IndexWriter.java:4908)
at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:751)
at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:2327)
at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:2299)
at com.liferay.portal.search.lucene.IndexAccessorImpl._write(IndexAccessorImpl.java:472)
at com.liferay.portal.search.lucene.IndexAccessorImpl.updateDocument(IndexAccessorImpl.java:241)
at com.liferay.portal.search.lucene.SynchronizedIndexAccessorImpl.updateDocument(SynchronizedIndexAccessorImpl.java:152)
at com.liferay.portal.search.lucene.LuceneHelperImpl.updateDocument(LuceneHelperImpl.java:737)
at com.liferay.portal.search.lucene.LuceneHelperUtil.updateDocument(LuceneHelperUtil.java:406)
at com.liferay.portal.search.lucene.LuceneIndexWriter.updateDocument(LuceneIndexWriter.java:118)
at com.liferay.portal.search.lucene.LuceneIndexWriter.updateDocuments(LuceneIndexWriter.java:138)
at sun.reflect.GeneratedMethodAccessor1941.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.liferay.portal.kernel.messaging.proxy.ProxyRequest.execute(ProxyRequest.java:85)
at com.liferay.portal.kernel.messaging.proxy.ProxyMessageListener.receive(ProxyMessageListener.java:51)
at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:72)
at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:69)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:682)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:593)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:485)
at org.apache.lucene.index.IndexWriter$FlushControl.waitUpdate(IndexWriter.java:4914)
... 21 more
17:04:36,213 WARN [liferay/search_writer/SYSTEM_ENGINE-403][ProxyMessageListener:81] org.apache.lucene.store.AlreadyClosedException: this IndexWriter is closed
org.apache.lucene.store.AlreadyClosedException: this IndexWriter is closed
at org.apache.lucene.index.IndexWriter.ensureOpen(IndexWriter.java:776)
at org.apache.lucene.index.IndexWriter.ensureOpen(IndexWriter.java:781)
at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:2298)
at com.liferay.portal.search.lucene.IndexAccessorImpl._write(IndexAccessorImpl.java:472)
at com.liferay.portal.search.lucene.IndexAccessorImpl.updateDocument(IndexAccessorImpl.java:241)
at com.liferay.portal.search.lucene.SynchronizedIndexAccessorImpl.updateDocument(SynchronizedIndexAccessorImpl.java:152)
at com.liferay.portal.search.lucene.LuceneHelperImpl.updateDocument(LuceneHelperImpl.java:737)
at com.liferay.portal.search.lucene.LuceneHelperUtil.updateDocument(LuceneHelperUtil.java:406)
at com.liferay.portal.search.lucene.LuceneIndexWriter.updateDocument(LuceneIndexWriter.java:118)
at com.liferay.portal.search.lucene.LuceneIndexWriter.updateDocuments(LuceneIndexWriter.java:138)
at sun.reflect.GeneratedMethodAccessor1941.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.liferay.portal.kernel.messaging.proxy.ProxyRequest.execute(ProxyRequest.java:85)
at com.liferay.portal.kernel.messaging.proxy.ProxyMessageListener.receive(ProxyMessageListener.java:51)
at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:72)
at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:69)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:682)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:593)
at java.lang.Thread.run(Thread.java:662)
17:04:36,228 WARN [liferay/search_writer/SYSTEM_ENGINE-72][ProxyMessageListener:81] com.liferay.portal.kernel.search.SearchException: org.apache.lucene.store.AlreadyClosedException: this IndexWriter is closed
com.liferay.portal.kernel.search.SearchException: org.apache.lucene.store.AlreadyClosedException: this IndexWriter is closed
at com.liferay.portal.kernel.search.BaseSpellCheckIndexWriter.indexSpellCheckerDictionaries(BaseSpellCheckIndexWriter.java:141)
at com.liferay.portal.kernel.search.BaseIndexWriter.indexSpellCheckerDictionaries(BaseIndexWriter.java:117)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.liferay.portal.kernel.messaging.proxy.ProxyRequest.execute(ProxyRequest.java:85)
at com.liferay.portal.kernel.messaging.proxy.ProxyMessageListener.receive(ProxyMessageListener.java:51)
at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:72)
at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:69)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:682)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:593)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.lucene.store.AlreadyClosedException: this IndexWriter is closed
at org.apache.lucene.index.IndexWriter.ensureOpen(IndexWriter.java:776)
at org.apache.lucene.index.IndexWriter.ensureOpen(IndexWriter.java:781)
at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:2061)
at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:2040)
at com.liferay.portal.search.lucene.IndexAccessorImpl.addDocuments(IndexAccessorImpl.java:98)
at com.liferay.portal.search.lucene.SynchronizedIndexAccessorImpl.addDocuments(SynchronizedIndexAccessorImpl.java:63)
at com.liferay.portal.search.lucene.LuceneSpellCheckIndexWriter.indexKeywords(LuceneSpellCheckIndexWriter.java:283)
at com.liferay.portal.kernel.search.BaseSpellCheckIndexWriter.indexKeywords(BaseSpellCheckIndexWriter.java:280)
at com.liferay.portal.kernel.search.BaseSpellCheckIndexWriter.indexKeywords(BaseSpellCheckIndexWriter.java:303)
at com.liferay.portal.kernel.search.BaseSpellCheckIndexWriter.indexSpellCheckerDictionaries(BaseSpellCheckIndexWriter.java:133)
... 12 more
thumbnail
David H Nebinger, modificado 8 Anos atrás.

RE: Webcontent search fails. Lucene error. Liferay6.2

Liferay Legend Postagens: 14919 Data de Entrada: 02/09/06 Postagens Recentes
Have you tried rebuilding the search indexes?
thumbnail
Gabriel Bustos Padilla, modificado 8 Anos atrás.

RE: Webcontent search fails. Lucene error. Liferay6.2

Junior Member Postagens: 63 Data de Entrada: 06/03/13 Postagens Recentes
yes! I tried it, but this it is not the problem
thumbnail
Juan Gonzalez, modificado 8 Anos atrás.

RE: Webcontent search fails. Lucene error. Liferay6.2

Liferay Legend Postagens: 3089 Data de Entrada: 28/10/08 Postagens Recentes
Another guess, are you sure there isn't any other Java process (Liferay) running?
thumbnail
Gabriel Bustos Padilla, modificado 8 Anos atrás.

RE: Webcontent search fails. Lucene error. Liferay6.2

Junior Member Postagens: 63 Data de Entrada: 06/03/13 Postagens Recentes
It was a problem of the production server that was balanced incorrectly. Shutdown one of the servers and copied it solved the problem. Thanks for yours answers