Решение ошибки java.security.AccessControlException: access denied (oracle.security.jps.service.credstore.CredentialAccessPermission context=SYSTEM,mapName=fks,keyName=current.key read)
В моем случае данная ошибка появилась в момент запуска managed-сервера SOA в weblogic-домене.
Решить ее удалось выполнением двух следующих действий:
1. Выполнить упаковку домена с другого работоспособно го сервера этого же домена:
/oracle/Oracle_IDM1/common/bin/pack.sh -domain=/oracle/user_projects/domai ns/idm_domain -template=/tmp /idm_domain2.j ar -template_name ="idm_domain" -managed="true "
2. Распаковать его на проблемном сервере:
/oracle/Oracle _IDM1/common/b in/unpack.sh -domain=/oracl e/user_project s/domains/idm_ domain -template=/tmp /idm_domain2.j ar
Ниже более полный вывод ошибки:
java.security.
at java.security. AccessControlC ontext.checkPe rmission(Acces sControlContex t.java:374)
at java.security. AccessControll er.checkPermis sion(AccessCon troller.java:5 46)
…
<Jul 4, 2013 10:32:15 AM MSK> <Error> <Security> <BEA-090892> <The loading of OPSS java security policy provider failed due to exception, see the exception stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.securit y.debug=jpspol icy to get more information. Error message: oracle.securit y.jps.JpsExcep tion: [PolicyUtil] Exception while getting default policy Provider>
<Jul 4, 2013 10:32:15 AM MSK> <Critical> <WebLogicServe r> <BEA-000386> <Server subsystem failed. Reason: weblogic.secur ity.SecurityIn itializationEx ception: The loading of OPSS java security policy provider failed due to exception, see the exception stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.securit y.debug=jpspol icy to get more information. Error message: oracle.securit y.jps.JpsExcep tion: [PolicyUtil] Exception while getting default policy Provider
weblogic.secur ity.SecurityIn itializationEx ception: The loading of OPSS java security policy provider failed due to exception, see the exception stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.securit y.debug=jpspol icy to get more information. Error message: oracle.securit y.jps.JpsExcep tion: [PolicyUtil] Exception while getting default policy Provider
at weblogic.secur ity.service.Co mmonSecuritySe rviceManagerDe legateImpl.loa dOPSSPolicy(Co mmonSecuritySe rviceManagerDe legateImpl.jav a:1398)
at weblogic.secur ity.service.Co mmonSecuritySe rviceManagerDe legateImpl.ini tialize(Common SecurityServic eManagerDelega teImpl.java:10 18)
at weblogic.secur ity.service.Se curityServiceM anager.initial ize(SecuritySe rviceManager.j ava:873)
…
Caused By: oracle.securit y.jps.JpsRunti meException: oracle.securit y.jps.JpsExcep tion: [PolicyUtil] Exception while getting default policy Provider
at oracle.securit y.jps.internal .policystore.P olicyDelegatio nController.<i nit>(PolicyDel egationControl ler.java:293)
…
Caused By: java.security. PrivilegedActi onException: oracle.securit y.jps.JpsExcep tion: [PolicyUtil] Unable to obtain default JPS Context!
at java.security. AccessControll er.doPrivilege d(Native Method)
…
Caused By: java.security. AccessControlE xception: access denied (oracle.securi ty.jps.service .credstore.Cre dentialAccessP ermission context=SYSTEM ,mapName=fks,k eyName=current .key read)
at java.security. AccessControlC ontext.checkPe rmission(Acces sControlContex t.java:374)
Комментариев нет:
Отправить комментарий