Reputation: 531
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
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