In one of my new demo systems, I was having a specific issue with indexing AD User Groups. The indexing process would consistently fail, with the error logged in the Tomcat log as follows:
22 Feb 2012 00:00:03,858- Thread: 22 SEVERE [com.vontu.profiles.manager.InfoSourceIndexCreator] Unexpected exception while creating exact data profile "ExchangeTek DEMO Source" version 10
Cause:
java.security.AccessControlException: access denied (java.lang.RuntimePermission accessDeclaredMembers)
java.security.AccessControlException: access denied (java.lang.RuntimePermission accessDeclaredMembers)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:374)
To resolve, I added the following to the manager.policy file:
permission java.lang.RuntimePermission "accessDeclaredMembers";
...which has resolved the issue.
Just posting in case anyone else has seen something similar. Not sure how I'd feel about having to do this in a production environment, but if I did run into it in a production system, it's certainly something I'd try as a test and then run through Support before keeping that change in place. Took me some time to figure out, so I figured I'd post it up here in case anyone else has seen something similar.
Regards,
~Keith