Details
-
Bug
-
Resolution: Fixed
-
Critical
-
13.9-rc-1
-
None
-
Windows 10 Pro 64 bit, Chrome 94, using a local instance XWiki 13.9 RC1 on PostgreSQL 14, Tomcat 9.0.54
-
Unknown
-
N/A
-
N/A
-
Description
STEPS TO REPRODUCE
- Start an XWiki instance with Tomcat 9 (tested with 9.0.54)
- Install XWiki Platform - Realtime - Wiki - UI application (or/and XWiki Platform - Realtime - WYSIWYG - UI)
- If the case, go to 'XWikiPreferences' page, edit it in object mode and add an object of type 'XWiki.EditorBindingClass' and set (for XWiki Platform - Realtime - Wiki - UI):
Data Type: 'org.xwiki.rendering.syntax.SyntaxContent#text'
Role Hint: 'realtime-wiki'
4. Edit a page in Wiki mode and observe the JS console
EXPECTED RESULTS
The user is connected to the collaborative session.
ACTUAL RESULTS
The connection to the collaborative session doesn't succeed and in browser's JS console there are some error messages (see screenshots attached):
WebSocket connection to 'ws://localhost:1115/xwiki/websocket/xwiki/netflux' failed:
In XWiki console, when the server starts, there is the following warning displayed:
2021-10-21 15:36:29,943 [main] WARN x.w.i.XWikiEndpointInitializer - The servlet container doesn't support the Java API for WebSocket (JSR 356).
The issue does not reproduce on Jetty.
Attachments
Issue Links
- relates to
-
XWIKI-19232 WebSocket connections fail on Tomcat 9.0.56 with Docker
- Closed