OIM 11g Post Create Adapter not invoked
I want to create a postprocess adapter for user creation. I registered my plugin and uploaded the metadata.
However it is not getting invoked. On checking the logs for oracle.iam.platform.kernel.impl I can see only the out of box metadata xmls being read, but my xml path does not show up in the logs
If I run this against MDS database
select path_contentid,path_name,path_fullname,path_doc_elem_name from mds_paths where path_doc_elem_name ='eventhandlers' order by path_fullname asc
It does show my metadata entry.
Any idea on what is wrong here?
Edited by: user13720159 on Jan 18, 2012 3:57 AM
All the files that I used for the plugin including the metadata is attached here
[https://sites.google.com/site/oracleforumzone/post-adapter-all-files.zip?attredirects=0&d=1|https://sites.google.com/site/oracleforumzone/post-adapter-all-files.zip?attredirects=0&d=1]
I registered the plugin using java code, which is this [https://sites.google.com/site/oracleforumzone/Register.java?attredirects=0&d=1|Register Code]
After that I ran the weblogicImportMetadata.bat file to load the metadata
Running this
select path_contentid,path_name,path_fullname,path_doc_elem_name from mds_paths where path_doc_elem_name ='eventhandlers' order by path_fullname asc
(First I had 1 entry for /metadata/user/UserPostAdapter/EventHandlers.xml then I tried again so 2 entries)
gives me the following:
86 EventHandlers.xml /metadata/iam-features-OIMMigration/EventHandlers.xml eventhandlers
176 EventHandlers.xml /metadata/iam-features-OIMMigration/EventHandlers.xml eventhandlers
173 EventHandlers.xml /metadata/iam-features-Scheduler/EventHandlers.xml eventhandlers
83 EventHandlers.xml /metadata/iam-features-Scheduler/EventHandlers.xml eventhandlers
203 EventHandlers.xml /metadata/iam-features-accesspolicy/event-definition/EventHandlers.xml eventhandlers
113 EventHandlers.xml /metadata/iam-features-accesspolicy/event-definition/EventHandlers.xml eventhandlers
92 EventHandlers.xml /metadata/iam-features-asyncwsclient/EventHandlers.xml eventhandlers
182 EventHandlers.xml /metadata/iam-features-asyncwsclient/EventHandlers.xml eventhandlers
106 EventHandlers.xml /metadata/iam-features-autoroles/event-definition/EventHandlers.xml eventhandlers
196 EventHandlers.xml /metadata/iam-features-autoroles/event-definition/EventHandlers.xml eventhandlers
114 EventHandlers.xml /metadata/iam-features-callbacks/event_configuration/EventHandlers.xml eventhandlers
204 EventHandlers.xml /metadata/iam-features-callbacks/event_configuration/EventHandlers.xml eventhandlers
205 EventHandlers.xml /metadata/iam-features-configservice/event-definition/EventHandlers.xml eventhandlers
115 EventHandlers.xml /metadata/iam-features-configservice/event-definition/EventHandlers.xml eventhandlers
195 EventHandlers.xml /metadata/iam-features-identity/event-definition/EventHandlers.xml eventhandlers
105 EventHandlers.xml /metadata/iam-features-identity/event-definition/EventHandlers.xml eventhandlers
88 EventHandlers.xml /metadata/iam-features-notification/EventHandlers.xml eventhandlers
178 EventHandlers.xml /metadata/iam-features-notification/EventHandlers.xml eventhandlers
110 EventHandlers.xml /metadata/iam-features-passwordmgmt/event-definition/EventHandlers.xml eventhandlers
200 EventHandlers.xml /metadata/iam-features-passwordmgmt/event-definition/EventHandlers.xml eventhandlers
211 EventHandlers.xml /metadata/iam-features-reconciliation/event-definition/EventHandlers.xml eventhandlers
121 EventHandlers.xml /metadata/iam-features-reconciliation/event-definition/EventHandlers.xml eventhandlers
104 EventHandlers.xml /metadata/iam-features-request/event-definition/EventHandlers.xml eventhandlers
194 EventHandlers.xml /metadata/iam-features-request/event-definition/EventHandlers.xml eventhandlers
120 EventHandlers.xml /metadata/iam-features-requestactions/event-definition/EventHandlers.xml eventhandlers
210 EventHandlers.xml /metadata/iam-features-requestactions/event-definition/EventHandlers.xml eventhandlers
109 EventHandlers.xml /metadata/iam-features-selfservice/event-definition/EventHandlers.xml eventhandlers
199 EventHandlers.xml /metadata/iam-features-selfservice/event-definition/EventHandlers.xml eventhandlers
153 EventHandlers.xml /metadata/iam-features-sod/EventHandlers.xml eventhandlers
63 EventHandlers.xml /metadata/iam-features-sod/EventHandlers.xml eventhandlers
100 EventHandlers.xml /metadata/iam-features-system-configuration/EventHandlers.xml eventhandlers
190 EventHandlers.xml /metadata/iam-features-system-configuration/EventHandlers.xml eventhandlers
79 EventHandlers.xml /metadata/iam-features-tasklist/EventHandlers.xml eventhandlers
169 EventHandlers.xml /metadata/iam-features-tasklist/EventHandlers.xml eventhandlers
186 EventHandlers.xml /metadata/iam-features-templatefeature/EventHandlers.xml eventhandlers
96 EventHandlers.xml /metadata/iam-features-templatefeature/EventHandlers.xml eventhandlers
162 EventHandlers.xml /metadata/iam-features-transUI/EventHandlers.xml eventhandlers
72 EventHandlers.xml /metadata/iam-features-transUI/EventHandlers.xml eventhandlers
432 EventHandlers.xml /metadata/user/UserPostAdapter/EventHandlers.xml eventhandlers
433 EventHandlers.xml /metadata/user/UserPostAdapter/EventHandlers.xml eventhandlers
Similar Messages
-
OIM 11g R2 - Creating a new role using API
Hi,
I am trying to create a new role in OIM 11g R2 using RoleManager API.The requirement is to provide "Role Owner" also while creating the role.May I know how to do that?.Thanks in advance.HashMap <String, String> groupMap = new HashMap <String, String> ();
groupMap.put("Groups.Group Name", groupName);
groupMap.put("Groups.Role Description", "Just for testing");
long groupKey = -1L;
try {
groupKey = goi.createGroup(groupMap);
logger.info("RESULT: Group with group_key '" + groupKey
+ "' has been successfully created");
} catch (tcAPIException e) {
logger.info("Creating client...."+e);
} catch (tcDuplicateGroupException ex) {
return getGroupKey(goi, groupName);
//logger.info(""+ex.toString());
} catch (tcInvalidAttributeException er) {
logger.info(""+er.toString());
I hope this really helps you,
Thiago Leoncio.
(Blog: thiagoleoncio) -
OIM 11g R2 - Recon events not getting linked
Hi,
In OIM 11g R2,recon events are not getting linked.The recon events are getting struck in "Data Received" status.When I tried to clicking "Reevaluate Event",then getting the message "Cause: Status of the batch is not 'Completed'. Any idea on what might be going wrong?Thanks.The problem is not yet solved.could see the below error in the logs
Caused By: oracle.iam.platform.tx.OIMTransactionException: java.sql.SQLException: ORA-01422: exact fetch returns more than requested number of rows
ORA-06512: at "DEV_OIM.XL_SP_RECONBLKCHILDMTHACNTCRUD", line 730
ORA-06512: at "DEV_OIM.XL_SP_RECONBLKACNTRQDCMTCHCRUD", line 91
ORA-06512: at line 1
at oracle.iam.platform.tx.OIMTransactionManager.execute(OIMTransactionManager.java:28)
at oracle.iam.reconciliation.dao.ReconActionDao$1ReconDBCall.command(ReconActionDao.java:1423)
Any idea what might be going wrong ? Thanks. -
OIM 11g installation : Create Oracle Internet Directory Failed
Hi, everyone,
I have try to install OIM 11g for many times , but also error happened....
I did like follow:
1, install OS, window 2008 R2 64bit.(I have install oracle database 11g on another machine.)
2, install weblogic 10.3.3 (without config domain)
3, install OIM 10.1.1.2 64bit (without config, only software)
4, install OIM patch set2 10.1.1.3 64bit
5, use config.bat to config...
select the new domain ...
but , when start the Oracle Internet Directory , error happened and message like followed..
AdminServer port is 7001
trying to connect to TPC3013 7001
Successful
getDomainRuntimeMBeanServerConnection ...
Connecting to Domain runtime ...
trying to connect to TPC3013 7001
Successfully connected to the Domain Runtime ...
trying to connect to TPC3013 7001
Successful
MBean Server Connection is :javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection@5e83450d
TPC3013 7001
Instance asinst_1 already exists, continuing with component creation
C:\Oracle\Middleware\Oracle_IDM1 C:\Oracle\Middleware\asinst_1 asinst_1
oracle.as.config.ProvisionException: OID-23663
at oracle.iam.management.oid.install.wls.OIDComponentHelper.setSuperUserCredentials(OIDComponentHelper.java:2267)
at oracle.iam.management.oid.install.wls.OIDComponent.postCreateConfig(OIDComponent.java:343)
at oracle.as.provisioning.fmwadmin.ASComponentProv.createComponent(ASComponentProv.java:145)
at oracle.as.provisioning.fmwadmin.ASComponentProv.createComponent(ASComponentProv.java:73)
at oracle.as.provisioning.fmwadmin.ASInstanceProv._createComponent(ASInstanceProv.java:401)
at oracle.as.provisioning.fmwadmin.ASInstanceProv.createComponent(ASInstanceProv.java:358)
at oracle.as.provisioning.fmwadmin.ASInstanceProv.createInstanceAndComponents(ASInstanceProv.java:136)
at oracle.as.provisioning.engine.WorkFlowExecutor._createASInstancesAndComponents(WorkFlowExecutor.java:522)
at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:438)
at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)
at oracle.as.idm.install.config.IdMDirectoryServicesManager.doExecute(IdMDirectoryServicesManager.java:865)
at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
at java.lang.Thread.run(Thread.java:619)
Caused by: oracle.ldap.util.UtilException: NamingException encountered in ldapModify [LDAP: error code 32 - No Such Object]
at oracle.ldap.util.Util.ldapModify(Util.java:2555)
at oracle.iam.management.oid.install.wls.OIDComponentHelper.setSuperUserCredentials(OIDComponentHelper.java:2254)
... 19 more
help, thanks.I think this
+Caused by: oracle.ldap.util.UtilException: NamingException encountered in ldapModify [LDAP: error code 32 - No Such Object]+
shows the cause of error.
I entered dc=com for OVD and realm: dn=myrealm for OID. Is it correct?
Edited by: mfedo on Apr 15, 2011 12:43 AM -
OIM 11g - Error Creating Custom 'Service Account' Field
Hi experts,
we would like to create a custom "Service Account" checkbox on a Form Provisioning, in way to enable\disable the 'service account'
status on a target account.
We wanto to control the 'Service Account' status through a checkbox into the account form.
Here our steps:
- Create a new Field on 'UD_ADUSER' Form, we add a 'Service Account' CheckBox as boolean type with default value = 0.
- Create a new Adapter 'Service Account':
---- into 'Variable List' tab we define 2 variables: ProcessInstance -> Long and ServiceAccountCheckBox -> boolean
---- into 'Adapter Task' tab we define an IF(ServiceAccountCheckbox == 1) launch tcUserOperationsIntf.changeToServiceAccount method, with our variable 'ProcessInstance' as Input
- Create a new task into 'Process Definition', we created 'Service Account Updated'.
---- into task tab named 'Integration' we set our custom adapter, mapping Process Data > Process Instance and Process Data > Service Account with adapter variables.
When we assign an 'AD User' resource to a user, the new checkbox 'Service Account' is showed into the form.
If we check/uncheck the checkbox the task 'Service Account Updated' is launched, but the response is "*Specified User Account Not Found*"
I think that the problem is into the adapter..
Any one can help us?
Best Regards
ATAs I said map user key(usr_key) and process instance key(orc_key) form design console
and use below query to get oiu_key
prockey=<PROCESS_INSTANCE_KEY>;
user_key=<USR_KEY>;
String sqlquery="select oiu_key from oiu " +
"where ORC_KEY = prockey " +
"and usr_key = user_key" ;
Connection con=Platform.getOperationalDS().getConnection();
Statement st=con.prepareStatement(query);
ResultSet rs=st.executeQuery();
while(rs.next())
long oiuKey=rs.getLong("oiu_key");
now pass this key in the method -
OIM 11g - Default role does not exists
Hey,
the default role IDENTITY ORGANIZATION ADMINISTRATORS does not exists in my OIM (11.1.1.5.4)
I need this role to assign an user privileges to create and manage organization.
Any idea?960944 wrote:
Hey,
the default role IDENTITY ORGANIZATION ADMINISTRATORS does not exists in my OIM (11.1.1.5.4)
I need this role to assign an user privileges to create and manage organization.
Any idea?The following roles were removed in 11.1.1.5.0:
IDENTITY ORGANIZATION ADMINISTRATORS
ACCESS POLICY ADMINISTRATORS
IT RESOURCE ADMINISTRATORS
GENERIC CONNECTOR ADMINISTRATORS
REPORT ADMINISTRATORS
Regards,
Vladimir -
OIM 11g attaching an adapter to the delete user process
Hi everyone,
Is there any way to attach
1. A process task adapter to the Delete User task for the Xellerate User process. Either through creating a new task and linking this task to the Delete User task or modifying the out of the box event handler.
2. Or an entity adapter to User on pre delete. (from what I understand you can't do this in 11g)
What I'm trying to do is obscure a user's information in the database before or after they are deleted. I'm trying to avoid event handlers. Any help would be greatly appreciated.You should be able to create a pre-process event handler on the User object for action Delete.
-Kevin -
OIM 11g R1 - Rule does not work
Hello,
i want to add all users to a specified role "abc", if they are member of organization "xyz"
I created a rule in Design Console:
Type: General
Element: Organization Name == xyz
I added this rule to the role "abc", but the members will not be added automatically to this role.
Why not? Do i have to run a job?Run the following query:
update user_provisioning_attrs set policy_eval_needed = 1 where usr_key in (select usr_key from usr where act_key = (select act_key from act where act_name = 'xyz') and usr_status = 'Active')
The next time the "Eval User Policy" scheduled task runs, it will evaluate all the users in that org to apply the rule. Be careful doing this though because that many updates could cause a strain on the system so choose how many you update at a time and then process.
-Kevin -
Creating GTC in OIM 11g (11.1.1.3.0)
Hi,
I'm trying to install Generic Technology Connector (Database_App_Tables_9.1.0.5.0) and to configure the target sysatem as a trusted source reconcilation task in OIM 11g 11.1.1.3 but I get a lot of problems. I used the following quides to do that:
1) Oracle® Identity Manager Connector Guide for Database Application Tables Release 9.1.0
2) racle® Fusion Middleware Developer's Guide for Oracle Identity Manager 11g Release 1 (11.1.1)
First of all, these quides don't correspond to the OIM 11g or I'm not smart enough to understand them. On the step 3 of configuration target system as a trusted source I can't find some of the mandatory fields of the OIM User form. The Guide tells me that mandatory fields are: User ID, First Name, Last Name, Employee Type, User Type, Organization. But in the User form only some of them represented: First Name, Last Name, Organization.
Nevertheless I configured my system as follows:
1) I'd created table EMPLOYEES with columns LOGIN, FIRSTNAME(primary key), LASTNAME, ORGANIZATION in my Oracle DB. I'd add one row in my table useru, User, User, Xellerate Users.
2) I'd configured my connector as follows:
step1:
Name Test
Reconciliation select
Transport Provider Database Application Tables Reconciliation
Format Provider Database Application Tables Reconciliation
Trusted Source Reconciliation selected
step2:
Database Driver oracle.jdbc.driver.OracleDriver
Database URL jdbc:oracle:thin:@localhost:1521:orcl
Database User ID system
Database Password *******
Parent Table/View Name EMPLOYEES
Reconcile Deletion of Multivalued Attribute Data not selected
Reconciliation Type Full
step3:
source reconciliation staging OIM
LOGIN---------------->LOGIN-------------------------------------->User Login
FIRSTNAME-------->FIRSTNAME------------------------------->First Name(Matching only)
LASTNAME--------->LASTNAME------------------------------->Last Name
ORGANIZATION-->ORGANIZATION------------------------>Organization
After running TEST_GTC schedule, reconciliation is finished without errors in OIM log file and reconciliation evet is created.
The Reconciliation data of this event looks like:
Attribute Name Attribute value OIM mapped field
LOGIN useru User Login
FIRSTNAME User First Name
LASTNAME User Last Name
ORGANIZATION Xellerate Users Organization Name
The History of this event looks like:
Event Recieved
Data Validation Succeded
No User Match Found
Creation Faild
Notes: ORA Error Code =>ORA-01400: cannot insert NULL into () ORA Error Stack =>ORA-06512: at DEV_OIM.OIM_SP_RECONBLKUSERCRUD", line 722
Has anyone any ideas how to get through this?
Thanks in Advance!Be a Good Guild Leader in the WOW Gold.By the way, we sincerely invite all game players whether you are newbie or veteran to Buy WOW Gold.Then, the icing on the cake: Your guild leader emu-raged when your husband made a comment about the(RS Gold) whole thing. To me, your husband reacted naturally. I probably would have said the same thing. The only person doing something "wrong" in this situation was your guild leader. The bottom line is this: It's not a guild leader's place to(Lotro Gold) "test" your behavior. Honestly, I can't imagine a context in which it would be appropriate for (Metin2 Gold)anyone to do this, under any circumstances. The sheer self-righteousness of it nauseates me.
-
Hi all,
I have developed an Entity Adapter using Oracle Identity Manager Design Console which generates different account user ids against a user defined field on Process Form.
Here I'll provide more details about my scenario.
SCENARIO*
a. OIM version: 11.1.1.5.0
b. Process Form fields (Siebel Process Form):
- User ID
- First Name
- Last Name
.... [any other out of the box Siebel Connector field]
- Anonymous Flag (this is a user defined field on Siebel Process Form)
c. Entity Adapter
- this adapter has an input variable which is Process Form user defined field "+Anonymous Flag+"
- if "+Anonymous Flag+" is checked (true) then the adapter sets the return value to "*Anonymous*"
- else if "+Anonymous Flag+" is uncheked (false) then the adapter sets the return value to "*NOT Anonymous*"
- the adapter return variable is mapped to Process Form "+User ID+"
- NOTE: the adapter return values are only for testing pourpose. In the future, the adapter should return two different syntax for User ID.
For example in case of Anonymous Flag checked, account User ID should be +<surname>+ + "+_+" + +<name>+ + +<random_number>+; while in case of Anonymous Flag unchecked, account User ID should be <+company_name+> + <+random_number+>
d. Access Policies
- an access policy "+AP_for_Anonymous+" linked with a role "+ROLE_for_Anonymous+" that sets "+Anonymous Flag+" to checked (true)
- an access policy "+AP_for_NOT_Anonymous+" linked with a role "+ROLE_for_NON_Anonymous+" that sets "+Anonymous Flag+" to unchecked (false)
RESULTS*
Assigning one of roles "+ROLE_for_Anonymous+" or "+ROLE_for_NON_Anonymous+", on Process Form, user defined field "+Anonymous Flag+" is valorized correctly, but Entity Adapter doesn't seems to work. In fact Process Form User ID remains empty.
QUESTIONS*
1. Are Entity Adapters associated with accounts supported in OIM 11g? I found a couple of posts that assert that Entity Adapters don't exist in OIM 11g (Event handlers are not getting invoked in oim 11g. or that state Entity Adapters are not supported with the User Form (Issue in adapters mapping in OIM 11g About this I found Entity Adapter Oracle documentation (http://docs.oracle.com/cd/E21764_01/doc.1111/e14309/creadp.htm#BABDHECI)
2. If Entity Adapters are not applicabile to my scenario, can I use Event Handlers? If yes, what are the entity types that I can specify in event handler metadata xml file? For "event handler metadata xml file" I mean the following
<action-handler class="com.test.sample" entity-type=????? operation="CREATE" name="Sample" stage="postprocess" order="1007" sync="TRUE"/>3. If Entity Adapters are not applicabile to my scenario, what are the operations that I can specify in event handler metadata xml file?
Thank for your help,
DanieleEntity Adapter still exist in 11g. Yes, you can use Event Handler .
But why don't you use Process task/prepopulate adapter for your scenario. Try below
1. You have some condition on which role is assigned. Based on same condition populate this Anonymous/ Not Anonymous(true/false) at user profile.
2. write a pre-populate adapter to generate User ID. pass parameters Anonymous flag along with other user profile attribute(first name, last name..etc.) . Here based on flag you will be able to decide User ID.
3. attach this pre-populate with process form.
4. already you have two access policy which is fine. just edit both and remove the Anonymous flag value else can leave it as it is.
Note: for populating Anonymous flag on user profile create a new UDF and try to populate in trusted recon.else write post process event handler for same which will execute before access policy. I mean the order of evethandler should be between 1003 to 1008
If you have doubt let me know
--nayan -
Reconcile user groups to OIM (11g)
I would appreciate it if someone may let me know how to reconcile the organization and leadership structure information from an Oracle DB based identity vault into OIM (11g) to create organizational roles, for example, into the user group and user group membership tables, i.e. the UGP and USG table series. Many thanks.
yesy, I have defines correct search value but its again and again throwing error. I change the search values too. But its not working.
-
OIM 11g to provision a web services based application , how ?
Hi All,
I'm trying to provision using GTC connector in OIM but the problem is i know how to write a webservice but i'm newbie to OIM 11g so i am not able to integrate my webservice to the OIM GTC connector.
Highly appreciate if any one give me the background or steps to follow how to execute the provisioning using custom web service in OIM 11g.
ThanksHi,
-Just trying to help-
Based on OIM 11G requirements:
If your target system is a Web service that can accept and parse SPML-based provisioning requests packaged in SOAP messages, you can use the SPML provisioning format provider and Web Services provisioning transport provider.
You need not create custom provisioning providers.
1-SPML provisioning format provider
TargetOperation value object that is created by the SPML provisioning format provider and used as an input for the Web Services provisioning transport provider:
com.thortech.xl.gc.impl.prov.WSTransportTargetOperation
2-15.4 Web Services Provisioning Transport Provider
http://download.oracle.com/docs/cd/E14571_01/doc.1111/e14309/prdfnd_prov.htm#CHDJBFAI
I hope this helps,
Thiago Leoncio Guimaraes -
Iplanet process form issue in OIM 11g
Hi,
When I try to provision a user to iPlanet. It throws below error in OIM Admin console itself in OIM 11g
This resource is not configured correctly. Contact your System Administrator.
Form does not have any fields defined.
I'm not able to see my process form when I try to provision, eventhough I have fields over there. I'm assumption is there is some problem with Process Definition and Process form linkage for iPlanet resource. I don't think OIM will allow to attach new process form in current process defiintion. Correct me If I'm worng.
Is there any way to check this linkage from backend. any queries available to check from OIM DB?
Pls help me to fix this?Hi,
When I try to provision a user to iPlanet. It throws below error in OIM Admin console itself in OIM 11g
This resource is not configured correctly. Contact your System Administrator.
Form does not have any fields defined.
I'm not able to see my process form when I try to provision, eventhough I have fields over there. I'm assumption is there is some problem with Process Definition and Process form linkage for iPlanet resource. I don't think OIM will allow to attach new process form in current process defiintion. Correct me If I'm worng.
Is there any way to check this linkage from backend. any queries available to check from OIM DB?
Pls help me to fix this? -
OIM 11g - ldap sync - Post Process event handler 'CREATE' faillling
Hi Gurus,
We have ldap sync set up between OIM 11.1.1.5 and ODSEE 11g,
Post process event handler on user creation with is setting a attribute with random 16 digit character, This event handler is getting triggered and setting the attribute in OIM but in logs i can see "Modification failed because user 45118 is not synchronized to the LDAP directory." error and it is not updated in ODSEE.
This behaviour is only for trusted recon not for the User created through UI.
Not sure what exactly is happening..
Is it expected behavior??
Gurus help me out on this.IF it fail because event handler unable to produce random number then verify below
is eventhandler code being executed in trusted recon verify in log.
There are two method execute and bulk execute in eventhandler. execute is being called from UI and bulk execute is being called for trusted recon.
either put code in bulk execute or update batch recon size something like that system property to 1. so, it will function as UI. Default value of batch is 500
--nayan -
Unable to invoke Custom PostProcessEventHandler in OIM 11g R2
Hi,
I am working with OIM 11g R2 .I created an custom PostProcessEventHandler to trigger on modify user operation.
I created a jar file of custom class as xyz.jar
I created an plugin.xml as:
<?xml version="1.0" encoding="UTF-8"?>
<oimplugins>
<plugins pluginpoint="oracle.iam.platform.kernel.spi.EventHandler">
<plugin pluginclass="com.xyz.DisablePostProcessEventHandler" version="1.0" name="DisablePostProcessEventHandler">
</plugin>
</plugins>
</oimplugins>
I made an xyz.zip of plugin.xml and lib/xyz.jar
I registered the xyz.zip by placing zip file in plugins directory.
I created an EventHandlers.xml as below:
<?xml version='1.0' encoding='utf-8'?>
<eventhandlers xmlns="http://www.oracle.com/schema/oim/platform/kernel"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.oracle.com/schema/oim/platform/kernelorchestration-handlers.xsd">
<!-- Custom postprocess event handlers -->
<action-handler
class="com.xyz.DisablePostProcessEventHandler" entity-type="User" operation="MODIFY" name="DisablePostProcessEventHandler" stage="postprocess" order="9999" sync="TRUE"/>
</eventhandlers>
and placed in the path temp/metadata/user/custom/CustomPostProcessHandler and imported it to MDS.
I purged the cache as ./PurgeCache MetaData.
When i am trying to modify user i am getting error as below:
[WARNING] [] [oracle.adf.controller.faces.lifecycle.Utils] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 0000JqaUC9MDoYO_qh5EiY1HJuY90001ve,0] [APP: oracle.iam.console.identity.self-service.ear#V2.0] ADF: Adding the following JSF error message: Localized message not available. Error returned is: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null[[
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:699)
at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:2143)
at oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:3114)
at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:261)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1635)
at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2150)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)
at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
at oracle.iam.ui.platform.utils.FacesUtils.executeOperationBinding(FacesUtils.java:165)
Caused by: java.lang.NullPointerException
at oracle.iam.request.impl.RequestEngine.startOrchestrationFromPreProcess(RequestEngine.java:5385)
at oracle.iam.request.impl.RequestEngine.triggerOperation(RequestEngine.java:5297)
at oracle.iam.request.impl.RequestEngine.doOperation(RequestEngine.java:5028)
at oracle.iam.impl.OIMServiceImpl.doOperation(OIMServiceImpl.java:43)
at sun.reflect.GeneratedMethodAccessor2994.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at oracle.iam.platform.utils.DMSMethodInterceptor.invoke(DMSMethodInterceptor.java:25)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy384.doOperation(Unknown Source)
at oracle.iam.api.OIMServiceEJB.doOperationx(Unknown Source)
at sun.reflect.GeneratedMethodAccessor4224.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
## Detail 0 ##
java.lang.NullPointerException
at oracle.iam.request.impl.RequestEngine.startOrchestrationFromPreProcess(RequestEngine.java:5385)
at oracle.iam.request.impl.RequestEngine.triggerOperation(RequestEngine.java:5297)
at oracle.iam.request.impl.RequestEngine.doOperation(RequestEngine.java:5028)
at oracle.iam.impl.OIMServiceImpl.doOperation(OIMServiceImpl.java:43)
at sun.reflect.GeneratedMethodAccessor2994.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at oracle.iam.platform.utils.DMSMethodInterceptor.invoke(DMSMethodInterceptor.java:25)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy384.doOperation(Unknown Source)
at oracle.iam.api.OIMServiceEJB.doOperationx(Unknown Source)
at sun.reflect.GeneratedMethodAccessor4224.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.aop.support.Deleg
Please help me in resolving this issue.Hi Suny,
Yes I restarted the OIM Server but getting same error.
I have logger in my code and and nothing is getting printed thet menas the code is not getting invoked itself.
My eventhandler is for postprocess and I am not understanding why i am getting PreProcess error.
java.lang.NullPointerException
at oracle.iam.request.impl.RequestEngine.startOrchestrationFromPreProcess(RequestEngine.java:
Maybe you are looking for
-
FM to get purchasing price based on certain condition
Hi, Is there any function module to get Price in purchasing document like PO after certain price condition like freight, discount etc. For example I have a material no, price per unit 50 USD and we'd like to buy 10 pieces of it, we have price conditi
-
How to extend Segment if segment of current version & has been generated
Hi, I am facing a problem, in extend the segment. It is a BAPI-ALE interface, I have generated the segment, and the segement is in the current verion. But i need to add one more field to the segment. How to add the segment, It very urgent. Can someon
-
Condition type EK01 missing in pricing procedure A V (error message V1206)
Hi gurus, We get error message "condition type EK01 missing in pricing procedure A V" when creating a Billing request from a SErvice Order through TX-DP90. We reviewed customizing regarding this issue: ODP4 - SD Document linked to condition EK01 (thi
-
After upgrade to 10.9.1, iCloud, Calendar, and app store are unresponsive. What can I do? (This is a second attempt to describe my problem(s); the first was very unclear). - Clicking Calendar brings up nothing but the banner "moving calendar to serv
-
Looking for a good page transition script
Hi; I need a cross browser transition to fade a page out and redirect to another after a given time period. Any suggestions ? Thanks; Pat