DB Trigger firing issue in case of oracle forms session crash

Hi All,
Oracle DB version: Oracle Database 10g Release 10.2.0.2.0 - Production
Oracle Forms version: (Oracle Developer Suite 10g) 10.1.2.0.2 Production
I am entering some data in the oracle forms and committed the data to database. This form is still open.
By some reasons i get a error as "FRM-92101: There is error during forms server startup" and the forms session gets crashed.
When this event happens i wanted to update the records which are inserted before this error occurred. For this purpose i created a BEFORE LOGOFF ON DATABASE trigger (in SYS user) and declared that transaction as autonomous and performed update and then commit.
But when i get this error in forms runtime session, this trigger doesn't fire and also the records don't get updated.
If i query to v$session view, the session entry is gone because the forms session is crashed.
Can anyone please tell me why this trigger don't get fire when oracle forms session gets crashed? Or is there is any other way to run update statement as soon as the forms session gets crashes?
Thanks.

Hi,
please check java runtime console for more issue information.
Windows:
SystemControl->Java Plugin Ver XXXX -> Standard -> Check "Show Java Console"
In Systray, check the console for information about errors in java after the form error.
Attackwave

Similar Messages

  • Oracle forms session crashes.

    Hi All,
    Oracle DB version : Oracle9i Release 9.2.0.0.6
    Oracle Forms version: Oracle Forms 9.0.4.19
    In a particular test case the oracle forms session gets crashed, this doesn't happens all the times (I guess it gives some FRM-92101 error).
    When we connect to oracle database through the oracle forms then a new session gets started and once we exits the application then session gets ended (here oracle database connection ends).
    So i just wanted to know like is there any database trigger or any other event which is fired when the particular forms session gets crashed so that we can track the session id?
    Thanks.

    Whenever there is a FRM-92101 error there will be a trace file available on your application server. You could look in this trace file to see why the Form has crashed.
    I think you want to know how to determine the session id, so you can close your database session. When your form crashes and there is still database session available then most of the time there is also still a session at your application server available. Your client session i.e. in internet explorer) has been terminated.
    The session at the application server will automatically close after a certain period of time, cause the application server doesn't get a answer from the client anymore. This also terminates the session in the database server.
    I don't know what type of application server you have (windows. linux). But I mostly try to discoverer which is the user session then close that session so the database session is also closed.

  • Oracle Forms Session Tracking mechanism

    Hi,
    In this doc http://www.oracle.com/technology/products/forms/pdf/10g/troubleshooting_fls.pdf we can read the following:
    The JsessionID, which uniquely identifies a Forms session. The Forms Listener Servlet uses two session tracking mechanisms:
    - Cookies, where the Servlet container sends a cookie to the client.
    The client returns the cookie to the server upon each HTTP
    request, thereby associating the session with the cookie.
    - URL rewriting, where the Servlet container appends a session ID
    to the URL path, for example:
    http://host[:port]/forms90/l90servlet;jsessionid=a23445bcde89
    Does this means that forms uses one of those, or uses both mechanisms simultaneous?
    anyone?
    Regards
    Ricardo
    Edited by: user12015527 on Mar 10, 2010 2:39 PM

    duplicate post: Oracle forms session crashes.

  • In which trigger can i use go_item() in oracle forms 6i?

    Hi,
        I have a problem with go_item.
    I tried executing go_item() in triggers like key_next_item, pre_text_item, post_text_item & when_validate_item.
    But none of them seemed to be working.
    I searched for other possibilities in the site, where i found a solution of using trigger ' when_timer_expired ' with ' when_validate_item ' ,
    but when i tried to create trigger, i did not find that trigger (when_timer_expired)  in the list at all.
    I'm using oracle form builder 6i.
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production.
    A trigger with go_item() must be created when tab is pressed.
    In which trigger can i use go_item() ??
    Thank You.

    from help:
    Restricted Built-in Subprograms
    Restricted Built-ins affect navigation in your form, either external screen navigation, or internal navigation. You can call these Built-ins only from triggers while no internal navigation is occurring.
    Restricted Built-ins cannot be called from the Pre and Post triggers, which fire when Oracle Forms is navigating from object to another.
    Restricted Built-ins can be called from the When triggers that are specific to interface items, such as When-Button-Pressed or When-Checkbox-Changed. Restricted Built-ins can also be called from any of the When-New-"object"-Instance triggers and from key triggers.
    Unrestricted Built-ins do not affect logical or physical navigation and can be called from any trigger.
    The Built-in descriptions include a heading, Built-In Type, that indicates if the Built-in is restricted or unrestricted.

  • Oracle forms upload crash

    Hi, I downloaded the VM "Database App Development VM" from http://www.oracle.com/technetwork/community/developer-vm/index.html and executed, on this installation, upgrade to APEX 4.2.4.00 .08 through patches.
    My problem is that converting an oracle forms with the appropriate utility and making the upload in the "migrations", the server returns an error "500 Internal Server Error". The xml file is correct because this is possible to reconstruct a forms (. Fmb) working and I've tried with various forms of varying size and complexity experiencing the same error. I realized that the problem also occurs on the system of "test / demo" http://apex.oracle.com/pls/apex. For the test, I followed the directions to the letter of guidance conversion forms to apex.
    Someone can 'help me or found the same error?
    Thank you and greetings
    Message was edited by: dparisi
    We have tried also with a simply form, generated ad hoc, with one block....the server also crash with error 500

    Thank you for your reply.
    No unfortunately connecting didn't help =(
    I think it's probably something to do with reading the form width/height so it can create the working area, but it fails there. The actual canvas has bigger height than my working area. Therefore I can't scroll down to see the end of my canvas. The crash happens when I click anywhere inside the working area or canvas or when i use wheel down on my mouse to scroll down.

  • Tracing Oracle Forms Sessions  10g (10.1.2)

    hi
    we are using application server 10g r2 (10.1.2) on windows 2003 server and run
    application developed using oracle forms 10g (10.1.2 ) i am trying to trace user
    session.
    i did the following in windows 2003 server
    1- change the local security policy add the administrator to log on as a batch
    2- change the OracleProcessManager >> check allow service to ineract with
    desktop
    3- modify the formsweb.cfg set allow_debug = true
    when i am trying to view the trace log file the system keep asking me about
    username and password for the server even when i post the correct values
    after a a period of time th eexplorer display the following message
    401 Unauthorized
    any help
    thank's

    Hi,
    Use following:
    username : admin
    password : welcome
    I think it will help you.
    Regards,
    Amit mehta

  • Retrieving SID (Session Id ) for a Oracle Forms Session

    Hi
    I am using financials after a break of couple of years and things have changed. I am trying to trace a form .So I set trace from the menu.Then I open the form Query , do other activities and close the form.Then I go to the Unix server and examine the Trace file by TKPROF. However the SQL Selects dont appear in the Trace.
    So I am wondering if there is a concept of Session for a Web application(Which is normally stateless). But I understand that the Forms Application runs as an applet in the browser.Does Oracle maintain single session for an EBS login until logout- or does it open a new session whenever you open a form or do a query. I am not exactly sure - I checked some documenation but still am unclear. Also if it is maintaining a connected state how can I determine the session ID SID (So I can query v$session and associated tables for information I am interested in).

    AFAIK, the forms interface maintains the same database session. The database session gets created when you first use the forms interface and gets terminated when you exit the forms interface. Pl see this related thread on how to trace a forms session - Doing a Trace on the ARXADLMT Approval Limits form No Select statement i
    HTH
    Srini

  • Oracle Form Sessions - 11.5.10.2

    I may have asked this question before but I am still looking for a solid answer on this one.
    Is there any table or view, in addition to v$session, which would tell me form sessions, wait time by each form module, activities performed by these form sessions in an EBS instance?
    This is on 10g r2 with 11.5.10.2 application version.
    I queried all v$ tables and FND_OAM% tables before posting this but did not struck any luck there.
    In addition, I am only looking for FORM sessions. I am not looking for any JDBC,ODBC, TOAD, APPS Sessions, the v$session deliveres mixture of all session types.
    Thanks,
    R

    You can use the following tables to get some idea about the user's activities.
    FND_LOGINS
    fnd_login_responsibilities
    FND_LOGIN_RESP_FORMS
    FND_FORM_TL
    SELECT DISTINCT USER_fORM_NAME --FF.*
    FROM FND_LOGIN_RESP_FORMS F, FND_LOGINS FL, FND_FORM_TL FF
    WHERE FL.LOGIN_ID = F.LOGIN_ID
    AND FL.USER_ID= (select user_id from fnd_user where user_namE='GANDHIS')
    AND FF.FORM_ID = F.FORM_ID
    AND FL.START_TIME > SYSDATE - 2
    AND FF.LANGUAGE='US'
    Some tables do have a column called login_id that can be tied to the above.
    You can find out how long a user was on a given screen but it is a lot more difficult (and in some cases impossible) to find out exactly which records it touched; was any work being performed or the user was simply staring at the screen.
    Hope this helps
    Sandeep Gandhi
    Omkar Technologies Inc.
    Independent Techno-functional Consultant

  • Issue in Editors Of Oracle Forms

    I used editor in my application.
    if i click and enter text tat should reflect in my InputText.
    the problem is when i enter Text and press enter button and again enter other text and click enter the Text in the InputText Field is diaplaying small boxes where i pressed enter
    Input in Editor : 1st text Verifying Bugs --> press enter --> 2nd text Checking --> press enter
    OutPut : Verifying Bugssquare boxCheckingsquare box
    when pressing enter in Editor squarebox is appearing instead of space in the text field
    Kindly let me know the solution.Its immediate reuirement.
    Thanking You.

    Hi,
    please check java runtime console for more issue information.
    Windows:
    SystemControl->Java Plugin Ver XXXX -> Standard -> Check "Show Java Console"
    In Systray, check the console for information about errors in java after the form error.
    Attackwave

  • Oracle Forms Trigger firing hierarchy flowchart

    Greetings,
    In 1994, there was a "Oracle Forms Processing Manual" (Oracle part# A11990-2).
    This book contained the visual representation of Oracle Forms processes showing where each trigger fires.
    Where is this "flow-chart" in documentation available today?
    I need to know the explicit chronological sequence of each trigger firing....
    Pre-Form trigger fires first...then the When-New-Form-Instance....etc
    Thank you for your support!

    Sorry.
    Let me clarify.
    Need to know where it is defined about which trigger fires before or after which other trigger….
    The whole sequence…every trigger…
    Example:
    Document must show stuff like ON-COMMIT fires before(or after) POST-DELETE.
    So I am certain that when a delete is initiated by the user, the ON-COMMIT fires before(or after), and so data in the database record is still available(or not available) to the code in the ON_COMMIT trigger.
    This helps me know for certain what really happens, step-by-step, when Forms deletes a record.
    So the document must show a visual representation of the DELETE EVENT.
    This visual representation must explicitly show the ON-COMMIT trigger and the PRE-DELETE trigger and the ON-DELETE trigger and the POST-DELETE trigger…
    Thank you!

  • Firing sequence of Oracle forms 6.0 triggers

    Hi All,
    Pls tell anyone what is the sequence of trigger firing in oracle 6.0 (oracle apps).
    Thanks in advance

    Hi,
    Please see if these links/docs help.
    Note: 61675.1 - Trigger Execution Sequence in Oracle Forms
    firing sequence of triggers in oracle forms
    http://tinyurl.com/2wyffj6
    Thanks,
    Hussein

  • Is a 512MB, Celeron PC good enough to run Oracle Forms

    Hi:
    I was curious and would like to know if anybody knows if a 512 MB RAM, Intel Celeron DELL PC is sufficient to run 3 Oracle Forms sessions for a Call Center application.
    Does anybody out there have a similar app out there and would be willing to share their PC configurations?
    Thanks,
    Thomas

    Hi Steve:
    Yes, we learned early on (about 16 months ago) that launching a second session off the same browser is an issue. I believe its has to do with the JVM only getting so much memory allocated and thus when you have more that one session, you reach a limit faster and furthermore, one sessions drags the other one (or something like that). I do not know if you noticed (from some of my other posts) or remember me from last year but our app has been unstable ever since its introduction into production. If this memory limit theory of mine is true, it is conceptually possible that our app becomes unstable when a limit is reached. I am trying to find if there is a way to overcome this limit.
    From last years observations, I noticed that a user with a current PC (at least 1GB RAM and at Pentium 4) experienced issues once every couple of weeks which is far better than a typical CSR (which uses 512MB RAM and Celeron processor)which experiences issues at least twice a day. I am trying to find, if it exists, documentation or solid proof that for usage described the better PC is needed, to at least justify a controlled test.
    Our CSRs like to have at least three sessions open because that way they can switch and perform different lookups.
    In order to avoid users opening from the same browser, we set them up with a launching executable that makes sure a new browser is open and just in case, they attempt to go around that, we installed (I believe Javascript) logic that check for the browser already running an instance of the app.
    Thomas

  • Trigger events when user closes a Web Form?

    Hi. Is there a way to fire code (a trigger perhaps?) when a user unexpectedly closes the entire browser window by clicking on the X in the upper, right corner of the browser?
    Or, is there a way to prevent the user from being able to close the browser window by clicking on the X?
    Any help would be great. Thanks.
    Edited by: sharpe on Jun 26, 2012 11:20 AM

    The concepts behind a running form tend to be a mystery for some. However, there is no reason to believe that any Oracle magic occurs when running an Oracle Forms application. On the client side, the running for is a standard java applet. Like any applet running in a browser, the browser uses a plug-in (the JRE in this case) to support the content (the applet). The browser creates a container on the page where the JRE can present its content or host the applet, based on the underlying html. Once the applet starts, it will be displayed in this container space on the page within the browser window. In the case of Oracle Forms, we decided it would be nice to offer an option where the form could be exposed outside of this browser space and float freely.
    So the answer to your question regarding what the "window" is called, well the browser is the "browser" and the floating window is actually a java frame which can be created in any applet. Again, no Oracle magic here. ;)
    Generally, separateFrame=true is used when more real-estate is needed or when you simply do not want to see the browser controls. That said, I often recommend against using separateFrame=true for a variety of reasons. One of the most common reasons is that if the browser window which is hosting the form is closed or if the browser navigates from the current page, the running form will terminate. Because the browser, in this case, is not doing anything obvious, end-users can easily make the mistake of thinking it is ok to navigate to a webpage using the currently shown blank page. This will cause the form to close.
    If you don't mind having the browser controls visible then using separateFrame=false is probably a better way to go. This would also allow you to use the note I mentioned in order to detect attempts to close the browser, assuming you are using Forms 10.1.2.3 or newer and JRE 1.6. To detect the closing of the "separateFrame" you likely would need to create a java bean, which may become a little more complicated than what can be described here. But remember what I mentioned above, if you use separateFrame=true and the hosting browser is closed, the form will also close. So in this case, you would have to code to detect both the applet frame closing as well as the browser window.
    There are a variety of ways in which some of the browser controls can be hidden using java script, so this can offer some help if using separateFrame=false. So this is yet another option.

  • Issue With AMP 4.0 - forms service showing down on all Instances

    Hi,
    I've recently installed AMP4.0 on linux 5.3 EBiz 12.1.3.
    My issue is that the forms service is showing as down for all instances. Has anybody come accross this issue before?
    FEXDEV1-Oracle Forms FEXDEV1_ebizappsuat
    Service is down; 3 key components are down: FEXUAT1-Oracle Forms FEXUAT1_ebizappsuat, FEXUAT1_ebizappsuat.ebizappsuat.fexco.ie_forms, FEXUAT1_ebizappsuat.ebizappsuat.fexco.ie_HTTP Server
    Thanks,
    Keith

    Did you ever get this resolved

  • Triger for display next record in oracle forms

    hai all,
    i want to do
    when new form opened i have to add new reord that is empty new form also my new rownum will be displayed.
    now i getting first record.
    like:
    GROUP_ROWNUM:     1
    GROUP_ID:      120130
    GROUP_NAME aaaaaaaaa
    need like:
    GROUP_ROWNUM:     7
    GROUP_ID:
    GROUP_NAME
    that can be done by
    trigger for display next record in oracle forms?
    or through property seting?
    thanks in adv,
    rcs
    --------

    YES, this block is base on the DB table
    through defualt navigational button i can go to next,last,new record
    but i want create seperate form for new entry, in that i want to display
    old rownum
    formula to get rownum automatically (i am not at all typing it is system generated)
    even though i created column group_rownum for rownum
    (i can't be typing)
    LAST_RECORD;
    NEXT_RECORD; also not getting the next rownum
    i hope now understand me
    any posible way?
    thank you for your good input
    i.e.
    SQL> DESC GROUP_MSTR1;
    Name Null? Type
    GROUP_ID NOT NULL NUMBER(10)
    GROUP_NAME NOT NULL VARCHAR2(30)
    SQL> select * from GROUP_MSTR1;
    GROUP_ID GROUP_NAME
    123 AAAAAA
    124 BBBBBBBB
    125 CCCCCCCCC
    126 DDDDDDDD
    1 eeeeeeee
    2 FFFFFFFFF
    3 ggggggg
    7 rows selected.
    SQL> select rownum, GROUP_ID, GROUP_NAME from GROUP_MSTR1;
    ROWNUM GROUP_ID GROUP_NAME
    1 123 AAAAAA
    2 124 BBBBBBBB
    3 125 CCCCCCCCC
    4 126 DDDDDDDD
    5 1 eeeeeeee
    6 2 FFFFFFFFF
    7 3 ggggggg
    7 rows selected.
    -------------

Maybe you are looking for

  • Why is my drop down spry menu not working any more please?

    Hi all. I created this template and tested it in Firefox not so long ago and the drop down menu was fully operational.  Today, however, is a different story.  I am pasting the codes below for some please as to where it has gone wrong and thanks for a

  • Pcard integration in Classic Scenario

    Hi All I learnt that it is possible to use pCard in Classic Scenario if a few customizations are made. These customizations include adding a few custom fields in the shopping cart & ECC PO for Pcard Company, Pcard Number and Validity date. However on

  • How do I return my product

    I want to return by product.  What phone number do I call.

  • Deployment Msg: Error instantiating compiler: IO error writing cache

    When i try to deploy to my OC4J server from jDeveloper I get the following: Auto-deploying csldc-ejb.jar (ejb-jar.xml had been touched since the previous deployment)... Error compiling D:\OC4J903\j2ee\home\applications\CSLDC/csldc-ejb.jar: Error inst

  • WAP321 setup - HELP - HELP

    Hello All, Our company located on 2 floor of a bussiness buiding.  I just bought 6 devices of Cisco WAP321 and would like to setup a wireless so users can move from 1 floor to the other floor with wireless still connect and the speed is at the fastes