How to UploadJars.sh ICFBundle Jar in Oracle Identity Manager
Introduction-Suppose you have developed ICFBundle connector code, now you want to deploy connector code in OIM as ICFBundle Jar, following are the steps to deploy.
Navigate to the following location and run below script.
[oracleapp@elcosapoim3:/opt/oracle/apps/OIM_Middleware/idm/server/bin]$ ./UploadJars.sh
For running the Utilities the following environment variables need to be set
APP_SERVER is weblogic
OIM_ORACLE_HOME is /opt/oracle/apps/OIM_Middleware/idm
JAVA_HOME is /opt/oracle/apps/jdk1.8.0_271
MW_HOME is /opt/oracle/apps/OIM_Middleware
WL_HOME is /opt/oracle/apps/OIM_Middleware/wlserver
DOMAIN_HOME is /opt/oracle/apps/OIM_Middleware/user_projects/domains/OIG_domain
For running the Utilities the following environment variables need to be set
APP_SERVER is weblogic
OIM_ORACLE_HOME is /opt/oracle/apps/OIM_Middleware/idm
JAVA_HOME is /opt/oracle/apps/jdk1.8.0_271
MW_HOME is /opt/oracle/apps/OIM_Middleware
WL_HOME is /opt/oracle/apps/OIM_Middleware/wlserver
DOMAIN_HOME is /opt/oracle/apps/OIM_Middleware/user_projects/domains/OIG_domain
Executing oracle.iam.platformservice.utils.JarUploadUtility in IPv4 mode
[Enter Xellerate admin username :]Xelsysadm
[Enter the admin password :] Passw0rd1
[[Enter serverURL (Ex. t3://oimhostname:oimportno for weblogic or corbaloc:iiop:localhost:2801 for websphere)]:]t3://elcosapoim3.is.test.net:14000
[[Enter context (i.e.: weblogic.jndi.WLInitialContextFactory for weblogic or com.ibm.websphere.naming.WsnInitialContextFactory for websphere)]:]weblogic.jndi.WLInitialContextFactory
log4j:WARN No appenders could be found for logger (org.springframework.jndi.JndiTemplate).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Enter the jar type
1.JavaTasks
2.ScheduleTask
3.ThirdParty
4.ICFBundle
4
Enter the path/location of jar file :
/opt/oracle/apps/OIM_Middleware/idm/server/JavaTasks/WorkdayTrustedConnector.jar
Do u want to load more jars [y/n] :n
Upload jar executed successfully
[oracleapp@ldcosapoim3:/opt/oracle/apps/OIM_Middleware/idm/server/bin]$
You can confirm from DB whether Jar has been uploaded successfully by running following query.
---->>>>select * from oimhome_jars where oj_type='ICFBundle'
Above query will result in following output.
1862 ICFBundle WorkdayTrustedConnector.jar (BLOB) 27-06-21 1
Comments
Post a Comment