Configuring a shared library for the jt400.jar file

Use the WebSphere® Application Server administrative console to create a shared library for the jt400.jar file.

About this task

If you copied the jt400.jar file to a different directory, completing the steps in this topic is part of configuring the Enterprise Identity Mapping (EIM) token connection factory.

Procedure

  1. Create a shared library:
    1. In the WebSphere Application Server administrative console, expand Environment.
    2. Click Shared Libraries.
    3. Click to expand the Scope field.
    4. Select the node where you want to create the shared library.
    5. Click Apply.
    6. Click New.
    7. Specify the name of the shared library in the Name field.
    8. Specify the full path name of the jt400.jar file in the Classpath field. The default path name is /QIBM/ProdData/HTTP/public/jt400/lib/jt400.jar.
    9. Click OK.
  2. Create an application class loader for the shared library. This step makes the jt400.jar file available to all applications that are deployed on the application server.
    1. In the WebSphere Application Server administrative console, click Servers > Application servers > server_name.
    2. Under the Server Infrastructure heading, click Java™ and Process Management > Class loader > New.
    3. Keep the Class loader order default as Classes loaded with parent class loader first and click OK.
    4. Click the Class loader ID for the class loader that was created.
    5. Under Additional properties, click Shared library references.
    6. Click Add.
    7. Select the name of the shared library you created earlier.
    8. Click OK.
  3. Grant the java.security.AllPermission permission to the jt400.jar file in the server.policy file.

    To grant the required permission to the jt400.jar file, edit the server.policy file for your WebSphere Application Server profile and add the following statement. The server.policy file is in the profile_root/properties directory.

    grant codeBase "file:path_name/jt400.jar" {
      permission java.security.AllPermission;
    };
    

    where path_name is the fully qualified path name of the directory that contains the jt400.jar file. The default path name is /QIBM/ProdData/HTTP/public/jt400/lib/jt400.jar.

  4. Save your configuration changes.
    1. Expand System administration and click Save Changes to Master Repository.
    2. Click Save.

Results

The shared library for the jt400.jar file is configured.

What to do next

After completing these steps, continue with configuring the connection factory. See Manually configuring the connection factory to configure the connection factory manually, or see Automatically configuring the connection factory to use a Jacl script to automatically configure the connection factory.



In this information ...


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: Oct 21, 2010 3:36:59 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=compass&product=was-express-iseries&topic=tsec_idtokenconfiglib
File name: tsec_idtokenconfiglib.html