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)