[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - JBMESSAGING-549 - Lease set to -1 causes exception
clebert.suconic@jboss.com
do-not-reply at jboss.com
Thu Sep 21 12:37:01 EDT 2006
Look at ClientCrashNegativeLeaseTest before reading this post:
The problem is we are setting Lease to -1 after we passed Lase=20000 on the properties of the invoker.
Lease set to -1 is not setting leaeManagement to false (because of the prior test).
So, a fix would be on remoting:
| ///
| public void setLeasePeriod(long leasePeriodValue)
| {
| this.leasePeriod = leasePeriodValue;
| if (leasePeriod<0)
| {
| this.leaseManagement=false;
| }
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973336#3973336
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973336
More information about the jboss-dev-forums
mailing list