How to Run Multiple Web Applications in One Apache Tomcat Server

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Thilina Uvindasiri

I'm a BSc Special (Hons) graduate in Information Technology and works as an Engineer-Systems. Love to work, explore and research Linux and play rugby as a hobby.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

5 Responses

  1. Jasper says:

    Hi Thilina great article thank you!

    If you define multiple services for the server, can you restart/refresh only one of the individual services?

  2. Prank says:


    You had given such a nice explanation!

    I followed all above given steps as mentioned but not able to help me out! Actually i am running two application on single server and both application should talk to each other over web-socket connection. I am getting connection refused if i am deploying both application all together on single tomcat.

    Can you please help me out for the same, how can we rid of this issue?

  3. DPalharini says:

    Wonderfull solution. Thank you!

  4. ajay says:

    Hi, for me its giving error below.

    HTTP Status 500 – java.lang.ClassNotFoundException: org.apache.jsp.index_jsp

    Ajay Kumar

  5. Stig Martinsen says:

    Thank you very much! This excellent article provided everything I needed to deploy multiple sites on Tomcat.

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.