This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Apache/Tomcat not running servlet" Watch "Apache/Tomcat not running servlet" New topic
Author

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
 
Don't get me started about those stupid light bulbs.
 
subject: Apache/Tomcat not running servlet
 
Similar Threads
servlet can't see html files?
Problem accessing servlet through Tomcat 5.0.28
problem with servlets
Tomcat 404 error
servlet not running but examples does