Monday, August 17, 2015

PS3 Offline Upgrade Failing During BIP Upgrade

Migrating from OIM 11g R2 PS2 to R2 PS3 and running the Middle Tier Upgrade - Offline mode, the following upgrades failed:

1.BIPUpgrade
2.RoleRequestDataSetUpgrade.

Solution:

1) Open the config.xml kept at the location $DOMAIN_HOME/config folder.

2) Locate

<file-store>

 <name>BipJmsStore</name>

 <directory>BipJmsStore</directory>

 <target>$DOMAIN_NAME$</target>

 </file-store>

    Replace  $DOMAIN_NAME$ with BIP Server Name. By Default it is bi_server1.

3) Add the following along with other <jms-server> tags and put your bi server name in <target>.

 <jms-server>

 <name>BipJmsServer</name>

 <target>bi_server1</target>

 <persistent-store>BipJmsStore</persistent-store>

</jms-server>

4)  Run the OIMUpgrade.sh offline again and complete the upgrade process


Thank you.

Arihant

Friday, August 7, 2015

Fusion Middleware Home is corrupted (Common Env Script missing or Not executable)!

While running the opatch apply or opatch lsinventory we got below error.

Error :

/app/oracle/middleware/Oracle_SOA1/OPatch/opatch
Fusion Middleware Home is corrupted (Common Env Script missing or Not executable)!
/app/oracle/middleware/Oracle_SOA1/jdk/bin/java is not a valid executable for this platform.
OPatch cannot proceed!


./opatch lsinventory -invPtrLoc ../oraInst.loc
Fusion Middleware Home is corrupted (Common Env Script missing or Not executable)!
/app/oracle/middleware/Oracle_SOA1/jdk/bin/java is not a valid executable for this platform. OPatch cannot proceed!
OPatch returns with error code = 1


Solution :

1. Keep a backup of existing commEnv.sh file 
2. Restore from backup valid commEnv.sh file
3.Change the file permission of commEnv.sh file
4. Execute the opatch commands again to confirm everything works fine.

Thanks,
Arihant