Manage shared libraries

 

If your deployed applications use shared library files, set variables for the library files and associate the files with specific applications or with an Application Server, which associates the files with all applications on the server. Use the Shared Libraries page to define new shared library files to the system and remove them.

  1. Identify library files and their classpaths.

    1. Click...

      Environment | Shared Libraries

    2. Change the scope of the collection table to see what shared libraries are in a cell, node, or server. Select the cell, a node, or a server and click Apply.

    3. Click New.

    4. On the settings page for a shared library, specify the name, classpath, and any other variables for the library file that are needed.

    5. Click Apply.

    Repeat this step until you define a shared library instance for each library file that your applications need.

  2. Associate shared library files with an application that must use one or more shared libraries.

    Use this step to associate a file with an application or perform the next step to associate a file with an Application Server, which associates the file with every application on the server.

    1. Click Applications > Enterprise Applications in the console navigation tree.

    2. Click on the installed application that uses the shared libraries.

    3. Click Libraries to access the Library Ref page.

    4. Click Add.

    5. On the settings page for a library reference, specify variables for the library reference as needed.

    6. Click Apply.

    Repeat this step until you define a library reference instance for each library file that your application requires.

  3. Click Servers > Application Servers > server to associate a shared library with an Application Server for the run-time environment.

    Use this step to associate a file with an Application Server, which associates the file with every application on the server, or perform the previous step to associate a file with an application.

    1. Set the application class-loader (sometimes referred to as classloader) policy and application class-loader mode on the settings page for an appserver as described in Class loading.

    2. Click Libraries on the settings page for a class loader.

    3. Click Add from the Library Ref page.

    4. Specify variables for the library reference as needed on the settings page for a library reference and click OK.

    Repeat this step until you define an Application Server for each library file that your application needs.

  4. Remove a library file from the collection of shared library files by placing a checkmark beside the library you want removed on the Shared Libraries page and clicking Delete.

 

See Also

Class loaders
Shared library files
Shared library collection
Library reference collection