JBoss.orgCommunity Documentation
The 0.1 release of SwitchYard supports the following deployment options:
JBoss Application Server 6.0 Final
JBoss Application Server 7.0 Beta 3
At present, you must use the SwitchYard distribution of AS6 or AS7 with SwitchYard pre-installed. Future releases of SwitchYard will add support for additional runtimes and the option for installing SwitchYard in an existing application server.
Deployment on JBoss AS6 is the same old, same old. Simply copy your SwitchYard application to the the server's deploy directory and the SwitchYard deployer will take care of the rest.
cp myapp.jar $JBOSS_HOME/server/default/deploy/.
Undeploying a SwitchYard application is equally unsurprising. Just remove the app jar from the deploy directory like so:
rm $JBOSS_HOME/server/default/deploy/myapp.jar
Things are a bit different in JBoss AS7. Auto-deploy still exists, but there are some subtle changes to the process. Deploy is still just a matter of copying the archive to the server, but the target directory should be
standalone/deployments
.
cp myapp.jar $JBOSS_HOME/standalone/deployments/.
To undeploy the application, you need to remove the
.deployed
marker file that is generated upon successful deployment of your application:
rm $JBOSS_HOME/standalone/deployments/myapp.jar.deployed
You can find more information on the ins and outs of deployment on JBoss AS7 in the
README.txt
file contained in the standalone/deployments directory of the distribution.