At 14:24 -0700 21-05-2004, Emile wrote:
Hi all

I'm tring to install mmbase on a Linux box with Tomcat running through
apache - so in other words, not the traditional tomcat standalone model -
the web root is the same root as tomcat, classes are located in WEB-INF,
which is off the webroot (ie. public_html folder).

This is rather strange. As far as i know a directory WEB-INF always has be in the root of every webapp.


In the logs, I'm getting the following:
May 21, 2004 9:10:42 AM org.apache.jasper.compiler.TldLocationsCache
processWebDotXml
WARNING: Internal Error: File /WEB-INF/web.xml not found

... which seems like a simple enough solution - change /WEB-INF/web.xml to
/public_html/WEB-INF/web.xml, but I can't find where /WEB-INF/web.xml is
defined and am confused as to why it would be specified anywhere in the
first place.

It seems to me that Tomcat is not configured correctly. Every webapp you try to run in Tomcat (or any other Java server application server) needs a directory WEB-INF with at least web.xml.
Did you try this set-up with Tomcat and Apache without MMBase? Were you able to connect to Tomcat through for example http://localhost:8080/ (if it's on your own machine) before creating the Apache connection?


Can someone help me locate this pathname.

Thanks in advance.

Regards
Emile

N.B. You can make the WEB-INF directory inaccessible in Apache with the following directive:


<Location "/WEB-INF/">
  Deny from all
</Location>

---Andr�
--

------------------------------------------------------------------>><<--
Andr� van Toly
http://www.toly.nl
06-27233562



Reply via email to