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.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Problem Vaadin 8.0.x / Eclipse / Jetty and @Push
HI,
we have some problems starting a Vaadin application with @Push in Eclipse with an embedded Jetty.
The application startup in Eclipse is fine, but as soon as we start a browser session we immediately receive a "Session expired"
it does not work with Vaadin 8.0.3 or 8.0.4 and Jetty 9.4.x - no matter if we use the compatibility packages or the "core" Vaadin 8 packages
it does work with Vaadin 8.0.2 (or earlier versions) and Jetty 9.4.x
and it does work with Vaadin 8.0.3 or 8.0.4 and Jetty 9.3.x
(and of course it does work in a Tomcat environment)
is this somehow related with this two issues ?
Problem with Atmosphere -> Session Expired
https://github.com/vaadin/framework/issues/8134
https://github.com/Atmosphere/atmosphere/issues/2241
and what can we do ?
Regards
Gerhard
Hi Gerhard,
i had the same problem on Wildfly 10.1.0.Final version.
With and without @PUSH.
i had to set the session-cookie support.
<session-cookie http-only="true" secure="false"/>
this entry was missed completely. maybe your Jetty needs an equivalent of that?
Good luck on it :)
Best regards
Hi!
Hmmm I'm not sure if that one is the same issue like in our case.
Jetty and atmosphere have according to google a bit of a history.
In Vaadin 8.0.3 there has been an update of the atmosphere framework
https://github.com/vaadin/framework/commit/0f08e30f6e735716f6bb4135c22103c2b65911aa
which might be a clou to our Jetty problem.
<atmosphere.runtime.version>2.4.5.vaadin2</atmosphere.runtime.version>
If we use Jetty 9.4.x + Vaadin 8.0.3/8.0.4 and activate the @PUSH annotation we are recieving "Session expired" as soon as we open the website.
If we remove the @PUSH everything seems fine.
@Rhonibaer: You explained that even without the @PUSH annotation Vaadin was not working?
Using Jetty 9.4.x + Vaadin 8.0.2 + @PUSH works fine
Using Jetty 9.3.x + Vaadin 8.0.3/8.0.4 + @PUSH works fine
Servlet:
@SuppressWarnings("serial")
@WebServlet(
urlPatterns = {
"/app/*",
"/VAADIN/*" },
asyncSupported = true)
@VaadinServletConfiguration(
productionMode = false,
closeIdleSessions = true,
heartbeatInterval = 300,
ui = MyUI.class)
...
@Theme("my_valo")
@SuppressWarnings("serial")
@PreserveOnRefresh
@Push(
value = PushMode.AUTOMATIC,
transport = Transport.WEBSOCKET)
// transport = Transport.WEBSOCKET_XHR)
public class MyUI extends UI
....
We tested WEBSOCKET and WEBSOCKET_XHR without any luck using Jetty 9.4.x + Vaadin 8.0.3/8.0.4 + @PUSH
Cheers
Andy
i had that issue with @PUSH and without @push ... but when reading your posting, i think it is not the same issue as mine was.
any comments from Vaadin concerning this problem ?
since the problem occurs when switching from Vaadin 7.x/Vaadin 8.0.2 to Vaadin 8.0.3/Vaadin 8.0.4 perhaps it has something to do with the changes in these releases ....
we are still faced with this problem
Regards
Gerhard
we are still facing with this proplem in Vaadin 8.0.5 ...
I run the same problem enabling @Push with jetty 9.4.3 atmosphere-runtime-2.4.5.vaadin2.jar and vaadin 8.0.5
Substituting atmosphere-runtime-2.4.5.vaadin2.jar with atmosphere-runtime-2.2.7.vaadin1.jar eliminates the session expired message and shows the UI correctly, BUT there are incompatibility problems and push will not work:
java.lang.NoClassDefFoundError: org/atmosphere/cpr/AtmosphereRequestImpl
Is this only a jetty issue? Can Vaadin revert back to the earlier atmosphere and resolve the compatibility isses?
In the meantime, I cannot upgrade to Vaadin 8.0.5
Nice to know, that we are not the only ones to encounter this problem :-)
Tomcat seems to work fine, but we are using jetty in our development process, so this issue is a blocker for us as well :-(
Today we did a test using jetty-9.4.4.v20170414 but sadly we encounter the same error.
The atmosphere-runtime problem still persists using Jetty 9.4.4
Maybe you need to go to github.com Vaadin issues to get more attention?
There is at least these there, so you are not alone:
https://github.com/vaadin/framework/issues/8134
https://github.com/vaadin/framework/issues/8734
There is a new OPEN ticket in the vaadin framework github:
Hi,
it seem's that I have the same problem as described here.
I switched to latest Vaadin-Version 8.0.5 and latest jetty-Version 9.4.4. and the session timed out. (We have activated PUSH-Technology)
After switching back to jetty-Version 9.3. everything is working fine.
Will this bug be fixed in the near future ?
Best regards, Roland
Apparently Atmosphere must be updated to be compatible with Jetty 9.4.x, so this not purely Vaadin issue.
Maybe you want to push this issue:
https://github.com/Atmosphere/atmosphere/issues/2241
G'Day
Jetty released a new version 9.4.5.v20170502
https://github.com/eclipse/jetty.project/releases/tag/jetty-9.4.5.v20170502
But the issue still persists with Jetty 9.4.5 using Vaadin 8.0.5
Hopefully atmosphere will be adapted soon to play nice with Jetty 9.4.x
Are there any plans for Vaadin to switch back to a previous version of atmosphere which works with Jetty 9.4.x in the meantime?
Hi,
seems to be fixed with Vaadin 8.1.0 beta
Regards
​Gerhard
Hello. Trying to migrate from 7.7.10 to 8.0.* or 8.1.*
In Maven:
<vaadin.version>8.1.0.rc2</vaadin.version>
<jetty.version>9.4.2.v20170220</jetty.version>
@Push(value = PushMode.AUTOMATIC, transport = Transport.LONG_POLLING)
public class VaadinUI extends UI ...
@WebServlet(value = "/*", asyncSupported = true)
@VaadinServletConfiguration(productionMode = false, ui = ReceiveOrderVaadinUI.class)
public static class Servlet extends VaadinServlet ...
PUSH doesn't work.
In logs:
java.lang.NoClassDefFoundError: org/eclipse/jetty/websocket/WebSocketFactory$Acceptor
at org.atmosphere.container.JettyServlet30AsyncSupportWithWebSocket.<init>(JettyServlet30AsyncSupportWithWebSocket.java:46)
How can i fix it?
Hi Alex,
the following worked for me-
import com.vaadin.annotations.Push;
import org.eclipse.jetty.server.Connector;
import org.eclipse.jetty.server.Handler;
import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.server.ServerConnector;
import org.eclipse.jetty.servlet.ServletContextHandler;
import org.eclipse.jetty.webapp.WebAppContext;
import org.eclipse.jetty.websocket.jsr356.server.ServerContainer;
import org.eclipse.jetty.websocket.jsr356.server.deploy.WebSocketServerContainerInitializer;
@Push
public final class MyUI extends UI
{
...
private void startJetty()
{
final WebAppContext webAppContext = new WebAppContext(".", "/");
webAppContext.setWar(WEBROOT_DIR);
webAppContext.setClassLoader(VaadinLab.class.getClassLoader());
webAppContext.setThrowUnavailableOnStartupException(true);
webAppContext.setDescriptor(WEB_APP_CONTEXT_DESCRIPTOR_FILE);
Server jettyServer = new Server();
ServerConnector connector = new ServerConnector(jettyServer);
connector.setPort(WEB_SERVER_PORT_NUM);
jettyServer.setConnectors(new Connector[] {connector});
jettyServer.setHandler(webAppContext);
Handler jettyServerHandler = jettyServer.getHandler();
try
{
ServerContainer sc =
WebSocketServerContainerInitializer.configureContext(
(ServletContextHandler) jettyServerHandler);
}
catch (ServletException se) { System.out.println(se.toString()); }
...
try { jettyServer.start(); }
catch (Exception ex)
{
System.err.println("ERROR: Failed to start Jetty web server.");
ex.printStackTrace();
}
}
}
import com.vaadin.server.VaadinServlet;
import com.vaadin.server.VaadinServletService;
public class MyServlet extends VaadinServlet
{
final VaadinServletService vaadinServletService = getService();
boolean isPushAvailable = vaadinServletService.ensurePushAvailable();
...
}
In Vaadin web application descriptor file:
<servlet>
<init-param>
<param-name>pushmode</param-name>
<param-value>automatic</param-value>
</init-param>
<async-supported>true</async-supported>
</servlet>
This didn't work in my case.
Versions:
Vaadin 8.1.5
Jetty 9.4.7.v20170914
I receive this in logs:
окт 04, 2017 2:59:58 PM com.vaadin.server.communication.PushHandler connectionLost
SEVERE: Could not get resource. This should never happen.
окт 04, 2017 2:59:58 PM org.atmosphere.cpr.DefaultBroadcaster addAtmosphereResource
WARNING: Duplicate resource ee879653-784d-4e6f-982e-52a2cf16aefd. Could be caused by a dead connection not detected by your server. Replacing the old one with the fresh one
Hmm. Looks like that problem happens somewhere in code inside UI.access()
Here is my access() method:
UI().access(new Runnable() {
@Override
public void run() {
// Some logic with making changes in UI component, updates Label, for example
UI().push();
}
});
If i comment access() method body, then it works fine, but if it is active - errors occured:
окт 05, 2017 12:22:52 PM com.vaadin.server.communication.PushHandler connectionLost
SEVERE: Could not get resource. This should never happen.
окт 05, 2017 12:22:52 PM org.atmosphere.cpr.DefaultBroadcaster addAtmosphereResource
WARNING: Duplicate resource 261820c3-1aa3-4c56-92d1-8c4f9697c94b. Could be caused by a dead connection not detected by your server. Replacing the old one with the fresh one
What i doing wrong?
In Vaadin 7.*.* there was no problems.
From debug:
Client engine version8.1.5
Server engine version8.1.5
Theme version8.1.5
Push server version2.4.11.vaadin2
Push client version2.3.2.vaadin1-javascript (note: does not need to match server version)
Widget setAppWidgetset
Themetests-valo-dark
Communication methodClient to server: XHR, server to client: long-polling
Heartbeat300s
How to view all log-levels from Atmosphere and Vaadin?
I can view only SEVERE and WARNING
How to set FINER by default.
Note: main project code use LOGBACK
I get logs from Vaadin's and Atmosphere's JUL:
окт 06, 2017 11:05:04 AM com.vaadin.ui.ConnectorTracker markDirty
FINE: com.vaadin.ui.ComboBox(59) (parent: com.vaadin.ui.HorizontalLayout(55)) is now dirty
окт 06, 2017 11:05:04 AM com.vaadin.ui.ConnectorTracker markDirty
FINE: com.vaadin.ui.TextField(64) (parent: com.vaadin.ui.HorizontalLayout(55)) is now dirty
окт 06, 2017 11:05:04 AM com.vaadin.ui.ConnectorTracker markDirty
FINE: com.vaadin.ui.Grid(86) (parent: com.vaadin.ui.Panel(85)) is now dirty
окт 06, 2017 11:05:04 AM com.vaadin.ui.ConnectorTracker markDirty
FINE: ru.waptaxi.wtwebclient.jettyserv.vaadin.receiveorder.ReceiveOrderVaadinUI(0) is now dirty
окт 06, 2017 11:05:04 AM com.vaadin.ui.ConnectorTracker markDirty
FINE: com.vaadin.ui.TextField(133) (parent: com.vaadin.ui.HorizontalLayout(129)) is now dirty
окт 06, 2017 11:05:04 AM com.vaadin.ui.ConnectorTracker markDirty
FINE: com.vaadin.data.provider.DataCommunicator(87) (parent: com.vaadin.ui.Grid(86)) is now dirty
окт 06, 2017 11:05:04 AM com.vaadin.server.communication.UidlWriter write
FINE: * Creating response to client
окт 06, 2017 11:05:04 AM com.vaadin.server.communication.UidlWriter write
FINE: Found 6 dirty connectors to paint
окт 06, 2017 11:05:04 AM com.vaadin.server.communication.LegacyUidlWriter write
FINE: Painting LegacyComponent ru.waptaxi.wtwebclient.jettyserv.vaadin.receiveorder.ReceiveOrderVaadinUI@6b774242
окт 06, 2017 11:05:04 AM com.vaadin.server.JsonPaintTarget startPaintable
FINE: startPaintable for ru.waptaxi.wtwebclient.jettyserv.vaadin.receiveorder.ReceiveOrderVaadinUI@6b774242
окт 06, 2017 11:05:04 AM com.vaadin.server.JsonPaintTarget endPaintable
FINE: endPaintable for ru.waptaxi.wtwebclient.jettyserv.vaadin.receiveorder.ReceiveOrderVaadinUI@6b774242
окт 06, 2017 11:05:04 AM com.vaadin.ui.ConnectorTracker markAllConnectorsClean
FINE: All connectors are now clean
окт 06, 2017 11:05:04 AM com.vaadin.ui.ConnectorTracker markDirty
FINE: com.vaadin.ui.TextField(133) (parent: com.vaadin.ui.HorizontalLayout(129)) is now dirty
окт 06, 2017 11:05:04 AM com.vaadin.ui.ConnectorTracker markDirty
FINE: com.vaadin.ui.Grid(102) (parent: com.vaadin.ui.Panel(101)) is now dirty
окт 06, 2017 11:05:04 AM com.vaadin.ui.ConnectorTracker markDirty
FINE: com.vaadin.ui.TextField(131) (parent: com.vaadin.ui.HorizontalLayout(129)) is now dirty
окт 06, 2017 11:05:04 AM com.vaadin.ui.ConnectorTracker markDirty
FINE: com.vaadin.ui.TextField(135) (parent: com.vaadin.ui.HorizontalLayout(134)) is now dirty
окт 06, 2017 11:05:04 AM com.vaadin.ui.ConnectorTracker markDirty
FINE: com.vaadin.ui.ComboBox$2(138) (parent: com.vaadin.ui.ComboBox(137)) is now dirty
окт 06, 2017 11:05:04 AM com.vaadin.server.communication.UidlWriter write
FINE: * Creating response to client
окт 06, 2017 11:05:04 AM com.vaadin.server.communication.UidlWriter write
FINE: Found 4 dirty connectors to paint
окт 06, 2017 11:05:04 AM com.vaadin.ui.ConnectorTracker markAllConnectorsClean
FINE: All connectors are now clean
окт 06, 2017 11:05:04 AM org.atmosphere.cpr.DefaultBroadcaster$1 run
FINEST: /* is about to broadcast Entry{message=for(;;);[{"syncId": 55, "clientId": 51, "changes" : [], "state":{"131":{"text":"150"},"133":{"text":"1.783"},"135":{"text":"150"}}, "types":{"131":"15","133":"15","135":"15","138":"6"}, "hierarchy":{"135":["136"],"138":[]}, "rpc" : [["138","com.vaadin.shared.data.DataCommunicatorClientRpc","reset",[2]]], "meta" : {"async":true}, "resources" : {}, "timings":[2383, 13]}], type=RESOURCE, future=org.atmosphere.cpr.BroadcasterFuture@50bc0893}
окт 06, 2017 11:05:04 AM org.atmosphere.cpr.BroadcasterListenerAdapter onMessage
FINEST: onMessage for broadcaster /* for Entry{message=for(;;);[{"syncId": 55, "clientId": 51, "changes" : [], "state":{"131":{"text":"150"},"133":{"text":"1.783"},"135":{"text":"150"}}, "types":{"131":"15","133":"15","135":"15","138":"6"}, "hierarchy":{"135":["136"],"138":[]}, "rpc" : [["138","com.vaadin.shared.data.DataCommunicatorClientRpc","reset",[2]]], "meta" : {"async":true}, "resources" : {}, "timings":[2383, 13]}], type=RESOURCE, future=org.atmosphere.cpr.BroadcasterFuture@50bc0893}
окт 06, 2017 11:05:04 AM org.atmosphere.cache.UUIDBroadcasterCache addToCache
FINEST: Adding for AtmosphereResource d17e2260-b2e2-425c-8803-7df328db8b0e cached messages for(;;);[{"syncId": 55, "clientId": 51, "changes" : [], "state":{"131":{"text":"150"},"133":{"text":"1.783"},"135":{"text":"150"}}, "types":{"131":"15","133":"15","135":"15","138":"6"}, "hierarchy":{"135":["136"],"138":[]}, "rpc" : [["138","com.vaadin.shared.data.DataCommunicatorClientRpc","reset",[2]]], "meta" : {"async":true}, "resources" : {}, "timings":[2383, 13]}]
окт 06, 2017 11:05:04 AM org.atmosphere.cache.UUIDBroadcasterCache addToCache
FINEST: Active clients {}
окт 06, 2017 11:05:04 AM org.atmosphere.cpr.DefaultBroadcaster deliverPush
FINEST: AtmosphereResource d17e2260-b2e2-425c-8803-7df328db8b0e available for for(;;);[{"syncId": 55, "clientId": 51, "changes" : [], "state":{"131":{"text":"150"},"133":{"text":"1.783"},"135":{"text":"150"}}, "types":{"131":"15","133":"15","135":"15","138":"6"}, "hierarchy":{"135":["136"],"138":[]}, "rpc" : [["138","com.vaadin.shared.data.DataCommunicatorClientRpc","reset",[2]]], "meta" : {"async":true}, "resources" : {}, "timings":[2383, 13]}]
окт 06, 2017 11:05:04 AM org.atmosphere.cpr.DefaultBroadcaster queueWriteIO
FINEST: Broadcaster /* is about to queueWriteIO for AtmosphereResource d17e2260-b2e2-425c-8803-7df328db8b0e
окт 06, 2017 11:05:04 AM org.atmosphere.cpr.DefaultBroadcaster$2 run
FINEST: About to write to AtmosphereResource{
uuid=d17e2260-b2e2-425c-8803-7df328db8b0e,
transport=LONG_POLLING,
isInScope=true,
isResumed=false,
isCancelled=false,
isSuspended=true,
broadcasters=/*,
isClosedByClient=false,
isClosedByApplication=false,
action=Action{timeout=-1, type=SUSPEND}}
окт 06, 2017 11:05:04 AM org.atmosphere.cache.UUIDBroadcasterCache clearCache
FINEST: Removing for AtmosphereResource d17e2260-b2e2-425c-8803-7df328db8b0e cached message for(;;);[{"syncId": 55, "clientId": 51, "changes" : [], "state":{"131":{"text":"150"},"133":{"text":"1.783"},"135":{"text":"150"}}, "types":{"131":"15","133":"15","135":"15","138":"6"}, "hierarchy":{"135":["136"],"138":[]}, "rpc" : [["138","com.vaadin.shared.data.DataCommunicatorClientRpc","reset",[2]]], "meta" : {"async":true}, "resources" : {}, "timings":[2383, 13]}]
окт 06, 2017 11:05:04 AM com.vaadin.ui.ConnectorTracker markDirty
FINE: com.vaadin.data.provider.DataCommunicator(87) (parent: com.vaadin.ui.Grid(86)) is now dirty
окт 06, 2017 11:05:04 AM org.atmosphere.cpr.DefaultBroadcaster invokeOnStateChange
FINEST: /* is broadcasting to d17e2260-b2e2-425c-8803-7df328db8b0e
окт 06, 2017 11:05:04 AM com.vaadin.server.communication.UidlWriter write
FINE: * Creating response to client
окт 06, 2017 11:05:04 AM com.vaadin.ui.ConnectorTracker markDirty
FINE: com.vaadin.ui.ComboBox(244) (parent: com.vaadin.ui.Grid(86)) is now dirty
окт 06, 2017 11:05:04 AM com.vaadin.ui.ConnectorTracker registerConnector
FINE: Registered ComboBox (244)
окт 06, 2017 11:05:04 AM com.vaadin.ui.ConnectorTracker markDirty
FINE: com.vaadin.ui.ComboBox$2(245) (parent: com.vaadin.ui.ComboBox(244)) is now dirty
окт 06, 2017 11:05:04 AM com.vaadin.ui.ConnectorTracker registerConnector
FINE: Registered (245)
окт 06, 2017 11:05:04 AM com.vaadin.ui.ConnectorTracker markDirty
FINE: org.vaadin.viritin.util.HtmlElementPropertySetter(246) (parent: com.vaadin.ui.ComboBox(244)) is now dirty
окт 06, 2017 11:05:04 AM com.vaadin.ui.ConnectorTracker registerConnector
FINE: Registered HtmlElementPropertySetter (246)
окт 06, 2017 11:05:04 AM com.vaadin.ui.ConnectorTracker markDirty
FINE: com.vaadin.ui.Grid(86) (parent: com.vaadin.ui.Panel(85)) is now dirty
окт 06, 2017 11:05:04 AM com.vaadin.ui.ConnectorTracker markDirty
FINE: com.vaadin.ui.ComboBox(247) (parent: com.vaadin.ui.Grid(86)) is now dirty
окт 06, 2017 11:05:04 AM com.vaadin.ui.ConnectorTracker registerConnector
FINE: Registered ComboBox (247)
окт 06, 2017 11:05:04 AM com.vaadin.ui.ConnectorTracker markDirty
FINE: com.vaadin.ui.ComboBox$2(248) (parent: com.vaadin.ui.ComboBox(247)) is now dirty
окт 06, 2017 11:05:04 AM com.vaadin.ui.ConnectorTracker registerConnector
FINE: Registered (248)
окт 06, 2017 11:05:04 AM com.vaadin.ui.ConnectorTracker markDirty
FINE: org.vaadin.viritin.util.HtmlElementPropertySetter(249) (parent: com.vaadin.ui.ComboBox(247)) is now dirty
окт 06, 2017 11:05:04 AM com.vaadin.ui.ConnectorTracker registerConnector
FINE: Registered HtmlElementPropertySetter (249)
окт 06, 2017 11:05:04 AM com.vaadin.ui.ConnectorTracker markDirty
FINE: com.vaadin.ui.ComboBox(250) (parent: com.vaadin.ui.Grid(86)) is now dirty
окт 06, 2017 11:05:04 AM com.vaadin.ui.ConnectorTracker registerConnector
FINE: Registered ComboBox (250)
окт 06, 2017 11:05:04 AM com.vaadin.ui.ConnectorTracker markDirty
FINE: com.vaadin.ui.ComboBox$2(251) (parent: com.vaadin.ui.ComboBox(250)) is now dirty
окт 06, 2017 11:05:04 AM com.vaadin.ui.ConnectorTracker registerConnector
FINE: Registered (251)
окт 06, 2017 11:05:04 AM com.vaadin.ui.ConnectorTracker markDirty
FINE: org.vaadin.viritin.util.HtmlElementPropertySetter(252) (parent: com.vaadin.ui.ComboBox(250)) is now dirty
окт 06, 2017 11:05:04 AM com.vaadin.ui.ConnectorTracker registerConnector
FINE: Registered HtmlElementPropertySetter (252)
окт 06, 2017 11:05:04 AM com.vaadin.ui.ConnectorTracker markDirty
FINE: com.vaadin.ui.Label(253) (parent: com.vaadin.ui.Grid(86)) is now dirty
окт 06, 2017 11:05:04 AM com.vaadin.ui.ConnectorTracker registerConnector
FINE: Registered Label (253)
окт 06, 2017 11:05:04 AM com.vaadin.ui.ConnectorTracker markDirty
FINE: com.vaadin.ui.Button(254) (parent: com.vaadin.ui.Grid(86)) is now dirty
окт 06, 2017 11:05:04 AM com.vaadin.ui.ConnectorTracker registerConnector
FINE: Registered Button (254)
окт 06, 2017 11:05:04 AM com.vaadin.ui.ConnectorTracker markDirty
FINE: com.vaadin.contextmenu.ContextMenu(255) (parent: com.vaadin.ui.Button(254)) is now dirty
окт 06, 2017 11:05:04 AM com.vaadin.ui.ConnectorTracker registerConnector
FINE: Registered ContextMenu (255)
окт 06, 2017 11:05:04 AM com.vaadin.server.communication.UidlWriter write
FINE: Found 14 dirty connectors to paint
окт 06, 2017 11:05:04 AM org.atmosphere.cpr.AtmosphereResourceImpl resume
FINEST: AtmosphereResource d17e2260-b2e2-425c-8803-7df328db8b0e is resuming
окт 06, 2017 11:05:04 AM org.atmosphere.cpr.AtmosphereResourceImpl notifyListeners
FINEST: Invoking listener [com.vaadin.server.communication.PushAtmosphereHandler$AtmosphereResourceListener@64df4c4f] for d17e2260-b2e2-425c-8803-7df328db8b0e
окт 06, 2017 11:05:04 AM org.atmosphere.cpr.AtmosphereResourceEventListenerAdapter onResume
FINEST: AtmosphereResourceEventImpl{ isCancelled=false isClosedByClient=false isClosedByApplication=false isResumedOnTimeout=false throwable=null resource=null}
окт 06, 2017 11:05:04 AM org.atmosphere.cpr.DefaultBroadcaster removeAtmosphereResource
FINEST: Removing AtmosphereResource d17e2260-b2e2-425c-8803-7df328db8b0e for Broadcaster /*
окт 06, 2017 11:05:04 AM org.atmosphere.cpr.BroadcasterListenerAdapter onComplete
FINEST: onComplete /*
окт 06, 2017 11:05:04 AM com.vaadin.ui.ConnectorTracker markAllConnectorsClean
FINE: All connectors are now clean
окт 06, 2017 11:05:04 AM org.atmosphere.cpr.AtmosphereResourceImpl cancel
FINEST: Cancelling d17e2260-b2e2-425c-8803-7df328db8b0e
окт 06, 2017 11:05:04 AM org.atmosphere.cpr.AtmosphereResponseImpl destroy
FINEST: d17e2260-b2e2-425c-8803-7df328db8b0e destroyed
окт 06, 2017 11:05:04 AM org.atmosphere.cpr.DefaultAtmosphereResourceFactory remove
FINEST: Removing: d17e2260-b2e2-425c-8803-7df328db8b0e
окт 06, 2017 11:05:04 AM org.atmosphere.cpr.DefaultAtmosphereResourceFactory remove
FINEST: Removing: d17e2260-b2e2-425c-8803-7df328db8b0e
окт 06, 2017 11:05:04 AM com.vaadin.server.communication.PushHandler connectionLost
SEVERE: Could not get resource. This should never happen.
окт 06, 2017 11:05:04 AM org.atmosphere.cpr.AtmosphereResourceEventListenerAdapter onBroadcast
FINEST: AtmosphereResourceEventImpl{ isCancelled=true isClosedByClient=false isClosedByApplication=false isResumedOnTimeout=false throwable=null resource=null}
окт 06, 2017 11:05:04 AM org.atmosphere.cpr.BroadcasterListenerAdapter onComplete
FINEST: onComplete /*
окт 06, 2017 11:05:04 AM org.atmosphere.cpr.AtmosphereFramework configureQueryStringAsRequest
FINEST: Query String translated to headers {X-Atmosphere-Framework=2.3.2.vaadin1-javascript, X-Atmosphere-Transport=long-polling, v-pushId=bf579390-0dca-42be-8403-8e474ff0ea53, X-Atmosphere-TrackMessageSize=true, v-uiId=0, X-atmo-protocol=true, X-Atmosphere-tracking-id=d17e2260-b2e2-425c-8803-7df328db8b0e, Content-Type=application%2Fjson%3B%20charset%3DUTF-8, _=1507269904348}
окт 06, 2017 11:05:04 AM org.atmosphere.util.DefaultEndpointMapper match
FINEST: Trying to map /[a-zA-Z0-9-&\.*_~=@;\\?]+ to /PUSH
окт 06, 2017 11:05:04 AM org.atmosphere.util.DefaultEndpointMapper match
FINEST: Mapped /[a-zA-Z0-9-&\.*_~=@;\\?]+ to
atmosphereHandler
com.vaadin.server.communication.PushAtmosphereHandler@5926dcd2
interceptors
0: org.atmosphere.interceptor.CorsInterceptor
1: org.atmosphere.interceptor.IdleResourceInterceptor
2: org.atmosphere.client.TrackMessageSizeInterceptor
3: org.atmosphere.interceptor.CacheHeadersInterceptor
4: org.atmosphere.interceptor.PaddingAtmosphereInterceptor
5: org.atmosphere.interceptor.AndroidAtmosphereInterceptor
6: org.atmosphere.interceptor.SSEAtmosphereInterceptor
7: org.atmosphere.interceptor.JSONPAtmosphereInterceptor
8: org.atmosphere.interceptor.JavaScriptProtocol
9: org.atmosphere.interceptor.WebSocketMessageSuspendInterceptor
10: org.atmosphere.interceptor.OnDisconnectInterceptor
broadcaster
Name: /*
AtmosphereResource: 0
BroadcasterCache org.atmosphere.cache.UUIDBroadcasterCache
окт 06, 2017 11:05:04 AM org.atmosphere.cpr.AsynchronousProcessor invokeInterceptors
FINEST: 0: org.atmosphere.interceptor.CorsInterceptor for d17e2260-b2e2-425c-8803-7df328db8b0e
окт 06, 2017 11:05:04 AM org.atmosphere.cpr.AsynchronousProcessor invokeInterceptors
FINEST: 1: org.atmosphere.interceptor.IdleResourceInterceptor for d17e2260-b2e2-425c-8803-7df328db8b0e
окт 06, 2017 11:05:04 AM org.atmosphere.cpr.AtmosphereInterceptorWriter interceptor
FINEST: Adding AsyncIOInterceptor org.atmosphere.client.TrackMessageSizeInterceptor$Interceptor
окт 06, 2017 11:05:04 AM org.atmosphere.cpr.AsynchronousProcessor invokeInterceptors
FINEST: 2: org.atmosphere.client.TrackMessageSizeInterceptor for d17e2260-b2e2-425c-8803-7df328db8b0e
окт 06, 2017 11:05:04 AM org.atmosphere.cpr.AsynchronousProcessor invokeInterceptors
FINEST: 3: org.atmosphere.interceptor.CacheHeadersInterceptor for d17e2260-b2e2-425c-8803-7df328db8b0e
окт 06, 2017 11:05:04 AM org.atmosphere.cpr.AtmosphereInterceptorWriter interceptor
FINEST: Adding AsyncIOInterceptor org.atmosphere.interceptor.PaddingAtmosphereInterceptor$1
окт 06, 2017 11:05:04 AM org.atmosphere.cpr.AsynchronousProcessor invokeInterceptors
FINEST: 4: org.atmosphere.interceptor.PaddingAtmosphereInterceptor for d17e2260-b2e2-425c-8803-7df328db8b0e
окт 06, 2017 11:05:04 AM org.atmosphere.cpr.AsynchronousProcessor invokeInterceptors
FINEST: 5: org.atmosphere.interceptor.AndroidAtmosphereInterceptor for d17e2260-b2e2-425c-8803-7df328db8b0e
окт 06, 2017 11:05:04 AM org.atmosphere.cpr.AsynchronousProcessor invokeInterceptors
FINEST: 6: org.atmosphere.interceptor.SSEAtmosphereInterceptor for d17e2260-b2e2-425c-8803-7df328db8b0e
окт 06, 2017 11:05:04 AM org.atmosphere.cpr.AsynchronousProcessor invokeInterceptors
FINEST: 7: org.atmosphere.interceptor.JSONPAtmosphereInterceptor for d17e2260-b2e2-425c-8803-7df328db8b0e
окт 06, 2017 11:05:04 AM org.atmosphere.cpr.AsynchronousProcessor invokeInterceptors
FINEST: 8: org.atmosphere.interceptor.JavaScriptProtocol for d17e2260-b2e2-425c-8803-7df328db8b0e
окт 06, 2017 11:05:04 AM org.atmosphere.cpr.AsynchronousProcessor invokeInterceptors
FINEST: 9: org.atmosphere.interceptor.WebSocketMessageSuspendInterceptor for d17e2260-b2e2-425c-8803-7df328db8b0e
окт 06, 2017 11:05:04 AM org.atmosphere.cpr.AsynchronousProcessor invokeInterceptors
FINEST: 10: org.atmosphere.interceptor.OnDisconnectInterceptor for d17e2260-b2e2-425c-8803-7df328db8b0e
окт 06, 2017 11:05:04 AM org.atmosphere.cpr.AsynchronousProcessor action
FINEST: Last: com.vaadin.server.communication.PushAtmosphereHandler
окт 06, 2017 11:05:04 AM com.vaadin.server.communication.PushHandler lambda$new$0
FINER: New push connection for resource d17e2260-b2e2-425c-8803-7df328db8b0e with transport LONG_POLLING
окт 06, 2017 11:05:04 AM org.atmosphere.cpr.AtmosphereResourceEventListenerAdapter onPreSuspend
FINEST: AtmosphereResourceEventImpl{ isCancelled=false isClosedByClient=false isClosedByApplication=false isResumedOnTimeout=false throwable=null resource=null}
окт 06, 2017 11:05:04 AM org.atmosphere.cpr.DefaultBroadcaster retrieveTrackedBroadcast
FINEST: Checking cached message for d17e2260-b2e2-425c-8803-7df328db8b0e
окт 06, 2017 11:05:04 AM org.atmosphere.cache.UUIDBroadcasterCache retrieveFromCache
FINEST: Retrieved for AtmosphereResource d17e2260-b2e2-425c-8803-7df328db8b0e cached messages []
окт 06, 2017 11:05:04 AM org.atmosphere.cache.UUIDBroadcasterCache retrieveFromCache
FINEST: Available cached message {}
окт 06, 2017 11:05:04 AM org.atmosphere.cpr.DefaultBroadcaster cacheAndSuspend
FINEST: Associating AtmosphereResource d17e2260-b2e2-425c-8803-7df328db8b0e with Broadcaster /*
окт 06, 2017 11:05:04 AM org.atmosphere.cpr.AtmosphereResourceImpl uniqueBroadcaster
FINEST: Duplicate Broadcaster
Name: /*
AtmosphereResource: 1
BroadcasterCache org.atmosphere.cache.UUIDBroadcasterCache
окт 06, 2017 11:05:04 AM org.atmosphere.cpr.BroadcasterListenerAdapter onAddAtmosphereResource
FINEST: onAddAtmosphereResource /*
окт 06, 2017 11:05:04 AM org.atmosphere.cpr.DefaultAtmosphereResourceFactory registerUuidForFindCandidate
FINEST: Adding: AtmosphereResource{
uuid=d17e2260-b2e2-425c-8803-7df328db8b0e,
transport=LONG_POLLING,
isInScope=true,
isResumed=false,
isCancelled=false,
isSuspended=true,
broadcasters=/*,
isClosedByClient=false,
isClosedByApplication=false,
action=Action{timeout=-1, type=SUSPEND}}
окт 06, 2017 11:05:04 AM org.atmosphere.cpr.AtmosphereResourceImpl notifyListeners
FINEST: Invoking listener [com.vaadin.server.communication.PushAtmosphereHandler$AtmosphereResourceListener@4697cd55] for d17e2260-b2e2-425c-8803-7df328db8b0e
окт 06, 2017 11:05:04 AM org.atmosphere.cpr.AtmosphereResourceEventListenerAdapter onSuspend
FINEST: AtmosphereResourceEventImpl{ isCancelled=false isClosedByClient=false isClosedByApplication=false isResumedOnTimeout=false throwable=null resource=null}
окт 06, 2017 11:05:04 AM org.atmosphere.cpr.AsynchronousProcessor action
FINEST: Action for d17e2260-b2e2-425c-8803-7df328db8b0e was Action{timeout=-1, type=SUSPEND} with transport long-polling
окт 06, 2017 11:05:04 AM com.vaadin.ui.ConnectorTracker markDirty
FINE: com.vaadin.ui.ComboBox$2(138) (parent: com.vaadin.ui.ComboBox(137)) is now dirty
окт 06, 2017 11:05:04 AM com.vaadin.server.communication.UidlWriter write
FINE: * Creating response to client
окт 06, 2017 11:05:04 AM com.vaadin.server.communication.UidlWriter write
FINE: Found 1 dirty connectors to paint
окт 06, 2017 11:05:04 AM com.vaadin.ui.ConnectorTracker markAllConnectorsClean
FINE: All connectors are now clean
окт 06, 2017 11:05:05 AM com.vaadin.server.communication.UidlWriter write
FINE: * Creating response to client
окт 06, 2017 11:05:05 AM com.vaadin.server.communication.UidlWriter write
FINE: Found 0 dirty connectors to paint
окт 06, 2017 11:05:05 AM com.vaadin.ui.ConnectorTracker markAllConnectorsClean
FINE: All connectors are now clean
Solution for now:
WebSocketServerContainerInitializer.configureContext(servletContextHandlerWebclient);