Creating a server

You can create a server to identify the runtime environment that you want to use for testing your project resources. The term creating a server defines creating a pointer from the workbench to an existing installation of an application server or server profile.

To create a server:

  1. Select any of the following options:

    • In the Servers view (

      Window | Show View | Servers), right-click and select

      New | Server.

    • In the menu bar, click

      File > New > Other. Expand the

      Server folder and then select

      Server.

  2. Click Next. The New Server wizard opens. This wizard defines a new server, that contains information required to point to a specific runtime environment for local or remote testing, or for publishing to an application server.

  3. In the

    Server's host name field, you can provide the fully qualified DNS name or IP address of the host machine that where the server is running. By default, this field is pre-filled with the default address: localhost

  4. In the

    Select the server type list, select the type of server or test environment where you want to publish or test your resources.

    1. (Optional) Refer to the

      Description section for brief details about the server you have selected.

    2. (Optional) In the text field under the

      Select the server type label, you can replace the text type filter text with keywords to filter the list of available application servers. The following are examples of filter keywords:

      Apache

      Filters the list of available servers where the vendor is Apache

      WebSphere

      Filters the list of available servers where the name is WebSphere

      ejb

      Filters the list of available servers that support ejb modules.

      web

      Filters the list of available servers that support Web modules

      5.0

      Filters the list of available servers that are at version, 5.0 or supports JEE 5 specification level.

      1.2

      Filters the list of available servers that supports J2EE 1.2 specification level or any servers that may have a version-level of 1.2.

  5. Click Next and follow the instructions in the wizard to specify the details of the server that you want to create.

  6. Click Finish. The new server appears in the Servers view under the

    Server column.

 

Related tasks

Creating a WAS