WebSphere AccessControlException in native_stderr.log
Overview of the Issue
This issue occurs in the following circumstances:
- Java 2 Security is enabled in the WebSphere Application Server
- An organization installs the VF Agent on a Java Application running on a WebSphere Application Server
- The WebSphere Application Server won’t start and throws a java.security.AccessControlException in the $WEBSPHERE_BASE_PATH/AppServer/profiles/$APP_SERVER_NAME/logs/$SERVER_NAME/native_stderr.log
Steps to Resolve the Issue
- SSH to the JBoss Application Server
- In a text editor, open the $PROFILE_ROOT/properties/server.policy
- Add the following lines to the file
// Allow vFunction
// Change the "file" path if vFunction is installed to a different location
grant codeBase "file:/opt/vfunction/agent/-" {
permission java.security.AllPermission;
};
- Save and close the file
- Restart the JBoss Application Server