Forall exception rollback

Hi Guys,
I have a forall statement that I want to continue processing if it hits an exception, and rollback anything it fails on. I have limits set so I am only lifting 300 records at a time, but if only one record fails in the forall, then i want the other 299 to process and commit, and only rollback that one failure..is it possible? This is using oracle 10g.
Example snippet below, the "dots" are just were I have removed unneeded code for this example. I want to know if I can add a rollback in the EXCEPTION that will rollback the forall failure for the one saved exception, and the "commit" will commit the remaining 299 that were success?
BEGIN
LOOP
FETCH cursor1
BULK COLLECT INTO table1 LIMIT 300;
IF table1.COUNT > 0
THEN
BEGIN
FORALL i IN 1 .. table1.COUNT SAVE EXCEPTIONS
END IF;
EXIT WHENtable1.COUNT = 0;
table1.DELETE;
END LOOP;
CLOSE cursor1;
COMMIT;
EXCEPTION
WHEN OTHERS
THEN
ROLLBACK;
END;
Edited by: fixxxer on 13-Oct-2011 01:36

You can not do INSERT and DELETE using same FORALL statelemt. For that you have to create seperate copy of Collection.
If you want to ROLLBACK everything thnen omit the SAVE EXCEPTION statement in FORALL.
You can gothrough below FORALL restriction...
Restrictions
The following restrictions apply to the FORALL statement:
•You cannot loop through the elements of an associative array that has a string type for the key.
•Within a FORALL loop, you cannot refer to the same collection in both the SET clause and the WHERE clause of an UPDATE statement. You might need to make a second copy of the collection and refer to the new name in the WHERE clause.
•You can use the FORALL statement only in server-side programs, not in client-side programs.
•The INSERT, UPDATE, or DELETE statement must reference at least one collection. For example, a FORALL statement that inserts a set of constant values in a loop raises an exception.
•When you specify an explicit range, all collection elements in that range must exist. If an element is missing or was deleted, you get an error.
•When you use the INDICES OF or VALUES OF clauses, all the collections referenced in the DML statement must have subscripts matching the values of the index variable. Make sure that any DELETE, EXTEND, and so on operations are applied to all the collections so that they have the same set of subscripts. If any of the collections is missing a referenced element, you get an error. If you use the SAVE EXCEPTIONS clause, this error is treated like any other error and does not stop the FORALL statement.
•You cannot refer to individual record fields within DML statements called by a FORALL statement. Instead, you can specify the entire record with the SET ROW clause in an UPDATE statement, or the VALUES clause in an INSERT statement.
•Collection subscripts must be just the index variable rather than an expression, such as i rather than i+1.
•The cursor attribute %BULK_ROWCOUNT cannot be assigned to other collections, or be passed as a parameter to subprograms.

Similar Messages

  • FORALL Exception handling problem

    Hi All,
    I have one doubt in forall exception handling. I have gone through the SAVE EXCEPTION for bulk collect but i have one more query
    BEGIN
    FORALL j IN l_tab.first .. l_tab.last
    INSERT INTO exception_test
    VALUES (l_tab(i));
    EXCEPTION
    END;
    My requirement is when an exception occurs, i ant to print the values of the collection.
    e.g. say l_tab (j).emp_number, l_tab (j).emp_id.
    How is that possible?
    Thanks
    Samarth
    Edited by: 950810 on Mar 12, 2013 7:28 PM

    >
    I have one doubt in forall exception handling. I have gone through the SAVE EXCEPTION for bulk collect but i have one more query
    BEGIN
    FORALL j IN l_tab.first .. l_tab.last
    INSERT INTO exception_test
    VALUES (l_tab(i));
    EXCEPTION
    END;
    My requirement is when an exception occurs, i ant to print the values of the collection.
    e.g. say l_tab (j).emp_number, l_tab (j).emp_id.
    How is that possible?
    >
    Post the code you are using. You didn't post the FORALL that is using SAVE EXCEPTIONS.
    The SQL%BULK_EXCEPTIONS associative array that you get has the INDEX of the collection element that caused the exception.
    So you need to use those indexes to index into the original collection to get whatever values are in it.
    One index from the exception array is:
    SQL%BULK_EXCEPTIONS(i).error_index So if your original collection is named 'myCollection' you would reference that collection value as:
    myCollection(SQL%BULK_EXCEPTIONS(i).error_index); See 'Handling FORALL Exceptions (%BULK_EXCEPTIONS Attribute)' in the PL/SQL Language doc
    http://docs.oracle.com/cd/B28359_01/appdev.111/b28370/tuning.htm#i49099
    >
    All exceptions raised during the execution are saved in the cursor attribute %BULK_EXCEPTIONS, which stores a collection of records. Each record has two fields:
    %BULK_EXCEPTIONS(i).ERROR_INDEX holds the iteration of the FORALL statement during which the exception was raised.
    %BULK_EXCEPTIONS(i).ERROR_CODE holds the corresponding Oracle Database error code.
    The values stored by %BULK_EXCEPTIONS always refer to the most recently executed FORALL statement. The number of exceptions is saved in %BULK_EXCEPTIONS.COUNT. Its subscripts range from 1 to COUNT.
    The individual error messages, or any substitution arguments, are not saved, but the error message text can looked up using ERROR_CODE with SQLERRM as shown in Example 12-9.
    You might need to work backward to determine which collection element was used in the iteration that caused an exception. For example, if you use the INDICES OF clause to process a sparse collection, you must step through the elements one by one to find the one corresponding to %BULK_EXCEPTIONS(i).ERROR_INDEX. If you use the VALUES OF clause to process a subset of elements, you must find the element in the index collection whose subscript matches %BULK_EXCEPTIONS(i).ERROR_INDEX, and then use that element's value as the subscript to find the erroneous element in the original collection.

  • Forall exception

    Hi all,
    What would heppen if forall statement fails in procedure.
    How to handle it in the exception handling section.
    Kindly help me .
    thank you
    regards
    P Prakash

    Hi friend,
    May be it is related to Collections Exception Handler Problem.Please check once using Collections Exception Handlers.
    Internally it maintain collections while inserting the data.I am not sure just try it.
    Thanks,
    Sanjeev.

  • Bulk exception error

    Hi All,
    my procedure is like this ...
    CREATE OR REPLACE PROCEDURE nested_proc
    IS
    CURSOR cur_TEMPVARRAY
    IS
    SELECT * FROM TEMPVARRAY;
    TYPE typ_TEMPVARRAY IS TABLE OF cur_TEMPVARRAY%ROWTYPE;
    r_TEMPVARRAY typ_TEMPVARRAY;
    --v_TEMPVARRAY TEMPVARRAY%rowtype;
    error_count number;
    dml_error exception;
    pragma exception_init(dml_error,-20902);
    BEGIN
    --pmytab ('inserted-1');
    -- execute immediate 'truncate table cp_tempvarray';
    OPEN cur_TEMPVARRAY;
    LOOP
    FETCH cur_TEMPVARRAY BULK COLLECT INTO r_TEMPVARRAY limit 10;
    FORALL i_tp IN r_TEMPVARRAY.FIRST .. r_TEMPVARRAY.LAST save exceptions
    -- INSERT INTO cp_tempvarray
    -- VALUES r_TEMPVARRAY (i_tp);
    INSERT INTO cp_tempvarray
    VALUES (r_TEMPVARRAY (i_tp).a,
    r_TEMPVARRAY (i_tp).b,
    r_TEMPVARRAY (i_tp).c,
    r_TEMPVARRAY (i_tp).d,
    r_TEMPVARRAY (i_tp).e,
    r_TEMPVARRAY (i_tp).f,
    r_TEMPVARRAY (i_tp).g,
    r_TEMPVARRAY (i_tp).h,
    r_TEMPVARRAY (i_tp).i,
    r_TEMPVARRAY (i_tp).j,
    r_TEMPVARRAY (i_tp).j);
    -- pmytab ('inserted1');
    EXIT WHEN cur_TEMPVARRAY%NOTFOUND;
    END LOOP;
    COMMIT;
    CLOSE cur_TEMPVARRAY;
    COMMIT;
    EXCEPTION
    WHEN DML_ERROR THEN
    error_count :=sql%bulk_exceptions.count;
    DBMS_OUTPUT.put_line('Number of failures: ' || error_count);
    for bulk_err in 1 .. error_count
    loop
    dbms_output.put_line('error' || bulk_err ||
    'array index'||sql%bulk_exceptions(bulk_err).error_index||
    'Massage'||sqlerrm(-sql%bulk_exceptions(bulk_err).error_code));
    end loop;
    END nested_proc;
    when i am executing this procedure, i am getting the below error+
    SQL> execute nested_proc;
    ERROR:
    ORA-24381: error(s) in array DML
    ORA-06512: at "VRESS.NESTED_PROC", line 18
    ORA-06512: at line 1
    can any body help me plzzz..
    Thanks,
    Krupa

    >
    ORA-06512: at "VRESS.NESTED_PROC", line 18
    >
    One or more rows of your FORALL failed and you didn't trap the exception so your code blew up.
    When bulk processing with FORALL you need to trap the bulk exception if you want processing to continue if an error is encountered with one of the records.
    You are trapping AN exception
    pragma exception_init(dml_error,-20902);but that is not the bulk exception that you need to trap. You need to trap ORA-24381.
    >
    Example 12-9 shows how you can perform a number of DML operations, without stopping if some operations encounter errors. In the example, EXCEPTION_INIT is used to associate the DML_ERRORS exception with the predefined error ORA-24381. ORA-24381 is raised if any exceptions are caught and saved after a bulk operation.
    >
    See Handling FORALL Exceptions in the PL/SQL Language Reference
    http://docs.oracle.com/cd/B28359_01/appdev.111/b28370/tuning.htm#i49099

  • Exception in Target Recon while connector development.

    i am doing connector development.i got this exception while running the Target Recon.
    14:55:17,546 ERROR [SERVER] Class/Method: tcRCE/linkToUser Error :This reconcili
    ation event is already linked.
    14:55:17,546 ERROR [SERVER] Class/Method: tcDataObj/save Error :Data Update Fail
    ed
    14:55:17,546 ERROR [DATABASE] Class/Method: tcDataBase/rollbackTransaction encou
    nter some problems: Rollback Executed From
    java.lang.Exception: Rollback Executed From
    at com.thortech.xl.dataaccess.tcDataBase.rollbackTransaction(Unknown Sou
    rce)
    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.tcRCE.finishDataReceived(Unknown Source)
    at com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages
    .finishReconciliationEvent(Unknown Source)
    at com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages
    .execute(Unknown Source)
    at com.thortech.xl.schedule.jms.messagehandler.MessageProcessUtil.proces
    sMessage(Unknown Source)
    at com.thortech.xl.schedule.jms.messagehandler.ReconMessageHandlerMDB.on
    Message(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
    at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(Mess
    ageDrivenContainer.java:495)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invo
    ke(CachedConnectionInterceptor.java:158)
    at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(Message
    DrivenInstanceInterceptor.java:116)
    at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidation
    Interceptor.java:63)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInte
    rceptor.java:121)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxIntercep
    torCMT.java:350)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:1
    81)
    at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityIn
    terceptor.java:109)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFacto
    ryFinderInterceptor.java:138)
    at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenCont
    ainer.java:402)
    at org.jboss.ejb.Container.invoke(Container.java:960)
    at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvo
    ker.java:1092)
    at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onM
    essage(JMSContainerInvoker.java:1392)
    at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:26
    6)
    at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMess
    ageConsumer.java:906)
    at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:17
    0)
    at org.jboss.mq.SpySession.run(SpySession.java:323)
    at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExec
    utor.java:761)
    at java.lang.Thread.run(Thread.java:662)
    14:55:17,593 ERROR [JMS] An error occurred while processing the off lined reconc
    iliation events
    14:55:17,593 ERROR [JMS] Processing Reconciliation Message with ID 2964 failed.
    Edited by: anu on Nov 3, 2011 12:02 PM

    Have you written your won connector or are you using OOTB connector ?
    It seems that it is trying to process the event again.
    If you are using OOTB connector then enable logging for AD connector and paste the logs.
    If you are using Custom connector then recheck your code.

  • Undeclared application exceptions

    I'm using BEA WebLogic 8.1 as my EJB container, and I'm seeing some unexpected behavior. One of our session beans has a method that declares that it throws an ApplicationException. (Our ApplicationException extends from Exception, but not RuntimeException.) However in the remote interface, the same method does not declare that it throws this exception. I expected EJBC to kick up an error, but it was able to compile this bean just fine. Deploying it also worked without complaint.
    I wrote a test client to call this bean and forced it into a situation where it had to throw an ApplicationException. What the client got was the ApplicationException wrapped in a RemoteException, which is the behavior you would expect for system exceptions. When I changed the remote interface to declare ApplicationException and reran the client, I got back the unwrapped ApplicationException. Is this expected for WebLogic? It violates the EJB spec as I understand it. Do they document it anywhere? Does the container act as if it had really caught a system exception, i.e. log the exception, rollback the transaction, and kill the bean?

    An application exception should extend java.lang.Exception.An application exception does not extend java.lang.RuntimeException or java.rmi.RemoteException.
    Paul Bennett wrote:
    I'm throwing application exceptions in ejbStore() to reflect failure of the store operation due to violation of a unique constraint in the database. Apparently these get wrapped and returned in a weblogic.transaction.RolledBackException. I tried to import the latter, but it is not found, even though my compiler classpath includes weblogic.jar. Also, I'd prefer to do this without using a vendor-specific exception. For example, it's no problem when doing the same thing in ejbCreate to extract the nested application exception out of the RemoteException. Any ideas for ejbStore appreciated!

  • 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

  • Update a large record set

    I have to refresh the data in a table (say, table_reference_data) with the data in a view (say, view_master_data) which is on a remote database accessible via database link. The data for few columns in "table_reference_data" has to be refreshed from 2 local tables (say, table_x, table_y).
    What I mean by refresh is insert new records, delete non-existent records and update existing records. All primary keys are in "view_master_data". I have to refresh about 1/2 a million records on an average. This has to be done once a day as a nightly job. This is the only means by which "table_reference_data" is updated. Everywhere else it is only read.
    "table_reference_data" has 3 indexes and one unique key constraint. There are no referential integrity constraints.
    At the moment this is done as follows using a PL/SQL procedure:
    1. create synonym for "view_master_data" (the remote view).
    2. bulk collect data for all columns by JOINing "view_master_data", "table_x" and "table_y".
    3. delete all records in "table_reference_data" (I have to use yesterday's data if today's refresh fails hence not using truncate).
    4. bulk insert data in to "table_reference_data" from the collections in step 2.
    5. if exception rollback, else commit.
    This job takes 10 minutes to run.
    I have 2 questions now...
    1. Does deleting 1/2 million records cause a huge amount of logging in Oracle? Is it a downside? If so what are the alternatives...
    2. When the above stored proc is invoked from a shell script I get the below error randomly.
    ERROR at line 1:
    ORA-03113: end-of-file on communication channel
    Is there any workaround for this? Database version is Oracle 8.1.6 Enterprise Ed. Has it got to do with using collections? (i.e. type tbl_my_col is table of varchar2(6)) In the shell script it is invoked as below:
    echo "set serveroutput on\n execute my_pkg.my_proc()\n" | sqlplus ora_user/ora_password >> $log_file
    Thanks in advance.

    Is there any workaround for this? Database version is Oracle 8.1.6 Enterprise Ed. ORA-3113 is one of those generic error messages which Oracle use when something unexpected happens (see also ORA-600 and ORA-7445). If you're lucky there will be some additional information in the alert log or in a trace file in the background dump dest directory.
    Sometimes there's a workaround, sometimes there's a patch. Given that you're on 8.1.6, which has been OoS for some time now, neither option is likely to be forthcoming from Oracle.
    having re-read your decription of the process I am a bit puzzled as to why you're using this complicated hand-rolled process instead of a snapshot (materialized view)?
    Cheers, APC

  • Error while converting document to html

    "ORA-06502: PL/SQL: numeric or value error: invalid LOB locator specified: ORA-22275"
    I use the procedure to convert the documents if it is not already converted before using procedure as follows
    PROCEDURE "STARDOC"."HTMLOUTPUT" (
    "DOCID" IN NUMBER) IS
    mklob clob;
    doccount number;
    errorcode number;
    errormessage varchar2(200);
    BEGIN -- executable part starts here
    SELECT COUNT(document_id) INTO doccount FROM docviewhtml where document_id=docid;
    --dbms_output.put_line(doccount);
    if doccount=0 then
         dbms_output.put_line('Document Not Found: Converting '||docid);
         --If document is not found run document coversion routine
         ctx_doc.filter('idxdocuments',docid, mklob,FALSE);
         INSERT INTO docviewhtml(document_id, html) VALUES (docid, mklob);
         COMMIT;
    elsif doccount=1 then
         --return;
         dbms_output.put_line('Document Found');
         --if document id found then return the document content
         null;
    else
         --dbms_output.put_line('Error occured');
         --need to deal with duplicate documents
         null;
    end if;
    dbms_lob.freetemporary(mklob);
    EXCEPTION
    --rollback when an exception occurs
         WHEN OTHERS THEN
              errorcode:=SQLCODE;
              errormessage:=SQLERRM;     
              dbms_output.put_line(sqlcode || ':' ||sqlerrm);
              ROLLBACK;
              LOGERROR(errorcode,errormessage);
    END "HTMLOUTPUT";
    i get the error when i convert large documents
    "ORA-06502: PL/SQL: numeric or value error: invalid LOB locator specified: ORA-22275"
    Also if there are any converion errors while converting documents to html. how to find them is there a log o fany sort.
    what is wrong. please help!
    Message was edited by:
    connect2sandeep

    You free your temporary lob, but never create it.

  • While updating user Details I am gettingsome error

    Hi ,
    While updating the user details from OIM server(OIM 9102 BP12) I am getting following error.Same is working properly on BP02.Can anybody help me to find out what is the root cause of this problem?
    - I am trying to ceare a user through PSFT test utility, and getting following error.Same error is coming when we are creating user from
    OIM server console.
    Running GETROGUEACCOUNTSAMACCOUNTNAME
    Target Class = com.thortech.xl.utilities.rogueAccountDetect
    $$$ Rogue Account Detect $$$
    The reconType query is: select obj_name from obj where obj_key=(select obj_key from rce where rce_key=38784)
    $$$ Recon Object is: Xellerate User
    $$$ wrong recon type for rogue account detect
    tcDeptCodeChanged Running
    Nr Name Value
    0) Lookup Name Department SiteCode Mapping
    1) From Field USR_UDF_DEPARTMENT_ID
    2) To Field USR_UDF_SITECODE
    3) Debug YES
    4) SMTP Server 10.53.12.18
    5) Email To [email protected]
    6) Email From [email protected]
    7) Trigger Field USR_UDF_SITECODE
    8) Disable Resource RACF,RACF IMS_TMCC (AutoProvision)
    9) ID Field UD_RACF_ID,UD_IMSB_ID
    10) Resource Object RACF IMS_TMCC (AutoProvision)
    11) RO Form UD_RACFUSRO
    12) Field 01 Name UD_RACFUSRO_CREATE_IND
    13) Field 01 Value RACF_CREATE
    14) Field 02 Name UD_RACFUSRO_USER_TYPE
    15) Field 02 Value IMS_TMCC
    16) Translate Email Def Department Code Lookup Error
    17) RBAC Job Codes List RBAC Job Codes
    18) RBAC Departments List RBAC Departments
    19) Job Code Field USR_UDF_JOB_CODE
    SMTP Server : 10.53.12.18
    Email To : [email protected]
    Email From : [email protected]
    Lookup Name : Department SiteCode Mapping
    From Field : USR_UDF_DEPARTMENT_ID
    Translate Email Def : Department Code Lookup Error
    To Field : USR_UDF_SITECODE
    t c D e p t C o d e C h a n g e d
    User: ()
    Old Department Code:
    New Department Code: 064010
    G E T U S E R R E S O U R C E
    This is a create
    More than one User Record Found, most likely a create
    Number of Users: 12843
    G E T L O O K U P D E F I N I T I O N S
    Lookup rows: 210
    Nr Name Value
    E V A L U A T E F I E L D D A T A
    *ACT:  :
    *OLD:  :
    *NEW: 064010 : 014
    OLD VALUE NOT FOUND IN LOOKUP!
    U P D A T E S I T E C O D E F I E L D
    Running MANAGERSEARCHCONDITIONS
    Target Class = com.thortech.xl.util.adapters.tcUtilHashTableOperations
    Running FINDMANAGER
    Running GETMANAGERCOUNT
    Running GETMANAGERKEY
    Running GENUNIQID
    Target Class = com.thortech.xl.utils.tcUserData
    <TMS 101> Flag:<Both> Checking for user in AD: khanz at server: <10.49.61.101>
    <TFS 185> Flag :<Both> Checking for user in AD: khanz at server:<10.49.61.101>
    Running CREATEGETUSERMAP
    Target Class = com.thortech.xl.util.adapters.tcUtilHashTableOperations
    Running GETUSER
    Running Create Update User Map
    Running Update Update User Map
    Running UPDATEUSER
    tcDeptCodeChanged Running
    Nr Name Value
    0) Lookup Name Department SiteCode Mapping
    1) From Field USR_UDF_DEPARTMENT_ID
    2) To Field USR_UDF_SITECODE
    3) Debug YES
    4) SMTP Server 10.53.12.18
    5) Email To [email protected]
    6) Email From [email protected]
    7) Trigger Field USR_UDF_SITECODE
    8) Disable Resource RACF,RACF IMS_TMCC (AutoProvision)
    9) ID Field UD_RACF_ID,UD_IMSB_ID
    10) Resource Object RACF IMS_TMCC (AutoProvision)
    11) RO Form UD_RACFUSRO
    12) Field 01 Name UD_RACFUSRO_CREATE_IND
    13) Field 01 Value RACF_CREATE
    14) Field 02 Name UD_RACFUSRO_USER_TYPE
    15) Field 02 Value IMS_TMCC
    16) Translate Email Def Department Code Lookup Error
    17) RBAC Job Codes List RBAC Job Codes
    18) RBAC Departments List RBAC Departments
    19) Job Code Field USR_UDF_JOB_CODE
    SMTP Server : 10.53.12.18
    Email To : [email protected]
    Email From : [email protected]
    Lookup Name : Department SiteCode Mapping
    From Field : USR_UDF_DEPARTMENT_ID
    Translate Email Def : Department Code Lookup Error
    To Field : USR_UDF_SITECODE
    tcDeptCodeChanged: new and old field value is same, returning
    tcJobCodeStatusChanged Running
    0) Trigger Field USR_UDF_JOB_CODE
    1) Debug YES
    2) Request Key Resource AD User
    3) Request Key Field UD_ADUSER_REVOKE_REQ_KEY
    4) RACF B User ID Field UD_ADUSER_B_USERID
    5) RACF T User ID Field UD_ADUSER_T_USERID
    6) RACF I User ID Field UD_ADUSER_I_USERID
    7) RACF B Resources RACF IMS_TMCC (AutoProvision)
    8) RACF I Resources RACF IMS_TMIS (AutoProvision)
    9) RACF T Resources RACF TSO_TMCC_NP (AutoProvision),RACF TSO_TMIS_NP (AutoProvision)
    10) Common Resources Lotus Notes,LAN,Internet,Stars,Focus
    11) Exclusion List Lookup.Object Exclusion List
    12) Other Delete Resources Lookup.Other Delete Resources
    13) RBAC Job Codes List RBAC Job Codes
    14) RBAC Departments List RBAC Departments
    Trigger Field : USR_UDF_JOB_CODE
    newFieldValue 99O109 oldFieldValue 99O109
    terminationFlag 0 oldTerminationFlag 0
    processFlag N
    tcJobCodeStatusChanged: new and old field value is same, returning
    ERROR,28 Dec 2010 05:49:05,199,[XELLERATE.SERVER],Class/Method: tcDataObj/eventPostUpdate encounter some problems: com.thortech.xl.dataobj.util.tcProvPolicyUtils
    java.lang.InstantiationError: com.thortech.xl.dataobj.util.tcProvPolicyUtils
    at com.thortech.xl.client.events.tcUSRevaluatePolicies.evaluatePolicies(Unknown Source)
    at com.thortech.xl.client.events.tcUSRevaluatePolicies.implementation(Unknown Source)
    at com.thortech.xl.client.events.tcBaseEvent.run(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.runEvent(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.eventPostUpdate(Unknown Source)
    at com.thortech.xl.dataobj.tcUSR.eventPostUpdate(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.ejb.beansimpl.tcUserOperationsBean.updateUserData(Unknown Source)
    at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.updateUser(Unknown Source)
    at com.thortech.xl.ejb.beans.tcUserOperationsSession.updateUser(Unknown Source)
    at com.thortech.xl.ejb.beans.tcUserOperations_voj9p2_EOImpl.updateUser(tcUserOperations_voj9p2_EOImpl.java:1995)
    at Thor.API.Operations.tcUserOperationsClient.updateUser(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(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 $Proxy61.updateUser(Unknown Source)
    at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpSETBOOLEANVALUES.UPDATEUSER(adpSETBOOLEANVALUES.java:271)
    at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpSETBOOLEANVALUES.implementation(adpSETBOOLEANVALUES.java:89)
    at com.thortech.xl.client.events.tcBaseEvent.run(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.runEvent(Unknown Source)
    at com.thortech.xl.dataobj.tcScheduleItem.runMilestoneEvent(Unknown Source)
    at com.thortech.xl.dataobj.tcScheduleItem.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.tcORC.insertNonConditionalMilestones(Unknown Source)
    at com.thortech.xl.dataobj.tcORC.completeSystemValidationMilestone(Unknown Source)
    at com.thortech.xl.dataobj.tcORC.postInsertSysVal(Unknown Source)
    at com.thortech.xl.dataobj.tcORC.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.util.tcOrderPackages.createProcessORC(Unknown Source)
    at com.thortech.xl.dataobj.util.tcOrderPackages.createOrder(Unknown Source)
    at com.thortech.xl.dataobj.util.tcOrderPackages.createOrder(Unknown Source)
    at com.thortech.xl.dataobj.util.tcOrderPackages.orderPackageForOrganization(Unknown Source)
    at com.thortech.xl.dataobj.tcOIO.provision(Unknown Source)
    at com.thortech.xl.dataobj.tcOIO.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.tcOrgProvisionObject.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.dataobj.tcUSR.orderUserProcess(Unknown Source)
    at com.thortech.xl.dataobj.tcUSR.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.tcRCE.createUserRecord(Unknown Source)
    at com.thortech.xl.dataobj.tcRCE.applyActionRules(Unknown Source)
    at com.thortech.xl.dataobj.tcRCE.checkDataSorted(Unknown Source)
    at com.thortech.xl.dataobj.tcRCE.eventPostUpdate(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.tcRCE.finishDataReceived(Unknown Source)
    at com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages.finishReconciliationEvent(Unknown Source)
    at com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages.execute(Unknown Source)
    at com.thortech.xl.schedule.jms.messagehandler.MessageProcessUtil.processMessage(Unknown Source)
    at com.thortech.xl.schedule.jms.messagehandler.ReconMessageHandlerMDB.onMessage(Unknown Source)
    at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
    at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
    at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4547)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:4233)
    at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3709)
    at weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
    at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5058)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    ERROR,28 Dec 2010 05:49:05,207,[XELLERATE.SERVER],Class/Method: tcDataObj/save Error :Data Update Failed
    ERROR,28 Dec 2010 05:49:05,210,[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.ejb.beansimpl.tcUserOperationsBean.updateUserData(Unknown Source)
    at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.updateUser(Unknown Source)
    at com.thortech.xl.ejb.beans.tcUserOperationsSession.updateUser(Unknown Source)
    at com.thortech.xl.ejb.beans.tcUserOperations_voj9p2_EOImpl.updateUser(tcUserOperations_voj9p2_EOImpl.java:1995)
    at Thor.API.Operations.tcUserOperationsClient.updateUser(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(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 $Proxy61.updateUser(Unknown Source)
    at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpSETBOOLEANVALUES.UPDATEUSER(adpSETBOOLEANVALUES.java:271)
    at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpSETBOOLEANVALUES.implementation(adpSETBOOLEANVALUES.java:89)
    at com.thortech.xl.client.events.tcBaseEvent.run(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.runEvent(Unknown Source)
    at com.thortech.xl.dataobj.tcScheduleItem.runMilestoneEvent(Unknown Source)
    at com.thortech.xl.dataobj.tcScheduleItem.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.tcORC.insertNonConditionalMilestones(Unknown Source)
    at com.thortech.xl.dataobj.tcORC.completeSystemValidationMilestone(Unknown Source)
    at com.thortech.xl.dataobj.tcORC.postInsertSysVal(Unknown Source)
    at com.thortech.xl.dataobj.tcORC.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.util.tcOrderPackages.createProcessORC(Unknown Source)
    at com.thortech.xl.dataobj.util.tcOrderPackages.createOrder(Unknown Source)
    at com.thortech.xl.dataobj.util.tcOrderPackages.createOrder(Unknown Source)
    at com.thortech.xl.dataobj.util.tcOrderPackages.orderPackageForOrganization(Unknown Source)
    at com.thortech.xl.dataobj.tcOIO.provision(Unknown Source)
    at com.thortech.xl.dataobj.tcOIO.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.tcOrgProvisionObject.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.dataobj.tcUSR.orderUserProcess(Unknown Source)
    at com.thortech.xl.dataobj.tcUSR.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.tcRCE.createUserRecord(Unknown Source)
    at com.thortech.xl.dataobj.tcRCE.applyActionRules(Unknown Source)
    at com.thortech.xl.dataobj.tcRCE.checkDataSorted(Unknown Source)
    at com.thortech.xl.dataobj.tcRCE.eventPostUpdate(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.tcRCE.finishDataReceived(Unknown Source)
    at com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages.finishReconciliationEvent(Unknown Source)
    at com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages.execute(Unknown Source)
    at com.thortech.xl.schedule.jms.messagehandler.MessageProcessUtil.processMessage(Unknown Source)
    at com.thortech.xl.schedule.jms.messagehandler.ReconMessageHandlerMDB.onMessage(Unknown Source)
    at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
    at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
    at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4547)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:4233)
    at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3709)
    at weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
    at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5058)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    Search on metalink for the following error to see lots of documents related to this error and the specific solution.
    [XELLERATE.SERVER],Class/Method: tcDataObj/eventPostUpdate encounter some problems: com.thortech.xl.dataobj.util.tcProvPolicyUtils
    java.lang.InstantiationError: com.thortech.xl.dataobj.util.tcProvPolicyUtils

  • Error when cloning a AD connector (cannot insert NULL into ("OIMUSER"."OIU"

    I am getting below error when trying to clone AD connector (new resource). I Imported/Exported AD resource Object, Process form and the dependent lookup tables.
    I can see the new resource object, process definition, process forms and Recon rule, when i tried provision a the new resource i see this error in logs.
    DEBUG,23 Dec 2010 02:34:45,788,[XELLERATE.DDM.IMPORT], Importing ProcessAdministrator(XMLCREATED)
    DEBUG,23 Dec 2010 02:34:45,788,[XELLERATE.DDM.IMPORT], Object is being created
    DEBUG,23 Dec 2010 02:34:45,788,[XELLERATE.DDM.IMPORT], Creating data object
    DEBUG,23 Dec 2010 02:34:45,788,[XELLERATE.DDM.IMPORT],Creating data object with params: com.thortech.xl.dataobj.tcDataBase@14d388c,41,null,[B@9355bd
    DEBUG,23 Dec 2010 02:34:45,803,[XELLERATE.DDM.IMPORT], Resolving dependency to {UserGroup=SYSTEM ADMINISTRATORS}
    DEBUG,23 Dec 2010 02:34:45,803,[XELLERATE.DDM.IMPORT], Dependency resolved with key: 1
    DEBUG,23 Dec 2010 02:34:45,803,[XELLERATE.DDM.IMPORT], Saving data object
    INFO,23 Dec 2010 02:34:46,256,[XELLERATE.DDM.STATS],Purging 6 prepared statements
    ERROR,23 Dec 2010 02:35:52,663,[XELLERATE.DATABASE],Class/Method: tcDataBase/writeStatement encounter some problems: ORA-01400: cannot insert NULL into ("OIMUSER"."OIU"."OST_KEY")
    java.sql.SQLIntegrityConstraintViolationException: ORA-01400: cannot insert NULL into ("OIMUSER"."OIU"."OST_KEY")
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:85)
         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.insertImplementation(Unknown Source)
    Please let me know if you have any idea..
    Thanks..
    Edited by: IDMuser19 on Dec 29, 2010 2:21 PM

    After Setting Database to DEBUG mode i see below errors in the log
    DEBUG,27 Dec 2010 16:26:44,850,[XELLERATE.DATABASE],select ost_launch_dependent, ost_key, ost_status from ost ost, obi obi where ost.obj_key=obi.obj_key and obi.obi_key=181
    INFO,27 Dec 2010 16:26:44,865,[XELLERATE.DATABASE],DB read: select upp_deny_list from upp,usr where usr.usr_key=upp.usr_key and usr.usr_key=21
    DEBUG,27 Dec 2010 16:26:44,865,[XELLERATE.DATABASE],select upp_deny_list from upp,usr where usr.usr_key=upp.usr_key and usr.usr_key=21
    INFO,27 Dec 2010 16:26:44,865,[XELLERATE.DATABASE],DB read: select pol_key, obi.obj_key from rqo,obi where rqo.obi_key = obi.obi_key and obi.obi_key = 181
    DEBUG,27 Dec 2010 16:26:44,865,[XELLERATE.DATABASE],select pol_key, obi.obj_key from rqo,obi where rqo.obi_key = obi.obi_key and obi.obi_key = 181
    INFO,27 Dec 2010 16:26:44,881,[XELLERATE.DATABASE],DB read: select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcOIU' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_pre_insert_sequence>0 order by dvt.dvt_pre_insert_sequence
    DEBUG,27 Dec 2010 16:26:44,881,[XELLERATE.DATABASE],select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcOIU' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_pre_insert_sequence>0 order by dvt.dvt_pre_insert_sequence
    DEBUG,27 Dec 2010 16:26:44,881,[XELLERATE.DATABASE],insert into oiu (OIU_KEY, OBI_KEY, USR_KEY, OIU_SERVICEACCOUNT, OIU_CREATE, OIU_CREATEBY, OIU_UPDATE, OIU_UPDATEBY, oiu_rowver) values (?, ?, ?, ?, ?, ?, ?, ?, ?)
    DEBUG,27 Dec 2010 16:26:44,881,[XELLERATE.DATABASE],select OIU_seq.nextval from dual
    ERROR,27 Dec 2010 16:26:44,928,[XELLERATE.DATABASE],Class/Method: tcDataBase/writeStatement encounter some problems: ORA-01400: cannot insert NULL into ("OIMUSER"."OIU"."OST_KEY")
    java.sql.SQLIntegrityConstraintViolationException: ORA-01400: cannot insert NULL into ("OIMUSER"."OIU"."OST_KEY")
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:85)
         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 weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    INFO,27 Dec 2010 16:26:44,990,[XELLERATE.DATABASE],DB read: select err_key, err_code, err_desc, err_rowver, err_remedy, err_count, err_last_occurance, err_action, err_help_url, err_severity from err where err_code='DOBJ.INSERT_FAILED'
    DEBUG,27 Dec 2010 16:26:44,990,[XELLERATE.DATABASE],select err_key, err_code, err_desc, err_rowver, err_remedy, err_count, err_last_occurance, err_action, err_help_url, err_severity from err where err_code='DOBJ.INSERT_FAILED'
    ERROR,27 Dec 2010 16:26:45,006,[XELLERATE.SERVER],Class/Method: tcDataObj/save Error :Insertion of dataobject into database failed
    INFO,27 Dec 2010 16:26:45,006,[XELLERATE.DATABASE],DB read: select err_key, err_code, err_desc, err_rowver, err_remedy, err_count, err_last_occurance, err_action, err_help_url, err_severity from err where err_code='DOBJ.INSERT_FAILED'
    DEBUG,27 Dec 2010 16:26:45,006,[XELLERATE.DATABASE],select err_key, err_code, err_desc, err_rowver, err_remedy, err_count, err_last_occurance, err_action, err_help_url, err_severity from err where err_code='DOBJ.INSERT_FAILED'
    ERROR,27 Dec 2010 16:26:45,006,[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)
    Thanks .... Please reply if you have any idea..

  • OIM: Error while updating Task Attributes

    Hi All,
    I am trying to use PeopleSoft User Management using OIM connector.
    I am facing an error saying "problem in updating Task Attributes" while scheduling a task on OIM design Console. I am trying to update and save PSFT Base Non Trusted User Reconciliation. following is the log message displayed in server command prompt.
    ERROR,11 Apr 2008 05:02:53,287,[XELLERATE.SERVER],Class/Method: tcTSA/eventPostU
    pdate encounter some problems: problem in updating Task Attributes
    com.thortech.xl.scheduler.exception.SchedulerGenericException: problem in updati
    ng Task Attributes
    at com.thortech.xl.scheduler.core.quartz.QuartzSchedulerImpl.updateTaskA
    ttributes(Unknown Source)
    at com.thortech.xl.scheduler.ejb.SchedulerControllerBean.updateTaskAttri
    butes(Unknown Source)
    at com.thortech.xl.scheduler.beans.SchedulerControllerSession.updateTask
    Attributes(Unknown Source)
    at com.thortech.xl.scheduler.beans.SchedulerController_z4f4d2_EOImpl.upd
    ateTaskAttributes(SchedulerController_z4f4d2_EOImpl.java:478)
    at com.thortech.xl.scheduler.beans.SchedulerController_z4f4d2_EOImpl_CBV
    .updateTaskAttributes(Unknown Source)
    at com.thortech.xl.dataobj.tcTSA.eventPostUpdate(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.ejb.databeansimpl.tcDataObjectBase.save(Unknown Sourc
    e)
    at com.thortech.xl.ejb.beans.tcTSA_u3xmy2_EOImpl.save(tcTSA_u3xmy2_EOImp
    l.java:1437)
    at com.thortech.xl.ejb.beans.tcTSA_u3xmy2_EOImpl_WLSkel.invoke(Unknown S
    ource)
    at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(Activata
    bleServerRef.java:90)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:434)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    147)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
    a:429)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
    .java:35)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    Caused by [Nested Exception]:
    java.lang.NullPointerException
    at com.thortech.xl.scheduler.core.quartz.QuartzSchedulerImpl.updateTaskA
    ttributes(Unknown Source)
    at com.thortech.xl.scheduler.ejb.SchedulerControllerBean.updateTaskAttri
    butes(Unknown Source)
    at com.thortech.xl.scheduler.beans.SchedulerControllerSession.updateTask
    Attributes(Unknown Source)
    at com.thortech.xl.scheduler.beans.SchedulerController_z4f4d2_EOImpl.upd
    ateTaskAttributes(SchedulerController_z4f4d2_EOImpl.java:478)
    at com.thortech.xl.scheduler.beans.SchedulerController_z4f4d2_EOImpl_CBV
    .updateTaskAttributes(Unknown Source)
    at com.thortech.xl.dataobj.tcTSA.eventPostUpdate(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.ejb.databeansimpl.tcDataObjectBase.save(Unknown Sourc
    e)
    at com.thortech.xl.ejb.beans.tcTSA_u3xmy2_EOImpl.save(tcTSA_u3xmy2_EOImp
    l.java:1437)
    at com.thortech.xl.ejb.beans.tcTSA_u3xmy2_EOImpl_WLSkel.invoke(Unknown S
    ource)
    at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(Activata
    bleServerRef.java:90)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:434)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    147)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
    a:429)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
    .java:35)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    ERROR,11 Apr 2008 05:02:53,287,[XELLERATE.SERVER],Class/Method: tcDataObj/save E
    rror :Data Update Failed
    ERROR,11 Apr 2008 05:02:53,302,[XELLERATE.DATABASE],Class/Method: tcDataBase/rol
    lbackTransaction encounter some problems: Rollback Executed From
    java.lang.Exception: Rollback Executed From
    at com.thortech.xl.dataaccess.tcDataBase.rollbackTransaction(Unknown Sou
    rce)
    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.ejb.databeansimpl.tcDataObjectBase.save(Unknown Sourc
    e)
    at com.thortech.xl.ejb.beans.tcTSA_u3xmy2_EOImpl.save(tcTSA_u3xmy2_EOImp
    l.java:1437)
    at com.thortech.xl.ejb.beans.tcTSA_u3xmy2_EOImpl_WLSkel.invoke(Unknown S
    ource)
    at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(Activata
    bleServerRef.java:90)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:434)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    147)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
    a:429)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
    .java:35)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    I am facing above error when try to update any task in the task scheduler.
    Can anyone please suggest me where i am going wrong?
    Thanks,
    Uma.

    I would assume you are missing the jar file for your scheduled tasks. Try and create a new scheduled task with the same class name, if it won't let you save, this is your answer. You'll want to make sure you have the connector scheduled task file in the ScheduleTask folder in your OIM directory.
    -Kevin

  • Error while updating AD attributes-OIM 11G

    Hello All,
    I changed the expiration date value in user table and the associated change task is propagating the change to AD User process form, BUT the Account Expiration Updated task failed and it throws the below error.
    Similarly for all the attributes this is happening, any change made in xellerate user form is forwarded to process form but the associated Update task is failing and the attribute is not updated in AD.
    Thanks.
    Regards,
    ~VSN
    Running Set User Expiration Date
    <Oct 26, 2011 4:18:54 PM EDT> <Error> <XELLERATE.DATABASE> <BEA-000000> <Error: Error Keyword: DAE.UNKNOWN_CODE
    Description: An unknown error code was passed.
    Remedy: Contact your system adminstrator.
    Action: E
    Severity: C
    Help URL:
    Detail:
    >
    <Oct 26, 2011 4:18:54 PM EDT> <Error> <XELLERATE.SERVER> <BEA-000000> <Class/Method: tcUserProvisionObject/checkAllowMultiple Error : OBJ doesnot allow miltiple.This object cannot be provisioned multiple times>
    <Oct 26, 2011 4:18:54 PM EDT> <Error> <XELLERATE.SERVER> <BEA-000000> <Class/Method: tcDataObj/save Error :Insertion of dataobject into database failed>
    <Oct 26, 2011 4:18:54 PM EDT> <Error> <XELLERATE.DATABASE> <BEA-000000> <Class/Method: tcDataBase/rollbackTransaction encounter some problems: Rollback Executed From
    java.lang.Exception: Rollback Executed From
    at com.thortech.xl.dataaccess.tcDataBase.rollbackTransaction(tcDataBase.java:578)
    at com.thortech.xl.dataobj.tcDataObj.rollback(tcDataObj.java:904)
    at com.thortech.xl.dataobj.tcDataObj.doRollback(tcDataObj.java:867)
    at com.thortech.xl.dataobj.tcDataObj.save(tcDataObj.java:538)
    at oracle.iam.accesspolicy.impl.handlers.provisioning.ProvisionAccountActionHandler.execute(ProvisionAccountActionHandler.java:104)
    at oracle.iam.accesspolicy.impl.handlers.provisioning.ProvisionAccountActionHandler.execute(ProvisionAccountActionHandler.java:35)
    at sun.reflect.GeneratedMethodAccessor1444.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:600)
    at oracle.iam.platform.kernel.impl.EventHandlerDynamicProxy.invoke(EventHandlerDynamicProxy.java:30)
    at $Proxy276.execute(Unknown Source)
    at oracle.iam.platform.kernel.impl.OrchProcessData.runActionEvents(OrchProcessData.java:1035)
    at oracle.iam.platform.kernel.impl.OrchProcessData.runEvents(OrchProcessData.java:644)
    at oracle.iam.platform.kernel.impl.OrchProcessData.executeEvents(OrchProcessData.java:227)
    at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.resumeProcess(OrchestrationEngineImpl.java:669)
    at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.resumeChildProcess(OrchestrationEngineImpl.java:751)
    at oracle.iam.platform.kernel.impl.OrchProcessData.handleAdditionalChanges(OrchProcessData.java:537)
    at oracle.iam.platform.kernel.impl.OrchProcessData.runEvents(OrchProcessData.java:802)
    at oracle.iam.platform.kernel.impl.OrchProcessData.executeEvents(OrchProcessData.java:227)
    at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.resumeProcess(OrchestrationEngineImpl.java:674)
    at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.resumeProcess(OrchestrationEngineImpl.java:705)
    at oracle.iam.platform.kernel.impl.OrhestrationAsyncTask.execute(OrhestrationAsyncTask.java:108)
    at oracle.iam.platform.async.impl.TaskExecutor.executeUnmanagedTask(TaskExecutor.java:100)
    at oracle.iam.platform.async.impl.TaskExecutor.execute(TaskExecutor.java:70)
    at oracle.iam.platform.async.messaging.MessageReceiver.onMessage(MessageReceiver.java:68)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:600)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:102)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy473.onMessage(Unknown Source)
    at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
    at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
    at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)
    at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3821)
    at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)
    at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5170)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    >
    <Oct 26, 2011 4:18:54 PM EDT> <Error> <oracle.iam.accesspolicy.impl.handlers.provisioning> <IAM-4030308> <An error occurred in oracle.iam.accesspolicy.impl.handlers.provisioning.ProvisionAccountActionHandler while provisioning resource 3,759 to user 28 and the cause of error is DAE.UNKNOWN_CODE: C: An unknown error code was passed. : This object cannot be provisioned multiple times.>

    tcUserProvisionObject/checkAllowMultiple Error : OBJ doesnot allow miltiple.This object cannot be provisioned multiple times>
    the cause of error is DAE.UNKNOWN_CODE: C: An unknown error code was passed. : This object cannot be provisioned multiple times.The error points that you are trying to provision multiple instance of a resource while you have NOT selected "Allow Multiple" option in Resource Object configuration.

  • Oracle Identity Manger 9.1.0 Recon not working

    I created a database connector using the generic technology connector, and tried to do reconciliation using the auto created scheduled task.
    But on reconciliation it gives the following error:
    java.lang.NullPointerException
    at com.thortech.xl.dataobj.util.tcAttributeSource.getAttrColumnName(Unknown
    Source)
    at com.thortech.xl.dataobj.tcRCE.createUserRecord(Unknown Source)
    at com.thortech.xl.dataobj.tcRCE.applyActionRules(Unknown Source)
    at com.thortech.xl.dataobj.tcRCE.checkDataSorted(Unknown Source)
    I have already tried this : https://metalink.oracle.com/metalink/plsql/f?p=130:14:6550648944033092167::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,461523.1,1,1,1,helvetica
    which says to
    If "User Type" and "Employee Role" are defined in the reconciliation field mappings for the "Xellerate User" process definition, then they should be updated and changed to "Xellerate Type" and "Role" respectively. The incorrect mappings may be easily corrected through the OIM Design Console (java client) using the following instructions:
    1. Query for the process definition of Xellerate User
    2. Go to Reconciliation Field Mappings tab
    3. Look for fields that are mapped to User Type and Employee Role.
    Note: If no fields are mapped to User Type and Employee Role, then nothing needs to be done. Stop here.
    4. Double click on the field that needs to be remapped and select the correct user attribute as follows
    a. Replace ‘User Type’ with ‘Xellerate Type’
    b. Replace ‘Employee Role’ with ‘Role’
    Note: If the mappings are already set to “Xellerate Type” and “Role”, then the mappings are already correct; no further action is required.
    My Configuration :
    OS for App server is Windows 2003 SP2 [ 5.2.3790 ]
    App Server type/version: Jboss 403SP1 [4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1date=200510231751)]
    No clustering
    DB Type/Version : Oracle 10.2.0
    OIM Connector pack 9041 [ MD5/filename: 8eb9eeb3a4357cd4b06d8ece318a2df1/as_oim_connector_pack_9041.zip ]
    OIM Version/Build Number: 9.1.0.1849.0
    JDK Version : Java version: 1.6.0_03,Sun Microsystems Inc.
    Java VM: Java HotSpot(TM) Client VM 1.6.0_03-b05,Sun Microsystems Inc.
    What can be the problem ?

    Here is the full log
    java.lang.NullPointerException
    at com.thortech.xl.dataobj.util.tcAttributeSource.getAttrColumnName(Unknown Source)
    at com.thortech.xl.dataobj.tcRCE.createUserRecord(Unknown Source)
    at com.thortech.xl.dataobj.tcRCE.applyActionRules(Unknown Source)
    at com.thortech.xl.dataobj.tcRCE.checkDataSorted(Unknown Source)
    at com.thortech.xl.dataobj.tcRCE.eventPostUpdate(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.tcRCE.finishDataReceived(Unknown Source)
    at com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages.finishReconciliationEvent(Unknown Source)
    at com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages.execute(Unknown Source)
    at com.thortech.xl.schedule.jms.messagehandler.MessageProcessUtil.processMessage(Unknown Source)
    at com.thortech.xl.schedule.jms.messagehandler.ReconMessageHandlerMDB.onMessage(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
    at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:475)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:149)
    at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:101)
    at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:106)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166)
    at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:94)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
    at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:389)
    at org.jboss.ejb.Container.invoke(Container.java:873)
    at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:1077)
    at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1379)
    at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:256)
    at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:904)
    at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:160)
    at org.jboss.mq.SpySession.run(SpySession.java:333)
    at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:180)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
    at java.lang.Thread.run(Thread.java:619)
    11:39:37,656 INFO [STDOUT] 11:39:37,656 INFO [DATABASE] DB read: select err_key, err_code, err_desc, err_rowver, err_remedy, err_count, err_last_occurance, err_action, err_help_url, err_severity from err where err_code='DOBJ.GEN_ERROR'
    11:39:37,656 INFO [STDOUT] 11:39:37,656 INFO [PERFORMANCE] Query: DB: 0, LOAD: 0, TOTAL: 0
    11:39:37,656 INFO [STDOUT] 11:39:37,656 INFO [DATABASE] DB read: select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcRCE' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence
    11:39:37,687 INFO [STDOUT] 11:39:37,687 INFO [PERFORMANCE] Query: DB: 16, LOAD: 0, TOTAL: 16
    11:39:37,687 INFO [STDOUT] 11:39:37,687 ERROR [SERVER] Class/Method: tcDataObj/save Error :Data Update Failed
    11:39:37,687 INFO [STDOUT] 11:39:37,687 INFO [DATABASE] DB read: select err_key, err_code, err_desc, err_rowver, err_remedy, err_count, err_last_occurance, err_action, err_help_url, err_severity from err where err_code='DOBJ.UPDATE_FAILED'
    11:39:37,703 INFO [STDOUT] 11:39:37,703 INFO [PERFORMANCE] Query: DB: 0, LOAD: 0, TOTAL: 0
    11:39:37,703 INFO [STDOUT] 11:39:37,703 ERROR [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.tcRCE.finishDataReceived(Unknown Source)
    at com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages.finishReconciliationEvent(Unknown Source)
    at com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages.execute(Unknown Source)
    at com.thortech.xl.schedule.jms.messagehandler.MessageProcessUtil.processMessage(Unknown Source)
    at com.thortech.xl.schedule.jms.messagehandler.ReconMessageHandlerMDB.onMessage(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
    at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:475)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:149)
    at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:101)
    at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:106)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166)
    at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:94)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
    at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:389)
    at org.jboss.ejb.Container.invoke(Container.java:873)
    at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:1077)
    at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1379)
    at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:256)
    at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:904)
    at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:160)
    at org.jboss.mq.SpySession.run(SpySession.java:333)
    at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:180)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
    at java.lang.Thread.run(Thread.java:619)
    11:39:37,765 INFO [STDOUT] 11:39:37,765 INFO [DATABASE] Class/Method: tcDataBase/setTransaction: ##########setTransaction getting called from: #######
    11:39:37,781 INFO [STDOUT] 11:39:37,781 ERROR [JMS] An error occurred while processing the off lined reconciliation events
    11:39:37,781 INFO [STDOUT] 11:39:37,781 INFO [PERFORMANCE] Message Process: com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages : 1906
    11:39:37,781 INFO [STDOUT] 11:39:37,781 ERROR [JMS] Processing Reconciliation Message with ID 81 failed.

  • OIM: Invalid LookupQuery when trying to save

    OIM: 11g (11.1.1.5.2)
    When trying to create a form field, of type LookupField, I am entering the following Lookup Query property value:
    select UD_ADGRP.UD_ADGRP_OBJECTGUID,UD_ADGRP.UD_ADGRP_DISPLAYNAME,UD_ADGRP.UD_ADGRP_DESC from UD_ADGRP,OIU,OBJ,OST where UD_ADGRP.ORC_KEY=OIU.ORC_KEY and oiu.ost_key=ost.ost_key and ost.obj_key=obj.obj_key and ost.ost_status in ('Provisioned', 'Enabled') and upper(obj.obj_name) = upper('AD Group');
    When trying to save, I get
    "Invalid Property Value was specified. Insert Failed"
    My console log show:
    java.sql.SQLSyntaxErrorException: ORA-00911: invalid character
    However, running the above query directly via JDeveloper brings back the proper information.
    Any idea what the invalid character might be?
    Thank you.

    Thank you Kevin, that was it. ( I should have seen that before posting)
    However, now when trying to add the 'Lookup Column Name' and 'Column Names' properties, the same error is being thrown.
    I am setting:
    Lookup Column Name to be: UD_ADGRP_OBJECTGUID
    and it is throwing the errors:
    <Mar 5, 2012 6:54:00 PM EST> <Error> <XELLERATE.SERVER> <BEA-000000> <Class/Method: tcSDP/isPropertyValid Error :Sdp Property value is invalid .>
    <Mar 5, 2012 6:54:00 PM EST> <Error> <XELLERATE.SERVER> <BEA-000000> <Class/Method: tcDataObj/save Error :Insertion of dataobject into database failed>
    <Mar 5, 2012 6:54:00 PM EST> <Error> <XELLERATE.DATABASE> <BEA-000000> <Class/Method: tcDataBase/rollbackTransaction encounter some problems: Rollback Executed From
    java.lang.Exception: Rollback Executed From
         at com.thortech.xl.dataaccess.tcDataBase.rollbackTransaction(tcDataBase.java:578)
    (The same error happens trying to set 'Column Names' value.
    I would like to be able to key on the OBJECTGUID attribute because I want to use it in a process task. I don't want to have to lookup it later. ie: I have a child table trigger that is executing, and the task adapter that I have assigned is needing the GUID as input.
    Thank you.

Maybe you are looking for

  • Change Customer Reconciliation Account

    I need some assistance in verifying the steps for changing Recon account for a group of customers. Scenario.  We have a group of customers (about 60) who have postings to them.  Some of the posting are open and some are cleared.  We need to change th

  • How to set a new value for an element inside an XML file....

    Hi guys...! I'm using Java to process an XML file and I want to able to make changes to the document. For instance, let say: <firstName> John </firstName> and I want to change the content or value of the element "firstName" to "Marc" <firstName>Marc<

  • Connect Mac OS 10.6 to canon ip3600 shared on windows XP home

    I am trying to connect my Mac OS 10.6 to a canon ip3600 printer shared on windows XP home. I have read dozens of posts on this topic and tried dozens of solutions. Although the Mac will identify the printer and apparently connect, when I print nothin

  • SEVERE, MAJOR Problems with ITunes Video Playback on 64-bit Win7

    So I got a new rig (ASUS G74SX running 64-bit Win7 Home Prem) after I figured my nearly 5-year old HP Pav dv9500t running 32-bit Vista Home Prem had put in good years of work.  In using ITunes on the Vista system, I never really saw problems with its

  • Trying to get the New Rascal Flatts Album....

    I have been trying to get the new Rascal Flatts Album (Unstoppable) using the complete my album feature. I bought the four singles from the countdown to the album thing. When I go to my "Complete My Albums" page, it doesn't show up there. I went to t