Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5991043
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T23:19:50+00:00 2026-05-22T23:19:50+00:00

Similar question to, Does it make sense to have multiple tomcat instances on the

  • 0

Similar question to, “Does it make sense to have multiple tomcat instances on the same server?” but in this case the Tomcats are running on a VM.

I know the answer probably is “it depends,” but I’d like to explore the issue. When does it make sense? What are the VM specific considerations?

Reasons I’ve heard:
1) JVMs are somehow limited in their ability to use the resources available. So allocating more than one instance of tomcat will make better use of resources. Not sure that this is a good reason. Is this one of those things that was once true, but is no longer true?
2) If one instance of tomcat fails, the other can take over.

Downsides:
There’s more overhead when you have multiple versions and greater complexity.

If we need load balancing is it “better” to just put the second tomcat in another VM?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T23:19:50+00:00Added an answer on May 22, 2026 at 11:19 pm

    If you have the option, a different VM would be prefered. You still get all the resource utilization benefits you mentioned of multiple JVMs. You ALSO get the redundancy of not having a single point of failure; your VM crashing will not bring down every node in a cluster.

    If you HAVE to use one VM, the things to consider when using one tomcat instance vs. multiple are:

    1. Will the apps need different reboot/backup/ requirements? You don’t want to be stuck on one instance and having to reboot it for one app when other apps should continue running.
    2. Will the apps running in tomcat need to talk to eachother directly (access object instances, config settings, etc.)? Remote communication is always a possibility (prefered) but I have seen WARs which were designed to talk with other WARs on the same tomcat instance.

    The likely scenario is you would be bound by any of the above and you can do whatever you think works best for you. My preference would be in the following order:

    1. Separate VMs
    2. Same VM, same tomcat
    3. Same VM, different tomcats

    2 & 3 in that order just because I don’t want to have to manage more things than necessary. One tomcat is easier than 2 or more. But the best separation is at the server level.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Similar question as this one but for a Microsoft Environment. Email --> Exchange Server
This question was inspired by a similar question: How does delete[] know the size
Similar to this question , after running the following code the browser dialog does
There is a similar question going around, but it just got the same old
A similar question discusses __construct , but I left it in my title for
A similar question has been asked: MSDN subscriptions on the cheap? , but I
There are similar question, but not regarding C# libraries I can use in my
I've found a similar question on stack overflow, but it didn't really answer the
In similar vein to this previous question , I a looking to implement user
I know a similar question has been answered before here , but I just

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.