Dashboard trace may show this error for com.liferay.portal.search.lucene.IndexWriterFactory - java.io.FileNotFoundException

  • 7013309
  • 17-Sep-2013
  • 17-Sep-2013

Environment

NetIQ Operations Center 5.0

Situation

If running the NOC Dashboard with PB6 on startup may see this error in the dashboard trace file:
2013-08-05 13:59:10,260 ERROR
com.liferay.portal.search.lucene.IndexWriterFactory -
java.io.FileNotFoundException:
/home/formula/NovellOperationsCenter/Dashboard/server/tools/lucene/1/_4txc1.fdt
(No such file or directory)
java.io.FileNotFoundException:
/home/formula/NovellOperationsCenter/Dashboard/server/tools/lucene/1/_4txc1.fdt
(No such file or directory)
    at java.io.RandomAccessFile.open(Native Method)
    at java.io.RandomAccessFile.<init>(RandomAccessFile.java:233)
    at
org.apache.lucene.store.FSDirectory$FSIndexInput$Descriptor.<init>(FSDirectory.java:506)
    at
org.apache.lucene.store.FSDirectory$FSIndexInput.<init>(FSDirectory.java:536)
    at org.apache.lucene.store.FSDirectory.openInput(FSDirectory.java:445)
    at org.apache.lucene.store.FSDirectory.openInput(FSDirectory.java:440)

Resolution

Stop the NOC Dashboard
Removing the Lucene directory did fix this issue. This is found here:
~NovellOperationsCenter-Install-Directory/Dashboard/server/tools/lucene
Start the NOC Dashboard

Cause

No functional impact with Dashboard but may see these errors as noted above.