Migrating EAR from JBOSS 5 to JBOSS 7

#1 your war in your ear has to has .war extension, even it is a folder.

#2 If you use JAX-RS for RESTful webservice, make sure you comment out 

<extension module=”org.jboss.as.jaxrs”/>

and

<subsystem xmlns=”urn:jboss:domain:jaxrs:1.0″/>  

in standalone.xml  (or domain)

 

Besides, for jersey, you have to deploy your webservice as an exploded folder in delpoyment folder ( and make sure it has .war extension )

Advertisements