SUMAMRY: JSP's work, but servlets give: HTTP Status 404 - /sampleapp/servlet/samplepackage.SampleServlet
DETAIL: I am a long time tomcat 3.X user. I'm trying to switch to version 5.0.19. I am at the end of full day #2 trying to get a simple webapp to work with: -SUSE9, -Apache 2.0.49, -Tomcat 5.0.19 -jakarta-tomcat-connectors-jk2-2.0.4-src Here's the kicker: Tomcat's sample-servlets *do* work, and I have a servlet auto-load in my app's web.xml and that DOES work too. But direct calls to this don't work: http://localhost/sampleapp/servlet/samplepackage.SampleServlet The same exact WAR file works when placed into tomcat 3.2.23. I think I have tried everything imaginable, using online docs, O'Reilly's book and Wrox books as reference, archives to this list, including: 1) Let the Tomcat Manager add the war file for me 2) Added a <Context> into tomcat's server.xml for the app 3) Added a context fragment into the webapps/ directory 4) Specifically add mapping to the app's web.xml: <servlet> <servlet-name>SampleServlet</servlet-name> <servlet-class>samplepackage.SampleServlet</servlet-class> </servlet> I have never had to specifically map each individual servlet in the app's web.xml file before while using version 3.x. And the all the various docs are not conclusive of whether this is mandatory. Is it? Anyway, all my servlets reside in the correct place in the .war and the resulting directory, for example: <tomcat_home>/webapps/sampleapp/WEB-INF/classes/samplepackage/SampleServlet And, the log files reveal nothing. The apache log file notes that the servlet was called. And the tomcat catalina.log shows nothing other than the auto-loaded servlet correctly launching. What's a guy gotta do to get this to work? :-) Seriously though, any pointers would be MUCH appreciated. Rob --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
