Network Deployment (Distributed operating systems), v8.0 > Set up the application serving environment > Administer application servers > Manage shared libraries


Create shared libraries


Overview

Shared libraries are files used by multiple applications. Create a shared library to reduce the number of duplicate library files on the system.

Determine the full path name or directory of each library file for which you want a shared library.

To make a library file available to multiple applications deployed on a server, create one or more shared libraries for library files that the applications need. When you create the shared libraries, you can use variables within the library file class paths.

We can...


Create shared libraries

  1. Go to the Shared libraries page.

      Environment | Shared libraries

  2. Select a shared library scope.

    Change the scope of the collection table to see what shared libraries are in a particular cell, node or server.

    1. Select a cell, node, or server.

      On a multiple-server product, you also can select a cluster.

    2. Click Apply.

    After creating a shared library, you can see whether a shared library can be used on a specific node. Select a scope to see what shared libraries are available to applications installed on or mapped to that scope.

  3. Click New.

  4. Configure the shared library.

    1. On the shared library settings page, specify the name, class path, and any other variables for the library file that are needed.

    2. If required, specify a native library path

    3. To have only one instance of a version of a class shared among applications or modules, make the shared library an isolated shared library. Select...

        Use an isolated class loader for this shared library

      Using an isolated shared library can reduce the memory footprint when a large number of applications share the library.

    4. Click Apply.


What to do next

Use the admin console, associate your shared libraries with specific applications or modules or with the class loader of an application server. Associating a shared library file with a server class loader associates the file with all applications on the server.

If you enabled...

...associate the shared library with applications or web modules. If you associate the shared library with a server, the product ignores this setting and still adds files in the shared library to the application server class loader. The product does not use an isolated shared library when you associate the shared library with a server.

Alternatively, you can use an installed optional package to associate your shared libraries with an application.


Related

Configure native libraries in shared libraries Installed optional packages Associate shared libraries with applications or modules
Associate shared libraries with servers
Manage shared libraries
Use installed optional packages


Related

Shared library collection

+

Search Tips   |   Advanced Search