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 8146831
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T14:08:18+00:00 2026-06-06T14:08:18+00:00

Is it possible to build balancer trees with several levels in mod_jk configuration? for

  • 0

Is it possible to build balancer trees with several levels in mod_jk configuration?

for example there is following configuration

worker.list=b, b1, b2

worker.t1.port=8001
worker.t1.host=localhost
worker.t1.type=ajp13
worker.t1.lbfactor=1

worker.t2.port=8002
worker.t2.host=localhost
worker.t2.type=ajp13
worker.t2.lbfactor=1

worker.t3.port=8003
worker.t3.host=localhost
worker.t3.type=ajp13
worker.t3.lbfactor=1

worker.t4.port=8004
worker.t4.host=localhost
worker.t4.type=ajp13
worker.t4.lbfactor=1

worker.b1.type=lb
worker.b1.balance_workers=t1,t2

worker.b2.type=lb
worker.b2.balance_workers=t3, t4

worker.b.type=lb
worker.b.balance_workers=b2, b1

and there are following two multicast tomcat clusters (t1, t2) and (t3, t4). So sessions are replicated only between t1 and t2 and between t3 and t4.

If t1 fails will mod_jk forward request to t2? I mean does it respect balancer or it will send request to any of left tomcat workers? This is important as sessions are not replicated between clusters and redirecting request to another cluster when there are alive workers in the cluster where one worker died will make user session information unaccessible.

  • 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-06-06T14:08:19+00:00Added an answer on June 6, 2026 at 2:08 pm

    I am not sure, but it seems that balancer trees are not necessary. There is domain attribute that acts like logical domain. So balancer will try to redirect a request to a worker from the same domain.

    I tested it a bit, and it seems working.

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

Sidebar

Related Questions

I am curious if it is possible to dynamically build a list comprehension in
Is it possible to build following SQL statement in Hibernate HQL? SELECT COUNT(*) FROM
Is it possible to build static (.a) library using ndk-build from several other static
Is it possible to build an iOS app that will get user's voicemails ?
is it possible to build a jar file made up of all jar files
Would it be possible to build and deploy Meteor applications on Google App Engine
I read online that it was possible to build FreeRTOS on Windows for an
I'm searching if it's possible to build the same Linux Kerneltwice (same sources, same
If I have 6 modules in my project is it possible to build only
Is it possible to cancel/abort a running build process in Visual Studio 2008? How?

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.