Inux JBoss EAP 6.3 Cluster (cluster)-session replication (Replication)

Source: Internet
Author: User
Tags jboss jboss server

This article is consideredPrevious Articlethe follow-up,Java Web application, it is unavoidable to useSession, in a clustered environmentApacheWill behttpRequest Intelligent Forwarding to one of theJBoss Server. Suppose there are two ofJBoss Server:Server A,Server B,Sessionvalue inServer Aon. A user accesses a dependentSessionThe first time you access the page, theServer A, which can be properly takenSessionvalue, refresh it, if this is forwarded to theServer B,SessionIf the value is not taken, the problem comes.

the solution is simple enough to make people believe thatappof theWeb. XMLadd a row in<distributable/> can be(Prerequisites:JBoss Clusteris to useMod_clusterimplementation of), with this node, to aServerWriteSessionwhen theSessionis automatically copied to otherserver Node.


Original Ziyun Snow http://9388567.blog.51cto.com/9378567/1593549

Reference article: Yang http://yjmyzz.cnblogs.com under the Bodhi tree

To make changes to it, Yang over the Bodhi tree is a Windows-based environment built


Inux JBoss EAP 6.3 Cluster (cluster)-session replication (Replication)

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.