Shared library settings
Use this page to make a library file available to deployed applications.
To view this console page, click...
Environment | Shared Libraries | shared_library_name
Configuration tab
- Scope
Level of the location of the shared library configuration file.
On single-server installations, shared library has its configuration file in a location that pertains to the cell, node, or server level.
On multiple-server installations, the shared library has its configuration file in a location that pertains to the cell, node, server, or cluster level.
Data type String
- Name
Specify a name for the shared library.
Data type String
- Description
Describes the shared library file.
Data type String
- Classpath
Specify a list of paths that the product searches for classes and resources of the shared library.
If a path in the list is a file, the product searches the contents of that JAR or zip file. If a path in the list is a directory, then the product searches the contents of JAR and zip files in that directory. For performance reasons, the product searches the directory itself only if the directory contains subdirectories or files other than JAR or zip files.
Data type String Units Class path
- Native Library Path
Specify the class path for locating platform-specific library files for shared library support; for example, .dll, .so, or *SRVPGM objects.
If you specify a value for Native Library Path, the native libraries are not located by the WAS application or shared library class loaders unless the following conditions exist:
- A class loads the native libraries.
- The application invokes a method in this class which loads the libraries.
For example, in the class that loads the native library, call System.loadLibrary(native_library) in a static block:
static {System.loadLibrary("native_library");
- The Classpath specified on this page contains the class that loads the libraries.
Native libraries cannot be loaded more than once by a class loader. Thus, it is preferable for native libraries to be loaded within shared libraries associated with the class loader of an appserver.
Data type String Units Class path
Related tasks
Manage shared libraries
Configure native libraries in shared libraries