We package our application as a .war file, we advertise support for JBoss AS5 and instruct our clients to copy the .war into their JBoss \'deploy\' directory, and start up their
Change your deployment mode from manual to auto which does this deployment automatically.
Steps :
1) Open your jboss configuration file : standalone.xml.
2) Look for deployment-scanner and add auto-deploy-zipped="true"
3) Restart your Jboss.
Now it will automatically pick your zipped version of ear/war/jar/sar files for deployment.