Bug 1130407
Summary: | Websockets for Tomcat 7 (JBoss EWS 2.0) cartridge does not work | ||
---|---|---|---|
Product: | OpenShift Online | Reporter: | Leonardo Uribe <lu4242> |
Component: | Image | Assignee: | Andy Goldstein <agoldste> |
Status: | CLOSED NOTABUG | QA Contact: | libra bugs <libra-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 2.x | CC: | jokerman, lu4242, mmccomas |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-08-15 18:50:18 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Leonardo Uribe
2014-08-15 07:27:02 UTC
EWS 2 ships with Tomcat 7.0.40, which does provide support for WebSockets, but it doesn't provide support for JSR 356, which enables scanning for classes annotated with @ServerEndpoint etc. Could you try the examples that ship with Tomcat 7.0.40 and see if they work for you? Tested using the examples from the 7.0.40 Tomcat release - they work fine. If/when EWS supports JSR 356, we can look into possibly upgrading the EWS cartridge. I finally have some time to try it and I confirm that with Tomcat 7 (JBoss EWS 2.0) cartridge shipping 7.0.40 websockets works. It is unfortunate that JSR 356 is not supported. I tried the native websockets with Tomcat 7.0.55 (DIY cartridge) and it doesn't work, which is weird, because it should but maybe there was a change in some point of time. Anyway, I was just looking for a solution that allowed me to use Tomcat as web server. Thanks for your help :). |