<2017-4-7 下午01时14分50秒 CST> <Notice> <Log Management> <BEA-170019> <The serv
er log file C:\Oracle\Middleware\user_projects\domains\EPMSystem\servers\AdminSe
rver\logs\AdminServer.log is opened. All server side log events will be written
to this file.>
<2017-4-7 下午01时15分01秒 CST> <Error> <Security> <BEA-090892> <The loading of
OPSS java security policy provider failed due to exception, see the exception st
ack trace or the server log file for root cause. If still see no obvious cause,
enable the debug flag -Djava.security.debug=jpspolicy to get more information. E
rror message: 无法从策略存储中读取。原因为PolicyStore Error, javax.xml.stream.XM
LStreamException: javax.xml.stream.XMLStreamException: Premature end of file enc
ountered>
<2017-4-7 下午01时15分01秒 CST> <Critical> <WebLogicServer> <BEA-000386> <Server
subsystem failed. Reason: weblogic.security.SecurityInitializationException: Th
e 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 ob
vious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more i
nformation. Error message: 无法从策略存储中读取。原因为PolicyStore Error, javax.
xml.stream.XMLStreamException: javax.xml.stream.XMLStreamException: Premature en
d of file encountered
weblogic.security.SecurityInitializationException: The loading of OPSS java secu
rity policy provider failed due to exception, see the exception stack trace or t
he server log file for root cause. If still see no obvious cause, enable the deb
ug flag -Djava.security.debug=jpspolicy to get more information. Error message:
无法从策略存储中读取。原因为PolicyStore Error, javax.xml.stream.XMLStreamExcepti
on: javax.xml.stream.XMLStreamException: Premature end of file encountered
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.lo
adOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1402)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.in
itialize(CommonSecurityServiceManagerDelegateImpl.java:1022)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityS
erviceManager.java:873)
at weblogic.security.SecurityService.start(SecurityService.java:141)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
Truncated. see log file for complete stacktrace
Caused By: oracle.security.jps.JpsRuntimeException: 无法从策略存储中读取。原因为
PolicyStore Error, javax.xml.stream.XMLStreamException: javax.xml.stream.XMLStre
amException: Premature end of file encountered
at oracle.security.jps.internal.policystore.xml.XmlPolicyStore.buildFrom
File(XmlPolicyStore.java:527)
at oracle.security.jps.internal.policystore.xml.XmlPolicyStore.<init>(Xm
lPolicyStore.java:307)
at oracle.security.jps.internal.policystore.xml.XmlPolicyStoreProvider.g
etInstance(XmlPolicyStoreProvider.java:102)
at oracle.security.jps.internal.policystore.xml.XmlPolicyStoreProvider.g
etInstance(XmlPolicyStoreProvider.java:76)
at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.findServ
iceInstance(ContextFactoryImpl.java:139)
Truncated. see log file for complete stacktrace
Caused By: oracle.security.jps.JpsRuntimeException: javax.xml.stream.XMLStreamEx
ception: javax.xml.stream.XMLStreamException: Premature end of file encountered
at oracle.security.jps.internal.core.datastore.xml.XmlDataStoreParser.ge
tDataStoreEntryStax(XmlDataStoreParser.java:166)
at oracle.security.jps.internal.core.datastore.xml.XmlDataStoreParser.ge
tDataStoreEntry(XmlDataStoreParser.java:180)
at oracle.security.jps.internal.core.datastore.xml.XmlDataStoreParser.ge
tDataStoreEntry(XmlDataStoreParser.java:187)
at oracle.security.jps.internal.core.datastore.xml.XmlDataStore.loadXmlD
ataStore(XmlDataStore.java:411)
at oracle.security.jps.internal.core.datastore.xml.XmlDataStore.<init>(X
mlDataStore.java:276)
Truncated. see log file for complete stacktrace
Caused By: javax.xml.stream.XMLStreamException: javax.xml.stream.XMLStreamExcept
ion: Premature end of file encountered
at weblogic.xml.stax.XMLStreamReaderBase.prime(XMLStreamReaderBase.java:
80)
at weblogic.xml.stax.XMLStreamReaderBase.setInput(XMLStreamReaderBase.ja
va:99)
at weblogic.xml.stax.XMLStreamInputFactory.createXMLStreamReader(XMLStre
amInputFactory.java:316)
at oracle.security.jps.internal.core.datastore.xml.XmlDataStoreParser.ge
tDataStoreEntryStax(XmlDataStoreParser.java:98)
at oracle.security.jps.internal.core.datastore.xml.XmlDataStoreParser.ge
tDataStoreEntry(XmlDataStoreParser.java:180)
Truncated. see log file for complete stacktrace
Caused By: javax.xml.stream.XMLStreamException: Premature end of file encountere
d
at weblogic.xml.stax.XMLStreamReaderBase.prime(XMLStreamReaderBase.java:
69)
at weblogic.xml.stax.XMLStreamReaderBase.setInput(XMLStreamReaderBase.ja
va:100)
at weblogic.xml.stax.XMLStreamInputFactory.createXMLStreamReader(XMLStre
amInputFactory.java:317)
at oracle.security.jps.internal.core.datastore.xml.XmlDataStoreParser.ge
tDataStoreEntryStax(XmlDataStoreParser.java:98)
at oracle.security.jps.internal.core.datastore.xml.XmlDataStoreParser.ge
tDataStoreEntry(XmlDataStoreParser.java:180)
Truncated. see log file for complete stacktrace
>
<2017-4-7 下午01时15分01秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server s
tate changed to FAILED>
<2017-4-7 下午01时15分01秒 CST> <Error> <WebLogicServer> <BEA-000383> <A critica
l service failed. The server will shut itself down>
<2017-4-7 下午01时15分01秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server s
tate changed to FORCE_SHUTTING_DOWN>
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.
解决方法:
- Shutdown the all the servers in the domain
- 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.
- Restart all servers in the domain