Configure WebSphere Shared Library to Support
Jersey 2x and Jackson 2.9x Libraries
7.9.4.2 Configure WebSphere Shared Library to Support
Jersey 2x and Jackson 2.9x Libraries
Perform the following configuration to set WebSphere shared library to support
jersey 2x and Jackson 2.9x libraries.
Click Environment from the menu on the left to expand
and view the list. Click Shared Libraries to open the
Shared Libraries window.
Figure 7-40 WebSphere Shared Libraries
Enter the following details:
Name: Enter a uniquely identifiable name.
Description: Enter a valid description.
Classpath: Enter the absolute path where the JARs related to
Jersey 2.x and Jackson 2.9x are copied. These jars are available in
the
<OFSAA_HOME>/ficweb/webroot/externallib/WEBINF/lib/
directory after creation of the EAR file. Another format of
representation of the path is
<ofsaa_deployed_area_location>/externallib/WEBINF/lib/.
Select Use an isolated class loader for this library.
Click OK to save to master configuration.
Select the application or module and map the shared libraries. Click OK. In the
following figure, ofsa is selected.
Figure 7-41 WebSphere Shared Library References
From the Shared Library Mapping window, move the required shared libraries from
Available to Selected. In the following figure, JERSEY2x is
selected.