WebSphere Application Server Network Deployment, Version 6.0.x   Operating Systems: AIX, HP-UX, Linux, Solaris, Windows
             [TIP: Focusing the table of contents and search results]

Shared library settings

Use this page to make a library file available to deployed applications.

To view this administrative console page, click Environment > Shared Libraries > shared_library_name.

Configuration tab

Name

Specifies a name for the shared library.

Data type String
Description

Describes the shared library file.

Data type String
Classpath

Specifies 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

Specifies 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 WebSphere Application Server 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 application server.

Data type String
Units Class path



Related tasks
Managing shared libraries
Configuring native libraries in shared libraries
Reference topic    

Terms of Use | Feedback

Last updated: Mar 8, 2007 8:14:28 PM CST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/ucws_rsharedlib_inst.html

© Copyright IBM Corporation 2004, 2006. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)