Resource Object Key

Hello experts.
How to find Resource Object Key for example for AD in my env?
I have AD server, connector and I want to provise AD User to user in OIM.
I use access policy and createAccessPolicy method:
accessPolicyKey = accessPolicyOp.createAccessPolicy(policyCriteriaMap, provObjKeys, revokeObjectIfNotApply, denyObjKeys, groupKeys, resourceParam);
long[] provObjKeys = {?};
Help me pls.
Thanks.

I used this code:
public void whatakey(){
try {
tcObj = (tcObjectOperationsIntf)getUtility("Thor.API.Operations.tcObjectOperationsIntf");
} catch (tcAPIException e) {
HashMap mam = new HashMap();
mam.put("Objects.Name", "AD User");
tcResultSet set;
try {
set = tcObj.findObjects(mam);
System.out.println(set);
} catch (tcAPIException e) {
And got this message:
Thor.API.tcMetaDataSet@1112c36d
Whats wrong?

Similar Messages

  • Issue in Adding Custom Status Defnition for a resource object

    Hi,
    We have installed OIM and patch it to 9.102. We have created one custom resource object (flat file connector) for reconciliation. As part of requirement we need to define three status for this resource object - Enabled, Suspended and Disabled. As Enabled and Disabled status are available OOTB, i have added 'Suspended' status under the Status Definition in resource object. Now the issue is that if we are passing reconcile user status to either Enabled or Disabled, the status is changing fine on Linked user resource object. But if the status passed as 'Suspended' the resource account status of linked user (OIM) is not changed.
    We have mapped the resource side Status attribute to OIM_OBJECT_STATUS under process definition. I also made the entry 'Suspended' in 'Lookup.Object Object Status' lookup to see if any help, but no luck.
    The 'Suspended' status is successfully added in OST table against the object key and on manually updating the status key against the resource object it is reflecting 'Suspended' status through admin console. User-->Resource Profile
    Does anyone have any clue if the requirement is correct (adding a custom object status) and so, where i am going wrong. Thanks in advance.

    A quick doubt..If i have written down a process task and calling this on completion of 'Reconciliation Update Received' and in this process task , a adapter is attached which is updating the resource account status (ost_status) on the basis of some custom attributes. This task is working fine and updating the status. But the issue is that once this task is complete, the mapping in Process definition (loginDisabled <MetaDirectory> --> OIM_OBJECT_STATUS) overrides the status.
    Per my understanding the flow is going like this-->
    1. Reconciliation run
    2. Event Linked
    3. Reconciliation Update Received
    4. Call The custom Task --> Update the OST Status
    5. Update the OST Status per the mapping OIM_OBJECT_STATUS.
    Is there any way we can implement that the status update in (5) occurs before (4) so that my custom task status can override the (5) as per my business requirement.

  • Instead of creating new resource, recon is updating the same resource object for a user

    Hi,
    I created a DB target recon in OIM 11g. I ran recon and it created resource object. Resource is visible in Accounts tab.Now, I added one more entry with different description in DB. I ran the recon again. This time, instead of creating new resource object, recon linked it the same user with same resource object.
    My requirement is to create as many resource object as there are entries in DB table. The recon should not link all DB entries with same resource object in IDM. For every entry in DB, recon should create that many resource objects in accounts tab of user.
    Please let me know how to achieve the same.
    Regards,
    Kalpana.

    Hint is : Verify Reconciliation Key field mapping in Process definition
    Thanks,
    Pallavi

  • OIM 11gR1: Add a Task to a Resource Object

    Hello
    I have added a new process task to a Resource Object. Task name is "Change Unique Value" on the RO. I'd like to programatically add this task to all users where the RO is either "Enabled" or "Provisioned"
    I cannot seem to find an 11g API that allow me to find all resources provisioned to a user, and then find all available tasks, and add it.
    Can someone please point me to the API that will allow me to add a task to an RO?
    Thank you.

    tcProvisioningOperationsIntf.addProcessTaskInstance(long plTaskKey, long plOrcKey)
    Run this query for the task key:
    select mil_key from mil where mil_name = 'Change Unique Value'
    Then run the query to get the orc_key
    select oiu.orc_key
    from oiu, ost, obj, obi
    where oiu.ost_key=ost.ost_key
    and oiu.obi_key=obi.obi_key
    and obi.obj_key=obj.obj_key
    and obj.obj_name = :resourceName
    and ost.ost_status in ('Provisioned','Enabled'))
    Then use this code and put a comma seperated value of the orc_key output.
    public void addProcessTask(){
    long[] keys = new long[] {<COMMA_SEPERATED_ORC_KEY};
    int counter = 0;
    for (long key:keys){
    try {
    counter++;
    provIntf.addProcessTaskInstance(<MIL_KEY FROM ABOVE>, key);
    System.out.println(counter + "|" + keys.length);
    } catch (Exception e) {
    System.out.println(e.getLocalizedMessage());
    System.out.println(e.getMessage());
    Verify with one user first, then run the rest. It uses the tcProvisioningOperationsIntf.
    -Kevin

  • Populate object form with already provsioned resource object's data

    OIM Version:
    9102 BP19
    Scenario:
    We have to pre-populate resource object (ModifyObject) form fields with already provisioned resource object (ProvisionedObject) form fields which can be multi-instance resource.
    This provided data will be used modify the already Provisioned resource object data (same ProvisionedObject). And this needs to be handled with approval workflow.
    Approach:
    We will use selected ProvisionedObject’s process instance key on web page in resource object pre-populate adapters. And using that process instance key we will fetch already provisioned resource (ProvisionedObject) object’s data.
    Issue:
    Not sure how can we pass the process instance key from WEB_PAGE to OIM_RESOURCE_OBJECT’s pre-populate adapter.
    Any pointers towards the solution will be appreciated.

    My suggestion is...
    At the time of raising the request, use userKey and in the code use getObjects() to retrieve the provisioned resource object information. Here you can retrieve Process Instance Key of the Provisioned resource and then retrieve the process data. So at this point you will have all the required data of the provisioned resource which can be returned to the object form field.
    This is one approach. Experts may throw more pointers.

  • OIM11g Code for getting resource object name

    Hi Experts,
    I want to fetch all the resource objects names assigned to a particular user. I am using following 10g code:
    tcUserOperationsIntf moUserUtility1 = (tcUserOperationsIntf) getUtility("Thor.API.Operations.tcUserOperationsIntf");
    Hashtable mhSearchCriteria = new Hashtable();
    mhSearchCriteria.put("Users.User ID", "*");
    mhSearchCriteria.put("Users.Status", "Active"); // Searching for all
    tcResultSet moResultSet = moUserUtility1.findUsers(mhSearchCriteria);
    Long usr_key = moResultSet.getLongValue("Users.Key");
    tcResultSet rs = moUserUtility1.getObjects(usr_key);
    String objName= rs.getStringValue("Objects.Name")Could you please help me getting the OIM11g API's and code for the above 10 code?? Any ref will be helpful..
    thanks.

    Check this link
    OIM 11g - retrieving all the provisioned accounts of an user

  • Object key in BAPI_ALM_ORDER_MAINTAIN

    Dear Experts,
    The situation is that I have to change data in the componenten in an order ( IW32 ) and I try to get it done by using a bapi called BAPI_ALM_ORDER_MAINTAIN .
    This is how I've done it so far
    Fill Method Internal table
          wa_meth-method = 'SAVE'.
          APPEND wa_meth TO t_meth.
    Fill components
            wa_meth-refnumber   = sy-tabix.
            wa_meth-objecttype  = 'COMPONENT'.
            wa_meth-method      = 'CHANGE'.
            wa_meth-objectkey(12)   = aufnr.                " ES_HEADER-orderID (order no.)
            wa_meth-objectkey+12(4) = wa_in-activity.       " ET_COMPONENT-activity (operation no.)
            wa_meth-objectkey+16(4) = wa_in-res_item.       " ET_COMPONENT-ITEM (suboperation no.)
            APPEND wa_meth TO t_meth.
    Could anyone give me some explanation about BAPI_ALM_ORDER_MAINTAIN and its object key.

    CONSTANTS: c_1(1) TYPE c VALUE '1',
                 c_header(6) TYPE c VALUE 'HEADER',
                 c_change(6) TYPE c VALUE 'CHANGE'.
    MOVE: c_1            TO wa_methods-refnumber,
            c_header       TO wa_methods-objecttype,
            c_change       TO wa_methods-method,
            wa_final-aufnr TO wa_methods-objectkey.
      APPEND wa_methods     TO it_methods.
      MOVE: wa_final-aufnr   TO wa_header-orderid,
            wa_final-auftext TO wa_header-short_text.
      APPEND wa_header TO it_header.
      MOVE: wa_final-aufnr TO wa_header_up-orderid,
            gc_x           TO wa_header_up-short_text,
            gc_x           TO wa_header_up-start_date,
            gc_x           TO wa_header_up-finish_date.
      APPEND wa_header_up TO it_header_up.
    CONSTANTS: c_operation(9) TYPE c VALUE 'OPERATION',
                 c_change(6)    TYPE c VALUE 'CHANGE'.
      gv_tabix = gv_tabix + 1.
    *Method Details
      MOVE: gv_tabix         TO wa_methods-refnumber,
            c_operation      TO wa_methods-objecttype,
            c_change         TO wa_methods-method,
            wa_final-aufnr   TO wa_methods-objectkey,
            wa_final-vornr   TO wa_methods-objectkey+12(4).
      APPEND wa_methods TO it_methods.
    *Values
      MOVE: wa_final-vornr      TO wa_operation-activity, "Operation
            wa_final-ltxa1      TO wa_operation-description. "Opr. short text
      REPLACE ALL OCCURRENCES OF ',' IN wa_final-arbeit WITH '.'.
      REPLACE ALL OCCURRENCES OF ',' IN wa_final-daunor WITH '.'.
      REPLACE ALL OCCURRENCES OF ',' IN wa_final-anzkap WITH '.'.
      REPLACE ALL OCCURRENCES OF ',' IN wa_final-duration_relation WITH '.'.
      MOVE: wa_final-arbeit     TO wa_operation-work_activity,  "Duration
            wa_final-arbeite    TO wa_operation-un_work, "Unit for Work Activity
            wa_final-daunor     TO wa_operation-duration_normal. "Duration
      MOVE: wa_final-daunore TO wa_operation-duration_normal_unit, "Normal
                                                         "Duration Unit
            wa_final-anzkap  TO wa_operation-number_of_capacities, "# Resources
            wa_final-arbpl   TO wa_operation-work_cntr. "Operation Work Center
      MOVE wa_final-indet TO wa_operation-calc_key.
      APPEND wa_operation TO it_operation.
    *Update Flag
      MOVE: gc_x TO wa_operation_up-activity, "Operation
            gc_x TO wa_operation_up-description, "Opr. short text
            gc_x TO wa_operation_up-work_activity,  "Duration
            gc_x TO wa_operation_up-un_work,  "Unit for Work Activity
            gc_x TO wa_operation_up-duration_normal, "Duration
            gc_x TO wa_operation_up-duration_normal_unit,
                                                 "Normal Duration Unit
            gc_x TO wa_operation_up-number_of_capacities, "# Resources
           gc_x to wa_operation_up-start_cons, "Start Date
           gc_x to wa_operation_up-fin_constr, "Finish Date
            gc_x TO wa_operation_up-work_cntr, "Operation Work Center
            gc_x TO wa_operation_up-calc_key.    "calculation key
      APPEND wa_operation_up TO it_operation_up.
    CONSTANTS: c_relation(8) TYPE c VALUE 'RELATION',
                 c_change(6)   TYPE c VALUE 'CHANGE'.
      IF wa_final-order_predecessor IS NOT INITIAL.
        gv_relation = gv_relation + 1.
        MOVE: gv_relation     TO wa_methods-refnumber,
              c_relation      TO wa_methods-objecttype,
              c_change        TO wa_methods-method,
              wa_final-aufnr  TO wa_methods-objectkey,
              wa_final-aufnr  TO wa_methods-objectkey+16(12).
        "Pass this value for Operations
        APPEND wa_methods TO it_methods.
        MOVE: wa_final-order_predecessor     TO wa_relation-order_predecessor,
              wa_final-operation_predecessor TO wa_relation-operation_predecessor,
              wa_final-order_successor       TO wa_relation-order_successor,
              wa_final-operation_successor   TO wa_relation-operation_successor,
              wa_final-relation_type         TO wa_relation-relation_type,
              wa_final-duration_relation_unit TO wa_relation-duration_relation_unit,
              wa_final-duration_relation      TO wa_relation-duration_relation.
        APPEND wa_relation TO it_relation.
        MOVE: gc_x TO wa_relation_up-relation_type,
              gc_x TO wa_relation_up-duration_relation_unit,
              gc_x TO wa_relation_up-duration_relation.
        APPEND wa_relation_up TO it_relation_up.
      ENDIF.
    MOVE c_save TO wa_methods-method .
      APPEND wa_methods TO it_methods.
      CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
        TABLES
          it_methods      = it_methods
          it_header       = it_header
          it_header_up    = it_header_up
          it_operation    = it_operation
          it_operation_up = it_operation_up
          it_relation     = it_relation
          it_relation_up  = it_relation_up
          return          = it_return.

  • Resource Object Approval via Java API

    Is there a way to do approval of Resource Object via Java code/API?

    You have to use updateTask API
    HashMap search = new HashMap();
    search.put("Process Instance.Task Information.Assigned To User Key", "81");
    tcResultSet pend = requestOperationsIntf.getApprovalTasksAssigned(search);
    // The above ResultSet stores all the request information pending for approval. Right now there is just one row
    pend.goToRow(0);
    long taskInsKey = pend.getLongValue("Process Instance.Task Details.Key");
    // Extract the taskInstance key form the above resultSet to pass to the next API
    Map mhProcessMap = new HashMap();
    mhProcessMap.put("Process Instance.Task Details.Data", "Approve");
    // Where 'Approve', 'Reject' etc will be your approval task responses
    proOperIntf.updateTask(taskInsKey, mhProcessMap);

  • Error while provisioning resource object to any user

    I get below error while trying to provision or reconcile any user to AD resource object. This was working fine till yesterday and suddenly started behaving otherwise.
    This error occurs while provisioning to the user i.e., as we de-selected auto save option on the process definition, it does not show up the process form while manually provisioning the resource instead show DOBJ.UPDATE_FAILED error on the web console.
    I tried provisioning the resource by removing all the pre-populate adapters from the process form with no luck
    This is on OIM 9.1.0.2 BP12
    Has anyone faced similar issue before or any pointers to resolve this ??
    ERROR,15 Aug 2013 16:11:38,482,[XELLERATE.DATABASE],Class/Method: tcDataBase/writeStatement encounter some problems: ORA-01407: cannot update ("IDM"."OIU"."OST_KEY") to NULL
    java.sql.SQLException: ORA-01407: cannot update ("IDM"."OIU"."OST_KEY") to NULL
            at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
            at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)
            at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)
            at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
            at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
            at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1030)
            at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
            at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:947)
            at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1222)
            at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3381)
            at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3462)
            at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1349)
            at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:159)
            at com.thortech.xl.dataaccess.tcDataBase.writePreparedStatement(Unknown Source)
            at com.thortech.xl.dataobj.PreparedStatementUtil.executeUpdate(Unknown Source)
            at com.thortech.xl.dataobj.tcTableDataObj.updateImplementation(Unknown Source)
            at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
            at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
            at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
            at com.thortech.xl.dataobj.tcOIU.provision(Unknown Source)
            at com.thortech.xl.dataobj.tcOIU.eventPostInsert(Unknown Source)
            at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
            at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
            at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
            at com.thortech.xl.dataobj.tcUserProvisionObject.insertImplementation(Unknown Source)
            at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
            at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
            at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.provisionObject(Unknown Source)
            at com.thortech.xl.ejb.beans.tcUserOperationsSession.provisionObject(Unknown Source)
            at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.provisionObject(Unknown Source)
            at com.thortech.xl.ejb.beans.tcUserOperationsSession.provisionObject(Unknown Source)
            at com.thortech.xl.ejb.beans.tcUserOperations_voj9p2_EOImpl.provisionObject(tcUserOperations_voj9p2_EOImpl.java:2651)
            at Thor.API.Operations.tcUserOperationsClient.provisionObject(Unknown Source)
            at sun.reflect.GeneratedMethodAccessor499.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(Unknown Source)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
            at weblogic.security.service.SecurityManager.runAs(Unknown Source)
            at weblogic.security.Security.runAs(Security.java:41)
            at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
            at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
            at $Proxy68.provisionObject(Unknown Source)
            at com.thortech.xl.webclient.actions.DirectProvisionUserAction.handleVerifyResource(Unknown Source)
            at com.thortech.xl.webclient.actions.DirectProvisionUserAction.goNext(Unknown Source)
            at sun.reflect.GeneratedMethodAccessor492.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
            at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(Unknown Source)
            at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source)
            at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
            at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
            at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
            at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
            at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
            at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
            at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
            at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
            at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
            at com.thortech.xl.webclient.security.CSRFFilter.doFilter(Unknown Source)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
            at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(Unknown Source)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
            at weblogic.security.service.SecurityManager.runAs(Unknown Source)
            at weblogic.servlet.internal.WebAppServletContext.securedExecute(Unknown Source)
            at weblogic.servlet.internal.WebAppServletContext.execute(Unknown Source)
            at weblogic.servlet.internal.ServletRequestImpl.run(Unknown Source)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    ERROR,15 Aug 2013 16:11:38,485,[XELLERATE.SERVER],Class/Method: tcTableDataObj/updateImplementation encounter some problems: {1}
    com.thortech.xl.orb.dataaccess.tcDataAccessException
            at com.thortech.xl.dataaccess.tcDataAccessExceptionUtil.createException(Unknown Source)
            at com.thortech.xl.dataaccess.tcDataBase.createException(Unknown Source)
            at com.thortech.xl.dataaccess.tcDataBase.writePreparedStatement(Unknown Source)
            at com.thortech.xl.dataobj.PreparedStatementUtil.executeUpdate(Unknown Source)
            at com.thortech.xl.dataobj.tcTableDataObj.updateImplementation(Unknown Source)
            at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
            at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
            at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
            at com.thortech.xl.dataobj.tcOIU.provision(Unknown Source)
            at com.thortech.xl.dataobj.tcOIU.eventPostInsert(Unknown Source)
            at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
            at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
            at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
            at com.thortech.xl.dataobj.tcUserProvisionObject.insertImplementation(Unknown Source)
            at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
            at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
            at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.provisionObject(Unknown Source)
            at com.thortech.xl.ejb.beans.tcUserOperationsSession.provisionObject(Unknown Source)
            at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.provisionObject(Unknown Source)
            at com.thortech.xl.ejb.beans.tcUserOperationsSession.provisionObject(Unknown Source)
            at com.thortech.xl.ejb.beans.tcUserOperations_voj9p2_EOImpl.provisionObject(tcUserOperations_voj9p2_EOImpl.java:2651)
            at Thor.API.Operations.tcUserOperationsClient.provisionObject(Unknown Source)
            at sun.reflect.GeneratedMethodAccessor499.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(Unknown Source)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
            at weblogic.security.service.SecurityManager.runAs(Unknown Source)
            at weblogic.security.Security.runAs(Security.java:41)
            at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
            at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
            at $Proxy68.provisionObject(Unknown Source)
            at com.thortech.xl.webclient.actions.DirectProvisionUserAction.handleVerifyResource(Unknown Source)
            at com.thortech.xl.webclient.actions.DirectProvisionUserAction.goNext(Unknown Source)
            at sun.reflect.GeneratedMethodAccessor492.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
            at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(Unknown Source)
            at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source)
            at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
            at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
            at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
            at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
            at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
            at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
            at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
            at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
            at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
            at com.thortech.xl.webclient.security.CSRFFilter.doFilter(Unknown Source)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
            at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(Unknown Source)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
            at weblogic.security.service.SecurityManager.runAs(Unknown Source)
            at weblogic.servlet.internal.WebAppServletContext.securedExecute(Unknown Source)
            at weblogic.servlet.internal.WebAppServletContext.execute(Unknown Source)
            at weblogic.servlet.internal.ServletRequestImpl.run(Unknown Source)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by [Nested Exception]:
    java.sql.SQLException: ORA-01407: cannot update ("IDM"."OIU"."OST_KEY") to NULL
            at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
            at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)
            at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)
            at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
            at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
            at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1030)
            at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
            at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:947)
            at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1222)
            at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3381)
            at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3462)
            at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1349)
            at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:159)
            at com.thortech.xl.dataaccess.tcDataBase.writePreparedStatement(Unknown Source)
            at com.thortech.xl.dataobj.PreparedStatementUtil.executeUpdate(Unknown Source)
            at com.thortech.xl.dataobj.tcTableDataObj.updateImplementation(Unknown Source)
            at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
            at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
            at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
            at com.thortech.xl.dataobj.tcOIU.provision(Unknown Source)
            at com.thortech.xl.dataobj.tcOIU.eventPostInsert(Unknown Source)
            at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
            at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
            at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
            at com.thortech.xl.dataobj.tcUserProvisionObject.insertImplementation(Unknown Source)
            at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
            at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
            at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.provisionObject(Unknown Source)
            at com.thortech.xl.ejb.beans.tcUserOperationsSession.provisionObject(Unknown Source)
            at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.provisionObject(Unknown Source)
            at com.thortech.xl.ejb.beans.tcUserOperationsSession.provisionObject(Unknown Source)
            at com.thortech.xl.ejb.beans.tcUserOperations_voj9p2_EOImpl.provisionObject(tcUserOperations_voj9p2_EOImpl.java:2651)
            at Thor.API.Operations.tcUserOperationsClient.provisionObject(Unknown Source)
            at sun.reflect.GeneratedMethodAccessor499.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(Unknown Source)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
            at weblogic.security.service.SecurityManager.runAs(Unknown Source)
            at weblogic.security.Security.runAs(Security.java:41)
            at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
            at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
            at $Proxy68.provisionObject(Unknown Source)
            at com.thortech.xl.webclient.actions.DirectProvisionUserAction.handleVerifyResource(Unknown Source)
            at com.thortech.xl.webclient.actions.DirectProvisionUserAction.goNext(Unknown Source)
            at sun.reflect.GeneratedMethodAccessor492.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
            at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(Unknown Source)
            at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source)
            at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
            at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
            at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
            at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
            at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
            at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
            at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
            at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
            at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
            at com.thortech.xl.webclient.security.CSRFFilter.doFilter(Unknown Source)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
            at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(Unknown Source)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
            at weblogic.security.service.SecurityManager.runAs(Unknown Source)
            at weblogic.servlet.internal.WebAppServletContext.securedExecute(Unknown Source)
            at weblogic.servlet.internal.WebAppServletContext.execute(Unknown Source)
            at weblogic.servlet.internal.ServletRequestImpl.run(Unknown Source)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    ERROR,15 Aug 2013 16:11:38,490,[XELLERATE.SERVER],Class/Method: tcDataObj/update Error :Data Update Failed
    ERROR,15 Aug 2013 16:11:38,492,[XELLERATE.SERVER],Class/Method: tcDataObj/save Error :Data Update Failed
    ERROR,15 Aug 2013 16:11:38,493,[XELLERATE.DATABASE],Class/Method: tcDataBase/rollbackTransaction encounter some problems: Rollback Executed From
    java.lang.Exception: Rollback Executed From
            at com.thortech.xl.dataaccess.tcDataBase.rollbackTransaction(Unknown Source)
            at com.thortech.xl.dataobj.tcDataObj.rollback(Unknown Source)
            at com.thortech.xl.dataobj.tcDataObj.doRollback(Unknown Source)
            at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
            at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
            at com.thortech.xl.dataobj.tcOIU.provision(Unknown Source)
            at com.thortech.xl.dataobj.tcOIU.eventPostInsert(Unknown Source)
            at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
            at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
            at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
            at com.thortech.xl.dataobj.tcUserProvisionObject.insertImplementation(Unknown Source)
            at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
            at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
            at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.provisionObject(Unknown Source)
            at com.thortech.xl.ejb.beans.tcUserOperationsSession.provisionObject(Unknown Source)
            at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.provisionObject(Unknown Source)
            at com.thortech.xl.ejb.beans.tcUserOperationsSession.provisionObject(Unknown Source)
            at com.thortech.xl.ejb.beans.tcUserOperations_voj9p2_EOImpl.provisionObject(tcUserOperations_voj9p2_EOImpl.java:2651)
            at Thor.API.Operations.tcUserOperationsClient.provisionObject(Unknown Source)
            at sun.reflect.GeneratedMethodAccessor499.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(Unknown Source)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
            at weblogic.security.service.SecurityManager.runAs(Unknown Source)
            at weblogic.security.Security.runAs(Security.java:41)
            at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
            at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
            at $Proxy68.provisionObject(Unknown Source)
            at com.thortech.xl.webclient.actions.DirectProvisionUserAction.handleVerifyResource(Unknown Source)
            at com.thortech.xl.webclient.actions.DirectProvisionUserAction.goNext(Unknown Source)
            at sun.reflect.GeneratedMethodAccessor492.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
            at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(Unknown Source)
            at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source)
            at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
            at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
            at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
            at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
            at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
            at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
            at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
            at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
            at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
            at com.thortech.xl.webclient.security.CSRFFilter.doFilter(Unknown Source)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
            at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(Unknown Source)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
            at weblogic.security.service.SecurityManager.runAs(Unknown Source)
            at weblogic.servlet.internal.WebAppServletContext.securedExecute(Unknown Source)
            at weblogic.servlet.internal.WebAppServletContext.execute(Unknown Source)
            at weblogic.servlet.internal.ServletRequestImpl.run(Unknown Source)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    ERROR,15 Aug 2013 16:11:38,499,[XELLERATE.SERVER],Class/Method: tcDataObj/save Error :Insertion of dataobject into database failed
    ERROR,15 Aug 2013 16:11:38,501,[XELLERATE.DATABASE],Class/Method: tcDataBase/rollbackTransaction encounter some problems: Rollback Executed From
    java.lang.Exception: Rollback Executed From
            at com.thortech.xl.dataaccess.tcDataBase.rollbackTransaction(Unknown Source)
            at com.thortech.xl.dataobj.tcDataObj.rollback(Unknown Source)
            at com.thortech.xl.dataobj.tcDataObj.doRollback(Unknown Source)
            at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
            at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
            at com.thortech.xl.dataobj.tcUserProvisionObject.insertImplementation(Unknown Source)
            at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
            at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
            at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.provisionObject(Unknown Source)
            at com.thortech.xl.ejb.beans.tcUserOperationsSession.provisionObject(Unknown Source)
            at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.provisionObject(Unknown Source)
            at com.thortech.xl.ejb.beans.tcUserOperationsSession.provisionObject(Unknown Source)
            at com.thortech.xl.ejb.beans.tcUserOperations_voj9p2_EOImpl.provisionObject(tcUserOperations_voj9p2_EOImpl.java:2651)

    Duplicate Post

  • How can I get the value of a custom property from a resource object?

    I am trying to get the value(s) of a custom property, called "status" within a method. The method has an object of type IResource available to it.
    I have tried the following:
    PropertyName propName = new PropertyName("","status");
    value = res.getProperty(propName).toString();
    However, I am getting a NullPointerException when I try to create the PropertyName instance.
    Is there a better way to get the value of a specific property from a resource object?
    Thanks,
      Tom

    Thanks Praveen.
    I was missing the default namespace of "http://sapportals.com/xmlns/cm" - I thought I could just pass an empty string for the namespace, but it looks like I must always specifiy, even if it is default.
    Tom

  • Object key mapping in KSSK table

    Hi All,
    We are facing an issue wherein SAP BW Job is failing as it is not able to pull the data for Hierachy from SAP.
    When we checked the details it seems that there is an error entry in table KSSK.
    However- the table has class type 026 and object key value.
    We are not able to figure it based on the object key that what is error entry.
    I need info to trace back how to find out the error entry based on Object key from table KSSK.

    We had found out the entry which was erroneous and removed the entry.
    Find out the object key and connection between KLAH and KSSK table and they we deleted the erroneous entry from KSSK table. We spoke to SAP in this regards and the entry was created due to reclassification by user for one article.
    The entry was deleted from Table using SE16n.

  • Error while trying to configure Resource Object in Design Console

    Hi,
    I am getting the following error while trying to update any value in Resource Object(checking/unchecking any checkbox)
    Description: Allow Multiple option cannot be changed from true to false. : Allow Multiple option cannot be changed from true to false.
    Any clue as to what is happening?

    We are on OIM 11.1.1.3 BP 6

  • Error while changing the Resource Object Status

    Hi,
    I am trying to change the resource object status from Waiting to Provisioned for a self service task. Before approval I see the Resource Object Status as " Ticket Sent To REMEDY" on the administrator's web console and at the Requestor's web console I get the following error message-
    ???en_US.global.viewProfileForm.Lookup.Ticket-Sent-to-REMEDY???
    But after approval, based on the completion the task, the process on both the consoles is set to provisioned. That is what I want to display but the problem comes when the requestors sees the error status message on its console before approval.
    Can any body tell me the reason of the above error and how to resolve it?
    Thanks in advance

    do you have any custom written event handlers getting triggered off after request submission or during approval?
    It might also be due to either a browser issue or you might have missed any entry in the xladmin properties file for a custom label/error message etc.

  • Duplicate Resource Objects  are displayed while provisioning the resource

    Duplicate Resource Objects are displayed while provisioning the resource to organization after creating a new workflow through export and import process.
    A workfolw already exists in the environment and I am trying to replicate the work flow with a different name . So i import all the components related to provisioning workflow rename the names of the components and make the necessary changes and import it back. after this I am getting Duplicate Resource Objects being displayed while provisioning the resource to organization .plz help.its urgent

    I have tried this process thrice not able to solve this problem ......unchecking allow multiple ..i don t think matters as this is provisioning to org ...n what i am telling is the list from which u select the resources to be provisioned --that list shows duplicate resource object names at a time..Each time I import an xml the number of same resource object names being displayed in the list increases ...So If I have imported three workflows then (say Resorce Object AD) appears thrice in the list. I have not given the resource objects same name in all the workflows for this to happen
    Sahana

  • Any clues on how to create a resource object to push a user object into res

    I am working on a situation where I have to push a user object via a resource object and not having assigned to the user (in other words not linked to the user).
    any ideas?
    My approach is some thing like this
    IN the "user" object I do set all the attributes required per the resource definition
    Here is the code snippet for resource object creation:
    <Action name='create services resource object' process='Provision'>
    <Argument name='op' value='createResourceObject'/>
    <Argument name='object' value='$(user)'/>
    <Argument name='objectType' value='user'/>
    <Argument name='resourceId' value='UnixUIDServices'/>
    </Action>

    I by no means want to sound belittling... so don't take me that way..
    You need to understand the basics of files, and networks. You can't check if a file exists on another machine if you don't have a network protocol to communicate with. The reason \\ works under windows is because you are using an invisible (to you) network protocol. You probably know it as windows sharing. If your file were not shared under it's own name, that method wouldn't work (I'm assuming your entire drive is shared without a password... a horrible security flaw...but one thing at a time)
    You can use FTP protocol to check if a file exists. You can either send the raw text FTP commands through a socket connection in java, or you can use a freely available FTP java API to make it a bit more simple. You could also write a small java server on the other machine, and have it tell you what you need to know with a socket connection. In this way, you have created your very own network protocol.

Maybe you are looking for

  • Is it possible to delete old backups within the Sparsebundle?

    After a MacBook disaster and an upgraded hard drive I have a TC backup three times larger than the data! ie each time Ive connected the same computer with new operating systems on Time MAchine has backed up the same data in the same Saparsebundle so

  • My MacBook Pro Unrecognised DVD Stuck in drive

    Tried all easy options to remove DVD   Drive  makes a sound on boot up then stops.

  • How do I change the I-Tunes library my IPhone is synced with?

    I have an I-phone that was happily synced with the I-Tunes library that I was using on my computer on Windows Vista. I recently upgraded my operating system to Windows 7 and once it was complete I clicked onto I-Tunes to find my library was empty and

  • Subcontracting Extra Material Return From Vendor

    Dear Sir, We have a following scenario : We had made a Subcontract Challan for a Material of quantity 50 nos . Vendor processed the Material and GR was made for 45 nos Processed Items . The 5 nos pieces are now left with the Vendor .  Vendor need to

  • Batch no in the AR Invoice

    hi Dear experts my client using SAP Business One 2007 B Patch 15 and i want to print the batch no in the AR Invoice print. How can i do this? Please help me Please Reply ASAP Regards Rajani P Patel