Oracle Analytics Cloud and Server

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

BAR file import failing on OBIEE 12.2.1.2

Received Response
31
Views
3
Comments
OracleUser_MUC6U
OracleUser_MUC6U Rank 5 - Community Champion

Hi,

I've encountered an issue importing the BAR file to OBIEE version 12.2.1.2.0.  The BAR file was originally exported from the same release version (12.2.1.2.0).  The error reported is below:

I've seen a similar issue reported here https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=472462242794670&parent=EXTERNAL_SEARCH&sourceId=PROBLEM&… for 12.2.1.3,  but I've investigated the logs and there is no issues reported with the BI_PRODUCT_HOME. Anyone seen this issue before?

Thanks

......

Nov 23, 2017 2:42:20 PM oracle.bi.security.config.PropertiesFileConfigurationDelegate <init>
INFO: BI config directory path=/u01/oracle/weblogic/user_projects/domains/obiee_domain/config/fmwconfig/biconfig
Nov 23, 2017 2:42:20 PM oracle.bi.security.config.PropertiesFileConfigurationDelegate <init>
INFO: BI security configuration properties file should be at: /u01/oracle/weblogic/user_projects/domains/obiee_domain/config/fmwconfig/biconfig/bi-security/config.properties
Nov 23, 2017 2:42:20 PM oracle.bi.security.config.PropertiesFileConfigurationDelegate <init>
INFO: BI security configuration properties loaded. Data={hashAlgorithm=SHA-256, includeGroupsInSubject=false, metricsCollectionEnabled=false, lightweightSSOEnabled=false, internalSessionTokenExpiryTime=14400, identityDomainEnabled=false, includeRoleHierarchyInfoInSubject=false, encryptionAlgorithm=AES, defaultServiceInstanceKey=ssi, encryptionAlgorithmKeySize=16, hashIterationCount=1000}
Nov 23, 2017 2:42:26 PM oracle.bi.jazn.bar.plugin.JaznMetadataManagerGenericPluginImpl backupServiceInstance
SEVERE: Failed in migrateing policy store from stripe obi to file
/u01/oracle/weblogic/user_projects/domains/obiee_domain/bidata/service_instances/ssi/tmp/backupImportBar/authmodel/backup/jazn-data.xml
Nov 23, 2017 2:42:26 PM oracle.bi.bar.si.framework.handler.JaznServiceInstanceHandler backupServiceInstance
SEVERE: Failed running backupServiceInstance API of oracle.bi.jazn.bar.plugin.JaznMetadataManagerGenericPluginImpl
oracle.bi.bar.si.framework.plugin.MetadataPluginException: Failed in migrateing policy store from stripe obi to file /u01/oracle/weblogic/user_projects/domains/obiee_domain/bidata/service_instances/ssi/tmp/backupImportBar/authmodel/backup/jazn-data.xml
        at oracle.bi.jazn.bar.plugin.JaznMetadataManagerGenericPluginImpl.backupServiceInstance(JaznMetadataManagerGenericPluginImpl.java:169)
        at oracle.bi.jazn.bar.plugin.JaznMetadataManagerGenericPluginImpl.backupServiceInstance(JaznMetadataManagerGenericPluginImpl.java:66)
        at oracle.bi.bar.si.framework.handler.JaznServiceInstanceHandler.backupServiceInstance(JaznServiceInstanceHandler.java:360)
        at oracle.bi.bar.si.framework.ServiceInstanceFrameWorkImpl.backupServiceInstance(ServiceInstanceFrameWorkImpl.java:187)
        at oracle.bi.bar.si.ServiceInstanceLifeCycleImpl.importServiceInstance(ServiceInstanceLifeCycleImpl.java:406)
        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 org.python.core.PyReflectedFunction.__call__(Unknown Source)
        at org.python.core.PyMethod.__call__(Unknown Source)
        at org.python.core.PyObject.__call__(Unknown Source)
        at org.python.core.PyInstance.invoke(Unknown Source)
        at org.python.pycode._pyx133.importServiceInstance$3(/u01/oracle/weblogic/bi/lib/bi-bar.jar!/wlstScriptDir/ServiceInstanceLifeCycle.py:63)
        at org.python.pycode._pyx133.call_function(/u01/oracle/weblogic/bi/lib/bi-bar.jar!/wlstScriptDir/ServiceInstanceLifeCycle.py)
        at org.python.core.PyTableCode.call(Unknown Source)
        at org.python.core.PyTableCode.call(Unknown Source)
        at org.python.core.PyFunction.__call__(Unknown Source)
        at org.python.core.PyObject.__call__(Unknown Source)
        at org.python.pycode._pyx140.f$0(/u01/oracle/OBIEE/12cScripts/import_bar_file.py:49)
        at org.python.pycode._pyx140.call_function(/u01/oracle/OBIEE/12cScripts/import_bar_file.py)
        at org.python.core.PyTableCode.call(Unknown Source)
        at org.python.core.PyCode.call(Unknown Source)
        at org.python.core.Py.runCode(Unknown Source)
        at org.python.util.PythonInterpreter.execfile(Unknown Source)
        at weblogic.management.scripting.WLST.main(WLST.java:181)
        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 weblogic.WLST.main(WLST.java:47)

Nov 23, 2017 2:42:26 PM oracle.bi.bar.si.framework.ServiceInstanceFrameWorkImpl backupServiceInstance
SEVERE: Error during import service instanceoracle.bi.bar.si.exception.ServiceInstanceLifeCycleException: Failed running backupServiceInstance API of oracle.bi.jazn.bar.plugin.JaznMetadataManagerGenericPluginImpl
Nov 23, 2017 2:42:26 PM oracle.bi.bar.si.ServiceInstanceLifeCycleImpl importServiceInstance
SEVERE: Failed in running all the handlers during backing up of service instance.
(': Import of BAR file failed', oracle.bi.bar.si.exception.ServiceInstanceLifeCycleException: Failed in running all the handlers during backing up of service instance.)

Answers

  • [Deleted User]
    [Deleted User] Rank 2 - Community Beginner

    a) Redo the export and make sure the BAR contains the jazn. You can easily do that with 7zip.

    b) Have you tried importing with importJazn set to FALSE?

  • OracleUser_MUC6U
    OracleUser_MUC6U Rank 5 - Community Champion

    Hi Christian,

    Double checked and the Jazn is there.  Yeah, I tried only importing the RPD so the Catalog and Jazn  was set as false and still same error.

    I was able to complete the same import on another machine which is pretty much identical to the one the export was done on.  Thinking...., this particular instance has a slightly different setup in that its not using the same default ports and has a different directory structure to the instance the export was performed on.  Could this somehow affect the import....?

    Thanks!

    Adrian

  • [Deleted User]
    [Deleted User] Rank 2 - Community Beginner

    It really shouldn't since a BAR file is supposed to just move RPD, WebCat and security - and that machine-independent.

    Then again...if all of a sudden there was some blocking fact around that I wouldn't be surprised in the slightest