Win a copy of Rust Web Development this week in the Other Languages forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Tomcat standalone or Apache with Tomcat

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi - Looking for some guidance or info -
For a small intranet installation (say 30 hits a day) with not too much processing, can Tomcat be installed standalone without any downside or risk.
Or is it always recommended to install Apache and the plugin to Tomcat for production configurations. I am thinking of security, performance issues. Any replies appreciated.
M.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Unless you need some module specific to Apache, there is absolutely no reason to use the Apache/Tomcat combination. I was just looking at this Tomcat FAQ
on Tomcat performance which indicates that Tomcat can equal Apache for serving plain html under some conditions. One of the links there lead to this quote:

I have a server right now that has 20 distinct instances of Tomcat on
it, is serving a fairly sustained rate of 500kbps-1.2Mbps with several
hundreds of open connections. About 1.3 million hits a month, but hits are
misleading. CPU load (dual P3-1.2) is averaging 31%. 4GB of RAM, memory
used averages about 2.2GB. Red Hat 7.2, Tomcat 3.1.


For security, Tomcat offers very fine-grained security via the Java SecurityManger mechanism.

Bill
 
Morgan Roth
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Bill,
Thanks for the info
M.
 
Morgan Roth
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Bill,
Thanks for the info
M.
 
See ya later boys, I think I'm in love. Oh wait, she's just a tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic