2.3. Set Up a Server Using Runtime Detection

Servers can be defined from within the Java EE Web Project wizard. But for the purposes of exploring JBoss Developer Studio the procedure below defines the server first using JBoss Server Tools runtime detection.

Procedure 2.3. Define a Server Using Runtime Detection

  1. Click WindowPreferences, expand JBoss Tools and select JBoss Runtime Detection.
  2. Click Add.
  3. Select the directory containing the JBoss EAP 6.x installation and click OK. The directory is now scanned for application servers and JBoss EAP 6.x found.
    Window showing JBoss Enterprise Application Platform 6.x found by Runtime Detection.

    Figure 2.2. JBoss EAP 6.x Found by Runtime Detection

  4. To create a server for JBoss EAP 6.x, ensure the jboss-eap-6.x check box is selected and click OK.
  5. Click Apply and click OK to close the Preferences window. The server is listed in the Servers view.
    Servers view lists JBoss Enterprise Application Platform 6.x server.

    Figure 2.3. JBoss EAP 6.x Server Listed in Servers View

  6. The server is initially shown in stopped mode. Start the server by right-clicking jboss-eap-6.x and clicking Start. After a short pause, the view switches to the Console view and shows the startup output of the server.