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 your system.
The first step for making a library file available to multiple applications deployed on a server is to create a shared library for each library file that your applications need. When you create the shared libraries, set variables for the library files.
Use the Shared Libraries page to create and configure shared libraries.
Procedure
- Go to the Shared Libraries page.
Click...
Environment | Shared Libraries...in the console navigation tree.
- Change the scope of the collection table to see what shared libraries are in a particular cell, node or server.
- Select a cell, node, server, or cluster.
- Click Apply.
- Click New.
- Configure the shared library.
- On the settings page for a shared library, specify the name, class path, and any other variables for the library file that are needed.
If the shared library specifies a native library path, refer to Configure native libraries in shared libraries.
- Click Apply.
- Repeat steps 1 through 4 until you define a shared library instance for each library file that your applications need.
What to do next
Use the console, associate your shared libraries with specific applications or modules or with the class loader of an appserver. Associating a shared library file with a server class loader associates the file with all applications on the server.
Alternatively, you can use an installed optional package to associate your shared libraries with an application.
Configure native libraries in shared libraries
Related concepts
Installed optional packages
Related tasks
Manage shared libraries
Use installed optional packages
Related Reference
Shared library collection