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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T14:12:59+00:00 2026-05-25T14:12:59+00:00

I have an e-commerce application running on Tomcat 7 & IIS 7. The souce-code

  • 0

I have an e-commerce application running on Tomcat 7 & IIS 7. The souce-code is pretty large, so my overall goal is to implement some load-balancing with a minimum of change to the code. The best possible solution would be through 100% re-configuration of the servers themselves.

My 10,000-foot view would look like this:

           [Load balancer]
           /     |       \
[Tomcat #1]  [Tomcat #2]  [Tomcat #3]
          \      |       /
        [Hibernate cache]
                 |
         [Database Server]

Note 1: from past load-balancing attempts customers originating from AoL lose their session (where our shopping cart is stored) even with load-balancing configured to “sticky sessions”

Note 2: e-commerce app uses JBoss 1.3 for its transactional support

I am stuck on two key points:

  1. Configuring Tomcat to replicate session states among 2 or more servers (see “Note 1”)
  2. Configuring Hibernate to use the same cache on all Tomcat servers

Any links that hit on either of these two points would be appreciated.

P.S. My attempts at finding info myself via Google aren’t turning up anything helpful. Am I using the wrong terms to describe my solution?

  • 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-25T14:12:59+00:00Added an answer on May 25, 2026 at 2:12 pm

    Regarding (1)

    Im assuming you’ve read the Tomcat Cluster basics and followed the steps in the How-To?

    It is followed by the 3 methods of session replication and your choice of DeltaManager or BackupManager in your Cluster. For a small Cluster of 3 servers, DeltaManager should work.

    If there is a loss of sticky sessions at the LB, is it under high load or always occurring?

    IMHO, moving to replication is memory-intensive so you should try to attack the problem at the root, i.e. the LB

    and for (2) does the JBoss TreeCache help?

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

Sidebar

Related Questions

I have some e-commerce code that I use often that uses Linq To SQL
In our e-commerce application, we have different kinds of products having different kinds of
I have an asp.net mvc e-commerce application that requires voucher payment. how to pass
I am developing a stock/e-commerce web application. We have been using a version of
We have a database for an e-commerce application, we are working with JPA 2.0.
I have been working on a new template for a commerce site running zen
I have been trying to work with DDD style for my e-commerce application. Most
I have an e-commerce type application and when the user submits their payment I
I have an MVC 3 application that works fine when running locally from visual
I have an e-commerce application that is exhibiting strange behavior. The product is a

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.