[opencms-dev] help

Klaus Peter Strasser kp.strasser at open.co.at
Mon Mar 1 15:26:02 CET 2004


----- Original Message -----
From: <opencms-dev-request at opencms.org>
To: <opencms-dev at opencms.org>
Sent: Monday, March 01, 2004 12:00 PM
Subject: opencms-dev digest, Vol 1 #907 - 3 msgs


> Send opencms-dev mailing list submissions to
> opencms-dev at opencms.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
> or, via email, send a message with subject or body 'help' to
> opencms-dev-request at opencms.org
>
> You can reach the person managing the list at
> opencms-dev-admin at opencms.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of opencms-dev digest..."
>
>
> Today's Topics:
>
>    1. Re: Lucene example search doesn't find anything (Steffen Valentin)
>    2. Get all words/content lucene indexed (Steffen Valentin)
>    3. Help on encoding and index.jsp.jsp (Maurizio Betti)
>
> --__--__--
>
> Message: 1
> From: "Steffen Valentin" <sva at archikart.de>
> To: <opencms-dev at opencms.org>
> Subject: Re: [opencms-dev] Lucene example search doesn't find anything
> Date: Mon, 1 Mar 2004 10:43:47 +0100
> Reply-To: opencms-dev at opencms.org
>
> In my /test/ directory are 35 files (*.jsp, *.html) and some  Pictures
> According to the logfile Lucene processed excactly 35 files!
>
> Steffen
>
>
> ----- Original Message -----
> From: "M Butcher" <mbutcher at grcomputing.net>
> To: <opencms-dev at opencms.org>
> Sent: Saturday, February 28, 2004 12:36 AM
> Subject: Re: [opencms-dev] Lucene example search doesn't find anything
>
>
> >
> > How many files are in your /test/ directory? What types of files are
> > they? How many files does the log file say are processed by Lucene?
> >
> > Matt
> >
> > Steffen Valentin wrote:
> > > Hello group!
> > >
> > > I've got major problems with searching in Opencms!
> > > I installed the lucene module and configured the system as described
in
> > > the readme.txt
> > > Then I launched indexing and the indexes are created!
> > > But now when I try to search with the example_search.jsp I allways get
> > >
> > >
> > >
> > >
> > >     Your search found no matches. Please try again.
> > >
> > >
> > > as result!
> > >
> > > What did I wrong or what could be a solution to my problem?
> > >
> > > Here is an exerpt of my registry.xml
> > >
> > >
> > > <UseWpPicturesFromVFS>false</UseWpPicturesFromVFS>
> > >
> > > <searchbylucene>on</searchbylucene>
> > >
> > > <history>
> > >
> > > <enabled>true</enabled>
> > >
> > > <weeks/>
> > >
> > > <deleteversions>false</deleteversions>
> > >
> > > </history>
> > >
> > > <tempfileproject>3</tempfileproject>
> > >
> > > <luceneSearch>
> > >
> > > <mergeFactor>100000</mergeFactor>
> > >
> > > <permCheck>true</permCheck>
> > >
> > > <indexDir>/opt/tomcat-4.1.29/webapps/opencms5/index/</indexDir>
> > >
> > > <analyzer>org.apache.lucene.analysis.de.GermanAnalyzer</analyzer>
> > >
> > > <subsearch>true</subsearch>
> > >
> > > <project>offline</project>
> > >
> > > <docFactories>
> > >
> > > <pageDocFactory enabled="true">
> > >
> > > <class>net.grcomputing.opencms.search.lucene.PageDocument</class>
> > >
> > > </pageDocFactory>
> > >
> > > <plainDocFactory enabled="true">
> > >
> > > <fileType name="plaintext">
> > >
> > > <extension>.txt</extension>
> > >
> > > <class>net.grcomputing.opencms.search.lucene.PlainDocument</class>
> > >
> > > </fileType>
> > >
> > > <fileType name="taggedtext">
> > >
> > > <extension>.html</extension>
> > >
> > > <extension>.htm</extension>
> > >
> > > <extension>.xml</extension>
> > >
> > > <!-- This will strip tags before processing -->
> > >
> > >
<class>net.grcomputing.opencms.search.lucene.TaggedPlainDocument</class>
> > >
> > > </fileType>
> > >
> > > </plainDocFactory>
> > >
> > > <jspDocFactory enabled="true">
> > >
> > > <class>net.grcomputing.opencms.search.lucene.JspDocument</class>
> > >
> > > </jspDocFactory>
> > >
> > > <xmlTemplateDocFactory enabled="false"/>
> > >
> > > </docFactories>
> > >
> > > <directories>
> > >
> > > <directory location="/test/">
> > >
> > > <section>Test</section>
> > >
> > > <subsearch>true</subsearch>
> > >
> > > </directory>
> > >
> > > </directories>
> > >
> > > </luceneSearch>
> > >
> > > </system>
> > >
> > >
> > >
> > > Thanks in advance! Steffen
> > >
> >
> > _______________________________________________
> > This mail is send to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the list, please
visit
> > http://mail.opencms.org/mailman/listinfo/opencms-dev
> >
> >
>
>
> --__--__--
>
> Message: 2
> From: "Steffen Valentin" <sva at archikart.de>
> To: <opencms-dev at opencms.org>
> Date: Mon, 1 Mar 2004 10:52:45 +0100
> Subject: [opencms-dev] Get all words/content lucene indexed
> Reply-To: opencms-dev at opencms.org
>
> This is a multi-part message in MIME format.
>
> ------=_NextPart_000_0050_01C3FF7B.54810DF0
> Content-Type: text/plain;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> Because lucene doesn't seem to work in my OpenCms for any reason I would =
> like to get all words or the complete content lucene has indexed!
> Is it possible to do so and if so how?
>
> Thanks in advance!
> Steffen
> ------=_NextPart_000_0050_01C3FF7B.54810DF0
> Content-Type: text/html;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META http-equiv=3DContent-Type content=3D"text/html; =
> charset=3Diso-8859-1">
> <META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR>
> <STYLE></STYLE>
> </HEAD>
> <BODY bgColor=3D#ffffff>
> <DIV><FONT face=3DArial size=3D2>Because lucene doesn't seem to work in =
> my OpenCms=20
> for any reason I would like to get all words or the complete content=20
> lucene has indexed!</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2>Is it possible to do =
> so and if so=20
> how?</FONT></DIV>
> <DIV> </DIV>
> <DIV><FONT face=3DArial size=3D2>Thanks in advance!</FONT></DIV>
> <DIV><FONT face=3DArial =
> size=3D2>Steffen</FONT> </DIV></BODY></HTML>
>
> ------=_NextPart_000_0050_01C3FF7B.54810DF0--
>
>
> --__--__--
>
> Message: 3
> Date: Mon, 01 Mar 2004 10:57:28 +0100
> To: opencms-dev at opencms.org
> From: Maurizio Betti <m.betti at arsweb.it>
> Subject: [opencms-dev] Help on encoding and index.jsp.jsp
> Reply-To: opencms-dev at opencms.org
>
> Hy all,
>
> 1. It's possible (and in which way) to setting the file.encoding NOT via
> -D... (tomcat) but from local (ie: opencms.properties or web.xml)? I met
> the known file.encoding problem, but it's impossible for me to modify the
> tomcat options (because I have an opencms installation on a host server).
>
> 2. Anybody can help me to understand this error when I try to launch
opencms?
> --------------------------------------------------------------------------
------------------------------------------
> javax.servlet.ServletException: Resource loader error in file '/index.jsp'
>
> Root cause:
> javax.servlet.ServletException: JspLauncher: Could not write to file
> 'index.jsp.jsp'
> java.io.FileNotFoundException:
> /home/mhd/www.victoriasrl.it/htdocs/WEB-INF/jsp/online/index.jsp.jsp (No
> such file or directory)
> at com.opencms.flex.CmsJspLoader.updateJsp(CmsJspLoader.java:935)
> at com.opencms.flex.CmsJspLoader.service(CmsJspLoader.java:968)
> at
>
com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFlexRequestDispat
cher.java:256)
> at com.opencms.flex.CmsJspLoader.load(CmsJspLoader.java:577)
> at com.opencms.flex.CmsJspLoader.initlaunch(CmsJspLoader.java:239)
> at com.opencms.core.OpenCms.showResource(OpenCms.java:961)
> at com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
> at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
> at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:256)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
> at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
> at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
> at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
> at
>
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:171)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
> at
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
> at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
> at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:466)
> at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:585)
> at java.lang.Thread.run(Thread.java:536)
>
> --------------- End of root cause.
>
> at com.opencms.flex.CmsJspLoader.service(CmsJspLoader.java:979)
> at
>
com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFlexRequestDispat
cher.java:256)
> at com.opencms.flex.CmsJspLoader.load(CmsJspLoader.java:577)
> at com.opencms.flex.CmsJspLoader.initlaunch(CmsJspLoader.java:239)
> at com.opencms.core.OpenCms.showResource(OpenCms.java:961)
> at com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
> at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
> at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:256)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
> at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
> at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
> at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
> at
>
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:171)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
> at
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
> at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
> at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:466)
> at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:585)
> at java.lang.Thread.run(Thread.java:536)
> ------------------------------------------------------------------------
>
> thanks for any help.
> Maurizio Betti
>
>
>
> --__--__--
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
>
> End of opencms-dev Digest




More information about the opencms-dev mailing list