+

Search Tips   |   Advanced Search

Install enterprise application files

As part of deploying an application, you install application files on a server configured to hold installable modules.

Before we can install the Java EE application files on an application server, you must assemble modules as needed.

Also, before you install the files, configure the target application server. As part of configuring the server, determine whether the application files can be installed to the deployment targets.

Supported configurations: Installation of new Java EE specification levels are not allowed on deployment targets that do not support the specified Java EE level. For example, if an application contains modules with an EJB deployment descriptor level of 3.1 (part of Java EE 6), the application cannot be installed on an application server that does not support Java EE 6, such as application server versions prior to Version 8. Further, if an application contains Java EE 6 annotations, the application cannot be installed on an application server that does not support the Java EE 6 specification level, even if the application contains an EJB deployment descriptor for a previous version of the supported Java EE specification level; for example, EJB 3.0 which is part of Java EE 5.

We can install the following enterprise modules on a server:

Application client files can be installed in a WAS configuration but cannot be run on a server.

Complete the following steps to install the files.

  1. Determine which method to use to install the application files. The product provides several ways to install modules.

  2. Install the application files using

    • Administrative console

    • (dist)(zos) Drag and drop to a monitored directory

    • wsadmin scripts

    • Java administrative programs that use JMX APIs

  3. Start the deployed application files using

    • Administrative console

    • wsadmin startApplication

    • Java programs that use ApplicationManager or AppManagement MBeans


What to do next

Save the changes to the administrative configuration.

When saving the configuration in multiple-server environments, synchronize the configuration with the nodes where the application is expected to run.

Avoid trouble:

gotcha

Important: After any change to application deployment or mapping, it is always best to generate and propagate the plugin-cfg.xml. For the production environment, make sure the generated plugin-cfg.xml is correct because the propagation of the plugin to the target web server will cause the plugin configuration properties to be reloaded.

Next, test the application. For example, point a web browser at the URL for a deployed application. Typically, the URL is http://hostname:9060/web_module_name, where hostname is the 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.

If the application contains many classes with annotations and takes a long time to deploy, we can reduce annotation searches to speed up deployment. See the topic on reducing annotation searches during application deployment.


Subtopics


Related tasks:
Assemble applications

  • Install enterprise application files with the console
  • Example: Install an EAR file using the default bindings
  • Example: Install a web services sample with the console
    (dist)(zos) Install enterprise application files by adding them to a monitored directory
    (dist)(zos) Install enterprise application files by adding properties files to a monitored directory
  • Use application properties files to install, update, and delete enterprise application files
  • Start or stop enterprise applications
  • Configure enterprise application files
  • Deploy
  • Install enterprise applications
  • Start applications
  • Use administrative programs (JMX)
  • Reducing annotation searches during application deployment
  • Troubleshooting deployment