Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

"Could be caused by a dead connection not detected by your server. Replacin

Steffen Ewert
8 years ago Mar 15, 2015 5:04pm

Hi,

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:

ProxyPass /VAADIN/ http://127.0.0.1:8080/c-onDocFlowVaadin/VAADIN/ connectiontimeout=86400 timeout=86400
ProxyPassReverse /VAADIN/ http://127.0.0.1:8080/c-onDocFlowVaadin/VAADIN/
ProxyPass /APP/ http://127.0.0.1:8080/c-onDocFlowVaadin/APP/ connectiontimeout=86400 timeout=86400
ProxyPassReverse /APP/ http://127.0.0.1:8080/c-onDocFlowVaadin/APP/
ProxyPass /PUSH/ http://127.0.0.1:8080/c-onDocFlowVaadin/PUSH/ connectiontimeout=86400 timeout=86400
ProxyPassReverse /PUSH/ http://127.0.0.1:8080/c-onDocFlowVaadin/PUSH/
ProxyPass /HEARTBEAT/ http://127.0.0.1:8080/c-onDocFlowVaadin/HEARTBEAT/ connectiontimeout=86400 timeout=86400
ProxyPassReverse /HEARTBEAT/ http://127.0.0.1:8080/c-onDocFlowVaadin/HEARTBEAT/
ProxyPass / http://127.0.0.1:8080/c-onDocFlowVaadin/ connectiontimeout=86400 timeout=86400
ProxyPassReverse / http://127.0.0.1:8080/c-onDocFlowVaadin/
ProxyPassReverseCookiePath /c-onDocFlowVaadin /

Anybody knows what is missing or wrong in my httpd proxy setting?

Johannes Dahlström
8 years ago Mar 16, 2015 10:14am
Steffen Ewert
8 years ago Mar 16, 2015 2:13pm
Steffen Ewert
8 years ago Mar 18, 2015 7:56pm
Manu Iyengar
7 years ago Apr 07, 2016 3:58pm