Deploying the Application

  1. In the Project Explorer pane, right-click TemperatureConverterPrj, then choose Run As > Run on server.

    This opens the Run On Server dialog box.

  2. Click Red Hat JBoss EAP 7.1.
  3. Click Finish.

    The application server is started and the application is deployed. Details of these steps are relayed to the Console pane.

    If publishing on the server fails, check to ensure the server is using the JBoss EAP 7.1 runtime:

    1. In the Servers view, double-click Red Hat JBoss EAP 7.1.

      This opens the server's overview page.

    2. Look in the General Information section on the server page and ensure that the Runtime Environment field is set to JBoss EAP 7.x Runtime.
    3. Save your changes then repeat from Step 1.
    Note: Depending on your default browser, you may receive an HTTP 404 error; this is because the application does not contain a user interface, and so has no screen to display on startup. You can ignore this error and proceed with running the application.