Vaadin 7.2: heartbeatInterval not working?

Hi all.

After upgrading from Vaadin 7.1.14 to 7.2, I noticed that the sessions keep expiring after some minutes (which didn’t happen in 7.1.14), even with the browser window open.

This is my web.xml:

<?xml version="1.0" encoding="UTF-8" ?>
<web-app>

    <context-param>
        <param-name>productionMode</param-name>
        <param-value>true</param-value>
    </context-param>

    <servlet>
        <servlet-name>ReportMachine servlet</servlet-name>
        <servlet-class>com.marcozanon.reportmachine.AApplicationServlet</servlet-class>
        <init-param>
            <param-name>UI</param-name>
            <param-value>com.marcozanon.reportmachine.AApplicationCore</param-value>
        </init-param>
        <init-param>
            <param-name>closeIdleSessions</param-name>
            <param-value>true</param-value>
        </init-param>
    </servlet>
    <servlet-mapping>
        <servlet-name>ReportMachine servlet</servlet-name>
        <url-pattern>/*</url-pattern>
    </servlet-mapping>

    <session-config>
        <session-timeout>2</session-timeout>
    </session-config>
    <context-param>
        <param-name>heartbeatInterval</param-name>
        <param-value>30</param-value>
    </context-param>

</web-app>

Is there anything I must do? or is it a bug?

Thanks for your help,
Marco

That was the problem. Changing this value to
false
solved it.

I still don’t understand the 7.1.x behaviour, though.

Thanks,
Marco