How to run a RAP application in multiple browser tabs/windows?
By default, servlet engines use cookies to identify a session. Browsers usually re-use the same session cookie for all tabs and windows within the same process. In the end, the RAP servlet cannot distinguish request that come from the same browser/client-session and rejects request that come from a second tab or window with the message “Multiple browser-instances or browser-tabs per session are not supported. You may click OK for restarting the session.”. For a complete history of this issue, please see bug 285398. The solution is to disable the use of cookies for session-identification of the servlet engine. For instruction on how to configure Tomcat and Jetty, read the sections below.