Hi all, i’ve been following the tutorial here
Cleaning up resources in a UI to set the param heartbeatinterval in my xml file, but no matter what value i put, when i start my app it still load the default setting value which is 300 sec. It seem like my value has been overridden. This is how i print out the value for confirmation
log.debug("getHeartbeatInterval my xml = {}", VaadinServiceSession.getCurrent().getConfiguration().getApplicationOrSystemProperty("heartbeatInterval", "60"));
log.debug("getHeartbeatInterval = {}", VaadinService.getCurrent().getDeploymentConfiguration().getHeartbeatInterval());
and the result is
getHeartbeatInterval my xml = 60
getHeartbeatInterval = 300
Oops. I have no idea how this slipped through unnoticed, but Vaadin tries to query a parameter named “heartbeatRate” instead of “heartbeatInterval”. The former was the original name for this parameter but was renamed.
Some times I’m getting the
Communication Problem when I refresh the page its again comming to the normal State,in what scenarios] i may get this problem? can any one please help me out,Hoping for the answer
we kept session timeout with 29 and heartbeatInterval with 60
Hi,
For my own, I understood that the heartbeatInterval should be defined in the context-param of the webb-app not as a servlet init-param.
I have configured it as following and got no issue :
I’m Using vaadin 7.4.3 Enkara Dura …
Try to increase the HeartBeat and give a try if you remove that dependency you still get that issues I hope because its default in Vaadin 7 version