Do you need to be using Slide 1? There's a larger community for Slide 2.x, so it will be easier to get help if you can upgrade.
If you can't upgrade, hopefully there's someone around here who's familiar with Slide 1 :). -James On Fri, 2005-01-14 at 09:30 +0100, Carl Seleborg wrote: > Hello, people! > > After having worked on it for a whole day, I now have to ask someone > from the list. I'm very new to Tomcat and Slide, so pardon my > potentially silly questions. The message is long, because I tried to > include as much detail as I could, version information is included at > the end. Here goes. > > I want to disable the HTML listing of my jakarta-slide server when you > connect to the server with a web browser. I looked at the web.xml files > and I found the option named "directory-browsing" which seems to be what > I'm looking for. Am I right so far? I suppose I am. Now here is the > trick. I checked my logs and found this in "localhost_log.<today>.txt" : > > > 2005-01-12 15:40:09 SlideHost[localhost]: Installing web application at > context path from URL > file:/home/jakarta-slide-1.0.16/server/slide/slide-welcome.war > 2005-01-12 15:40:09 SlideHost[localhost]: Installing web application at > context path /slide from URL http://slideslide > > A few lines later, I have : > > 2005-01-12 15:40:11 WebappLoader[/slide]: Deploying class repositories > to work directory /home/jakarta-slide-1.0.16/server/work/localhost/slide > 2005-01-12 15:40:11 StandardManager[/slide]: Seeding random number > generator class java.security.SecureRandom > 2005-01-12 15:40:11 StandardManager[/slide]: Seeding of random number > generator has been completed > 2005-01-12 15:40:11 ContextConfig[/slide]: Missing application web.xml, > using defaults only > > And another few lines below, there is : > > 2005-01-12 15:40:11 Internal Error: File /WEB-INF/web.xml not found > > Apart from that, it all looks fine. > > So here's what I understand from it : > - Tomcat loads the slide-welcome.war servlet, but not from webapps/ > where it is supposed to load it (if I'm not mistaken). That's a first > mystery. > - Tomcat tries to load the slide.war servlet, not at all from webapps/ > but from "http://slideslide". This is puzzling. However, it seems > reasonable that there is not web.xml file in an archive that does not > exist, so given the first problem, I understand the two others. Grep > found no reference to "slideslide" whatsoever in any file, including the > decompressed .war files. That the second mystery. > > After a couple of hours, I figured : since I have several servers > running (one for admin, on for webdav, etc.), maybe I'm not looking at > the right server ? Right, so I found the webdav_log.<today>.txt file > that seemed intresting : > > 2005-01-12 15:40:18 WebdavHost[localhost8081]: Installing web > application at context path /slide from URL > file:/home/jakarta-slide-1.0.16/server/slide/slide-webdav.war > 2005-01-12 15:40:18 WebdavHost[localhost8081]: Installing web > application at context path from URL > file:/home/jakarta-slide-1.0.16/server/slide/slide-webdav.war > > This looks so much better, because I know that the webdav server is > actually running on port 8081. So I thought I had the sucker. I > decompressed the [...]/server/slide/slide-webdav.war archive, changed > the web.xml to set that "directory-browsing" option to "false", > recreated the .war archive and restarted the server... to no avail. The > browser is still happily displaying the listing. > > So what's wrong? Am I correct to think that the one I'm looking for is > that [...]/server/slide/slide-webdav.war archive? But then why is the > web.xml not taken into account? And why does Tomcat try to load > something from "http://slideslide"? If anyone can answer these > questions, please do so, because I checked the list archives and similar > questions went unanswered. If you need other log files or any other > information, I will provide them (I just don't quite know what to give you). > > Jakarta-slide v 1.0.16 > RedHat Linux release 7.2 (Enigma) > > > Carl > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
