Java adapter in process task

Hi,
I'm using DBAT connector to provision data from OIM to target system. I have a requirement to change password in target system when it is being changed in OIM (by default is is changed but this change has to be done in specific way). I have crated a java code that changes password in certain way and implemented it as a adapter in OIM (simple adapter; one input (user password) and one output).
I guess that I should create a task in the process form that invokes this adapter, but after some trials I am still not able to make it work fine.
My question is: how to implement adapter in the process task? There are 2 tasks by default that corresponds to user password:
- Change User Password
- Edit USR_PASSWORD
Should I edit them?
Thanks in advance!

I don't concur with the approach Suren is suggesting because he is asking to set the password through Change User Password task itself. So you will have to create additional adapter variables which would be required to connect to the target and then update the OID password. And all this stuff is already there in the Password Updated task.
If not this then may be you will have to update the Process form using API's ( ? ? ?)
But in nearly 99% of such User Profile to Target attributes Updates you use Change User Password and Password Updated combination. So always:
- Change User password fetches the password from User Definition and save it to Process form *(transformation could also be done as required like upper case)*
- From process form its forwarded downstream
Thanks
Sunny

Similar Messages

  • Error in creating a process task adapter in OIM

    Hi All,
    I am trying to create a process task adapter(Java Task) in OIM 11.1.1.5.
    The code tries to fetch the values of a process form using a lookup and store it in a hashmap. So have done import for Thor.Api.* and com.thortech.xl.dataaccess.tcDataProvider in the code. The jar for the code is uploaded in MDS and saved in JavaTask folder.
    Whlie creating the the adapter Task, after selecting the API source as my jar file, when i selecting the Application API, i am getting the following error.
    SEVERE: Class/Method: tcADPClient/introspect encounter some problems: EJB Exception: ; nested exception is:
    java.lang.NoClassDefFoundError: com/thortech/xl/dataaccess/tcDataProvider; nested exception is: java.rmi.RemoteException: EJB Exception: ; nested exception is:
    java.lang.NoClassDefFoundError: com/thortech/xl/dataaccess/tcDataProvider
    javax.ejb.EJBException: EJB Exception: ; nested exception is:
    java.lang.NoClassDefFoundError: com/thortech/xl/dataaccess/tcDataProvider; nested exception is: java.rmi.RemoteException: EJB Exception: ; nested exception is:
    java.lang.NoClassDefFoundError: com/thortech/xl/dataaccess/tcDataProvider
    java.rmi.RemoteException: EJB Exception: ; nested exception is:
    java.lang.NoClassDefFoundError: com/thortech/xl/dataaccess/tcDataProvider
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
    at com.thortech.xl.ejb.interfaces.tcADP_3uwi2l_tcADPRemoteImpl_1035_WLStub.introspectAPIx(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor50.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
    at $Proxy4.introspectAPIx(Unknown Source)
    at com.thortech.xl.ejb.interfaces.tcADPDelegate.introspectAPI(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.security.Security.runAs(Security.java:41)
    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
    at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
    at $Proxy5.introspectAPI(Unknown Source)
    at com.thortech.xl.client.dataobj.tcADPClient.introspect(tcADPClient.java:113)
    at com.thortech.xl.adapterfactory.forms.tcfrmAdapterTask.setJavaApiLookup(tcfrmAdapterTask.java:433)
    at com.thortech.xl.adapterfactory.forms.tcfrmAdapterTask.access$1200(tcfrmAdapterTask.java:40)
    at com.thortech.xl.adapterfactory.forms.tcfrmAdapterTask$4.actionPerformed(tcfrmAdapterTask.java:683)
    at javax.swing.JComboBox.fireActionEvent(JComboBox.java:1240)
    at javax.swing.JComboBox.setSelectedItem(JComboBox.java:567)
    at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:603)
    at javax.swing.plaf.basic.BasicComboPopup$Handler.mouseReleased(BasicComboPopup.java:840)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
    at java.awt.Component.processMouseEvent(Component.java:6289)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
    at java.awt.Component.processEvent(Component.java:6054)
    at java.awt.Container.processEvent(Container.java:2041)
    at java.awt.Component.dispatchEventImpl(Component.java:4652)
    at java.awt.Container.dispatchEventImpl(Container.java:2099)
    at java.awt.Component.dispatchEvent(Component.java:4482)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
    at java.awt.Container.dispatchEventImpl(Container.java:2085)
    at java.awt.Window.dispatchEventImpl(Window.java:2478)
    at java.awt.Component.dispatchEvent(Component.java:4482)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
    at java.awt.EventQueue.access$000(EventQueue.java:85)
    at java.awt.EventQueue$1.run(EventQueue.java:603)
    at java.awt.EventQueue$1.run(EventQueue.java:601)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
    at java.awt.EventQueue$2.run(EventQueue.java:617)
    at java.awt.EventQueue$2.run(EventQueue.java:615)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
    at java.awt.Dialog$1.run(Dialog.java:1046)
    at java.awt.Dialog$3.run(Dialog.java:1098)
    at java.awt.Dialog.show(Dialog.java:1096)
    at com.thortech.xl.gui.base.tcDialog.show(tcDialog.java:102)
    at java.awt.Component.show(Component.java:1585)
    at java.awt.Component.setVisible(Component.java:1537)
    at java.awt.Window.setVisible(Window.java:842)
    at java.awt.Dialog.setVisible(Dialog.java:986)
    at com.thortech.xl.gui.base.tcfrmPopup.jbInit(tcfrmPopup.java:199)
    at com.thortech.xl.gui.base.tcfrmPopup.addForm(tcfrmPopup.java:166)
    at com.thortech.xl.adapterfactory.guibase.tcAdapterTaskTree.loadAddForm1(tcAdapterTaskTree.java:1387)
    at com.thortech.xl.adapterfactory.guibase.tcAdapterTaskTree.launchEditorForm(tcAdapterTaskTree.java:1355)
    at com.thortech.xl.adapterfactory.guibase.tcAdapterTaskTree.addAdapterTask(tcAdapterTaskTree.java:555)
    at com.thortech.xl.adapterfactory.guibase.tcAdapterTaskTree.actionPerformed(tcAdapterTaskTree.java:459)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
    at java.awt.Component.processMouseEvent(Component.java:6289)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
    at java.awt.Component.processEvent(Component.java:6054)
    at java.awt.Container.processEvent(Container.java:2041)
    at java.awt.Component.dispatchEventImpl(Component.java:4652)
    at java.awt.Container.dispatchEventImpl(Container.java:2099)
    at java.awt.Component.dispatchEvent(Component.java:4482)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
    at java.awt.Container.dispatchEventImpl(Container.java:2085)
    at java.awt.Window.dispatchEventImpl(Window.java:2478)
    at java.awt.Component.dispatchEvent(Component.java:4482)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
    at java.awt.EventQueue.access$000(EventQueue.java:85)
    at java.awt.EventQueue$1.run(EventQueue.java:603)
    at java.awt.EventQueue$1.run(EventQueue.java:601)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
    at java.awt.EventQueue$2.run(EventQueue.java:617)
    at java.awt.EventQueue$2.run(EventQueue.java:615)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Caused by: java.lang.NoClassDefFoundError: com/thortech/xl/dataaccess/tcDataProvider
    at java.lang.Class.getDeclaredMethods0(Native Method)
    at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
    at java.lang.Class.privateGetPublicMethods(Class.java:2547)
    at java.lang.Class.getMethods(Class.java:1410)
    at com.thortech.xl.dataobj.util.tcApplicationLookup.introspect(tcApplicationLookup.java:417)
    at com.thortech.xl.dataobj.tcADP.introspectAPI(tcADP.java:172)
    at com.thortech.xl.ejb.databeansimpl.tcADPBean.introspectAPI(tcADPBean.java:89)
    at com.thortech.xl.ejb.interfaces.tcADPEJB.introspectAPIx(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor589.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    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.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy329.introspectAPIx(Unknown Source)
    at com.thortech.xl.ejb.interfaces.tcADP_3uwi2l_tcADPRemoteImpl.__WL_invoke(Unknown Source)
    at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
    at com.thortech.xl.ejb.interfaces.tcADP_3uwi2l_tcADPRemoteImpl.introspectAPIx(Unknown Source)
    at com.thortech.xl.ejb.interfaces.tcADP_3uwi2l_tcADPRemoteImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:85)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    javax.ejb.EJBException: EJB Exception: ; nested exception is:
    java.lang.NoClassDefFoundError: com/thortech/xl/dataaccess/tcDataProvider; nested exception is: java.rmi.RemoteException: EJB Exception: ; nested exception is:
    java.lang.NoClassDefFoundError: com/thortech/xl/dataaccess/tcDataProvider
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.unwrapRemoteException(RemoteBusinessIntfProxy.java:124)
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:96)
    at $Proxy4.introspectAPIx(Unknown Source)
    at com.thortech.xl.ejb.interfaces.tcADPDelegate.introspectAPI(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.security.Security.runAs(Security.java:41)
    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
    at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
    at $Proxy5.introspectAPI(Unknown Source)
    at com.thortech.xl.client.dataobj.tcADPClient.introspect(tcADPClient.java:113)
    at com.thortech.xl.adapterfactory.forms.tcfrmAdapterTask.setJavaApiLookup(tcfrmAdapterTask.java:433)
    at com.thortech.xl.adapterfactory.forms.tcfrmAdapterTask.access$1200(tcfrmAdapterTask.java:40)
    at com.thortech.xl.adapterfactory.forms.tcfrmAdapterTask$4.actionPerformed(tcfrmAdapterTask.java:683)
    at javax.swing.JComboBox.fireActionEvent(JComboBox.java:1240)
    at javax.swing.JComboBox.setSelectedItem(JComboBox.java:567)
    at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:603)
    at javax.swing.plaf.basic.BasicComboPopup$Handler.mouseReleased(BasicComboPopup.java:840)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
    at java.awt.Component.processMouseEvent(Component.java:6289)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
    at java.awt.Component.processEvent(Component.java:6054)
    at java.awt.Container.processEvent(Container.java:2041)
    at java.awt.Component.dispatchEventImpl(Component.java:4652)
    at java.awt.Container.dispatchEventImpl(Container.java:2099)
    at java.awt.Component.dispatchEvent(Component.java:4482)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
    at java.awt.Container.dispatchEventImpl(Container.java:2085)
    at java.awt.Window.dispatchEventImpl(Window.java:2478)
    at java.awt.Component.dispatchEvent(Component.java:4482)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
    at java.awt.EventQueue.access$000(EventQueue.java:85)
    at java.awt.EventQueue$1.run(EventQueue.java:603)
    at java.awt.EventQueue$1.run(EventQueue.java:601)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
    at java.awt.EventQueue$2.run(EventQueue.java:617)
    at java.awt.EventQueue$2.run(EventQueue.java:615)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
    at java.awt.Dialog$1.run(Dialog.java:1046)
    at java.awt.Dialog$3.run(Dialog.java:1098)
    at java.awt.Dialog.show(Dialog.java:1096)
    at com.thortech.xl.gui.base.tcDialog.show(tcDialog.java:102)
    at java.awt.Component.show(Component.java:1585)
    at java.awt.Component.setVisible(Component.java:1537)
    at java.awt.Window.setVisible(Window.java:842)
    at java.awt.Dialog.setVisible(Dialog.java:986)
    at com.thortech.xl.gui.base.tcfrmPopup.jbInit(tcfrmPopup.java:199)
    at com.thortech.xl.gui.base.tcfrmPopup.addForm(tcfrmPopup.java:166)
    at com.thortech.xl.adapterfactory.guibase.tcAdapterTaskTree.loadAddForm1(tcAdapterTaskTree.java:1387)
    at com.thortech.xl.adapterfactory.guibase.tcAdapterTaskTree.launchEditorForm(tcAdapterTaskTree.java:1355)
    at com.thortech.xl.adapterfactory.guibase.tcAdapterTaskTree.addAdapterTask(tcAdapterTaskTree.java:555)
    at com.thortech.xl.adapterfactory.guibase.tcAdapterTaskTree.actionPerformed(tcAdapterTaskTree.java:459)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
    at java.awt.Component.processMouseEvent(Component.java:6289)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
    at java.awt.Component.processEvent(Component.java:6054)
    at java.awt.Container.processEvent(Container.java:2041)
    at java.awt.Component.dispatchEventImpl(Component.java:4652)
    at java.awt.Container.dispatchEventImpl(Container.java:2099)
    at java.awt.Component.dispatchEvent(Component.java:4482)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
    at java.awt.Container.dispatchEventImpl(Container.java:2085)
    at java.awt.Window.dispatchEventImpl(Window.java:2478)
    at java.awt.Component.dispatchEvent(Component.java:4482)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
    at java.awt.EventQueue.access$000(EventQueue.java:85)
    at java.awt.EventQueue$1.run(EventQueue.java:603)
    at java.awt.EventQueue$1.run(EventQueue.java:601)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
    at java.awt.EventQueue$2.run(EventQueue.java:617)
    at java.awt.EventQueue$2.run(EventQueue.java:615)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Caused by: java.rmi.RemoteException: EJB Exception: ; nested exception is:
    java.lang.NoClassDefFoundError: com/thortech/xl/dataaccess/tcDataProvider
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
    at com.thortech.xl.ejb.interfaces.tcADP_3uwi2l_tcADPRemoteImpl_1035_WLStub.introspectAPIx(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor50.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
    ... 96 more
    Caused by: java.lang.NoClassDefFoundError: com/thortech/xl/dataaccess/tcDataProvider
    at java.lang.Class.getDeclaredMethods0(Native Method)
    at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
    at java.lang.Class.privateGetPublicMethods(Class.java:2547)
    at java.lang.Class.getMethods(Class.java:1410)
    at com.thortech.xl.dataobj.util.tcApplicationLookup.introspect(tcApplicationLookup.java:417)
    at com.thortech.xl.dataobj.tcADP.introspectAPI(tcADP.java:172)
    at com.thortech.xl.ejb.databeansimpl.tcADPBean.introspectAPI(tcADPBean.java:89)
    at com.thortech.xl.ejb.interfaces.tcADPEJB.introspectAPIx(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor589.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    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.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy329.introspectAPIx(Unknown Source)
    at com.thortech.xl.ejb.interfaces.tcADP_3uwi2l_tcADPRemoteImpl.__WL_invoke(Unknown Source)
    at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
    at com.thortech.xl.ejb.interfaces.tcADP_3uwi2l_tcADPRemoteImpl.introspectAPIx(Unknown Source)
    at com.thortech.xl.ejb.interfaces.tcADP_3uwi2l_tcADPRemoteImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:85)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    I am not able to select the Application API and so cant proceed further.
    Request you all to provide some help for the same

    The other error for the same is as follows
    Oct 9, 2012 6:36:21 PM com.thortech.util.logging.Logger error
    SEVERE: Class/Method: tcADPClient/getConstructors encounter some problems: Bean has been deleted.
    javax.ejb.NoSuchEJBException: Bean has been deleted.
    at weblogic.ejb.container.swap.DiskSwap.read(DiskSwap.java:192)
    at weblogic.ejb.container.manager.StatefulSessionManager.getBean(StatefulSessionManager.java:420)
    at weblogic.ejb.container.manager.StatefulSessionManager.preInvoke(StatefulSessionManager.java:492)
    at weblogic.ejb.container.internal.BaseRemoteObject.preInvoke(BaseRemoteObject.java:229)
    at weblogic.ejb.container.internal.StatefulRemoteObject.__WL_preInvoke(StatefulRemoteObject.java:57)
    at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:24)
    at com.thortech.xl.ejb.interfaces.tcADP_3uwi2l_tcADPRemoteImpl.getConstructorsx(Unknown Source)
    at com.thortech.xl.ejb.interfaces.tcADP_3uwi2l_tcADPRemoteImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:85)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    java.lang.NullPointerException
    at com.thortech.xl.adapterfactory.forms.tcfrmAdapterTask.setJavaApiLookup(tcfrmAdapterTask.java:447)
    at com.thortech.xl.adapterfactory.forms.tcfrmAdapterTask.access$1200(tcfrmAdapterTask.java:40)
    at com.thortech.xl.adapterfactory.forms.tcfrmAdapterTask$4.actionPerformed(tcfrmAdapterTask.java:683)
    at javax.swing.JComboBox.fireActionEvent(JComboBox.java:1240)
    at javax.swing.JComboBox.setSelectedItem(JComboBox.java:567)
    at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:603)
    at javax.swing.plaf.basic.BasicComboPopup$Handler.mouseReleased(BasicComboPopup.java:840)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
    at java.awt.Component.processMouseEvent(Component.java:6289)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
    at java.awt.Component.processEvent(Component.java:6054)
    at java.awt.Container.processEvent(Container.java:2041)
    at java.awt.Component.dispatchEventImpl(Component.java:4652)
    at java.awt.Container.dispatchEventImpl(Container.java:2099)
    at java.awt.Component.dispatchEvent(Component.java:4482)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
    at java.awt.Container.dispatchEventImpl(Container.java:2085)
    at java.awt.Window.dispatchEventImpl(Window.java:2478)
    at java.awt.Component.dispatchEvent(Component.java:4482)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
    at java.awt.EventQueue.access$000(EventQueue.java:85)
    at java.awt.EventQueue$1.run(EventQueue.java:603)
    at java.awt.EventQueue$1.run(EventQueue.java:601)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
    at java.awt.EventQueue$2.run(EventQueue.java:617)
    at java.awt.EventQueue$2.run(EventQueue.java:615)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
    at java.awt.Dialog$1.run(Dialog.java:1046)
    at java.awt.Dialog$3.run(Dialog.java:1098)
    at java.awt.Dialog.show(Dialog.java:1096)
    at com.thortech.xl.gui.base.tcDialog.show(tcDialog.java:102)
    at java.awt.Component.show(Component.java:1585)
    at java.awt.Component.setVisible(Component.java:1537)
    at java.awt.Window.setVisible(Window.java:842)
    at java.awt.Dialog.setVisible(Dialog.java:986)
    at com.thortech.xl.gui.base.tcfrmPopup.jbInit(tcfrmPopup.java:199)
    at com.thortech.xl.gui.base.tcfrmPopup.addForm(tcfrmPopup.java:166)
    at com.thortech.xl.adapterfactory.guibase.tcAdapterTaskTree.loadAddForm1(tcAdapterTaskTree.java:1387)
    at com.thortech.xl.adapterfactory.guibase.tcAdapterTaskTree.launchEditorForm(tcAdapterTaskTree.java:1355)
    at com.thortech.xl.adapterfactory.guibase.tcAdapterTaskTree.addAdapterTask(tcAdapterTaskTree.java:555)
    at com.thortech.xl.adapterfactory.guibase.tcAdapterTaskTree.actionPerformed(tcAdapterTaskTree.java:459)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
    at java.awt.Component.processMouseEvent(Component.java:6289)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
    at java.awt.Component.processEvent(Component.java:6054)
    at java.awt.Container.processEvent(Container.java:2041)
    at java.awt.Component.dispatchEventImpl(Component.java:4652)
    at java.awt.Container.dispatchEventImpl(Container.java:2099)
    at java.awt.Component.dispatchEvent(Component.java:4482)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
    at java.awt.Container.dispatchEventImpl(Container.java:2085)
    at java.awt.Window.dispatchEventImpl(Window.java:2478)
    at java.awt.Component.dispatchEvent(Component.java:4482)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
    at java.awt.EventQueue.access$000(EventQueue.java:85)
    at java.awt.EventQueue$1.run(EventQueue.java:603)
    at java.awt.EventQueue$1.run(EventQueue.java:601)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
    at java.awt.EventQueue$2.run(EventQueue.java:617)
    at java.awt.EventQueue$2.run(EventQueue.java:615)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

  • OIM 11gR2 : Process task adapter

    Hello Experts,
    I have to create a process task adapter in order to assign the users provisioned on AD to various groups on AD.
    1. How may i configure a new process task adapter from ther design console ?
    2. How may i map the variables between the process task created in the design console with the input parameters of the adapter java code ?

    http://www.idmworks.com/blog/oracle-identity-manager-basics-creating-a-custom-adapter-in-oim-11g
    http://idmrockstar.com/blog/2009/08/how-to-create-a-prepopulate-adapter-in-oim/ (HINT)
    http://docs.oracle.com/cd/E14571_01/doc.1111/e14309/creadp.htm#BABGHIFA

  • Mapping Adapter to a process task in process definition.

    Hi Guys
    My requirement is , Disable users associated with an organization when the organization is disabled.
    I have performed the following steps:
    1. In design console Lookup definition Lookup.ACT_PROCESS_TRIGGERS , I added a row
    ACT_DISABLED   DisableUSerWhenOrgDisabled
    2. Then I created process task adapter to recursively disable the users based on the organization name.
    3.Next I attached the adapter to a new task in process definition --> Xellerate User with the name DisableUSerWhenOrgDisabled(decode field in Lookup.ACT_PROCESS_TRIGGERS ).
    4.Then I mapped the Adapter variables to appropriate entities in the Integration tab.
    Now when I login into the admin console and disable an Organization , the adapter is not at all invoked.
    I am unable to get if I am missing anything.Kindly help in resolving this.
    Is this the correct way to achieve this functionality?
    OR
    Do I need to go for Entity Adapters.
    Thank you
    sas
    Edited by: sas on Jan 8, 2009 4:55 PM

    SAS,
    You only need one adapter. You can use one variable that maps the Organization Name. Using this value, you can use the tcOrganizationOperationIntf apis to get information about that organization. Once you get the disabled value, you can create your if statement based on the value of this task. If the Organization is not disabled, return a literal string like "NO_ACTION_REQUIRED". If the Organization is disabled, using the code i previously posted, or the code you have generated, to disabled all the users within the organization. If this task successfully completes, return the literal string like "ALL_USERS_DISABLED". If an error happens, i would return something like "ERROR" or something more descriptive. Then on your responses tab, you can add these values you are returning, along with a more descriptive value. Set the NO_ACTION_REQUIRED and ALL_USERS_DISABLED to a C status and the ERROR responses to a R status. Now when you map your adapter, map in your Organization Name and for your Adapter Return Value map it to the responses.
    As far as what you can do with responses. On the process task, the response tab, you can select the specific response, and then have it trigger another task.
    -Kevin

  • Process Task Adapter that looksup value

    Hi,
    Any help on creation of a process task adapter that will lookup a value in OIM.
    I wanted to make this as a generic adapter, by passing the lookup name and a codekey value which should fetch the decoded value in that lookup table.
    By doing so, I wanted to set few attributes so that when a attribute value got changed in USR form, it should search the mapped lookup and the codekey value (using a process task definition) and then set the decoded value in the targetted attribute.
    Thanks in advance.
    Regards.

    Here is the thread which might help you. Solution is there.
    Adapter for querying lookup table
    Sunny

  • Custom Process Task Adapter for AD OIM 11gR2

    Hi,
    Has anyone written a Custom Process Task Adpater for AD? We want to update bunch of attributes from a single task adapter and wondering how we can extend the OOTB ones?
    - Kaushik

    Thats the thing right, we are not able to get the API or appropriate connector classes to get AD Connections and other stuff.
    Consider the case where, you update the Manager's DN. How do we write an adapter using connector's api to fetch the dn?

  • Jars location(Adapter- Process task)

    Hi,
    I had created an adapter and had attached to a process task. The adapter had the custom jar file. Now, I want to modify the jar file. And to do this I tried to download the jar using DownloadJar utility. But OIM throws FileNotFound Exception saying the jar file is not found in the database. IN which table does these jars stored in OIM 11g DB. I tried in PLUGINS,OIMHOME_JARS table but didnt see my jar. Can anyone please let me know how to find the jar file.
    Thanks,

    while creating adapter where did you put your custom jar?
    have you uploaded using uploadjars utility if not it should be in <IDM_HOME>/server/JavaTask folder
    --nayan                                                                                                                                                                                                                                                                                                                                                   

  • Clarification Adapter-Process task association

    Hi,
    yet another basic question...
    I have built my IT resource+resource object+adapters+provisioning process.
    This is for study purpose.
    The user get`s correctly created. What is now not clear to me is how can I tell
    to OIM which process task to use for updating the user. The same for delete/
    enable/disable.
    I realize that this must be done in the lookup definition in the design console,
    but do not now how. Can you please shed a light on this?
    Thank you very much.

    Hi
    Edits are typically done on the process form of the resource by an admin. for example say some attribute e.g. First Name needs to be changed on the target system after provisoning (i.e. account creation).
    You will need to create a conditional task (not required for completion) which has a name "First Name Updated".
    OIM understands tasks that are named with the <attribute/field name> Updated (the attribute name must be the exact case as the field name in the process form)<space>Updated (notice "U" upper case) are special and you can attach any adapter (business logic) to make OIM do what you need it to do. In this case you will attach a modify adapter that will update the value of the corresponding field on the target system.
    For Enable and Disable you will need to create a task with any name typically people use "Enable User" "Disable User" respectively but thats not necessary. Whats of essence is the task effect drop down on the "Edit Task" window of the task you created (Disable User or Enable User in this case), select the "Disables process or access to application" for disable user task and attach your adapter for disabling the account on the target system, and set the task to Object status mapping C as "Disabled".
    For enable just select the Enables.... from the drop down and attach your adapter for enabling the account on the target system, and set the task to Object status mapping C as "Enabled".
    For delete/revoke, you can create a task with any name e.g. Delete User but what you need to do is put this task in the undo/recovery of the "Create User" task or whatever task that creates the account e.g. Create User task.
    hope this helps.

  • OIM 11g R1 - Modifying a Resource Erases Custom Process Task ???

    I've created a Generic Resource in OIM that uses the Database Applications Table connector 9.1.0.5.0.
    Then I add my own process tasks through Design Console under "Process Management -> Process Definitions". On each custom process task I've attached my own custom adapters, which I created through "Development Tools -> Adapter Factory" in Design Console. These custom adapters use methods from my Java code. My Java jar file is located in "Oracle_IDM1/server/JavaTasks".
    Now here is the issue:
    Whenever I modify this resource in OIM under "Configuration -> Manage Generic Connector" (E.g Changing reconciliation type from Full to Incremental), all my custom process tasks get deleted.
    What is the reason for this? Is there a solution for this problem?

    This is indeed a major flaw for GTC. Below I found this issue in a Oracle doc.
    Doc Link: http://docs.oracle.com/cd/E14571_01/doc.1111/e14309/aptrouble.htm
    Below is a description of this issue from the Oracle documentation
    Summary:
    Customization work done on objects of a generic technology connector would be overwritten if you perform a Manage Generic Technology Connector operation.
    Description:
    You can use the Design Console to customize connector objects that are automatically created during generic technology connector creation. However, after you customize connector objects, if you perform a Manage Generic Technology Connector operation, then all the customization done on the connector objects would be overwritten. Therefore, Oracle recommends that you to apply one of the following guidelines:
    Do not use the Design Console to modify generic technology connector objects.
    The exception to this guideline is the IT resource. You can modify the parameters of the IT resource by using the Design Console. However, if you have enabled the cache for the GenericConnector and GenericConnectorProviders categories, then you must purge the cache either before or after you modify IT resource parameters. See "Purging the Cache" in the Oracle Fusion Middleware System Administrator's Guide for Oracle Identity Manager for information about running the PurgeCache utility.
    If you use the Design Console to modify generic technology connector objects, then do not use the Manage Generic Technology Connector feature to modify the generic technology connector.
    Connector objects that are automatically created are not deleted even if the generic technology connector creation process fails.

  • Customize Process Task notification

    Our goal is to send a notification to group of users (members of a Role) when a Siebel Account is successfully created.
    To accomplish this task we used the legacy feature of OIM to send notification by doing the following:
    - create a custom Email Definition of Type = "Provisioning Related" using OIM Design Console - Process Management - Email Definition
    - add the above Email Definition to the provisioning task using OIM Design Console - Process Management - Process Definition - Siebel Process - Tasks - Create User - Notification
    This works as expected except the following issues:
    1. the Email Definition contains more than one field of type Date that are shown in English format (e.g. June 8, 2012) we would like to parse date values in a different format (e.g 2012-06-08).
    We have already tried to change the Email Definition attributes Language/Region from values "en/US" to "it/IT" but the notification stops to be sent until we rollback to original values "en/US"; is this a know bug or a miss configuration?
    In any case, is the Language/Region related to the date format?
    2. some attribute values in the Email Definition should be "transformed"
    Any suggestion how solve the above issues?
    As a workaround we coded a Java Plugin that sends email notifications (in this case we are able to write the email content as we want) and trigger this Plugin by an Event Handler but only for events related to the OIM User (CRETE/MODIFY/DELETE/etc..); we have no idea how trigger the same Plugin/Event Handler for the Siebel Account events. Is it possible? How?
    Thanks and regards,
    Gabriele.

    To "trigger the notification task (new task) upon Sucess response code of Siebel create user task" you mean:
    - create a Java Plugin with all the code needed to create and send the email notification?
    - create an Adapter of type Process Task that triggers the above Java Plugin passing all the required variables?
    - create a new Process Task that trigger the above Adapter and maps all the defined variables?
    - finally, set the above Process Task as of the original Create User Process Task?
    Is this correct? Did I miss some steps? Did you tried it?
    Thanks,
    Gabriele.

  • Process tasks notifications

    Hello,
    in the design console, we can send notifications to assignee, requester, user and user's manager.
    Is there any way to send notifications to other people? a (dynamic) group for instance?
    Or should I write my own adapter which would call some custom code to send the email?
    Thanks.

    Hello,
    ok, looks indeed a better way than custom mail. however, if I create a task and assign it to a dynamic list of users (through java code adapter), won't that task be considered as a provisioning task? I don't want these users to go to OIM UI to do anything at that moment...
    Is there any sample code for a java code adapter of task assignment type?
    also, until now and your message, I didn't understand that the "adapter" column in the assignment tab of process task was there to provide custom assignees (http://docs.oracle.com/cd/E21764_01/doc.1111/e14309/promgt.htm#BCEJHFBF does not explain it...)
    thanks!

  • File Adapter BPEL Process getting switched off

    The file adapter BPEL process reads a csv file which has a series of records in itfrom /xfer/chroot/data/aramex/accountUpdate/files. In between reading the files, the BPEL process gets switched off. The below snippet is the error we found in the domain.log. Anybody can you please suggest what to do?
    <2010-11-25 16:22:28,025> <WARN> <PreActivation.collaxa.cube.ws> <File Adapter::Outbound>
    java.io.FileNotFoundException: /xfer/chroot/data/aramex/accountUpdate/files/VFQ-251120101_1000.csv (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at oracle.tip.adapter.file.FileUtil.copyFile(FileUtil.java:947)
    at oracle.tip.adapter.file.inbound.ProcessWork.defaultArchive(ProcessWork.java:2341)
    at oracle.tip.adapter.file.inbound.ProcessWork.doneProcessing(ProcessWork.java:614)
    at oracle.tip.adapter.file.inbound.ProcessWork.processMessages(ProcessWork.java:445)
    at oracle.tip.adapter.file.inbound.ProcessWork.run(ProcessWork.java:227)
    at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
    at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:280)
    at java.lang.Thread.run(Thread.java:619)
    <2010-11-25 16:22:28,025> <INFO> <PreActivation.collaxa.cube.ws> <File Adapter::Outbound> Processer thread calling onFatalError with exception /xfer/chroot/data/aramex/accountUpdate/files/VFQ-251120101_1000.csv (No such file or directory)
    <2010-11-25 16:22:28,025> <FATAL> <PreActivation.collaxa.cube.activation> <AdapterFramework::Inbound> [Read_ptt::Read(root)]Resource Adapter requested Process shutdown!
    <2010-11-25 16:22:28,025> <INFO> <PreActivation.collaxa.cube.activation> <AdapterFramework::Inbound> Adapter Framework instance: OraBPEL - performing endpointDeactivation for portType=Read_ptt, operation=Read
    <2010-11-25 16:22:28,025> <INFO> <PreActivation.collaxa.cube.ws> <File Adapter::Outbound> Endpoint De-activation called in adapter for endpoint : /xfer/chroot/data/aramex/accountUpdate/files/
    <2010-11-25 16:22:28,095> <WARN> <PreActivation.collaxa.cube.ws> <File Adapter::Outbound> ProcessWork::Delete failed, the operation will be retried for max of [2] times
    <2010-11-25 16:22:28,095> <WARN> <PreActivation.collaxa.cube.ws> <File Adapter::Outbound>
    ORABPEL-11042
    File deletion failed.
    File : /xfer/chroot/data/aramex/accountUpdate/files/VFQ-251120101_1000.csv as it does not exist. could not be deleted.
    Delete the file and restart server. Contact oracle support if error is not fixable.
    at oracle.tip.adapter.file.FileUtil.deleteFile(FileUtil.java:279)
    at oracle.tip.adapter.file.FileUtil.deleteFile(FileUtil.java:177)
    at oracle.tip.adapter.file.FileAgent.deleteFile(FileAgent.java:223)
    at oracle.tip.adapter.file.inbound.FileSource.deleteFile(FileSource.java:245)
    at oracle.tip.adapter.file.inbound.ProcessWork.doneProcessing(ProcessWork.java:655)
    at oracle.tip.adapter.file.inbound.ProcessWork.processMessages(ProcessWork.java:445)
    at oracle.tip.adapter.file.inbound.ProcessWork.run(ProcessWork.java:227)
    at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
    at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:280)
    at java.lang.Thread.run(Thread.java:619)
    <2010-11-25 16:22:28,315> <ERROR> <PreActivation.collaxa.cube> <BaseCubeSessionBean::logError> Error while invoking bean "cube delivery": Process state off.
    The process class "BulkAccountUpdateFileConsumer" (revision "1.0" ) has not been turned on. No operations on the process or any instances belonging to the process may be performed if the process is off.
    Please consult your administrator if this process has been turned off inadvertently.

    This patch is not for 10.1.3.1.
    I have provided a response to on the following post
    BPEL Process Going into Dead State Automatically.
    cheers
    James

  • Adapter Module Processing

    I have a file to file scenario. The incoming file contains Employee Details and I need to validate each record and need to reject them if they are invalid as per the business rules.
    For this I know I need to create the Adapter Module Processing.
    I am following the below mentioned document.
    https://websmp209.sap-ag.de/~sapdownload/011000358700003237612005E/HowToCreateAdapterModules.pdf
    I dont have an NWDS installed, but I want to develop my java program in Eclipse? Whether it is OK to do it in Eclipse? Once I develop my Java program what exactly I need to do? How to create a Jar file in Eclipse? How to import that in XI?
    Thanks.
    [email protected]

    Hi Jenni,
    This topic has been already discussed in the below thread:-
    Creating Adapter Modules
    In general, I will explain how to create .JAR file:-
    Creating a .JAR file is easy. Go to the directory where your classes are stored and type :-
    jar -cf myfile.jar *.class
    (jar is the command to run the jar utility. -cf are options, where c create arhive and f specify archive file name)
    Now, if you have an existing JAR file, and want to extract it, you'd type:-
    jar -xf myfile.jar
    Also go thro' this link for step by step procedure on simple Module Processing:-
    https://websmp201.sap-ag.de/~sapdownload/011000358700003237612005E/HowToCreateAdapterModules.pdf
    I hope this provides you a solution.
    Regards.
    Praveen

  • How to trigger a process task on IT Resource process form

    Hi,
    I want to know how to trigger a process task on IT resource process form using OIM API.For Example:- If a task ilike an e-mail is to be sent on the departure date of a user.So,how can it be done using API?
    Thanks.

    This would typically be done through a scheduled task. Write your code to query for the departure date. If someone meets your criteria for an action to occur, you can either use the addProcessTaskInstance which has an adapter attached to it to send the email, or in your code, send the email.
    The details that need to be considered though is where the departure date is stored. Is it on a process form, or is it on the user's OIM profile. Do you want to disable the user or revoke the object instance at this departure date? You could use the notification tab of these existing tasks if so.
    -Kevin

  • Trigger a process task based on Lookup Value

    Hi Everyone,
    We have a requirement like for one of the custom adaptors,we have
    The Process form has the below five attributes
    i)First Name----(String)
    ii)Last Name----(String)
    iii)Location----(Lookup)
    iv)Address----(String)
    V)Mobile-----(String)
    The attribute Location is a lookup Field.
    in Location we have
    Code Decode
    Chennai Chennai
    Bangalore Bangalore
    Delhi Delhi
    Mumbai Mumbai
    NOw if i select chennai in the location lookup.I want to trigger a seperate task from process definition.
    How can this be achieved?
    Regards,
    Naveen

    you can't achieve dynamicly using process task.
    if the value of that lookup is limited and known then you can design like below(Static)
    1. create a process task adapter which takes one string input(location) and return the same. update response for each location values
    2. create task called Location updated or if this task is there for update location value in target system then leave as it is
    3. create a new condiional task "call task based on location" . attach newly created adapter. pass location attribute as input and map return value with response code.
    finally attach this task on the success response of "Location Updated" task
    4. now you have response for all location . so attach respective task on each response.
    Note: if there is no Location Updated task present then create "Location Updated " task and directly attach above adapter on this task.
    --nayan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for

  • Error during Installing SAP Netweaver 7.0 SR3 Sneak Preview

    Hi All, I am trying to install the SAP Sneak Preview currently available in the SDN. There are 40 steps involved in the process and i am able to get through 39 steps successfully. On the 40th step, (Install minimal configuration), it tries to start t

  • Aperture 2 sees the M8.2 camera but not the photos on teh card

    New to Aperture 2 and using the trial for two days. Importing photos from disk works OK. When I plug in my Leica M8.2 (supported by Aperture 2) the camera shows up in the top left corner but the main area in the Aperture 2 display is blank - no photo

  • Charging ON or OFF

    Does it matter whether the shuffle is on or off when charging. I left mine charging for 5 or 6 hours and still have the amber not the green light. Can't find this anywhere in any manual or other information.

  • Suddenly unable to save files edited in camera raw

    Mac Pro, 2 TB drive, 8 GB RAM, lots of empty HD space.  Nikon D4 RAW files After using camera RAW to process thousands of photos and saving in jpg with this equipment, suddenly I get a message in a window, "the file could not be saved".  I haven't ch

  • MY FAVORITES DID NOT IMPORT AND YOU KEEP TURNING ON TABS....I DON'T WANT THEM

    WHEN I INSTALLED FIREFOX IT ASKED IF A WANTED TO IMPORT MY FAVORITES FROM MSEXPLORE, I CHECKED YES. AFTER I INSTALLED FIRE FOX I CHECK THE NO TABS. NOW I CAN'T GET RID OF TABS....DON'T WANT THEM AND IT DID NOT IMPORT MY FAVORITE. I WENT TO THE INSTAL