File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Apache/Tomcat not running servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Apache/Tomcat not running servlet" Watch "Apache/Tomcat not running servlet" New topic

Apache/Tomcat not running servlet

Raj Puri
Ranch Hand

Joined: Apr 24, 2003
Posts: 189
I can run my application fine on Tomcat but once I try to run against Apache that has been configured with Tomcat(5.x) I can run JSP but call to servlet says page not found, also images are missing. Seems Apache can not see any other location except webapps/myapp i.e. where my jsp's are hosted. Images are in webapps/myapp/images and servlets in webapps/myapp/WEB-INF/classes/servlets etc per tomcat standards. Even though these directores are loaded in conf of apache still seems apache can not process them. Application works fine on Tomcat however.

Any hints?
Harish Kashyap
Ranch Hand

Joined: Jun 14, 2000
Posts: 118
verify you have made all the necessary changes in httpd.conf of apache.

providing the snippet of httpd.conf would be helpful in actually identifying the problem
Md Fizal
Ranch Hand

Joined: Dec 23, 2002
Posts: 61
In ${catalina.home}/conf/web.xml check if you have InvokerServlet is commented out
I agree. Here's the link:
subject: Apache/Tomcat not running servlet
It's not a secret anymore!