[opencms-dev] opecms-search.xml with no indexes

Achim Westermann a.westermann at alkacon.com
Fri Apr 27 13:14:59 CEST 2007


Hi Eric,

I assume you use OpenCms 6.2.2 or a smaller version. For the dev branch this works since OpenCms 6.5.4. It was a bug
(bugzilla entry 1198: Problem in search management when deleting all indexes). In older version the DTD describing
opencms-search.xml would look like:

<!ELEMENT indexes (index+)>

then we fixed this to:

<!ELEMENT indexes (index*)>

With a newver version this work. You could set up a dummy search index as long as you stick with the older version.


Kind Regards,
Achim.

-------------------
Achim Westermann

Alkacon Software GmbH  - The OpenCms Experts
http://www.alkacon.com - http://www.opencms.org


Eric Largacha Bendsen wrote:
> Hey 
>  
> I have removed all indexing from OpenCms through the admin window and restarted the server, but when restarted the server gave the following error and did not started:
>  
> SAXParseException error and......
>  
> 26 Apr 2007 11:57:12,551 ERROR [  org.opencms.main.OpenCmsCore: 299] Critical error during OpenCms initialization: Unable to read the OpenCms XML configuration.
> 26 Apr 2007 11:57:12,553 ERROR [g.opencms.main.OpenCmsListener:  91] org.opencms.main.CmsInitException: Critical error during OpenCms initialization: Unable to read the OpenCms XML configuration.
> 
>  
> I can see that that </indexes> is not allowed in opencms-search.xml, even if its OpenCms that writes it, but shouldnt at least OpenCms be prepared for this posibility? ;-)
>  
> And if all indexes are deleted you wont be able to create a new one through the interface, you will have to create it manually in the config file.
>  
> Thanks 
> 
> Eric
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> 
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list