Peoplesoft Provisioning is failing after Peoplesoft tools Upgrade

[ERROR] [] [ORACLE.IAM.CONNECTORS.ICFCOMMON.PROV.ICPROVISIONINGMANAGER] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: jlibich] [ecid: e3db7ea4eadae3c1:4b76075a:17630e56b2d:-8000-000000000001e537,0] [APP: oim#11.1.2.0.0] [DSID: 0000NOtWHNpDKeMpQKl3id1Vmjgy000009] oracle.iam.connectors.icfcommon.prov.ICProvisioningManager : updateAttributeValue : Error in updateAttributeValue[[
org.identityconnectors.framework.common.exceptions.ConnectorException: Cannot connect to peoplesoft : PeopleTools release (8.55.27) for web server/ Application Designer '' is not the same as Application Server PeopleTools release (8.57.12).  Access denied.

  

Solution:

1) You should have latest version of psjoa.jar and psmanagement.jar from PeopleSoft team. These are located in PEOPLESOFT_HOME/web/psjoa directory.

2) select * from OIMHOME_JARS;
Identify ICFBundle --> org.identityconnectors.peoplesoftintfc-1.0.5963.jar

3) following environment variables need to be set if not done before

APP_SERVER is weblogic

OIM_ORACLE_HOME is /u01/app/oracle/product/middleware/Oracle_IDM1/

JAVA_HOME is /java/jdk1.7.0_80/

MW_HOME is /u01/app/oracle/product/middleware/

WL_HOME is /u01/app/oracle/product/middleware/wlserver_10.3/

DOMAIN_HOME is / u01/app/oracle/middleware/user_projects/domains/oim_domain/

4) Take Backup of jar
locate the server location for this bundle and take a backup in your local/server host.
or

Navigate to below path and run Downloadjars.sh utility

/u01/app/oracle/product/middleware/IAM/server/bin

./DownloadJars.sh

For running the Utilities the following environment variables need to be set

APP_SERVER is weblogic
OIM_ORACLE_HOME is /u01/app/oracle/product/middleware/Oracle_IDM1/
JAVA_HOME is /java/jdk1.7.0_80/
MW_HOME is /u01/app/oracle/product/middleware/
WL_HOME is /u01/app/oracle/product/middleware/wlserver_10.3/
DOMAIN_HOME is / u01/app/oracle/middleware/user_projects/domains/oim_domain/

Executing oracle.iam.platformservice.utils.JarDownloadUtility in IPv4 mode

[Enter Xellerate admin username :]xelsysadm

[Enter the admin password :]

[[Enter serverURL (Ex. t3://oimhostname:oimportno for weblogic or corbaloc:iiop:localhost:2801 for websphere)]:]t3://oimoamlib.test.com:14005

[[Enter context (i.e.: weblogic.jndi.WLInitialContextFactory for weblogic or com.ibm.websphere.naming.WsnInitialContextFactory for websphere)]:]weblogic.jndi.WLInitialContextFactory

Logging configuration class "oracle.core.ojdl.logging.LoggingConfiguration" failed

java.lang.ClassNotFoundException: oracle.core.ojdl.logging.LoggingConfiguration

log4j:WARN No appenders could be found for logger (org.springframework.jndi.JndiTemplate).

log4j:WARN Please initialize the log4j system properly.

Enter the jar type

 1.JavaTasks

 2.ScheduleTask

 3.ThirdParty

 4.ICFBundle

4

Enter the full path of the download directory :

/u01/bundle/PSFTJar/prod_backup

Enter the name of jar file to be downloaded from DB :

org.identityconnectors.peoplesoftintfc-1.0.5963.jar

Do u want to download more jars [y/n] :n

Download jar executed successfully

5) Delete  jar

./DeleteJars.sh

For running the Utilities the following environment variables need to be set

APP_SERVER is weblogic
OIM_ORACLE_HOME is /u01/app/oracle/product/middleware/Oracle_IDM1/
JAVA_HOME is /java/jdk1.7.0_80/
MW_HOME is /u01/app/oracle/product/middleware/
WL_HOME is /u01/app/oracle/product/middleware/wlserver_10.3/
DOMAIN_HOME is / u01/app/oracle/middleware/user_projects/domains/oim_domain/

Executing oracle.iam.platformservice.utils.JarDeleteUtility in IPv4 mode

[Enter Xellerate admin username :]xelsysadm

[Enter the admin password :]

[[Enter serverURL (Ex. t3://oimhostname:oimportno for weblogic or corbaloc:iiop:localhost:2801 for websphere)]:]t3://oimoamlib.test.com:14005

[[Enter context (i.e.: weblogic.jndi.WLInitialContextFactory for weblogic or com.ibm.websphere.naming.WsnInitialContextFactory for websphere)]:]weblogic.jndi.WLInitialContextFactory

Logging configuration class "oracle.core.ojdl.logging.LoggingConfiguration" failed

java.lang.ClassNotFoundException: oracle.core.ojdl.logging.LoggingConfiguration

log4j:WARN No appenders could be found for logger (org.springframework.jndi.JndiTemplate).

log4j:WARN Please initialize the log4j system properly.

Enter the jar type

 1.JavaTasks

 2.ScheduleTask

 3.ThirdParty

 4.ICFBundle

4

Enter the name of jar to be deleted from DB :

org.identityconnectors.peoplesoftintfc-1.0.5963.jar

Do u want to delete more jars [y/n] :n

Delete jar executed successfully

This jar contains psjoa.jar file in lib directory of older version. Extract bundle and file and replace with upgraded version of psjoa.jar and rebuild org.identityconnectors.peoplesoftintfc-1.0.5963.jar file.

6) Upload upgraded bundle jar

1.   ./UploadJars.s

      For running the Utilities the following environment variables need to be set

APP_SERVER is weblogic
OIM_ORACLE_HOME is /u01/app/oracle/product/middleware/Oracle_IDM1/
JAVA_HOME is /java/jdk1.7.0_80/
MW_HOME is /u01/app/oracle/product/middleware/
WL_HOME is /u01/app/oracle/product/middleware/wlserver_10.3/
DOMAIN_HOME is / u01/app/oracle/middleware/user_projects/domains/oim_domain/

Executing oracle.iam.platformservice.utils.JarUploadUtility in IPv4 mode

[Enter Xellerate admin username :]xelsysadm

[Enter the admin password :]

[[Enter serverURL (Ex. t3://oimhostname:oimportno for weblogic or corbaloc:iiop:localhost:2801 for websphere)]:]t3://oimoamlib.test.com:14005

[[Enter context (i.e.: weblogic.jndi.WLInitialContextFactory for weblogic or com.ibm.websphere.naming.WsnInitialContextFactory for websphere)]:]weblogic.jndi.WLInitialContextFactory

Logging configuration class "oracle.core.ojdl.logging.LoggingConfiguration" failed

java.lang.ClassNotFoundException: oracle.core.ojdl.logging.LoggingConfiguration

log4j:WARN No appenders could be found for logger (org.springframework.jndi.JndiTemplate).

log4j:WARN Please initialize the log4j system properly.

Enter the jar type

 1.JavaTasks

 2.ScheduleTask

 3.ThirdParty

 4.ICFBundle

4

Enter the path/location of jar file :

/tmp/Sanjivani/org.identityconnectors.peoplesoftintfc-1.0.5963.jar

Do u want to load more jars [y/n] :n

Upload jar executed successfully


7) Replace psjoa.jar with upgraded version

Navigate to below location and replace psjoa.jar file with upgraded version.

cp /tmp/Sanjivani/psjoa.jar /u01/app/oracle/product/middleware/Oracle_IDM1/server/ConnectorDefaultDirectory/targetsystems-lib/PSFT_UM-11.1.1.6.0

NOTE: If you are using PeopleTools 8.54, PeopleTools 8.55, PeopleTools 8.56, or PeopleTools 8.57, you must also copy the psmanagement.jar file from PEOPLESOFT_HOME/client-tools/class to the directory created in ConnectorDefaultDirectory/targetsystems-lib/PSFT_UM-11.1.1.6.0

cp /tmp/Sanjivani/psmanagement.jar /u01/app/oracle/product/middleware/Oracle_IDM1/server/ConnectorDefaultDirectory/targetsystems-lib/PSFT_UM-11.1.1.6.0

8) Restart oim servers

9) Test Peoplesoft Provisioning/Update attribute/Disable/Delete Operation from OIM on Peoplesoft Test account.
you should not see the error in log.

No comments:

Post a Comment

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