MaintainJ Blog

April 25, 2009

MaintainJ.war on WebSphere 6.1

Filed under: WebSphere — maintainj @ 4:56 am

After installing MaintainJ on WebSphere 6.1 using MaintainJ.war, the following exception may occur when the server is restarted.

Caused by: java.security.AccessControlException: Access denied (java.util.PropertyPermission com.ibm.websphere.logging.messageId.version read)
at java.security.AccessController.checkPermission(AccessController.java:104)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:547)

To avoid this, add the following entry to java.policy file. The path to the policy file is shown after Step 2 of installation.

permission java.util.PropertyPermission “com.ibm.websphere.logging.messageId.version”, “read”;

Another user reported same exception on ‘eclipse.exitcode read’. Adding a similar entry in the policy file resolved the problem. This error seems to occur only with some minor versions of the WebSphere 6.1.

Choudary Kothapalli.

Powered by WordPress