Home » Fusion Middleware & Colab Suite » Business Intelligence » Migrating Application Roles in OBIEE 11g (OBIEE 11g)
Migrating Application Roles in OBIEE 11g [message #649353] Wed, 23 March 2016 06:02 Go to next message
Messages: 4
Registered: March 2016
Location: Bangalore
Junior Member
I need to migrating Application Roles from Dev to UAT. I am getting error as "Command FAILED, Reason: JPS-06171: Failed to create policy store object, please check the logs." after running migratesecuritystore() command. Anyone can please reply as what i have done wrong and what needs to be done for successful migration of application roles. Any editing is required for jps-config file and migratesecuritystore() command?

The process that i followed for migration is
1. Copied jps-config.xml file to Temp directory.
2. Copied system-jazn-data.xml file to Temp->Dev directory. ( Copied from Dev environment)
3. Copied system-jazn-data.xml file to Temp->Prod directory. ( Copied from Prod environment)
4. Edited jps-config.xml file with source and target information as below.
5. Initialized wlst.sh from Temp directory
5. Command used for migration as (in offline mode)
migrateSecurityStore(type="appPolicies", srcApp="obi", configFile="/scratch/OBIEE11/SecurityMigration/jps-config-policy.xml", src="sourceFileStore", dst="targetFileStore", overWrite="false")

Edited jps-config.xml file:

<?xml version="1.0" encoding="UTF-8" standalone='yes'?>
<jpsConfig xmlns="http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd"
schema-major-version="11" schema-minor-version="1">
<!-- This property is for jaas mode. Possible values are "off", "doas" and "doasprivileged" -->
<property name="oracle.security.jps.jaas.mode" value="off"/>
<!-- SAML Trusted Issuer -->
<propertySet name="saml.trusted.issuers.1">
<property name="name" value="www.oracle.com"/>
</propertySet> </propertySets>
<serviceProvider type="POLICY_STORE" name="policystore.xml.provider" class="oracle.security.jps.internal.policystore.xml.XmlPolicyStoreProvider"> <description>XML-based PolicyStore Provider</description> </serviceProvider> </serviceProviders>
<!-- JPS XML Policy Store Service Instance -->
<serviceInstance name="srcpolicystore.xml" provider="policystore.xml.provider" location="/scratch/OBIEE11/SecurityMigration/Dev/system-jazn-data.xml">
<description>File Based Policy Store Service Instance</description>
<serviceInstance name="policystore.xml" provider="policystore.xml.provider" location="/scratch/OBIEE11/SecurityMigration/Prod/system-jazn-data1.xml">
<description>File Based Policy Store Service Instance</description>
<jpsContexts default="default">
<!-- This is the default JPS context. All the mendatory services and Login Modules must be configured in this default context -->
<jpsContext name="sourceFileStore">
<serviceInstanceRef ref="srcpolicystore.xml"/>
</jpsContext> <jpsContext name="targetFileStore">
<serviceInstanceRef ref="policystore.xml"/>

Waiting for your replies.....
Re: Migrating Application Roles in OBIEE 11g [message #649494 is a reply to message #649353] Tue, 29 March 2016 02:23 Go to previous message
Messages: 4
Registered: March 2016
Location: Bangalore
Junior Member
It worked for me. I just relogin to linux and tried it again with same process and command. I got permission denied access later which i solved.
Previous Topic: Export and Import of User groups(security) in OBIEE
Next Topic: Loops in OBIEE 11g
Goto Forum:

Current Time: Thu Dec 14 14:36:32 CST 2017

Total time taken to generate the page: 0.01301 seconds