Operating Systems: i5/OS
             Personalize the table of contents and search results

This topic applies only on the i5/OS operating system.

 

Configure 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.

 

Overview

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. For OS/400 V5R3, this 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. For OS/400 V5R3, this path 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.


}

 

Related tasks


Configuring the Enterprise Identity Mapping identity token connection factory