Hi all,
I do migration from 4.2.1 to 5.1.0.GA, and sticky sessions are not working with 5.1.0:
I have a cluster of 2 JBosses with Apache mod_jk 1.2 front-end. After I start both JBosses, I see requests from the same session redirected to both boxes, and I frequently see messages like this one:
11:20:37,175 WARN [CacheListener] Possible concurrency problem: Replicated version id 74 is less than or equal to in-memory version for session...
According to JMX Console (jboss.web:type=Engine), jvmRoute values are set properly: wsc-voo-218, and wsc-voo-219.
Here is my config:
<Connector protocol="AJP/1.3" port="8009" address="${jboss.bind.address}" maxThreads="250" redirectPort="8443" /> <Engine name="jboss.web" defaultHost="localhost" jvmRoute="${cpportal.jvmRoute}">
<attribute name="UseJK">true</attribute>, but for JBoss 5.1. this is not required, and I do not do this.
As usual, this was a human error. We forgot to re-read Apache config file with new worker names.