SQL error forced rollback.

Dear All,
We r using Oracle 9.0.1 and Developer 6i in a replicated environment. Our server is dedicated server. We have 6 branch i.e. 6 replicate site and 1 main server. We r facing a problem in a specific module in 3 branches. Problem is : when user trying to use that module then after using some times they get this error ---
FRM-40655:  SQL error forced rollback: clear form and re-enter transaction. and totally log out from system.
When user get this error then in alert log we get this message ---
found dead shared server 'S002', pid = (17, 141).
My question is : if it's form design problem then why only in 3 branch??? Configuration is almost same. Another question is our server is dedicated server then why oracle found dead shared server??? Is it a refreshing problem to remote server??? Need help as an urgent basis. Plz reply me and give ur valuable advice.
Mamun

Thanks...
I also think that it's a network problem. But my question is if network is the problem then why only in this module make this error? And if this module has some problem then why only in 3 branch create the deadlock? What's the solution to remove the dead shared server? Another issue is this rollback or deadlock error don't happen all time.
Plz give all of ur valuable suggestion...

Similar Messages

  • SQL error forced rollback and connection loss with OLE item in forms 6i

    We are running forms 6i client server on a Oracle Database 10g Enterprise Edition Release 10.1.0.3.0 - 64bit. We have a form that has 1 base table block that contains an OLE item where the user can create or edit a Microsoft Word document then save that document in a long raw column in the table. The OLE item is using the Word.Document.8 OLE class.
    We are having intermittant problems where the user presses commit in the form and gets a FRM-40508 error: unable to Insert record. The message displayed at the bottom of the screen is FRM-40655: SQL error forced rollback: clear form and re-enter transaction. When I press Shift-F1 to view the error I see ORA-03113: end-of-file on communication channel.
    DBA says that there are no errors being generated in the database. Does anyone have any experience with kind of problem? Any suggestions would be most welcome.

    The Ora-3113 error means that the connection has been lost.
    These issues normally are database or networking related and have little to do with ole objects.
    You need to determine if a server-side error is causing the disconnect.
    To start diagnosing this issue you first need to turn on sqlnet tracing to see what other ora-XXXX error is occuring. That will start to help diagnosing this issue.
    You may also want to check the database alert log for any RDBMS errors that may have caused the disconnect.
    If there aren't any RDBMS errors logged, you should generate a Net8 trace for the session to see if you can get more detailed errors.
    About sql tracing:
    To obtain a trace, you have to place the following entries in the SQLNet.ORA file. Make sure before you start your application that the C:\Trace directory exist.
    TRACE_FILE_CLIENT = net817
    TRACE_DIRECTORY_CLIENT = C:\trace
    TRACE_UNIQUE_CLIENT = ON
    TRACE_LEVEL_CLIENT = 16
    TRACE_TIMESTAMP_CLIENT = ON
    When finished obtaining both traces, set the TRACE_LEVEL_CLIENT = 0 from 16 to turn off tracing.
    Monica

  • FRM-40655: SQL error forced rollback: clear form and re-enter transaction.

    Hello ,
    I have ORACLE 10G & Forms 6i on Windows server 2008 . When I open the forms for some work , it give me error in few minis.
    FRM-40655: SQL error forced rollback: clear form and re-enter transaction.
    I have not done anything unusual in form design. it was working properly from a long time.
    Yesterday i set the default profile to idle_time = 20. Will that make any problem ???
    I checked my Alert Log but no sign of any deadlock in it, or any other unusual activity ....
    What is the solution ???
    Thanks in advance ..

    This happens due to dead lock situation
    To avoid this problem, add NOWAIT option to the UPDATE and DELETE statements, which returns ORA-00054 error, trap this error and display user defined message like 'The record is being accessed and try after some time'.
    This even improves the performance
    because no process waits for the locks preventing dead locks.
    If it is due to the UPDATE's or DELETE's with base table blocks in the form, in the PRE-UPDATE and PRE-DELETE triggers write SELECT statements to select the particular row with FOR UPDATE NO WAIT option. Handle by trapping the ORA-00054 error

  • FRM-99999 ERRORE 408 OCCURRED FRM-40655 SQL ERROR FORCED ROLLBACK CLEAR FRO

    Dear Friends
    I am getting this FRM-99999 ERRORE 408 OCCURRED FRM-40655 SQL ERROR FORCED ROLLBACK CLEAR FROM AND RE-ENTER TRANACTION.
    FRM-40512 ORACLE ERROR UNABLE TO ISSUE SAVE POINT COMAND.
    I am calling the form using the following script :
    :global.command_line := 'C:\SALES\NEW_ITEMS.FMX' ;
    CALL_FORM(:global.command_line);
    go_block('COP_ORDER_DETAILS');
    go_record(:global.l_n_curr_rec2);
    :COP_ORDER_DETAILS.ITEM_CODE :=:GLOBAL.ITEM_CODE_VAR;
    :COP_ORDER_DETAILS.COLOR := :GLOBAL.COLOR_CODE ;
    :COP_ORDER_DETAILS.SHAPE_CODE := :GLOBAL.SHAPE_CODE ;
    :COP_ORDER_DETAILS.DELIVERY_QUANTITY := :GLOBAL.QTY ;
    :COP_ORDER_DETAILS.VOLUME := :GLOBAL.VOLUME;
    It works fine for one record, when I try to create another record by calling the called form it gives the above messages.
    Waiting for your valuable replay.
    Best regards
    Jamil

    This happens due to dead lock situation
    To avoid this problem, add NOWAIT option to the UPDATE and DELETE statements, which returns ORA-00054 error, trap this error and display user defined message like 'The record is being accessed and try after some time'.
    This even improves the performance
    because no process waits for the locks preventing dead locks.
    If it is due to the UPDATE's or DELETE's with base table blocks in the form, in the PRE-UPDATE and PRE-DELETE triggers write SELECT statements to select the particular row with FOR UPDATE NO WAIT option. Handle by trapping the ORA-00054 error

  • FRM-40655 SQL Error Forced Rollback

    Hi,
    I am getting the following Error:
    Why this appears?
    FRM-40655 SQL Error Forced Rollback: clear form and re enter transaction.
    ORA-24324: service handle not initialized
    Madni

    FRM-40655: SQL error forced rollback: clear form and re-enter transaction.
    Cause: A deadlock or some other error has caused the current transaction to fail. Your changes were rolled back.
    Action: Clear the form (or exit and re-enter the form) and re-enter the transaction. You might have to modify the form's design to prevent the error from recurring.
    Run the debugger and find out which line the error is occuring. Also see
    http://www.oracle.com/technology/products/forms/pdf/forms9idiagnostics.pdf
    http://www.oracle.com/technology/products/forms/pdf/trace9i.pdf

  • 40655SQL error forced rollback: clear form and re-enter transaction

    Hello ,
    I have ORACLE 10G & Forms 6i on Windows server 2008 . When I open the forms for some work , it give me error in few minis.
    FRM-40655: SQL error forced rollback: clear form and re-enter transaction.
    I have not done anything unusual in form design. it was working properly from a long time.
    Yesterday i set the default profile to idle_time = 20. Will that make any problem ???
    I checked my Alert Log but no sign of any deadlock in it, or any other unusual activity ....
    What is the solution ???
    Thanks in advance ..
    Edited by: DBA4 on Jul 17, 2010 11:43 AM

    Thanks for the reply ......
    I would like to tell some more details here.
    Previously i wanted to set an IDLE_TIME limit of 20 mins for all users in the DEFAULT profile.
    So i did the process for the same...
    I set the resource_limit parameter to true & then altered the default profile's idle_time to 20.
    soon after that all the users who were accessing the database got this error while working ....
    SQL error forced rollback: clear form and re-enter transaction.
    In our case one user is opened & accessed by many people.
    for ex - a user called UERP is open at Machine1 & also at Machine2. So at a time a single user can be opened at multiple sessions.
    can this be the problem for forced rollback ???
    My basic need is , i want to set the IDLE_TIME to 20 min but users should not face forced rollback error ????
    what should i do ???
    thanks in advance ....
    Edited by: DBA4 on Jul 19, 2010 2:28 PM

  • Error #3115: SQL Error.', details:'no such table

    Hi,
    I'm creating my Adobe Air App using Flash CS5 Professional and facing exactly the following error.
    SQLError: 'Error #3115: SQL Error.', details:'no such table: 'categories'', operation:'execute', detailID:'2013'
    My SQLite Db has been created using Firefox extension - SQLite Manager. The db file is placed into the same folder as the .fla and .swf files. The db has three tables namely: categories, period and activity. I don't understand why I'm getting this error. I have even tried copy pasting other source code from AS 3.0 reference guide but same error every time.
    The code below is a modified version of example code in AS 3.0 reference documentation. Can you suggest how the above error can be fixed?
    /you can also reply to me directly at [email protected]
    /regards
    import flash.data.SQLConnection;
    import flash.data.SQLResult;
    import flash.data.SQLStatement;
    import flash.display.Sprite;
    import flash.events.SQLErrorEvent;
    import flash.events.SQLEvent;
    import flash.filesystem.File;
    var conn:SQLConnection;
    var insertCategory:SQLStatement;
    var dbFile:File;
    databaseConnect();
    function databaseConnect():void
    // define where to find the database file
    var appStorage:File = File.applicationStorageDirectory;
    dbFile = appStorage.resolvePath("MyBudgetCalc.db");
    // open the database connection
    conn = new SQLConnection();
    conn.addEventListener(SQLErrorEvent.ERROR, errorHandler);
    conn.addEventListener(SQLEvent.OPEN, openHandler);
    trace("dbFile.exists:"+ dbFile.exists);
    conn.openAsync(dbFile);
    // Called when the database is connected
    function openHandler(event:SQLEvent):void
    conn.removeEventListener(SQLEvent.OPEN, openHandler);
    // start a transaction
    //Object(this).inputfield.text = "openHandler called.. ";
    conn.addEventListener(SQLEvent.BEGIN, beginHandler);
    conn.begin();
    trace("exiting openHandler..");
    // Called when the transaction begins
    function beginHandler(event:SQLEvent):void
    conn.removeEventListener(SQLEvent.BEGIN, beginHandler);
    //trace("beginHandler - SQLEvent message: "+SQLEvent.message);
    Object(this).inputfield.text = "beginHandler called.. ";
    insertCategory = new SQLStatement();
    insertCategory.sqlConnection = conn;
    insertCategory.text = "INSERT INTO categories(id, name) VALUES (', Auto')";
    insertCategory.execute();
    insertCategory.addEventListener(SQLEvent.RESULT, insertCategoryHandler);
        insertCategory.addEventListener(SQLErrorEvent.ERROR, errorHandler);
    trace("exiting beginHandler..");
    // Called after the phone number record is inserted
    function insertCategoryHandler(event:SQLEvent):void
    insertCategory.removeEventListener(SQLEvent.RESULT, insertCategoryHandler);
    insertCategory.removeEventListener(SQLErrorEvent.ERROR, errorHandler);
    // No errors so far, so commit the transaction
    conn.addEventListener(SQLEvent.COMMIT, commitHandler);
    conn.commit();
    trace("exiting insertCategoryHandler after conn.commit()..");
    // Called after the transaction is committed
    function commitHandler(event:SQLEvent):void
    conn.removeEventListener(SQLEvent.COMMIT, commitHandler);
    trace("exiting commitHandler(): Transaction complete..");
    // Called whenever an error occurs
    function errorHandler(event:SQLErrorEvent):void
    trace("entering errorHandler()..");
    // If a transaction is happening, roll it back
    if (conn.inTransaction)
    conn.addEventListener(SQLEvent.ROLLBACK, rollbackHandler);
    conn.rollback();
    trace(event.error.message);
    trace(event.error.details);
    trace("exiting errorHandler()..");
    // Called when the transaction is rolled back
    function rollbackHandler(event:SQLEvent):void
    conn.removeEventListener(SQLEvent.ROLLBACK, rollbackHandler);

    Can you try creating the table using the AIR ActionScript APIs? It is possible the SQLLite Manager program that you are using is creating a database that isn't compatible with AIR.

  • 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 1562  while import client copy

    hi basis guys,
    1st of all i export the client thro scc8 of (my prod server) after that i copy the request in dev client.( i extend the table space also.) but
    when i m import the client thro stms i m getting the following error
    Main import                                                                               
    Transport request___: PRDKT00019                                                                               
    System______________: DEV                                                                               
    tp path             : tp                                                                               
    Version and Release: 305.12.78 46D                                                                               
    SQL error 1562 accessing GLPCA: ORA-01562: failed to extend rollback segment numbe                                      
       SQL error 1631 accessing MHIO: ORA-01631: max # extents (300) reached in table SA                                       
       sap_dext called with message no. 4:                                                                               
    DBE_INTERNALERROR                                                                               
    db call info                                                                               
    function:   db_xrtab                                                                               
    fcode:      RT_MI_LOAD                                                                               
    tabname:    MHIO                                                                               
    keylen:     124                                                                               
    key:        500000000010294                                                                               
    retcode:    4                                                                               
    SQL error 1631 accessing  : ORA-01631: max # extents (300) reached in table SA                                          
       Main import                                                                               
    End date and time : 20061128194135                                                                               
    Ended with return code:  ===> 12 <===                                                                               
    regds
    pardeep yadav

    Hi,
           Extend the corresponding Tablespace in which the table MHIO resides and also increase the rollback segment.and try once more
    Regards
    Umesh K

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

  • Backup via Cron job - SQL ERROR: ORA-01031: insufficient privileges

    Hi,
    We are Using Oracle RAC - linux - SAP EP . We have scheduled online backup through crontab .
    Always we are getting below error when the backup job runs via crontab
    ================
    BR0278E Command output of '/usr/sap/EP1/SYS/exe/run/brtools -f printcmd -U /oracle/EP1/sapbackup/.begpjvay.003 'archive log list;' 'exit;' | /oracle/EP1/102_6
    4/bin/sqlplus /nolog':
    SQL*Plus: Release 10.2.0.5.0
    Copyright (c) 1982, 2010, Oracle.  All Rights Reserved.
    SQL> ERROR:
    ORA-01031: insufficient privileges
    SQL> ORA-01012: not logged on
    SQL>
    BR0280I BRBACKUP time stamp: 2011-08-22 02.00.12
    BR0279E Return code from '/usr/sap/EP1/SYS/exe/run/brtools -f printcmd -U /oracle/EP1/sapbackup/.begpjvay.003 'archive log list;' 'exit;' | /oracle/EP1/102_64
    /bin/sqlplus /nolog': 0
    BR0302E SQLPLUS call for database instance EP12 failed
    =====================
    whereas if i trigger the same commend
    brbackup -u / -c force -t online -m all -p <init*.sap> manually it end successfully.
    Kindly can anyone help over below issue.
    Regards,
    Ayyappan

    Hi Ayyappan,
    Thanks in Advance,
    We are also having same scenario with RAC and Linux, we are trying to configure backup and getting the same error could you please guide me how u resolved the issue, please help....
    Regards,
    Sumeesh

  • SQL Error 3113 and 3114

    Hi all
    I am getting Sql error 3113, system logs are below:
    i checked tablespaces are having enough space.
    can anybody tell what is this prob
    SQL error 3114 . Work processes in reconnect status       
    SQL error 3113 . Work processes in reconnect status       
    SQL error 3113 . Work processes in reconnect status       
    SQL error 3113 . Work processes in reconnect status       
    Operating system call recv failed (error no. 73 )         
    Perform rollback                                          
    Perform rollback                                          
    Program RM07DOCS manually terminated by user LINFIN       
    Call of function NiRead failed, RC: -006                  
    Work process has left reconnect status                    
    Work process has left reconnect status                    
    Terminal 00046 in status DISC                             
    Perform rollback                                          
    Delete session 003 after error 004                        
    Error calling the central lock handler                    
    Request (type DIA) cannot be processed                    
    > Unable to reach central lock handler                    
    Request (type DIA) cannot be processed                    
    Request (type DIA) cannot be processed                    
    Request (type DIA) cannot be processed                    
    Request (type DIA) cannot be processed                    
    Request (type DIA) cannot be processed

    Hello,
    Well, Is the above error is happening during the offline backup? What is the impact on the system because of the above error? Is any transaction fails?
    The above error could be because of the following
    1. Network issue
    2. wrong client version. If you are SAP Kernel which  is compatible with client 9i, then i suggest to install the latest version of the client. Ofcourse client version shouldn't be more than the version of the oracle server software.
    3. and there could be other possible reasons like some error in the alert log, resource issue.
    Regards,
    Madhukar

  • SQLError: 'Error #3115: SQL Error.', details:'no such table: 'contact'', operation:'execute', detail

    hi
    just create database with SQLite Database Browser 2.0 b1 after creating the data base when i tried connect it in flash cs4-with air 1.1 its showing me error
    SQLError: 'Error #3115: SQL Error.', details:'no such table: 'contact'', operation:'execute', detailID:'2013' i tried to found every where but did not get the solution of this
    my code is here
    import flash.filesystem.File;
    import flash.data.*;
    import flash.data.SQLConnection;
    import flash.data.SQLStatement;
    import flash.data.SQLConnection;
    var dbFile:File=File.applicationStorageDirectory.resol  vePath("mydb.db");
    var sqlConn:SQLConnection = new SQLConnection();
    var sqlState:SQLStatement = new SQLStatement();
    sqlConn.open(dbFile);
    sqlState.sqlConnection = sqlConn;
    trace(sqlConn.connected+"current status "); // its show "true" here
    sqlState.text = "SELECT name FROM contact";
    sqlState.execute();
    var resultArray:Array = sqlState.getResult().data;
    thanks in advance

    Hi,
    I'm creating my Adobe Air App using Flash CS5 Professional and facing exactly the same error.
    SQLError: 'Error #3115: SQL Error.', details:'no such table: 'categories'', operation:'execute', detailID:'2013'
    My SQLite Db has been created using Firefox extension - SQLite Manager. The db file is placed into the same folder as the .fla and .swf files. The db has three tables namely: categories, period and activity. I don't understand why I'm getting this error. I have even tried copy pasting other source code from AS 3.0 reference guide but same error every time.
    The code below is a modified version of example code in AS 3.0 reference documentation. Can you suggest how the above error can be fixed?
    /you can also reply to me directly at [email protected]
    /regards
    import flash.data.SQLConnection;
    import flash.data.SQLResult;
    import flash.data.SQLStatement;
    import flash.display.Sprite;
    import flash.events.SQLErrorEvent;
    import flash.events.SQLEvent;
    import flash.filesystem.File;
    var conn:SQLConnection;
    var insertCategory:SQLStatement;
    var dbFile:File;
    databaseConnect();
    function databaseConnect():void
    // define where to find the database file
    var appStorage:File = File.applicationStorageDirectory;
    dbFile = appStorage.resolvePath("MyBudgetCalc.db");
    // open the database connection
    conn = new SQLConnection();
    conn.addEventListener(SQLErrorEvent.ERROR, errorHandler);
    conn.addEventListener(SQLEvent.OPEN, openHandler);
    trace("dbFile.exists:"+ dbFile.exists);
    conn.openAsync(dbFile);
    // Called when the database is connected
    function openHandler(event:SQLEvent):void
    conn.removeEventListener(SQLEvent.OPEN, openHandler);
    // start a transaction
    //Object(this).inputfield.text = "openHandler called.. ";
    conn.addEventListener(SQLEvent.BEGIN, beginHandler);
    conn.begin();
    trace("exiting openHandler..");
    // Called when the transaction begins
    function beginHandler(event:SQLEvent):void
    conn.removeEventListener(SQLEvent.BEGIN, beginHandler);
    //trace("beginHandler - SQLEvent message: "+SQLEvent.message);
    Object(this).inputfield.text = "beginHandler called.. ";
    insertCategory = new SQLStatement();
    insertCategory.sqlConnection = conn;
    insertCategory.text = "INSERT INTO categories(id, name) VALUES (', Auto')";
    insertCategory.execute();
    insertCategory.addEventListener(SQLEvent.RESULT, insertCategoryHandler);
        insertCategory.addEventListener(SQLErrorEvent.ERROR, errorHandler);
    trace("exiting beginHandler..");
    // Called after the phone number record is inserted
    function insertCategoryHandler(event:SQLEvent):void
    insertCategory.removeEventListener(SQLEvent.RESULT, insertCategoryHandler);
    insertCategory.removeEventListener(SQLErrorEvent.ERROR, errorHandler);
    // No errors so far, so commit the transaction
    conn.addEventListener(SQLEvent.COMMIT, commitHandler);
    conn.commit();
    trace("exiting insertCategoryHandler after conn.commit()..");
    // Called after the transaction is committed
    function commitHandler(event:SQLEvent):void
    conn.removeEventListener(SQLEvent.COMMIT, commitHandler);
    trace("exiting commitHandler(): Transaction complete..");
    // Called whenever an error occurs
    function errorHandler(event:SQLErrorEvent):void
    trace("entering errorHandler()..");
    // If a transaction is happening, roll it back
    if (conn.inTransaction)
    conn.addEventListener(SQLEvent.ROLLBACK, rollbackHandler);
    conn.rollback();
    trace(event.error.message);
    trace(event.error.details);
    trace("exiting errorHandler()..");
    // Called when the transaction is rolled back
    function rollbackHandler(event:SQLEvent):void
    conn.removeEventListener(SQLEvent.ROLLBACK, rollbackHandler);

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

  • BR0301E SQL error -1031

    Hi all,
    we get this error aftter importing sapdba role according note 134592, all requirements according note 834917 are met.  It works with ops$, with ORASID, but not for SIDADM !
    brconnect -u / -f check works also
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    BR0002I BRARCHIVE 7.20 (6)
    BR0006I Start of offline redolog processing: aeeicwva.svd 2010-10-12 16.49.46
    BR0484I BRARCHIVE log file: /oracle/SOL/saparch/aeeicwva.svd
    BR0280I BRARCHIVE time stamp: 2010-10-12 16.49.47
    BR0301E SQL error -1031 at location BrInitOraCreate-2, SQL statement:
    'CONNECT / AT PROF_CONN IN SYSOPER MODE'
    ORA-01031: insufficient privileges
    BR0303E Determination of Oracle version failed
    BR0007I End of offline redolog processing: aeeicwva.svd 2010-10-12 16.49.47
    BR0280I BRARCHIVE time stamp: 2010-10-12 16.49.47
    BR0005I BRARCHIVE terminated with errors
    Thanks in advance
    Thomas

    cscappwin024:/etc # cat SuSE-release
    SUSE Linux Enterprise Server 10 (x86_64)
    VERSION = 10
    PATCHLEVEL = 3
    cscappwin024:soladm 52> brarchive -u / -c force -p initSOL.sap -sd
    BR0002I BRARCHIVE 7.20 (6)
    BR0006I Start of offline redolog processing: aeeirbat.svd 2010-10-15 13.58.23
    BR0484I BRARCHIVE log file: /oracle/SOL/saparch/aeeirbat.svd
    BR0280I BRARCHIVE time stamp: 2010-10-15 13.58.23
    BR0301E SQL error -1031 at location BrInitOraCreate-2, SQL statement:
    'CONNECT / AT PROF_CONN IN SYSOPER MODE'
    ORA-01031: insufficient privileges
    BR0303E Determination of Oracle version failed
    BR0007I End of offline redolog processing: aeeirbat.svd 2010-10-15 13.58.23
    BR0280I BRARCHIVE time stamp: 2010-10-15 13.58.23
    BR0005I BRARCHIVE terminated with errors
    Kind regards
    Thomas

Maybe you are looking for

  • SVM metadb in Solaris 10

    Hi, I am new to Solaris and having problem with SVM to create mirroring on M4000 server with Solaris 10. When I enter below command to create meta db getting the following : # metadb -a -c 3 -f c0t0d0s6 c0t1d0s6 metadb: db: c0t0d0s6: overlaps with c0

  • Cisco ASA 5505 - Base License

    Hello to everyone I having this kind of config and in my network were workig flawless but in the site installed is giving me trouble. First my conection to the site is working so i can access from the internet to the ASA, but I cant do inter-vlan rou

  • Applications shutting down then menu bar starts flashing

    ive had the macbook for 5 days and 2 days ago, aim started shutting down out of nowhere and i just restarted the application, took a few times, but then it stopped. Yesterday,oh, and one note, i set my macbook to open aim, itunes, and stickies when i

  • Unable to open the month view for May in Palm desktop

    My Palm Desktop will not open the May calendar in the month mode.  I can access that month in either daily or weekly mode but not in the monthly one.  May seems to be the only month that is affected.  It opens properly on my Treo 680 but not on the d

  • DW CS3  with Spry Video Workshop Tutorials

    Hi Has anyone else has attempted to go thru the Video Workshop tutorials for using Spry with DW CS3 Trial version? I am trying to learn how to use Spry and have gone thru the Using Spry Framework for Ajax by Joseph Lowery. The problem I have is that