Saturday, 20 June 2015

The persistent store "BipJmsStore" encountered a fatal error while starting BIP Server 1st time in OIM 11g R2 PS3 fresh installation

The persistent store "BipJmsStore" encountered a fatal error while starting BIP Server 1st time in OIM 11g R2 PS3 fresh installation :


--------------------------------------------------------------------------------
 IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING> 
 AM IST> <Emergency> <Store> <BEA-280060> <The persistent store "BipJmsStore" encountered a fatal error, and it must be shut down: weblogic.store.PersistentStoreFatalException: [Store:280105]The persistent file store "BipJmsStore" cannot open file BIPJMSSTORE000000.DAT.
weblogic.store.PersistentStoreFatalException: [Store:280105]The persistent file store "BipJmsStore" cannot open file BIPJMSSTORE000000.DAT.
        at weblogic.store.io.file.FileStoreIO.open(FileStoreIO.java:128)
        at weblogic.store.internal.PersistentStoreImpl.recoverStoreConnections(PersistentStoreImpl.java:435)
        at weblogic.store.internal.PersistentStoreImpl.open(PersistentStoreImpl.java:423)
        at weblogic.store.admin.AdminHandler.activate(AdminHandler.java:126)
        at weblogic.store.admin.FileAdminHandler.activate(FileAdminHandler.java:191)
        Truncated. see log file for complete stacktrace
Caused By: java.io.IOException: Error from fcntl() for file locking, Resource temporarily unavailable, errno=11
        at weblogic.store.io.file.direct.DirectIONative.openConsiderLock(Native Method)
        at weblogic.store.io.file.direct.DirectFileChannel.<init>(DirectFileChannel.java:54)
        at weblogic.store.io.file.direct.DirectIOManager.open(DirectIOManager.java:179)
        at weblogic.store.io.file.StoreFile.openInternal(StoreFile.java:112)
        at weblogic.store.io.file.StoreFile.openDirect(StoreFile.java:168)
        Truncated. see log file for complete stacktrace
>
--------------------------------------------------------------------------------

Fix 1:
As per the Oracle support note, following steps can be performed:
Create a new JMS store:


  • Login to the WLS console
  • Go to Services->Persistent Stores
  • Click on "Lock & Edit"
  • Click on New->CreateFileStore
  • Give the new store a name, select bi_server1 as the target and give it a Directory name (usually the same one as the store name). Make sure to create the directory first on the OS (under <DOMAIN_HOME>) and you only need to enter the name of the directory not the full path.
  • Click Ok
  • Activate the changes
  • Go to Services->Messaging->JMS Servers->BipJmsServer
  • Click on "Lock & Edit"
  • Select the new store you created as the persistent store
  • Save and activate the changes
  • Start the managed server.
  • If you want/need to keep the configuration on its original state you can remove the BipJmsStore and redo the procedure.


Fix 2:
Login to WL Home >BipJmsStore >Summary of Persistent Stores > BipJmsStore

  • Update the target to bi_server1 and restart WL and BIP server

Sunday, 7 June 2015

OAM 11g R2 ps3 installation and configuration steps

1)      Download Installers: From OTN

 2)       Run RCU:
        Unzip the zip








*make sure  OMSM is selected in the above selection ( Its not captured in the snapshot as I created it separately)




2) Weblogic Installation:







   Install OAM 11g R2 PS3:









  OAM Configuration:














OPSS configuration:
./oracle_common/common/bin/wlst.sh /u01/iam_111230/middleware/Oracle_IAM/common/tools/configureSecurityStore.py -d /home/oracle/iam_domain/domains/oam_domain/  -c IAM  -p O**** -m  create



Access oam console as : http://hostname:7001/oamconsole and weblogic/password as credentials



OIM 11g r2 ps3 installation and configuration steps

1)      Download Installers: From OTN

Download SOA: From edelivery.oracle.com

 2)      Run RCU:
Unzip the zip
 ./rcu






 3)      Weblogic Installation:







 4)      Install IAM 11g r2 PS3:
Unzip the   installers:
 Cd Disk1
./runInstaller.sh  -jreLoc /u01/jdk/jre






 5)      Installation of SOA 11.1.1.9.0
Unzip soa installers:
 Cd Disk1
./runInstaller.sh  -jreLoc /u01/jdk/jre







 6)      Configure Domain:
<<OIM_HOME>>/common/bin and run ./config.sh
















 7)      Create the security store:
<<MW_HOME>>oracle_common/common/bin

./wlst.sh /u01/iam_111230/middleware/Oracle_GRC/common/tools/configureSecurityStore.py -d /home/oracle/iam_domain/domains/oim_domain -c IAM -p <<passwd>> -m create


 8) Start with Oracle Identity Manager configuration
Start oim admin server
Start soa server

Run <OIM_HOME>/bin/config.sh











 Generate wlfullclient.jar
 Start OIM server and try to access OIM Identity console as http://hostname:14000/identity

You can access Weblogic console as http://hostname:7001/console



Please note: Since PS3, the BI publisher is integrated with OIM 11g R2 installation.

Thanks,