+

Search Tips   |   Advanced Search

Add the shared library (WAS full profile)

Define the shared library and specify which web applications use it.

Install the shared library jndiprops.jar in a suitable directory in the WAS installation directory.

We can install the property file as a shared library for all MobileFirst Server components. To do so, we must log in to the WebSphere Application Server administration console to add the shared library.

  1. Select Environment > Shared Libraries.

  2. Select the scope in the fields Node= and Server=.

  3. Click New.

  4. Enter a name, for example, "MobileFirst JNDI Properties".

  5. Enter a description, for example, "IBM MobileFirst JNDI property package".

  6. Enter the classpath of the jndiprops.jar file. The $WAS_INSTALL/profiles/profile-name directory can be specified as ${USER_INSTALL_ROOT}.

  7. Select the option "Use an isolated class loader for this shared library".

  8. Click Apply.

  9. Click Save.

  10. Specify which web applications should use the shared library.

    1. In the administration console, select Applications > Application Types > WebSphere enterprise applications. You should stop all applications that you are going to change, because the operations run faster when the applications are stopped.

    2. Select an application, for example, IBM MobileFirst administration service.

    3. Select Shared library references.

    4. In "Application", select IBM MobileFirst administration service.

    5. Click Reference shared libraries.

    6. Move the MobileFirst JNDI Properties library from Available to Selected.

    7. Click OK.

    8. Click Save.
    Repeat this procedure for the other required web applications from among operations console, MobileFirst project, Application Center Service, Application Center Console.


What to do next

Go to Applications > Application Types > WebSphere enterprise applications and restart all the web applications.


Parent topic: Use a shared library of JNDI properties