Example: 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, you can select to generate default bindings. After application installation, you can modify the bindings as needed using the administrative console.
Before you begin
The application can run on a web server.
About this task
The steps describe how to install a simple .ear file using the default bindings. You can follow the steps to install any application, including applications provided in the Samples documentation.
Procedure
What to do next
Examine the application installation progress messages. If the application installs successfully, save your administrative configuration. You can now see the name of your application in the list of deployed applications on the Enterprise applications page accessed by clicking
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.
- Point a web browser at the URL for the deployed application.
The URL typically has the format
http://host_name:9080/web_module_name
, where host_name is your server name or IP address and 9080 is the default port number. For a secure URL, use thehttps
protocol and the9443
default secure port number. - Examine the performance of the application.
If the application does not perform as wanted, edit the application configuration, then save and test it again.
If you have another WebSphere® Application Server installation on your
machine, the server port number is likely not 9080 or
9443. See the Ports table in the administrative console to
find the WC_defaulthost
or WC_defaulthost_secure
server port
number. Click . The Port descriptions table lists the default host ports.
Port name | Description |
---|---|
WC_defaulthost |
Port used to test running applications in the URL
http://host_name:server_port/servlet_name |
WC_defaulthost_secure |
Port used to securely test running applications in the URL
https://host_name:server_port/servlet_name |