Network Deployment (Distributed operating systems), v8.0 > Administer applications and their environment > Deploy and administering enterprise applications
Export enterprise applications
We can export an enterprise application to a location of your choice.
This topic assumes that we have installed an enterprise application on a server and to export the application.
Export applications enables you to back up the applications and preserve binding information for the applications. You might export the applications before updating installed applications or migrating to a later version of the product.
To export applications, use the Export button on the Enterprise applications page. Using Export produces an enhanced EAR file that contains the application as well as the deployment configuration. The deployment configuration consists of the deployment.xml and other configuration files that control the application behavior on a deployment target.
Procedure
- Click Applications > Application Types > WebSphere enterprise applications in the console navigation tree to access the Enterprise applications page.
- Select the check box beside the application and click Export.
- On the Export application EAR files page, click on the link to download the exported EAR file.
- Use the browser dialogue to specify a location at which to save the exported EAR file.
- Click Back to return to the Enterprise applications page.
Results
The file containing binding information is exported to the specified node and directory, and has the name enterprise_application_name.ear.
Use the Export button to export applications does not export any manual changes that were made to applications in the installedApps directory. To export those changes, copy and move the application files manually.
What to do next
We can edit your exported enhanced EAR file and then reinstall it. By default, installation expands an EAR file in the PROFILE_ROOT/installedApps/cell_name directory. If you specified the $(CELL) variable for Directory to install application on the Select installation options panel of the application installation wizard when you first installed the application, the cell_name directory is the current cell name.
To reinstall the enhanced EAR file, do either of the following:
- Use the Update operation available from the Enterprise applications page to upgrade the existing application installation.
The Update operation adds the application files to the PROFILE_ROOT/installedApps/cell_name directory, where cell_name is the current cell name or the name of the cell specified for Directory to install application when you first installed the application on a deployment target. The Directory to install application setting is on the Select installation options panel of the application installation wizard. If you specified the $(CELL) variable for Directory to install application when you first installed the application, the cell_name directory is the current cell name.
- Use the Applications > New application > New Enterprise Application operation to install the exported EAR file.
If you specified the $(CELL) variable for Directory to install application when you first installed the application, the cell_name directory is the current cell name. That is, if the file is originally installed on Cell1 with $(CELL) variable in the destination directory and you reinstall the enhanced EAR file on Cell2, the cell_name directory is Cell2, the current cell name.
If the $(CELL) variable was not specified for the first installation, using New Enterprise Application to reinstall an enhanced EAR file installs the application in the cell_name directory of the exported application. That is, if the application is originally installed on and exported from Cell1 and you reinstall the enhanced EAR file on Cell2, the cell_name directory is Cell1. The enhanced EAR file expands in the Cell1 directory even though the current cell name is Cell2. By default, the application destination directory contains Cell1 in its path because the deployment.xml file in the exported application has Cell1 in it.
If you exported the application from Cell1 and did not specify the $(CELL) variable when first installing the application, and to install the enhanced EAR file on a different cell, deselect Process embedded configuration on the Select installation options panel of the application installation wizard to expand the enhanced EAR file in the current cell name directory, which is not Cell1.
Enterprise (Java EE) applications
Related
Enterprise application collection
Select installation options settings