Disable an applicationYou might decide to disable an application temporarily for maintenance or if, for example, you are deploying the product and this application is not yet ready for use.
Before you beginOnly perform this task if you want to disable an application temporarily.
Note: Do not disable applications that are used by all of the other applications, such as the News or Search applications.
- Open the Integrated Solutions Console of the WAS that is hosting the application.
- Expand Applications -> Application Types, and then select WebSphere enterprise applications.
- Click the name of the application that you want to disable.
- Click Target specific application status.
- Select the check box next to the cluster name, and then click Disable Auto Start.
- Click Save to save your changes.
- Click Apply, and then click OK.
- Start the wsadmin client from the following directory of the system on which you installed the deployment manager:
Note: You must start the client from this directory or subsequent commands that you try to run will not execute properly. See Starting the wsadmin client for more details.
- Remove the link to the application from the navigation bar by editing the IBM Connections configuration file.
- Enter the following command to access the IBM Connections configuration file: execfile("connectionsConfig.py")
If prompted to specify a service to connect to, type 1 to pick 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 using a local file path, pick the node where the file is stored. This information is not used by the wsadmin client when you are making configuration changes.
- Check out the IBM Connections configuration files:
- <working_directory> is the temporary working directory to which the configuration XML and XSD files are copied and are stored while you make changes to them. Use forward slashes to separate directories in the file path, even if you are using the Microsoft Windows operating system.
AIX and Linux only: The directory must grant write permissions or the command does not run successfully.
- <cell_name> is the name of the WAS cell hosting the IBM Connections application. This argument is case-sensitive, so type it with care. To obtain the cell name:print AdminControl.getCell()
- AIX or Linux:LCConfigService.checkOutConfig("/opt/temp","foo01Cell01")
- Microsoft Windows:LCConfigService.checkOutConfig("c:/temp","foo01Cell01")
- To see a list of the properties and their current settings, use the following command:
- 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 you are disabling.
- After making changes, check the configuration files back in and do so during the same wsadmin session in which you checked them out for the changes to take effect. See Apply common configuration property changes for information about how to save and apply your changes.
- Stop the WAS clusters, and then restart the WAS clusters.
Parent topicAdminister applications
Starting the wsadmin client
Apply common configuration property changes
Change common configuration property values