In working on a different problem (related to RMI), I upgraded the system\'s \"security folder\" with the \"unlimited strength\" policy files and now my applicaiton fails in
Rather than mixing runtime and policy file versions, you should use the policy files for Java 7.
This happens when Java version does not match with the version of policy files. You can download the relevant policy files from following links.
Policy jars for Java 8
Policy jars for Java 7
Policy jars for Java 6
This could happen if there are standard policy jar files somewhere in the classpath. I suggest to find and replace all the local_policy.jar and us_export_policy.jar files with the unrestricted versions of these jars in your machine. If you are using IBM's WAS/Portal Server/RAD, here is the link to the unrestricted JCE policy jars.
Its possible that you have different versions of the JDK. For example if your JAVA_HOME points to version 7, but in your path version 6 shows up before version 7, this error could pop up.