Associating shared libraries with servers

You can associate shared libraries with the class loader of a server. Classes represented by the shared library are then loaded in a server-wide class loader, making the classes available to all applications deployed on the server.

Before you begin

This topic assumes that you have defined a shared library. The shared library represents a library file used by multiple deployed applications.

About this task

To associate a shared library with the class loader of a server, create and configure a library reference using the administrative console. A library reference specifies the name of the shared library file.

If you associate a shared library with a server class loader, do not associate the same shared library with an application.

Procedure

  1. Configure class loaders for applications deployed on the server.
    1. Click Servers > Application Servers > server_name to access the settings page for the application server.
    2. Set values for the application Class loader policy and Class loading mode of the server.

      For information on these settings, see Application server settings and Class loaders.

  2. Create a library reference for each shared library file that your application needs.
    1. In the administrative console, click Servers > Application Servers > server_name > Java and Process Management > Class loader > class_loader_ID .
    2. Click Shared library references to access the Library Reference page.
    3. Click Add.
    4. On the settings page for a library reference, name the library reference. The name identifies the shared library file that your application uses.
    5. Click Apply. The name of the library reference is shown in the list on the Library Reference page.
    Repeat the previous steps until you define a library reference for each shared library that your application needs.



In this information ...


Related concepts

IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic Task topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Aug 30, 2013 6:03:36 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=pix&product=was-base-iseries&topic=tcws_sharedlib_server
File name: tcws_sharedlib_server.html