On Mon, 25 Nov 2002, Joan M Carroll wrote:

> 2) you can create a logfile for xindice.  on linux, the xindice entry
> i added was:
>
>
>           <Context path="/Xindice" docBase="Xindice" debug="0"
>                          reloadable="false" crossContext="true">
>           <Logger className="org.apache.catalina.logger.FileLogger"
>                      prefix="localhost_xindice_log." suffix=".txt"
>                   timestamp="true"/>
>           </Context>
>

whoops.  i spoke too soon.  pls see vladimir's earlier msg:

"When you create a Xindice release, you'll notice a xindice-1.1b.xml
file in the dist directory: this file contains the context (with
the logger) that you can either copy into your server.xml file or
let Tomcat deal with it."

FYI - the log will be written as (in my case) "localhost_xindice_log.txt"

on linux, this file will be located in /var/tomcat4/logs/ (this is
actually a symlink to /var/adm/tomcat4/)

so you could just bring up a term window and type

% tail -f $CATALINA_HOME/logs/localhost_xindice_log.txt


to see when the app burps


***PLZ NOTE: if you are in the RPM jungle like me, you won't
actually have a $CATALINA_HOME env var - the Tomcat scripts
do the env setup work for you (except JAVA_HOME)
>
> you can add your Context right before the Tomcat Examples Context.
> (if you have probs, plz note that i self-unpack:-)
> don't know if this will work for you ...
>
> On 26 Nov 2002, Dominic Gamble wrote:
>
> > Is there any documenation anywhere which documents the settings in
> > server.xml?
> >
> > I'm having trouble with xindice returning empty ResourceSets after about
> > 40 minutes of intensive querying, and I am trying to see what I can
> > tweak to fix this.
> >
> > I'm guessing its running out of memory, and the garbage collector isn't
> > given a chance to run.
> >
> > Any help would be appreciated.
> >
> > Regards,
> > Dominic Gamble
> >
> >
> >
>

Reply via email to