Wednesday, June 3, 2009

OIM - Exchange connector creating multiple mail stores

You may be surprised to see that Exchange connector sometimes creates multiple mailboxes. I spent so much time to figure out why it is happening.



I would say it is Exchange 2003's one of ha ha.. behaviour

If you have a welcome/Initial email sent from the nonconditional task such as create mailbox task . This is a the culprit.

Never create a mailbox and send an email at the same time (if you are doing this through code) . You should instead write a scheduled task to send emails this task should check that if the Exchange resource is provisioned or not if it is provisioned then only send an email.


you have to do this because, Exchange server takes its own sweet time to create a mailbox. so be carefull when you see a wierd behaviour of Exchange server. when using an Excahnge connector with Oracle Identity Management.

com.thortech.xl.dataobj.util.tcAttributeSource.getAttrColumnName

Value: java.lang.NullPointerException
at com.thortech.xl.dataobj.util.tcAttributeSource.getAttrColumnName(Unknown Source)


There are many reason you get this error when trusted recon is done. and there is a little way to find why this is happening.

One reason why this happens is when you change the form field label in User Profile you should go in process definition of each field and remap the attributes.

Ex: Say you have a field called UD_USR_PHONE and label is "Phone" . This field has been mapped in your reconciliation.

Now your client says I don't this label I want new label called "Full Phone" instead of just "Phone".

You should go in every process definition where you might have mapped phone & re-map it to full phone. If you do not do this exercise you will get above error.