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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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: 15661
    
  15

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: http://aspose.com/file-tools
 
subject: Struts with Apache 1.3 & Tomcat 3.2.4
 
Similar Threads
can generate mod_jk.conf on tomcat 5?
Apache Tomcat mod_ssl and mod_jkb
need clarification on instruction to set up mod_jk.dll
newbie: troubleshooting apache/tomcat win98 environment
htaccess and mod_rewrite issue