Creating shared libraries

Shared libraries are files used by multiple applications. Create a shared library to reduce the number of duplicate library files on your system.

About this task

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

  1. Go to the Shared Libraries page.

    Click Environment > Shared Libraries in the console navigation tree.

  2. Select a shared library scope.

    Change the scope of the collection table to see what shared libraries are in a particular cell, node or server.

    1. Select a cell, node, or server.

      For example, to make the shared library available to applications and servers on a cell, select a cell.

    2. Click Apply.
    After creating a shared library, you can see whether a shared library can be used on a specific node. Select a scope to see what shared libraries are available to applications installed on or mapped to that scope.
  3. Click New.
  4. Configure the shared library.
    1. 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 Configuring native libraries in shared libraries.

    2. Click Apply.
  5. Repeat steps 1 through 4 until you define a shared library instance for each library file that your applications need.

What to do next

Using the administrative console, associate your shared libraries with specific applications or with the class loader of an application server. 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.




In this information ...


Related concepts
Related reference

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    

Terms of Use | Feedback

Last updated: Sep 20, 2010 9:00:59 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=vela&product=was-nd-dist&topic=tcws_sharedlib_create
File name: tcws_sharedlib_create.html