[opencms-dev] lucene integration problem
Carlos Lopez Molina
clopez at epsa.junta-andalucia.es
Tue Dec 3 08:53:31 CET 2002
Gustav:
That worked fine. Thanks a lot.
Carlos.
-----Mensaje original-----
De: owner-opencms-dev at www.opencms.org
[mailto:owner-opencms-dev at www.opencms.org]En nombre de Gustav Wurm
Enviado el: lunes, 02 de diciembre de 2002 20:12
Para: opencms-dev at www.opencms.org
Asunto: Re: [opencms-dev] lucene integration problem
Hi Carlos,
you have to change file
......../modules/com.modules.search.lucene/templates/administration_head
<XMLTEMPLATE> to <WORKPLACE>
and vice versa
</XMLTEMPLATE> to </WORKPLACE>
the file should be like this:
<?xml version="1.0" encoding="utf-8"?>
<WORKPLACE>
<TEMPLATE>
<![CDATA[
<html>
<head><META HTTP-EQUIV="Content-Type" CONTENT="text/html;
charset=iso-8859-1">
<title>OpenCms</title>
<link rel=stylesheet type="text/css"
href="../../../workplace/css/format.css">
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript"
SRC="../../../workplace/templates/js/opencms.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
var pfad="]]><link>/pics/system/</link><![CDATA[";
</SCRIPT>
</head>
<body bgcolor="#E0E0E0"
background="]]><link>/pics/system/bg_grau.gif</link><![CDATA["
bgproperties=fixed>
<!--ksjfdlskjdf-->
<table cellspacing=0 cellpadding=0 border=0>
<tr valign=center>
<td class=menu valign=middle>
<A href="#" onmousedown="ChPush('bt_back')"
onmouseout="ChOff('bt_back')" onmouseover="ChOn('bt_back')"
onmouseup="ChOn('bt_back');parent.frames[1].location.href='../../../workplac
e/action/administration_content_top.html?sender=/system/workplace/administra
tion/'"><IMG alt="Zur?ck" width=32 border=0 name=bt_back
src="]]><link>/pics/system/bt_back_off.gif</link><![CDATA[" ></a></td>
</tr>
</table>
</body>
</html>
]]>
</TEMPLATE>
</WORKPLACE>
Have a nice evening
Gustav
------------------------------------------------------------------------
Mag. Gustav Wurm
www shuttle + internetservice gmbh, a-4040 linz ottensheimerstr. 55
tel: ++43/(0)732/714320 fax: ++43/(0)732/714320-30
email: gw at w3shuttle.com http://www.w3shuttle.com
----- Original Message -----
From: "Carlos Lopez Molina" <clopez at epsa.junta-andalucia.es>
To: <opencms-dev at www.opencms.org>
Sent: Monday, December 02, 2002 7:38 PM
Subject: [opencms-dev] lucene integration problem
> Hi all!
>
> My site is based on:
>
> - Opencms 4.6.1
> - lucene-1.2.jar (fresh download from jakarta site)
> - com.opencms.modules.search.form1_4
> - com.opencms.modules.search.lucene
>
> I end up with a new Create Index icon in administrator view. When I
select
> Create Index, I get a two frames window: the head frame gets an error, and
> the lower frame shows a panel with the number of html and pdf files to be
> indexed. If I press Ok, the files seem to get indexed, according to
opencms
> log.
>
> Here is a short excerpt from opencms.log, regarding with the head frame
> error:
>
> [02.12.2002 20:10:38] <opencms_info> [CmsDumpLauncher] IO error while
> writing to response stream for opencms_choosebrowser.js
> [02.12.2002 20:10:38] <opencms_info> [CmsDumpLauncher]
> java.net.SocketException: Socket closed
> [02.12.2002 20:12:36] <opencms_critical> [CmsXmlWpTemplateFile] XML
document
>
/system/modules/com.opencms.modules.search.lucene/templates/administration_h
> ead is not of the expected type. This document is "xmltemplate", but it
> should be "WORKPLACE" (OpenCms XML template file).
>
> Any help would be greatly appreciated.
> Best regards.
> Carlos Lopez Molina
> Empresa Publica del Suelo de Andalucia.
>
>
More information about the opencms-dev
mailing list