user120513
user120513

Reputation: 531

Websockets on Openshift

My web app failed to deploy on Openshift with an xml parser exception complaining unexpected element 'enable websockets' encountered in the jboss-web.xml file:

    <?xml version="1.0" encoding="UTF-8"?>
    ​<jboss-web>
​       <enable-websockets>true</enable-websockets>
​    </jboss-web>

Question: How to configure JBoss AS 7 on Openshift to use websockets ?

Any help is appreciated. Thanks.

Upvotes: 1

Views: 449

Answers (1)

Vijay Kumar
Vijay Kumar

Reputation: 2707

The error message is correct in the sense that the schema for jboss-web.xml does not allow for a element names 'enable-websockets', in fact it has no mention of websockets. Did you check if standalone.xml allows for that or may be there is a different config file.

Upvotes: 1

Related Questions