Oracle Analytics Cloud and Server

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

migratePolicyStore.wlst error

Received Response
11
Views
3
Comments
OBIEE_Drool
OBIEE_Drool Rank 4 - Community Specialist

Hello,

I was trying to migrate security from one env to another env. But I cant due to following error shown below. Appreciate any suggestions. Thanks in advance.

Mar 28, 2016 5:11:47 PM oracle.security.jps.internal.common.util.JpsCommonUtil initPolicyProvider

INFO: Initializing OPSS Java Policy Provider.

Mar 28, 2016 5:11:48 PM oracle.security.jps.internal.config.xml.XmlConfiguration

Factory initDefaultConfiguration

SEVERE: [XmlConfigurationFactory.initDefaultConfiguration] Exception caught: null

Problem invoking WLST - Traceback (innermost last):

  File "C:\Policy Migration\migratePolicyStore.wlst", line 1, in ?

  File "C:\MIDDLE~2\ORACLE~1\common\wlst\jpsWlstCmd.py", line 983, in migrateSecurityStore

  File "C:\MIDDLE~2\ORACLE~1\common\wlst\jpsWlstCmd.py", line 942, in migrateSecurityStoreImpl

TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

pastedImage_0.png

Answers

  • handat
    handat Rank 5 - Community Champion

    What were the arguments that you provided when you ran it? It's expecting a string while it got nothing.

  • OBIEE_Drool
    OBIEE_Drool Rank 4 - Community Specialist

    @handat - These are the arguments that I have passed

    C:\Policy Migration> "C:\Middleware1\Oracle_BI1\common\bin\wlst.cmd" migratePolicyStore.wlst

    Ya, I am not sure of the string. The above arguments should help create a new system-jazn-data.xml file.

    Appreciate your thoughts. Thanks.

  • OBIEE_Drool
    OBIEE_Drool Rank 4 - Community Specialist

    @handat Just FYI, this is what my migratePolicyStore.wlst file contents look like:

    pastedImage_1.png