diff options
author | Artur Signell <artur@vaadin.com> | 2015-03-16 16:55:56 +0200 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2015-03-20 13:42:53 +0200 |
commit | 78420eb0dde4b066f5233f602782d5f95e183a1f (patch) | |
tree | ac8ae059e9421df58c741e9b95b8c33e30fa3acc | |
parent | 342962d2a43e033d1d52ecdaee2f7e3a87fbdea2 (diff) | |
download | vaadin-framework-78420eb0dde4b066f5233f602782d5f95e183a1f.tar.gz vaadin-framework-78420eb0dde4b066f5233f602782d5f95e183a1f.zip |
Correct logging when a push connection can't find a session (#15220)
Change-Id: I8b3cabc942600b3366f59697441d0613c9908a24
-rw-r--r-- | server/src/com/vaadin/server/communication/PushHandler.java | 8 |
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; } |