OIM 10g Event Handler : Integrated with User Groups.User Members

I have created custom event handler and integrated it with User Groups.User Members data object.
here is my code od event handler class:
public class GroupEventHandler extends tcBaseEvent {
     public GroupEventHandler() {
          this.setEventName("Event Handler Sample");
     protected void implementation() throws Exception {
          System.out.println("============@@@@@@@@ IN EVENT HANDLER ");
          try
          String groupKey = this.getDataObject().getString("Groups.Key");
          writeToFile(groupKey);
          catch (Exception e)
               e.printStackTrace();
But I am getting this exception :
ERROR [ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)' XELLERATE.SERVER - Class/Method: tcTableDataObj/getString encounter some problems: Column 'GROUPS.KEY' not found
com.thortech.xl.dataaccess.tcDataSetException: Column 'GROUPS.KEY' not found
     at com.thortech.xl.dataaccess.tcDataSet.getColumnIndex(Unknown Source)
     at com.thortech.xl.dataaccess.tcDataSet.getString(Unknown Source)
     at com.thortech.xl.dataobj.tcTableDataObj.getString(Unknown Source)
     at oim.GroupEventHandler.implementation(GroupEventHandler.java:19)
     at com.thortech.xl.client.events.tcBaseEvent.run(Unknown Source)
     at com.thortech.xl.dataobj.tcDataObj.runEvent(Unknown Source)
     at com.thortech.xl.dataobj.tcDataObj.eventPostInsert(Unknown Source)
     at com.thortech.xl.dataobj.tcUSG.eventPostInsert(Unknown Source)
     at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
     at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
     at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
     at com.thortech.xl.ejb.beansimpl.tcGroupOperationsBean.addMemberUsers(Unknown Source)
     at com.thortech.xl.ejb.beans.tcGroupOperationsSession.addMemberUsers(Unknown Source)
     at com.thortech.xl.ejb.beans.tcGroupOperations_ejm77u_EOImpl.addMemberUsers(tcGroupOperations_ejm77u_EOImpl.java:1671)
     at Thor.API.Operations.tcGroupOperationsClient.addMemberUsers(Unknown Source)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
     at weblogic.security.Security.runAs(Security.java:41)
     at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
     at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
     at $Proxy66.addMemberUsers(Unknown Source)
     at com.thortech.xl.webclient.actions.UserGroupMembersAction.assignMemberUsers(Unknown Source)
     at com.thortech.xl.webclient.actions.UserGroupMembersAction.assignGroupMembers(Unknown Source)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
     at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(Unknown Source)
     at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source)
     at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
     at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
     at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
     at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
     at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
     at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
     at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
     at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)

Anyone have idea about why "Groups.Key" not found exception thrown here..
I have assigned this event handler at postinsert event of User Groups.User Members Data Object.

Similar Messages

  • Process flow for Maintenance Event Builder integrated with PS

    Dear EAM  Master ,
    Good Day. Can anyone show me how's the process flow for Process flow for Maintenance Event Builder integrated with PS.
    Appreciate.
    Thank you.

    [SAP Help|http://help.sap.com/erp2005_ehp_05/helpdata/en/d7/d0b83a47d0c649e10000000a114084/frameset.htm]
    Thanks
    Narasimhan

  • Tighter Integration with Active Directory User Groups

    I just wrapped up a Jabber deployment with IM&P 9.1(1) and J4W clients 9.1(3).
    The customer asked me if it is on Cisco's roadmap to allow groups in Active Directory to be pulled into the Jabber client.  The primary business case is to allow those in IT to send out IM blasts to the corporation or certain departments.
    Obviously, this would require a significant amount of development and a much tighter integration with Active Directory, but I need to ask anyway.
    Has something like this been identified and placed on any roadmap?
    Thanks,
    Matthew Berry

    Unfortunately this kind of questions cannot be addressed here, roadmap questions need to go thru official channels for an answer.
    You need to reach your SE/AM for this question.
    HTH
    java
    if this helps, please rate
    www.cisco.com/go/pdihelpdesk

  • Post Process Event Handler ----Unique Constraint Violation--Create User

    Hi Evryone..
    I am creating the user using the create user request template and there is one level of approval for this.
    I have one pre process event handler which populates one field A and one post process event handler which updates some 3 fields in the user form .
    In request template itself we had placed value as "ABC" for field B and this field B will be overridden in the post process event handler with Value as "XYZ" .
    Now when i raise the request the user is getting created in OIM but the value XYZ is not getting replaced in the field B.
    Below are the errors which i got in the logs while executing post process event handler :
    <Mar 28, 2012 10:25:58 AM CDT> <Warning> <oracle.iam.callbacks.common> <IAM-2030146> <[CALLBACKMSG] Are applicable policies present for this async eventhandler ? : false>
    <Mar 28, 2012 10:25:59 AM CDT> <Warning> <org.eclipse.persistence.session.oim> <BEA-000000> <
    Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.1.3.v20110304-r9073): org.eclipse.persistence.exceptions.DatabaseException
    Internal Exception: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (DEV_OIM.UK_UAR_ATTR_NAME_VALUE) violated
    Error Code: 1
    Call: INSERT INTO USR_ATTRIBUTE_RESERVATIONS (UAR_RESERVATION_KEY, UAR_ATTRIBUTE_NAME, CREATED_BY, CREATED_ON, DATA_LEVEL, UAR_REQUEST_ID, UAR_RESERVED_VALUE, UPDATED_BY, UPDATED_ON) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)
    bind => [10, User Login, null, null, null, 10, DUMMY14, null, null]
    Query: InsertObjectQuery([email protected]658269)
    Exception at usrIntf.updateUser IAM-3050128 : Cannot reserve user attribute User Login with value DUMMY14 in OIMDB. Corresponding request ID is 10.:User Login:DUMMY14:10
    I checked reservations table and there are no records in that table.
    Has any one faced this issue..if so how it can be resolved..

    Are you trying to update the User ID? As far as I know during create user requests, OIM reserves the user login as it goes through approval and you cannot update that directly I think. I haven't tried it but can you tell me which fields you are prepopulating and which are you updating? Are there any OOTB fields in this or UDF?
    -Bikash

  • OIM 11g: Event Handler "Data Object"

    Is there any way in the OIM 11g Users event handler model (pre-insert) to get a "data object" type structure of the column names and values which will be inserted into the database (i.e USR_FIRST_NAME = "John"). This would be similar to what the legacy 9.1x event handler model provided via the getDataObject() method.
    I know how to get the data from the orchestration parameters, but for our requirements we need the data to be keyed by database column name ("USR_FIRST_NAME") and not field name as in the orchestration params ("First Name").
    OIM must do this conversion at some point (field name -> database column name). Can we somehow leverage this same function?
    Thanks.

    You can accomplish through if statements in your event handler to check for the attributes that determine the logic. For example, if your user's last name changes, you can check the orchestration.getParameters() to see if it contains a key for "UserManagerConstants.AttributeName.LAST_NAME.getId()" and if it does, then perform your logic to update the user.
    You could also come up with a lookup that can be referenced for these and have your own custom java code that outputs information based on the values in the lookup. Just think creatively and anything is possible.
    Or you can get a connection to the database, and have a constants file that translates the metadata names back to database fields and continue to use your existing code.
    Lots of options.
    -Kevin

  • OIM 11g: Event Handler Packaging/Deployment

    Need some advice/guidance on best practices for packaging/deploying Event Handlers in OIM 11g.
    In our OIM 9.1 environment, we organized all of our custom code by "functional area" so we have JAR's named oim-common.jar, oim-ad.jar, oim-oid.jar, etc. Within each one of these JAR's we have all adapter code, scheduled tasks, and 10g event handlers related to that area. This approach was done to promote code reuse and make unit testing easier.
    From what I've read on 11g Event Handlers, it sounds like each event handler needs to be packaged as a plugin along with it's own JAR so that we'd have one JAR per event handler. So, if we have 100 event handlers, we'd need 100 JAR's? Is this required or can our plugin ZIP files just contain the XML definitions as long as the referenced classes are on the classpath?

    Gyanprakash Pandey wrote:
    You should have a separate plugin package for each event handler. Practically we should have number of event-handlers as less as possible. If there are more event-handlers we must modify the design as event handler cause performance issues.
    Regards,
    GPHi Gyanprakash,
    I'm going to use event handlers in my project, so I'm interested very much in hearing about the performance issues.
    Besides, I do not see why I shall package every handler separately. Is this intended behavior or because of some bugs in OIM?
    Regards,
    Vladimir

  • OIM 9.1.0 Integration with Active Directory 2008 R2

    Hi,
    My customer is running Root/Child AD structure based on windows 2003 w/SP2, OIM 9.1.0 deployed under one of the child domains, and integrated with child domains controllers which runs windows server 2003 as well.
    My customer has decided to upgrade his AD to Windows Server 2008 R2 domain controllers across the entire AD Forest and still wants to integrate the current OIM v9.1.0 with AD for all of his Users provisioning and password synchronizations.
    Am not sure if current OIM version of OIM 9.1.0 is compatible and supported by OIM v9.1.0 under active directory version 2008 / R2, and not sure if it can be integrated with such AD version.
    Any guidance is really appreciated.
    Also I was thinking of such scenario but also not sure of its support ability and if OIM will keep working on such scenario, the scenario is to upgrade only the AD root domain to Windows 2008 R2 while keeping the child domain holding the OIM 9.1.0 at Windows 2003 version.
    Is this a working and supported scenario by OIM v9.1.0 ?

    I believe you question should be if the connector supports this architecture. Check out the versions supported for the connector you are using and you should be good.
    -Bikash

  • Bi Publisher integration with SSO when users are in separate containers

    Hi,
    We have bi publisher 10.1.3.4 installed and setup to run with oas 10.1.3.3. Bi publisher as such works fine.
    We need to get it integrated with sso and for that we have followed the steps in the bipub admin&ddeveloper guide, security model section:
    http://download.oracle.com/docs/cd/E12844_01/doc/bip.1013/e12188/T421739T475591.htm#T434695
    In our oid users are devided to 3 containers:
    l=emea,dc=oracle,dc=com
    l=amer,dc=oracle,dc=com
    l=apac,dc=oracle,dc=com
    If the "Distinguished Name for Users" in bi security configuration it set to e.g.
    l=emea,dc=oracle,dc=com
    and the admin user is created in the same container l=emea then login works fine for all users in l=emea container. They can login fine and they have the privileges defined in XMLP groups.
    However this means any user in l=apac or l=amer container cannot login.
    I've therefore created new admin user cn=bipadmin,dc=oracle,dc=com and change the user search base to be dc=oracle,dc=com. Now as the admin bipadmin user I can login fine and have the privileges as defined in XMLP groups.
    Actual end users are in the l=emea, l=amer,l=apac containers and with the end users I can still login but the privileges are missing. So e.g. I can login as cn=xx.yy,l=emea,dc=oracle,dc=com or cn=aa.bb,l=amer,dc=oracle,dc=com but even though I've granted those users admin privileges the admin tab is not visible.
    Distinguished name for groups has not changed. It has been the same all the time and the XMLP groups exists there:
    cn=cappbb,cn=aitsys,cn=Groups,dc=oracle,dc=com.
    But it seems if User search base is changed to higher level than where the users actually are the privileges are no longer found.
    Is Bi Publisher supposed to search for users only from the container which is defined in the "Distinguished Name for Users" (in this case dc=oracle,dc=com) or is bi publisher supposed to search the users from all the subgroups also under the "Distinguished Name for Users" path?
    If anyone has hit the same issue and has fond resolution please let me know.
    Thanks!
    Nina

    Hi Nina,
    User privileges will work fine even though the user search base is pointing at the higher level...
    In my application I have defined the User search base as,
    Distinguished Name for Users : O=ABC
    And my users are under, 1. ABC---> Users ---> US ---> and 2. ABC ---> Vendors...
    All users could you able to login along with their privileges...
    But in your case, i would want you to recheck,the users group/role mapping...
    Also check, if not admin role could you able to atleast import other groups/roles mapped to the user when you login...
    I mean any functional roles (other than XMLP*) mapped to the users are imported...
    thanks..
    regards,
    dmaze

  • Training and Event Management Integration with FICO

    How Training & Event Management is integrated with FICO?
    How it will be integrated and where?
    Could you please put it in simple way?

    Hi Rajesh,
    Cost allocation:
    Here it is possible to charge an employeeu2019s cost center with the fee for attending a business event (e.g. training course, workshop). The business event organizeru2019s cost center will be credited and the attendeeu2019s cost center will be debited.
    Crediting of the senderu2019s cost center  Debiting of the recipientu2019s cost center
    The costs incurred from actually holding a business event can be transferred from the resources cost center to the business event organizeru2019s cost.
    Crediting of the senderu2019s cost center  Debiting of the recipientu2019s cost center
    In SAP Configuration:
    Training and Event Management > Integration->Billing and activity Allocation-->Activity Allocation and cost transfer posting.
    Please do above configuration and create business events with or without resourses, in that you can maintain cost centre to post the expenditures .
    Bhairavareddy

  • Event handler - open with explorer issue

    hi all,
    I have developed an event handler (itemadded syncronuos) for a library. i need to populate title field
    public override void ItemAdded(SPItemEventProperties properties)
    base.ItemAdded(properties);
    properties.ListItem["Title"] = "some value"
    properties.ListItem.SystemUpdate();
    I have deployed the same feature to 2 environments -> Dev Env, Test Env.
    when I copy and paste a pdf file with "Open with explorer" in Dev Env it works fine.
    when I do the same in Test Env i can't copy the file and i get this error: 
    Error 0x80070057: the parameter is incorrect.
    I see this in my Event Viewer
    The description for Event ID 14901 from source WebClient cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    Could you help me?
    Thanks.
     

    On your local machine you are as you on the server, are you try it on the test server or browsing the test environment from local machine and doing the copy from local machine.  also i hope your event handler is not firing on all the list, just make
    sure. You can try this in a different library..create a fresh library and see what happen without event handler.
    Mark ANSWER if this reply resolves your query, If helpful then VOTE HELPFUL
    INSQLSERVER.COM
    Mohammad Nizamuddin

  • Is event handling possible with any object?

    can i set a event notification to any object? say for example if i have a multidimensional array of strings can i associate a event handler with it so that when a different application or part of a code changes it's contents i can fire a method?
    consider the scenario
    initially...
    String userId[][]=new String[R][C];
    public MyServer()
            userId[0][0] = "mr00047";
            userId[0][1] = "false";
            userId[1][0] = "dider7";
            userId[1][1] = "false";
            userId[2][0] = "thegreendove";
            userId[2][1] = "false";
    }now at some point the content of the userId array changes
    for(int i=0;i<3;i++)
                    if(temp.equals(MyServer.userId[0]))
    flag=true;
    MyServer.userId[i][1]="true"; // I want to fire a method from this point
    break;
    can any body tell me how can i do it? please help!!!

    This could help you: http://java.sun.com/j2se/1.5.0/docs/api/java/util/Observable.html

  • Event Handling Techniques with MVC

    Hello all,
    I have a situation where I have a model that can be thought of like a graph with many nodes and edges. I would like to create a view of this model with a customized JLabel that shows a data value for each node and edge in the model. The event handling to accomplish this has left me a bit perplexed, though. On one hand I was considering something similar to the following:
    // a dedicated listener for each label
    MyLabel mylabels[] = new MyLabel[numLabels];
    for(int i = 0; i != mylabels.length; i++){
    MyEventHandler eh = new MyEventHandler(mylabels);
    mylabel.addMouseListener(eh);
    public class MyEventHandler extends MouseAdapter{
    private MyLabel label;
    public void mouseClicked(MouseEvent e){
    label.setText(etc...);
    // at this point I would want to set the value of the point or edge
    // that this label corresponds to, not sure of the best strategy
    // here either
    etc...
    The other technique that I am considering might look similar to the following:
    // only one listener for all labels
    MyLabel mylabels[] = new MyLabel[numLabels];
    MyEventHandler eh = new MyEventHandler();
    for(int i = 0; i != mylabels.length; i++){ 
    mylabel.addMouseListener(eh);
    public class MyEventHandler extends MouseAdapter{
    public void mouseClicked(MouseEvent e){
    //call a control object in MVC architecture, for more processing
    control.update(e.getSource(), (String)input);
    etc...
    // in the control object class
    public void update(Object eventSource, String input){
    MyLabel source = (MyLabel)eventSource;
    source.setText(input);
    // the label would have some kind of index to indicate which one it is
    model.setData(source.getIndex(), input);
    I am interested in knowing any accepted/popular solutions to situations like this. Are either of my samples worth implementing? I would greatly appreciate any suggestions. Thanks.

    I would recommend creating a single listener and add it to every label added to the graph. If you're interested in events that occur outside of the labels (in the background), add a listener to the container of the labels as well.
    Unfortunately, you cannot simply add a listener to the container and get all the mouse events from the container's children because Swing's event dispatching system will only dispatch mouse events to a container if the click location was not within any of the container's children. This means that mouse listeners registered to a container will only receive mouse events within the container's background.

  • Event Server Integration with other Products

    I have been using the EDA approch in my SOA project for few years now. These were based on JMS and other modes of Events supported by the WLI, BPM products. Now we have a dedicated Event processing server can we expect utilities/UI components that would easE the integration with other BEA products? What is the time frame for the avilability for this as well as the console for the Wev server?
    Thanks,
    Anil Datt

    Hello,
    Thank you for your post. We do have some integrations with other Adobe products planned for the future, but it's too early to announce our plans. We appreciate your enthusiasm for Buzzword - please keep the suggestions & ideas coming.
    Kind Regards,
    Michelle

  • Training & Event Management  - Integration with FI

    Hi,
    In the standard configurations Training & Event Management is integrated with Controlling(CO)but how to integrate Training & Event Management with FI.

    What functionality are you looking for?

  • Event managment , integration with CS ?

    is it possible to integrate or refer from event managment to Customer Service to a serviceorder ??
    If it goes through infotypes which infotype is suitable for this connection ??

    Where can we setup different activity rates against particular order (which table or IMG path)? 
    - Not sure about the CS side as i'm a pure payroll and time eval person
    What are the different important attributes as part of CS integration? I am new to CS module and it will be easy during field selection process.
    - Sorry not familiar enough with CS, normally the CS consultant tells me which fields (Activity Type, Cost Centre, Order Number etc) to turn on for import.
    In order to setup a different business process, you are recommending to create different attendance types for regular, overtime and shift differential. So that employee will enter the hrs against a particular order with the right attendance type. Later the timesheet can be posted to CS. Am I correct?
    - Yes config different attendance types for regular, overtime and shift and have the employee enter the hours against the correct attendance. Or you could use 1 attendance type and then use different activity types which are linked to different rates in CS. Normally when integrating with CS I have someone familiar with that side of things.
    We don't have any HCM in place right now. I am planning on setting up the mini master data for the required employees. Assuming that we do maintain HR time data (attendance/absence recording and time evaluation). How to post the time data to CS? If you are referring to posting time evaluation results, how to achieve this? This is just for my knowledge purposes.
    - I only asked about HCM because you mentioned you wanted the system to determine regular, overtime automatically - but since you will only be using mini master to populate CATS forget I mentioned this path. For future reference though if you had full HCM (payroll) there are options in posting from HCM to CS rather than going from CATS.
    Cheers,
    Brad

Maybe you are looking for

  • Flash in iWeb 09

    Hi all, I'm pretty new to everything related to web-publishing, and have been having a go at iWeb 09. My problem is as follows: I have created a simple slideshow in Adobe Flash CS4. When publishing out of Adobe Flash, it will create a few files; the

  • [solved] xfce4-mailwatch-plugin svn not able to compile

    After todays update my xfce4-mailwatch-plugin stopped working. I am using the svn version and trying to compile it again gives: checking command to parse /usr/bin/nm -B output from gcc object... ok checking for dlfcn.h... yes checking for objdir... .

  • Adobe illustrator  or photoshop

    I have a sign business.  I use the ultra flex vinyl cutter.  I need to use fancier fonts with flourishes and was going to get the AI.  But I also need to take my stencils and vectorize them to be able to cut in my vinyl program. I need to be able to

  • Syncing iphone4S to ipad Generation 1

    I'm trying to sync my iphone4S apps and contacts  to an I pad generation 1  Can it be done and if so, How? 

  • Servlet Filters/url patterns with WLS 8

    Hello, I am trying to use filters to do some pre processing before my web service is invoked. It seems the doFilter() method does not seem to be getting invoked. The init() method is getting invoked as I see print statements in the log file. I am not