Occurance of trace event in oracle

Hi ,
Wishing all a happy Eid ....
I have question on  trace enabling of Oracle database .
Suppose I have enabled a trace event  "alter system set events '1031 trace name errorstack level 3';"
Qusetion-1 : - Will this trace event able to create a trace file in udump dest for the users who are already logged in before the trace event  enabled .,
               Meaning - Suppose I am enabling the trace event (ex-1031) on 9 AM , will this event able to create a trace file for the users
               who have logged in at 7AM and at 9:30 AM ora-1031 will raise from their session. 
Question -2 - After enabling the trace on instance/system level ,how can i check the enabled event ...
              Meaning - Is there any query/command to check the above trace level (1031) is enabled or not ....
Thanks

1.  Try it.
2.  Search dbms_system.read_ev on Oracle DBMS_SYSTEM , though see note.
Also see Spying on the other session | Dion Cho - Oracle Performance Storyteller

Similar Messages

  • "Rows" statistics from STAT in trace event 10046, Oracle 11g.

    Hi, all!
    Why "Rows" statistics in STAT are different for 10g and 11g?
    I have two database with version 10g and 11g, with the same data.
    I executed some pl/sql code with tracing 10046 level 8.
    And I have different result when obtain raw trace.
    In 10g I obtain rows statistics for all executions - Rows= 7.
    In 11g I obtain rows statistics for first executions - Rows= 1. Why?
    See my example:
    declare
         type t_name_tbl is table of varchar2(30) index by binary_integer;
         v_name_tbl t_name_tbl;
         v_len      number := 10;
    begin
         execute immediate 'alter session set timed_statistics = true ';
         execute immediate 'alter session set statistics_level=all ';
         execute immediate 'alter session set max_dump_file_size = unlimited ';
         execute immediate 'alter session set events ''10046 trace name context forever,level 8'' ';
         loop
           select cour_name bulk collect
                into v_name_tbl
               from country t
              where length(t.cour_name) = v_len;
           exit when v_len = 0;
           v_len := v_len - 1;
           for i in 1 .. v_name_tbl.count loop
             dbms_output.put_line(v_name_tbl(i));
           end loop;
         end loop;
    end;Result Tkprof for Oracle 10g:
    SELECT COUR_NAME
    FROM
    COUNTRY T WHERE LENGTH(T.COUR_NAME) = :B1
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute     11      0.00       0.00          0          0          0           0
    Fetch       11      0.01       0.00          0         44          0           7
    total       23      0.01       0.00          0         44          0           7
    Misses in library cache during parse: 0
    Optimizer mode: ALL_ROWS
    Parsing user id: 649     (recursive depth: 1)
    Rows     Row Source Operation
          7  TABLE ACCESS FULL COUNTRY (cr=44 pr=0 pw=0 time=1576 us)Result Tkprof for Oracle 11g:
    SQL ID: 3kqmkg8jp5nwk
    Plan Hash: 1371235632
    SELECT COUR_NAME
    FROM
    COUNTRY T WHERE LENGTH(T.COUR_NAME) = :B1
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.01       0.00          0          0          0           0
    Execute     11      0.02       0.01          0          0          0           0
    Fetch       11      0.00       0.01          3         44          0           7
    total       23      0.03       0.02          3         44          0           7
    Misses in library cache during parse: 1
    Misses in library cache during execute: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 82     (recursive depth: 1)
    Rows     Row Source Operation
          1  TABLE ACCESS FULL COUNTRY (cr=4 pr=3 pw=0 time=0 us cost=2 size=44 card=2)Were can I read about it?

    Oracle 11g by default writes the execution plan (the STAT lines in the raw trace file) after the first execution of the SQL statement, while prior to 11g the execution plan is written only when the cursor is closed.
    The behavior in 11g can be controlled by changing the PLAN_STAT parameter of the call that enables the trace from the default value of FIRST_EXECUTION to ALL_EXECUTIONS:
    http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28419/d_sessio.htm#i1010518
    Charles Hooper
    Co-author of "Expert Oracle Practices: Oracle Database Administration from the Oak Table"
    http://hoopercharles.wordpress.com/
    IT Manager/Oracle DBA
    K&M Machine-Fabricating, Inc.
    Edited by: Charles Hooper on Aug 9, 2010 3:33 PM
    Default value on 11g is FIRST_EXECUTION, while the behavior prior to 11g is ALL_EXECUTIONS - corrected the incomplete sentence.

  • Problem while bringing Google Calendar events to Oracle Tables

    Hi Friends,
    I have written the following code to bring the Google Calendar Events to Oracle Tables...
    CREATE OR REPLACE procedure XX_DEV.authenticate_service_test(p_email in varchar2,p_password in varchar2)
    is
    l_request utl_http.req;
    l_response utl_http.resp;
    l_params varchar2(255);
    l_resp_data VARCHAR2(4000);-- CHARACTER SET;
    l_auth_token VARCHAR2(4000);
    l_cal_entry CLOB;
    v_response_xml XMLType;
    v_entry_id varchar2(100);
    xml_result xmltype;
    cnt number:= 0;
    v_xmldoc CLOB;
    v_start_time date;
    v_end_time date;
    cursor c1 is select x.title title, x.content content, x.where where, x.start_time start_time, x.end_time end_time, x.entry_id entry_id from
    xmltable('feed/entry'
    passing xmltype(v_xmldoc)
    columns title varchar2(1000) path '/entry/title/text()'
    ,content clob path '/entry/content/text()'
    ,where clob path '/entry/gd-where/@valueString'
    ,start_time varchar2(100) path '/entry/gd-when/@startTime'
    ,end_time varchar2(100) path '/entry/gd-when/@endTime'
    ,entry_id varchar2(1000) path '/entry/id'
    ) x ;
    begin
    -- access the oracle wallet to allow us to make an https request
    utl_http.set_wallet(path => 'file:/u01/app/oracle/product/11.2.0/owm/wallets/oracle11/',password => 'srisys123');
    -- set up the request body with our credentials
    l_params := 'Email=' || p_email || '&Passwd=' || p_password ||'&service=cl' || '&source=e-DBA-test-1.0';
    l_request := utl_http.begin_request('https://www.google.com/accounts/ClientLogin','POST','HTTP/1.1');--accounts/ClientLogin
    -- set the request headers
    utl_http.set_header(l_request,'Content-Type','application/x-www-form-urlencoded');
    utl_http.set_header(l_request,'Content-Length',length(l_params));
    -- write out the request body
    utl_http.write_text( l_request, l_params );
    -- get the response
    l_response := utl_http.get_response( r => l_request );
    dbms_output.put_line('Status Code: '||l_response.status_code);
    loop
    utl_http.read_line( r => l_response, data => l_resp_data, remove_crlf => TRUE);
    dbms_output.put_line(l_resp_data);
    if substr(l_resp_data, 1, 5) = 'Auth=' then
    l_auth_token := substr(l_resp_data, 6);
    end if;
    end loop;
    exception
    when utl_http.end_of_body then
    null;
    dbms_output.put_line('Auth Token: '||l_auth_token);
    utl_http.end_response ( l_response );
    -- replace the substitution variables in the template with the parameter values
    --utl_http.end_response ( l_response );
    l_request := utl_http.begin_request(
    'http://www.google.com/calendar/feeds/default/private/full',
    'GET',
    'HTTP/1.1');
    utl_http.set_header(
    l_request,
    'Content-Type',
    'application/atom+xml');
    utl_http.set_header(
    l_request,
    'Authorization',
    'GoogleLogin auth='||l_auth_token);
    l_response := utl_http.get_response( r => l_request );
    utl_http.read_text(
    l_response,
    l_cal_entry
    dbms_output.put_line('Status Code: ' || l_response.status_code);
    /*select replace(l_cal_entry,'<?xml version='||'''1.0'''||' encoding='||'''UTF-8'''||'?>','') into l_cal_entry from dual;
    select ltrim(l_cal_entry,substr(l_cal_entry,1,148)) into l_cal_entry from dual;
    select '<feed'||l_cal_entry into l_cal_entry from dual;
    select replace (l_cal_entry,':','-') into l_cal_entry from dual;*/
    dbms_output.put_line('Calendar Event: ' || l_cal_entry);
    -- xml_result :=XMLType.extract(l_cal_entry,'//title');
    delete from xml_test1;
    insert into xml_test1 values (l_cal_entry);
    utl_http.end_response ( l_response );
    select DATA into v_xmldoc from XML_TEST1;
    execute immediate 'alter session set events = ''31156 trace name context forever, level 2''';
    for i in c1
    loop
    l_cal_entry:= NULL;
    dbms_output.put_line('Result: '||i.title||'*'||i.content||'*'||i.name||'*'||i.start_time||'*'||i.end_time||'*'||i.entry_id);
    begin
    select 1 into cnt from events_bkp where entry_id = i.entry_id;
    select nvl(to_date(rtrim(replace(i.start_time,'T',' '),substr(replace(i.start_time,'T',' '),12,20))||
    replace(substr(replace(i.start_time,'T',' '),12,8),'-',':'),'yyyy-mm-dd hh24:mi:ss'),sysdate) into v_start_time from dual;
    select nvl(to_date(rtrim(replace(i.end_time,'T',' '),substr(replace(i.end_time,'T',' '),12,20))||
    replace(substr(replace(i.end_time,'T',' '),12,8),'-',':'),'yyyy-mm-dd hh24:mi:ss'),sysdate) into v_end_time from dual;
    update events_bkp set description = i.title, notes = nvl(i.content,'No Notes'), start_date_time = v_start_time, end_date_time = v_end_time
    where entry_id = i.entry_id;
    exception when others then
    select nvl(to_date(rtrim(replace(i.start_time,'T',' '),substr(replace(i.start_time,'T',' '),12,20))||
    replace(substr(replace(i.start_time,'T',' '),12,8),'-',':'),'yyyy-mm-dd hh24:mi:ss'),sysdate) into v_start_time from dual;
    select nvl(to_date(rtrim(replace(i.end_time,'T',' '),substr(replace(i.end_time,'T',' '),12,20))||
    replace(substr(replace(i.end_time,'T',' '),12,8),'-',':'),'yyyy-mm-dd hh24:mi:ss'),sysdate) into v_end_time from dual;
    insert into events_bkp values(events_seq.nextval, 9, 1,1, 4, i.title, nvl(i.content,'No Notes'), v_start_time, v_end_time,'','',
    4, 1, sysdate, 1, sysdate, 13, i.entry_id);
    end;
    commit;
    end loop;
    execute immediate 'alter session set events = ''31156 trace name context off''';
    end authenticate_service_test;
    I am able to execute it successfully with my username and password but I am getting error when the number of events are more than 15...
    The parameter l_cal_entry which is of clob datatype is not holding the whole xml data.
    Please advice....
    Thank You,
    Srikanth

    Hi Friends,
    Now I am able to load all the events of a user by adding the following code
    loop
    utl_http.read_text(l_response, l_cal);
    l_cal_entry:= l_cal_entry||l_cal;
    end loop;
    but I am getting problem when the user has more than one calendar. The Begin_request link I am using is...
    'https://www.google.com/calendar/feeds/default/private/full'
    Using this, I am able to get only the events of a default calendar associated to the user.
    How can I get the events of all calendars or a particular calendar associated with the user.
    I may have to change the above link... I have tried with various combinations by appending calendar id but I am unable get the right combination
    Please advice...
    Thank You,
    Srikanth

  • How using sql trace event  10128 level 1&2

    hi all,i want ask about sql trace event 10128. how using sql trace event 10128 level 1&2??
    when I've enabled sql trace event 10128 level 2,and i execution query then appears error
    ORA-00604: error occurred at recursive SQL level 1
    ORA-00942: table or view does not exist
    where the fault lies??
    i'm using
    ALTER SYSTEM SET timed_statistics=TRUE;
    ALTER SESSION SET EVENT '10128 TRACE NAME CONTEXT FOREVER, LEVEL 2';

    But nothing issue with me on 10g on windows xp:
    SQL> ALTER SYSTEM SET timed_statistics=TRUE;
    System altered.
    SQL> ALTER SESSION SET EVENT '10128 TRACE NAME CONTEXT FOREVER, LEVEL 2';
    ALTER SESSION SET EVENT '10128 TRACE NAME CONTEXT FOREVER, LEVEL 2'
    ERROR at line 1:
    ORA-00927: missing equal sign
    SQL> ALTER SESSION SET EVENTS
      2      '10128 trace name context forever, level 2';
    Session altered.
    SQL>HTH
    Girish Shamra
    Edited by: Girish Sharma on Dec 9, 2009 11:46 AM
    This is not "EVENT" .. it is "EVENTS"

  • Ask result sql trace events 10046 level 8 and 12

    hi all, i read result of sql trace events 10046 level 8 on
    http://www.oracle-base.com/articles/10g/SQLTrace10046TrcsessAndTkprof10g.php#trace_example
    and I do sql trace event 10046 level 8 or 12. But the results did not same, execution plan does not appear
    how to have execution plan appears??

    We use level 12 and we have both RSO (row source operation) and execution plan. Remember, execution plan is just the preditive estimate execution path by the opimizer. RSO is actually how the optimizer executes.
    ALTER SESSION SET EVENTS '10046 trace name context forever, level 12'
    call count cpu elapsed disk query current rows
    Parse 1 0.01 0.00 0 0 0 0
    Execute 1 0.00 0.00 0 0 0 0
    Fetch 1 0.01 0.00 0 66 1 1
    total 3 0.02 0.01 0 66 1 1
    Misses in library cache during parse: 1
    Misses in library cache during execute: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 1767 (DELTEK) (recursive depth: 2)
    Rows Row Source Operation
    1 SORT AGGREGATE (cr=66 pr=0 pw=0 time=8793 us)
    4732 TABLE ACCESS SAMPLE Z_PJPCOMPR_UPSUM47 (cr=66 pr=0 pw=0 time=74 us)
    Rows Execution Plan
    0 SELECT STATEMENT MODE: HINT: ALL_ROWS
    1 SORT (AGGREGATE)
    4732 TABLE ACCESS (SAMPLE) OF 'Z_PJPCOMPR_UPSUM47' (TABLE)

  • 10046 trace event

    Hi! please! help me find out about "10046 trace event" ...
    how to read this, is there any technique involved !..
    if you have any web links then do share it with me, any sort of documentation will be very helpful to me...
    cheers'
    Amit

    Time to buy, Carry and Jeff's, award winning book of 2004, 'Optimizing Oracle Performance'. They have explained about the trace in-detail. Worthy to have a copy of it.
    For time being, go to, www.hotsos and download papers related to 10046event from their library.
    Jaffar

  • TRACE EVENT 세팅에 대하여

    제품 : ORACLE SERVER
    작성날짜 : 2003-08-04
    trace event를 세팅에 대하여
    init.ora에 특별한 파라메터를 세팅하므로서 memory나 디스크 corruption에대해
    분석할 수있는 방법이 있다. 이러한 파라메터들은 performance에 영향을 줄 수
    있으므로 정상적인 상태에서는 세팅하지 않는다. 여기서는 event information을
    모으기 위한 시간을 절약하는데 목적이 있으며 몇개의 event 세팅의 보기를 보여
    준다. 여기서 보여지는 것 말고도 많은 event들이 있으며 그것들은 그때그때의
    필요에 의해 세팅되어 진다.
    Event trace를 하기 위한 방법에는 두 가지가 있다. 첫번째는 init.ora에 세팅
    하는 것이며 이것은 모든 세션에 영향을 미친다. 두번째 방법은 alter session
    set events 명령어를 이용하는 것이며 현재 세션에만 영향을 미친다.
    Syntax는 다음과 같다.
    Event = "event syntax | , LEVEL n | : event syntax | , LEVEL n | .. "
    sql 문장을 이용한 syntax는 다음과 같다.
    SQL> alter session set events 'event syntax LEVEL n: event syntax
    LEVEL n: ...';
    예를들어 콘트롤 화일의 전체 내용을 보기 위한 syntax는 다음과 같다.
    SQL> alter session set events 'IMMEDIATE TRACE NAME CONTROLF LEVEL 10';
    event syntax는 여러개의 키워드를 가지고 있다. 첫번째의 키워드는 event
    number이거나 special keyword, 즉 IMMEDIATE일 수 있다. Event number는
    오라클 에러 번호이거나 internal error code일 수 있다. Event code는
    그 값에 따라 action이 발생되는 커널의 logic에 의해 결정된다. 이러한 내부
    event code는 /rdbms/mesg/oraus.msg 화일에 있다. 다른 operating system에
    서는 상기 화일이 binary format이거나 text가 아닐 수 있다. Internal event
    code는 10000 - 20000의 범위에 있다.
    만약 IMMEDIATE라는 키워드가 첫번째 나온다면 이것은 unconditional event
    임을 나타낸다. 그리고 그 결과는 이 명령어가 사용된 직후 발생된다. 이러한
    명령어는 alter session 라. 명령어에서만 효과가 있고 init.ora에서 설정된
    문장은 효과가 없다.
    두번째와 세번째 키워드는 각각 대부분 TRACE와 NAME이다. TRACE라는 키워드는
    output이 trace file로 dump될 것을 의미하며 NAME이라는 키워드는 실제 event
    name 바로 앞에 온다. TRACE말고도 다른 키워드가 올 수 있으나 그것들은 오라
    클의 개발팀을 위해 사용된다. 마지막 키워드는 event name으로 실제 dump할
    내용을 정한다.
    만약 IMMEDIATE 키워드를 사용하지 않는다면 얼마나 오래동안 trace를 할지를
    지정해야 한다. FOREVER 키워드를 사용했을때에는 해당 session이나 instance가
    살아있는 시점까지 event는 살아있게 된다.
    Event 문장 다음에는 대부분의 event에서 LEVEL 키워드가 세팅된다. 만약 level
    이 없다면 errorstack을 dump하는 동안 exception이 발생할 수 있다. 일반적
    으로 LEVEL은 1에서 10까지의 범위를 갖는다. 10은 그 event에 대해서 전체
    내용을 전부 dump할 것을 의미한다.
    예를들어 LEVEL을 1로 했을때에는 control file을 dump할때 control file
    header만을 dump하지만 10이면 전체 내용을 dump한다. BLOCKDUMP키워드 일때
    에는 LEVEL은 특별한 의미를 가지며 그것은 datablock의 실제 주소가 십진수로
    표시된다.
    이제 몇개의 예를 들어 보자. 다음은 init.ora 에 세팅될 수 있는 내용이다.
    EVENT = "604 TRACE NAME ERRORSTACK FOREVER"
    EVENT = "10210 TRACE NAME CONTEXT FOREVER, LEVEL 10"
    첫번째 문장은 process가 ORA-604를 만날때마다 error stack을 dump하게 될 것
    이다. 두번째 문장은 디스크에서 캐쉬로 블록을 읽을때 block integrity를 체크
    하는 event이다.
    다음 문장들은 SQL을 통해서 event를 세팅하는 예를 보인다.
    SQL> ALTER SESSION SET EVENTS 'IMMEDIATE TRACE NAME BLOCKDUMP
    LEVEL 67109037';
    SQL> ALTER SESSION SET EVENTS 'IMMEDIATE TRACE NAME CONTROLF
    LEVEL 10';
    SQL> ALTER SESSION SET EVENTS 'IMMEDIATE TRACE NAME SYSTEMSTATE
    LEVEL 10';
    첫번째 문장은 데이타블록 67109037을 trace file로 dump할 것이다. 모든
    오라클 데이타베이스의 데이타블록은 block number와 file number의 유일한
    값으로 되어 있다. 상기예에서 67109037은 block number와 file number와의
    십진표현법이다. 이러한 정보는 operating system dependent하다. 두번째
    문장은 전체 콘트롤화일의 내용을 trace file로 dump한다.
    세번째 문장은 system state 를 trace로 dump한다. (system state는 현재
    RDBMS에 의해 잡혀있는 object에 대한 정보를 보여주며 process state dump는
    특정 process에 잡혀있는 object에 대한 process state dump를 보여준다)
    이러한 정보는 system hang problem과 같은 문제의 분석에 유용할 수 있다.
    EVENT NAMES
    여기서는 사용가능한 event에 대한 감각을 익히기 위해서 몇개의 event name을
    들어 설명한다.
    - ERRORSTACK
    오라클은 어떤 process가 특별한 에러를 만났을때 그에 관련된 정보를 저장하기
    위해 "error stack"을 생성한다. Oracle foreground process는 에러 메세지를
    받는다. Application 운영중에는(Developer/2000 Forms) 에러와 관련된 자세한
    정보를 foreground process는 받지 못한다.
    이 event는 전체 에러 스택을 trace로 dump해 주며 oracle error를 debugging
    하는데 유용하게 이용할 수 있다. 예를들어 application이 ora-604와 함께
    실행이 중단되면
    SQL> alter session set events '604 trace name errorstack forever';
    은 에러 스택을 trace file로 생성시켜 줄 것이다.
    - SYSTEMSTATE
    이 event는 전체 system state를 dump하며 이것은 모든 프로세스의 state dump
    를 포함한다.
    Performance degradation, process hang이나 system hang을 분석하는데 있어서
    유용하다.
    SQL> alter session set events 'immediate trace name systemstate
    level 10';
    - EVENT CODE 10013 AND 10015
    이것들은 corrupted rollback segment 문제를 분석하는데 사용될 수 있다.
    이러한 경우에 데이타베이스는 startup 할 수 없고 ora-1578에러를 발생한다.
    만약 원인이 rollback에 있는 것으로 판단됐을때 init.ora에 상기 event를 세팅
    하면 trace 화일을 생성할 것이다. syntax는 다음과 같다.
    Event = "10015 trace name context forever"
    - EVENT CODES 10210 AND 10211
    이것들은 block checking,가 event checking event들이다. 일반적으로 디스크
    블록이 캐쉬로 읽어들여질때 기본적인 integrity checking이 수행된다. 상기
    event들을 세팅하므로서 오라클은 부가적인 check을 하게되며 이것은 block
    corruption을 분석하는데 결정적이다. PMON은 항상 block checking을 가능한
    상태로 유지하고 있다. 정상적인 상태에서도 block-checking이나 index-
    checking을 수행하는 것이 좋을 수도 있으나 over head가 있다.
    Event = "10210 trace name context forever, level 10"
    - EVENT CODES 10231 AND 10232
    정전으로 인해 디스크의 한 블록 전체의 내용이 없어질 수 있다. 그런 상황에서
    그 테이블의 자료를 살려내기 위해 일반적으로 export를 받는다. 그러나 full
    table scan은 bad block을 만났을때 실패할 것이다. 이러한 상황을 피해가기
    위해 event 10231의 세팅이 필요하다. 이 event는 full table scan시
    corrupted block을 skip할 것이다. Event 10232가 세팅된다면 corrupted
    block을 trace file로 dump된다. 이러한 event를 세팅하기 위해서는 몇몇 조건
    들이 필요하다.
    . 이러한 블록은 오라클에 의해 soft-corrupted되어야 한다. 즉 오라클이
    corrupt block을 발견할 때 그 블록에 어떤 bit을 세팅하므로서 손상되었다고
    표시한다. 오라클이 soft-corrupt block을 하기 위해서는 event 10210을 세팅
    해야 한다. 그러므로 event 10210과 함께 10231이 쓰이는 것이 권장된다.
    . 인덱스를 이용하여 해당 블록을 접근하는 것은 안되며, 단지 full table
    scan만이 수행 되어야 한다. 만약 손상된 테이블을 export하려면 이러한 event
    를 init.ora에 세팅해 놓아야 한다.
    SQL> alter session set events *10231 trace name context off*;
    Event = "10231 trace name context forever, level 10"
    첫번째 문장은 세션에서 lock-checking 을 더 이상 하지 않게 하며 두번째는
    block-checking을 실행하게 된다.
    Reference Documents
    <Note:1051056.6>
    <Note:21184.1>

    Thanks Ray.
    I was wrong. The event is fired even if i enable it before the callback VI registration.
    The problem was that, just to discover if the callback VI was called, i put some code in its block diagram that would have changed the state of a boolean control placed on its front panel, every time the callback VI was called.
    Apparently this is not allowed and the boolean didn't change its state.
    I solved linking the code in the callback VI to a boolean placed on another front panel (in this case on the main VI one). In this way i succeded whatching the boolean state change.

  • How to generate trace file in oracle application forms

    hi
    I want to generate trace fle in oracle application
    Regards
    9841672839

    Hi,
    Refer to the following documents.
    Note: 296559.1 - FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=296559.1
    Note: 130182.1 - HOW TO TRACE FROM FORM, REPORT, PROGRAM AND OTHERS IN ORACLE APPLICATIONS
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=130182.1
    Regards,
    Hussein

  • Creating a trace file in oracle 9i

    Hi,
    I would like to genrate a trace file in oracle 9i for a single statement.
    Can anyone let me know how to do it.

    [http://www.dbasupport.com/oracle/ora10g/session_tracing301.shtml]
    [http://www.oracle-base.com/articles/8i/TKPROFAndOracleTrace.php]
    [http://www.morganslibrary.org/reference/autotrace.html]
    [http://www.morganslibrary.org/reference/trace_tkprof.html]
    [http://www.morganslibrary.org/reference/explain_plan.html]

  • Error occured in invoking event "contextInitialized()" on listener class co

    Hi All,
    I am working on JSF 1.2 on SAP NetWeaver CE. I am able to execute sample JSF application successfully when NO java program is written in the application. When I write a java program inside the JSF application...I am getting following error. Please let me know how to proceed on this:
    "Application error occurred during the request procession."
    Error occured in invoking event "contextInitialized()" on listener class com.sun.faces.config.ConfigureListener.
    Details:
    java.lang.UnsupportedClassVersionError: Bad version number in .class file
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:654)
    at com.sap.engine.boot.loader.ResourceMultiParentClassLoader.loadClassLocal(ResourceMultiParentClassLoader.java:198)
    at com.sap.engine.boot.loader.MultiParentClassLoader.findClassInLoaderGraph(MultiParentClassLoader.java:302)
    at com.sap.engine.boot.loader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:256)
    at com.sap.engine.boot.loader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:228)
    at com.sun.faces.config.ManagedBeanFactoryImpl.getManagedBeanClass(ManagedBeanFactoryImpl.java:227)
    at com.sun.faces.config.ManagedBeanFactoryImpl.scanForAnnotations(ManagedBeanFactoryImpl.java:1130)
    at com.sun.faces.config.ManagedBeanFactoryImpl.<init>(ManagedBeanFactoryImpl.java:156)
    at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:926)
    at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:507)
    at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:402)
    at com.sap.engine.services.servlets_jsp.server.application.WebEvents.contextInitialized(WebEvents.java:74)
    at com.sap.engine.services.servlets_jsp.server.deploy.ApplicationThreadInitializer.run(ApplicationThreadInitializer.java:198)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:152)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:247)
    Rgds,
    Pathan

    Pathan wrote:
    java.lang.UnsupportedClassVersionError: Bad version number in .class fileThe Java version of the Java compiler used is newer than the Java version of the Java runtime used.
    E.g. compiling with JDK 1.6 and running with JRE 1.5 would cause this error.

  • An error occurred during Apple event processing. -43

    Every time I reboot my MacBook Pro I now get the following message.
    "An error occurred during Apple event processing. -43"
    I'm using OSX 10.6.7.
    Can anyonw help me resolve this problem?
    Dan

    Dan, are you using Adobe Photoshop Elements 9 for the Mac?
    If so, take a look at this thread:
    http://forums.adobe.com/thread/782138?decorator=print&displayFullThread=true
    Otherwise, what happens if you boot into Safe Boot? If the message doesn't occur, it might be a 3rd party startup item causing the issue, check the Login Items under your user Account under system preferences.
    Usually, the only thing that is there is the iTunes Helper, along with various printer alerters...

  • How to disable trace files in oracle version 11g

    Senario : trace file are growing
    How to disable trace files in oracle version 11g
    pls guide with best practice

    SHANOJ wrote:
    Senario : trace file are growing
    How to disable trace files in oracle version 11g
    pls guide with best practiceIn 11g, there is an extensive tracing that happens for the reasons best known to Oracle only. But if you want to disable it, Coskan had published a small post mentioning an undocumented parameter(which means you must think twice before using it) to disable it- disablehealth_check* . You may want to read the complete post here,
    http://coskan.wordpress.com/2009/06/03/too-many-trace_file-on-11g/
    Aman....

  • Integrate javascript event into Oracle ADF Components

    Can someone show me how to use javascript attribute, for instance onclick, in CoreCommandButton? How do we normally integrate javascript event into Oracle ADF Components?

    Hi,
    you already have a link. Its not an Oracle project but a project of Wilfred from Eurotransplant. Feel free to ping him directly on this or ask this question on the Forms forum, if you haven't already, where he most likely is signed up for.
    Frank

  • System ERROR EVENT WARNING : ORACLE.APPS.AR.HZ.CUSTACCOUNT.CREATE

    Hi,
    When Customer is Created / Updated using Receivables or TCA APIs in Oracle Apps 11.5.10, all registered Business Events are firing and subscription code (PL/SQL Rule Function) is executing successfully.
    In Administrator Workflow window, Notifications tab showing System Error: Warning Message for all the events which are subscribed.
    eg:
    "System: Error Event WARNING : oracle.apps.ar.hz.CustAccount.create /
    oracle.apps.ar.hz.CustAccount.create62829 " Warning Message.
    Please advice.
    Thanks and Regards,
    Vijay

    Whenever there is a requirement of raising a Business Event due to some custom activity, you should call wf_event.raise to do this.
    Just google to see the parameters you need to pass it while calling it.

  • Can i cal a javascript function from a jsp without occurance of any event??

    Hi,
    Below is the problem that i am facing:
    Problem:
    I want to open a new url from a java class.
    I have a java class. I am calling a jsp from this java class. JSP does some validations and after these validations, opens a url in new window. But I want to append some runtime parameters in the url and pass it through post method in jsp so that end user cannot see these parameters. Can any one tell me how to code for this schenario?
    Class A calls X.jsp
    X.jsp
    1. do some validations
    2. call some javascript function
    3. append the parameters in the url using dopost method
    One more thing to mention, when calling this jsp, i need to show this jsp to user, therefore there would not be any event in this jsp. I need soluions for following points:
    1. Without occurance of any event, my javascript function must be called
    2. desired parameters must be appended in the url
    3. New url should be opened and the parameters should not be visible to end user.(ie parameters need to be passed via post method in jsp)
    Appreciate your help.
    Thanks,
    Rajeev

    You are all mixed up. Here's how it works: a JSP is a program that executes on your server. It generates HTML (which may include Javascript) and sends that to the client, most likely a browser. When it has finished generating and sending all that HTML, the browser accepts it and renders it. The browser may execute Javascript as it renders the HTML, or it may execute Javascript later upon a click or mouse action or whatever.
    So your idea that the JSP will execute some Javascript is a non-starter. And that business about the JSP appending parameters and using the POST method is all backwards, unless perhaps you meant that the JSP would generate HTML containing a form that does that.
    Anyway you need to clarify your thought based on how things actually work. Confounding the two phases (generating HTML on the server, rendering it on the client) will make it very difficult for you to get anywhere.

Maybe you are looking for

  • Java.io.FilePermission + Flex :(

    Hi Guys, i have a very strange problem and hope that u can help me. J I am developing an Air-App using a Coldfusion (Hoster is hostek.com) Backend. The Application has a User-Login which works correctly. After the login the app calls the server to ge

  • Rotate Report - Rows into Columns

    Hope someone can help me with a SQL script that can turn a report 90 degrees so the row data becomes columns eg Select Month, Cost, Discount from Customer_Table Month Cost Discount Jun 08 $34 $6 Jul 08 $47 $3 Aug 08 $87 $8 Should look like this Month

  • Change parameters during online phase

    Hi! Is it possible to change the parameters which I made in the Preconfiguration Mode Planning during the online phase? (low resource use, high resource use,...) My manual selection was a tad small, and I think the online phase could need 1 week. Now

  • Aggregate Devices Tool is Broken

    I'm creating an aggregate device incorporating a number of devices with the same hardware configuration (hence the same name and manufacturer) through USB hubs. However, the aggregate devices editor - whilst showing up the devices - and whilst all de

  • Software perfect install and operation 7 years ago, now won't install

    Win XP sp3 Officejet All-in-One 7680 software won't install on either of two different computer with same windows version. Have tried all the troubleshooting suggestions and "HP Dr." Original successful install was on sp2, no problem encountered afte