After a file is no longer needed, you can remove the file from
an application or module deployed on a server.
Why and when to perform this task
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.
- Go to the Enterprise
Applications page. Click Applications > Enterprise Applications in
the console navigation tree.
- Select the application that contains a file you want removed.
- Click Remove File. The Remove a file
from an application page is displayed
- Select the URI of the file that you want removed from the application.
- Select Export before removing file to back up the application.
- Specify the location to which you want the file exported.
- Click Back to return to the Enterprise Applications page.
- Remove a file from a module.
- Go to the settings
page for the application. Click Applications > Enterprise
Applications > application_name in the console navigation tree.
- Under Related Items, click Web modules, EJB
Modules, or Connector
Modules.
- Select the module from which you want to delete a file.
- Click Remove File. The Remove a file
from a module page is displayed.
- Select the URI of the file that you want removed from the module.
- Optional: Back up the application. Select
the application name and then specify the location to which you want the file
exported.
- 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. In the single-server product, application
binaries are deleted after you save the changes.