Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts with Apache 1.3 & Tomcat 3.2.4

 
John Toynbee
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 18169
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic