Categories
- All Categories
- Oracle Analytics and AI Learning Hub
- 44 Oracle Analytics and AI Sharing Center
- 20 Oracle Analytics and AI Lounge
- 278 Oracle Analytics and AI News
- 56 Oracle Analytics and AI Videos
- 16.2K Oracle Analytics and AI Forums
- 6.4K Oracle Analytics and AI Labs
- Oracle Analytics and AI User Groups
- 103 Oracle Analytics and AI Trainings
- 20 Oracle Analytics and AI Challenge
- Find Partners
- For Partners
migratePolicyStore.wlst error
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'
Answers
-
What were the arguments that you provided when you ran it? It's expecting a string while it got nothing.
0 -
@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.
0 -
@handat Just FYI, this is what my migratePolicyStore.wlst file contents look like:
0
