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
- Create
a shared library:
- In the WebSphere Application
Server administrative console,
expand Environment.
- Click Shared
Libraries.
- Click to expand the Scope field.
- Select the node where you want to create the
shared library.
- Click Apply.
- Click New.
- Specify
the name of the shared library in the Name field.
- 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.
- Click OK.
- 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.
- In
the WebSphere Application Server administrative
console,
click Servers > Application servers > server_name.
- Under the Server Infrastructure heading, click Java and
Process Management > Class loader > New.
- Keep the Class loader order default as Classes loaded
with
parent class loader first and click OK.
- Click the Class loader ID for the class loader that
was created.
- Under Additional properties,
click Shared library references.
- Click Add.
- Select the name of the shared library you
created earlier.
- Click OK.
- 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.
- Save your configuration changes.
- Expand System administration and click Save
Changes
to Master Repository.
- Click Save.
Results
The shared library for
the jt400.jar file is configured.