Problems restarting Tomcat during Tomcat load balancing

Source: Internet
Author: User

In the course of doing the experiment, a phenomenon was found:

  1. Both A and B are working properly.

  2. User C made two requests Q1 and Q2,Q1 request was processed by a, Q2 request was processed by B

  3. A stopped, c initiated the request Q3, was handled by B normally,

  4. A restart Startup

  5. C Initiate request Q4,q5, ... These requests are handled by B

  6. User D initiates a request to be processed by a

  7. After that, the C's request can be processed by a and B normally.




I found some information on the Internet.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/59/F3/wKiom1TwNzqzGKZZAAEx-WN3tQ4373.jpg "title=" Qq20150227172104.png "alt=" Wkiom1twnzqzgkzzaaex-wn3tq4373.jpg "/>


Guess that might be a version of the problem

It is possible that the newly added Tomcat has not completed the session copy from the other nodes in the cluster, resulting in a temporary inability to process the request, just a few more ....


Http://localhost:9080/docs/cluster-howto.html

See the most section how it works



This article is from the "ten-li Rice flower" blog, please be sure to keep this source http://5880861.blog.51cto.com/5870861/1615783

Problems restarting Tomcat during Tomcat load balancing

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.