4 Replies Latest reply on May 20, 2016 1:57 AM by Jack Lu

    OBiee 12c exportServiceInstance error on Linux

    Jack Lu

      Hi everyone,

       

      I have an error when exportServiceInstance on linux, My server is linux red hat enterprise edition 6, I have some role name with Chinese character,

      when doing exportServiceInstance ,get errors on console:

      INFO: Removing odl handler after completion of the run for log file

      Exception in thread "main" oracle.security.jps.JpsRuntimeException: Cannot read from policy store. Reason is PolicyStore Error, com.ctc.wstx.exc.WstxEOFException: Unexpected EOF; was expecting a close tag for element <permissions>

      [oracle.bi.bar.jazn.JaznUtils] [tid: 1] [ecid: 98f6beb6-5db1-4b6a-b35f-5882a4a23b85-00000002,0]  at [row,col {unknown-source}]: [1574,10]

      /home/bi/Oracle/Middleware/Oracle_Home/user_projects/domains/bi1/bilogs/service_instances/ssi/metadata/si20160405_154005.log

      Traceback (innermost last):

        File "<console>", line 1, in ?

        File "/home/bi/Oracle/Middleware/Oracle_Home/bi/lib/bi-bar.jar!/wlstScriptDir/ServiceInstanceLifeCycle.py", line 84, in exportServiceInstance

        at oracle.bi.bar.si.ServiceInstanceLifeCycleImpl.exportServiceInstance(ServiceInstanceLifeCycleImpl.java:470)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:497)

      errors in log file:

      [2016-04-05T15:43:38.492+08:00] [bi] [NOTIFICATION] [] [oracle.bi.bar.jazn.JaznUtils] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0] Exception in thread "main" oracle.security.jps.JpsRuntimeException: Cannot read from policy store. Reason is PolicyStore Error, com.ctc.wstx.exc.WstxEOFException: Unexpected EOF; was expecting a close tag for element <permissions>

      [2016-04-05T15:43:38.492+08:00] [bi] [NOTIFICATION] [] [oracle.bi.bar.jazn.JaznUtils] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0]  at [row,col {unknown-source}]: [1574,10]

      [2016-04-05T15:43:38.492+08:00] [bi] [NOTIFICATION] [] [oracle.bi.bar.jazn.JaznUtils] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0] at oracle.security.jps.internal.policystore.xml.XmlPolicyStore.buildFromFile(XmlPolicyStore.java:577)

      [2016-04-05T15:43:38.492+08:00] [bi] [NOTIFICATION] [] [oracle.bi.bar.jazn.JaznUtils] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0] at oracle.security.jps.internal.policystore.xml.XmlPolicyStore.startStore(XmlPolicyStore.java:1527)

      [2016-04-05T15:43:38.493+08:00] [bi] [NOTIFICATION] [] [oracle.bi.bar.jazn.JaznUtils] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0] at oracle.security.jps.internal.policystore.xml.XmlPolicyStore.start(XmlPolicyStore.java:1547)

      [2016-04-05T15:43:38.493+08:00] [bi] [NOTIFICATION] [] [oracle.bi.bar.jazn.JaznUtils] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0] at oracle.security.opss.internal.runtime.ServiceContextImpl.start(ServiceContextImpl.java:218)

      [2016-04-05T15:43:38.493+08:00] [bi] [NOTIFICATION] [] [oracle.bi.bar.jazn.JaznUtils] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0] at oracle.security.opss.internal.runtime.ServiceContextManagerImpl.createContext(ServiceContextManagerImpl.java:600)

      [2016-04-05T15:43:38.493+08:00] [bi] [NOTIFICATION] [] [oracle.bi.bar.jazn.JaznUtils] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0] at oracle.security.opss.internal.runtime.ServiceContextManagerImpl.createContext(ServiceContextManagerImpl.java:481)

      [2016-04-05T15:43:38.494+08:00] [bi] [NOTIFICATION] [] [oracle.bi.bar.jazn.JaznUtils] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0] at oracle.security.opss.internal.runtime.ServiceContextManagerImpl.getContext(ServiceContextManagerImpl.java:391)

      [2016-04-05T15:43:38.494+08:00] [bi] [NOTIFICATION] [] [oracle.bi.bar.jazn.JaznUtils] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0] at oracle.security.opss.internal.core.runtime.ContextFactoryProxy.getContext(ContextFactoryProxy.java:151)

      [2016-04-05T15:43:38.494+08:00] [bi] [NOTIFICATION] [] [oracle.bi.bar.jazn.JaznUtils] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0] at oracle.security.jps.internal.tools.utility.util.JpsHelper.getContextFromConfigObj(JpsHelper.java:210)

      [2016-04-05T15:43:38.494+08:00] [bi] [NOTIFICATION] [] [oracle.bi.bar.jazn.JaznUtils] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0] at oracle.security.jps.internal.tools.utility.JpsUtilMigrationPolicyImpl.getJpsContext(JpsUtilMigrationPolicyImpl.java:1008)

      [2016-04-05T15:43:38.494+08:00] [bi] [NOTIFICATION] [] [oracle.bi.bar.jazn.JaznUtils] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0] at oracle.security.jps.internal.tools.utility.JpsUtilMigrationPolicyImpl.checkMigrateCompatibility(JpsUtilMigrationPolicyImpl.java:139)

      [2016-04-05T15:43:38.495+08:00] [bi] [NOTIFICATION] [] [oracle.bi.bar.jazn.JaznUtils] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0] at oracle.security.jps.internal.tools.utility.JpsUtilMigrationToolInternal$JpsUtilMigrationAppPolicyDelegate.migrateWithContext(JpsUtilMigrationToolInternal.java:1061)

      [2016-04-05T15:43:38.495+08:00] [bi] [NOTIFICATION] [] [oracle.bi.bar.jazn.JaznUtils] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0] at oracle.security.jps.internal.tools.utility.JpsUtilMigrationToolInternal$JpsUtilMigrationPolicyDelegate.doMigrate(JpsUtilMigrationToolInternal.java:948)

      [2016-04-05T15:43:38.495+08:00] [bi] [NOTIFICATION] [] [oracle.bi.bar.jazn.JaznUtils] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0] at oracle.security.jps.internal.tools.utility.JpsUtilMigrationToolInternal$JpsUtilMigrationDelegate.migrate(JpsUtilMigrationToolInternal.java:343)

      [2016-04-05T15:43:38.495+08:00] [bi] [NOTIFICATION] [] [oracle.bi.bar.jazn.JaznUtils] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0] at oracle.security.jps.internal.tools.utility.JpsUtilMigrationToolInternal.executeCommandInternal(JpsUtilMigrationToolInternal.java:115)

      [2016-04-05T15:43:38.495+08:00] [bi] [NOTIFICATION] [] [oracle.bi.bar.jazn.JaznUtils] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0] at oracle.security.jps.tools.utility.JpsUtilMigrationTool.executeCommand(JpsUtilMigrationTool.java:166)

      [2016-04-05T15:43:38.496+08:00] [bi] [NOTIFICATION] [] [oracle.bi.bar.jazn.JaznUtils] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0] at oracle.bi.bar.jazn.MigrateApplicationPolicyProcess.main(MigrateApplicationPolicyProcess.java:57)

      [2016-04-05T15:43:38.496+08:00] [bi] [NOTIFICATION] [] [oracle.bi.bar.jazn.JaznUtils] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0] Caused by: oracle.security.jps.JpsRuntimeException: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF; was expecting a close tag for element <permissions>

      [2016-04-05T15:43:38.496+08:00] [bi] [NOTIFICATION] [] [oracle.bi.bar.jazn.JaznUtils] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0]  at [row,col {unknown-source}]: [1574,10]

      [2016-04-05T15:43:38.496+08:00] [bi] [NOTIFICATION] [] [oracle.bi.bar.jazn.JaznUtils] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0] at oracle.security.jps.internal.core.datastore.xml.XmlDataStoreParser.getDataStoreEntryStax(XmlDataStoreParser.java:175)

      [2016-04-05T15:43:38.496+08:00] [bi] [NOTIFICATION] [] [oracle.bi.bar.jazn.JaznUtils] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0] at oracle.security.jps.internal.core.datastore.xml.XmlDataStoreParser.getDataStoreEntry(XmlDataStoreParser.java:194)

      [2016-04-05T15:43:38.496+08:00] [bi] [NOTIFICATION] [] [oracle.bi.bar.jazn.JaznUtils] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0] at oracle.security.jps.internal.core.datastore.xml.XmlDataStoreParser.getDataStoreEntry(XmlDataStoreParser.java:205)

      [2016-04-05T15:43:38.497+08:00] [bi] [NOTIFICATION] [] [oracle.bi.bar.jazn.JaznUtils] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0] at oracle.security.jps.internal.core.datastore.xml.XmlDataStore.loadXmlDataStore(XmlDataStore.java:437)

      [2016-04-05T15:43:38.497+08:00] [bi] [NOTIFICATION] [] [oracle.bi.bar.jazn.JaznUtils] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0] at oracle.security.jps.internal.core.datastore.xml.XmlDataStore.<init>(XmlDataStore.java:302)

      [2016-04-05T15:43:38.497+08:00] [bi] [NOTIFICATION] [] [oracle.bi.bar.jazn.JaznUtils] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0] at oracle.security.jps.internal.core.datastore.xml.XmlDataStore.getInstance(XmlDataStore.java:233)

      [2016-04-05T15:43:38.497+08:00] [bi] [NOTIFICATION] [] [oracle.bi.bar.jazn.JaznUtils] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0] at oracle.security.jps.internal.policystore.xml.XmlPolicyStore.buildFromFile(XmlPolicyStore.java:573)

      [2016-04-05T15:43:38.498+08:00] [bi] [NOTIFICATION] [] [oracle.bi.bar.jazn.JaznUtils] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0] ... 16 more

      [2016-04-05T15:43:38.498+08:00] [bi] [NOTIFICATION] [] [oracle.bi.bar.jazn.JaznUtils] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0] Caused by: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF; was expecting a close tag for element <permissions>

      [2016-04-05T15:43:38.498+08:00] [bi] [NOTIFICATION] [] [oracle.bi.bar.jazn.JaznUtils] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0]  at [row,col {unknown-source}]: [1574,10]

      [2016-04-05T15:43:38.498+08:00] [bi] [NOTIFICATION] [] [oracle.bi.bar.jazn.JaznUtils] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0] at com.ctc.wstx.sr.StreamScanner.throwUnexpectedEOF(StreamScanner.java:677)

      [2016-04-05T15:43:38.498+08:00] [bi] [NOTIFICATION] [] [oracle.bi.bar.jazn.JaznUtils] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0] at com.ctc.wstx.sr.BasicStreamReader.throwUnexpectedEOF(BasicStreamReader.java:5532)

      [2016-04-05T15:43:38.498+08:00] [bi] [NOTIFICATION] [] [oracle.bi.bar.jazn.JaznUtils] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0] at com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:2720)

      [2016-04-05T15:43:38.499+08:00] [bi] [NOTIFICATION] [] [oracle.bi.bar.jazn.JaznUtils] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0] at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1072)

      [2016-04-05T15:43:38.499+08:00] [bi] [NOTIFICATION] [] [oracle.bi.bar.jazn.JaznUtils] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0] at oracle.security.jps.internal.policystore.xml.StaxPolicyStoreParser.processGrant(StaxPolicyStoreParser.java:7084)

      [2016-04-05T15:43:38.499+08:00] [bi] [NOTIFICATION] [] [oracle.bi.bar.jazn.JaznUtils] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0] at oracle.security.jps.internal.policystore.xml.StaxPolicyStoreParser.processJaznPolicy(StaxPolicyStoreParser.java:7041)

      [2016-04-05T15:43:38.499+08:00] [bi] [NOTIFICATION] [] [oracle.bi.bar.jazn.JaznUtils] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0] at oracle.security.jps.internal.policystore.xml.StaxPolicyStoreParser.processJaznPolicy(StaxPolicyStoreParser.java:7017)

      [2016-04-05T15:43:38.500+08:00] [bi] [NOTIFICATION] [] [oracle.bi.bar.jazn.JaznUtils] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0] at oracle.security.jps.internal.policystore.xml.StaxPolicyStoreParser.processAppPolicy(StaxPolicyStoreParser.java:1151)

      [2016-04-05T15:43:38.500+08:00] [bi] [NOTIFICATION] [] [oracle.bi.bar.jazn.JaznUtils] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0] at oracle.security.jps.internal.policystore.xml.StaxPolicyStoreParser.processPolicyStore(StaxPolicyStoreParser.java:734)

      [2016-04-05T15:43:38.500+08:00] [bi] [NOTIFICATION] [] [oracle.bi.bar.jazn.JaznUtils] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0] at oracle.security.jps.internal.core.datastore.xml.XmlDataStoreParser.getDataStoreEntryStax(XmlDataStoreParser.java:129)

      [2016-04-05T15:43:38.500+08:00] [bi] [NOTIFICATION] [] [oracle.bi.bar.jazn.JaznUtils] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0] ... 22 more

      [2016-04-05T15:43:38.525+08:00] [bi] [NOTIFICATION] [] [oracle.bi.bar.jazn.JaznUtils] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0] Exit value1

      [2016-04-05T15:43:38.526+08:00] [bi] [ERROR] [] [oracle.bi.bar.si.framework.handler.JaznServiceInstanceHandler] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0] Failed in migrateing policy store from obi to file /home/bi/backup/exportSICustomization/ssi/metadata/authmodel/jazn/jazn-data.xml

      [2016-04-05T15:43:38.526+08:00] [bi] [ERROR] [] [oracle.bi.bar.si.framework.ServiceInstanceFrameWorkImpl] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0] Error during export service instanceoracle.bi.bar.si.exception.ServiceInstanceLifeCycleException: Failed in migrateing policy store from  obi to file /home/bi/backup/exportSICustomization/ssi/metadata/authmodel/jazn/jazn-data.xml

      [2016-04-05T15:43:38.526+08:00] [bi] [ERROR] [BAR-00005] [oracle.bi.bar.si.ServiceInstanceLifeCycleImpl] [tid: 1] [ecid: 8c15701b-6631-4690-b032-56e0f29ac5ec-00000002,0] Failed in running all the handlers during export service instance.

      pls help