User Recon and Event Handler  Issue in OIM11g

Hello Experts,
I am developing a Trusted Source Recon (User) for a proprietary application. I have devloped two java classes and put them into a jar file and placed the same jar in both ScheduleTask and EventHandlers directory of OIM.
1.UserRecon class -- for User Recon
2. EventHandler class -- update user's password after reconciling the user using API.
In the User Recon class , I have defined a static HashMap variable to store the user and user's password as a class variable. The flow will be like this,
1. Query trsuted source
2. Reconcile user (except password because password can not be)
3. Update the map with userid (key) and password.
4. After reconciling , In the event handler use the same map to read user's password and set the password in OIM using API. (setXelleratePassword).
5.After successful password set remove the entry from Map.
The idea is to avoid making additional call to trusted source to retrieve the user's password.
This worked in OIM9102. But when I tested the same in 11g it did not work.... Though the User Recon class updates the record into the HashMap , In the eventhandler , the HashMap is always coming as "empty".
I did the below changes for 11g,
1. Modified the EventHandler class to suite for 11g.
2. Deployed the event handler as a plugin
3. Placed the same jar file in Schedule task directory of OIM 11g
I am unable find out where it is going wrong?? and tired of troubleshooting. Can you assist me ?
Thanks and Regards
INIYA

INIYA wrote:
Hello Experts,
I am developing a Trusted Source Recon (User) for a proprietary application. I have devloped two java classes and put them into a jar file and placed the same jar in both ScheduleTask and EventHandlers directory of OIM.
1.UserRecon class -- for User Recon
2. EventHandler class -- update user's password after reconciling the user using API.
In the User Recon class , I have defined a static HashMap variable to store the user and user's password as a class variable. The flow will be like this,
1. Query trsuted source
2. Reconcile user (except password because password can not be)
3. Update the map with userid (key) and password.
4. After reconciling , In the event handler use the same map to read user's password and set the password in OIM using API. (setXelleratePassword).
5.After successful password set remove the entry from Map.
The idea is to avoid making additional call to trusted source to retrieve the user's password.
This worked in OIM9102. But when I tested the same in 11g it did not work.... Though the User Recon class updates the record into the HashMap , In the eventhandler , the HashMap is always coming as "empty".
I did the below changes for 11g,
1. Modified the EventHandler class to suite for 11g.
2. Deployed the event handler as a plugin
3. Placed the same jar file in Schedule task directory of OIM 11gHope there are two jars, if this is the case place the secondary jar in lib folder, than make it as plugin.
>
I am unable find out where it is going wrong?? and tired of troubleshooting. Can you assist me ?
put the printstacktrace, so that problem can be identify
sample code
HashMap hash= null;
try{
hash = get map from other class
//class be load at this point, if class is not loaded than you will get exception.
}catch(Throwable t){
// hope you will get some error or exception here
t.printstacktrace();
>
Thanks and Regards
INIYAPaste you sample code, if it couldn't help.

Similar Messages

  • Steps to develope user name generation event handler in OIM 11gR2

    Friends,
    Can you please provide me steps to develop user name generation event handler in oim 11gR2?
    Thanks,
    Chakri

    Thanks for providing the detailed steps. This is waht i was looking for.
    I will follow these steps and let you know the results.
    Thanks for your support.

  • Update password custom scheduled task orchestration event handler issue

    Hello experts,
    I am trying to run a custom scheduled to update user password in OIM 11.1.1.5
    Consider there are 5 users in the input feed file
    TSTUSR1
    TSTUSR2
    TSTUSR3
    TSTUSR4
    TSTUSR5
    Problem i am facing is when update of change password fails for a user then for the subsequent users also its getting failed. Say for TSTUSR3 the change password is failed for some reason (consider user not present) then for TSTUSR4 and TSTUSR5 also it is getting failed.
    Note: here the changepassword for TSTUSR4 and TSTUSR5 is getting called but i am getting some orchestration event handler exception as below.
    <Mar 9, 2012 6:26:12 AM CET> <Warning> <oracle.iam.platform.kernel.impl> <IAM-00 80002> <Orchestration validation failed on the event handler - The password change operation failed.>
    Exception occured during change password
    oracle.iam.identity.exception.UserManagerException: The password change operatio n failed.
    at oracle.iam.identity.usermgmt.impl.UserManagerImpl.changePassword(User ManagerImpl.java:3024)
    at oracle.iam.identity.usermgmt.impl.UserManagerImpl.changePassword(User ManagerImpl.java:2959)
    at oracle.iam.identity.usermgmt.api.UserManagerEJB.changePasswordx(Unkno wn Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJo inpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMetho dInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMetho dInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntrodu ctionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntrodu ctionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMetho dInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisit orImpl.visit(MethodInvocationVisitorImpl.java:37)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.c allback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.bea.core.repackaged.springframework.jee.spi.EnvironmentIntercepto r.invoke(EnvironmentInterceptor.java:50)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMetho dInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocat ionInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMetho dInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntrodu ctionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntrodu ctionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMetho dInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopPr oxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy331.changePasswordx(Unknown Source)
    at oracle.iam.identity.usermgmt.api.UserManager_nimav7_UserManagerRemote Impl.__WL_invoke(Unknown Source)
    at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(Ses sionRemoteMethodInvoker.java:40)
    at oracle.iam.identity.usermgmt.api.UserManager_nimav7_UserManagerRemote Impl.changePasswordx(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(Remote BusinessIntfProxy.java:85)
    at $Proxy195.changePasswordx(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti on(AopUtils.java:307)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami cAopProxy.java:198)
    at $Proxy328.changePasswordx(Unknown Source)
    at oracle.iam.identity.usermgmt.api.UserManagerDelegate.changePassword(U nknown Source)
    And below is the code snippet i am using
    try
    CsvReader fileName = new CsvReader(actualPath);
    fileName.readHeaders();
    while (fileName.readRecord()) {
    try
    String username = fileName.get("USR_LOGIN").toUpperCase();
    String password = fileName.get("USR_PASSWORD");
    if(!isNullOrEmpty(username)&& !isNullOrEmpty(password) )
         userAPI.changePassword(username, password.toCharArray(),true);
    else
         System.out.println("Record is empty");
         err.add(fileName.getRawRecord());     
    } catch (Exception e) {
    err.add(fileName.getRawRecord());     
    System.out.println("Exception occured during change password");
    e.printStackTrace();
    System.out.println("Continuing with next record");
    catch (Exception e) {
    e.printStackTrace();
    Your input at the earliest would be helpful.
    Thanks,
    DK
    Edited by: 875142 on Mar 8, 2012 10:56 PM

    It shouldn't but this is an OIM issue. handle yourself the possible cause.
    Myself experienced the same and it was because of policy failure.
    Try to put below check before password update.
    import oracle.iam.passwordmgmt.vo.ValidationResult;
    import oracle.iam.identity.usermgmt.vo.User;
    import oracle.iam.passwordmgmt.api.PasswordMgmtService;
    User searchedUser = null;
    ValidationResult validationResult = null;
    PasswordMgmtService pwdMgmt = Platform.getService(PasswordMgmtService.class);
    searchedUser = userAPI.getDetails(resultSet11g.getString("USR_LOGIN"), null, true);
    //Check if password is as per attached password policy
    validationResult = pwdMgmt.validatePasswordAgainstPolicy(password.toCharArray(), userLogin, searchedUser.getLocale());
    logger.debug("Result" + validationResult.isPasswordValid());
    if (validationResult.isPasswordValid()) {
    //Change the password
    userAPI.changePassword(username, password.toCharArray(),true);
    I suggest even validate if user exist or not.you can handle it using serchedUser(in above code). The above code validating policy only.
    --nayan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Training and event management issues

    Hi guys,
    i am stucked with some of issue in training and event management...
    1. Altough client is using TEM but for frontend they are using ESS.. Now problem is search functionality is not working in system. I am getting 0 result.
    2. I can see the catalog properly but when i do the booking for the future course then system shows course is successfully booked but in Training Activities list that course is not appearing and nothing updated in backend and if i do booking for future course in the backend then after that i can see that course in the frontend also.  same is happening for cancellation. other functionality like prebook, qualification working properly in the system
    3. Client is using Appraisal functionality. i have configured appraisal in the backend but how we can do for frontend.
    kindly help me regarding these issue as early as possiblee....
    Thanks and Best Regard
    Puneet

    Puneet
    Can you please check SAP Note No. 1440812, 1439690, 1386556
    Notes : 1421707,  1408134 ... if these can help....  Hope it helps...
    Regarding training activities :
    Can you please check the assignment of PERNR with User IT0105...
    Also, are you using the customized BSP page ... If yes :
    Please create a new BSP page copying from the standard BSP page and then enter the new page in the view LSPAGE_ALIAS_C.
    Regarding appraisals in frontend, you will see a link of "perform course appraisal" under completed courses if you have configured this in a correct way.
    Best Regards
    Chetan

  • NullPointerException and event handling

    In this forum I want to know why my program doesn't work. In my program, I want to show the text in JTextfield (Swing) if the user click Jbutton, but the rusult show this comment: java.lang.NullPointerException
    Why can this happen in my programm?
    The Scrypt of my program:
    //event handling
    itemBuka.addActionListener((ActionListener) this);//itemBuka is JButton
    public void actionPerformed(ActionEvent e){
    String perintah = e.getActionCommand();
    if (perintah.equals("Buka...")){
    f1.setText("bisa"); // f1 is a JTextfield and want to shoe the word "bisa"
    }

    public void actionPerformed(ActionEvent e){
    String perintah = e.getActionCommand();
    if (perintah.equals("Buka...")){
    f1.setText("bisa"); // f1 is a JTextfield and
    d and want to shoe the word "bisa"
    }A NullPointerException is indicative of a method call invoked on a null reference.
    This piece of code is insufficient to tell you why it is occuring, annd you didn't even mention the line where the exception is thrown.
    A good guess is that f1 is somehow appearing as null... might be a problem with the scope or something that your code does!
    So, post the complete code.

  • Training and Event Workflows Issue

    Hi Workflow gurus,
    I am working on Training and Event Management Workflows.
    When I create a booking or pre-booking or cancellation, I am expecting one of the following workflows to trigger.
    WS 01200147     Approve Employee Attendance Cancellation
    WS 01200151     Approve Employee's Attendance Booking
    WS 01200160     Approve Employee's Rebooking
    But workflow WS 00400120 (Correspondence error handling) is triggered.
    As per SAP documentation on Training and Event Management, Workflow WS 00400120 will be triggered for one of the following reason -
    1. Lacking authorization
    2. Missing parameters (Plan version, notification abbreviations and so on)
    3. Missing forms
    4. Form not allowed for user (user group)
    5. Incorrect recipient
    6. Missing address/name of output medium
    I am having SAP_ALL authorization, Plan Version, notif abbr, forms are maintained. Email addresses for the managers / employees / HR administrators are maintained.
    Event linkage entries are active for all above workflows.
    Can somebody help me to resolve this?
    Thanks and Regards
    Pras

    Hi Pras,
    <b>Workflow Setting is Required:</b>
    Training Management --> Day-to-Day Activities ---> Approval Workflow ---> Specify Delivery Method-Dependent Workflow Settings.
    EXAMPLE:
    Standard workflow for participation approval
    If you want to use the standard workflow for participation approval, make the following settings in the Workflow Settings infotype:
    ACTIONTYPE = BOOK (Book course participation)
    LEARNERTYPE = P (Learner of the type Person)
    WF_TASK = 12000003 (task)
    BO_TYPE = LSO_PARTIC (object type)
    WF_EVENT= BOOKREQUEST (event)
    WF_ACTION = E (Type of event generation)
    REQUEST_PERIOD = 0014 (the deadline for requesting participation is 14 days before the start of the course)
    APPROVAL_PERIOD = 0007 (the deadline for approving or rejecting
    participation is 7 days before the start of the course)
    Standard workflow for participation cancellation
    If you want to use the standard workflow for participation cancellation, make the following settings in the Workflow Settings infotype:
    ACTIONTYPE = CANC (cancellation of course participation)
    LEARNERTYPE = *(learners of all types)
    WF_TASK = 12000004 (task)
    BO_TYPE = LSO_PARTIC (object type)
    WF_EVENT= CANCELREQUEST (event)
    WF_ACTION = E (Type of event generation)
    REQUEST_PERIOD = 0010 (the deadline for requesting cancellation is 10 days before the start of the course)
    APPROVAL_PERIOD = 0005 (the deadline for approving or rejecting cancellation is 5 days before the start of the course)
    Thanks and Regards,
    Prabhakar Dharmala

  • Training and event management issue

    Hi,
    I have issue in Training and event management. Can employee attend two programs in same day in different location?please let me What is standard process
    Regards,
    Prasath

    Is your question related to allowing the registration for two programs on the same day at different locations? If yes, it will be giving a warning message that your training registration is overlapping with already regestered program. That to only when the time of the programs is same. You need to implement custom checks if you would like to resist from registring for such programs.
    Conceptually, it is always possible for a person to attend two programs in the same day at two locations (here location definition is company dependent and how do you define different locations of your company). So it wont resist from registring or infact if possible from participating as long as the schedule is not collaiding...

  • UIX with XSQL as XML data provider and event handler

    Hello ,
    I would like to bind XML data to messageinput elements of a form element
    as values to be presented before entering (data provider)
    as well as input values to be persisted after completing the form (event handler).
    My impression (as a newbee) is that only for BC4J integration there is a bidirectional binding with view objects.
    Can i use 'include' to bind a static xml file as data source for output?
    How can i use XSQL to be bound as data for input as well as for output of a form?
    A last question concerning a page with 3 tabs:
    do i need 3 different pages and requests to get the data of the 3 tabs
    or is it possible to get the whole data of the page in one request
    and distribute it over the 3 tabs.
    Any help appreciated
    Thanks
    Klaus Dreistadt

    You could do this, but we don't provide any tools to make this easy.
    You'd have to write an implement of the DataObject interface
    that gives your UI access to the XML document, and write custom
    event handlers to perform the "set" side of things. The Data Binding
    and UIX Controller chapters of the UIX developer's guide will give you
    a high-level view of how to accomplish this, but nothing specifically
    about reading or writing to XML documents.

  • Beginners Questions about Multiple JPanels in JFrame and event handling

    I am a newbie with SWING, and even a newerbie in Event Handling. So here goes.
    I am writing a maze program. I am placing a maze JPanel (MazePanel) at the center of a JFrame, and a JPanel of buttons (ButtonPanel) on the SOUTH pane. I want the buttons to be able to re-randomize the maze, solve the maze, and also ouput statistics (for percolation theory purposes). I have the backbone all done already, I am just creating the GUI now. I am just figuring out EventHandlers and such through the tutorials, but I have a question. I am adding an ActionListener to the buttons which are on the ButtonPanel which are on JFrame (SOUTH) Panel. But who do I make the ActionListener--Basically the one doing the work when the button is pressed. Do I make the JFrame the ActionListener or the MazePanel the ActionListener. I need something which has access to the maze data (the backbone), and which can call the Maze.randomize() function. I'm trying to make a good design and not just slop too.
    Also I was wondering if I do this
    JButton.addActionListener(MazePanel), and lets say public MazePanel implments ActionListenerdoesn't adding this whole big object to another object (namely the button actionlistener) seem really inefficient? And how does something that is nested in a JPanel on JFrame x get information from something nested in another JPanel on a JFrame x.
    Basically how is the Buttons going to talk to the maze when the maze is so far away?

    I'm not an expert, but here's what I'd do....
    You already have your business logic (the Maze classes), you said. I'm assuming you have some kind of public interface to this business logic. I would create a new class like "MazeGui" that extends JFrame, and then create the GUI using this class. Add buttons and panels as needed to get it to look the way you want. Then for each button that does a specific thing, add an anonymous ActionListener class to it and put whatever code you need inside the ActionListener that accesses the business logic classes and does what it needs to.
    This is the idea, though my code is totally unchecked and won't compile:
    import deadseasquirrels.mazestuff.*;
    public class MazeGui extends JFrame {
      JPanel buttonPanel = new JPanel();
      JPanel mazePanel = new JPanel();
      JButton randomizeB = new JButton();
      JButton solveB = new JButton();
      JButton statsB = new JButton();
      // create instanc(es) of your Maze business logic class(es)
      myMaze = new MazeClass();
      // add the components to the MazeGui content pane
      Component cp = getContentPane();
      cp.add(); // this doesn't do anything, but in your code you'd add
                // all of your components to the MazeGui's contentpane
      randomizeB.addActionListener(new ActionListener {
        void actionPerformed() {
          Maze newMaze = myMaze.getRandomMazeLayout();
          mazePanel.setContents(newMaze); // this is not a real method!
                                          // it's just to give you the idea
                                          // of how to manipulate the JPanel
                                          // representing your Maze diagram,
                                          // you will probably be changing a
                                          // subcomponent of the JPanel
      solveB.addActionListener(new ActionListener {
        void actionPerformed() {
          Solution mySolution = myMaze.getSolution();
          mazePanel.setContents(mySolution); // again, this is not a real
                                             // method but it shows you how
                                             // the ActionListener can
                                             // access your GUI
      // repeat with any other buttons you need
      public static void main(String[] args) {
        MazeGui mg = new MazeGui();
        mg.setVisible(true);
        // etc...
    }

  • Event Handling Issues

    Hi Guys..
    I am doing some event handling code and am having some problem.I have placed the following on the stage, a submit button whose instance name is 'btnSubmit' and a label whose instance name is 'lblTest'. The ActionScript 3 code resides in a separate 'Maxwell.as' file. In the 'Maxwell.FLA'
    file, I have typed 'Maxwell' in the document class property. The following is my AS3 code:
    package
    import flash.display.Sprite;
    import flash.events.MouseEvent;
    public class Maxwell extends Sprite
      public function Maxwell()
       // constructor code
      private function sendMsg(e:MouseEvent):void
       lblTest.text = "Clicked";
      btnSubmit.addEventListener(MouseEvent.CLICK, sendMsg);
    When I do a 'CNTRL + ENTER' and run this program I get the following errors:
    Access of undefined property btnSubmit.
    Access of undefined property sendMsg.
    I don't understand why I am getting these errors. I have already linked up both files by typing 'Maxwell' in the
    document class window and furthermore 'sendMsg' is the name of a function. I hope somebody can advise me. Thanks.

    Your add listener code is outside any function - you can't do that with classes. You can put it in the constructor:
    package
    import flash.display.Sprite;
    import flash.events.MouseEvent;
    public class Maxwell extends Sprite
      public function Maxwell()
       // constructor code
          btnSubmit.addEventListener(MouseEvent.CLICK, sendMsg);
      private function sendMsg(e:MouseEvent):void
       lblTest.text = "Clicked";

  • User interfaces and event structures

    I am just learning to use event structures to improve operation of front panels.  At the moment, I am working on a tab strucrture we use to montinor/set program paramters.  VArious parametera are displayed on each tab as controls (not indicators) and are constanly updated sice they can be modified elsewhere by other pieces of code.  We controls are normally disabled via a property node so they behave more like indicators and the values are updated by writing to a local variable (I know this is evil but it works in this case).  There is a boolean on each tab that toggles between "monitoring" and "changing" modes (or states).  When toggles to "changing" (or setting) parameters the monitoring activities are suspended and the control are enabbled.  After making the desired changes the controls are either read and the changes implimented or get rest based on some other boolean controls, the parameters controls are then disables and monitoring resumes.  The issue is that many users fing the need to toggle between "monitorsing" and "changing" modes to be confusing.  I want to replace this switch with an event.  If the user clicks on any of the parameters controls in a tab, I want to go into changing mode rather than using the "monitoring"/"changing" boolean control.  All other asspects are handled as before.  My problem is than if I use a mousedown event to go into "changing" mode and the user clicks on several parameters to shift the keyboard focus to edit more than one parameter, these subsequent mose clciks get processed as new events when change mode is exited.  This means that as soon as it returns to "monitoring" mode it jumps immeadiately back to "changing" mode.  How should I structure the events to avoid this problem?
    Thanks,
    --Lee

    Lee,
    Instead of using a "mouse down" event, use a "value change" event for each
    of the controls. Then your program can switch to the "changing" mode
    whenever the value of the control is actually changed.
    TJW
    "Lee Robertson" <[email protected]> wrote in message
    news:[email protected]...
    >I am just learning to use event structures to improve operation of front
    >panels.&nbsp; At the moment, I am working on a tab strucrture we use to
    >montinor/set program paramters.&nbsp; VArious parametera are displayed on
    >each tab as controls (not indicators) and are constanly updated sice they
    >can be modified elsewhere by other pieces of code.&nbsp; We controls are
    >normally disabled via a property node so they behave more like indicators
    >and the values are updated by writing to a local variable (I know this is
    >evil but it works in this case).&nbsp; There is a boolean on each tab that
    >toggles between "monitoring" and "changing" modes (or states).&nbsp; When
    >toggles to "changing" (or setting) parameters the monitoring activities are
    >suspended and the control are enabbled.&nbsp; After making the desired
    >changes the controls are either read and the changes implimented or get
    >rest based on some other boolean controls, the parameters controls are then
    >disables and monitoring resumes.&nbsp; The issue is that many users fing
    >the need to toggle between "monitorsing" and "changing" modes to be
    >confusing.&nbsp; I want to replace this switch with an event.&nbsp; If the
    >user clicks on any of the parameters controls in a tab, I want to go into
    >changing mode rather than using the "monitoring"/"changing" boolean
    >control.&nbsp; All other asspects are handled as before.&nbsp; My problem
    >is than if I use a mousedown event to go into "changing" mode and the user
    >clicks on several parameters to shift the keyboard focus to edit more than
    >one parameter, these subsequent mose clciks get processed as new events
    >when change mode is exited.&nbsp; This means that as soon as it returns to
    >"monitoring" mode it jumps immeadiately back to "changing" mode.&nbsp; How
    >should I structure the events to avoid this problem?
    > &nbsp;
    > Thanks,
    > &nbsp;
    > --Lee

  • Worklist - Task Control Factory Event Handler Issue

    I am developing a worklist application, which requires to create Task (Approval Process) for each user in a group.I have created a Task Control Factory in a "For Each" loop which creates multiple Tasks and i can see them through the default "worklist GUI" provided also "complete" the tasks. The Issue is the "onTaskCompleted" event does not get captured. It just gets lost.
    FYI, I have followed the BEA guidelines (http://e-docs.bea.com/wli/docs81/worklist/advanced.html#1076366)for creating Task Control Factories.
    Any kind of help will be really appreciated

    I am only guessing here, but since your process is creating multiple tasks, the completion of any single task can't be captured by your process. Once you start creating multiple tasks your ability to monitor a single task probably gets lost.
    One possibility to fix this is for your process to have a parallel branch: one branch will call a sub process for each task that you need completed and one branch will receive the call backs from the sub process. In this way you will be able to have multiple tasks created simultaneously while still capturing the individual onTaskCompleted events.
    Hope this helps.

  • Event Handling issue

    Hai All,
              I'm manipulating the production order form, Created one folder and placed some checkboxes and edit boxes in that. My issue is, i've handled the click event of check box by et_ITEM_PRESSED and the lost focus of the editbox by et_LOST_FOCUS, working fine for the first time i mean events are handled only once, next time onwards it's not handling that particular events..
    If pVal.FormType = "65211" And pVal.ItemUID = "chktst1" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED And pVal.BeforeAction = False Then
                oform = sbo_application.Forms.GetFormByTypeAndCount(pVal.FormType, pVal.FormTypeCount)
                Dim samchk As SAPbouiCOM.CheckBox
                samchk = oform.Items.Item("chktst1").Specific
                If samchk.Checked = True Then
                    oform.Items.Item("txtrjt1").Enabled = False
                    oform.Items.Item("txtrjt1").Specific.Value = ""
                    oform.Items.Item("txtaqty1").Specific.Value = oform.Items.Item("12").Specific.Value
                    oform.Items.Item("txtqty").Specific.Value = oform.Items.Item("txtaqty1").Specific.Value
                ElseIf samchk.Checked = False Then
                    oform.Items.Item("txtrjt1").Enabled = True
                    oform.Items.Item("txtrjt1").Specific.Value = ""
                    oform.Items.Item("txtaqty1").Specific.Value = CStr(CInt(oform.Items.Item("12").Specific.Value) - CInt(oform.Items.Item("txtrjt1").Specific.Value))
                End If
            End If
            If pVal.FormType = "65211" And pVal.ItemUID = "txtrjt1" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_LOST_FOCUS And pVal.BeforeAction = False Then
                oform = sbo_application.Forms.GetFormByTypeAndCount(pVal.FormType, pVal.FormTypeCount)
                oform.Items.Item("txtaqty1").Specific.Value = CStr(CInt(oform.Items.Item("12").Specific.Value) - CInt(oform.Items.Item("txtrjt1").Specific.Value))
                oform.Items.Item("txtqty").Specific.Value = oform.Items.Item("txtaqty1").Specific.Value
            End If
    This is my code.
    Thanks In Advance

    HI jaideep,
    I see nothing wrong with your code, so lets check some other stuff out.
    1. Are your fields binded to DataSources? Sometimes I forget to bind a control to a DataSource at it has the same behavior. (If I don't bind a OptionButton, I can activate it but after that I cannot deactivate it).
    2. Download and install the Event Logger Tool and check if all the event are firing correctly.
    Regards,
    Vítor Vieira

  • Navigation control and event handling in jsf rc1

    afternoon folk,
    i am using the rc1 release of jsf, and am sorting down through some things. i have a question on the proper way to do the following:
    i have a page that gathers some user parameters to be used to submit in generating a report. this report will take around 15 minutes to complete. once i submit the parameters from this page, i have a managed bean stored in session scope that will issue a Thread.run() to run the report as a thread, and allow the page to return without timing out. when the report is complete, it sets a flag in the managed bean i can use to determine that the report is complete. from the user's standpoint, i have a page with the refresh attribute set, that uses the jstl conditional operators to check if the report thread is complete or not. this all works fine. what happens though, is that when the report thread is complete and the page that checks the flag indicating this runs, i haven't found a good way to call the page that i have that will display the results of the operation. my 'monitor' page has the following code snippet in it:
         <c:if test="${MyReport.reportThread.reportRunning}">
         <h:outputText id = "spl" value="#{bundle.stillProcessingLabel}" />
         </c:if>
    <c:if test="${MyReport.reportThread.reportRunning == false}">
         <h:commandLink id="done" action="displayResults">
         <h:outputText id = "vrl" value="#{bundle.viewReportsLabel}" />
              </h:outputLink>
         </c:if>
    in my faces-config.xml file, i have a navigation rule that says to go to the results page on a value of displayResults coming from the monitor page.
    <navigation-rule >
    <from-view-id>/monitor.jsp</from-view-id>
    <navigation-case>
    <description>
    Holding page for the user till the reports are completed
    </description>
    <from-outcome>displayResults</from-outcome>
    <to-view-id>/displayResults.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    what happens is that the stillProcessingLabel message displays for each refresh cycle of the page (that is set using the <meta http-equiv="refresh" content="60"> until the report thread is complete, but once that occurs, i do not see the command link output, and the page that called this monitor page is displayed without any user interaction, not the results page.
    any suggestions as to how to handle this, and why it is occurring would be appreciated.
    thanks
    tom

    I had a similar issue in a project I am working on. I'm not sure if I did this the "Best Practices" way or not, but it works perfectly.
    In the head area of my JSP I include the following:
    <f:view>
        <h:outputText id="refresher1" rendered="#{queryHandler.queryRunning}">
            <f:verbatim escape="false">
                <meta http-equiv="refresh"
                      content="5,<%=response.encodeURL(request.getContextPath()+
                              "/queryStatus.jsf")%>">
            </f:verbatim>
        </h:outputText>
        <h:outputText id="refresher1" rendered="#{queryHandler.queryFinishedRunning}">
            <f:verbatim escape="false">
                <meta http-equiv="refresh"
                      content="5,<%=response.encodeURL(request.getContextPath()+
                              "/queryResults.jsf")%>">
            </f:verbatim>
        </h:outputText>This puts a 5 second refresh meta in the header to direct the browser to the correct page based on the status of the query thread.
    There are many ways to accomplish the effect you want. I suggest putting all the controls into the JSP and making use of the rendered attributes instead of the JSTL conditionals to show the controls you want for the state of the application.
    -jeffhoward

  • Same time Most of the Outlook2k10 users Disconnect and Event 9646 32 MAPI Session event is logged

    Exchange 2010 SP3 RU5, windows 2008 R2 SP1 and outlook 2010.
    4 CAS Servers behind F5 Load balancer and 7 Mailbox servers are configured in DAG.
    issue: 
    - For most of the users Outlook shows 'Disconnected' state and outlook will not connect even if you restart the client PC.
    - All effected users are from different databases and are on different mailbox servers.
    - For all the effected users, we are receiving 9646 Event for exceeding 32 MAPI Sessions. And this event is coming on all mailbox servers at same time, So I am thinking it is some common problem, but couldn't figured it out.
    -- To fix the issue i have restarted the Exchange servers..
    - In RPC Logs, I can see Session drop errors.
    ============
    OUTLOOK.EXE ncacn_ip_tcp 0x6BA (rpc::Exception) 57:16.0 SessionDropped RpcEndPoint: [ServerUnavailableException] Connection must be re-established -> [SessionDeadException] Connection is severed (ConnectionFailedTransientException).
    Client needs to reconnect. -> [ConnectionFailedTransientException] Cannot get synchronize buffers from Microsoft.Exchange.Data.Storage.SynchronizerProviderBase. -> [MapiExceptionNetworkError] MapiExceptionNetworkError: Synchronization failure. (hr=0x80040115,
    ec=0)   
     OUTLOOK.EXE ncacn_http 0x6BA (rpc::Exception) 36:08.7 SessionDropped RpcEndPoint: [ServerUnavailableException] Connection must be re-established -> [SessionDeadException] Connection is severed (ConnectionFailedTransientException).
    Client needs to reconnect. -> [ConnectionFailedTransientException] Cannot get recipient table. -> [MapiExceptionNetworkError] MapiExceptionNetworkError: Unable to get recipient table. (hr=0x80040115, ec=0)   
    =========================================
    - I found KB http://support.microsoft.com/kb/2781488  for similar issue, but as per the article issue is fixed in SP3 RU1 - But we are running SP3 RU5
    Any help regarding this issue will be highly appreciated.
    Looking forward to the response,
    Regards,
    Ghouse

    Hi Ghouse,
    Please check whether there is a service account for a third-party application that interacts with Exchange server.
    Generally, event 4969 occurs because the default maximum number(by default the value is 32) of connections that an account can open was exceeded. There should be a mapi session in your Event description. Please run the following cmdlet to grant the service
    account the "View Information Store status" permission:
    Add-ADPermission -Identity “Exchange Administrative Group (FYDIBOHF23SPDLT)” -User account_or_group_name
    -AccessRights ExtendedRight -ExtendedRights "View information store status" -InhertanceType Descendents
    For more information about it, please refer to the following KB:
    http://support.microsoft.com/kb/2742012
    If it doesn’t work, please check whether the problematic users can access OWA or work well in OWA. Also collect the Test E-mail AutoConfiguration results in Outlook for further anylysis.
    Thanks,
    Winnie Liang
    TechNet Community Support

Maybe you are looking for

  • New Page Format in Smartforms

    Hi All, I am working on smartforms. I have created a new page format of width 25 cm and width 30cm according to client's requirement. Smartform is  for customer invoice which is a pre-printed and i have to get data into that. In sform i have given th

  • FDM Trail balance report

    Hi, FDM Trail balance report is not showing any values before dec 2012. The report(PDF) is showing up values(Target, account, values,....)from dec 2012 to now. But from nov 2012 the pdf is just showing amount 0. nothing else. Is it system error. Plea

  • Can someone help? my ipad is stuck on the apple logo!

    my ipad wont turn on. its stuck on the apple logo. i already tried to hold down the power button and the home button a million times but it wont work. itunes wont recognize my ipad when i plug it in. I DONT KNOW WHAT TO DO!!!!!! my ipad is jailbroken

  • Keywords, Include on Export, Save Metadata to File, and SmugMug???

    My workflow and issue (LR 5.7 and SmugMug plugin 2.1.10): 1) I import RAW files as DNGs 2) I do various Lightroom stuff, plus add Keywords. Some of the keywords do not have "Include on Export" checked. Some of my keywords are part of hierarchies that

  • System Not Finding Imaqdirect​showdll.dl​l

    Hi There, I was building a usb camera particle tracker vi and sent it to my personal computer to continue working on. When I tried opening the file Labview 2009 could not locate imaqdirecshowdll.dll. Thus I didn't have the NI-imaqdx functions in my p