wood burning stoves*
The moose likes Tomcat and the fly likes Yet another Tomcat question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Yet another Tomcat question" Watch "Yet another Tomcat question" New topic
Author

Yet another Tomcat question

Jaime Lannister
Greenhorn

Joined: Mar 30, 2005
Posts: 18
Whenever I start up Tomcat I get an error message amongst many other lines
of startup stuff that says: "ContextConfig[]: Missing application web.xml, using defaults only". Trouble is I HAVE a web.xml file in the WEB-INF folder within the catalina_home tree at catalina_home/webapps/ROOT/WEB-INBF. I have another one in the WEB-INF folder under the virtual name based site that I am trying to get Tomcat to handle servlets for. What could be causing tomcat not to find a web.xml file in the WEB-INF folder??? I am using Tomcat 4.06 running on Linux.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

I have another one in the WEB-INF folder under the virtual name based site that I am trying to get Tomcat to handle servlets for. What could be causing tomcat not to find a web.xml file in the WEB-INF folder???
What is the directory structure for you app (include where your app resides)?

I am using Tomcat 4.06 running on Linux.
Why such an old version?


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Jaime Lannister
Greenhorn

Joined: Mar 30, 2005
Posts: 18
It looks to me like the server.xml file is to blame. It supposedly had the right info in it, but it doesn't. See my next post above, titled "confused on a higher plane" if you're interested.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Yet another Tomcat question
 
Similar Threads
Running a servlet using Tomcat
Problem accessing Oracle database through JDBC using JSP
servlet beginner confused
Eclipse+Tomcat
Servlet in Package Issue