+

Search Tips   |   Advanced Search

Disable applications

You might decide to disable an application temporarily for maintenance or if, for example, we are deploying the product and the application is not yet ready for use.

Only perform this task to disable an application temporarily. To remove an application from the deployment permanently, perform the steps described in the topic, Remove applications.

  1. Open the WAS console of the IBM WebSphere Application Server hosting the application.

  2. Expand Applications > Application Types, and then select WebSphere enterprise applications.

  3. Click the name of the application to disable.

  4. Click Target specific application status.

  5. Select the check box next to the cluster name, and then click Disable Auto Start.

  6. Click Save to save the changes.

  7. Click Apply, and then click OK.

  8. Start the wsadmin client

  9. Remove the link to the application from the navigation bar by editing the Connections configuration file.

    1. Access the Connections configuration file: execfile("connectionsConfig.py")

      If we are prompted to specify a service to connect to, type 1 to select the first node in the list. Most commands can run on any node. If the command writes or reads information to or from a file by using a local file path, we must select the node where the file is stored. This information is not used by the wsadmin client when we are making configuration changes.

    2. Check out Connections configuration files:

      LCConfigService.checkOutConfig("/tmp","cell_name")

      where:

      • /tmp is the temporary working directory to which configuration files are copied. The files are kept in this working directory while you edit them.

        • With Windows, use a forward slash for the directory. For example: "/tmp".

      • To determine: print AdminControl.getCell()

  10. To see a list of the properties and their current settings:

      LCConfigService.showConfig()

  11. Enter the following commands:
    LCConfigService.updateConfig("application_name.enabled", "false")
    LCConfigService.updateConfig("application_name.ssl.enabled", 
     "false")
    where application_name is the name of the application that we are disabling.

  12. After making changes, check the configuration files back in and we must do so during the same wsadmin session in which you checked them out for the changes to take effect. See Applying common configuration property changes for information about how to save and apply the changes.

  13. Stop and then restart the WAS clusters.


Parent topic:
Customize the deployment


Related:

Start the wsadmin client

Apply common configuration property changes

Remove applications