aspose file tools
The moose likes Tomcat and the fly likes Struts with Apache 1.3 & Tomcat 3.2.4 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Struts with Apache 1.3 & Tomcat 3.2.4" Watch "Struts with Apache 1.3 & Tomcat 3.2.4" New topic

Struts with Apache 1.3 & Tomcat 3.2.4

John Toynbee

Joined: Jul 10, 2002
Posts: 4
I have Apache working as a frontend for Tomcat. I am now trying to get Struts to work. Everything works ok in Tomcat but when I try to run from Apache all my .do mappings don't work. I think I know what the problem is. Struts documentation talks about inserting a
AddHandler jserv-servlet .do
in tomcat_apache.conf. I do this but since I am copying the automatically generated mod_jk.conf-auto, the change is lost when Tomcat is started. The documentation talks about doing an include of tomcat_apache.conf in httpd.conf but that doesn't apply to me as I am using mod_jk.conf-auto.
Any suggestions?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16879

You could do like I did and copy the generated file to a different name, then tell Apache to use that copy.
The whole auto-generated process seems to have caused more trouble than it was worth. It's gone in Tomcat 4.

Customer surveys are for companies who didn't pay proper attention to begin with.
I agree. Here's the link:
subject: Struts with Apache 1.3 & Tomcat 3.2.4
It's not a secret anymore!