• 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
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Moving Static content to Apache from Tomcat

 
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I want to know what is the way to move static content from tomcat to apache.
Regards
Aruneesh
 
Sheriff
Posts: 67754
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What do you mean by 'move'?

And why? What would Apache do for you that Tomcat doesn't?
 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you've got a site that is mostly static content it was a good performance boost to let Apache serve it up and just pass the JSP through to Tomcat. I say was because I don't believe this is true if you have Tomcat 5, and probably a couple versions before that.

Still, here are some other reasons from the horse's mouth:
http://jakarta.apache.org/tomcat/faq/connectors.html#integrate

It's not a lot of fun to set it up.
 
Aruneesh Salhotra
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Basically we have a 3 tomcat servers configured in a pool, and either of them could serve the requests (JSP, Servlets).
For static content, we currently have 3 apache servers, but currently apache is being used to do RSA authentication and nothing else.

So apache resources could be used to render static content.
reply
    Bookmark Topic Watch Topic
  • New Topic