Monday 25 August 2014

EBS - OID Integration

EBS - OID Derigster

Assumption EBS R12
OID 11g

Deregister SSO With EBS.

$FND_TOP/bin/txkrun.pl -script=SetSSOReg -deregister=yes

Remove References in EBS.

$FND_TOP/bin/txkrun.pl -script=SetSSOReg -removereferences=yes

#bearMan

Wednesday 20 August 2014

Jdev JAVA_HOME

JDeveloper Set Java

It is quite easy to change the java used by jdev, all you need to do is find the jdev.conf file and change the line that has SetJavaHome in it.

This should be at the top of the file somewhere.

My config file is located at: /home/f/Oracle/Middleware11117/jdeveloper/jdev/bin

SetJavaHome /usr/lib/jvm/java-1.7.0-openjdk-amd64

#bearMan

Monday 18 August 2014

OID: Context Initialization Error

ldapsearch


Context Initialization Error

You need to set your ORACLE_HOME to where you installed OID

an easy way on linux to do this is to firstly locate ldapsearch and then set the ORACLE_HOME to the path.

$ locate ldapsearch
/u01/app/oracle/product/fmw/Oracle_IDM1/bin/ldapsearch

$ export ORACLE_HOME=/u01/app/oracle/product/fmw/Oracle_IDM1

Then try run it again

#bearMan

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