Disabling an applicationAdded by IBM on February 11, 2013 | Version 1 (Original)
|You 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 begin
Only perform this task if you want to disable an application temporarily.
Do not disable applications that are used by all of the other applications, such as the News or Search applications.
Parent topic: Customizing the deployment
Starting the wsadmin client
Applying common configuration property changes
Changing common configuration property values
- Open the Integrated Solutions Console of the WebSphere® Application Server 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:
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, you must pick the node where the file is stored. This information is not used by the wsadmin client when you are making configuration changes.
- Enter the following command to 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 WebSphere Application Server cell hosting the IBM Connections application. This argument is case-sensitive, so type it with care. If you do not know the cell name, type the following command while in the wsadmin command processor: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:
is the name of the application that you are disabling.
- After making changes, you must check the configuration files back in and you 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 your changes.
- Stop the WebSphere Application Server clusters, and then restart the WebSphere Application Server clusters.