SQL error 1691 in qrfc monitor

Hi,
I am running a simple file - xi - mail scenario. In SXMB_MONI, the xml messages are showing a green flag, and messages are stuck in inbound queue. The error is SYSFAIL: SQL error 1691 occurred when accessing table SXMSCLUP2. Has anyone faced this issue? Any suggestions?
Thanks..

Hi Moorthy,
I have already tried restarting the queues. They just get stuck again!
I will take a look at the note and see if that works. In the meantime, do let me know if you can come up with any other solutions..
Thanks!
Lasya

Similar Messages

  • Receiving SQL Error: INTERNAL_ERROR  while executing the query

    Dear All,
    I am receiving the below error while executing a query.
    SQL Error: INTERNAL_ERROR
    Diagnosis
    The database system registered an SQL error. As available, the error number and a description are included in the short text. Possible causes for SQL errors include:
    Overflow of database objects such as buffers, temporary tablespaces, rollback segments or data containers/tablespaces.
    ->These problems can generally be eliminated by system administrators.
    Missing generated database objects such as tables or views based on inconsistent or inactive InfoCubes or InfoObjects. Examples of this include the view of the fact table for an InfoCube or the attribute SID table (X/Y table) of a characteristic.
    -> These problems can generally be eliminated by a BW administrator.
    SQL requests with incorrect content.
    -> Problems of this type are generally programming errors.
    System Response
    Procedure
    Contact your system administrator.
    Procedure for System Administration
    If there is no error description, look for one in the reference from the database producer.
    Decide on the correct category for the SQL error and check if it can be eliminated. Generally the error can also be found in the syslog (transaction sm21). From there, transactions sm51 and sm50, the developer's trace log of the work process can be determined and the erroneous statement can be viewed in the log. This procedure is described in SAP Note 568768.
    Notification Number DBMAN 257 
    I verified the table spaces and also done RSRV Repair of InfoObjects and InfoCubes and didnt find any error. But I am receiving this error for one particular month and remaining months are executing fine. Any ideas why i am receiving this error.
    Regards
    Ravi Y

    OSS Note 1305568:
    Symptom
    A data mart query that
    you want to execute within a data transfer process (DTP), for example, terminates with the
    SQL error -1013 "Too many order columns".
    The following is displayed in the monitor log of the data transfer process:
    Error while extracting from source xxxxxx (type InfoProvider)
    Message number RSBK 242
    Exception CX_SQL_EXCEPTION occurred (program:
    CL_SQL_STATEMENT==============CP, include:
    CL_SQL_STATEMENT==============CM004, line: 32).
    Message number RS_EXCEPTION 000
    SQL error: POS(3306) Too many order columns
    Message number DBMAN 257
    Error reading the data of InfoProvider xxxxxx
    Message number DBMAN 305
    You have already implemented Note 1065380.
    Other terms
    CX_SQL_EXCEPTION, message number, RS_EXCEPTION 000, DBMAN 257,  RSBK 242,
    RS_EXCEPTION 000
    Reason and Prerequisites
    The MaxDB internal limit of 4016 bytes or 128 fields for GROUP BY columns was exceeded.
    Solution
    When you implement these corrections, no aggregation is performed for the data (GROUP BY) if the limits of the MaxDB database have been exceeded.
    The limit values for the aggregation bahavior can also be manually reduced if there are problems with the default values.
    Two RSADMIN parameters are provided for this.
    MAXDB_MAX_GROUP_BY_FLDS is the maximum number of GROUP BY fields. The default value is 128.
    MAXDB_MAX_GROUP_BY_LEN is the maximum total length of the GROUP BY fields. The default value is 4000.
    SAP NetWeaver BI 7.00
               Import Support Package 21 for SAP NetWeaver BI 7. 00 (SAPKW70021) into your BI system. The Support Package is available when Note 1270629"SAPBINews NW 7.00 BI Support Package 21", which describes this Support Package in more detail, is released for customers.

  • SQL Error on MBAM ISS server while MBAM client encryption

    Hi
    While I am starting the encryption through MBAM client getting below error..
    unable to connect to the MBAM recovery and hardware service
    An error occurred while sending encryption status data
    for resolve this issue I have done the
    http://support.microsoft.com/kb/2612822?wa=wsignin1.0
     Also on MBAM server (where Self service and monitoring components installed)I am getting below SQl error  while encryption starts on MBAM client machines. can you please suggest for resolve this issue
    Error:-
    Log Name:      Application
    Source:        ASP.NET 2.0.50727.0
    Date:          4/2/2014 2:50:15 PM
    Event ID:      1310
    Task Category: Web Event
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      BOMVMSSIPS01.KALPATARUGROUP.COM
    Description:
    Event code: 100002
    Event message: SQL error occured
    Event time: 4/2/2014 2:50:15 PM
    Event time (UTC): 4/2/2014 9:20:15 AM
    Event ID: 502b42574bbf4c95b66fea631dbf3428
    Event sequence: 42
    Event occurrence: 41
    Event detail code: 0
    Application information:
        Application domain: /LM/W3SVC/2/ROOT/MBAMComplianceStatusService-1-130409000569502687
        Trust level: Full
        Application Virtual Path: /MBAMComplianceStatusService
        Application Path: C:\inetpub\Microsoft BitLocker Management Solution\Compliance Status Service\
        Machine name: BOMVMSSIPS01
    Process information:
        Process ID: 2580
        Process name: w3wp.exe
        Account name: NT AUTHORITY\NETWORK SERVICE
    Exception information:
        Exception type: SqlException
        Exception message: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured
    to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
    Request information:
        Request URL: 
        Request path: 
        User host address: 
        User: 
        Is authenticated: False
        Authentication Type: 
        Thread account name: NT AUTHORITY\NETWORK SERVICE
    Thread information:
        Thread ID: 15
        Thread account name: NT AUTHORITY\NETWORK SERVICE
        Is impersonating: False
        Stack trace:    at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject,
    Boolean withFailover)
       at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject, Boolean withFailover)
       at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)
       at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options)
       at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
       at System.Data.SqlClient.SqlConnection.Open()
       at Microsoft.MBAM.ReportingService.DataProcessor.ProcessStatusReportInfo(StatusInfoType reportInfo)
    Custom event details:
        Application: MBAMComplianceStatusService
        Sql Server:
        Database: MBAM Compliance Status
        Sql ErrorCode: -1
        Error Message: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured
    to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="ASP.NET 2.0.50727.0" />
        <EventID Qualifiers="32768">1310</EventID>
        <Level>3</Level>
        <Task>3</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-04-02T09:20:15.000000000Z" />
        <EventRecordID>9161</EventRecordID>
        <Channel>Application</Channel>
        <Computer>BOMVMSSIPS01.KALPATARUGROUP.COM</Computer>
        <Security />
      </System>
      <EventData>
        <Data>100002</Data>
        <Data>SQL error occured</Data>
        <Data>4/2/2014 2:50:15 PM</Data>
        <Data>4/2/2014 9:20:15 AM</Data>
        <Data>502b42574bbf4c95b66fea631dbf3428</Data>
        <Data>42</Data>
        <Data>41</Data>
        <Data>0</Data>
        <Data>/LM/W3SVC/2/ROOT/MBAMComplianceStatusService-1-130409000569502687</Data>
        <Data>Full</Data>
        <Data>/MBAMComplianceStatusService</Data>
        <Data>C:\inetpub\Microsoft BitLocker Management Solution\Compliance Status Service\</Data>
        <Data>BOMVMSSIPS01</Data>
        <Data>    Application: MBAMComplianceStatusService
        Sql Server:
        Database: MBAM Compliance Status
        Sql ErrorCode: -1
        Error Message: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured
    to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
    </Data>
        <Data>2580</Data>
        <Data>w3wp.exe</Data>
        <Data>NT AUTHORITY\NETWORK SERVICE</Data>
        <Data>SqlException</Data>
        <Data>A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to
    allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)</Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>False</Data>
        <Data>
        </Data>
        <Data>NT AUTHORITY\NETWORK SERVICE</Data>
        <Data>15</Data>
        <Data>NT AUTHORITY\NETWORK SERVICE</Data>
        <Data>False</Data>
        <Data>   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject,
    Boolean withFailover)
       at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject, Boolean withFailover)
       at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)
       at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options)
       at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
       at System.Data.SqlClient.SqlConnection.Open()
       at Microsoft.MBAM.ReportingService.DataProcessor.ProcessStatusReportInfo(StatusInfoType reportInfo)
    </Data>
      </EventData>
    </Event>
    Shailendra Dev

    You are using Java import syntax. You should use @page directive in JSP pages. Refer to: http://java.sun.com/products/jsp/syntax/2.0/syntaxref2010.html
    [The line "org.apache.jasper.JasperException: /result.jsp(1,4) Invalid directive"
    in the stack trace tells you that there is no @import directive]

  • Error ODS activation - sql error when accessing a table.

    Hi,
    sometimes occurs an error by activation ODS. I have proces chain and when is loaded second packet an error occurs. In monitor>>
    -RSMPC 128, datapacket 3 is wrong, with status number 9
    -RSMPC 131
    -RSDRO 108 - communcation error (sql error when accessing a table)
    In sm21>
    -sql error when accessing a table
    -The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', was  
    either                                                      caught nor passed along using a RAISING clause, in the procedure <b>"UPDATE_ATAB"</b>   "(FORM)"                                                                    
    Since the caller of the procedure could not have expected this exception     
       to occur, the running program was terminated.                               
      The reason for the exception is:                                             
      The database system recognized that your last operation on the database      
      would have led to a deadlock.                                                
      Therefore, your transaction was rolled back                                  
      to avoid this.                                                                       
      ORACLE always terminates any transaction that would result in deadlock.      
      The other transactions involved in this potential deadlock                   
      are not affected by the termination.
    I have BW 3.5.
    Thank You very much.

    There are a few different scenarios that I can think of where this might come up that all involve what might resulting in parallel (concurrent)processes:
    Loading packets in parallel - that is there are X number of processes loading packets concurrently. This could be set in your IMG settings system wide or in the InfoPackage for just this datasource.   You seem to indicate that you don't have this.
    Database parallel processing - RSAMDIN - ORA_PARALLEL_DEGREE ( there was a different RSADMIN parm for older versions - forget what SP the change came with).
    You have multiple InfoPackages for the datasource, each loading what should be a different range of data, and they run atthe same time.
    You could be loading from two different datasources to the ODS at the same time.
    If any of these are true, I would look at bumping the INITRANS setting up.  Your DBA will probably need to do this for table and its indices.  There is a Note - 831234 that allows you to create a parameter in RSADMIN that will specify a INITRANS value (e.g. 20) rather than using the default. The ODS would need to be activated to pick this new setting up for the table to be altered. 
    You could also look at the Processing settings for the InfoPackage and change to PSA first, then target to see if that helps. 
    Or if you are loading from two different datasources at the same time, you might adjust your schedule so that doesn't happen.
    Pizzaman

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

  • In SMQ1 (qRFC Monitor) status

    Hi,
    In SMQ1 (qRFC Monitor) I have status 'NOSEND'. In the table TRFCQOUT, some entries have the status 'READY', others 'RECORDED'. ARFCSSTATE is 'READ'. What do these statuses mean? Which values in the field 'Status' mean what and which values are correct and which are alarming? Are the statuses BW-specific or generally valid in qRFC?
    Thanks,
    Pradeep

    Hey pradeep,
    Don't post the interview question over here.
    Table TRFCQOUT and ARFCSSTATE: Status READ means that the record was read once either in a delta request or in a repetition of the delta request. However, this does not mean that the record has successfully reached the BW yet. The status READY in the TRFCQOUT and RECORDED in the ARFCSSTATE means that the record has been written into the DeltaQueue and will be loaded into the BW with the next delta request or a repetition of a delta. In any case only the statuses READ, READY and RECORDED in both tables are considered to be valid. The status EXECUTED in TRFCQOUT can occur temporarily. It is set before starting a DeltaExtraction for all records with status READ present at that time. The records with status EXECUTED are usually deleted from the queue in packages within a delta request directly after setting the status before extracting a new delta. If you see such records, it means that either a process which is confirming and deleting records which have been loaded into the BW is successfully running at the moment, or, if the records remain in the table for a longer period of time with status EXECUTED, it is likely that there are problems with deleting the records which have already been successfully been loaded into the BW. In this state, no more deltas are loaded into the BW. Every other status is an indicator for an error or an inconsistency. NOSEND in SMQ1 means nothing (see note 378903). The value 'U' in field 'NOSEND' of table TRFCQOUT is discomforting.
    Hopefully this is the correct answer that u were looking for your question
    Thanks,
    Om Ambulker

  • Qrfc Monitor

    Hi All,
    when activating the integration models i receive the message Outbound Queue blocked in a dialog box , In the dialog box i have three options 1. Qrfc monitor , 2. Ignore and 3. Cancel. when i click qrfc monitor , i can see a status SYSFAIL.
    how I can i proceed with issue now , how can i release the block in the queue,
    becoz whenever i activate any of the integration model , I receive the same error
    Outbound Queue blocked in a dialog box .
    Thanks
    Shan

    Hi Shan,
    In SMQ1 (Outbound Queue Manager) put in the appropriate Queue Destination and Execute F8. This takes you to next screen - where all the stuck queues/blocks are listed. You need to select each and either double-click on the queue name of press F7 (Display Selection) which takes you to next screen.
    This screen shows more details of the queue. You can try selecting the queue block and click on the Matchstick icon F6 (Activate Queue). If there are multiple entires in the queue block then you can doubleclick on the queue name or F7 to list the inidividual queues. Select the queue which says SYSFAIL and try fixing the root cause before you select the queue and press F6 - Execute LUW. Please note unless you have fixed the root cause of the queue you can not process it. It will continue to give you the error.
    Also when you are trying to activate the integration model and getting the error - try selecting the Ignore option and see what happens. Sometimes the stuck queue is for something else than what you are trying to transfer and system by design flags it when you do the integration model activation.
    Hope this helps. Do provide further details like the type of queue stuck, the integration model you are trying to activate if you continue having the problem. Screenshots are preferable - but then not sure how you can put them here.
    Thanks,
    Somnath

  • SQL Error: 206-

    Hi, I'm executing an infopackage in a datamart and the monitor of that request tell me that there is a "SQL Error: 206-" and "Errors in source system". What could be happening?. This is not the first time we execute this infopackage, but it is the first time we get this error.
    Please help me to find out what is happening?
    Regards,
    Miguel Campos

    Hi Miguel,
    Kindly go to the Source System and go to <b>ST22</b> (ABAP Dump) for a more detailed explanation of the Error.
    That <b>SQL Error 206</b> may mean more than 1 error. Could be that the system has experienced <b>DEAD LOCKS</b>, a <b>Shortage Of Disk Space</b>, etc. etc.
    --Jkyle

  • BR0301W SQL error -1017

    Hi,
    I want to management and monitoring to a oracle remote database (JAVA database). I´ve made the connection from dbacockpit and I´ve put the user of schema sapsr3db and the connection it´s succesfully established
    -- MESSAGE Database connection Java_db established successfully
    But I want to schedule the administrative actions for DB, via DB13 I´ve always the next message error:
    Parameters:-u / -jid LOG__20110501373222 -sid D10 -c force -p initepd.sap -sd
    BR0002I BRARCHIVE 7.00 (52)
    BR0252E Function fopen() failed for 'F:oracleorasap102databaseinitepd.sap' at location BrInitSapRead-1
    BR0253E errno 13: Permission denied
    BR0159E Error reading BR*Tools profile F:oracleorasap102databaseinitepd.sap
    BR0280I BRARCHIVE time stamp: 2011-05-01
    BR0301W SQL error -1017 at location BrDbConnect-2, SQL statement:
    'CONNECT /'
    ORA-01017: invalid username/password; logon denied
    BR0310W Connect to database instance D10 failed
    BR0007I End of offline redo log processing: aefuiaiw.log 2011-05-01
    BR0280I BRARCHIVE time stamp: 2011-05-01
    BR0005I BRARCHIVE terminated with errors
    External program terminated with exit code 3
    BRARCHIVE returned error status E
    I´ve found several notes with this error 480266 , 400241, 113747, 651351 but I´m not sure that It´s the same error.
    More thanks.

    <owner> | (<owner_list>)
    default: all SAP owners
    next_owner = sapr3
    database objects to adapt next extents
    all | all_ind | special | [<owner>.]<table> | [<owner>.]<index>
    | [<owner>.][<prefix>]*[<suffix>] | <tablespace> | (<object_list>)
    default: all abjects of selected owners, example:
    next_table = (SDBAH, SAPR3.SDBAD)
    database objects to be excluded from adapting next extents
    all_part | [<owner>.]<table> | [<owner>.]<index>
    | [<owner>.][<prefix>]*[<suffix>] | <tablespace> | (<object_list>)
    default: no exclusion, example:
    next_exclude = (SDBAH, SAPR3.SDBAD)
    database objects to get special next extent size
    all_sel:<size>[/<limit>] | [<owner>.]<table>:<size>[/<limit>]
    | [<owner>.]<index>:<size>[/<limit>]
    | [<owner>.][<prefix>]*[<suffix>]:<size>[/<limit>]
    | (<object_size_list>)
    default: according to table category, example:
    next_special = (SDBAH:100K, SAPR3.SDBAD:1M/200)
    maximum next extent size
    default: 2 GB - 5 * <database_block_size>
    next_max_size = 1G
    maximum number of next extents
    default: 0 - unlimited
    next_limit_count = 300
    database owner of objects to update statistics
    <owner> | (<owner_list>)
    default: all SAP owners
    stats_owner = sapr3
    database objects to update statistics
    all | all_ind | all_part | missing | info_cubes | dbstatc_tab
    | dbstatc_mon | dbstatc_mona | [<owner>.]<table> | [<owner>.]<index>
    | [<owner>.][<prefix>]*[<suffix>] | <tablespace> | (<object_list>)
    | harmful | locked | system_stats | oradict_stats | oradict_tab
    default: all abjects of selected owners, example:
    stats_table = (SDBAH, SAPR3.SDBAD)
    database objects to be excluded from updating statistics
    all_part | info_cubes | [<owner>.]<table> | [<owner>.]<index>
    | [<owner>.][<prefix>]*[<suffix>] | <tablespace> | (<object_list>)
    default: no exclusion, example:
    stats_exclude = (SDBAH, SAPR3.SDBAD)
    method for updating statistics for tables not in DBSTATC
    E | EH | EI | EX | C | CH | CI | CX | A | AH | AI | AX | E= | C= | =H
    | =I | =X | +H | +I
    default: according to internal rules
    stats_method = E
    sample size for updating statistics for tables not in DBSTATC
    P<percentage_of_rows> | R<thousands_of_rows>
    default: according to internal rules
    stats_sample_size = P10
    number of buckets for updating statistics with histograms
    default: 75
    stats_bucket_count = 75
    threshold for collecting statistics after checking
    <threshold> | (<threshold> [, all_part:<threshold>
    | info_cubes:<threshold> | [<owner>.]<table>:<threshold>
    | [<owner>.][<prefix>]*[<suffix>]:<threshold>
    | <tablespace>:<threshold> | <object_list>])
    default: 50%
    stats_change_threshold = 50
    number of parallel threads for updating statistics
    default: 1
    stats_parallel_degree = 1
    processing time limit in minutes for updating statistics
    default: 0 - no limit
    stats_limit_time = 0
    parameters for calling DBMS_STATS supplied package
    all:R|B[<buckets>|A|S|R]:0|<degree>A|D
    | all_part:R|B[<buckets>|A|S|R]:0|<degree>A|D
    | info_cubes:R|B:A|D|0|<degree>
    | [<owner>.]<table>:R|B[<buckets>|A|S|R]:0|<degree>A|D
    | [<owner>.][<prefix>]*[<suffix>]:R|B[<buckets>|A|S|R]:0|<degree>A|D
    | (<object_list>) | NO
    R|B[<buckets>|A|S|R]:
    'R' - row sampling, 'B' - block sampling,
    <buckets> - histogram buckets count, 'A' - auto buckets count,
    'S' - skew only, 'R' - repeat
    <degree>A|D:
    <degree> - dbms_stats parallel degree, '0' - table degree,
    'A' - auto degree, 'D' - default degree
    default: ALL:R:0
    stats_dbms_stats = ([ALL:R:1,][<owner>.]<table>:R:<degree>,...)
    definition of info cube tables
    default | rsnspace_tab | [<owner>.]<table>
    | [<owner>.][<prefix>]*[<suffix>] | (<object_list>) | null
    default: rsnspace_tab
    stats_info_cubes = (/BIC/D, /BI0/D, ...)
    special statistics settings
    (<table>:[<owner>]:<active>:[<method>]:[<sample>], ...)
    stats_special = (<special_list>)
    recovery type [complete | dbpit | tspit | reset | restore | apply
    | disaster]
    default: complete
    recov_type = complete
    directory for brrecover file copies
    default: $SAPDATA_HOME/sapbackup
    recov_copy_dir = E:\oracle\D10\sapbackup
    time period for searching for backups
    0 - all available backups, >0 - backups from n last days
    default: 30
    recov_interval = 30
    degree of paralelism for applying archive log files
    0 - use Oracle default parallelism, 1 - serial, >1 - parallel
    default: Oracle default
    recov_degree = 0
    number of lines for scrolling in list menus
    0 - no scrolling, >0 - scroll n lines
    default: 20
    scroll_lines = 20
    time period for displaying profiles and logs
    0 - all available logs, >0 - logs from n last days
    default: 30
    show_period = 30
    directory for brspace file copies
    default: $SAPDATA_HOME/sapreorg
    space_copy_dir = E:\oracle\D10\sapreorg
    directory for table export dump files
    default: $SAPDATA_HOME/sapreorg
    exp_dump_dir = E:\oracle\D10\sapreorg
    database tables for reorganization
    [<owner>.]<table> | [<owner>.][<prefix>]*[<suffix>]
    | [<owner>.][<prefix>]%[<suffix>] | (<table_list>)
    no default
    reorg_table = (SDBAH, SAPR3.SDBAD)
    database indexes for rebuild
    [<owner>.]<index> | [<owner>.][<prefix>]*[<suffix>]
    | [<owner>.][<prefix>]%[<suffix>] | (<index_list>)
    no default
    rebuild_index = (SDBAH0, SAPR3.SDBAD0)
    database tables for export
    [<owner>.]<table> | [<owner>.][<prefix>]*[<suffix>]
    | [<owner>.][<prefix>]%[<suffix>] | (<table_list>)
    no default
    exp_table = (SDBAH, SAPR3.SDBAD)
    database tables for import
    <table> | (<table_list>)
    no default
    do not specify table owner in the list - use -o|-owner option for this
    imp_table = (SDBAH, SDBAD)

  • DbSl Trace: CONNECT failed with sql error '12518'  at IMPORT ABAP

    Hi
    We are trying to install ECC 6.0 on windows 2008 SP2 and oracle 10.2.0.4. We get an error at IMPORT ABAP phase.
    content of import_monitor.java :
    java version "1.4.2_26"
    Java(TM) Platform, Standard Edition for Business (build 1.4.2_26-b03)
    Java HotSpot(TM) 64-Bit Server VM (build 1.4.2_26-b03, mixed mode)
    Import Monitor jobs: running 1, waiting 1, completed 26, failed 0, total 28.
    Loading of 'SAPSLOAD' import package: ERROR
    Import Monitor jobs: running 0, waiting 1, completed 26, failed 1, total 28.
    content of SAPSLOAD.log:
    E:\usr\sap\UED\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20100705173108
    E:\usr\sap\UED\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/701_REL/src/R3ld/R3load/R3ldmain.c#5 $ SAP
    E:\usr\sap\UED\SYS\exe\uc\NTAMD64\R3load.exe: version R7.01/V1.4 [UNICODE]
    Compiled Feb 24 2009 23:41:07
    E:\usr\sap\UED\SYS\exe\uc\NTAMD64\R3load.exe -i SAPSLOAD.cmd -dbcodepage 4103 -l SAPSLOAD.log -stop_on_error
    DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12518
    DbSl Trace: CONNECT failed with sql error '12518'
    DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12518
    DbSl Trace: CONNECT failed with sql error '12518'
    (DB) ERROR: db_connect rc = 256
    DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12518
    DbSl Trace: CONNECT failed with sql error '12518'
    DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12518
    DbSl Trace: CONNECT failed with sql error '12518'
    (DB) ERROR: DbSlErrorMsg rc = 99
    E:\usr\sap\UED\SYS\exe\uc\NTAMD64\R3load.exe: job finished with 1 error(s)
    E:\usr\sap\UED\SYS\exe\uc\NTAMD64\R3load.exe: END OF LOG: 20100705173108
    content of sqlnet.log file:
    Fatal NI connect error 12560, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleUED)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(CONNECT_DATA=(SID=UED)(CID=(PROGRAM=E:\oracle\UED\102\bin\sqlplus.exe)(HOST=U34SSAPUED)(USER=uedadm))))
      VERSION INFORMATION:
         TNS for 64-bit Windows: Version 10.2.0.4.0 - Production
         Oracle Bequeath NT Protocol Adapter for 64-bit Windows: Version 10.2.0.4.0 - Production
      Time: 05-JUL-2010 16:19:39
      Tracing not turned on.
      Tns error struct:
        ns main err code: 12560
        TNS-12560: TNS:protocol adapter error
        ns secondary err code: 0
        nt main err code: 530
        TNS-00530: Protocol adapter error
        nt secondary err code: 2
        nt OS err code: 0
    Fatal NI connect error 12518, connecting to:
    (DESCRIPTION=(ADDRESS=(COMMUNITY=SAP.WORLD)(PROTOCOL=TCP)(HOST=u34ssapued)(PORT=1527))(CONNECT_DATA=(SID=UED)(GLOBAL_NAME=UED.WORLD)(CID=(PROGRAM=E:\usr\sap\UED\SYS\exe\uc\NTAMD64\R3load.exe)(HOST=U34SSAPUED)(USER=uedadm))))
      VERSION INFORMATION:
         TNS for 64-bit Windows: Version 10.2.0.2.0 - Production
         Windows NT TCP/IP NT Protocol Adapter for 64-bit Windows: Version 10.2.0.2.0 - Production
      Time: 05-JUL-2010 17:28:38
      Tracing not turned on.
      Tns error struct:
        ns main err code: 12564
        TNS-12564: TNS:connection refused
        ns secondary err code: 0
        nt main err code: 0
        nt secondary err code: 0
        nt OS err code: 0
    Best Regards...,

    Hi,
    TNS-12560: TNS:protocol adapter error
    Probably your listener or database is down...
    If both are running, just stop the installation and reboot the server.
    Then again start listener and database and continue SAP installation with "Continue old installation" option..
    Also make sure that below environment variables are set properly...
    ORACLE_HOME
    ORACLE_SID
    DBSID
    Regards.
    Rajesh Narkhede

  • SAP installation stopped at ABAP load error: sql error '12537'

    Hi ,
    I am installing SAP ECC 6.0 with EHP4 and ABAP  with Oracle 11G on AIX 6.1 load ended up with the error as below, please help
    Import Monitor jobs: running 3, waiting 13, completed 9, failed 3, total 28.
    Loading of 'TODIR' import package: OK
    Import Monitor jobs: running 2, waiting 13, completed 10, failed 3, total 28.
    Import Monitor jobs: running 3, waiting 12, completed 10, failed 3, total 28.
    Loading of 'SAPPOOL' import package: ERROR
    Import Monitor jobs: running 2, waiting 12, completed 10, failed 4, total 28.
    Loading of 'E071K' import package: OK
    Import Monitor jobs: running 1, waiting 12, completed 11, failed 4, total 28.
    Import Monitor jobs: running 2, waiting 11, completed 11, failed 4, total 28.
    Import Monitor jobs: running 3, waiting 10, completed 11, failed 4, total 28.
    Loading of 'SAPSDOCU' import package: ERROR
    Import Monitor jobs: running 2, waiting 10, completed 11, failed 5, total 28.
    Loading of 'SAPSPROT' import package: OK
    Import Monitor jobs: running 1, waiting 10, completed 12, failed 5, total 28.
    Import Monitor jobs: running 2, waiting 9, completed 12, failed 5, total 28.
    Import Monitor jobs: running 3, waiting 8, completed 12, failed 5, total 28.
    Loading of 'SAPSLOAD' import package: ERROR
    Import Monitor jobs: running 2, waiting 8, completed 12, failed 6, total 28.
    Loading of 'SAPCLUST' import package: OK
    Import Monitor jobs: running 1, waiting 8, completed 13, failed 6, total 28.
    Import Monitor jobs: running 2, waiting 7, completed 13, failed 6, total 28.
    Import Monitor jobs: running 3, waiting 6, completed 13, failed 6, total 28.
    Loading of 'SAPUSER' import package: ERROR
    Import Monitor jobs: running 2, waiting 6, completed 13, failed 7, total 28.
    tail -20 SAPSSRC.log
    DbSl Trace: CONNECT failed with sql error '12537'
    DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12537
    DbSl Trace: CONNECT failed with sql error '12537'
    (DB) ERROR: db_connect rc = 256
    DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12537
    DbSl Trace: CONNECT failed with sql error '12537'
    DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12537
    DbSl Trace: CONNECT failed with sql error '12537'
    (DB) ERROR: DbSlErrorMsg rc = 99
    /usr/sap/HRQ/SYS/exe/uc/rs6000_64/R3load: job finished with 1 error(s)
    /usr/sap/HRQ/SYS/exe/uc/rs6000_64/R3load: END OF LOG: 20111105170542
    tail -20 FUPARAREF.log
    DbSl Trace: CONNECT failed with sql error '12537'
    DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12537
    DbSl Trace: CONNECT failed with sql error '12537'
    (DB) ERROR: db_connect rc = 256
    DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12537
    DbSl Trace: CONNECT failed with sql error '12537'
    DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12537
    DbSl Trace: CONNECT failed with sql error '12537'
    (DB) ERROR: DbSlErrorMsg rc = 99
    /usr/sap/HRQ/SYS/exe/uc/rs6000_64/R3load: job finished with 1 error(s)
    /usr/sap/HRQ/SYS/exe/uc/rs6000_64/R3load: END OF LOG: 20111105170611

    Reasons can be many, you please check whether oracle and listener are up or not. Check 'R3trans -d' and trans.log
    Similar problem thread -
    error when applying PI_BASIS patch SAPKIPYM03 on ECC 6
    Thanks

  • SQL Error while running a report

    Hi Experts,
    I am getting an error like below while running a report for particular sales Organization and Company code combination
    *SQL Error: 83-*
    *SQL0083C A memory allocation error has occured*
    *Errors occured during parellel processing of query 30,RC:3*
    *error while reading data: navigation is possible*
    we are getting this error for the combination of Sales Org & Comp.code.
    if run simply for Sales Org. no error.
    Thanks
    Regards,
    <M@Hi>

    Hi Raj,
    There are a few OSS Notes for your issue.
    If your Query has hierarchy in it then check 734184
    If your query is based on Infoset then check Note 784502 and 701941.
    Also check 668921.
    Bye
    Dinesh

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

  • Rep-1401: formula name : Fatal Pl/SQL error occured

    Hi,
    I am using report builder 6.0 and recently came across a error while running the report. Rep-1401:<formula name> : Fatal Pl/SQL error occured.
    I created a formula column in the report. In that i have three local variable.
    f_val number := 0;
    s_val number := 0;
    t_val number := 0;
    t_val := f_val/s_val ; --> this gives the above fatal error.
    t_val := (f_val + 1)/s_val; --> this gives the above fatal error
    t_val := f_val/(s_val + 1); ---> no error
    if i change the value of s_val
    s_val := 1;
    t_val := f_val/(s_val - 1) ; ----> this gives the above fatal error.
    Can anyone help me to solve this problem or is it report builder bug.
    Please help me, as i desperately need help.
    Thanks

    Thanks for ur reply.
    I used nvl too, but the same error occurred.
    For the information in my question I by mistake typed
    t_val := (f_val + 1)/s_val; --> this gives the above fatal error.
    but when the value of f_val = zero and s_val is zero why it gives fatal error when i divide, i used nvl on both the variable while dividing but still got the same error.
    but if s_val is greater than zero then no error occurs.
    please help me, I feel it is a bug.

  • Rep-1401 : Fatal PL/SQL error occured

    Hi,
    I am using report builder 6.0 and recently came across a error while running the report. Rep-1401:<formula name> : Fatal Pl/SQL error occured.
    I created a formula column in the report. In that i have three local variable.
    f_val number := 0;
    s_val number := 0;
    t_val number := 0;
    t_val := f_val/s_val ; --> this gives the above fatal error.
    t_val := (f_val + 1)/s_val; --> this gives the above fatal error
    t_val := f_val/(s_val + 1); ---> no error
    if i change the value of s_val
    s_val := 1;
    t_val := f_val/(s_val - 1) ; ----> this gives the above fatal error.
    Can anyone help me to solve this problem or is it report builder bug.
    Please help me, as i desperately need help.
    Thanks

    The best way to handle this is to just add an exception handler that handles a zero divide.
    EX:
    function...blah
    var3:=var/var2...
    EXCEPTION
    when zero_divide then
    var3:= 0;Zero Divide is a built-in exception to handle cases just like this - so if you run into it, you can set it to whatever you want

Maybe you are looking for

  • Dell S1555-2817MBU resolution

    I purchased this dell last night for in store pick up but havent went to pick it up yet because people are saying the spec's on your website are wrong. 15.6" LED-backlit high-definition plus widescreen display With TrueLife technology and 1600 x 900

  • Convert Binary Data into Pdf & send it as attachment in a mail from R/3

    Hi, Scenario: The interactive form saved in WebDynpro Application is sent to R/3 in binary format. It has to be converted into pdf and sent it as an attachment in mail to the respective person in workflow. Kindly help on these issues : 1. How to rece

  • Transparency for plots in graphs and charts

    In addition or extention  to this idea http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Graphs-and-Charts-with-semi-transparent-fill-option/idi-p/1530960 I would like to have a transparency control/property in the colour selection for plots in graphs an

  • Bluray and DVD darker and more chroma than same sequence done on PC???

    First, I have a HDV 1080i60 sequence done in FCP 7. I export a quicktime and create MPEG 2 Bluray files in Compressor and create a bluray disc with Encore CS4 on the Mac. Second, my client is uses a PC based Matrox Axio edit system, and part of our p

  • Calling paintComponent(Graphics g) in another class

    Dear Friends, I have a class (Class Pee) where I implemented the paintComponent(Graphics g) and another class (Class Bee) where I generate some datas. My intention is to call the paintComponent(Graphics g) method in class Pee at class Bee to make use