[opencms-dev] error when publishing the files

J Arrazolo jarrazolo at gmail.com
Tue Sep 23 07:41:04 CEST 2008


Hi,

 

How do I add my own MySql tables to the opencms database?   Is there a
documented procedure for this?

 

 

 

  _____  

From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of ashok chittela
Sent: Monday, September 22, 2008 3:06 PM
To: opencms-dev at opencms.org
Subject: [opencms-dev] error when publishing the files

 

HI,
I got the below error in opencms.log when i am trying to publish the files
from workplace.

22 Sep 2008 12:13:42,237  INFO [rg.opencms.jsp.CmsJspLoginBean: 209]
Successful login of user "Admin": Request from IP 127.0.0.1 using uri
"/system/login/index.html".
22 Sep 2008 12:15:37,441 ERROR [pencms.search.CmsSearchManager:1664] Unable
to open index reader for path
C:\jboss-4.2.2.GA\server\default\deploy\opencms.war\WEB-INF\index\Online
project EN (VFS) on search index "Online project EN (VFS)".
java.io.FileNotFoundException: no segments* file found in
org.apache.lucene.store.FSDirectory at C:\jboss-4.2.2.GA\server\default\deploy\
opencms.war\WEB-INF\index\Online project EN (VFS): files:
    at
org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:
516)
    at org.apache.lucene.index.IndexReader.open(IndexReader.java:185)
    at org.apache.lucene.index.IndexReader.open(IndexReader.java:148)
    at
org.opencms.search.CmsSearchManager.updateIndex(CmsSearchManager.java:1662)
    at
org.opencms.search.CmsSearchManager.updateAllIndexes(CmsSearchManager.java:1
488)
    at
org.opencms.search.CmsSearchManager.cmsEvent(CmsSearchManager.java:375)
    at
org.opencms.main.CmsEventManager.fireEventHandler(CmsEventManager.java:203)
    at org.opencms.main.CmsEventManager.fireEvent(CmsEventManager.java:126)
    at org.opencms.main.OpenCms.fireCmsEvent(OpenCms.java:156)
    at
org.opencms.publish.CmsPublishEngine.publishJobFinished(CmsPublishEngine.jav
a:635)
    at org.opencms.publish.CmsPublishThread.run(CmsPublishThread.java:162)
22 Sep 2008 12:15:37,473 ERROR [pencms.search.CmsSearchManager:1490] Error
updating index "Online project EN (VFS)".
org.opencms.search.CmsIndexException: Unable to open index writer for path
C:\jboss-4.2.2.GA\server\default\deploy\opencms.war\WEB-INF\index\Online
project EN (VFS) on index "Online project EN (VFS)".
    at
org.opencms.search.CmsSearchIndex.getIndexWriter(CmsSearchIndex.java:496)
    at
org.opencms.search.CmsSearchManager.updateIndex(CmsSearchManager.java:1701)
    at
org.opencms.search.CmsSearchManager.updateAllIndexes(CmsSearchManager.java:1
488)
    at
org.opencms.search.CmsSearchManager.cmsEvent(CmsSearchManager.java:375)
    at
org.opencms.main.CmsEventManager.fireEventHandler(CmsEventManager.java:203)
    at org.opencms.main.CmsEventManager.fireEvent(CmsEventManager.java:126)
    at org.opencms.main.OpenCms.fireCmsEvent(OpenCms.java:156)
    at
org.opencms.publish.CmsPublishEngine.publishJobFinished(CmsPublishEngine.jav
a:635)
    at org.opencms.publish.CmsPublishThread.run(CmsPublishThread.java:162)
Caused by: java.io.FileNotFoundException: no segments* file found in
org.apache.lucene.store.FSDirectory at C:\jboss-4.2.2.GA\server\default\deploy\
opencms.war\WEB-INF\index\Online project EN (VFS): files:
    at
org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:
516)
    at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:243)
    at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:616)
    at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:360)
    at
org.opencms.search.CmsSearchIndex.getIndexWriter(CmsSearchIndex.java:484)
    ... 8 more
22 Sep 2008 12:15:37,473 ERROR [pencms.search.CmsSearchManager:1664] Unable
to open index reader for path
C:\jboss-4.2.2.GA\server\default\deploy\opencms.war\WEB-INF\index\Online
project DE (VFS) on search index "Online project DE (VFS)".
java.io.FileNotFoundException: no segments* file found in
org.apache.lucene.store.FSDirectory at C:\jboss-4.2.2.GA\server\default\deploy\
opencms.war\WEB-INF\index\Online project DE (VFS): files:
    at
org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:
516)
    at org.apache.lucene.index.IndexReader.open(IndexReader.java:185)
    at org.apache.lucene.index.IndexReader.open(IndexReader.java:148)
    at
org.opencms.search.CmsSearchManager.updateIndex(CmsSearchManager.java:1662)
    at
org.opencms.search.CmsSearchManager.updateAllIndexes(CmsSearchManager.java:1
488)
    at
org.opencms.search.CmsSearchManager.cmsEvent(CmsSearchManager.java:375)
    at
org.opencms.main.CmsEventManager.fireEventHandler(CmsEventManager.java:203)
    at org.opencms.main.CmsEventManager.fireEvent(CmsEventManager.java:126)
    at org.opencms.main.OpenCms.fireCmsEvent(OpenCms.java:156)
    at
org.opencms.publish.CmsPublishEngine.publishJobFinished(CmsPublishEngine.jav
a:635)
    at org.opencms.publish.CmsPublishThread.run(CmsPublishThread.java:162)
22 Sep 2008 12:15:37,488 ERROR [pencms.search.CmsSearchManager:1490] Error
updating index "Online project DE (VFS)".
org.opencms.search.CmsIndexException: Unable to open index writer for path
C:\jboss-4.2.2.GA\server\default\deploy\opencms.war\WEB-INF\index\Online
project DE (VFS) on index "Online project DE (VFS)".
    at
org.opencms.search.CmsSearchIndex.getIndexWriter(CmsSearchIndex.java:496)
    at
org.opencms.search.CmsSearchManager.updateIndex(CmsSearchManager.java:1701)
    at
org.opencms.search.CmsSearchManager.updateAllIndexes(CmsSearchManager.java:1
488)
    at
org.opencms.search.CmsSearchManager.cmsEvent(CmsSearchManager.java:375)
    at
org.opencms.main.CmsEventManager.fireEventHandler(CmsEventManager.java:203)
    at org.opencms.main.CmsEventManager.fireEvent(CmsEventManager.java:126)
    at org.opencms.main.OpenCms.fireCmsEvent(OpenCms.java:156)
    at
org.opencms.publish.CmsPublishEngine.publishJobFinished(CmsPublishEngine.jav
a:635)
    at org.opencms.publish.CmsPublishThread.run(CmsPublishThread.java:162)
Caused by: java.io.FileNotFoundException: no segments* file found in
org.apache.lucene.store.FSDirectory at C:\jboss-4.2.2.GA\server\default\deploy\
opencms.war\WEB-INF\index\Online project DE (VFS): files:
    at
org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:
516)
    at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:243)
    at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:616)
    at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:360)
    at
org.opencms.search.CmsSearchIndex.getIndexWriter(CmsSearchIndex.java:484)
    ... 8 more

If anybody have the resolution,let me know how to resolve this error.

Thanks,
Ashok Chittela

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20080923/875a29cb/attachment.htm>


More information about the opencms-dev mailing list