WAS v8.5 > Deploy applications > Deploy enterprise applications > Install enterprise application files with the consoleExample: Installing an EAR file using the default bindings
If application bindings were not specified for all enterprise beans or resources in an enterprise application during application development or assembly, we can select to generate default bindings. After application installation, we can modify the bindings as needed using the dmgr console.
This topic assumes the application can run on a web server. This topic describes how to install a simple .ear file using the default bindings. We can follow the steps to install any application, including applications provided from the Samples information center.
- Click Applications > New Application > New Enterprise Application in the console navigation tree.
- On the first Preparing for application install page, specify the full path name of the EAR file.
- 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 in the sample_apps directory.
- Click Next.
- On the second Preparing for application install page, choose to generate default bindings.
- Expand Choose to generate default bindings and mappings.
- Select Generate default bindings.
Using the default bindings causes any incomplete bindings in the application to be filled in with default values. WAS v8.5 does not change existing bindings. By choosing this option, we can skip many of the steps of the application installation wizard and go directly to the Summary step.
- Click Next.
- If application security warnings are displayed, read the warnings and click Continue.
- On the Install New Application page, click the step number for Map modules to servers, and verify the cell, node, and server onto which the application files will install.
- From the Clusters and servers list, select the server onto which the application files will install.
- Select all of the application modules.
- Click Next.
On the Map modules to servers page, we 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 plugin-cfg.xml plugin-cfg.xml for that web server generated based on the applications which are routed through it.
- On the Install New Application page, click the step number beside Summary, the last step.
- On the Summary page, click Finish.
Examine the application installation progress messages. If the application installs successfully, save your administrative configuration. We can now see the name of the application in the list of deployed applications on the Enterprise applications page accessed by clicking Applications > Application Types > WebSphere 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.
If the application has a web module, try opening a browser on the application.
- Point a web browser at the URL for the deployed application.
The URL typically has the format http://host_name:9060/web_module_name, where host_name is your valid web server and 9060 is the default port number.
- Examine the performance of the application.
If the application does not perform as desired, edit the application configuration, then save and test it again.
Related concepts:
Application bindings
Related
Samples, v8.5 information center
Install enterprise application files with the console
Map modules to servers
Install enterprise application files
Reference:
Prepare for application installation settings
Prepare for application installation binding settings
Enterprise application page