WAS v8.5 > Deploy applications > Deploy enterprise applications > Install enterprise application files with the console

Example: Installing a web services sample with the console

WAS v8.5 provides a web services sample application that we can install on an application server.

Download and extract the JaxWSServicesSample sample application. Ensure the product installation has a v7.x or later application server onto which we can install the Web Services Sample.

The JaxWSServicesSamples.ear enterprise application and supporting Java archives (JAR) files are located in the installableApps directory within the JaxWSServicesSamples sample application.

This topic describes how to install and start the JaxWSServicesSamples.ear enterprise application using an dmgr console.

  1. Click Applications > New Application > New Enterprise Application in the console navigation tree.

  2. On the first Preparing for the application installation page, specify to install JaxWSServicesSamples.ear.

    1. Click Local file system or Remote file system and specify the full path name of the JaxWSServicesSamples.ear file.

        .../installableApps/JaxWSServicesSamples.ear

    2. Click Next.

  3. On the second Preparing for the application installation page, select the fast path option.

    1. Select Fast Path - Prompt only when additional information is required.

    2. Click Next.

  4. Click Next on each page until you reach the Summary page.

    Do not go directly from Step 1 to the Summary page. You must click Next on each page that has mandatory settings to enter values for those settings. Simply click Next to enter the default values. You optionally can change the values to suit the environment.

  5. On the Summary page, verify the cell, node, and server onto which the application modules will install, and then click Finish.
  6. Examine the application installation progress messages.

    If the application installs successfully, the message Application JaxWSServicesSamples installed successfully is displayed. Click Save. After the configuration changes are saved, we can see the name of the application in the list of deployed applications on the Enterprise applications page accessed by clicking Applications > Application Types > WebSphere enterprise applications in the console navigation tree.

    If the application does not install successfully, read the messages to identify why the installation failed. Correct problems with the server or application and try installing the application again.


Results

The JaxWSServicesSamples application is in the list of deployed applications on the Enterprise applications page.

After the application installs successfully, do the following:

  1. Start the application.

    On the Enterprise applications page, select the check boxes beside JaxWSServicesSamples, and then click Start.

  2. Test the application. Point the web browser at:

      http://localhost:9080/wssamplesei/demo

    If the localhost address does not load, substitute the host name (IP address) of the computer for localhost; for example, http://9.22.33.44:9080/wssamplesei/demo.

    If we have another WebSphere Application Server installation on your machine, the server port number is likely not 9080. See the Ports table in the dmgr console to find the WC_defaulthost server port number. Click Servers > Server Types > WebSphere application servers > server1 > Ports. The Port descriptions table lists the important ports.

    Port descriptions. Use the WC_defaulthost port in the URL to test the sample.

    Port name Description
    WC_adminhost Port used to open an unsecure dmgr console in the URL http://host_name:administrative_port/ibm/console
    WC_adminhost_secure Port used to open a secure dmgr console in the URL http://host_name:administrative_port/ibm/console
    WC_defaulthost Port used to test running applications in the URL http://host_name:server_port/servlet_name
    WC_defaulthost_secure Port used to securely test running applications in the URL http://host_name:server_port/servlet_name


Related


Example: Installing an EAR file using the default bindings
Start or stop enterprise applications

Samples documentation


Reference:

Prepare for application installation settings
Select installation options settings


+

Search Tips   |   Advanced Search