Monday, April 17, 2017

OAM: Enable White Listing mode

                       We are going to cover about the commands that can be used to enable White listing of URLs in OAM and enable it on OAM Protected applications. This white listing of URLs helps to avoid re-directions to external sites/URLs that are not registered with OAM.

  • OAM
  • RHEL6/OEL6

      Enabling and configuring White-listing  mode is very simple and just requires the following acitivites.
  1. Enable OAM White listing Mode
  2. Adding/Removing URLs to/from the list of White listed URLs
1. Enable OAM White listing Mode:
  • Login to the server that contains installation of OAM component
  • Browse to the following directory
    • <Oracle_IDM_Home>/common/bin
  • Execute the following commands
    • ./
    • connect('weblogic','password','t3://oamhost:7001'>)
    • domainRuntime()
    • oamSetWhiteListMode(oamWhiteListMode="true")
  • This returns the success message as shown below.

2. Adding/Removing URLs to/from the list of White listed URLs :
  • Execute the below command to add a URL to the list
    • oamWhiteListURLConfig(Name="google",Value="",Operation="Update")  

  • Execute the below command to remove a URL from the list
    • oamWhiteListURLConfig(Name="google",Value="",Operation="Remove") 

  • We can validate the behaviour during the logout process of any protected application with OAM Logout URL. For example, Add a URL like "" to white list and  invoke the following Logout URL which has end_url parameter with the URL
    • http://<OHSHost:7777/oamsso/logout.html?end_URL=
  • After successful logout, above URL will redirect you back to "" as it is trusted URL.
  • You can validate by removing the same URL from the White Listed URLs list and invoke logout again. Then OAM will just log you out but will not redirect the user to ""
Thanks for visiting.

Wednesday, April 12, 2017

OAM: Storage not configured error in Session Management

               Receiving "Storage not configured" error popup in OAM console while accessing user session management information.  

  • OAM BP07
  • RHEL6/OEL6
  • OUD

OAM Console throws "Storage not configured" error due to couple of reasons. This might happen
  • If there is no single OAM managed server up and running.
  • When Admin server failed to initialize session manager with the following exception in Admin logs
<Oct 12, 2016 7:06:41 PM EDT> <Warning> <oracle.oam.admin.console.policy> <BEA-000000> <Exception in getting sessionmanager OAMSSA-02008: Cannot instantiate the persistence access implementation for class PersistedSessionCache.

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(
        at model.SessionSearchVOImpl.executeSMESearch(
        at model.SessionSearchVOImpl.retrieveResultSet(
        at model.SessionSearchVOImpl.executeQueryForCollection(
        at oracle.jbo.server.ViewRowSetImpl.execute(
        at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(
        at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(
        at oracle.jbo.server.ViewRowSetImpl.executeQuery(
        at oracle.jbo.server.ViewObjectImpl.executeQuery(
        at oracle.adf.model.bc4j.DCJboDataControl.executeIteratorBinding(
        at oracle.adf.model.binding.DCIteratorBinding.doExecuteQuery(


Following actions can help in the fixing the issue.
  • Make sure to start the OAM Managed server before accessing the Session Management information through OAM Admin console
  • If the above action doesn't work, Restart the OAM Admin Server(Weblogic Admin Server) again after having the OAM Managed server Up and Running.
Thank you for visiting.