IBM Worklight v5.0.5 > Develop IBM Worklight applications > Transport Worklight applications to test and production environments > Deploy a customization .war file to an application server

Deploy a customization .war file to WAS full profile


Overview

Install the .war file into WebSphere Application Server, configure the class loader policies, and start the application.

You have built a project, and the customization .war file is in the bin directory of the project. You have created a stand-alone profile with an application server named Worklight and the server is using the default ports.


Deploy customization .war file to WAS

  1. Log on to the WAS administration console for your IBM Worklight server...

      http://server.com:9060/ibm/console

  2. Install the Worklight customization .war file:

    1. Click...

        Applications | New | New Enterprise Application | projectName.war | Next

    2. On the "How do you want to install the application?" page, select Detailed and click Next.

    3. On the "Application Security Warnings" page, click Continue.

    4. Click until you reach Step 4 of the wizard, Map Shared Libraries.

    5. Select...

        projectName_war | Reference shared libraries | Worklight Platform Library | > button | OK

    6. Click Next until you reach the "Map context roots for web modules" page.

    7. In the Context Root field, type...

        /projectName

    8. Click Next.

    9. Click Finish.

  3. Optional: As an alternative to step 2, you can map the shared libraries as follows:

    1. Click...

        Applications | Application Types | WebSphere enterprise applications | projectName_war | Shared library references | projectName_war | Reference shared libraries | Worklight Platform Library | > button | OK

    2. Click the Save link

  4. Configure the class loader policies and then start the application:

    1. Click...

        Applications | WebSphere Enterprise Applications | projectName_war | Class loading and update detection |Classes loaded with local class loader first (parent last)

    2. Click OK.

    3. In the Modules section, click...

        Manage Modules | Worklight module | Classes loaded with local class loader first (parent last)

    4. Click OK twice.

    5. Click Save

    6. Select the Select check box for projectName_war and click Start.


Results

You can now access IBM Worklight Console at...


Parent Deploy a customization .war file to an application server





+

Search Tips   |   Advanced Search