@gorelov Dear Gleb,
thank you very much for this suggestion.
And yes I am able to switch to LONG POLLING:
2024-03-17 23:54:35.830 TRACE 71664 --- [nio-8080-exec-1] o.a.c.DefaultAtmosphereResourceFactory : Adding: AtmosphereResource{
uuid=04d3481c-e839-4441-8986-af86ecb9401c,
transport=LONG_POLLING,
isInScope=true,
isResumed=false,
isCancelled=false,
isSuspended=true,
broadcasters=/*,
isClosedByClient=false,
isClosedByApplication=false,
action=Action{timeout=-1, type=SUSPEND}}
Interesting is that, I got a lot of these error (it is INFO level actually):
2024-03-17 23:49:25.977 INFO 71664 --- [nio-8080-exec-2] com.vaadin.server.VaadinServlet : Requested resource [/VAADIN/push] not found from filesystem or through class loader. Add widgetset and/or theme JAR to your classpath or add files to WebContent/VAADIN folder.
2024-03-17 23:49:26.994 INFO 71664 --- [nio-8080-exec-4] com.vaadin.server.VaadinServlet : Requested resource [/VAADIN/push] not found from filesystem or through class loader. Add widgetset and/or theme JAR to your classpath or add files to WebContent/VAADIN folder.
2024-03-17 23:49:29.014 INFO 71664 --- [nio-8080-exec-7] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
2024-03-17 23:49:31.018 INFO 71664 --- [io-8080-exec-10] com.vaadin.server.VaadinServlet : Requested resource [/VAADIN/push] not found from filesystem or through class loader. Add widgetset and/or theme JAR to your classpath or add files to WebContent/VAADIN folder.
2024-03-17 23:49:32.021 INFO 71664 --- [nio-8080-exec-2] com.vaadin.server.VaadinServlet : Requested resource [/VAADIN/push] not found from filesystem or through class loader. Add widgetset and/or theme JAR to your classpath or add files to WebContent/VAADIN folder.
2024-03-17 23:49:36.036 INFO 71664 --- [nio-8080-exec-7] com.vaadin.server.VaadinServlet : Requested resource [/VAADIN/push] not found from filesystem or through class loader. Add widgetset and/or theme JAR to your classpath or add files to WebContent/VAADIN folder.
2024-03-17 23:49:37.047 INFO 71664 --- [nio-8080-exec-9] com.vaadin.server.VaadinServlet : Requested resource [/VAADIN/push] not found from filesystem or through class loader. Add widgetset and/or theme JAR to your classpath or add files to WebContent/VAADIN folder.
2024-03-17 23:49:41.049 INFO 71664 --- [nio-8080-exec-4] com.vaadin.server.VaadinServlet : Requested resource [/VAADIN/push] not found from filesystem or through class loader. Add widgetset and/or theme JAR to your classpath or add files to WebContent/VAADIN folder.
2024-03-17 23:49:42.061 INFO 71664 --- [nio-8080-exec-6] com.vaadin.server.VaadinServlet : Requested resource [/VAADIN/push] not found from filesystem or through class loader. Add widgetset and/or theme JAR to your classpath or add files to WebContent/VAADIN folder.
2024-03-17 23:49:46.069 INFO 71664 --- [nio-8080-exec-1] com.vaadin.server.VaadinServlet : Requested resource [/VAADIN/push] not found from filesystem or through class loader. Add widgetset and/or theme JAR to your classpath or add files to WebContent/VAADIN folder.
2024-03-17 23:49:47.078 INFO 71664 --- [nio-8080-exec-3] com.vaadin.server.VaadinServlet : Requested resource [/VAADIN/push] not found from filesystem or through class loader. Add widgetset and/or theme JAR to your classpath or add files to WebContent/VAADIN folder.
2024-03-17 23:49:51.081 INFO 71664 --- [nio-8080-exec-8] com.vaadin.server.VaadinServlet : Requested resource [/VAADIN/push] not found from filesystem or through class loader. Add widgetset and/or theme JAR to your classpath or add files to WebContent/VAADIN folder.
2024-03-17 23:49:52.094 INFO 71664 --- [io-8080-exec-10] com.vaadin.server.VaadinServlet : Requested resource [/VAADIN/push] not found from filesystem or through class loader. Add widgetset and/or theme JAR to your classpath or add files to WebContent/VAADIN folder.
2024-03-17 23:49:56.098 INFO 71664 --- [nio-8080-exec-5] com.vaadin.server.VaadinServlet : Requested resource [/VAADIN/push] not found from filesystem or through class loader. Add widgetset and/or theme JAR to your classpath or add files to WebContent/VAADIN folder.
2024-03-17 23:49:57.111 INFO 71664 --- [nio-8080-exec-7] com.vaadin.server.VaadinServlet : Requested resource [/VAADIN/push] not found from filesystem or through class loader. Add widgetset and/or theme JAR to your classpath or add files to WebContent/VAADIN folder.
2024-03-17 23:50:01.113 INFO 71664 --- [nio-8080-exec-2] com.vaadin.server.VaadinServlet : Requested resource [/VAADIN/push] not found from filesystem or through class loader. Add widgetset and/or theme JAR to your classpath or add files to WebContent/VAADIN folder.
2024-03-17 23:50:02.149 INFO 71664 --- [nio-8080-exec-4] com.vaadin.server.VaadinServlet : Requested resource [/VAADIN/push] not found from filesystem or through class loader. Add widgetset and/or theme JAR to your classpath or add files to WebContent/VAADIN folder.
2024-03-17 23:50:06.134 INFO 71664 --- [nio-8080-exec-9] com.vaadin.server.VaadinServlet : Requested resource [/VAADIN/push] not found from filesystem or through class loader. Add widgetset and/or theme JAR to your classpath or add files to WebContent/VAADIN folder.
2024-03-17 23:50:07.171 INFO 71664 --- [nio-8080-exec-1] com.vaadin.server.VaadinServlet : Requested resource [/VAADIN/push] not found from filesystem or through class loader. Add widgetset and/or theme JAR to your classpath or add files to WebContent/VAADIN folder.
2024-03-17 23:50:11.145 INFO 71664 --- [nio-8080-exec-6] com.vaadin.server.VaadinServlet : Requested resource [/VAADIN/push] not found from filesystem or through class loader. Add widgetset and/or theme JAR to your classpath or add files to WebContent/VAADIN folder.
BUT this error is suspicious:
IllegalStateException: Session has already been set.
2024-03-17 23:55:02.306 ERROR 71664 --- [nio-8080-exec-9] com.vaadin.server.DefaultErrorHandler :
java.lang.IllegalStateException: Session has already been set. Old session: com.vaadin.server.VaadinSession@62bc9424 for jmixVaadinServlet. New session: com.vaadin.server.VaadinSession@16549935 for jmixVaadinServlet.
at com.vaadin.ui.UI.setSession(UI.java:502) ~[vaadin-server-8.14.3-4-jmix.jar:8.14.3-4-jmix]
at com.vaadin.server.communication.UIInitHandler.getBrowserDetailsUI(UIInitHandler.java:189) ~[vaadin-server-8.14.3-4-jmix.jar:8.14.3-4-jmix]
I will try it on AWS…
Thank you.
Regards
Tomas