wood burning stoves 2.0*
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
Author

Struts with Apache 1.3 & Tomcat 3.2.4

John Toynbee
Greenhorn

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: 15957
    
  19

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.
 
Don't get me started about those stupid light bulbs.
 
subject: Struts with Apache 1.3 & Tomcat 3.2.4
 
Similar Threads
htaccess and mod_rewrite issue
can generate mod_jk.conf on tomcat 5?
need clarification on instruction to set up mod_jk.dll
newbie: troubleshooting apache/tomcat win98 environment
Apache Tomcat mod_ssl and mod_jkb