Example: Installing an EAR file using the default bindings

If application bindings were not specified for all enterprise beans or resources in an application during application development or assembly, one can select to generate default bindings. After application installation, one can modify the bindings as needed using the administrative console.

An example of a simple .ear file installation using the default bindings follows:

  1. Go to the Preparing for application install pages.

    Click Applications > Install New Application in the console navigation tree.

  2. For Path to the new application, specify the full path name of the .ear file.

    For this example, the base file name is my_appl.ear and the file resides on a server at C:\sample_apps.

    1. Select the Remote file system radio button and click Browse.

    2. On the Browse Remote Filesystems page, click on the name of the node that holds the my_appl.ear file, C:\, sample_apps, my_appl.ear, and then OK.

  3. Now that a value is given for Specify path, on the first Preparing for application installation page, click Next.

  4. On the second Preparing for application installation page, select Generate Default Bindings and click Next.

    Using the default bindings causes any incomplete bindings in the application to be filled in with default values. Existing bindings are not changed. By choosing this option, one can skip many of the steps on the Install New Application page and go directly to the Summary step.

  5. If application security warnings are displayed, read the warnings and click Continue.

  6. On the Install New Application page, click on Summary, the last step.

  7. On the Summary panel, verify the cell, node, and server onto which the application files will install.

    1. Beside the Cell/Node/Server option, click Click here.

    2. On the Map modules to servers panel, select the server onto which the application files will install from the Clusters and Servers list, click Module to select all of the application modules, and click Next.

      Note that on the Map modules to servers panel, one can map modules to other servers such as Web servers. If you want a Web server to serve the application, use the Ctrl key to select an application server or cluster and the Web server together in order to have the plug-in configuration file plugin-cfg.xml for that Web server generated based on the applications which are routed through it.

    Because my_appl.ear does not require any additional settings to complete an installation, the Summary panel is displayed again.

  8. On the Summary panel, click Finish.

Examine the application installation progress messages. If the application installs successfully, save your administrative configuration. We can now see the name of your application in the list of deployed applications on the Enterprise Applications page accessed by clicking Applications > Enterprise Applications in the console navigation tree.

If the application does not install successfully, read the messages to identify why the installation failed. Correct problems with the application as needed and try installing the application again.


 

See Also


Application bindings

 

Related Tasks


Installing application files with the console
Mapping modules to servers
Installing application files