You can restrict the application access to local resources
by enabling the Java 2 security option on WebSphere® Application Server,
version 7.0.0.17. WebSphere Application Server,
version 7.0.0.17 requires ojdbc6.jar to connect
to the Oracle database.
Procedure
- Stop the server and clear the WebSphere Application Server cache.
- Enable Java 2 Security for Rational® Focal Point™:
- Click .
- Select the Use Java 2 security to restrict
application access to local resources check box.
- Update library.policy and was.policy files:
- In the computer where the deployment manager is configured,
extract the FP_HOME/artifacts/JavaSecurityPolicyFiles/fp_j2security.zip file
that contains the was.policy and python script.
- Make sure that the nodes are servers are stopped.
- Start the deployment manager.
- Open the command prompt/shell.
- Go to <WAS_HOME>/profiles/<Manager Name>/bin.
- Run the command:
wsadmin.sh –user username -password password -lang jython –f python script location cellname nodename library.policy file location was.policy file location
For
example,wsadmin.sh -user admin -password focalpoint -lang jython -f C:/WASpolicyFiles/updatepolicy.py hraphaelCell01 hraphaelNode01 C:/WASpolicyFiles/library.policy C:/WASpolicyFiles/was.policy
- Restart the node and server.