aspose file tools
The moose likes Tomcat and the fly likes Tomcat 4.1.29 simply don't run my HelloWorld servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "Tomcat 4.1.29 simply don Watch "Tomcat 4.1.29 simply don New topic
Author

Tomcat 4.1.29 simply don't run my HelloWorld servlet

bengt hammarlund
Ranch Hand

Joined: Oct 17, 2003
Posts: 78
I just downloaded Tomcat 4.1.29 (zip format) and I'm running a WinXP box w/512MB RAM. I've made a simple (my first actually) servlet and it just don't run on my Tomcat!
Well, it does run flawlessly if I copy it to the
webapps/examples/WEB-INF/classes directory. But in mine
webapps/eclipse1/WEB-INF/classes it does no run!!
Even the deployment descriptor is the same file, copy/pasted! CATALINA_HOME, JAVA_HOME and the rest are all set!
What's wrong?! Anyone can give me a clue?!
The fact is: if any servlet is NOT at the examples/WEB-INF/classes directory it gives me a HTTP 404 error.
[ November 03, 2003: Message edited by: bengt hammarlund ]

<b><i>Bengt Hammarlund</i><br />� Sun Certified Java Programmer</b>
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 11863
Search recent posts and your web.xml for "invoker" servlet. The examples app has the invoker turned on, the ROOT does not.
Bill
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

http://test.javaranch.com/wiki/view?TomcatFaq
 
 
subject: Tomcat 4.1.29 simply don't run my HelloWorld servlet
 
Threads others viewed
Tomcat 4 and 5, Servlet Configuration Difference
Need help Configuring Tomcat 4.0.4 on Linux
SCWCD Exam Study kit problem
JSP's and class files.....
New Wep app servlets don't work
MyEclipse, The Clear Choice