Im facing below error when i try to run my application in glassfish server.
"JACC Policy Provider:Failed Permission Check: context (" .....") , permission (" (org.osgi.framework.AdminPermission (id=92) resolve,resource) ") |#]"
so the solution is just need to put some grant in server.policy. please find grant { }
and insert below statement.
permission org.osgi.framework.AdminPermission "(id=92)", "resolve,resource";
save it.. and please restart your glassfish server.
so the solution is just need to put some grant in server.policy. please find grant { }
and insert below statement.
permission org.osgi.framework.AdminPermission "(id=92)", "resolve,resource";
save it.. and please restart your glassfish server.
Where exactly? In which grant section?
ReplyDeletejust find any grant { } and put the permission. Please dont use grant codebase xxxxxxx { }
Delete