Administration Console Online Help

Previous Next Open TOC in new window
Content starts here

Install a Java EE library

A Java EE library is a standalone EJB or Web application module, multiple EJB or Web application modules packaged in an enterprise application (EAR), or a single plain JAR file that is registered with the Java EE application container upon deployment. After the library has been installed and started, other deployed modules can reference the library.

Installing a Java EE library refers to making its physical file or directory known to WebLogic Server. A Java EE library can be installed as an archived EAR file or as an exploded directory. After you have installed the Java EE library, you can start it so that other deployed modules can start using it.

To install a Java EE library, follow these steps:

  1. If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit (see Use the Change Center).
  2. In the left pane of the Console, click Deployments.

    A table in the right pane displays the installed applications, modules and Java EE libraries. Java EE libraries are specified with the Library entry in the Type column.

  3. Click Install.
  4. Using the Install Application Assistant, locate the archive file or exploded directory that corresponds to the Java EE library you want to install. If you specify an exploded directory, WebLogic Server installs all components it finds in and below the specified directory.

    Note: You can install only the following types of archive files (or their corresponding exploded directories) as Java EE libraries: EJB JARs, Web application WARs, EAR files that contain EJB JARs or WARs, or plain JAR files that contain compiled classes.

  5. When you have located the archive file to configure, click Next.
  6. Select Install this deployment as a library.
  7. In Scope, select whether you want to install the library globally, to a resource group template, or to a resource group at the domain or partition level.
  8. Click Next.
  9. Select the servers and clusters to which you want to deploy the Java EE library. Be sure you target all the server instances and clusters to which modules or applications that reference the Java EE library are deployed.

    Note: If you have not created additional Managed Servers or clusters, you will not see this assistant page

  10. Click Next.
  11. Optionally update settings about the deployment. These settings include:
    • The deployed name of the Java EE library. If the library contains a MANIFEST.MF file in the META-INF directory, the value of the Extension-Name attribute automatically appears in the text field.
    • The security model that is applied to the Java EE library.
    • How the source files (EAR or exploded directory contents) are made available to all targeted Managed Servers and clusters.

    Typically, the default values are adequate.

  12. Click Next.
  13. Review the configuration settings you have chosen, and click Finish to complete the installation.
  14. If you chose to immediately go to the deployment's configuration screen, select the pages to set additional configuration settings for the Java EE library. If you chose to change this information later, the Console returns you to the Deployments table, which now includes the newly installed Java EE library. In the Deployments table, Java EE libraries are specified with the Library entry in the Type column.
  15. To activate these changes, in the Change Center of the Administration Console, click Activate Changes.
    Not all changes take effect immediately—some require a restart (see Use the Change Center).

Back to Top