Wednesday, August 14, 2013

JACC Policy Provider:Failed Permission Check: context (" ..... ") , permission (" (java.lang.RuntimePermission reflectionFactoryAccess) ") |#]

Same thing with previous post.. I got this error after i try to invoke my application in glassfish server.

"JACC Policy Provider:Failed Permission Check: context (" ..... ") , permission (" (java.lang.RuntimePermission reflectionFactoryAccess) ") |#]"

Just grant this reflectionFactoryAccess inside server.policy

please find grant { }

and insert below permission into that grant content.

    permission java.lang.RuntimePermission "reflectionFactoryAccess";


save it and please restart.

No comments:

Post a Comment