Configure the library.policy file

The library.policy file is the template for Java library classes. Shared libraries can be defined and be used by multiple enterprise applications. For information about defining and managing shared libraries, see Administer shared libraries in the Administration topic.

If the default permissions for shared library (which is the union of the permissions that are defined in the java.policy file, the app.policy file, and the library.policy file) are adequate, no action is required. If a specific change is required to access a shared library in the cell, update the library.policy file.

The union of the permissions that are contained in the java.policy file, the app.policy file and the library.policy file are applied to the shared libraries. The library.policy file is managed by the WebSphere Application Server configuration and file replication services, so changes made in the file are replicated to other nodes in the Network Deployment cell.

The WebSphere Application Server library.policy file in located in the /QIBM/UserData/WebAS5/product/instance/config/cells/cell/nodes/node directory, where product is Base or ND, instance is the name of your instance, cell is the name of your cell, and node is the name of your node.

By default, the file contains empty permission entry:

  grant {
  };

Use the policy tool to update the library.policy file for your instance. For more information, see Create and edit policy files with the policy tool.