Update Sql Error

Hi
I tried to update a document but keep getting this error " java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Syntax error in
UPDATE statement." I checked my update statements for any missing " or ' but everything seem ok.Anyone know what will be the likely reason behind this?? Thanks in advance
DocMgr mgr = new DocMgr();
int modDoc = mgr.modDoc("2","John","test","300803","file.txt","3","this is a test");
[DocMgr.java]
public int modDoc(String docNo , String name , String title , String date , String path , String docType,String comment)
System.out.println("entering modDoc");
try{
long res = db.UpdateSQL(doc.updateDocument(docNo , name , title , date , path ,docType ,comment));
System.out.println("Change rs value is"+""+res);
return (int)(res);
}catch(Exception e){System.out.println(e);}
return -1;
[Document.java]
doc = new Documents();
public String updateDocument(String docNo , String name , String title , String date , String path , String docType ,String comment)
String updateString= " UPDATE Document SET "+ "Name= '"+name+"', "+ "Title= '"+title+"', Date = '"+date+"', Path= '" +path+"' , DocumentType= '"+docType+"' , Comment='"+comment+"' WHERE DocNo ='" + docNo + "'";
return updateString;

String updateString= "UPDATE Document SET Name= '"+name+"', Title= '" + title + "', Date = '" + date + "', Path= '" + path + "', DocumentType= '" + docType + "' , Comment='" + comment + "' WHERE DocNo ='" + docNo + "'";
System.out.println("--------------- SQL follows ----------------");
System.out.println(updateString);
System.out.println("--------------- SQL end ----------------");
Look at the output, maybe copy & paste to a query tool to check it. My money is on the date not being formatted correctly for the database.

Similar Messages

  • Sender jdbc  update sql error

    hello friend ,
    my xi-content scenario is oracle -> xi ->sapr/3
    i am getting erro message in adapter monitor as following 
    Sender Adapter v0915 for Party '', Service 'oracle':
    Configured at 04:26:46 2006-04-03
    Last message processing started 05:17:12 2006-04-03
    Error: SQLException during update 'TEST': java.sql.SQLException: ORA-00900: invalid SQL statement
      last retry interval started 05:17:12 2006-04-03
      length 60,000 secs
    but update sql query  is running fine on DB. still i am getting invalid SQL statement .
    no message in sxmb_moni.
    how should i check my jdbc adapter is running fine if it fine then what is error .
    thanks friends.
    amit ranjan

    Amit,
    You are using a sender JDBC adapter. There are 2 SQL querries you write in a sender adapter(JDBC).
    1. Select querry which selects the fields and fetch it to your XI server.
    2. Update SQL. This is a crucial one coz you can not process same set of rows again and again. So you may want to maintain a flag. This happens here.
    In your case update SQL querry does not seem to work.
    Check it.
    For more help post us the 2 querries(select & update).
    Look into this link for info on config of sender JDBC adapter
    http://help.sap.com/saphelp_nw2004s/helpdata/en/ae/d03341771b4c0de10000000a1550b0/frameset.htm
    <i>(P.S: Reward replies that are helpful)</i>
    Regards,
    Jai Shankar.

  • CRM 2015 Update 0.1 Install Fails with SQL Error

    Hi, anyone managed to install CRM 2015 Update 0.1?
    The software installed fine but the DB updates fail with a SQL error. Just want to know if this is just my issue or if MS have a bug in the update. This is the SQL error:
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Data.SqlClient.SqlException: The current transaction cannot be committed and cannot support operations that write to the log file. Roll
    back the transaction.
    Uncommittable transaction is detected at the end of the batch. The transaction is rolled back.
    All of the ORGs fail with this error, even when I try to apply the DB update via Deployment manager. I've had to back out the rollup.

    The issue appears when the update process creates the index cndx_BusinessDataLocalizedLabel. This is a known cause which is under investigation internally. Currently it seems to plan to release in CRM 2015 SP1

  • Native SQL Update statement error when more than one field used

    Hi, I would make it simple. I update directly to a SQL server.
    1-
    When I update only one field works.
    LOOP AT IT_MAT.
    EXEC SQL.
    UPDATE Articulos SET PrecioSinImp = :IT_MAT-PRECIOSINIMP        WHERE Modelo = :IT_MAT-MODELO
    ENDEXEC.
    ENDLOOP.
    This give me sy-subrc = 0
    When I Try to update several fields doesnt works, any would can help me ?.
    LOOP AT IT_MAT.
    EXEC SQL.
      UPDATE Articulos SET PrecioSinImp = :IT_MAT-PRECIOSINIMP
                           Descripcion = :IT_MAT-DESCRIPCION
      WHERE Modelo = :IT_MAT-MODELO
    ENDEXEC.
    ENDLOOP.
    This give me dump SQL error 170.
    2- BTW, I have to leave this report program in a job so the data would be updated once a day in a job, so I have to update the existing data and add new one.
    I Was thinking doing something like this.
    LOOP AT it_table.
    UPDATE DQL TABLE
    IF sy-subrc <> 0.
    INSERT DQL TABLE
    ENDIF.
    ENDLOOP.
    This may works ??? because if this not work, I have to select single each one of the data in the SQL table, if it was founded UPDATE otherwise INSERT. And I dont like this aproach.
    Thx

    Hi Rodrigo,
    I feel that your requirement is as below:
    Depending on the criteria in the where clause, check whether the record exists or not.. If it does, then update the record with new values, else, create a new record..
    You can do the same as below:
    LOOP AT it_mat INTO e_mat. (e_mat of same structure as it_mat)
    MOVE : xxx TO e_mat-yyy... and so on (Only change the non-key values)
    MODIFY dbtable FROM e_mat.
    ENDLOOP.
    This code will create a new record if a record with the given key values in e_mat is not found, else, it will update the existing record with the new non-key values in the structure e_mat.
    Thanks and Best Regards,
    Vikas Bittera.
    <b><REMOVED BY MODERATOR></b>
    Message was edited by:
            Alvaro Tejada Galindo

  • ERROR: Updatable SQL Query already exists on page 20.

    Hello,
    I created a tabular form, then added a where clause and started getting the following error:
    Error in mru internal routine: ORA-20001: no data found in tabular form
    So I deleted all components of the tabular form (region, buttons, branches and process) and started building it again from scratch. This is a strategy that has worked for me a number of times in HTML DB. Unfortunately now I get the following error when trying to build a new tabular form:
    Updatable SQL Query already exists on page 20.You can only add one updatable SQL query per page. Select a different page.
    What is the logic that throws this error. I'm 99% convinced I've cleared the page of any updatable SQL, is there something on the application level I should also clear out?
    Thanks!

    Ignore this, problem solved. It seems I do have SQL reports that are marked as updatable even though they are just plain reports.
    Sorry.

  • Update statistic error "BR0301E SQL error -904 at location ..."

    How do I fix this error in when running update statistics in DB13?
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    BR0886E Checking/collecting statistics failed for index SAPEWD./BIC/DZEW_C0055~01
    BR0280I BRCONNECT thread 2: time stamp: 2007-08-10 07.24.29
    BR0850I 6 of 87 objects processed - 0.051 of 0.745 units done
    BR0204I Percentage done: 6.90%, estimated end time: 7:24
    BR0001I ***_______________________________________________
    BR0280I BRCONNECT thread 2: time stamp: 2007-08-10 07.24.29
    BR0301E SQL error -904 at location stats_ind_collect-2
    ORA-00904: : invalid identifier
    ORA-06512: at "SYS.DBMS_STATS", line 8426
    ORA-06512: at "SYS.DBMS_STATS", line 8446
    ORA-06512: at line 1
    BR0886E Checking/collecting statistics failed for index SAPEWD./BIC/DZEW_C0056~0
    BR0280I BRCONNECT thread 2: time stamp: 2007-08-10 07.24.29
    BR0301E SQL error -904 at location stats_ind_collect-2
    ORA-00904: : invalid identifier
    ORA-06512: at "SYS.DBMS_STATS", line 8426
    ORA-06512: at "SYS.DBMS_STATS", line 8446
    ORA-06512: at line 1
    BR0886E Checking/collecting statistics failed for index SAPEWD./BIC/DZEW_C0056~01
    BR0280I BRCONNECT thread 2: time stamp: 2007-08-10 07.24.29
    BR0301E SQL error -904 at location stats_ind_collect-2
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Hi,
    with 9.2.0.7 there is a bug with dbms_stats you should then apply the note
    Note 898244 - ORA-904 with the DBMS_STATS package
    you have to install the patch 4627335 or patchset 9.2.0.8 and run @?/rdbms/admin/prvtstat.plb afterwhile
    Thanks

  • Update statistics - BR301E SQL error -1031 at location stats_tab_collect-3

    Hi,
    I'm having this error when update statistics is run:
    +BR301E SQL error -1031 at location stats_tab_collect-3+
    +ORA-01031: insufficient privileges+
    +ORA-06512: at "SYS.DBMS_STATS", line 10301+
    +ORA-06512: at "SYS.DBMS_STATS", line 10315+
    +ORA-06512: at line 1+
    The SAP was using the analyze table and I have changed to use DBMS_STATS. And now is returning this error.
    Any Idea ?
    Many Thanks.

    Hi Rui,
    Take a look at "Note 351163 - Creating ORACLE DB statistics using DBMS_STATS".
    Best regards,
    Orkun Gedik

  • Sql error updated portlet definition

    I get the following errors in the console when I start the server. I wonder if the pointbase database is not updated with portlets and respective attributes. Perhaps, this is the reason why I dont see the all the portlets in the streaming mode. But when I run the portal from workshop, it runs fine. What should I do to make it properly update pointbase?
    javax.ejb.EJBException: SQL Error while trying to update portlet defin
    ition: SQL [update PF_PORTLET_DEFINITION set MARKUP_DEFINITION_ID = ?,
    IS_FORKABLE = ?, CONTENT_URI = ?, BACKING_FILE = ?, IS_PUBLIC = ?, PO
    RTLET_LABEL = ?, FORK_RENDER = ?, IS_CACHEABLE = ?, CACHE_EXPIRES = ?,
    PORTLET_FILE = ?, IS_PORTLET_FILE_DELETED = ?, HELP_URI = ?, EDIT_URI
    = ?, WEBAPP_NAME = ? where PORTLET_DEFINITION_ID = ?] merged portletD
    efinition [
    PortletDefinition::
    PortletDefinitionId = 2098
    LocalizationResource:
    IntersectionId: 2182
    title = InformationRequestController
    description = null
    type = PORTLET
    application = PORTAL
    LocalizationLocale:
    localizationLocaleId = [2001]
    locale = [en_US]
    encoding = [UTF-8]
    markupDefinitionId = 2183
    contentUri = /InformationRequest/InformationRequestController.jpf
    backingFile = null
    definitionLabel = portlet_10
    forkable = false
    public = true
    renderCacheable = false
    cacheExpires = -1
    forkRender = false
    portletFile = /InformationRequest/InformationRequestController.portl
    et
    deleted = false
    helpUri = null
    editUri = null
    webAppName = JediCRP
    PortletInstance:
    portletInstanceId = 2098
    LocalizationResource:
    IntersectionId: 2182
    title = InformationRequestController
    description = null
    type = PORTLET
    application = PORTAL
    LocalizationLocale:
    localizationLocaleId = [2001]
    locale = [en_US]
    encoding = [UTF-8]
    instanceLabel = null
    themeDefinitionId = null
    titlebarOrientation = 0
    defaultMinimized = false
    placementId = null
    parentPortletId = null
    instanceType = 1] database error code [25,222] SQL state [22028].; n
    ested exception is: java.sql.SQLException: Data exception -- row alrea
    dy exist in index AX1_PORTLET_DEF on table PF_PORTLET_DEFINITION.
    at com.bea.netuix.application.manager.persistence.jdbc.Portlet
    DefinitionDelegate.updatePortletDefinitionInternal(PortletDefinitionDe
    legate.java:1310)
    at com.bea.netuix.application.manager.persistence.jdbc.Portlet
    DefinitionDelegate.updatePortletDefinition(PortletDefinitionDelegate.j
    ava:842)
    at com.bea.netuix.application.manager.persistence.jdbc.Portlet
    DefinitionManagerImpl.updatePortletDefinition(PortletDefinitionManager
    Impl.java:485)
    at com.bea.netuix.application.manager.persistence.jdbc.Portlet
    DefinitionManager_410kn4_EOImpl.updatePortletDefinition(PortletDefinit
    ionManager_410kn4_EOImpl.java:378)
    at com.bea.netuix.servlets.repository.PortletFilePersistenceMa
    nager.updatePortletDefinitionInternal(PortletFilePersistenceManager.ja
    va:476)
    at com.bea.netuix.servlets.repository.PortletFilePersistenceMa
    nager.updatePortletDefinition(PortletFilePersistenceManager.java:401)
    at com.bea.netuix.servlets.repository.PortletFilePersistenceMa
    nager.createUpdatePortletDefinitions(PortletFilePersistenceManager.jav
    a:332)
    at com.bea.netuix.servlets.repository.PortletFilePersistenceMa
    nager.sync(PortletFilePersistenceManager.java:849)
    at com.bea.netuix.servlets.repository.AbstractFilePersistenceM
    anager$Sync.run(AbstractFilePersistenceManager.java:281)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Au
    thenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityMan
    ager.java:144)
    at com.bea.netuix.servlets.repository.AbstractFilePersistenceM
    anager.startup(AbstractFilePersistenceManager.java:115)
    at com.bea.netuix.servlets.manager.PortalServlet$PersistenceMa
    nagerWorker.execute(PortalServlet.java:335)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:21
    9)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    ; nested exception is:
    javax.ejb.EJBException: SQL Error while trying to update portl
    et definition: SQL [update PF_PORTLET_DEFINITION set MARKUP_DEFINITION
    _ID = ?, IS_FORKABLE = ?, CONTENT_URI = ?, BACKING_FILE = ?, IS_PUBLIC
    = ?, PORTLET_LABEL = ?, FORK_RENDER = ?, IS_CACHEABLE = ?, CACHE_EXPI
    RES = ?, PORTLET_FILE = ?, IS_PORTLET_FILE_DELETED = ?, HELP_URI = ?,
    EDIT_URI = ?, WEBAPP_NAME = ? where PORTLET_DEFINITION_ID = ?] merged
    portletDefinition [
    PortletDefinition::
    PortletDefinitionId = 2098
    LocalizationResource:
    IntersectionId: 2182
    title = InformationRequestController
    description = null
    type = PORTLET
    application = PORTAL
    LocalizationLocale:
    localizationLocaleId = [2001]
    locale = [en_US]
    encoding = [UTF-8]
    markupDefinitionId = 2183
    contentUri = /InformationRequest/InformationRequestController.jpf
    backingFile = null
    definitionLabel = portlet_10
    forkable = false
    public = true
    renderCacheable = false
    cacheExpires = -1
    forkRender = false
    portletFile = /InformationRequest/InformationRequestController.portl
    et
    deleted = false
    helpUri = null
    editUri = null
    webAppName = JediCRP
    PortletInstance:
    portletInstanceId = 2098
    LocalizationResource:
    IntersectionId: 2182
    title = InformationRequestController
    description = null
    type = PORTLET
    application = PORTAL
    LocalizationLocale:
    localizationLocaleId = [2001]
    locale = [en_US]
    encoding = [UTF-8]
    instanceLabel = null
    themeDefinitionId = null
    titlebarOrientation = 0
    defaultMinimized = false
    placementId = null
    parentPortletId = null
    instanceType = 1] database error code [25,222] SQL state [22028].; n
    ested exception is: java.sql.SQLException: Data exception -- row alrea
    dy exist in index AX1_PORTLET_DEF on table PF_PORTLET_DEFINITION.
    at weblogic.ejb20.internal.EJBRuntimeUtils.throwTransactionRol
    ledback(EJBRuntimeUtils.java:202)
    at weblogic.ejb20.internal.BaseEJBHome.handleSystemException(B
    aseEJBHome.java:326)
    at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObj
    ect.java:263)
    at weblogic.ejb20.internal.StatelessEJBObject.postInvoke(State
    lessEJBObject.java:140)
    at com.bea.netuix.application.manager.persistence.jdbc.Portlet
    DefinitionManager_410kn4_EOImpl.updatePortletDefinition(PortletDefinit
    ionManager_410kn4_EOImpl.java:388)
    at com.bea.netuix.servlets.repository.PortletFilePersistenceMa
    nager.updatePortletDefinitionInternal(PortletFilePersistenceManager.ja
    va:476)
    at com.bea.netuix.servlets.repository.PortletFilePersistenceMa
    nager.updatePortletDefinition(PortletFilePersistenceManager.java:401)
    at com.bea.netuix.servlets.repository.PortletFilePersistenceMa
    nager.createUpdatePortletDefinitions(PortletFilePersistenceManager.jav
    a:332)
    at com.bea.netuix.servlets.repository.PortletFilePersistenceMa
    nager.sync(PortletFilePersistenceManager.java:849)
    at com.bea.netuix.servlets.repository.AbstractFilePersistenceM
    anager$Sync.run(AbstractFilePersistenceManager.java:281)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Au
    thenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityMan
    ager.java:144)
    at com.bea.netuix.servlets.repository.AbstractFilePersistenceM
    anager.startup(AbstractFilePersistenceManager.java:115)
    at com.bea.netuix.servlets.manager.PortalServlet$PersistenceMa
    nagerWorker.execute(PortalServlet.java:335)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:21
    9)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: javax.ejb.EJBException: SQL Error while trying to update po
    rtlet definition: SQL [update PF_PORTLET_DEFINITION set MARKUP_DEFINIT
    ION_ID = ?, IS_FORKABLE = ?, CONTENT_URI = ?, BACKING_FILE = ?, IS_PUB
    LIC = ?, PORTLET_LABEL = ?, FORK_RENDER = ?, IS_CACHEABLE = ?, CACHE_E
    XPIRES = ?, PORTLET_FILE = ?, IS_PORTLET_FILE_DELETED = ?, HELP_URI =
    ?, EDIT_URI = ?, WEBAPP_NAME = ? where PORTLET_DEFINITION_ID = ?] merg
    ed portletDefinition [
    PortletDefinition::
    PortletDefinitionId = 2098
    LocalizationResource:
    IntersectionId: 2182
    title = InformationRequestController
    description = null
    type = PORTLET
    application = PORTAL
    LocalizationLocale:
    localizationLocaleId = [2001]
    locale = [en_US]
    encoding = [UTF-8]
    markupDefinitionId = 2183
    contentUri = /InformationRequest/InformationRequestController.jpf
    backingFile = null
    definitionLabel = portlet_10
    forkable = false
    public = true
    renderCacheable = false
    cacheExpires = -1
    forkRender = false
    portletFile = /InformationRequest/InformationRequestController.portl
    et
    deleted = false
    helpUri = null
    editUri = null
    webAppName = JediCRP
    PortletInstance:
    portletInstanceId = 2098
    LocalizationResource:
    IntersectionId: 2182
    title = InformationRequestController
    description = null
    type = PORTLET
    application = PORTAL
    LocalizationLocale:
    localizationLocaleId = [2001]
    locale = [en_US]
    encoding = [UTF-8]
    instanceLabel = null
    themeDefinitionId = null
    titlebarOrientation = 0
    defaultMinimized = false
    placementId = null
    parentPortletId = null
    instanceType = 1] database error code [25,222] SQL state [22028].; n
    ested exception is: java.sql.SQLException: Data exception -- row alrea
    dy exist in index AX1_PORTLET_DEF on table PF_PORTLET_DEFINITION.
    at com.bea.netuix.application.manager.persistence.jdbc.Portlet
    DefinitionDelegate.updatePortletDefinitionInternal(PortletDefinitionDe
    legate.java:1310)
    at com.bea.netuix.application.manager.persistence.jdbc.Portlet
    DefinitionDelegate.updatePortletDefinition(PortletDefinitionDelegate.j
    ava:842)
    at com.bea.netuix.application.manager.persistence.jdbc.Portlet
    DefinitionManagerImpl.updatePortletDefinition(PortletDefinitionManager
    Impl.java:485)
    at com.bea.netuix.application.manager.persistence.jdbc.Portlet
    DefinitionManager_410kn4_EOImpl.updatePortletDefinition(PortletDefinit
    ionManager_410kn4_EOImpl.java:378)
    ... 11 more
    >
    <Jan 31, 2005 4:30:32 PM EST> <Error> <netuix> <BEA-420062> <One or mo
    re validation error(s) occurred during parsing /Search/JobCart/JobCart
    Controller.portlet. The error(s) were Parser Error...
    org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'port
    letRefresh' is not allowed to appear in element 'netuix:pageflowConten
    t'.
    .>
    <Jan 31, 2005 4:30:32 PM EST> <Error> <netuix> <BEA-420072> <Unsupport
    ed portlet file found at /Search/JobCart/JobCartController.portlet.>
    <Jan 31, 2005 4:30:32 PM EST> <Error> <netuix> <BEA-420047> <Exception
    [javax.transaction.TransactionRolledbackException: EJB Exception: : j
    avax.ejb.EJBException: SQL Error while trying to update portlet defini
    tion: SQL [update PF_PORTLET_DEFINITION set MARKUP_DEFINITION_ID = ?,
    IS_FORKABLE = ?, CONTENT_URI = ?, BACKING_FILE = ?, IS_PUBLIC = ?, POR
    TLET_LABEL = ?, FORK_RENDER = ?, IS_CACHEABLE = ?, CACHE_EXPIRES = ?,
    PORTLET_FILE = ?, IS_PORTLET_FILE_DELETED = ?, HELP_URI = ?, EDIT_URI
    = ?, WEBAPP_NAME = ? where PORTLET_DEFINITION_ID = ?] merged portletDe
    finition [
    PortletDefinition::
    PortletDefinitionId = 8001
    LocalizationResource:
    IntersectionId: 10001
    title = JobSearchController
    description = null
    type = PORTLET
    application = PORTAL
    LocalizationLocale:
    localizationLocaleId = [2001]
    locale = [en_US]
    encoding = [UTF-8]
    markupDefinitionId = 46003
    contentUri = /Search/JobSearch/JobSearchController.jpf
    backingFile = null
    definitionLabel = portlet_5
    forkable = false
    public = true
    renderCacheable = false
    cacheExpires = -1
    forkRender = false
    portletFile = /Search/JobSearch/JobSearchController.portlet
    deleted = false
    helpUri = /Search/JobSearch/Help.jsp
    editUri = null
    webAppName = JediCRP
    PortletInstance:
    portletInstanceId = 8001
    LocalizationResource:
    IntersectionId: 10001
    title = JobSearchController
    description = null
    type = PORTLET
    application = PORTAL
    LocalizationLocale:
    localizationLocaleId = [2001]
    locale = [en_US]
    encoding = [UTF-8]
    instanceLabel = null
    themeDefinitionId = null
    titlebarOrientation = 0
    defaultMinimized = false
    placementId = null
    parentPortletId = null
    instanceType = 1] database error code [25,222] SQL state [22028].; n
    ested exception is: java.sql.SQLException: Data exception -- row alrea
    dy exist in index AX1_PORTLET_DEF on table PF_PORTLET_DEFINITION.
    java.sql.SQLException: Data exception -- row already exist in index AX
    1_PORTLET_DEF on table PF_PORTLET_DEFINITION.
    at com.pointbase.net.netJDBCPrimitives.handleResponse(Unknown
    Source)
    at com.pointbase.net.netJDBCPrimitives.handlePrimitiveResponse
    (Unknown Source)
    at com.pointbase.net.netJDBCPreparedStatement.executeUpdate(Un
    known Source)
    at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(Prepa
    redStatement.java:115)
    at com.bea.netuix.application.manager.persistence.jdbc.Portlet
    DefinitionDelegate.updatePortletDefinitionInternal(PortletDefinitionDe
    legate.java:1289)
    at com.bea.netuix.application.manager.persistence.jdbc.Portlet
    DefinitionDelegate.updatePortletDefinition(PortletDefinitionDelegate.j
    ava:842)
    at com.bea.netuix.application.manager.persistence.jdbc.Portlet
    DefinitionManagerImpl.updatePortletDefinition(PortletDefinitionManager
    Impl.java:485)
    at com.bea.netuix.application.manager.persistence.jdbc.Portlet
    DefinitionManager_410kn4_EOImpl.updatePortletDefinition(PortletDefinit
    ionManager_410kn4_EOImpl.java:378)
    at com.bea.netuix.servlets.repository.PortletFilePersistenceMa
    nager.updatePortletDefinitionInternal(PortletFilePersistenceManager.ja
    va:476)
    at com.bea.netuix.servlets.repository.PortletFilePersistenceMa
    nager.updatePortletDefinition(PortletFilePersistenceManager.java:401)
    at com.bea.netuix.servlets.repository.PortletFilePersistenceMa
    nager.createUpdatePortletDefinitions(PortletFilePersistenceManager.jav
    a:332)
    at com.bea.netuix.servlets.repository.PortletFilePersistenceMa
    nager.sync(PortletFilePersistenceManager.java:849)
    at com.bea.netuix.servlets.repository.AbstractFilePersistenceM
    anager$Sync.run(AbstractFilePersistenceManager.java:281)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Au
    thenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityMan
    ager.java:144)
    at com.bea.netuix.servlets.repository.AbstractFilePersistenceM
    anager.startup(AbstractFilePersistenceManager.java:115)
    at com.bea.netuix.servlets.manager.PortalServlet$PersistenceMa
    nagerWorker.execute(PortalServlet.java:335)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:21
    9)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    javax.ejb.EJBException: SQL Error while trying to update portlet defin
    ition: SQL [update PF_PORTLET_DEFINITION set MARKUP_DEFINITION_ID = ?,
    IS_FORKABLE = ?, CONTENT_URI = ?, BACKING_FILE = ?, IS_PUBLIC = ?, PO
    RTLET_LABEL = ?, FORK_RENDER = ?, IS_CACHEABLE = ?, CACHE_EXPIRES = ?,
    PORTLET_FILE = ?, IS_PORTLET_FILE_DELETED = ?, HELP_URI = ?, EDIT_URI
    = ?, WEBAPP_NAME = ? where PORTLET_DEFINITION_ID = ?] merged portletD
    efinition [
    PortletDefinition::
    PortletDefinitionId = 8001
    LocalizationResource:
    IntersectionId: 10001
    title = JobSearchController
    description = null
    type = PORTLET
    application = PORTAL
    LocalizationLocale:
    localizationLocaleId = [2001]
    locale = [en_US]
    encoding = [UTF-8]
    markupDefinitionId = 46003
    contentUri = /Search/JobSearch/JobSearchController.jpf
    backingFile = null
    definitionLabel = portlet_5
    forkable = false
    public = true
    renderCacheable = false
    cacheExpires = -1
    forkRender = false
    portletFile = /Search/JobSearch/JobSearchController.portlet
    deleted = false
    helpUri = /Search/JobSearch/Help.jsp
    editUri = null
    webAppName = JediCRP
    PortletInstance:
    portletInstanceId = 8001
    LocalizationResource:
    IntersectionId: 10001
    title = JobSearchController
    description = null
    type = PORTLET
    application = PORTAL
    LocalizationLocale:
    localizationLocaleId = [2001]
    locale = [en_US]
    encoding = [UTF-8]
    instanceLabel = null
    themeDefinitionId = null
    titlebarOrientation = 0
    defaultMinimized = false
    placementId = null
    parentPortletId = null
    instanceType = 1] database error code [25,222] SQL state [22028].; n
    ested exception is: java.sql.SQLException: Data exception -- row alrea
    dy exist in index AX1_PORTLET_DEF on table PF_PORTLET_DEFINITION.
    at com.bea.netuix.application.manager.persistence.jdbc.Portlet
    DefinitionDelegate.updatePortletDefinitionInternal(PortletDefinitionDe
    legate.java:1310)
    at com.bea.netuix.application.manager.persistence.jdbc.Portlet
    DefinitionDelegate.updatePortletDefinition(PortletDefinitionDelegate.j
    ava:842)
    at com.bea.netuix.application.manager.persistence.jdbc.Portlet
    DefinitionManagerImpl.updatePortletDefinition(PortletDefinitionManager
    Impl.java:485)
    at com.bea.netuix.application.manager.persistence.jdbc.Portlet
    DefinitionManager_410kn4_EOImpl.updatePortletDefinition(PortletDefinit
    ionManager_410kn4_EOImpl.java:378)
    at com.bea.netuix.servlets.repository.PortletFilePersistenceMa
    nager.updatePortletDefinitionInternal(PortletFilePersistenceManager.ja
    va:476)
    at com.bea.netuix.servlets.repository.PortletFilePersistenceMa
    nager.updatePortletDefinition(PortletFilePersistenceManager.java:401)
    at com.bea.netuix.servlets.repository.PortletFilePersistenceMa
    nager.createUpdatePortletDefinitions(PortletFilePersistenceManager.jav
    a:332)
    at com.bea.netuix.servlets.repository.PortletFilePersistenceMa
    nager.sync(PortletFilePersistenceManager.java:849)
    at com.bea.netuix.servlets.repository.AbstractFilePersistenceM
    anager$Sync.run(AbstractFilePersistenceManager.java:281)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Au
    thenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityMan
    ager.java:144)
    at com.bea.netuix.servlets.repository.AbstractFilePersistenceM
    anager.startup(AbstractFilePersistenceManager.java:115)
    at com.bea.netuix.servlets.manager.PortalServlet$PersistenceMa
    nagerWorker.execute(PortalServlet.java:335)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:21
    9)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    ; nested exception is:
    javax.ejb.EJBException: SQL Error while trying to update portl
    et definition: SQL [update PF_PORTLET_DEFINITION set MARKUP_DEFINITION
    _ID = ?, IS_FORKABLE = ?, CONTENT_URI = ?, BACKING_FILE = ?, IS_PUBLIC
    = ?, PORTLET_LABEL = ?, FORK_RENDER = ?, IS_CACHEABLE = ?, CACHE_EXPI
    RES = ?, PORTLET_FILE = ?, IS_PORTLET_FILE_DELETED = ?, HELP_URI = ?,
    EDIT_URI = ?, WEBAPP_NAME = ? where PORTLET_DEFINITION_ID = ?] merged
    portletDefinition [
    PortletDefinition::
    PortletDefinitionId = 8001
    LocalizationResource:
    IntersectionId: 10001
    title = JobSearchController
    description = null
    type = PORTLET
    application = PORTAL
    LocalizationLocale:
    localizationLocaleId = [2001]
    locale = [en_US]
    encoding = [UTF-8]
    markupDefinitionId = 46003
    contentUri = /Search/JobSearch/JobSearchController.jpf
    backingFile = null
    definitionLabel = portlet_5
    forkable = false
    public = true
    renderCacheable = false
    cacheExpires = -1
    forkRender = false
    portletFile = /Search/JobSearch/JobSearchController.portlet
    deleted = false
    helpUri = /Search/JobSearch/Help.jsp
    editUri = null
    webAppName = JediCRP
    PortletInstance:
    portletInstanceId = 8001
    LocalizationResource:
    IntersectionId: 10001
    title = JobSearchController
    description = null
    type = PORTLET
    application = PORTAL
    LocalizationLocale:
    localizationLocaleId = [2001]
    locale = [en_US]
    encoding = [UTF-8]
    instanceLabel = null
    themeDefinitionId = null
    titlebarOrientation = 0
    defaultMinimized = false
    placementId = null
    parentPortletId = null
    instanceType = 1] database error code [25,222] SQL state [22028].; n
    ested exception is: java.sql.SQLException: Data exception -- row alrea
    dy exist in index AX1_PORTLET_DEF on table PF_PORTLET_DEFINITION.] thr
    own while trying to do task [updatePortletDefinition] in class [com.be
    a.netuix.servlets.repository.PortletFilePersistenceManager].
    javax.transaction.TransactionRolledbackException: EJB Exception: : jav
    ax.ejb.EJBException: SQL Error while trying to update portlet definiti
    on: SQL [update PF_PORTLET_DEFINITION set MARKUP_DEFINITION_ID = ?, IS
    _FORKABLE = ?, CONTENT_URI = ?, BACKING_FILE = ?, IS_PUBLIC = ?, PORTL
    ET_LABEL = ?, FORK_RENDER = ?, IS_CACHEABLE = ?, CACHE_EXPIRES = ?, PO
    RTLET_FILE = ?, IS_PORTLET_FILE_DELETED = ?, HELP_URI = ?, EDIT_URI =
    ?, WEBAPP_NAME = ? where PORTLET_DEFINITION_ID = ?] merged portletDefi
    nition [
    PortletDefinition::
    PortletDefinitionId = 8001
    LocalizationResource:
    IntersectionId: 10001
    title = JobSearchController
    description = null
    type = PORTLET
    application = PORTAL
    LocalizationLocale:
    localizationLocaleId = [2001]
    locale = [en_US]
    encoding = [UTF-8]
    markupDefinitionId = 46003
    contentUri = /Search/JobSearch/JobSearchController.jpf
    backingFile = null
    definitionLabel = portlet_5
    forkable = false
    public = true
    renderCacheable = false
    cacheExpires = -1
    forkRender = false
    portletFile = /Search/JobSearch/JobSearchController.portlet
    deleted = false
    helpUri = /Search/JobSearch/Help.jsp
    editUri = null
    webAppName = JediCRP
    PortletInstance:
    portletInstanceId = 8001
    LocalizationResource:
    IntersectionId: 10001
    title = JobSearchController
    description = null
    type = PORTLET
    application = PORTAL
    LocalizationLocale:
    localizationLocaleId = [2001]
    locale = [en_US]
    encoding = [UTF-8]
    instanceLabel = null
    themeDefinitionId = null
    titlebarOrientation = 0
    defaultMinimized = false
    placementId = null
    parentPortletId = null
    instanceType = 1] database error code [25,222] SQL state [22028].; n
    ested exception is: java.sql.SQLException: Data exception -- row alrea
    dy exist in index AX1_PORTLET_DEF on table PF_PORTLET_DEFINITION.
    java.sql.SQLException: Data exception -- row already exist in index AX
    1_PORTLET_DEF on table PF_PORTLET_DEFINITION.
    at com.pointbase.net.netJDBCPrimitives.handleResponse(Unknown
    Source)
    at com.pointbase.net.netJDBCPrimitives.handlePrimitiveResponse
    (Unknown Source)
    at com.pointbase.net.netJDBCPreparedStatement.executeUpdate(Un
    known Source)
    at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(Prepa
    redStatement.java:115)
    at com.bea.netuix.application.manager.persistence.jdbc.Portlet
    DefinitionDelegate.updatePortletDefinitionInternal(PortletDefinitionDe
    legate.java:1289)
    at com.bea.netuix.application.manager.persistence.jdbc.Portlet
    DefinitionDelegate.updatePortletDefinition(PortletDefinitionDelegate.j
    ava:842)
    at com.bea.netuix.application.manager.persistence.jdbc.Portlet
    DefinitionManagerImpl.updatePortletDefinition(PortletDefinitionManager
    Impl.java:485)
    at com.bea.netuix.application.manager.persistence.jdbc.Portlet
    DefinitionManager_410kn4_EOImpl.updatePortletDefinition(PortletDefinit
    ionManager_410kn4_EOImpl.java:378)
    at com.bea.netuix.servlets.repository.PortletFilePersistenceMa
    nager.updatePortletDefinitionInternal(PortletFilePersistenceManager.ja
    va:476)
    at com.bea.netuix.servlets.repository.PortletFilePersistenceMa
    nager.updatePortletDefinition(PortletFilePersistenceManager.java:401)
    at com.bea.netuix.servlets.repository.PortletFilePersistenceMa
    nager.createUpdatePortletDefinitions(PortletFilePersistenceManager.jav
    a:332)
    at com.bea.netuix.servlets.repository.PortletFilePersistenceMa
    nager.sync(PortletFilePersistenceManager.java:849)
    at com.bea.netuix.servlets.repository.AbstractFilePersistenceM
    anager$Sync.run(AbstractFilePersistenceManager.java:281)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Au
    thenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityMan
    ager.java:144)
    at com.bea.netuix.servlets.repository.AbstractFilePersistenceM
    anager.startup(AbstractFilePersistenceManager.java:115)
    at com.bea.netuix.servlets.manager.PortalServlet$PersistenceMa
    nagerWorker.execute(PortalServlet.java:335)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:21
    9)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    javax.ejb.EJBException: SQL Error while trying to update portlet defin
    ition: SQL [update PF_PORTLET_DEFINITION set MARKUP_DEFINITION_ID = ?,
    IS_FORKABLE = ?, CONTENT_URI = ?, BACKING_FILE = ?, IS_PUBLIC = ?, PO
    RTLET_LABEL = ?, FORK_RENDER = ?, IS_CACHEABLE = ?, CACHE_EXPIRES = ?,
    PORTLET_FILE = ?, IS_PORTLET_FILE_DELETED = ?, HELP_URI = ?, EDIT_URI
    = ?, WEBAPP_NAME = ? where PORTLET_DEFINITION_ID = ?] merged portletD
    efinition [
    PortletDefinition::
    PortletDefinitionId = 8001
    LocalizationResource:
    IntersectionId: 10001
    title = JobSearchController
    description = null
    type = PORTLET
    application = PORTAL
    LocalizationLocale:
    localizationLocaleId = [2001]
    locale = [en_US]
    encoding = [UTF-8]
    markupDefinitionId = 46003
    contentUri = /Search/JobSearch/JobSearchController.jpf
    backingFile = null
    definitionLabel = portlet_5
    forkable = false
    public = true
    renderCacheable = false
    cacheExpires = -1
    forkRender = false
    portletFile = /Search/JobSearch/JobSearchController.portlet
    deleted = false
    helpUri = /Search/JobSearch/Help.jsp
    editUri = null
    webAppName = JediCRP
    PortletInstance:
    portletInstanceId = 8001
    LocalizationResource:
    IntersectionId: 10001
    title = JobSearchController
    description = null
    type = PORTLET
    application = PORTAL
    LocalizationLocale:
    localizationLocaleId = [2001]
    locale = [en_US]
    encoding = [UTF-8]
    instanceLabel = null
    themeDefinitionId = null
    titlebarOrientation = 0
    defaultMinimized = false
    placementId = null
    parentPortletId = null
    instanceType = 1] database error code [25,222] SQL state [22028].; n
    ested exception is: java.sql.SQLException: Data exception -- row alrea
    dy exist in index AX1_PORTLET_DEF on table PF_PORTLET_DEFINITION.
    at com.bea.netuix.application.manager.persistence.jdbc.Portlet
    DefinitionDelegate.updatePortletDefinitionInternal(PortletDefinitionDe
    legate.java:1310)
    at com.bea.netuix.application.manager.persistence.jdbc.Portlet
    DefinitionDelegate.updatePortletDefinition(PortletDefinitionDelegate.j
    ava:842)
    at com.bea.netuix.application.manager.persistence.jdbc.Portlet
    DefinitionManagerImpl.updatePortletDefinition(PortletDefinitionManager
    Impl.java:485)
    at com.bea.netuix.application.manager.persistence.jdbc.Portlet
    DefinitionManager_410kn4_EOImpl.updatePortletDefinition(PortletDefinit
    ionManager_410kn4_EOImpl.java:378)
    at com.bea.netuix.servlets.repository.PortletFilePersistenceMa
    nager.updatePortletDefinitionInternal(PortletFilePersistenceManager.ja
    va:476)
    at com.bea.netuix.servlets.repository.PortletFilePersistenceMa
    nager.updatePortletDefinition(PortletFilePersistenceManager.java:401)
    at com.bea.netuix.servlets.repository.PortletFilePersistenceMa
    nager.createUpdatePortletDefinitions(PortletFilePersistenceManager.jav
    a:332)
    at com.bea.netuix.servlets.repository.PortletFilePersistenceMa
    nager.sync(PortletFilePersistenceManager.java:849)
    at com.bea.netuix.servlets.repository.AbstractFilePersistenceM
    anager$Sync.run(AbstractFilePersistenceManager.java:281)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Au
    thenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityMan
    ager.java:144)
    at com.bea.netuix.servlets.repository.AbstractFilePersistenceM
    anager.startup(AbstractFilePersistenceManager.java:115)
    at com.bea.netuix.servlets.manager.PortalServlet$PersistenceMa
    nagerWorker.execute(PortalServlet.java:335)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:21
    9)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    ; nested exception is:
    javax.ejb.EJBException: SQL Error while trying to update portl
    et definition: SQL [update PF_PORTLET_DEFINITION set MARKUP_DEFINITION
    _ID = ?, IS_FORKABLE = ?, CONTENT_URI = ?, BACKING_FILE = ?, IS_PUBLIC
    = ?, PORTLET_LABEL = ?, FORK_RENDER = ?, IS_CACHEABLE = ?, CACHE_EXPI
    RES = ?, PORTLET_FILE = ?, IS_PORTLET_FILE_DELETED = ?, HELP_URI = ?,
    EDIT_URI = ?, WEBAPP_NAME = ? where PORTLET_DEFINITION_ID = ?] merged
    portletDefinition [
    PortletDefinition::
    PortletDefinitionId = 8001
    LocalizationResource:
    IntersectionId: 10001
    title = JobSearchController
    description = null
    type = PORTLET
    application = PORTAL
    LocalizationLocale:
    localizationLocaleId = [2001]
    locale = [en_US]
    encoding = [UTF-8]
    markupDefinitionId = 46003
    contentUri = /Search/JobSearch/JobSearchController.jpf
    backingFile = null
    definitionLabel = portlet_5
    forkable = false
    public = true
    renderCacheable = false
    cacheExpires = -1
    forkRender = false
    portletFile = /Search/JobSearch/JobSearchController.portlet
    deleted = false
    helpUri = /Search/JobSearch/Help.jsp
    editUri = null
    webAppName = JediCRP
    PortletInstance:
    portletInstanceId = 8001
    LocalizationResource:
    IntersectionId: 10001
    title = JobSearchController
    description = null
    type = PORTLET
    application = PORTAL
    LocalizationLocale:
    localizationLocaleId = [2001]
    locale = [en_US]
    encoding = [UTF-8]
    instanceLabel = null
    themeDefinitionId = null
    titlebarOrientation = 0
    defaultMinimized = false
    placementId = null
    parentPortletId = null
    instanceType = 1] database error code [25,222] SQL state [22028].; n
    ested exception is: java.sql.SQLException: Data exception -- row alrea
    dy exist in index AX1_PORTLET_DEF on table PF_PORTLET_DEFINITION.
    at weblogic.ejb20.i

    See Help with schema validation given the samples are invalid.

  • Update statements encounterd  Errors  OGG-01168 & SQL error 1403 mapping

    Hi Expetrs,
    Update statements throwing below error:
    2012-11-07 10:40:11  WARNING OGG-00869  Oracle GoldenGate Delivery for Oracle, rep1.prm:  No unique key is defined for table AAAA. All viable columns will be used to represent the key, but may not guarantee uniqueness.  KEYCOLS may be used to define the key.
    2012-11-07 10:40:12  WARNING OGG-00869  Oracle GoldenGate Delivery for Oracle, rep1.prm:  No unique key is defined for table AAAA. All viable columns will be used to represent the key, but may not guarantee uniqueness.  KEYCOLS may be used to define the key.
    2012-11-07 10:40:15  WARNING OGG-00869  Oracle GoldenGate Delivery for Oracle, rep1.prm:  No unique key is defined for table BBBB. All viable columns will be used to represent the key, but may not guarantee uniqueness.  KEYCOLS may be used to define the key.
    2012-11-07 10:40:15  WARNING OGG-00869  Oracle GoldenGate Delivery for Oracle, rep1.prm:  No unique key is defined for table BBBB. All viable columns will be used to represent the key, but may not guarantee uniqueness.  KEYCOLS may be used to define the key.
    2012-11-07 10:40:16  WARNING OGG-01004  Oracle GoldenGate Delivery for Oracle, rep1.prm:  Aborted grouped transaction on 'abc.BBBB', Database error 100 (retrieving bind info for query).
    2012-11-07 10:40:16  WARNING OGG-01003  Oracle GoldenGate Delivery for Oracle, rep1.prm:  Repositioning to rba 17466 in seqno 1384.
    2012-11-07 10:40:16  WARNING OGG-01154  Oracle GoldenGate Delivery for Oracle, rep1.prm:  SQL error 1403 mapping abc.BBBB to abc.BBBB.
    2012-11-07 10:40:16  WARNING OGG-01003  Oracle GoldenGate Delivery for Oracle, rep1.prm:  Repositioning to rba 20104 in seqno 1384.
    2012-11-07 10:40:16  ERROR   OGG-01296  Oracle GoldenGate Delivery for Oracle, rep1.prm:  Error mapping from abc.BBBB to abc.BBBB.
    2012-11-07 10:40:16  ERROR   OGG-01668  Oracle GoldenGate Delivery for Oracle, rep1.prm:  PROCESS ABENDING.If I use KEYCOLS:
    --extract file:
    TABLE abc.INDIA , KEYCOLS (ID);--replicat parameter file
    MAP abc.INDIA, TARGET abc.INDIA , KEYCOLS (ID);Encountered below error
    2012-11-09 00:37:54  WARNING OGG-00869  Oracle GoldenGate Delivery for Oracle, rep1.prm:  No unique key is defined for table INDIA. All viable columns will be used to represent the key, but may not guarantee uniqueness.  KEYCOLS may be used to define the key.
    2012-11-09 00:48:34  ERROR   OGG-01168  Oracle GoldenGate Delivery for Oracle, rep1.prm:  Encountered an update for target table abc.INDIA, which has no unique key defined.  KEYCOLS can be used to define a key.  Use ALLOWNOOPUPDATES to process the update without applying it to the target database.  Use APPLYNOOPUPDATES to force the update to be applied using all columns in both the SET and WHERE clause.
    2012-11-09 00:48:34  ERROR   OGG-01668  Oracle GoldenGate Delivery for Oracle, rep1.prm:  PROCESS ABENDING.any clues plz ??
    Regards,
    Edited by: user13403707 on 19 Nov, 2012 10:55 PM

    If you know of any columns that can be used to identify the records you want to replicat changes to at the target table, use them as KEYCOLS.
    Then add supplemental logging using those columns as
    ADD TRANDATA owner.table_name, COLS (col1, col2).
    If you can't think of any such columns, just do
    ADD TRANDATA owner.table_name;
    It will add supplemental logging with the below warning
    2012-11-19 09:59:13 WARNING OGG-00869 No unique key is defined for table table_name. All viable columns will be used to represent the key, but may not guarantee uniqueness. KEYCOLS may be used to define the key.
    Logging of supplemental redo data enabled for table owner.table_name.

  • OIM 9.1 : SQL Error while executing SQL DELETE Statement inside Java Adapter

    I'm running this DELETE script into an adapter with the following code :
    This code is deleting some tasks instances inside a process instance for a user resource.
    public boolean clearTaskInstances(String user_key, String process_name, String task_name) throws OIMException {
      $logger.debug("Utils.clearTaskInstances() : Inside deleting task instances debug 1");
      tcDataProvider provider = getOIMConnection().getDataBase();
      $logger.debug("Utils.clearTaskInstances() : Inside deleting task instances debug 2");
    String query = "DELETE FROM OSI WHERE OSI.MIL_KEY=" +
      "(SELECT MIL.MIL_KEY FROM MIL WHERE MIL.TOS_KEY=" +
      "(SELECT TOS_KEY FROM TOS LEFT JOIN PKG ON PKG.PKG_KEY=TOS.PKG_KEY WHERE PKG.PKG_NAME=" +
      "'" + process_name + "') AND MIL.MIL_NAME='" + task_name + "'" +
      "AND OSI.ORC_KEY IN (SELECT ORC.ORC_KEY FROM ORC WHERE ORC.USR_KEY='" + user_key +"'))";
      $logger.debug("Utils/clearTaskInstance : Delete Query = " + query);
      PreparedStatementUtil preparedStatement = new PreparedStatementUtil();
       preparedStatement.setStatement(provider, query);
       try {
       preparedStatement.executeUpdate();
      $logger.debug("Utils/clearTaskInstance : Delete Query executed");
      return true;
      } catch (Exception e) {
      $logger.error("Utils/clearTaskInstance : Error while executing Delete Query : " + e);
      return false;
    , but this generate 18M of SQL error logs !!
    The same SQL request in SQL Dev works fine, the same code with OIM 11gR2 works fine too, the problem seems to be only with OIM 9.1.
    The first lines in the logs are :
    DEBUG,12 Jul 2013 09:03:20,972,[XELLERATE.CUSTOM],connection object created
    DEBUG,12 Jul 2013 09:03:20,972,[XELLERATE.CUSTOM],Utils.clearTaskInstances() : Inside deleting task instances debug 2
    DEBUG,12 Jul 2013 09:03:20,972,[XELLERATE.CUSTOM],Utils/clearTaskInstance : Delete Query = DELETE FROM OSI WHERE OSI.MIL_KEY=(SELECT MIL.MIL_KEY FROM MIL WHERE MIL.TOS_KEY=(SELECT TOS_KEY FROM TOS LEFT JOIN PKG ON PKG.PKG_KEY=TOS.PKG_KEY WHERE PKG.PKG_NAME='SMC Prov Process') AND MIL.MIL_NAME='Reconciliation Update Received'AND OSI.ORC_KEY IN (SELECT ORC.ORC_KEY FROM ORC WHERE ORC.USR_KEY='78'))
    ERROR,12 Jul 2013 09:03:46,641,[XELLERATE.CUSTOM],Utils/clearTaskInstance : Error while executing Delete Query : com.thortech.xl.dataaccess.tcDataSetException: Data Access Error
    ERROR,12 Jul 2013 09:03:47,047,[XELLERATE.SERVER],Class/Method: tcScheduleItem/getMilestoneInfo Error : ScheduleItem has  No Milestone.
    ERROR,12 Jul 2013 09:03:47,050,[XELLERATE.DATABASE],select orc.orc_status, orc.pkg_key from orc orc where orc.orc_key =
    java.sql.SQLSyntaxErrorException: ORA-00936: missing expression
      at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:91)
      at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
      at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
      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:1035)
      at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:183)
      at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:780)
      at oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.java:855)
      at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1187)
      at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1378)
      at oracle.jdbc.driver.OracleStatementWrapper.executeQuery(OracleStatementWrapper.java:387)
      at weblogic.jdbc.wrapper.Statement.executeQuery(Statement.java:479)
      at com.thortech.xl.util.JDBCUtils.executeQuery(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown Source)
      at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcScheduleItem.checkApprovalProcess(Unknown Source)
      at com.thortech.xl.dataobj.tcScheduleItem.eventPreInsert(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.util.tcProcessUtilities.cancelORC(Unknown Source)
      at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelProcess(Unknown Source)
      at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
      at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
      at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.revokeObjects(Unknown Source)
      at com.thortech.xl.ejb.beans.tcUserOperationsSession.revokeObjects(Unknown Source)
      at com.thortech.xl.ejb.beans.tcUserOperations_voj9p2_EOImpl.revokeObjects(tcUserOperations_voj9p2_EOImpl.java:2285)
      at Thor.API.Operations.tcUserOperationsClient.revokeObjects(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(SecurityManager.java:121)
      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 $Proxy60.revokeObjects(Unknown Source)
      at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.revokeProvisionedResources(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.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 com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.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:56)
      at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    ERROR,12 Jul 2013 09:03:47,051,[XELLERATE.DATABASE],Class/Method: tcDataBase/readPartialStatement encounter some problems: ORA-00936: missing expression
    java.sql.SQLSyntaxErrorException: ORA-00936: missing expression
      at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:91)
      at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
      at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
      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:1035)
      at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:183)
      at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:780)
      at oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.java:855)
      at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1187)
      at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1378)
      at oracle.jdbc.driver.OracleStatementWrapper.executeQuery(OracleStatementWrapper.java:387)
      at weblogic.jdbc.wrapper.Statement.executeQuery(Statement.java:479)
      at com.thortech.xl.util.JDBCUtils.executeQuery(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown Source)
      at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcScheduleItem.checkApprovalProcess(Unknown Source)
      at com.thortech.xl.dataobj.tcScheduleItem.eventPreInsert(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.util.tcProcessUtilities.cancelORC(Unknown Source)
      at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelProcess(Unknown Source)
      at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
      at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
      at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.revokeObjects(Unknown Source)
      at com.thortech.xl.ejb.beans.tcUserOperationsSession.revokeObjects(Unknown Source)
      at com.thortech.xl.ejb.beans.tcUserOperations_voj9p2_EOImpl.revokeObjects(tcUserOperations_voj9p2_EOImpl.java:2285)
      at Thor.API.Operations.tcUserOperationsClient.revokeObjects(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(SecurityManager.java:121)
      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 $Proxy60.revokeObjects(Unknown Source)
      at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.revokeProvisionedResources(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.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 com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.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:56)
      at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    ERROR,12 Jul 2013 09:03:47,052,[XELLERATE.SERVER],Class/Method: tcScheduleItem/checkApprovalProcess encounter some problems: Data Access Error
    com.thortech.xl.dataaccess.tcDataSetException: Data Access Error
      at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcScheduleItem.checkApprovalProcess(Unknown Source)
      at com.thortech.xl.dataobj.tcScheduleItem.eventPreInsert(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.util.tcProcessUtilities.cancelORC(Unknown Source)
      at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelProcess(Unknown Source)
      at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
      at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
      at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.revokeObjects(Unknown Source)
      at com.thortech.xl.ejb.beans.tcUserOperationsSession.revokeObjects(Unknown Source)
      at com.thortech.xl.ejb.beans.tcUserOperations_voj9p2_EOImpl.revokeObjects(tcUserOperations_voj9p2_EOImpl.java:2285)
      at Thor.API.Operations.tcUserOperationsClient.revokeObjects(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(SecurityManager.java:121)
      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 $Proxy60.revokeObjects(Unknown Source)
      at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.revokeProvisionedResources(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.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 com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.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:56)
      at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Data AccessException:
    com.thortech.xl.orb.dataaccess.tcDataAccessException: DB_READ_FAILEDDetail: SQL: select orc.orc_status, orc.pkg_key from orc orc where orc.orc_key = Description: ORA-00936: missing expression
    SQL State: 42000Vendor Code: 936Additional Debug Info: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.readPartialStatement(Unknown Source)
      at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcScheduleItem.checkApprovalProcess(Unknown Source)
      at com.thortech.xl.dataobj.tcScheduleItem.eventPreInsert(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.util.tcProcessUtilities.cancelORC(Unknown Source)
      at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelProcess(Unknown Source)
      at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
      at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
      at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.revokeObjects(Unknown Source)
      at com.thortech.xl.ejb.beans.tcUserOperationsSession.revokeObjects(Unknown Source)
      at com.thortech.xl.ejb.beans.tcUserOperations_voj9p2_EOImpl.revokeObjects(tcUserOperations_voj9p2_EOImpl.java:2285)
      at Thor.API.Operations.tcUserOperationsClient.revokeObjects(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(SecurityManager.java:121)
      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 $Proxy60.revokeObjects(Unknown Source)
      at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.revokeProvisionedResources(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.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 com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.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:56)
      at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Source SQL Exception:
    java.sql.SQLSyntaxErrorException: ORA-00936: missing expression
      at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:91)
      at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
      at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
      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:1035)
      at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:183)
      at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:780)
      at oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.java:855)
      at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1187)
      at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1378)
      at oracle.jdbc.driver.OracleStatementWrapper.executeQuery(OracleStatementWrapper.java:387)
      at weblogic.jdbc.wrapper.Statement.executeQuery(Statement.java:479)
      at com.thortech.xl.util.JDBCUtils.executeQuery(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown Source)
      at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcScheduleItem.checkApprovalProcess(Unknown Source)
      at com.thortech.xl.dataobj.tcScheduleItem.eventPreInsert(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.util.tcProcessUtilities.cancelORC(Unknown Source)
      at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelProcess(Unknown Source)
      at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
      at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
      at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.revokeObjects(Unknown Source)
      at com.thortech.xl.ejb.beans.tcUserOperationsSession.revokeObjects(Unknown Source)
      at com.thortech.xl.ejb.beans.tcUserOperations_voj9p2_EOImpl.revokeObjects(tcUserOperations_voj9p2_EOImpl.java:2285)
      at Thor.API.Operations.tcUserOperationsClient.revokeObjects(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(SecurityManager.java:121)
      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 $Proxy60.revokeObjects(Unknown Source)
      at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.revokeProvisionedResources(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.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 com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.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:56)
      at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    ERROR,12 Jul 2013 09:03:47,054,[XELLERATE.DATABASE],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:
    com.thortech.xl.dataaccess.tcDataSetException: Data Access Error
      at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcScheduleItem.checkApprovalProcess(Unknown Source)
      at com.thortech.xl.dataobj.tcScheduleItem.eventPreInsert(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.util.tcProcessUtilities.cancelORC(Unknown Source)
      at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelProcess(Unknown Source)
      at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
      at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
      at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.revokeObjects(Unknown Source)
      at com.thortech.xl.ejb.beans.tcUserOperationsSession.revokeObjects(Unknown Source)
      at com.thortech.xl.ejb.beans.tcUserOperations_voj9p2_EOImpl.revokeObjects(tcUserOperations_voj9p2_EOImpl.java:2285)
      at Thor.API.Operations.tcUserOperationsClient.revokeObjects(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(SecurityManager.java:121)
      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 $Proxy60.revokeObjects(Unknown Source)
      at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.revokeProvisionedResources(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.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 com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.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:56)
      at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Data AccessException:
    com.thortech.xl.orb.dataaccess.tcDataAccessException: DB_READ_FAILEDDetail: SQL: select orc.orc_status, orc.pkg_key from orc orc where orc.orc_key = Description: ORA-00936: missing expression
    SQL State: 42000Vendor Code: 936Additional Debug Info: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.readPartialStatement(Unknown Source)
      at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)

    Thanks for your quick reply, but I'm still getting the same issue after modifying the code to include the space before the AND, here is the generated log files with SQL debug turned on.
    I have already tried with a hard simple delete sql request such as DELETE FROM osi WHERE osi.mil_key = '1440' AND orc_key ='228182' and get same issue !
    Thanks for your help !:
    DEBUG,12 Jul 2013 10:18:32,169,[XELLERATE.CUSTOM],Utils.clearTaskInstances() : Inside deleting task instances debug 1
    DEBUG,12 Jul 2013 10:18:32,169,[XELLERATE.CUSTOM],enter getConnection with OIM TRUST AUTH
    DEBUG,12 Jul 2013 10:18:32,169,[XELLERATE.CUSTOM],initConnection
    DEBUG,12 Jul 2013 10:18:32,169,[XELLERATE.CUSTOM],initConnection1 xlHomeDir=/appl/oim/product/9.1.0.2/xellerate
    DEBUG,12 Jul 2013 10:18:32,170,[XELLERATE.CUSTOM],initConnection done.
    DEBUG,12 Jul 2013 10:18:32,170,[XELLERATE.CUSTOM],Properties env done={java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory, java.naming.provider.url=t3://mrs-dx-00003.cma-cgm.com:7001}
    DEBUG,12 Jul 2013 10:18:32,173,[XELLERATE.CUSTOM],moSignature done.
    DEBUG,12 Jul 2013 10:18:32,210,[XELLERATE.CUSTOM],LoginSession UserName=xelsysadm
    DEBUG,12 Jul 2013 10:18:32,210,[XELLERATE.CUSTOM],LoginContext Subject=Subject:
      Principal: xelsysadm
      Principal: User
      Private Credential: weblogic.security.auth.login.PasswordCredential@10425ea
      Private Credential: weblogic.security.auth.login.PasswordCredential@1555e96
    <Jul 12, 2013 10:18:32 AM UTC> <Notice> <LoggingService> <BEA-320400> <The log file /appl/oim/user_projects/domains/OIM_INT/servers/AdminServer/logs/AdminServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Jul 12, 2013 10:18:32 AM UTC> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to /appl/oim/user_projects/domains/OIM_INT/servers/AdminServer/logs/AdminServer.log65630. Log messages will continue to be logged in /appl/oim/user_projects/domains/OIM_INT/servers/AdminServer/logs/AdminServer.log.>
    DEBUG,12 Jul 2013 10:18:32,227,[XELLERATE.CUSTOM],end init for ServiceAccountConnection
    DEBUG,12 Jul 2013 10:18:32,227,[XELLERATE.CUSTOM],connection object created
    DEBUG,12 Jul 2013 10:18:32,227,[XELLERATE.CUSTOM],Utils.clearTaskInstances() : Inside deleting task instances debug 2
    DEBUG,12 Jul 2013 10:18:32,228,[XELLERATE.CUSTOM],Utils/clearTaskInstance : Delete Query = DELETE FROM OSI WHERE OSI.MIL_KEY=(SELECT MIL.MIL_KEY FROM MIL WHERE MIL.TOS_KEY=(SELECT TOS_KEY FROM TOS LEFT JOIN PKG ON PKG.PKG_KEY=TOS.PKG_KEY WHERE PKG.PKG_NAME='SMC Prov Process') AND MIL.MIL_NAME='Reconciliation Update Received' AND OSI.ORC_KEY IN (SELECT ORC.ORC_KEY FROM ORC WHERE ORC.USR_KEY='78'))
    DEBUG,12 Jul 2013 10:18:32,247,[XELLERATE.DATABASE],DELETE FROM OSI WHERE OSI.MIL_KEY=(SELECT MIL.MIL_KEY FROM MIL WHERE MIL.TOS_KEY=(SELECT TOS_KEY FROM TOS LEFT JOIN PKG ON PKG.PKG_KEY=TOS.PKG_KEY WHERE PKG.PKG_NAME='SMC Prov Process') AND MIL.MIL_NAME='Reconciliation Update Received' AND OSI.ORC_KEY IN (SELECT ORC.ORC_KEY FROM ORC WHERE ORC.USR_KEY='78'))
    INFO,12 Jul 2013 10:18:47,146,[XELLERATE.DATABASE],DB Cache read: select osi_retry_on from osi where 1=2
    <Jul 12, 2013 10:18:47 AM UTC> <Notice> <LoggingService> <BEA-320400> <The log file /appl/oim/user_projects/domains/OIM_INT/servers/AdminServer/logs/AdminServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Jul 12, 2013 10:18:47 AM UTC> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to /appl/oim/user_projects/domains/OIM_INT/servers/AdminServer/logs/AdminServer.log65631. Log messages will continue to be logged in /appl/oim/user_projects/domains/OIM_INT/servers/AdminServer/logs/AdminServer.log.>
    INFO,12 Jul 2013 10:18:47,173,[XELLERATE.DATABASE],DB read: select osi.sch_key, osi.mil_key, osi.orc_key, osi.osi_rowver, sch.sch_rowver,  osi.osi_retry_for, osi.osi_retry_on, osi.osi_retry_counter, sch.sch_note  from osi osi,sch sch where osi.osi_retry_on <=TO_DATE('2013-07-12 10:18:47', 'YYYY-MM-DD HH24:MI:SS') and osi.sch_key = sch.sch_key and sch.sch_status='R' and osi_retry_counter>0 order by osi.sch_key
    DEBUG,12 Jul 2013 10:18:47,186,[XELLERATE.DATABASE],select osi.sch_key, osi.mil_key, osi.orc_key, osi.osi_rowver, sch.sch_rowver,  osi.osi_retry_for, osi.osi_retry_on, osi.osi_retry_counter, sch.sch_note  from osi osi,sch sch where osi.osi_retry_on <=TO_DATE('2013-07-12 10:18:47', 'YYYY-MM-DD HH24:MI:SS') and osi.sch_key = sch.sch_key and sch.sch_status='R' and osi_retry_counter>0 order by osi.sch_key
    INFO,12 Jul 2013 10:19:00,240,[XELLERATE.DATABASE],DB Cache read: select osi_retry_for, osi_retry_counter from osi where 1=2
    INFO,12 Jul 2013 10:19:00,249,[XELLERATE.DATABASE],DB read: select count(*) as counter from osi osi,sch sch where osi.sch_key = sch.sch_key and osi_retry_for=1404290
    DEBUG,12 Jul 2013 10:19:00,253,[XELLERATE.DATABASE],select count(*) as counter from osi osi,sch sch where osi.sch_key = sch.sch_key and osi_retry_for=1404290
    INFO,12 Jul 2013 10:19:00,270,[XELLERATE.DATABASE],DB read: select count(*) as counter from osi osi,sch sch where osi.sch_key = sch.sch_key and osi_retry_for=1404297
    DEBUG,12 Jul 2013 10:19:00,272,[XELLERATE.DATABASE],select count(*) as counter from osi osi,sch sch where osi.sch_key = sch.sch_key and osi_retry_for=1404297
    ERROR,12 Jul 2013 10:19:10,967,[XELLERATE.CUSTOM],Utils/clearTaskInstance : Error while executing Delete Query : com.thortech.xl.dataaccess.tcDataSetException: Data Access Error
    INFO,12 Jul 2013 10:19:10,968,[XELLERATE.DATABASE],DB read: select mav.spd_key,mav.mav_map_child_table_name, mav.mav_map_to, mav.mav_map_qualifier, mav.mav_map_value, mav.mav_field_length from mav mav, mil mil, adv adv where mav.mil_key = mil.mil_key and mil.mil_key = 5673 and mav.adv_key = adv.adv_key and adv.adv_name = 'Adapter return value' and adv.adp_key = 1021
    DEBUG,12 Jul 2013 10:19:10,968,[XELLERATE.DATABASE],select mav.spd_key,mav.mav_map_child_table_name, mav.mav_map_to, mav.mav_map_qualifier, mav.mav_map_value, mav.mav_field_length from mav mav, mil mil, adv adv where mav.mil_key = mil.mil_key and mil.mil_key = 5673 and mav.adv_key = adv.adv_key and adv.adv_name = 'Adapter return value' and adv.adp_key = 1021
    INFO,12 Jul 2013 10:19:10,973,[XELLERATE.DATABASE],DB read: select * from sch where sch_key=3934435
    DEBUG,12 Jul 2013 10:19:10,973,[XELLERATE.DATABASE],select * from sch where sch_key=3934435
    INFO,12 Jul 2013 10:19:10,984,[XELLERATE.DATABASE],DB read: select count(*) as RecordExists from osi where sch_key=3934435
    DEBUG,12 Jul 2013 10:19:10,984,[XELLERATE.DATABASE],select count(*) as RecordExists from osi where sch_key=3934435
    INFO,12 Jul 2013 10:19:10,990,[XELLERATE.DATABASE],DB read: select * from osi where sch_key=3934435
    DEBUG,12 Jul 2013 10:19:10,990,[XELLERATE.DATABASE],select * from osi where sch_key=3934435
    INFO,12 Jul 2013 10:19:11,012,[XELLERATE.DATABASE],DB read: select mil_key, mil_name, mil_sequence, mil_day, mil_hour, mil_minute,mil_create_multiple, mil_cancel_while_pending, mil_comp_on_rec, mil_required_complete, mil_retry_period, mil_retry_count, evt_key, mil_default_assignee, mil_assign_to_manager from mil where mil_key=5673
    DEBUG,12 Jul 2013 10:19:11,012,[XELLERATE.DATABASE],select mil_key, mil_name, mil_sequence, mil_day, mil_hour, mil_minute,mil_create_multiple, mil_cancel_while_pending, mil_comp_on_rec, mil_required_complete, mil_retry_period, mil_retry_count, evt_key, mil_default_assignee, mil_assign_to_manager from mil where mil_key=5673
    INFO,12 Jul 2013 10:19:11,015,[XELLERATE.DATABASE],DB read: select rsc.rsc_key, sta.sta_status, sta.sta_bucket from rsc rsc, sta sta where sta.sta_key=rsc.sta_key and rsc.rsc_data='false' and rsc.mil_key=5673
    DEBUG,12 Jul 2013 10:19:11,015,[XELLERATE.DATABASE],select rsc.rsc_key, sta.sta_status, sta.sta_bucket from rsc rsc, sta sta where sta.sta_key=rsc.sta_key and rsc.rsc_data='false' and rsc.mil_key=5673
    DEBUG,12 Jul 2013 10:19:11,069,[XELLERATE.DATABASE],select rgm.mil_key, mil_sequence from rgm rgm, mil mil where rsc_key=? and rgm.mil_key=mil.mil_key order by mil_sequence
    INFO,12 Jul 2013 10:19:11,078,[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.tcScheduleItem' or dob.dob_name='com.thortech.xl.dataobj.tcBusinessObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
    DEBUG,12 Jul 2013 10:19:11,078,[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.tcScheduleItem' or dob.dob_name='com.thortech.xl.dataobj.tcBusinessObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
    INFO,12 Jul 2013 10:19:11,082,[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.tcSCH' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
    DEBUG,12 Jul 2013 10:19:11,082,[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.tcSCH' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
    DEBUG,12 Jul 2013 10:19:11,086,[XELLERATE.DATABASE],update sch set SCH_STATUS=?, SCH_DATA=?, SCH_ACTUAL_END=?, SCH_UPDATE=?, sch_rowver=? where sch_key=3934435 and sch_rowver=HEXTORAW('0000000000000000')
    INFO,12 Jul 2013 10:19:11,104,[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.tcSCH' 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
    DEBUG,12 Jul 2013 10:19:11,104,[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.tcSCH' 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
    INFO,12 Jul 2013 10:19:11,107,[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.tcOSI' or dob.dob_name='com.thortech.xl.dataobj.tcKeylessDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
    DEBUG,12 Jul 2013 10:19:11,107,[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.tcOSI' or dob.dob_name='com.thortech.xl.dataobj.tcKeylessDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
    DEBUG,12 Jul 2013 10:19:11,110,[XELLERATE.DATABASE],update osi set RSC_KEY=?, OSI_UPDATE=?, OSI_CHILD_OLD_VALUE=?, osi_rowver=? where sch_key=3934435 and osi_rowver=HEXTORAW('0000000000000000')
    INFO,12 Jul 2013 10:19:11,122,[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.tcOSI' or dob.dob_name='com.thortech.xl.dataobj.tcKeylessDataObj' 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
    DEBUG,12 Jul 2013 10:19:11,123,[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.tcOSI' or dob.dob_name='com.thortech.xl.dataobj.tcKeylessDataObj' 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
    INFO,12 Jul 2013 10:19:11,126,[XELLERATE.DATABASE],DB read: select rvm_recovery_mil_key, mil_sequence from rvm rvm, mil mil where rvm.mil_key=5673 and mil.mil_key=rvm.rvm_recovery_mil_key and rvm_recovery_mil_key not in (select mil.mil_key from mil mil, osi osi where osi.mil_key=mil.mil_key and (mil_create_multiple='0' or mil_create_multiple is null) and osi.orc_key=170417) order by mil_sequence
    DEBUG,12 Jul 2013 10:19:11,126,[XELLERATE.DATABASE],select rvm_recovery_mil_key, mil_sequence from rvm rvm, mil mil where rvm.mil_key=5673 and mil.mil_key=rvm.rvm_recovery_mil_key and rvm_recovery_mil_key not in (select mil.mil_key from mil mil, osi osi where osi.mil_key=mil.mil_key and (mil_create_multiple='0' or mil_create_multiple is null) and osi.orc_key=170417) order by mil_sequence
    DEBUG,12 Jul 2013 10:19:11,132,[XELLERATE.DATABASE],select mil_name from mil  where mil_key=?
    DEBUG,12 Jul 2013 10:19:11,134,[XELLERATE.DATABASE],select s1.sch_key, s1.sch_rowver, o.osi_rowver, sta_bucket from osi o, sch s1, dep d, sta s where s.sta_status = s1.sch_status and o.sch_key = s1.sch_key and o.mil_key = d.mil_key and d.dep_key=? and o.orc_key=?
    DEBUG,12 Jul 2013 10:19:11,137,[XELLERATE.DATABASE],select orc.orc_target, orc.orc_parent_key, pkg.pkg_name from orc orc left outer join orc parorc on parorc.orc_key=orc.orc_parent_key  and orc.orc_key=? left outer join pkg pkg on parorc.pkg_key=pkg.pkg_key where orc.orc_key=?
    DEBUG,12 Jul 2013 10:19:11,139,[XELLERATE.DATABASE],select pkg_name from tos, pkg, orc where tos.pkg_key=pkg.pkg_key and tos.tos_key=orc.tos_key and orc.orc_key=?
    DEBUG,12 Jul 2013 10:19:11,141,[XELLERATE.DATABASE],select oiu.oiu_key,oiu_rowver,oiu.ost_key, oiu.usr_key, usr.usr_status from oiu oiu, usr usr where oiu.usr_key=usr.usr_key and oiu.orc_key=?
    INFO,12 Jul 2013 10:19:11,143,[XELLERATE.DATABASE],DB read: select mst.ost_key, ost_status from mst mst, sta sta, ost ost where mst.mil_key=5673 and mst.sta_key=sta.sta_key and sta.sta_status='R' and mst.ost_key=ost.ost_key
    DEBUG,12 Jul 2013 10:19:11,143,[XELLERATE.DATABASE],select mst.ost_key, ost_status from mst mst, sta sta, ost ost where mst.mil_key=5673 and mst.sta_key=sta.sta_key and sta.sta_status='R' and mst.ost_key=ost.ost_key
    INFO,12 Jul 2013 10:19:11,149,[XELLERATE.DATABASE],DB read: select * from orc where orc_key=170417
    DEBUG,12 Jul 2013 10:19:11,150,[XELLERATE.DATABASE],select * from orc where orc_key=170417
    DEBUG,12 Jul 2013 10:19:11,155,[XELLERATE.DATABASE],select /*+ USE_NL(ORC STA)*/ sta.sta_bucket, count(sta.sta_bucket) as bkt from orc orc, sta sta where orc.orc_status=sta.sta_status and orc.orc_parent_key=? and (orc.orc_required_complete is null or orc.orc_required_complete=?)  group by sta.sta_bucket
    DEBUG,12 Jul 2013 10:19:11,159,[XELLERATE.DATABASE],select sta.sta_bucket, count(sta.sta_bucket) as bkt from osi osi, sch sch, mil mil, sta sta where osi.sch_key=sch.sch_key and osi.mil_key=mil.mil_key and sch.sch_status=sta.sta_status and mil.mil_required_complete=? and osi.orc_key=? group by sta.sta_bucket
    DEBUG,12 Jul 2013 10:19:11,164,[XELLERATE.DATABASE],select sta_bucket from orc orc, sta sta where orc.orc_key=? and orc.orc_status = sta.sta_status
    INFO,12 Jul 2013 10:19:11,166,[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.tcORC' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
    DEBUG,12 Jul 2013 10:19:11,166,[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.tcORC' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
    DEBUG,12 Jul 2013 10:19:11,169,[XELLERATE.DATABASE],update orc set ORC_STATUS=?, ORC_UPDATE=?, orc_rowver=? where orc_key=170417 and orc_rowver=HEXTORAW('0000000000000007')
    DEBUG,12 Jul 2013 10:19:11,171,[XELLERATE.DATABASE],select orc_rowver from orc orc where orc_key=?
    INFO,12 Jul 2013 10:19:11,174,[XELLERATE.DATABASE],DB read: select * from orc where orc_key=867
    DEBUG,12 Jul 2013 10:19:11,174,[XELLERATE.DATABASE],select * from orc where orc_key=867
    DEBUG,12 Jul 2013 10:19:11,178,[XELLERATE.DATABASE],select /*+ USE_NL(ORC STA)*/ sta.sta_bucket, count(sta.sta_bucket) as bkt from orc orc, sta sta where orc.orc_status=sta.sta_status and orc.orc_parent_key=? and (orc.orc_required_complete is null or orc.orc_required_complete=?)  group by sta.sta_bucket
    DEBUG,12 Jul 2013 10:19:11,181,[XELLERATE.DATABASE],select sta.sta_bucket, count(sta.sta_bucket) as bkt from osi osi, sch sch, mil mil, sta sta where osi.sch_key=sch.sch_key and osi.mil_key=mil.mil_key and sch.sch_status=sta.sta_status and mil.mil_required_complete=? and osi.orc_key=? group by sta.sta_bucket
    INFO,12 Jul 2013 10:19:11,183,[XELLERATE.DATABASE],DB read: select orc.orc_key, orc.orc_rowver from orc orc, sta sta, pkd pkd where orc.orc_parent_key =867 and orc.orc_status = sta.sta_status and sta.sta_bucket!='Rejected' and orc.pkh_key=pkd.pkh_key and pkd.pkd_predecessor_pkh_key=0 order by orc.orc_key
    DEBUG,12 Jul 2013 10:19:11,183,[XELLERATE.DATABASE],select orc.orc_key, orc.orc_rowver from orc orc, sta sta, pkd pkd where orc.orc_parent_key =867 and orc.orc_status = sta.sta_status and sta.sta_bucket!='Rejected' and orc.pkh_key=pkd.pkh_key and pkd.pkd_predecessor_pkh_key=0 order by orc.orc_key
    INFO,12 Jul 2013 10:19:11,186,[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.tcORC' 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
    DEBUG,12 Jul 2013 10:19:11,186,[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.tcORC' 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
    INFO,12 Jul 2013 10:19:11,188,[XELLERATE.DATABASE],DB read: select usr_key, orc_target from orc where orc_key = 170417
    DEBUG,12 Jul 2013 10:19:11,188,[XELLERATE.DATABASE],select usr_key, orc_target from orc where orc_key = 170417
    DEBUG,12 Jul 2013 10:19:11,190,[XELLERATE.DATABASE],select obi_key from oiu where orc_key = ?
    INFO,12 Jul 2013 10:19:11,193,[XELLERATE.DATABASE],DB read: select mev.mev_assignee, mev.mev_requester, mev.mev_user, mev.mev_usrmanager, mev.mil_key, mev.emd_key, sta.sta_status from mev mev, sta sta where mev.sta_key=sta.sta_key
    DEBUG,12 Jul 2013 10:19:11,193,[XELLERATE.DATABASE],select mev.mev_assignee, mev.mev_requester, mev.mev_user, mev.mev_usrmanager, mev.mil_key, mev.emd_key, sta.sta_status from mev mev, sta sta where mev.sta_key=sta.sta_key
    INFO,12 Jul 2013 10:19:11,195,[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.tcScheduleItem' or dob.dob_name='com.thortech.xl.dataobj.tcBusinessObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence
    DEBUG,12 Jul 2013 10:19:11,195,[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.tcScheduleItem' or dob.dob_name='com.thortech.xl.dataobj.tcBusinessObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence
    DEBUG,12 Jul 2013 10:19:11,197,[XELLERATE.DATABASE],select sch.sch_status from sch sch where sch.sch_key=?
    INFO,12 Jul 2013 10:19:11,199,[XELLERATE.DATABASE],DB read: SELECT sta_status, sta_bucket FROM sta
    DEBUG,12 Jul 2013 10:19:11,199,[XELLERATE.DATABASE],SELECT sta_status, sta_bucket FROM sta
    DEBUG,12 Jul 2013 10:19:11,202,[XELLERATE.DATABASE],select pkg.PKG_TYPE from pkg pkg where pkg.pkg_key=?
    DEBUG,12 Jul 2013 10:19:11,204,[XELLERATE.DATABASE],select oti.oti_key, oti.oti_rowver from oti where oti.sch_key=?
    INFO,12 Jul 2013 10:19:11,212,[XELLERATE.DATABASE],DB Cache read: select * from oti where 1=2
    DEBUG,12 Jul 2013 10:19:11,212,[XELLERATE.DATABASE],select pkg.PKG_TYPE from pkg pkg where pkg.pkg_key=?
    DEBUG,12 Jul 2013 10:19:11,215,[XELLERATE.DATABASE],select obj.OBJ_KEY from obj obj , pkg pkg where pkg.obj_key = obj.obj_key and pkg.pkg_key=?
    INFO,12 Jul 2013 10:19:11,219,[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.tcOTI' 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,12 Jul 2013 10:19:11,220,[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.tcOTI' 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,12 Jul 2013 10:19:11,223,[XELLERATE.DATABASE],insert into oti (OTI_KEY, SCH_KEY, SCH_STATUS, SCH_DATA, SCH_PROJ_START, SCH_PROJ_END, SCH_ACTUAL_START, SCH_ACTUAL_END, SCH_OFFLINED, ORC_KEY, MIL_KEY, PKG_KEY, OSI_ASSIGNED_TO_USR_KEY, OSI_ASSIGNED_DATE, ACT_KEY, OSI_ASSIGN_TYPE, PKG_TYPE, STA_BUCKET, OBJ_KEY, OTI_CREATE, OTI_UPDATE, OTI_CREATEBY, OTI_UPDATEBY, OTI_DATA_LEVEL, oti_rowver) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
    DEBUG,12 Jul 2013 10:19:11,223,[XELLERATE.DATABASE],select OTI_seq.nextval from dual
    INFO,12 Jul 2013 10:19:11,324,[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.tcOTI' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_post_insert_sequence>0 order by dvt.dvt_post_insert_sequence
    DEBUG,12 Jul 2013 10:19:11,324,[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.tcOTI' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_post_insert_sequence>0 order by dvt.dvt_post_insert_sequence
    DEBUG,12 Jul 2013 10:19:11,326,[XELLERATE.DATABASE],select sch.sch_status from sch sch where sch.sch_key=?
    INFO,12 Jul 2013 10:19:11,328,[XELLERATE.DATABASE],DB read: SELECT sta_status, sta_bucket FROM sta
    DEBUG,12 Jul 2013 10:19:11,328,[XELLERATE.DATABASE],SELECT sta_status, sta_bucket FROM sta
    DEBUG,12 Jul 2013 10:19:11,332,[XELLERATE.DATABASE],select pkg.PKG_TYPE from pkg pkg where pkg.pkg_key=?
    DEBUG,12 Jul 2013 10:19:11,334,[XELLERATE.DATABASE],select oti.oti_key, oti.oti_rowver from oti where oti.sch_key=?
    INFO,12 Jul 2013 10:19:11,335,[XELLERATE.DATABASE],DB read: select * from oti where oti_key=1617371
    DEBUG,12 Jul 2013 10:19:11,336,[XELLERATE.DATABASE],select * from oti where oti_key=1617371
    DEBUG,12 Jul 2013 10:19:11,343,[XELLERATE.DATABASE],select pkg.PKG_TYPE from pkg pkg where pkg.pkg_key=?
    DEBUG,12 Jul 2013 10:19:11,345,[XELLERATE.DATABASE],select obj.OBJ_KEY from obj obj , pkg pkg where pkg.obj_key = obj.obj_key and pkg.pkg_key=?
    INFO,12 Jul 2013 10:19:11,347,[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.tcOTI' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
    DEBUG,12 Jul 2013 10:19:11,347,[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.tcOTI' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
    DEBUG,12 Jul 2013 10:19:11,350,[XELLERATE.DATABASE],update oti set SCH_TYPE=?, OSI_RETRY_FOR=?, OSI_ASSIGNED_TO=?, REQ_KEY=?, OSI_ASSIGNED_TO_UGP_KEY=?, OSI_ASSIGNED_DATE=?, SCH_PROJ_START=?, SCH_PROJ_END=?, SCH_ACTUAL_START=?, SCH_ACTUAL_END=?, SCH_ACTION=?, OTI_CREATE=?, OTI_UPDATE=?, SCH_DATA=?, oti_rowver=? where oti_key=1617371 and oti_rowver=HEXTORAW('0000000000000000')
    INFO,12 Jul 2013 10:19:11,357,[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.tcOTI' 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
    DEBUG,12 Jul 2013 10:19:11,357,[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.tcOTI' 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
    DEBUG,12 Jul 2013 10:19:11,359,[XELLERATE.DATABASE],select mil_name from mil  where mil_key=?
    DEBUG,12 Jul 2013 10:19:11,361,[XELLERATE.DATABASE],select s1.sch_key, s1.sch_rowver, o.osi_rowver, sta_bucket from osi o, sch s1, dep d, sta s where s.sta_status = s1.sch_status and o.sch_key = s1.sch_key and o.mil_key = d.mil_key and d.dep_key=? and o.orc_key=?
    DEBUG,12 Jul 2013 10:19:11,363,[XELLERATE.DATABASE],select orc.orc_target, orc.orc_parent_key, pkg.pkg_name from orc orc left outer join orc parorc on parorc.orc_key=orc.orc_parent_key  and orc.orc_key=? left outer join pkg pkg on parorc.pkg_key=pkg.pkg_key where orc.orc_key=?
    DEBUG,12 Jul 2013 10:19:11,365,[XELLERATE.DATABASE],select pkg_name from tos, pkg, orc where tos.pkg_key=pkg.pkg_key and tos.tos_key=orc.tos_key and orc.orc_key=?
    DEBUG,12 Jul 2013 10:19:11,367,[XELLERATE.DATABASE],select oiu.oiu_key,oiu_rowver,oiu.ost_key, oiu.usr_key, usr.usr_status from oiu oiu, usr usr where oiu.usr_key=usr.usr_key and oiu.orc_key=?
    INFO,12 Jul 2013 10:19:11,368,[XELLERATE.DATABASE],DB read: select mst.ost_key, ost_status from mst mst, sta sta, ost ost where mst.mil_key=1434 and mst.sta_key=sta.sta_key and sta.sta_status='X' and mst.ost_key=ost.ost_key
    DEBUG,12 Jul 2013 10:19:11,369,[XELLERATE.DATABASE],select mst.ost_key, ost_status from mst mst, sta sta, ost ost where mst.mil_key=1434 and mst.sta_key=sta.sta_key and sta.sta_status='X' and mst.ost_key=ost.ost_key
    INFO,12 Jul 2013 10:19:11,375,[XELLERATE.DATABASE],DB read: select * from orc where orc_key=170417
    DEBUG,12 Jul 2013 10:19:11,375,[XELLERATE.DATABASE],select * from orc where orc_key=170417
    DEBUG,12 Jul 2013 10:19:11,379,[XELLERATE.DATABASE],select /*+ USE_NL(ORC STA)*/ sta.sta_bucket, count(sta.sta_bucket) as bkt from orc orc, sta sta where orc.orc_status=sta.sta_status and orc.orc_parent_key=? and (orc.orc_required_complete is null or orc.orc_required_complete=?)  group by sta.sta_bucket
    DEBUG,12 Jul 2013 10:19:11,381,[XELLERATE.DATABASE],select sta.sta_bucket, count(sta.sta_bucket) as bkt from osi osi, sch sch, mil mil, sta sta where osi.sch_key=sch.sch_key and osi.mil_key=mil.mil_key and sch.sch_status=sta.sta_status and mil.mil_required_complete=? and osi.orc_key=? group by sta.sta_bucket
    INFO,12 Jul 2013 10:19:11,384,[XELLERATE.DATABASE],DB read: select usr_key, orc_target from orc where orc_key = 170417
    DEBUG,12 Jul 2013 10:19:11,384,[XELLERATE.DATABASE],select usr_key, orc_target from orc where orc_key = 170417
    DEBUG,12 Jul 2013 10:19:11,386,[XELLERATE.DATABASE],select obi_key from oiu where orc_key = ?
    INFO,12 Jul 2013 10:19:11,387,[XELLERATE.DATABASE],DB read: select mev.mev_assignee, mev.mev_requester, mev.mev_user, mev.mev_usrmanager, mev.mil_key, mev.emd_key, sta.sta_status from mev mev, sta sta where mev.sta_key=sta.sta_key
    DEBUG,12 Jul 2013 10:19:11,387,[XELLERATE.DATABASE],select mev.mev_assignee, mev.mev_requester, mev.mev_user, mev.mev_usrmanager, mev.mil_key, mev.emd_key, sta.sta_status from mev mev, sta sta where mev.sta_key=sta.sta_key
    INFO,12 Jul 2013 10:19:11,389,[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.tcScheduleItem' or dob.dob_name='com.thortech.xl.dataobj.tcBusinessObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence
    DEBUG,12 Jul 2013 10:19:11,389,[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.tcScheduleItem' or dob.dob_name='com.thortech.xl.dataobj.tcBusinessObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence
    DEBUG,12 Jul 2013 10:19:11,391,[XELLERATE.DATABASE],select sch.sch_status from sch sch where sch.sch_key=?
    INFO,12 Jul 2013 10:19:11,393,[XELLERATE.DATABASE],DB read: SELECT sta_status, sta_bucket FROM sta
    DEBUG,12 Jul 2013 10:19:11,393,[XELLERATE.DATABASE],SELECT sta_status, sta_bucket FROM sta
    DEBUG,12 Jul 2013 10:19:11,396,[XELLERATE.DATABASE],select oti.oti_key, oti.oti_rowver from oti where oti.sch_key=?
    INFO,12 Jul 2013 10:19:11,398,[XELLERATE.DATABASE],DB read: select * from sch where sch_key=1715851
    DEBUG,12 Jul 2013 10:19:11,398,[XELLERATE.DATABASE],select * from sch where sch_key=1715851
    INFO,12 Jul 2013 10:19:11,401,[XELLERATE.DATABASE],DB read: select count(*) as RecordExists from osi where sch_key=1715851
    DEBUG,12 Jul 2013 10:19:11,401,[XELLERATE.DATABASE],select count(*) as RecordExists from osi where sch_key=1715851
    INFO,12 Jul 2013 10:19:11,403,[XELLERATE.DATABASE],DB read: select * from osi where sch_key=1715851
    DEBUG,12 Jul 2013 10:19:11,403,[XELLERATE.DATABASE],select * from osi where sch_key=1715851
    INFO,12 Jul 2013 10:19:11,433,[XELLERATE.DATABASE],DB read: select mil_key, mil_name, mil_sequence, mil_day, mil_hour, mil_minute,mil_create_multiple, mil_cancel_while_pending, mil_comp_on_rec, mil_required_complete, mil_retry_period, mil_retry_count, evt_key, mil_default_assignee, mil_assign_to_manager from mil where mil_key=1447
    DEBUG,12 Jul 2013 10:19:11,433,[XELLERATE.DATABASE],select mil_key, mil_name, mil_sequence, mil_day, mil_hour, mil_minute,mil_create_multiple, mil_cancel_while_pending, mil_comp_on_rec, mil_required_complete, mil_retry_period, mil_retry_count, evt_key, mil_default_assignee, mil_assign_to_manager from mil where mil_key=1447
    INFO,12 Jul 2013 10:19:11,436,[XELLERATE.DATABASE],DB read: select ugp.ugp_key, ugp.ugp_name from ugp ugp, usg usg where ugp.ugp_key=usg.ugp_key and usg.usr_key=1
    DEBUG,12 Jul 2013 10:19:11,437,[XELLERATE.DATABASE],select ugp.ugp_key, ugp.ugp_name from ugp ugp, usg usg where ugp.ugp_key=usg.ugp_key and usg.usr_key=1
    INFO,12 Jul 2013 10:19:11,439,[XELLERATE.DATABASE],DB read: select distinct ugp.ugp_key, ugp.ugp_name from ugp ugp, gpg gpg where ugp.ugp_key = gpg.ugp_key  and ( gpg.gpg_ugp_key in (1,11063) )
    DEBUG,12 Jul 2013 10:19:11,439,[XELLERATE.DATABASE],select distinct ugp.ugp_key, ugp.ugp_name from ugp ugp, gpg gpg where ugp.ugp_key = gpg.ugp_key  and ( gpg.gpg_ugp_key in (1,11063) )
    INFO,12 Jul 2013 10:19:11,441,[XELLERATE.DATABASE],DB read: select sel.sel_update_allow from sel sel, dob dob, ugp ugp where dob.dob_key=sel.dob_key and ugp.ugp_key=sel.ugp_key and dob.dob_name='com.thortech.xl.dataobj.tcScheduleItem' and (ugp.ugp_key=1 or ugp.ugp_key=11063)
    DEBUG,12 Jul 2013 10:19:11,441,[XELLERATE.DATABASE],select sel.sel_update_allow from sel sel, dob dob, ugp ugp where dob.dob_key=sel.dob_key and ugp.ugp_key=sel.ugp_key and dob.dob_name='com.thortech.xl.dataobj.tcScheduleItem' and (ugp.ugp_key=1 or ugp.ugp_key=11063)
    INFO,12 Jul 2013 10:19:11,443,[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.tcScheduleItem' or dob.dob_name='com.thortech.xl.dataobj.tcBusinessObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
    DEBUG,12 Jul 2013 10:19:11,443,[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.tcScheduleItem' or dob.dob_name='com.thortech.xl.dataobj.tcBusinessObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
    INFO,12 Jul 2013 10:19:11,446,[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.tcSCH' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
    DEBUG,12 Jul 2013 10:19:11,446,[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.tcSCH' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
    DEBUG,12 Jul 2013 10:19:11,449,[XELLERATE.DATABASE],update sch set SCH_STATUS=?, SCH_UPDATE=?, sch_rowver=? where sch_key=1715851 and sch_rowver=HEXTORAW('0000000000000001')
    INFO,12 Jul 2013 10:19:11,453,[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.tcSCH' 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
    DEBUG,12 Jul 2013 10:19:11,453,[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.tcSCH' 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
    INFO,12 Jul 2013 10:19:11,454,[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.tcOSI' or dob.dob_name='com.thortech.xl.dataobj.tcKeylessDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
    DEBUG,12 Jul 2013 10:19:11,454,[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.tcOSI' or dob.dob_name='com.thortech.xl.dataobj.tcKeylessDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
    INFO,12 Jul 2013 10:19:11,456,[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.tcOSI' or dob.dob_name='com.thortech.xl.dataobj.tcKeylessDataObj' 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
    DEBUG,12 Jul 2013 10:19:11,456,[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.tcOSI' or dob.dob_name='com.thortech.xl.dataobj.tcKeylessDataObj' 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
    INFO,12 Jul 2013 10:19:11,459,[XELLERATE.DATABASE],DB read: select unm_undo_mil_key, mil_sequence from unm unm, mil mil where mil.mil_key=unm.unm_undo_mil_key and unm.mil_key=1447 and unm_undo_mil_key not in (select mil.mil_key from mil mil, osi osi where osi.mil_key=mil.mil_key and (mil_create_multiple='0' or mil_create_multiple is null) and osi.orc_key=170417) order by mil_sequence
    DEBUG,12 Jul 2013 10:19:11,459,[XELLERATE.DATABASE],select unm_undo_mil_key, mil_sequence from unm unm, mil mil where mil.mil_key=unm.unm_undo_mil_key and unm.mil_key=1447 and unm_undo_mil_key not in (select mil.mil_key from mil mil, osi osi where osi.mil_key=mil.mil_key and (mil_create_multiple='0' or mil_create_multiple is null) and osi.orc_key=170417) order by mil_sequence
    DEBUG,12 Jul 2013 10:19:11,461,[XELLERATE.DATABASE],select mil_name from mil  where mil_key=?
    DEBUG,12 Jul 2013 10:19:11,463,[XELLERATE.DATABASE],select s1.sch_key, s1.sch_rowver, o.osi_rowver, sta_bucket from osi o, sch s1, dep d, sta s where s.sta_status = s1.sch_status and o.sch_key = s1.sch_key and o.mil_key = d.mil_key and d.dep_key=? and o.orc_key=?
    DEBUG,12 Jul 2013 10:19:11,465,[XELLERATE.DATABASE],select orc.orc_target, orc.orc_parent_key, pkg.pkg_name from orc orc left outer join orc parorc on parorc.orc_key=orc.orc_parent_key  and orc.orc_key=? left outer join pkg pkg on parorc.pkg_key=pkg.pkg_key where orc.orc_key=?
    DEBUG,12 Jul 2013 10:19:11,468,[XELLERATE.DATABASE],select pkg_name from tos, pkg, orc where tos.pkg_key=pkg.pkg_key and tos.tos_key=orc.tos_key and orc.orc_key=?
    DEBUG,12 Jul 2013 10:19:11,471,[XELLERATE.DATABASE],select oiu.oiu_key,oiu_rowver,oiu.ost_key, oiu.usr_key, usr.usr_status from oiu oiu, usr usr where oiu.usr_key=usr.usr_key and oiu.orc_key=?
    INFO,12 Jul 2013 10:19:11,474,[XELLERATE.DATABASE],DB read: select mst.ost_key, ost_status from mst mst, sta sta, ost ost where mst.mil_key=1447 and mst.sta_key=sta.sta_key and sta.sta_status='X' and mst.ost_key=ost.ost_key
    DEBUG,12 Jul 2013 10:19:11,474,[XELLERATE.DATABASE],select mst.ost_key, ost_status from mst mst, sta sta, ost ost where mst.mil_key=1447 and mst.sta_key=sta.sta_key and sta.sta_status='X' and mst.ost_key=ost.ost_key
    INFO,12 Jul 2013 10:19:11,480,[XELLERATE.DATABASE],DB read: select * from orc where orc_key=170417
    DEBUG,12 Jul 2013 10:19:11,480,[XELLERATE.DATABASE],select * from orc where orc_key=170417
    DEBUG,12 Jul 2013 10:19:11,486,[XELLERATE.DATABASE],select /*+ USE_NL(ORC STA)*/ sta.sta_bucket, count(sta.sta_bucket) as bkt from orc orc, sta sta where orc.orc_status=sta.sta_status and orc.orc_parent_key=? and (orc.orc_required_complete is null or orc.orc_required_complete=?)  group by sta.sta_bucket
    DEBUG,12 Jul 2013 10:19:11,489,[XELLERATE.DATABASE],select sta.sta_bucket, count(sta.sta_bucket) as bkt from osi osi, sch sch, mil mil, sta sta where osi.sch_key=sch.sch_key and osi.mil_key=mil.mil_key and sch.sch_status=sta.sta_status and mil.mil_required_complete=? and osi.orc_key=? group by sta.sta_bucket
    INFO,12 Jul 2013 10:19:11,493,[XELLERATE.DATABASE],DB read: select usr_key, orc_target from orc where orc_key = 170417
    DEBUG,12 Jul 2013 10:19:11,493,[XELLERATE.DATABASE],select usr_key, orc_target from orc where orc_key = 170417
    DEBUG,12 Jul 2013 10:19:11,495,[XELLERATE.DATABASE],select obi_key from oiu where orc_key = ?
    INFO,12 Jul 2013 10:19:11,497,[XELLERATE.DATABASE],DB read: select mev.mev_assignee, mev.mev_requester, mev.mev_user, mev.mev_usrmanager, mev.mil_key, mev.emd_key, sta.sta_status from mev mev, sta sta where mev.sta_key=sta.sta_key
    DEBUG,12 Jul 2013 10:19:11,497,[XELLERATE.DATABASE],select mev.mev_assignee, mev.mev_requester, mev.mev_user, mev.mev_usrmanager, mev.mil_key, mev.emd_key, sta.sta_status from mev mev, sta sta where mev.sta_key=sta.sta_key
    INFO,12 Jul 2013 10:19:11,499,[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.tcScheduleItem' or dob.dob_name='com.thortech.xl.dataobj.tcBusinessObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence
    DEBUG,12 Jul 2013 10:19:11,499,[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.tcScheduleItem' or dob.dob_name='com.thortech.xl.dataobj.tcBusinessObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence
    DEBUG,12 Jul 2013 10:19:11,501,[XELLERATE.DATABASE],select sch.sch_status from sch sch where sch.sch_key=?
    INFO,12 Jul 2013 10:19:11,502,[XELLERATE.DATABASE],DB read: SELECT sta_status, sta_bucket FROM sta
    DEBUG,12 Jul 2013 10:19:11,502,[XELLERATE.DATABASE],SELECT sta_status, sta_bucket FROM sta
    DEBUG,12 Jul 2013 10:19:11,506,[XELLERATE.DATABASE],select oti.oti_key, oti.oti_rowver from oti where oti.sch_key=?
    INFO,12 Jul 2013 10:19:11,508,[XELLERATE.DATABASE],DB read: select * from sch where sch_key=1748948
    DEBUG,12 Jul 2013 10:19:11,508,[XELLERATE.DATABASE],select * from sch where sch_key=1748948
    INFO,12 Jul 2013 10:19:11,562,[XELLERATE.DATABASE],DB read: select count(*) as RecordExists from osi where sch_key=1748948
    DEBUG,12 Jul 2013 10:19:11,562,[XELLERATE.DATABASE],select count(*) as RecordExists from osi where sch_key=1748948
    INFO,12 Jul 2013 10:19:11,565,[XELLERATE.DATABASE],DB Cache read: select * from osi where 1=2
    INFO,12 Jul 2013 10:19:11,566,[XELLERATE.DATABASE],DB read: select mil_key, mil_name, mil_sequence, mil_day, mil_hour, mil_minute,mil_create_multiple, mil_cancel_while_pending, mil_comp_on_rec, mil_required_complete, mil_retry_period, mil_retry_count, evt_key, mil_default_assignee, mil_assign_to_manager from mil where mil_key=0
    DEBUG,12 Jul 2013 10:19:11,566,[XELLERATE.DATABASE],select mil_key, mil_name, mil_sequence, mil_day, mil_hour, mil_minute,mil_create_multiple, mil_cancel_while_pending, mil_comp_on_rec, mil_required_complete, mil_retry_period, mil_retry_count, evt_key, mil_default_assignee, mil_assign_to_manager from mil where mil_key=0
    INFO,12 Jul 2013 10:19:11,570,[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.SCHTM_NO_MIL'
    DEBUG,12 Jul 2013 10:19:11,571,[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.SCHTM_NO_MIL'
    ERROR,12 Jul 2013 10:19:11,579,[XELLERATE.SERVER],Class/Method: tcScheduleItem/getMilestoneInfo Error : ScheduleItem has  No Milestone.
    INFO,12 Jul 2013 10:19:11,579,[XELLERATE.DATABASE],DB read: select orc.orc_status, orc.pkg_key from orc orc where orc.orc_key =
    DEBUG,12 Jul 2013 10:19:11,579,[XELLERATE.DATABASE],select orc.orc_status, orc.pkg_key from orc orc where orc.orc_key =
    ERROR,12 Jul 2013 10:19:11,586,[XELLERATE.DATABASE],select orc.orc_status, orc.pkg_key from orc orc where orc.orc_key =
    java.sql.SQLSyntaxErrorException: ORA-00936: missing expression
      at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:91)
      at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
      at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
      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:1035)
      at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:183)
      at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:780)
      at oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.java:855)
      at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1187)
      at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1378)
      at oracle.jdbc.driver.OracleStatementWrapper.executeQuery(OracleStatementWrapper.java:387)
      at weblogic.jdbc.wrapper.Statement.executeQuery(Statement.java:479)
      at com.thortech.xl.util.JDBCUtils.executeQuery(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown Source)
      at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcScheduleItem.checkApprovalProcess(Unknown Source)
      at com.thortech.xl.dataobj.tcScheduleItem.eventPreInsert(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.util.tcProcessUtilities.cancelORC(Unknown Source)
      at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelProcess(Unknown Source)
      at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
      at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
      at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.revokeObjects(Unknown Source)
      at com.thortech.xl.ejb.beans.tcUserOperationsSession.revokeObjects(Unknown Source)
      at com.thortech.xl.ejb.beans.tcUserOperations_voj9p2_EOImpl.revokeObjects(tcUserOperations_voj9p2_EOImpl.java:2285)
      at Thor.API.Operations.tcUserOperationsClient.revokeObjects(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(SecurityManager.java:121)
      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 $Proxy54.revokeObjects(Unknown Source)
      at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.revokeProvisionedResources(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.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 com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.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:56)
      at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    ERROR,12 Jul 2013 10:19:11,587,[XELLERATE.DATABASE],Class/Method: tcDataBase/readPartialStatement encounter some problems: ORA-00936: missing expression
    java.sql.SQLSyntaxErrorException: ORA-00936: missing expression
      at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:91)
      at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
      at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
      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:1035)
      at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:183)
      at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:780)
      at oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.java:855)
      at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1187)
      at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1378)
      at oracle.jdbc.driver.OracleStatementWrapper.executeQuery(OracleStatementWrapper.java:387)
      at weblogic.jdbc.wrapper.Statement.executeQuery(Statement.java:479)
      at com.thortech.xl.util.JDBCUtils.executeQuery(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown Source)

  • SQL Error: ORA-12899: value too large for column

    Hi,
    I'm trying to understand the above error. It occurs when we are migrating data from one oracle database to another:
    Error report:
    SQL Error: ORA-12899: value too large for column "USER_XYZ"."TAB_XYZ"."COL_XYZ" (actual: 10, maximum: 8)
    12899. 00000 - "value too large for column %s (actual: %s, maximum: %s)"
    *Cause:    An attempt was made to insert or update a column with a value
    which is too wide for the width of the destination column.
    The name of the column is given, along with the actual width
    of the value, and the maximum allowed width of the column.
    Note that widths are reported in characters if character length
    semantics are in effect for the column, otherwise widths are
    reported in bytes.
    *Action:   Examine the SQL statement for correctness.  Check source
    and destination column data types.
    Either make the destination column wider, or use a subset
    of the source column (i.e. use substring).
    The source database runs - Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    The target database runs - Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    The source and target table are identical and the column definitions are exactly the same. The column we get the error on is of CHAR(8). To migrate the data we use either a dblink or oracle datapump, both result in the same error. The data in the column is a fixed length string of 8 characters.
    To resolve the error the column "COL_XYZ" gets widened by:
    alter table TAB_XYZ modify (COL_XYZ varchar2(10));
    -alter table TAB_XYZ succeeded.
    We now move the data from the source into the target table without problem and then run:
    select max(length(COL_XYZ)) from TAB_XYZ;
    -8
    So the maximal string length for this column is 8 characters. To reduce the column width back to its original 8, we then run:
    alter table TAB_XYZ modify (COL_XYZ varchar2(8));
    -Error report:
    SQL Error: ORA-01441: cannot decrease column length because some value is too big
    01441. 00000 - "cannot decrease column length because some value is too big"
    *Cause:   
    *Action:
    So we leave the column width at 10, but the curious thing is - once we have the data in the target table, we can then truncate the same table at source (ie. get rid of all the data) and move the data back in the original table (with COL_XYZ set at CHAR(8)) - without any issue.
    My guess the error has something to do with the storage on the target database, but I would like to understand why. If anybody has an idea or suggestion what to look for - much appreciated.
    Cheers.

    843217 wrote:
    Note that widths are reported in characters if character length
    semantics are in effect for the column, otherwise widths are
    reported in bytes.You are looking at character lengths vs byte lengths.
    The data in the column is a fixed length string of 8 characters.
    select max(length(COL_XYZ)) from TAB_XYZ;
    -8
    So the maximal string length for this column is 8 characters. To reduce the column width back to its original 8, we then run:
    alter table TAB_XYZ modify (COL_XYZ varchar2(8));varchar2(8 byte) or varchar2(8 char)?
    Use SQL Reference for datatype specification, length function, etc.
    For more info, reference {forum:id=50} forum on the topic. And of course, the Globalization support guide.

  • SQL error 942 when logging into shadow system ECC 6.0 upgrade

    Hello,
    I am upgrading an ECC 5.0 system to ECC 6.0, and am trying to log into the shadow system to correct a few activation errors. With just about every transaction I attempt, I get the following error:
    SQL error 942 occurred while accessing program SAPM
    Here is an excerpt from the relevant trace file under /usr/sap/put/<SID>/<Instance>/work:
    A  GENER request remote generation: SAPMS380.
    A  GENER starting inline generation: SAPMS380 (reason: no process available fo
    r remote generation).
    A  GENER got lock for program SAPMS380.
    C  *** ERROR => OCI-call 'OCILobWrite' failed with rc=942
    [dboci.c      2561]
    C  *** ERROR => ORA-942 occurred when writing to a LOB
    [dbsloci.c    10366]
    C  sc_p=112780f80,no=112,idc_p=1127973a0,con=0,act=1,slen=123,smax=1024,#vars=5,
    stmt=11315e9c0,table=REPOLOAD
    C  prep=0,lit=0,nsql=0,lobret=1,#exec=1,dbcnt=1,upsh_p=0,ocistmth_p=11315f5b8
    C  IN : cols=4,rmax=1,xcnt=1,rpc=0,rowi=0,rtot=1,upto=4294967295,rsize=45,vmax=3
    2,bound=1,iobuf_p=112b1c8a0,vda_p=113161020
    C       lobs=1,lmax=4,lpcnt=0,larr=112b1b4c0,lcurr_p=0,rret=0
    C  OUT: cols=1,rmax=1,xcnt=0,rpc=0,rowi=0,rtot=1,upto=0,rsize=4,vmax=64,bound=0,
    iobuf_p=0,vda_p=1131617a0
    C       lobs=1,lmax=4,lpcnt=1,larr=112b1b5c0,lcurr_p=112b1b5c0,rret=1
    C  UPDATE "REPOLOAD" SET "QDATA" = :A0 WHERE "PROGNAME" = :A1 AND "R3STATE" = :A
    2 AND "MACH" = :A3  RET\
    C  URNING "QDATA" INTO :A4;
    B  ***LOG BY4=> sql error 942    performing PUT on table REPOLOAD   [dbrepolo#?
    @ 964] [dbrepolo0964 ]
    B  ***LOG BY0=> ORA-00942: table or view does not exist [dbrepolo#? @ 964] [dbre
    polo0964 ]
    Table REPOLOAD does exist. I am investigating whether it has something to do with the SAPUSER table, but I would appreciate any other ideas anyone may have. I did not encounter this error until the phase ACT_700.
    Regards,
    L. Lessmiller

    Hello Sunny,
    Thanks for your reply. I have looked at Notes 662644 and 400241 thoroughly and cannot find anything wrong with privileges for SAPR3 or SAPR3SHD, nor can I find anything wrong with the OPS$ mechanism.
    Regards,
    L. Lessmiller

  • Update delayed error

    Dear Team,
    Good day.........
    We are using SQL 2005 sp2 as DB &I am facing Update termination error. When
    Creating any document then document no is Generated but it will take time 5 to 10 min to
    Update in Db Table .I am getting Update Delay error. & ABAP error in update etc.
    same time users are complaining that document no lock error is coming & if they used
    the same document no created before2 min back then it is showing document no doesnu2019t
    exit though it already created before 2 min but not showing in table.
    kindly help me for the same.
    Regards
    Rabin nayak
    SAP Basis Team

    Hi
    Error is resolved. that is OS level error.
    Thanks
    bala

  • FRM-40734:Internal Error:PL/SQL error occurred in Adjustment to invoice

    Hello All
    I have problem in AR Trasactions >> Transactions >>Query the invoice >>Actions >> Adjust FRM-40734:Internal Error:PL/SQL error occurred.
    EBS R 12.1.2
    SO. Enterprise Linux Enterprise Linux AS release 4 (October Update 7)
    Last night was generated forms with utility adadmin.
    I hope you can help me my enviorment is PROD
    Regards

    Last night was generated forms with utility adadmin.Was the form generated successfully?
    Have you applied any patches recently?
    If you have any other identical instance (same patchset), rename the form you have in production instance and replace it with the one from the other instance and see if you can reproduce the issue.
    Could you please confirm that you have no invalid objects in the database?
    I hope you can help me my enviorment is PRODPlease log a SR for production issues.
    You may also obtain the FRD file to get more details about the error.
    Steps To Take FRD Trace in 11.5.10 & R12 [ID 867943.1]
    R12: Forms Runtime Diagnostics (FRD), Tracing And Logging For Forms In Oracle Applications [ID 438652.1]
    Thanks,
    Hussein

  • How to troubleshoot SQL error when copying cube

    I was successful in creating Info Package and running it to copy data frin cube  1 to cube2.  However, I get an error when
    Running the package. My source cube has 1.9 million rows. However, Info Package only loaded 30,120 records.  Looking in monitor logs, it shows me following error stack:
    System error in program SAPLRS_EXECPTION and from RS_EXEPTION_TO_MESSAGE
    SQL Error 0
    Unknown error in SQL Interface
    Errors in source system
    When I click on long text button for Unknown error in SQL interface:
    The SQL interface of the application server (DBSL) has reported an unknown error. This error can be caused by:
    - Overflows when aggregated data is read from the database in ABAP.  If this occurs, the definition for the corresponding key figure must be changed.
    - Internal errors
    It seems to be some kind of Overflow error. Is there any way to get  more information on the cause
    Of this erroru2026.
    THANKS A LOT.

    I tried SM50, it shows me all processes, but I still cannot figure how to set developer trace. Following is detailed information on what I am doing in copy of cubes and errors I am getting:
    Subject: Troubleshoot Copy of Cubes
    I have tried to copy several cubes on my BI 7.0 and all of them same error, so I am wondering whether I am doing something fundamentally wrong.
                    System error in program SAPLRS_EXECPTION and from RS_EXEPTION_TO_MESSAGE
                    SQL Error 0
                    Unknown error in SQL Interface
                    Errors in source system
    After error occurs I get following message in mail:
              The error occurred in Extractor.
               Refer to the error message.
                     Procedure
                 How you remove the error depends on the error message.
                     Note
              If the source system is a Client Workstation, then it            is possible that the file that you wanted to load was being edited
    at the time of the data request. Make sure that the file is in
    the specified directory, that it is not being processed at the
    I  looked  in SM21, system logs, whenever error occurs, I see the  u201C
    Database selection with invalid cursor &5&5
    The database interface was called by a cursor (in a FETCH or CLOSE cursor operation) that is not flagged as opened. This can occur if a COMMIT or ROLLBACK was executed within a SELECT loop (which closes all opened cursors), followed by another attempt to access the cursor (for example, the next time the loop is executed).
    I DO NOT UNDERSTAND WHEN I AM COPYING FROM CUBE, WHY SAP BW will  generate u201Cinvalid cursoru201D message. Not sure whether it is normal, i.e., not a real error,
    My cube copying  (from cube 1 to cube 2) is a straightforward procedure:
    a.     Select Copy from Cube 1 and create Cube 2.
    b.     Create Export Data Source from Cube 1 Menu.
    c.     From Cube 2 menu, Create Update rules, In update rules select DataSource as 8Cube1.
    d.     Create an Info Package for 8Cube1 under Infosource/DataSource and then run the package.
    Certain no of records e.g.. 3248 or so get loaded and then the error messages are generated, why?
    Really appreciate any help. I tried SM37, does not give any clue. I also Tried SM50, it shows me the process, but I still cannot figure how to generate developer trace.
    Since behavior is same for several cubes I tried, something else also needs to be done, I do not know what???

Maybe you are looking for

  • User exits for payroll PCPO0001- EXIT_RPCIPE00_002 not working

    We have activated User exit PCPO0001- EXIT_RPCIPE00_002, requirement was to set the line item text SGTXT of the subsequent Accounting document, but there seem to be no activity happening for it  (assigned breakpoints in the exit codes but transaction

  • I  updated iTunes and Safari and my iTunes library has vanished

    Help, earlier today I was in Safari and it got hung for so long (10 or more minutes) that I turned to computer off by pressing the power button (I know this was not the best course of action, but I couldn't remember the keystroke command to force qui

  • Imported swfs getting data from main swf

    Hi everybody, I'm struggling shaking my old school AS2 mindset here. I've got a main swf which loads a bunch of subordinate swfs. I need my loaded swfs to see some variables in the main. For instance (example simplified for conversational purposes),

  • Clickable Link in iDVD - Possible?

    Hi I've got a feeling that I know the answer to this one, but I'll ask anyway. Is it possible to put a clickable link onto a DVD produced in iDVD? For example if someone wanted to put the produced DVD in to a Mac (or indeed a PC) and click a link to

  • Filemaker Pro 9 file won't print p 4  pdf issue?  Good Filemaker Pro site?

    Today is one of those print file from hades days. A 77 page file in Filemaker Pro 9 will print until it gets to page four. Then the printer times out and drops the file. What printer you ask? Well, the first ten tries were on a Laserwriter Pro 16/600