wood burning stoves
The moose likes Tomcat and the fly likes Apache + Tomcat Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Apache + Tomcat Problem" Watch "Apache + Tomcat Problem" New topic

Apache + Tomcat Problem

Gabriel Tomoloju

Joined: Feb 23, 2004
Posts: 20
Hello guys, I have successfully integrated tomcat 4 and Apache 1.3
on AIX, then dropped a JSP in the tomcat's examples/jsps/ folder and accessed it via Apache. But, the problem is after deploying an application, i was able to access the first screen, WelcomePage.jsp
But after logging in i get a 404 error:
The requested resource (/context/servlet/pack1.pack2.pack3.ControllerServlet) is not available.

My Apache_home/conf/httpd.conf entry is:

# Mod_jk settings

JkWorkersFile "conf/workers.properties"
JkLogFile "/aah/apache/1.3.33/logs/mod_jk.log"
JkMount/context default
JkMount/context/* default - made me access WelcomePage.jsp
JkMount /context/servlet/default

# End of mod_jk settings

I think the problem, is the WelcomePage.jsp has form action value of

And JkMount expects a physical location for a webpage, NOT the path to the controller servlet.

Any help, will be appreciated.
Gabriel Tomoloju

Joined: Feb 23, 2004
Posts: 20
The invoker mapping was un-commented out in the tomcat_home/conf/web.xml


It now works!
I agree. Here's the link: http://aspose.com/file-tools
subject: Apache + Tomcat Problem
It's not a secret anymore!