Deploying Web applications

You can export Web applications from EAServer Manager to deploy them on another server. EAServer supports two archive formats for Web applications:

NoteConsider the synchronize feature instead of using archives If you are deploying between EAServer installations, you may find the synchronize feature easier than exporting and importing archives. Synchronization replicates a Web application directly between servers. See Chapter 6, “Clusters and Synchronization” for more information.

StepsExporting a Web application

  1. Expand the Web Applications folder, then highlight the icon that represents your application.

  2. If you are exporting in WAR format, choose File | Export | J2EE WAR. If you are exporting in EAServer JAR format, choose File | Export | EAServer JAR.

  3. Enter a path and file name for the file to be created, including the .war or .ear extension.

  4. If you are exporting in WAR format, optionally deselect the Export with EAServer XML Configuration File option if you do not want the archive to include an EAServer XML configuration file.

  5. Click Next. The Export wizard creates an archive of your Web application, displaying status information in the window.

  6. When the export is complete, click Close.

StepsImporting a Web application

  1. Highlight the top-level Web Applications folder. If importing a WAR file, choose File | Deploy | J2EE WAR. If importing an EAServer JAR, choose File | Deploy | EAServer JAR.

  2. Enter the path to the WAR or JAR file.

  3. Optionally, check to enable:

  4. Click Next. The Deploy wizard reads the file and creates the Web application. Any errors are displayed in the status window. Review the status information, then click Close.

NoteUse the status dialog as a to-do list In the deployment status dialog box, EAServer Manager displays warnings for each setting that requires further attention before you can run the Web application. You can copy and paste this text to a text editor to use as a to-do list.