Showing posts with label OIM. Show all posts
Showing posts with label OIM. Show all posts

Friday, 15 August 2014

OIM ldapsyncudf

oracle.iam.platform.utils.NoSuchServiceException: java.lang.reflect.InvocationTargetException
at oracle.iam.platform.OIMClient.getServiceDelegate(OIMClient.java:197)
at oracle.iam.platform.OIMClient.getService(OIMClient.java:174)
at oracle.iam.platform.OIMClient.loginSessionCreated(OIMClient.java:209)
at oracle.iam.platform.OIMClient.login(OIMClient.java:137)
at oracle.iam.platform.OIMClient.login(OIMClient.java:129)
at oracle.iam.platformservice.utils.LDAPSyncUDFUtil.main(LDAPSyncUDFUtil.java:146)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at oracle.iam.platform.OIMClient.getServiceDelegate(OIMClient.java:193)
at oracle.iam.platform.OIMClient.getService(OIMClient.java:174)
at oracle.iam.platform.OIMClient.loginSessionCreated(OIMClient.java:209)
at oracle.iam.platform.OIMClient.login(OIMClient.java:136)
... 2 more


In your OIM Sync Config make sure the OIMProviderURL's port is pointing to the port you access OIM on.

For example
OIMProviderURL=t3://localhost:14000

#bearMan

Wednesday, 13 August 2014

OIM - OAM 11.1.1.7 Error

Could not register OIM as a TAP partner. oamWlst MBean not found

This was a relatively easy fix for me, all you need to do is add 
OAM11G_WLS_ADMIN_HOST: <Host>
OAM11G_WLS_ADMIN_PORT: <port>
OAM11G_WLS_ADMIN_USER: weblogic

to your config file:
/u01/oracle/Oracle/Middleware/Oracle_IDM1/idmtools/bin/idmConfigTool.sh  -configOIM input_file=/u01/oracle/Oracle/Middleware/Oracle_IDM1/idmtools/bin/configOIM.properties

Tuesday, 12 August 2014

OIM Design Console

./xlclient.sh
Exception in thread "Main Thread" java.lang.NoClassDefFoundError: javax/ejb/CreateException
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Class.java:2436)
        at java.lang.Class.getDeclaredMethod(Class.java:1937)
        at java.awt.Component.isCoalesceEventsOverriden(Component.java:5982)
        at java.awt.Component.access$500(Component.java:169)
        at java.awt.Component$3.run(Component.java:5936)
        at java.awt.Component$3.run(Component.java:5934)
        at java.awt.Component.checkCoalescing(Component.java:5933)
        at java.awt.Component.<init>(Component.java:5902)
        at java.awt.Container.<init>(Container.java:249)
        at java.awt.Window.<init>(Window.java:432)
        at java.awt.Frame.<init>(Frame.java:403)
        at java.awt.Frame.<init>(Frame.java:368)
        at javax.swing.JFrame.<init>(JFrame.java:158)
        at com.thortech.xl.gui.base.tcFrame.<init>(tcFrame.java:34)
        at com.thortech.xl.client.base.tcAppWindow.<init>(tcAppWindow.java:104)
        at com.thortech.xl.client.base.tcAppWindow.main(tcAppWindow.java:173)


cd $FMW/wlserver_10.3/server/lib/
export JAVA_HOME=<java_home>
java -jar wljarbuilder.jar

copy wlfullclient.jar to designconsole/ext/

cd $ORACLE_HOME/designconsole/
./xlclient.sh

Now you can log in.

Note: Default admin user = xelsysadm

#bearMan

Monday, 14 July 2014

OIM Server Logs

OIM Logs / Location / how I found them

I needed to find the OIM Log location today, and this was a pretty easy task, and I think this can be used for more than just this application. I am sure all applications will show their logs here.

Access to:
Console
ssh

so first things first, go to console, and then go to servers, click on the server you want, and click the tab, logging.


The log file name, is where the log is located.

So now for some SSH.

Go to:
user_projects/<domain>/<server>/logs/

My Use case would be

user_projects/IAMDomain/oim_server1/logs/

#bearMan

Tuesday, 29 April 2014

OIM - OAM Integration Error

Config file does not have System ID Container 

I am following:
http://docs.oracle.com/cd/E28280_01/doc.1111/e15740/oim.htm#AIING4000

oracle.idm.automation.exception.ExecutionFailedException: Config file does not have System ID Container Name
        at oracle.idm.automation.impl.oam.handlers.OAM11gIntegrationHandler.prepareLDAPUserDN(OAM11gIntegrationHandler.java:421)
        at oracle.idm.automation.impl.oam.handlers.OAM11gIntegrationHandler.configOAM11gIdStore(OAM11gIntegrationHandler.java:234)
        at oracle.idm.automation.impl.oam.handlers.OAM11gIntegrationHandler.execute(OAM11gIntegrationHandler.java:839)
        at oracle.idm.automation.AutomationTool.configOAM(AutomationTool.java:708)
        at oracle.idm.automation.AutomationTool.parseCmdLine(AutomationTool.java:232)
        at oracle.idm.automation.AutomationTool.main(AutomationTool.java:146)
Apr 29, 2014 6:52:41 PM oracle.idm.automation.impl.oam.handlers.OAM11gIntegrationHandler configOAM11gIdStore

I recently got this error while I was running
./idmConfigTool.sh –configOAM input_file=configOAM.properties

The way I solved this was by adding IDSTORE_SYSTEMIDBASE into my properties file

#bearMan

Wednesday, 19 March 2014

Cannot execute LdapConfigPostSetup

Cannot execute LdapConfigPostSetup


My Error

 ./LDAPConfigPostSetup.sh
Usage: LDAPConfigPostSetup <location of ldapconfig.props file> [-changeLogNumber <number>]

What I was Doing

./LDAPConfigPostSetup.sh

What I Tried

./LDAPConfigPostSetup.sh /u01/app/oracle/product/fmw/Oracle_IAM1/server/ldap_config_util/ldapconfig.props

The Solution

./LDAPConfigPostSetup.sh /u01/app/oracle/product/fmw/Oracle_IAM1/server/ldap_config_util

Monday, 13 January 2014

OIM Design Console: java.lang.NoClassDefFoundError: javax/ejb/CreateException

java.lang.NoClassDefFoundError: javax/ejb/CreateException


Exception in thread "main" java.lang.NoClassDefFoundError: javax/ejb/CreateException
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Class.java:2531)
        at java.lang.Class.getDeclaredMethod(Class.java:2002)
        at java.awt.Component.isCoalesceEventsOverriden(Component.java:6190)
        at java.awt.Component.access$500(Component.java:188)
        at java.awt.Component$3.run(Component.java:6144)
        at java.awt.Component$3.run(Component.java:6142)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.awt.Component.checkCoalescing(Component.java:6141)
        at java.awt.Component.<init>(Component.java:6110)
        at java.awt.Container.<init>(Container.java:276)
        at java.awt.Window.<init>(Window.java:534)
        at java.awt.Frame.<init>(Frame.java:420)
        at java.awt.Frame.<init>(Frame.java:385)
        at javax.swing.JFrame.<init>(JFrame.java:180)
        at com.thortech.xl.gui.base.tcFrame.<init>(tcFrame.java:34)
        at com.thortech.xl.client.base.tcAppWindow.<init>(tcAppWindow.java:104)
        at com.thortech.xl.client.base.tcAppWindow.main(tcAppWindow.java:173)
Caused by: java.lang.ClassNotFoundException: javax.ejb.CreateException
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        ... 18 more

This Error is caused by not having the “wlfullclient.jar” file in order to generate this, you need to cd to
$WL_HOME/server/lib
And run:
java -jar wljarbuilder.jar

This takes a while depending on how good the server is, but also outputs a lot, so don’t be afraid of this. Copy that file to your OIM Home /designconsole/ext
If you need to, you must FTP that to your local machine.

#bearMan