Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to know if it is possible to configure (and if yes: how) Tomcat acting like http web server without using Apache isapi.

share|improve this question
up vote 2 down vote accepted

Tomcat is a servlet container which also serves web applications on http/https protocol. So in it's default avatar, any web app deployed on Tomcat runs on the defined port (default 8080 ) and thus Tomcat is acting as a web server.

You dont need Apache to front it for static content. Just drop your webapp into TOMCAT_HOME/webapps and start the Tomcat server.

Access it on http://localhost:8080/<webapp>

share|improve this answer
Just another question: I heard about a security risk in doing this. Is it true? – IssamTP Nov 19 '10 at 14:56
Not really, the latest Tomcats are quite stable and secure. Read this… article too – JoseK Nov 20 '10 at 5:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.