SOA - Stuck Thread Issue



1 Prerequisites

  • Verify the OUI Inventory.
   OPatch needs access to a valid OUI inventory to apply patches. 
   Validate the OUI inventory with the following commands:

   $ opatch lsinventory  

   If the command errors out, contact Oracle Support and work to validate
   and verify the inventory setup before proceeding.

  • Create a location for storing the unzipped patch. This location
   will be referred to later in the document as PATCH_TOP.


2 Pre-Installation Instructions

NOTE: YOU MUST APPLY THE SAME PATCH TO SOA AND oracle_common HOMEs
      AT THE SAME TIME. YOU CANNOT APPLY JUST ONE AS THIS WILL
      CAUSE UNPREDICTABLE BEHAVIOR.

- FOR THE SOA HOME
  Set the ORACLE_HOME environment variable to SOA Home,
  for example "[MW_HOME]/Oracle_SOA1" directory.

- FOR THE oracle_common HOME
  Set the ORACLE_HOME environment variable to Oracle Common Home,
  for example "[MW_HOME]/oracle_common" directory.


3 Installation Instructions
   
   Unzip the patch zip file into the PATCH_TOP.

   $ unzip -d PATCH_TOP p22469374_111190_Generic.zip

2. Set your current directory to the directory where the patch is located.

   $ cd PATCH_TOP/22469374

3. Run OPatch to apply the patch.

       $ opatch apply


4 Post-Installation Instructions

 On JDeveloper, apply the SOA and BPM JDev extensions for 11.1.1.9.160119
   
     * These can be obtained directly from JDev via the “check for updates” feature:
          - Oracle SOA Composite Editor version 11.1.1.9.0.99.99
          - Oracle BPM Studio 11g version 11.1.1.9.0.1.7
   
     * Or as bundle download from OTN:
          http://download.oracle.com/otn-pub/jdeveloper/11.1.1.9.0/extensions/soabp160119/pcbpel_bundle.zip
          http://download.oracle.com/otn-pub/jdeveloper/11.1.1.9.0/extensions/soabp160119/bpm_bundle.zip


   - Restart all servers (Admin Server and all Managed Server(s))

------------------------------------------------------------------------------------------------------

STEPS TO APPLY BP 22469374

  1. Download and unzip the patches with the following id’s
BP-22469374
Patches needs to be applied on Oracle_SOA 
22615723
22810660

BP-22469374
Patches needs to be applied on oracle_common
22464662

NOTE:  First apply BP on Oracle_SOA and then oracle_common 

  1. to apply on Oracle_SOA

  • export ORACLE_HOME=/iam/fmw/Oracle_SOA1
  • export PATH=$PATH:/iam/fmw/Oracle_SOA1/OPatch
  • cd 22469374
  • run opatch apply


  • cd 22810660
  • cd oui
  • run opatch apply


  • cd 22615723
  • cd oui
  • run opatch apply


  • ./opatch lsinventory

  1. to apply on oracle_common

  • export ORACLE_HOME=/iam/fmw/oracle_common
  • export PATH=$PATH:/iam/fmw/oracle_common/OPatch
  • cd 22469374
  • run opatch apply

  • cd 22464662
  • cd oui
  • run opatch apply
  • ./opatch lsinventory

Validation on login in IAM

Commonly used ADF security expressions and security APIs in the UI layer 
The commonly used security expressions and corresponding ADF security APIs are as follows: 
Accessing logged in username: The following EL expression can be used for accessing the authenticated username: #{securityContext.userName}. 
The following code snippet illustrates how to use the ADF security API for the purpose of accessing an authenticated username: 
SecurityContext securityCtx = ADFContext.getCurrent(). getSecurityContext(); String loggedInUserName=securityCtx.getUserName();

Is the user authenticated: The following EL expression returns true if the user is authenticated: #{securityContext.authenticated}. 
The following is a code sample for the purpose of reading the authentication status for the current user: SecurityContext securityCtx = ADFContext.getCurrent(). getSecurityContext(); Boolean isUserAutheticated = securityCtx.isAuthenticated();

validation.jsp

<html>
<body>
<h2 align="center"> Validating UserName and Password </h2>
<%
String str1=request.getParameter("t1");
String str2=request.getParameter("t2");
if(str1.equalsIgnoreCase("sanjivani") && str2.equals("<password>") // can write extra code to fetch the password from backend

{
out.println("<h3>Welcome,Sanjivani!!!</h3>");
}
else
{
out.println("<h3>Sorry,You're Not Sanjivani</h3>")
}

%>
</body>
</html>

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...