summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2015-03-16 16:55:56 +0200
committerVaadin Code Review <review@vaadin.com>2015-03-18 14:06:43 +0000
commit9fc6c2be597f09c568389dfb147efe1e09af2f07 (patch)
tree8db60256761a07fe22e76ebd6b4d573ff7f6ca6e /server
parentd29b2dfd1e4e060aa2b8450706e1dd8fe2c731c7 (diff)
downloadvaadin-framework-9fc6c2be597f09c568389dfb147efe1e09af2f07.tar.gz
vaadin-framework-9fc6c2be597f09c568389dfb147efe1e09af2f07.zip
Correct logging when a push connection can't find a session (#15220)
Change-Id: I8b3cabc942600b3366f59697441d0613c9908a24
Diffstat (limited to 'server')
-rw-r--r--server/src/com/vaadin/server/communication/PushHandler.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/server/src/com/vaadin/server/communication/PushHandler.java b/server/src/com/vaadin/server/communication/PushHandler.java
index c570d22086..f3fb16461f 100644
--- a/server/src/com/vaadin/server/communication/PushHandler.java
+++ b/server/src/com/vaadin/server/communication/PushHandler.java
@@ -356,9 +356,13 @@ public class PushHandler extends AtmosphereResourceEventListenerAdapter {
"Could not get session. This should never happen", e);
return;
} catch (SessionExpiredException e) {
+ // This happens at least if the server is restarted without
+ // preserving the session. After restart the client reconnects, gets
+ // a session expired notification and then closes the connection and
+ // ends up here
getLogger()
- .log(Level.SEVERE,
- "Session expired before push was disconnected. This should never happen",
+ .log(Level.FINER,
+ "Session expired before push disconnect event was received",
e);
return;
}