Skip to content

Deploying Atmosphere Jersey in JBoss 7.1.x

jfarcand edited this page Mar 20, 2013 · 1 revision

If you want to deploy any of the Atmosphere sample in JBoss, make sure you follow the following steps:

  1. Edit standalone/configuration/standalone.xml and comments out all jaxrs entries. This will configure Jersey instead of RESTEasy.
  2. Remove jboss-web.xml from WEB-INF/web.xml. This file no longers works with JBoss 7
  3. 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>
Clone this wiki locally