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

Similar Messages

  • 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

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

  • 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

  • CDS-18010 Error:A Index and a index with the same name

    Hi
    I am facing strange error is some one expert there to help me to get rid of this error.
    CDS-18010 Error:A Index and a index with the same name 'LA_SP_FK_1' have been asked to be created.
    I am generating tables from Data model diagram & getting this error.
    Thanks,
    Vijay

    Your Right!!
    Designer does not like 2 of the same name.
    there are several bugs on the same name issue and CDS-18010
    Bug.3973155/3443005 (92) CDS-18010 IN CAPTURING A TYPE WITH CONSTRUCTOR FUNTIONS IN ITS BODY:
    Bug.2586582 (93) CDS-18010 A DOMAIN AND A DOMAIN WITH THE SAME NAME 'D1' BEEN ASKED TO CREATE:
    Bug.2561625 (15) CDS-18010 GENERATION OF TWO SYNONYMS WITH SAME NAME BUT DIFFERENT SCOPE:
    Bug.2072505 (93) CDS-18010 CAPTURING 2 TRIGGERS WITH SAME NAME ON ONE TABLE SHOULD BE A WARNING:
    Bug.1689800 (90) CDS-18010 PLSQL WITH THE SAME PROCEDURE NAME ALREADY EXISTS:
    Bug.1073311/1029997 (96) CDS-18010 ERROR ATTEMPTING TO CREATE 2 PROCEDURES WITH SAME NAME:
    Just to name a few.
    I would suggest you change the name.
    Michael

  • ABAP program is terminated with error Function ROLLBACK on connection R/3

    Hi,
    We are reading a DB table A and matching with table B and placing into a internal table and further looping at the internal table.
    Table A has 3- 5 million records
    Table B has 2-4 million records
    When the program run in batch or dialog process, it stops without apparently reason, it don not trace any log in ST22 transaction. When we trace it in SM21 trace the following log:
    22:18:33 BTC  014 100                BZ  Y Unexpected return value 1 when calling up DbSlR
    22:18:33 BTC  014 100                BY  J Function ROLLBACK on connection R/3 failed
    22:18:33 BTC  014 100                R3  9 Error in DB rollback/SyFlush, return code 016384
    22:18:33 BTC  014 100                Q0  2 Stop Workproc14, PID 729286
    22:18:33 BTC  014 100                F3  T Invalid object name for TemSe object: " "
    22:18:33 BTC  014 100                EC  F Failed to create log for job BIDTPR_291659_1 22085900%_IMMEDIATE %NEWSTEP/
    22:18:33 BTC  014 100                F2  0 Calling program reports invalid handle for TemSe object (magic==X'NULL-ptr'
    22:18:33 BTC  014 100                R4  7 Delete session 001 after error 023
    The tables and ABAP program are in a BW system.
    Any idea what would be the cause. I found  a similar problem in the forum but no solution provided there..
    Regards
    Rob

    Hi Rob,
    Please check the entries in the work process trace file from this time (dev_wp14 from the work directory)
    Error in DB rollback/SyFlush, return code 016384
    usually has a preceding entry in the wp log of
    SHO: Could not allocate SHO segment of ..... bytes (rc=1)
    Usually this is a result of a SELECT statement that returns a very large result set is executed.             
    While the result set is fetched the ABAP heap is exhausted. Since no             
    more memory is available the ABAP engine abruptly cancels the execution          
    and begins error handling. The database interface rejects to execute a           
    ROLLBACK statement while the SELECT statement is still active. As the            
    rollback fails the task handler restarts the SAP work process and no             
    ABAP short dump or job log entries can be written.                                                                               
    The rejected ROLLBACK is a direct result of the lack of ABAP heap memory         
    and does not represent an error in itself.                                                                               
    The solution here is to increase the memory areas "extended memory" and          
    / or "heap". Please check/adjust your SAP memory settings!
    As mentioned, Similar issues have been resolved with the note #741864.                     
    The key is that the abap/shared_object_size_MB is too small for the          
    system and the operation performed, please increase this to 100MB to         
    start from the default of 20MB and then increase further if the dump         
    persists as more maybe needed of course. There is no problem increasing      
    this parameter since you have a 64bit system and SAP kernel.                                                                               
    Similar issues have been resolved with the note #741864 and note #986790     
    along with the increase in abap/shared_object_size_MB. These notes may       
    not be necessary just the increase but this issue frequently occurs in       
    these areas so perhaps they can help.                                        
    Hope this helps,
    Paul

  • Error when enabling the connection group with office 2013 and a plugIn

    Hi,
    I've created the office 2013 proplusVolume with ODT, published it globaly, Sequenced the plugin, with only the office 2013 as a published app-v package on the system, made the connection group with correct xml, but when I enable the connection group, I got
    the error:
    The connection group {xxx} version {xxx} could not be published because the
    virtual COM settings of the individual packages conflict. 
    Verify that the virtual COM settings are the same for all member packages and try again.
    The COM settings are made the same as the office package on the plugin package, but I still have the same error.
    The Deployment-, and user-XML have this values (as it was for the office originally):
      <COM Mode=”Integrated”>
            <IntegratedCOMAttributes
    OutOfProcessEnabled=”true” InProcessEnabled=”true” /> 
    <Objects Enabled=”false” />
    Why do I get this error?
    Why is it merly impossible to track down the realy error?
    What can i do to make this connection group work?

    Right now the catalog is pulling from the AppXManifests inside the AppV Packages. You can see these settings by renaming the AppV file to .ZIP and browsing those files (READ ONLY) to see the default COM settings. Simply changing the Deployment Config files
    is not enough. You will need to make sure the information is dynamically applied at publishing by specifying the -DynamicDeploymentConfiguration option when adding the package using the Add-AppvClientPackage cmdlet. You do not need to worry about the UserConfig
    file.
    If you are doing this in band with the management system, you would import this configuration in under Advanced Configuration for the package.
    Steve Thomas, Senior Consultant, Microsoft
    App-V/MED-V/SCVMM/Server App-V/MDOP/AppCompat
    http://blogs.technet.com/gladiatormsft/
    The App-V Team blog: http://blogs.technet.com/appv/
    The MED-V Team Blog: http://blogs.technet.com/medv
    The SCVMM Team blog: http://blogs.technet.com/scvmm/
    “This posting is provided "AS IS" with no warranties, and confers no rights. User assumes all risks.”

  • Data Guard Broker: errors ORA-16816 and ORA-16817 with Fast Start Failover

    Hi,
    my environment is:
    OS: Windows XP Professional Edition SP2
    DB: Oracle EE 10.2.0.3
    Primary db: orcl
    Standby db: stby
    both databases are running on the same server.
    I have configured Data Guard as described in the DG Administration Guide.
    In the Data Guard Broker I switch to 'stby' succesfully and 'stby' is the primary db and 'orcl' is the standby db.
    I switched back to 'orcl' as primary db and I get some errors:
    DGMGRL> show database 'orcl' statusreport;
    STATUS REPORT
    INSTANCE_NAME SEVERITY ERROR_TEXT
    * WARNING ORA-16817: configuration for Fast Start of Failover is not synchronized.
    DGMGRL> show database 'stby' statusreport;
    STATUS REPORT
    INSTANCE_NAME SEVERITY ERROR_TEXT
    * ERROR ORA-16816: wrong databaserole
    * WARNING ORA-16817: configuration for Fast Start of Failover is not synchronized.
    DGMGRL> show configuration;
    Configuration
    Name: DG1
    Enabled: YES
    Protection Mode: MaxAvailability
    Fast-Start Failover: ENABLED
    Databases:
    orcl - Physical standby database
    - Fast-Start Failover target
    stby - Primary database
    Current status for DG1:
    Warning: ORA-16607: one or more databases failed.
    I have searched for solutions on Metalink and google, but with no success.
    Has anyone got this kind of problem?
    Any suggestions on how to resolve it?
    Thanks

    Hi DigerDBA
    I did your advice , the error disappear, and thanks for your advice , but do I need to keep standby_file_management='AUTO' or 'MANUAL' in primary and standby init files?
    Am asking this because when I use the observer the failover failed and I get the following error
    SQL Execution error=604, sql=[ALTER DATABASE COMMIT TO SWITCHOVER TO PRIMARY WAIT WITH SESSION SHUTDOWN]. See error stack below.
      ORA-00604: error occurred at recursive SQL level 1
      ORA-01275: Operation ADD LOGFILE is not allowed if standby file management is automatic.
    Complete Failover operation failed in the step when attempting to convert the database to be the new primary.
    Database Resource SetState Error (16771)
    01/07/2014 09:14:43
    Command FAILOVER TO epprod2 completed with error ORA-16771
    if possible can you advice me please?

  • Range and connection issues with new WRT400N

    I'm having two major problems with my brand new WRT400n. The router is located in the basement and wired to my seven-year-old desktop. Dependent on the router are three laptops located two floors above it.
    My first issue is the weaker-than-expected signal strength that my laptop is receiving from the router. The best signals I'm getting for the 2.4ghz and 5ghz configurations are "Good" and "Poor", respectively, which is below the maximum rating of "Excellent". Even when I bring my laptop right beside the router, I'm struggling to achieve an "Excellent" signal strength. The speed and connection are otherwise fine but my neighbor's G router is registering an "Excellent" signal. So for a brand new N router to give weak signals is quite irritating.
    The second issue is reliability. I'm consistently losing connection - both wired and wirelessly -  every hour. The connection and speed are fine the rest of the time (very quick and stable) but every 60 minutes or so I am forced to reconnect my laptop to get the signal
    Any possible solutions to these two common problems? Perhaps some tinkering with the router settings? Any recommendations are welcome and much appreciated.
    How does the warranty return policy for Linksys work? If the hardware is to blame  how can I send my WRT400N to Linksys? Will Linksys send me a new item?
    Much thanks in advance.
    Message Edited by NSX-R on 12-31-2009 08:38 PM
    Message Edited by NSX-R on 12-31-2009 08:40 PM

    I'm in Canada so I have a WRT400N-CA made by Cisco, which may have minute differences with the original model.
    Basic Wireless Settings
    Configuration View: Manual
     5GHz Wireless Settings
    Network Mode: Mixed
    Channel Width: 40/20MHz
    Wide Channel: 159
    Standard Channel: 161 - 5.805GHz
    SSID Broadcast: Enabled
    2.4GHz Wireless Settings
    Mixed
    40/20 MHz
    9
    11 - 2.462GHz
    Enabled
    Also, under the "Advanced Wireless Settings" tab, the 5GHz titles Beacon Interval, DTIM Interval, Fragmentation Threshold, and RTS Threshold have been changed to 75, 1, 2304, 2307, respectively. The 2.4GHz section has been untouched since installation of the router. Basically I searched for settings configurations on this forum and plugged in the values. My connection is slightly more reliable after using these values and installing the firmware; instead the connection dropping once every hour it drops every few hours. I always have to disconnect and re-connect my laptop connection before I can start surfing the web.
    Message Edited by NSX-R on 01-02-2010 12:46 PM

  • SQL Error : missing expression - Creating XML file with ODI

    Hi,
    I saw threads about errors like this and read that maybe it can come from how I chose the staging area. I still can't see where the problem is. I'm trying to create an xml file from data stored in a Oracle database. The interface which execution fails select data from tables and create a tag in the XML file. Here are information about it :
    The staging area is diferent from the target and is an oracle database schema. (I guess it creates temporary tables in that schema ?)
    In the flow tab, the LKM is LKM SQL to SQL, the option delete temporary objects is set to yes.
    The IKM choice for the target is IKM SQL Control Append and options are as following :
    - insert : yes
    - commit : yes
    - flow contreol : no
    - recycle errors : no
    - static control : no
    - truncate : no
    - delete all : no
    - create target table : yes
    - delete temporary objects : yes
    Columns mapping in the target are the following :
    WKID        >     THEADER.WKID
    EXTID        >     THEADER.EXTID
    ORDER     >     THEADER.ORDER
    INSTFK     >     THEADER.INSTFK
    For every column in the target :
    - Run on source
    - Updating : insert, update and ud4 are checked
    no update key is defined
    In the operator, the step failing when running the interface is the loading data in the work table.
    If you need the SQL request in the execution plan, or anything else, please tell me.
    Thank you in advance for any help on this.
    Marie

    It would help if you provide error message and its stack trace.
    Please also look at the documentation (If not already done so) for creating xml file XML Files - 11g Release 1 (11.1.1)

  • Maintaining the structure of a SQL Server staging area and dwh aligned with the Oracle data source

    Hi,
    I'm working in a context where the data source system, in Oracle, is a continuos work in progress. Each 1-2-3 weeks the data source system in the prod environment is updated with new tables or updated table (with new columns or altered columns). So, it is
    important to apply in a rapid manner the related changes in the data structure of the SQL Server staging area and dwh.
    The issues to solve are:
    a. maintaining SQL Server data structure of the staging area aligned with the data structure of the Oracle data source;
    b. maintaing SQL Server data structure of the staging area aligned with the data structure of the SQL Server staging area.
    In order to solve these issues it could be useful to think to an authomatic manner to alert when a data structure change occurs and a simple manner to apply the changes on SQL Server data structure.
    Any suggests, please? Many thanks

    We use Oracle CDC service in SQLServer. It has a flag to indicate the schema changes happening at the Oracle end. We track the schema changes using it and then apply changes to sqlserver side. And regarding automation you can use Biml as suggested or .NET
    scripts inside script task.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • FB50L error: Postings to G/L accounts with open item management are not permitted

    Dear All
    I need your help.
    I am trying to do some adjustment to GR/IR clearing account in Non-leading ledger. Since for this account open item management is ticked, I am getting an error message 'Postings to G/L accounts with open item management are not permitted'.
    Now I have checked the forum to find some solution...but does not fit my requirement.
    I cannot create a new account. I cannot change the existing account. I tried OBA5, but the message persists.
    I also checked the notes.
    Appreciate a response on how the post to open item managed accounts in non-leading ledger.
    Regards
    Kunaal

    Hi Kunaal
    Usually, OIM accounts are not allowed for Non Leading Ledger postings... With EhP4 or 5, i guess, a new feature is added in GL Master whereby you can specify that a GL will be OIM for Leading Ledger and Not OIM for a Non Leading Ledger
    Regards
    Kavita Agarwal

  • Getting error and connection problems with iPad and DLink DI-634M router

    We're seeing spotty connectivity from our iPad - sometimes it works fine, other times it can't get to any websites. Looking at our wireless router logs, I found a bunch of messages like this for the iPad's address:
    "Blocked incoming TCP packet from 192.168.0.140:52023 to 74.125.0.222:80 with unexpected acknowledgement 3307518865 (expected 3307530074 to 3307595610)"
    What does this indicate and how can I fix it?
    Searching a bit, I found recommendations to disable SPI on the router's firewall, but I don't see any option for doing that on the DI-634M's admin pages.
    Any help appreciated - thanks.

    We're seeing spotty connectivity from our iPad - sometimes it works fine, other times it can't get to any websites. Looking at our wireless router logs, I found a bunch of messages like this for the iPad's address:
    "Blocked incoming TCP packet from 192.168.0.140:52023 to 74.125.0.222:80 with unexpected acknowledgement 3307518865 (expected 3307530074 to 3307595610)"
    What does this indicate and how can I fix it?
    Searching a bit, I found recommendations to disable SPI on the router's firewall, but I don't see any option for doing that on the DI-634M's admin pages.
    Any help appreciated - thanks.

Maybe you are looking for

  • Error exporting to PDF from Crystal Reports 2008

    Hi, We are getting following error while exporting Crystal report to the PDF and preview in IE: Description: Failed to export to a pdf file -- Selected exporter does not support one of the features used in this report. MyReport {DCA37817-1414-45A7-8D

  • Imac to samsung blueray wirelessly with no router?

    Is it possible? I'm using a wireless LAN adapter. one into back of blue ray and the other is supposed to go into the back of the cable modem. but no usb port is there. i heard that i could plug the USB adapter right into the back of my Mac and then s

  • I don't have songs that I purchased

    I purchased 4 songs but only received 2 of them. I double checked the 'check for purchases' and it says all purchased songs have been downloaded, but the REALITY is I only have 2 of the 4 songs I paid for. When I try to purchase them again, the windo

  • Can crop, but not enhance

    (I just scanned in quite a few old documents, old B&W pictures, and had absolutely no problem in using unsharp mask & contrast with any of those. It was NOT necessary to make an additional layer, I didn't have to do anything at all with the default l

  • Querying OBIEE catalog with SQL Developer

    Hi all, is it possible to query the Oracle BI server catalog with SQL developer via ODBC or JDBC. I have done it with Cognos but I don't see how it can be made. suppose that ii have DSN Oracle BI server, I tried to put the connection parameters like