I run a VAADIN 7.4.1 application on JBoss. If I connect to the web application with a browser directly (without a http proxy) all is fine. But if I put a (apache) httpd proxy in front of the JBoss I get a
17:22:12,269 Warnung [org.atmosphere.cpr.DefaultBroadcaster]
(http--127.0.0.1-8080-14) Duplicate resource c3ba5884-40d6-4777-9258-7c064b6d2025. Could be caused by a dead connection not detected by your server. Replacing the old one with the fresh one
after few minutes and the user must refresh the the web site to go on.
I use long polling because the web application must be also available from inside some compnay networks which don’t allows WebSocket Push’es.
@Push(value=PushMode.AUTOMATIC, transport=Transport.LONG_POLLING)
The httpd Proxy setting are:
This might be caused by issue
17074 , fixed in the upcoming 7.4.2 and current 7.4 snapshots. Could you try out a snapshot and see if the problem still occurs?
My apache ProxyPass configuration above works! My mistake was that I had make only a reload of the apache httpd instead of restart (after adding the timeout parameter to the ProxyPass). So my existing http sessions don’t had the added timeout values … After restarting the httpd all works fine
I think your bug fix and my problem are two different things. But I have this tested too with the latest nightly build (of course without the timeout parameters). It will not works and after few minutes I get the “Duplicate resource” error…
I’m commenting to confirm that I had the same problem and this solution works well! In my case, the environment is an Amazon Elastic Beanstalk instance, which comes with an apache instance fronting the vaadin app.