Deploying Atmosphere Jersey in JBoss 7.1.x - Atmosphere/atmosphere GitHub Wiki
If you want to deploy any of the Atmosphere sample in JBoss, make sure you follow the following steps:
- Edit standalone/configuration/standalone.xml and comments out all jaxrs entries. This will configure Jersey instead of RESTEasy.
- Remove jboss-web.xml from WEB-INF/web.xml. This file no longers works with JBoss 7
- edit web.xml, add an init-param com.sun.jersey.config.property.packages configured to your resource's package, like
<init-param>
<param-name>com.sun.jersey.config.property.packages</param-name>
<param-value>org.foo</param-value>
</init-param>