Yes, if you want to change the location of the database, then you are correct. You need to unjar the .war file, and edit the system.xml. I can write to my ./db directory without a problem. It sounds to me like you have a permissions problem with your tomcat installation. but that's just a guess.
And, for #2, to do app specific logging, there is additional config required inside the AppManager. I have setup some of it, but as yet, I haven't found that logs contain useful information. I must have done something wrong tho because I don't see any Xindice specific logging going on. If using Jetty is easier, can someone add an installation howto on using it? dave -----Original Message----- From: Joan M Carroll [mailto:[EMAIL PROTECTED] Sent: Friday, December 27, 2002 11:38 AM To: [email protected] Subject: RE: configuring Tomcat for Xindice hi dave - can you correct me where i'm wrong: i thought that tomcat had to be coaxed to do 2 things properly: 1) establish desired Xindice dbroot 2) do app-specific logging NOTE: i also had a problem that tomcat wasn't automatically unpacking war for me (RPM version) ... ...just as well: for #1 - i found that i needed to unjar the war file (anyway) so that i could edit the system.xml. i have never been able to modify the Xindice db when it is located in "./db" (perhaps my webuser authority is weak ... i haven't checked ... i didn't want the db in the path of my next un-jarring either ... i know you mentioned you are using apache + tomcat ... are you able to execute xindice commands to modify the default './db'?) for #2 - i added a logger to tomcat's server.xml. ...then i found out that vladimir had a template for this already in CVS: pls see his mention of xindice-1.1b.xml file in http://marc.theaimsgroup.com/?l=xindice-dev&m=103826952515884&w=2 i'm using jetty now, but i'm curious to find out if life in the tomcat lane is much easier than i thought.. thanks! j On Fri, 27 Dec 2002, Dave Viner wrote: > try restarting your tomcat. there is a good chance that tomcat will just > "Do The Right Thing". > > dave > > -----Original Message----- > From: xindice [mailto:[EMAIL PROTECTED] > Sent: Friday, December 27, 2002 10:37 AM > To: xindice-users > Subject: configuring Tomcat for Xindice > > > Hi all, > first of all "HAPPY NEW YEAR" to all of you. > Then I have a problem in using xindice together with Tomcat. > I'm using Tomcat 4.1.12. > I tried to follow the instructions in the "Xindice Tomcat How-To" document > (http://xml.apache.org/xindice/community/howto/installation/tomcat.html) > and at the point 3.2 I read > Edit the Tomcat server.xml File ... > Unfortunately there is only a note that doesn't really help. I mean that I > don't know exactly how to insert the XINDICE_HOME/dist/xindice-1.1b.xml > entry into the CATALINA_HOME/conf/server.xml file. > > Does anybody can help meeeeeeeeeeeeeeeeeeeee? > > ************************* > I'll be very glad if you have any other s! uggestion about the marriage > between Tomcat and Xindice. > ************************* > > Thanks in advance > Francesco > ---- > Prendi GRATIS l'email universale che... risparmia: clicca qui > > Sponsor: > Cerchi un regalo utile ed originale? Regala Email.it PRO15 o Pro50, la > casella di posta professionale. > Clicca qui > >
