Deploying the application to JBoss

You can export a web application from Web Applications Manager and deploy it to JBoss. To do so, follow the steps below.

Steps:
  1. In Web Applications Manager, click the Applications panel, check the box next to the web application you want to deploy to JBoss, then click Export.
  2. On the web application export page, configure security if desired and click Export.
  3. In the File Download dialog box that appears, click Save. Save the .war file to a folder on your computer.
  4. Start JBoss. You'll need to make sure you've set a JAVA_HOME system variable that points to a Java 6 version of the JDK before starting JBoss.
  5. Copy the .war file to the folder <JBoss Installation Directory>\server\<configuration name>\deploy. This will "hot deploy" the web application, which means it will automatically deploy without having to restart JBoss.

Testing your deployment

Open a browser and go to http://<JBOSS Server Name>:<JBoss port>/<web application name> (for example: http://localhost:8080/myapp).

10/19/2012