Removing a file

After a file is no longer needed, one can remove the file from an application or module deployed on a server.

 

Overview

Removing a file deletes the file from the WebSphere Application Server configuration repository and it deletes the file from the file system of all nodes where the file is installed.

 

Steps for this task (dependent on configuration)

  • Remove a file from an application.

    1. Go to the Enterprise Applications page. Click Applications > Enterprise Applications in the console navigation tree.

    2. Select the application that contains a file you want removed.

    3. Click Remove File. The Remove a file from an application page is displayed

    4. Select the URI of the file that you want removed from the application.

    5. Select Export before removing file to back up the application.

    6. Specify the location to which you want the file exported.

    7. Click Back to return to the Enterprise Applications page.

  • Remove a file from a module.

    1. Go to the settings page for the application. Click Applications > Enterprise Applications > appname in the console navigation tree.

    2. Under Related Items, click Web modules, EJB Modules, or Connector Modules.

    3. Select the module from which you want to delete a file.

    4. Click Remove File. The Remove a file from a module page is displayed.

    5. Select the URI of the file that you want removed from the module.

    6. Optional: Back up the application. Select the application name and then specify the location to which you want the file exported.

    7. Click OK to remove the file.

 

Result

The file is exported to the designated location and removed from the application or module. The application or standalone Web module that had a file removed is restarted so the changes take effect.

 

What to do next

Save the changes to your administrative configuration. Application binaries are deleted when configuration changes on the deployment manager synchronize with configurations for individual nodes.

If the application or module is deployed on a cluster and you have no more configuration changes to make, click Rollout Update on the Enterprise Applications page to propagate the changed configuration on all cluster members of the cluster on which the application or module is deployed. Rollout Update sequentially updates the configuration on the nodes that contain cluster members.


 

Related Tasks


Deploying and administering applications