• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Struts with Apache 1.3 & Tomcat 3.2.4

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic