Problem with a war file
843840Aug 29 2002 — edited Oct 8 2002Hi
I created a war file that includes 4 classes. I put all the classes under the directory WEB-INF/classes. I also created the xml file web.xml and put it under the directory WEB-INF.
When I restarts the server I get the a message telling me that the file web.xml doesn't exist although it exists:
2002-07-24 16:04:22 invoker: init
2002-07-24 16:04:22 jsp: init
2002-07-24 16:04:22 StandardHost[localhost]: Installing web application at
context path /MainClass from URL
file:/var/tomcat4/webapps/MainClass
2002-07-24 16:04:22 WebappLoader[MainClass]: Deploying class repositories
to work directory /var/tomcat4/work/localhost/MainClass
2002-07-24 16:04:22 StandardManager[MainClass]: Seeding random number
generator class java.security.SecureRandom
2002-07-24 16:04:22 StandardManager[MainClass]: Seeding of random number
generator has been completed
2002-07-24 16:04:22 ContextConfig[MainClass]: Missing application web.xml,
using defaults only
2002-07-24 16:04:22 StandardWrapper[MainClass:default]: Loading container
servlet default
2002-07-24 16:04:22 default: init
2002-07-24 16:04:22 StandardWrapper[MainClass:invoker]: Loading container servlet invoker
2002-07-24 16:04:22 invoker: init
2002-07-24 16:04:22 jsp: init
2002-07-24 16:04:22 Internal Error: File /WEB-INF/web.xml not found
What can be the problem?
Thnx