ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 开启托管server报错:Cannot read from policy store. Reason is PolicyStore Error

开启托管server报错:Cannot read from policy store. Reason is PolicyStore Error

原创 Linux操作系统 作者:tolywang 时间:2012-11-16 16:56:02 0 删除 编辑

Oracle Fusion Middleware - Version: 11.1.1.2.0 and later [Release: Oracle11g and later ]
Oracle Weblogic Server - Version: 10.3.2 and later ]


报错信息类似:
oracle.security.jps.JpsRuntimeException: Cannot read from policy store.
at oracle.security.jps.internal.policystore.xml.XmlPolicyStore.buildFromFile(XmlPolicyStore.java:425)
at oracle.security.jps.internal.policystore.xml.XmlPolicyStore.(XmlPolicyStore.java:224)
at oracle.security.jps.internal.policystore.xml.XmlPolicyStoreProvider.getInstance(XmlPolicyStoreProvider.java:100)
at oracle.security.jps.internal.policystore.xml.XmlPolicyStoreProvider.getInstance(XmlPolicyStoreProvider.java:74)
at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.findServiceInstance(ContextFactoryImpl.java:139)

原因:

The file ${domain.home}/config/fmwconfig/system-jazn-data.xml is either incomplete and / or corrupted, therefore the error is produced due to an Unexpected end of Document error when the OPSS framework (included inside Fusion Middleware) is trying to read an XML.

The reasons for the corruption are typically difficult or impossible to determine. One possible cause is a machine crashes or reboot has occurred at the same time a product or application was writing / updating a configuration file.
解决方法:

1.    Shutdown the all the servers in the domain
2.    Copy the corrupted policy file from a backup location
copy ${oracle.home}/oracle_common/modules/oracle.jps_11.1.1/domain_config/system-jazn-data.xml to ${domain.home}/config/fmwconfig/system-jazn-data.xml.
3.    Restart all servers in the domain

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/35489/viewspace-749367/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
Oracle , MySQL, SAP IQ, SAP HANA, PostgreSQL, Tableau 技术讨论,希望在这里一起分享知识,讨论技术,畅谈人生 。

注册时间:2007-12-10

  • 博文量
    5595
  • 访问量
    14696164