"> BUG #1
> ------
> Tomcat won't unpack the $CATALINA_HOME/webapp/*.war files for me.
> I have to do this myself.

works fine for me (i.e. automatically unpacks everything).  In the Admin
Tool,
you can set this preference under "Tomcat Server > Service > Host": set
"unpack
wars" to true."

For me, the value at Tomcat Server > Service > Host for unpack wars is set
to true.  but it just doesn't unpack them when i change the war file.

also set to true are auto-deploy, deploy xml, live deploy, unpack wars.

dave

-----Original Message-----
From: Vladimir R. Bossicard [mailto:[EMAIL PROTECTED]
Sent: Monday, November 25, 2002 4:12 PM
To: [EMAIL PROTECTED]
Subject: RE: about writing howtos


> My Env: RH Linux v8
>         JDK1.3.1_06
>         Tomcat v4.1.12 (RPM distro)
>         Cocoon v2.0.3 (binary)
>         Xindice CVS

I have the same configuration except that I've simply installed
tomcat-4.1.12.tar.gz on my system.

> BUG #1
> ------
> Tomcat won't unpack the $CATALINA_HOME/webapp/*.war files for me.
> I have to do this myself.

works fine for me (i.e. automatically unpacks everything).  In the Admin
Tool,
you can set this preference under "Tomcat Server > Service > Host": set
"unpack
wars" to true.

> BUG #2
> ------
> I never read any doc about the 'tomcat4' command, but my
> distro did *not* come with startup/shutdown scripts.  After
> nosing around, i found that 4.1.12 (RPM-only???) uses

this is rpm only.  I have those scripts in tomcat/bin

> QUESTION #1
> -----------
> i don't see instructions in our howto for editing
> $CATALINA_HOME/conf/server.xml file.  does win need to?

Well I'm not sure you absolutely need it but I will modify the documentation
to
force the user to do it.

The reason is that you have to configure your Xindice installation before
starting Tomcat.  If you start Tomcat without properly configuring Xindice,
your db will be created where you started Tomcat.  It's really dump but I
haven't had the time to fix that.

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.
Apparently
Tomcat is smart enough to load external xml config files and I try to make
it
work.  I haven't found the right way to do it so if someone can fix that and
provide a step-by-step instruction (for dumb users), it would be great.

-Vladimir

--
Vladimir R. Bossicard
Apache Xindice - http://xml.apache.org/xindice


Reply via email to