[opencms-dev] No class set for DocumentFactory
ingreenheaven
agrawal.ashish at gmail.com
Tue Sep 21 15:15:22 CEST 2004
Hi Thomas!
my registry.xml file is the same one as u mailed...
Still I am not able to solve that issue..
Can someone suggest me something more ??
Thanx
Ashish A
On Tue, 21 Sep 2004 12:25:03 +0200, Thomas Kraft <thomas.kraft at synyx.de> wrote:
> > But I was getting this error when viewed in the log file:
> >
> > [21.09.2004 13:04:10] <opencms_cronscheduler> Error running job for
> > com.opencms.core.CmsCronEntry{4 13 * * * Admin Administrators
> > net.grcomputing.opencms.search.lucene.CronIndexManager
> > createIndex=true} Error: com.opencms.core.CmsException: 0 Unknown
> > exception. Detailed error: Configuration error: No <class> set for
> > documentFactory..
>
> Have you set the correct DocumentFactories in your
>
> /webapps/opencms/WEB-INF/config/registry.xml ?
>
> Here is a snippet of my registry.xml
>
> --------8<--------8<--------8<--------8<--------8<--------
>
> <luceneSearch>
> <mergeFactor>100000</mergeFactor>
> <permCheck>true</permCheck>
> <analyzer>org.apache.lucene.analysis.standard.StandardAnalyzer</analyzer>
> <analyzer>org.apache.lucene.analysis.de.GermanAnalyzer</analyzer>
> <subsearch>true</subsearch>
> <project>online</project>
> <docFactories>
> <docFactory enabled="true" type="page">
> <class>net.grcomputing.opencms.search.lucene.PageDocument</class>
> </docFactory>
> <docFactory enabled="true" type="plain">
> <fileType name="plaintext">
> <extension>.txt</extension>
> <class>net.grcomputing.opencms.search.lucene.PlainDocument</class>
> </fileType>
> <fileType name="taggedtext">
> <extension>.html</extension>
> <extension>.htm</extension>
>
> <class>net.grcomputing.opencms.search.lucene.TaggedPlainDocument</class>
> </fileType>
> </docFactory>
> <docFactory enabled="true" type="binary">
> <fileType name="PDF">
> <extension>.pdf</extension>
> <class>net.grcomputing.opencms.search.lucene.PDFDocument</class>
> </fileType>
> </docFactory>
> </docFactories>
> <directories>
> <directory location="/">
> <section>Root</section>
> <subsearch>true</subsearch>
> </directory>
> </directories>
> <contentDefinitions>
> </contentDefinitions>
> </luceneSearch>
>
> --------8<--------8<--------8<--------8<--------8<--------
>
> Hope to help, Thomas
>
More information about the opencms-dev
mailing list