Previous Topic: Custom Application Deployment ArchitectureNext Topic: Verifying the Custom Application Deployment


Deploying the Custom Application WAR Files

To deploy Custom Application:

  1. Navigate to the following location:

    sample_app_installation_dir/sampleApplications

  2. Copy the customapp.war file to your application server. For example on Apache Tomcat, the location to copy the WAR file is:

    application_server_home/webapps

    Restart Apache Tomcat to extract the WAR file and to create a folder named customapp under the webapps folder.

    Note: Refer to the vendor documentation for instructions on how deploy on other supported application servers.

  3. Copy the customapp.properties file from the place where you ran the AFM Wizard to the following location:

    AFM_HOME/conf/afm

  4. (Applicable Only for IBM WebSphere 6.1) Perform the following steps to deploy WAR file on WebSphere 6.1:
    1. Log in to the IBM WebSphere administration console.
    2. Navigate to Applications > Install New Application.
    3. In the How do you want to install the application section, select the Show me all installation options and parameters option.
    4. Click Next.
    5. Click Next on the Preparing for the application installation screen.
    6. Click Continue on the Application Security Warnings screen.
    7. In the Step 1: Select install options screen, select the Precompile JavaServer Pages files option.
    8. Click Next.
    9. Click Next on the Step 2: Map modules to servers screen.
    10. In the Step 3: Provide options to compile JSPs screen, enter the value 15 in JDK Source level column.
    11. Follow the on-screen instructions and complete the deployment.
  5. (Applicable Only for IBM WebSphere 6.1) Perform the following steps after you deploy the WAR file:
    1. Log in to the IBM WebSphere administration console.
    2. Navigate to Applications > Enterprise Applications > WebSphere enterprise applications.
    3. Click the WAR file link.
    4. Click the Class loading and update detection link.
    5. In the Class loader order section, select the Classes loaded with local class loader first option.
    6. In the WAR class loader policy section, select the Single class loader for application option.
    7. Restart IBM WebSphere.
  6. (Applicable Only for IBM WebSphere 7.0) Perform the following steps after you deploy the WAR file:
    1. Log in to the IBM WebSphere administration console.
    2. Navigate to Applications > Application Types > WebSphere enterprise applications.
    3. Click the WAR file link.
    4. Click the Class loading and update detection link.
    5. In the Class loader order section, select the Classes loaded with local class loader first (parent last) option.
    6. In the WAR class loader policy section, select the Single class loader for application option.
    7. Restart IBM WebSphere.