As far as I know, 3 approaches to deploy EAR to JBoss AS7.1:
- Place EAR file to “standalone/deployments” folder.
- Web Console > Runtime > Deployments > Manage Deployments > Add Content
Select EAR and click “Next”. And click “Save”.
Enable the new Deployment.
- Use Eclipse to Deploy. Right click Server JBoss AS7.1. Click “Add and Remove…”.
Choose EAR file and click “Finish”.
Note: When using Eclipse to integrate JBoss AS 7.1. You need to install JBoss Tool 3.3 and your Eclipse version should be Indigo.
Here is configuration of JBoss Server in Eclipse: