Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

1 Answer 1

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 tomcatexpert.com/blog/2010/03/24/… article too –  JoseK Nov 20 '10 at 5:54
add comment

Your Answer

 
discard

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.