WebSphere Application Server Network Deployment, Version 6.0.x     Operating Systems: AIX, HP-UX, Linux, Solaris, Windows

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 the class path used to locate the JAR files for the shared library support.

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: Dec 11, 2005 4:07:15 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, 2005. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)