Customize resource history page in oim accounts

Customize resource history page by adding extra number of rows to see more tasks on the page as default number of tasks to display is only 5



1) shut down OIM
2) 'cd' to $OIM_HOME/server/apps/oim.ear
3) make a backup copy of the OIGUI.war file
4) extract the js/ui/reshistroy/pages/reshist.tmpl.html and web/js/ui/reshistroy/pages/reshist.tmpl.html files from the OIGUI.war file and change the following:
data-bind="ojComponent: {component: 'ojPagingControl',data: resHistroyPagingDatasource, pageSize: 5}"></div>
to:
data-bind="ojComponent: {component: 'ojPagingControl',data: resHistroyPagingDatasource, pageSize: 15}"></div>
5) save the updated reshist.tmpl.html files back to OIGUI.war but do not update the manifest
6) start up OIM
7) log into the WLS Admin console and select "Lock and Edit" in the upper left corner
8) navigate to "Deployments" -> "Configuration" tab and select the checkbox next to "oim"
9) select "Update" at the top, use the default values and click "Finish"
10) click on "Activate Changes" in the upper left corner (I got an error but ignored it - see below that I had to restart the server)
11) click on "Control" tab at the top, scroll down to "oim", click the checkbox to the left of it then scroll back up and click "Start" -> "Servicing all requests"
NOTE: if the "oim" deployed application doesn't start properly then just shut down the OIM server and start it back up
12) go into "Resource History" and confirm if you see 5 or 15 rows now.

How to set the Session Timeout for Identity and Sysadmin Console in OIM 12c

How to set the Session Timeout for Identity and Sysadmin Console in OIM 12c


PART – 1 Prepare the xml files for the Session timeout changes for the respective deployments.

 

identityPlan.xml

<?xml version='1.0' encoding='UTF-8'?>

<deployment-plan xmlns="http://xmlns.oracle.com/weblogic/deployment-plan" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/weblogic/deployment-plan http://xmlns.oracle.com/weblogic/deployment-plan/1.0/deployment-plan.xsd">

  <application-name>oracle.iam.console.identity.self-service.ear#V2.0</application-name>

  <variable-definition>

    <variable>

      <name>NewTimeOut</name>

      <value>60</value>

    </variable>

  </variable-definition>

  <module-override>

    <module-name>oracle.iam.console.identity.self-service.war</module-name>

    <module-type>war</module-type>

    <module-descriptor external="false">

      <root-element>web-app</root-element>

      <uri>WEB-INF/web.xml</uri>

      <variable-assignment>

             <name>NewTimeOut</name>

             <xpath>/web-app/session-config/session-timeout</xpath>

    </variable-assignment>

    </module-descriptor>

  </module-override>

</deployment-plan>

 

sysadminPlan.xml

<?xml version='1.0' encoding='UTF-8'?>

<deployment-plan xmlns="http://xmlns.oracle.com/weblogic/deployment-plan" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/weblogic/deployment-plan http://xmlns.oracle.com/weblogic/deployment-plan/1.0/deployment-plan.xsd">

  <application-name>oracle.iam.console.identity.sysadmin.ear#V2.0</application-name>

  <variable-definition>

    <variable>

      <name>NewTimeOut</name>

      <value>60</value>

    </variable>

  </variable-definition>

  <module-override>

    <module-name>oracle.iam.console.identity.sysadmin.war</module-name>

    <module-type>war</module-type>

    <module-descriptor external="false">

      <root-element>web-app</root-element>

      <uri>WEB-INF/web.xml</uri>

      <variable-assignment>

             <name>NewTimeOut</name>

             <xpath>/web-app/session-config/session-timeout</xpath>

    </variable-assignment>

    </module-descriptor>

  </module-override>

</deployment-plan>

 

 

oimPlan.xml

<?xml version='1.0' encoding='UTF-8'?>

<deployment-plan xmlns="http://xmlns.oracle.com/weblogic/deployment-plan" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/weblogic/deployment-plan http://xmlns.oracle.com/weblogic/deployment-plan/1.0/deployment-plan.xsd">

  <application-name>oim</application-name>

  <variable-definition>

    <variable>

      <name>NewTimeOut</name>

      <value>60</value>

    </variable>

  </variable-definition>

  <module-override>

    <module-name>iam-consoles-faces.war</module-name>

    <module-type>war</module-type>

    <module-descriptor external="false">

      <root-element>web-app</root-element>

      <uri>WEB-INF/web.xml</uri>

      <variable-assignment>

             <name>NewTimeOut</name>

             <xpath>/web-app/session-config/session-timeout</xpath>

    </variable-assignment>

    </module-descriptor>

  </module-override>

  <module-override>

    <module-name>FacadeWebApp.war</module-name>

    <module-type>war</module-type>

    <module-descriptor external="false">

      <root-element>web-app</root-element>

      <uri>WEB-INF/web.xml</uri>

      <variable-assignment>

             <name>NewTimeOut</name>

             <xpath>/web-app/session-config/session-timeout</xpath>

    </variable-assignment>

    </module-descriptor>

  </module-override>

</deployment-plan>

 

Part – 2 Deploy the ear files have changes been made in web.xml

 
1.      Login to WebLogic console as an Administrator.
2.      Select Deployments under Domain Structure
3.      Select oracle.iam.console.identity.self-service.ear(V2.0) and Update
4.      Click on Change Path on Deployment Plan Path
5.      Select the file location IdentityPlan.xml
6.      Select the Update this application in place with new deployment plan changes option.
Note:
You can ignore the following errors while updating the plan:
'weblogic.management.DeploymentException:  The application oracle.iam.console.identity.self-service.ear#V2.0 cannot have the resource WEB-INF/weblogic.xml updated dynamically. Either:
7.      Click Finish to complete the deployment plan configuration
8.      Activate changes if required
9.      Changes are activated then restart the servers after doing all the changes.
 
Deployment Plan Changes on oracle.iam.console.identity.sysadmin.ear
 
10.  Search for oracle.iam.console.identity.sysadmin.ear (V2.0)
11.  Select and Update
12.  Click on Change Path on Deployment Plan Path
13.  Select SysadminPlan.xml from persistent volume location.
14.  Select the Update this application in place with new deployment plan changes option.
15.  Click Finish to complete the deployment plan configuration
16.  Activate Changes
17.  Changes are made, restart the servers.
 
Deployment Plan Changes on oim.ear
 
18.  Look for oim.ear
19.  Select and Update oim
20.  Click on Change Path on Deployment Plan Path
21.  Select oimPlan.xml from persistent volume location.
22.  Select the Update this application in place with new deployment plan changes option.
23.  Click Finish to complete the deployment plan configuration
24.  Activate Changes
25.  Ignore the errors while activation of the deployment.
26.  Changes are made, restart the servers.
 

Basic Perfomance Tuning For stuck threads and response times

Documentation for performance tuning: https://docs.oracle.com/en/middleware/fusion-middleware/12.2.1.4/asper/redundant-cross-references-remo...