Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

[OBIEE 12c] Error when importing BAR File

Received Response
152
Views
1
Comments
BenFreez
BenFreez Rank 5 - Community Champion

Hi Team,

I am facing an error when i am trying to  import a BAR file :

I am requesting your help to solve this problem. I am not able to find a solution. The proplem appear only when i'm importing the securtity. Importing Datamodel and catalog is working whitout problem

INFO: Service Owner: weblogic

Aug 08, 2018 11:34:18 AM oracle.bi.jazn.bar.JaznUtils copyRequiredNode

INFO: Started copying required nodes

[Fatal Error] jazn-data.xml:18009:66: XML document structures must start and end within the same entity.

Aug 08, 2018 11:34:18 AM oracle.bi.jazn.bar.JaznUtils copyRequiredNode

SEVERE: Error copying nodes from obi-template.xml to jazn fileorg.xml.sax.SAXParseException; systemId: file:/u03/oracle/Middleware12c/user_projects/domains                         /bi/tmp/metadata/import/1533742363017/work/backup/jazn-data.xml; lineNumber: 18009; columnNumber: 66; XML document structures must start and end within the                          same entity.

Aug 08, 2018 11:34:18 AM oracle.bi.jazn.bar.JaznUtils clearPolicyStore

SEVERE: Failed in copying required nodes from /u03/oracle/Middleware12c/user_projects/domains/bi/tmp/metadata/import/1533742363017/work/backup/obi-template                         .xml to /u03/oracle/Middleware12c/user_projects/domains/bi/tmp/metadata/import/1533742363017/work/backup/jazn-data.xml

Aug 08, 2018 11:34:18 AM oracle.bi.jazn.metadata.lcm.plugin.AbstractJaznStoragePlugin rollbackImport

SEVERE: Failed with exception

oracle.bi.bar.si.framework.plugin.MetadataPluginException: Failed in copying required nodes from /u03/oracle/Middleware12c/user_projects/domains/bi/tmp/met                         adata/import/1533742363017/work/backup/obi-template.xml to /u03/oracle/Middleware12c/user_projects/domains/bi/tmp/metadata/import/1533742363017/work/backup                         /jazn-data.xml

        at oracle.bi.jazn.bar.JaznUtils.clearPolicyStore(JaznUtils.java:1377)

        at oracle.bi.jazn.metadata.lcm.plugin.AbstractJaznStoragePlugin.rollbackImport(AbstractJaznStoragePlugin.java:480)

        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:498)

        at oracle.bi.metadata.lcm.plugin.StoragePluginManager.executeAPI(StoragePluginManager.java:106)

        at oracle.bi.metadata.lcm.plugin.StoragePluginManager.executeStorageManagerPluginAPI(StoragePluginManager.java:59)

        at oracle.bi.metadata.lcm.framework.ImportArchive.callRollbackImport(ImportArchive.java:193)

        at oracle.bi.metadata.lcm.framework.ImportArchive.executeImportArchive(ImportArchive.java:101)

        at oracle.bi.metadata.lcm.framework.ImportArchive.execute(ImportArchive.java:45)

        at oracle.bi.metadata.lcm.framework.LCMTaskWorker.call(LCMTaskWorker.java:67)

        at java.util.concurrent.FutureTask.run(FutureTask.java:266)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

        at java.lang.Thread.run(Thread.java:748)

Aug 08, 2018 11:34:18 AM oracle.bi.metadata.lcm.plugin.StoragePluginManager executeStorageManagerPluginAPI

SEVERE: Executed of operation rollbackImport FAILED for oracle.bi.jazn.metadata.lcm.plugin.OfflineJaznStoragePlugin. Status object: false

Aug 08, 2018 11:34:18 AM oracle.bi.metadata.lcm.framework.LCMTaskWorker analyzeStorageOpStatus

SEVERE: ****************FAILED STORAGE PLUGIN DETAILS *****************

         Storage Plugin failed for: oracle.bi.jazn.metadata.lcm.plugin.OfflineJaznStoragePlugin:rollbackImport

         Failed Operation Statue Code Description: Operation Failed

        **************************************************************

Aug 08, 2018 11:34:18 AM oracle.bi.metadata.lcm.framework.LCMTaskWorker analyzeStorageOpStatus

SEVERE: Error Reported in Storage Plugin is: Failed in copying required nodes from /u03/oracle/Middleware12c/user_projects/domains/bi/tmp/metadata/import/1                         533742363017/work/backup/obi-template.xml to /u03/oracle/Middleware12c/user_projects/domains/bi/tmp/metadata/import/1533742363017/work/backup/jazn-data.xml

Aug 08, 2018 11:34:18 AM oracle.bi.metadata.lcm.framework.ImportArchive callRollbackImport

SEVERE: Storage Plugin rollbackImport failed!

Aug 08, 2018 11:34:18 AM oracle.bi.metadata.lcm.framework.LCMTaskWorker printExecutionOptions

INFO: The Execution Options Passed:

Best regards,

Ben

Answers

  • BenFreez
    BenFreez Rank 5 - Community Champion

    Problem due to a value missing (principalName) in one of my role in the security. After deleting this wrong role. Everything going back to normal.

    Best regards,

    Ben