Adding a shared library to a WebSphere Application Server v6.0

Shared library allows you to specify a container-wide list of library entries that is used when deploying an application.

Prerequisite

To add share library,...

  1. Switch to the J2EE perspective.

  2. In the Project Explorer view, expand the Enterprise Applications folder.

  3. Under the enterprise application project folder for which you want to add a shared library, double-click the Deployment Descriptor to open the Application Deployment Descriptor editor.

  4. Select the Deployment tab at the bottom of the editor.

  5. Expand the shared library section.

  6. Click the Add button beside the library list table. The Add Library Entry dialog box opens.

  7. In the add a library entry dialog box, specify the name and either the class path or native path fields:

    1. In the name field, specify the name for your library entry.

    2. In the description field, you have the option to provide a brief description of the resource provider.

    3. In the class path list box, browse or add the class path to the JAR files.

    4. In the native path list box, browse or add a path which forms the location for the resource provider native libraries. Native path entries are separated by using the ENTER key and must not contain path separator characters (such as ';' or ':'). Native paths can contain variable (symbolic) names which you can substitute using a variable map.

  8. Save your changes and close the editor. The shared library entry has been added to the deployment descriptor files.

 

Parent topic

The WebSphere Enhanced EAR editor