Resource Objects Dependency

Hi,
I have assinged the AD User in the "Depends on" tab of another resource object, RO1, for example. The user1 already has an AD User provisioned, but when the user creates a request to the RO1, OIM always add AD User as part of the order. As the user already has an AD user, it should not include it again, even when the resource allow multiple instances.
I need to make sure the user1 has at least one AD user resource when requesting the RO1.
Thanks,

Thanks your attention.
Whe the user creates a request.
The AD User is shown as a requeste resource in the Request Summary page.
Thanks

Similar Messages

  • Export OIM 11g Resource object with dependencies

    Hi All,
    I am looking for sample code that will export all OIM 11g Resource objects along with dependencies into XML format. Can somebody help?
    I am using the below code to retreive all resource objects but don't have dependencies.
    FileWriter fstream = new FileWriter("OIMResources.xml");
    BufferedWriter out = new BufferedWriter(fstream);
    tcExportOperationsIntf moExportUtility = (tcExportOperationsIntf) ioUtilityFactory
              .getUtility("Thor.API.Operations.tcExportOperationsIntf");
    Collection lstObjects = moExportUtility.findObjects(export_object, "*");
    String s = moExportUtility.getExportXML(lstObjects, "*");
    out.write(s);
    Thanks
    Mahendra.

    Hi Vladimir,
    I am using the below code snippet to do the export of Resources.
    public Boolean export() {
         Boolean result = true;
         //String export_object = Util.config.getProperty(Constants.EXPORT_PATH);
         String export_object="Resource";
         /*if (export_object != null && !export_object.endsWith(File.separator)) {
         export_object = export_object.concat(File.separator);
         //String export_object_path = export_object.concat(xmlFile);
         try {
         FileWriter fstream = new FileWriter("OIMResources.xml");
         BufferedWriter out = new BufferedWriter(fstream);
         tcExportOperationsIntf moExportUtility = (tcExportOperationsIntf) ioUtilityFactory.getUtility("Thor.API.Operations.tcExportOperationsIntf");
         Collection<RootObject> lstObjects = moExportUtility.findObjects(export_object, "*");
         System.out.println(lstObjects);
         lstObjects.addAll(moExportUtility.getDependencies(lstObjects));
         lstObjects.addAll(moExportUtility.retrieveChildren(lstObjects));
         lstObjects.addAll(moExportUtility.retrieveDependencyTree(lstObjects));
         String s = moExportUtility.getExportXML(lstObjects, "*");     
         out.write(s);
         LOG.info(Resource + " Objects are successfully exported --------------->");
         out.close();
         } catch (Exception e) {
         LOG.log(Level.SEVERE, "Exception occured while exporting OIM object - " + Resource, e);
         return result;
    I am not getting its dependent objects as I was getting through OIM Deployment manager console. If I export the details through OIM console, the file size is around 3 MB. If I exported through above java code, file size is 300 KB only.
    Please let me know if I am missing anything.
    Edited by: Mahendra K on Jun 19, 2012 10:19 AM

  • 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

  • Creation of Object Dependency (OD)

    Hi Gurus,
    Currently we have customized a program to create/update object dependencies. However we have a problem that sometimes the object dependency is deleted and not updated back. As we cannot simulate this all the time (especially during debugging) and we don't know why is it having this issue, we are looking at options to enhance the following codes.
    We are using 2 function modules CAMA_CLASS_CHAR_DEL_DEP (to delete) and CAMA_CLASS_CHAR_MAINTAIN_DEP (to create)
            CALL FUNCTION 'CAMA_CLASS_CHAR_DEL_DEP'
              EXPORTING
                CLASS                  = <FS_DEP_CHR_A>-CLASS
                CLASS_TYPE             = '300'
                CHARACTERISTIC         = <FS_DEP_CHR_A>-CHARACT
                DELETE_LOCAL_DEP       = 'X'
              IMPORTING
                RETURN                 = WA_RETURN2
              TABLES
                DEP_ASSIGN_DEL         = IT_DEP_ASSIGN_DEL.
            READ TABLE IT_RETURN INTO WA_RETURN WITH
                      KEY TYPE = 'E'.
            IF SY-SUBRC NE 0.
              CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
                EXPORTING
                  WAIT = 'X'.
            CALL FUNCTION 'CAMA_CLASS_CHAR_MAINTAIN_DEP'
              EXPORTING
                CLASS                 = <FS_DEP_CHR_A>-CLASS
                CLASS_TYPE            = '300'
                CHARACT               = <FS_DEP_CHR_A>-CHARACT
                DEPENDENCY_DATA       = WA_SEL_DEPDAT
                KEY_DATE              = SY-DATUM
              TABLES
                DESCRIPTION           = IT_SEL_DEPDESCR
                SOURCE                = IT_SEL_SOURCE
                DOCUMENTATION         = IT_SEL_DOC
              EXCEPTIONS
                ERROR                 = 1
                WARNING               = 2
                OTHERS                = 3.
            IF SY-SUBRC EQ 0.
              CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
                EXPORTING
                  WAIT = 'X'.
    Points will be rewarded for useful answers. Many thanks in advance.
    Rgds

    Mainly due locking issues. Added some logic to wait.

  • Object dependency for batch characteristic

    I have 1 class with multiple characteristics and 1 of the characteristics should be entered (mandatory) in case of a certain split valuation type (which is covered in the batch info). This should be done via object dependencies within the charateristic. Anyone knows how to do this?

    Dear Sairam
    As explaind to you in the earlier thread for product or proportion unit. you need not maintain object dependency for the characterestics. You have to maintain product unit which will appera as alternatvie UOM. While making GR the Alternate or product UOM will be seen as per the plan value(conversion factor) maintained in material master. You can change both Basic UOM and Alter UOM as per the actual caonversion recieved. This conversion factors will be saved in the batch classification.
    Regards
    MSR

  • 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

  • How to get the Purchase order Qty in the object dependency

    Hi,
    We are using variant pricing in the purchase order. I have condition type say u201CZVBPu201D for Pallet cost. I defined Pallet cost as 5 USD per each (pallet). I have to calculate Number of pallets = Purchase order Qty/ 5. The number of pallets should be rounded to nearest integer.
    My question is how to get the Purchase order Qty in the object dependency?
    Is there any reference table and field can be used to get Purchase order Qty just like we use MMCOM-VKOND for variant pricing.
    Appreciate your help
    Thanks,
    Srini

    Hi,
    1. I do not have system now so I can not conclusively tell about table field .
    2. Since I did it long back so I also do not exactly remember it, there are more than one place where PO qty appears for example Item overview and Item details - one of the PO qty when used in the characteristic do pull the PO qty which can be used for variant pricing (so request to please update the forum with the correct table and field once you find it - in the meantime if I get opportunity to get to system I will also try and find out ).

  • 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.

  • Resource object not showing while provisioning a User

    Simple task but I am not able to fix this.
    I have a dummy resource whcih I created for some testing.However I am not able to see this resource when I try to provision a user to this resource.
    Any Ideas?
    FYI:.I have checked Allow SelfService,Allow All,Alow Multiple and Autolaunch check boxes
    Thanks
    -Mahi

    I have created a simple provisioning process for this..the process defination is of type approval .In there created a new task called "Manager Approval and in assigment assigned it to user's manager.
    I have already selected the resource object in the Object Name field.
    OIMUSER007...Do I really need to create a seperate IT Resource in this case?
    Its just a simple application like eg "WATCH"..
    Actually,
    I had earlier implemented this resource with Process Deffination as *provisioning*..
    Now I wanted to implement the workflow for this..For this Since I cant delete the process deffination..what I did I assigned the earlier process deff(provisioning to some other resource object(test) and created a new process deff(Approval) for this...

  • How to delete old resource objects in OIM

    I'm working with OIM Version: 9.1.0.1866.70 and I've recently been told that we are not going to be using a certain resource object anymore.  I've looked and gone through the design console but I don't see any option for deleting an entire resource.  Is there even a way to delete a resource in OIM?  I can turn off self-requestable but our numerous provisioning admins will still have the ability to grant the defunct resource.  Is this available in a later version of OIM?

    Hi,
    This is a forum for discussion about application development in C/C++/Fortran. I think you want to raise your question in a forum about identity management. This one looks more promising:
    Identity Management
    Regards,
    Darryl.

  • API of Resource object managment - OIM 11g R2

    Hi All,
    I want to provision a resource (say 'AD User') from a post event handler (OIM 11g R2) during user creation.
    Please tell me the API to be used.
    In OIM 10g, we can use 'tcObjectOperationsIntf' interface to operate on resource objects. what API is its replace in OIM 11g R2?
    Thanks in Advance.

    Create a role and add a rule membership to that role using your custom attribute.
    Create an access policy to provision AD resource and use the role created above while creating access policy. There will be a schedule task with the name "Evaluate user access policies". Change its schedule to run for every 1 minute.
    Now, create a user who satisfies the above role membership and make sure this user got the role membership. Immediately after a minute, this new user should be provisioned to AD resource automatically.

  • 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.

Maybe you are looking for

  • Delete message from server after download.

    Hi, I'm normally use to Gmail and so haven't used an email client in years. I have a .mac account and Mail is setup to check it. At the moment, when mail downloads new mail from the server, it still leaves a copy of the email(s) on the server. Instea

  • IPod to Travel Sound?

    It says that my TravelSound speaker system can be used with an Ipod but all input needs a line in cable, which my ipod didnt come with. All I have is a firewire cable for macs and a USB...Where do i get the required line-in able so i can hook my IPod

  • This server is vulnerable to MITM attacks because it supports insecure renegotiation. Grade set to F.

    Hi Team, I am using windows server 2003 web in my office but while doing SSL test(https://www.ssllabs.com/) for  https://webxpres.tdc.dk/ getting F grade. But my client wants to set it to A. How prevent MITM attacks and upgrade the security. Regards,

  • TS3276 iPhoto email problem???

    Question: I am trying to send some photos by email from iPhoto. I get an error message: The email server didn't recognize your username/password combination. There is no option tom re-enter an email password - it is supposed to be going from my stand

  • How do i fix webpage error flashVer=12.0.0?  i've tried everything

    im trying to watch a tutorial that has little videos in it.  everytime the page tries to load it says webpage error flashVer=12.0.0.  ihave windows 8.1 with internet explorer.  my computer says i have all the latest flash player and adobe and its ins