JBOSS eap 6.3 beta with websocket and stockjs - stomp.js using spring framework

后端 未结 1 1849
我寻月下人不归
我寻月下人不归 2021-01-23 14:50

I\'m using jboss eap 6.3 with websocket enabled support, the connection aparently works but in some point of the connection Sock.js throw a 500 server error that looks like:

相关标签:
1条回答
  • 2021-01-23 15:36

    According to the official documentation and other sources such as Atmosphere's wiki, it is required to:

    • have a jboss-web.xml file with a <enable-websockets>true</enable-websockets> element
    • configure the NIO connector using a provided script EAP_HOME/bin/jboss-cli.sh --connect --file=configure-http-connector.cli

    Note that Spring's reference documentation mentions Wildfly in the compatibility list, but not Jboss EAP.

    0 讨论(0)
提交回复
热议问题