Stuck with an issue related to "clientLeasePeriod"
We have migrated our application from JBoss-4.0.3SP1 to JBoss-5.1.0.GA. We are using ejb2 & messaging. The messaging is highly available part of the application.
Following exception appears on server side:
Application error detected : WorkerThread#2[127.0.0.1:2440] exception occurred during first invocation
java.io.EOFException
at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:693)
at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:524)
at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:232)
On further analysis it has been observed that
(here we are talking about <jboss_home>\server\<config>\deploy-hasingleton\messaging\remoting-bisocket-service.xml)
1) if clientLeasePeriod is set to 0 then exception disappears
2) if clientLeasePeriod is non-zero then
a) if clientLeasePeriod > validatorPingPeriod then exception appears
b) if clientLeasePeriod > validatorPingPeriod
and either clientLeasePeriod or validatorPingPeriod or both are not divisble by 10
then exception disappears
c) if clientLeasePeriod > validatorPingPeriod and divisble by 10
then exception appears