If you notice below error while launching your integrated weblogic server, Try to delete the corrupted system-jazn file from the below location and replace with correct one.
C:\Users\user\AppData\Roaming\JDeveloper\system11.1.1.6.38.62.29\DefaultDomain\config\fmwconfig
- Please download this attached system-jazn.xml file - Sample System Jazn XML
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. Error message: Cannot read from policy store. Reason is PolicyStore Error, javax.xml.stream. XMLStreamException: End Document reached prematurely.
at weblogic.security.service. CommonSecurityServiceManagerDe legateImpl.loadOPSSPolicy( CommonSecurityServiceManagerDe legateImpl.java:1398)
at weblogic.security.service. CommonSecurityServiceManagerDe legateImpl.initialize( CommonSecurityServiceManagerDe legateImpl.java:1018)
at weblogic.security.service. SecurityServiceManager. initialize( SecurityServiceManager.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: Cannot read from policy store. Reason is PolicyStore Error, javax.xml.stream. XMLStreamException: End Document reached prematurely.
at oracle.security.jps.internal. policystore.xml. XmlPolicyStore.buildFromFile( XmlPolicyStore.java:496)
at oracle.security.jps.internal. policystore.xml. XmlPolicyStore.<init>( XmlPolicyStore.java:276)
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)
Truncated. see log file for complete stacktrace
Caused By: oracle.security.jps. JpsRuntimeException: javax.xml.stream. XMLStreamException: End Document reached prematurely.
at oracle.security.jps.internal. core.datastore.xml. XmlDataStoreParser. getDataStoreEntryStax( XmlDataStoreParser.java:166)
at oracle.security.jps.internal. core.datastore.xml. XmlDataStoreParser. getDataStoreEntry( XmlDataStoreParser.java:180)
at oracle.security.jps.internal. core.datastore.xml. XmlDataStoreParser. getDataStoreEntry( XmlDataStoreParser.java:187)
at oracle.security.jps.internal. core.datastore.xml. XmlDataStore.loadXmlDataStore( XmlDataStore.java:411)
at oracle.security.jps.internal. core.datastore.xml. XmlDataStore.<init>( XmlDataStore.java:276)
Truncated. see log file for complete stacktrace
Caused By: javax.xml.stream. XMLStreamException: End Document reached prematurely.
at oracle.security.jps.internal. policystore.xml. StaxPolicyStoreParser. processPermission( StaxPolicyStoreParser.java: 4801)
at oracle.security.jps.internal. policystore.xml. StaxPolicyStoreParser. processGrant( StaxPolicyStoreParser.java: 4309)
at oracle.security.jps.internal. policystore.xml. StaxPolicyStoreParser. processJaznPolicy( StaxPolicyStoreParser.java: 4253)
at oracle.security.jps.internal. policystore.xml. StaxPolicyStoreParser. processJaznPolicy( StaxPolicyStoreParser.java: 4229)
at oracle.security.jps.internal. policystore.xml. StaxPolicyStoreParser. processAppPolicy( StaxPolicyStoreParser.java: 867)
Truncated. see log file for complete stacktrace
>
<May 29, 2014 11:28:48 AM CDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
<May 29, 2014 11:28:48 AM CDT> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
<May 29, 2014 11:28:48 AM CDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>