Dbms-alerts

I regeisted an alert using the following syntax in oracle
DECLARE
msg VARCHAR2 (10) := NULL;
status VARCHAR2 (10) := NULL;
BEGIN
DBMS_ALERT.REGISTER('ALERT1234');
LOOP
EXIT WHEN (msg IS NOT NULL);
DBMS_ALERT.waitone ('ALERT1234', msg, status, 10);
END LOOP;
END;
and in another session I am execution ithe below code .
BEGIN
DBMS_ALERT.signal ('ALERT1234', 'hai');
END;
But both sessions are in blocked state .
Can you please let me know how to solve this contention

BEGIN
DBMS_ALERT.signal ('ALERT1234', 'hai');
END;You need to issue commit
BEGIN
    DBMS_ALERT.signal ('ALERT1234', 'hai');
    COMMIT;
END;The document is very clear on that
<pre>
SIGNAL Procedure
This procedure signals an alert. The effect of the SIGNAL call only occurs when
the transaction in which it is made commits. If the transaction rolls back, SIGNAL has no effect.
All sessions that have registered interest in this alert are notified. If the interested
sessions are currently waiting, they are awakened. If the interested sessions are not currently waiting,
they are notified the next time they do a wait call.
Multiple sessions can concurrently perform signals on the same alert. Each session, as it signals the alert,
blocks all other concurrent sessions until it commits. This has the effect of serializing the transactions.
</pre>

Similar Messages

  • How to alert user the Db is shutting down

    Hi all:
    Is there a way through forms such as using 'DBMS Alert' that will warn the users when the DB is being shut down. I need a proc or something that will warn the users on the system when the DB is being shut down. Does anyone have any suggestions on how to do this? whether it be a on the forms side, database side, or combination of both.

    Russ Ferriday <[email protected]> writes:
    We're using idb for prototyping. It's very convenient.
    We get lots of these messages
    Database idb is shutting down...
    Database idb shutdown complete.
    and performance is dismal. Does anyone have any tips to speed things up?Russ,
    If you set your db/pool/max to a value greater than 0, IDB will keep
    connections open, and performance should dramatically increase. However,
    when your main thread completes, the JVM may not exit, as IDB's
    connection cache may not be empty. We have played with various fixes to
    this problem, but are reluctant to make significant code changes for it,
    as we do not expect people to use a single-JVM IDB configuration in a
    production environment.
    To make your application behave nicely, you must explicitly invoke
    System.exit() at the end of your main routine. Note that you should do
    this in the finally clause of a try...finally block so that if an
    exception is thrown in your code, the JVM will still exit. Additionally,
    it would be a good idea to catch Throwables and print out the stack
    trace, so that if an exception makes its way up to your main method, you
    will see some indication of the failure:
    public static void main (String [] args)
    try
    // your code here
    catch (Throwable t)
    t.printStackTrace ();
    finally
    System.exit (0);
    I hope that this helps.
    -Patrick
    Patrick Linskey [email protected]
    SolarMetric Inc. http://www.solarmetric.com

  • Error in connect to database2EETW169 no connect possible: "DBMS = ORACLE

    Dear All,
    I am facing probem in sarting the sap after system copy.
    Database is up and running .Please find the logs
    There error it can connect to database
    r3trans log
    This is r3trans version 6.09 (release 640 - 26.10.04 - 15:45:42).
    unicode enabled version
    2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_o
    ra_tnsname = 'TAT'"
    r3trans finished (0012).
    trc file: "dev_disp", trc level: 1, release: "640"
    Wed Jul 22 20:03:18 2009
    kernel runs with dp version 128000(ext=102000) (@(#) DPLIB-INT-VERSION-128000-UC)
    length of sys_adm_ext is 524 bytes
    systemid   560 (PC with Windows NT)
    relno      6400
    patchlevel 0
    patchno    43
    intno      20020600
    make:      multithreaded, Unicode
    pid        552
    ***LOG Q00=> DpSapEnvInit, DPStart (00 552) [dpxxdisp.c   1100]
         shared lib "dw_xml.dll" version 43 successfully loaded
         shared lib "dw_xtc.dll" version 43 successfully loaded
         shared lib "dw_stl.dll" version 43 successfully loaded
         shared lib "dw_gui.dll" version 43 successfully loaded
    Wed Jul 22 20:03:23 2009
    WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 5 seconds
    ***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  3886]
    MtxInit: -2 0 0
    DpSysAdmExtInit: ABAP is active
    DpSysAdmExtInit: JAVA is not active
    DpShMCreate: sizeof(wp_adm)          10528     (1316)
    DpShMCreate: sizeof(tm_adm)          2780232     (13832)
    DpShMCreate: sizeof(wp_ca_adm)          24000     (80)
    DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    DpShMCreate: sizeof(comm_adm)          290000     (580)
    DpShMCreate: sizeof(vmc_adm)          0     (372)
    DpShMCreate: sizeof(wall_adm)          (38456/34360/64/184)
    DpShMCreate: SHM_DP_ADM_KEY          (addr: 04540040, size: 3192688)
    DpShMCreate: allocated sys_adm at 04540040
    DpShMCreate: allocated wp_adm at 04541B58
    DpShMCreate: allocated tm_adm_list at 04544478
    DpShMCreate: allocated tm_adm at 045444A0
    DpShMCreate: allocated wp_ca_adm at 047EB0E8
    DpShMCreate: allocated appc_ca_adm at 047F0EA8
    DpShMCreate: allocated comm_adm_list at 047F2DE8
    DpShMCreate: allocated comm_adm at 047F2E00
    DpShMCreate: allocated vmc_adm_list at 04839AD0
    DpShMCreate: system runs without vmc_adm
    DpShMCreate: allocated ca_info at 04839AF8
    DpShMCreate: allocated wall_adm at 04839B00
    MBUF state OFF
    EmInit: MmSetImplementation( 2 ).
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 1024 kByte.
    Using implementation flat
    <EsNT> Memory Reset disabled as NT default
    <ES> 2456 blocks reserved for free list.
    ES initialized.
    rdisp/http_min_wait_dia_wp : 1 -> 1
    ***LOG CPS=> DpLoopInit, ICU ( 2.6.1 2.6 4.0) [dpxxdisp.c   1462]
    ***LOG Q0K=> DpMsAttach, mscon ( RFCLTEST) [dpxxdisp.c   9736]
    Wed Jul 22 20:03:24 2009
    CCMS: Initalizing shared memory of size 60000000 for monitoring segment.
    CCMS: start to initalize 3.X shared alert area (first segment).
    DpMsgAdmin: Set release to 6400, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1025]
    DpMsgAdmin: Set patchno for this platform to 43
    Release check o.K.
    Wed Jul 22 20:04:04 2009
    ERROR => W0 (pid 2956) died [dpxxdisp.c   12187]
    ERROR => W1 (pid 2080) died [dpxxdisp.c   12187]
    my types changed after wp death/restart 0xbf --> 0xbe
    ERROR => W2 (pid 3556) died [dpxxdisp.c   12187]
    my types changed after wp death/restart 0xbe --> 0xbc
    ERROR => W3 (pid 2604) died [dpxxdisp.c   12187]
    my types changed after wp death/restart 0xbc --> 0xb8
    ERROR => W4 (pid 4024) died [dpxxdisp.c   12187]
    ERROR => W5 (pid 3816) died [dpxxdisp.c   12187]
    my types changed after wp death/restart 0xb8 --> 0xb0
    ERROR => W6 (pid 2820) died [dpxxdisp.c   12187]
    my types changed after wp death/restart 0xb0 --> 0xa0
    ERROR => W7 (pid 1448) died [dpxxdisp.c   12187]
    my types changed after wp death/restart 0xa0 --> 0x80
    DP_FATAL_ERROR => DpWPCheck: no more work processes
    DISPATCHER EMERGENCY SHUTDOWN ***
    increase tracelevel of WPs
    killing W0-2956 (SIGUSR2)
    ERROR => DpWpKill(2956, SIGUSR2) failed [dpxxtool.c   2468]
    killing W1-2080 (SIGUSR2)
    ERROR => DpWpKill(2080, SIGUSR2) failed [dpxxtool.c   2468]
    killing W2-3556 (SIGUSR2)
    ERROR => DpWpKill(3556, SIGUSR2) failed [dpxxtool.c   2468]
    killing W3-2604 (SIGUSR2)
    ERROR => DpWpKill(2604, SIGUSR2) failed [dpxxtool.c   2468]
    killing W4-4024 (SIGUSR2)
    ERROR => DpWpKill(4024, SIGUSR2) failed [dpxxtool.c   2468]
    killing W5-3816 (SIGUSR2)
    ERROR => DpWpKill(3816, SIGUSR2) failed [dpxxtool.c   2468]
    killing W6-2820 (SIGUSR2)
    ERROR => DpWpKill(2820, SIGUSR2) failed [dpxxtool.c   2468]
    killing W7-1448 (SIGUSR2)
    ERROR => DpWpKill(1448, SIGUSR2) failed [dpxxtool.c   2468]
    NiWait: sleep (10000 msecs) ...
    NiISelect: timeout 10000 ms
    NiISelect: maximum fd=1597
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Wed Jul 22 20:04:14 2009
    NiISelect: TIMEOUT occured (10000 ms)
    dump system status
    Workprocess Table (long)               Wed Jul 22 14:34:14 2009
    ========================
    No Ty. Pid      Status  Cause Start Err Sem CPU    Time  Program  Cl  User         Action                    Table
    0 DIA     2956 Ended         no      1   0             0                                                             
    1 DIA     2080 Ended         no      1   0             0                                                             
    2 UPD     3556 Ended         no      1   0             0                                                             
    3 ENQ     2604 Ended         no      1   0             0                                                             
    4 BTC     4024 Ended         no      1   0             0                                                             
    5 BTC     3816 Ended         no      1   0             0                                                             
    6 SPO     2820 Ended         no      1   0             0                                                             
    7 UP2     1448 Ended         no      1   0             0                                                             
    Dispatcher Queue Statistics               Wed Jul 22 14:34:14 2009
    ===========================
    --------++++--
    +
    Typ
    now
    high
    max
    writes
    reads
    --------++++--
    +
    NOWP
    0
    3
    2000
    10
    10
    --------++++--
    +
    DIA
    5
    5
    2000
    5
    0
    --------++++--
    +
    UPD
    0
    0
    2000
    0
    0
    --------++++--
    +
    ENQ
    0
    0
    2000
    0
    0
    --------++++--
    +
    BTC
    0
    0
    2000
    0
    0
    --------++++--
    +
    SPO
    0
    0
    2000
    0
    0
    --------++++--
    +
    UP2
    0
    0
    2000
    0
    0
    --------++++--
    +
    max_rq_id          13
    wake_evt_udp_now     0
    wake events           total     9,  udp     8 ( 88%),  shm     1 ( 11%)
    since last update     total     9,  udp     8 ( 88%),  shm     1 ( 11%)
    Dump of tm_adm structure:               Wed Jul 22 14:34:14 2009
    =========================
    Term    uid  man user    term   lastop  mod wp  ta   a/i (modes)
    Workprocess Comm. Area Blocks               Wed Jul 22 14:34:14 2009
    =============================
    Slots: 300, Used: 1, Max: 0
    --------++--
    +
    id
    owner
    pid
    eyecatcher
    --------++--
    +
    0
    DISPATCHER
    -1
    WPCAAD000
    NiWait: sleep (5000 msecs) ...
    NiISelect: timeout 5000 ms
    NiISelect: maximum fd=1597
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Wed Jul 22 20:04:19 2009
    NiISelect: TIMEOUT occured (5000 ms)
    Shutdown server ...
    DpJ2eeDisableRestart
    DpModState: buffer in state MBUF_PREPARED
    NiBufSend starting
    NiIWrite: write 110, 1 packs, MESG_IO, hdl 3, data complete
    MsINiWrite: sent 110 bytes
    MsIModState: change state to SHUTDOWN
    DpModState: change server state from STARTING to SHUTDOWN
    Switch off Shared memory profiling
    ShmProtect( 57, 3 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RW
    ShmProtect( 57, 1 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RD
    DpWakeUpWps: wake up all wp's
    Stop work processes...
    Stop gateway
    killing process (2004) (SOFT_KILL)
    Stop icman
    killing process (932) (SOFT_KILL)
    Terminate gui connections
    [DpProcDied] Process lives  (PID:2004  HANDLE:1576)
    waiting for termination of gateway
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=1597
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Wed Jul 22 20:04:20 2009
    NiISelect: TIMEOUT occured (1000 ms)
    [DpProcDied] Process died  (PID:2004  HANDLE:1576)
    [DpProcDied] Process died  (PID:932  HANDLE:1568)
    DpHalt: cancel all lcom connections
    MPI CancelAll 2 -> 0
    MPI DeleteAll 2 -> 0
    NiIMyHostName: hostname = 'RFCLTEST'
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 4 (AD_STARTSTOP), ser 0, ex 0, errno 0
    DpConvertRequest: net size = 163 bytes
    NiBufSend starting
    NiIWrite: write 562, 1 packs, MESG_IO, hdl 3, data complete
    MsINiWrite: sent 562 bytes
    send msg (len 110+452) to name          -, type 4, key -
    detach from message server
    ***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c   9962]
    NiBufSend starting
    NiIWrite: write 110, 1 packs, MESG_IO, hdl 3, data complete
    MsINiWrite: sent 110 bytes
    MsIDetach: send logout to msg_server
    MsIDetach: call exit function
    DpMsShutdownHook called
    NiSelClear: removed hdl 3 from selectset
    MBUF state OFF
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    blks_in_queue/wp_ca_blk_no/wp_max_no = 1/300/8
    LOCK WP ca_blk 1
    make DISP owner of wp_ca_blk 1
    DpRqPutIntoQueue: put request into queue (reqtype 1, prio LOW, rq_id 19)
    MBUF component DOWN
    NiBufClose: clear extensions for hdl 3
    NiBufSetStat: bufstat of hdl 3 changed from OK to OFF
    NiICloseHandle: shutdown and close hdl 3 / socket 1580
    MsIDetach: detach MS-system
    EsCleanup ....
    ***LOG Q05=> DpHalt, DPStop ( 552) [dpxxdisp.c   8495]
    Good Bye .....
    Regards,

    Hi,
    Yes it is running and in r3trans  log error
    [dboci.c     ,00000]  *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1017
    4 ETW000                                                                            4210  0.068739
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => CONNECT failed with sql error '1017'
    4 ETW000                                                                              27  0.068766
    4 ETW000  [dev trc     ,00000]  Try to connect with default password                 155  0.068921
    4 ETW000  [dev trc     ,00000]  Connecting as SAPTST/<pwd>@TST on connection 0 ...
    4 ETW000                                                                              23  0.068944
    4 ETW000  [dev trc     ,00000]  Assigning username to user session 01DF23E0           16  0.068960
    4 ETW000  [dev trc     ,00000]  Assigning password to user session 01DF23E0           24  0.068984
    4 ETW000  [dev trc     ,00000]  Starting user session (con_hdl=0,svchp=01DE8C0C,srvhp=01DE9814,usrhp=01DF23E0)
    4 ETW000                                                                              27  0.069011
    4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1017
    4 ETW000                                                                            1521  0.070532
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => CONNECT failed with sql error '1017'
    4 ETW000                                                                              24  0.070556
    4 ETW000  [dblink      ,00419]  ***LOG BY2=>sql error 1017   performing CON [dblink#1 @ 419]
    4 ETW000                                                                            4668  0.075224
    4 ETW000  [dblink      ,00419]  **LOG BY0=>ORA-01017: invalid username/password; logon denie*d [dblink#1 @ 419]
    4 ETW000                                                                              25  0.075249
    2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_ora_tnsname = 'TST'"
    REgards,

  • DBMS scheduler jobs running twice

    Hi,
    I have 4 DBMS scheduler jobs , which checks for a specific job status in DB and sends an email , when i started the schedule for the first week the jobs executed fine from next week I am getting two emails from each job , when i check the logs USER_SCHEDULER_JOB_RUN_DETAILS I see only one run , which seems weird to me so i disabled one job and left the three jobs in schedule , next time i got two emails from 3 jobs and one from disabled job . After checking logs i see that there is no entry of the disabled job execution . I am not sure where is the problem i can't find any log from where the disabled job executing. Please help me
    Job schedule is to run every Saturday
    Interval setup :
    start_date => trunc(SYSDATE)+ 8.5/24,
    repeat_interval => 'TRUNC(LEAST(NEXT_DAY(SYSDATE,''SATURDAY'') )) + 8.5/24'
    Suresh

    Hi,
    I tried to schedule the same jobs using DBMS_JOB but i still get the same problem , I created the procedure with all code in and scheduled it using dbms job , first day it run once second day it run twice ( sending two emails) Inow i am not sure if issue is with my code or scheduler
    Procedure
    Declare
    v_count number;
    v_Recipient VARCHAR2(400) := '[email protected]';
    v_Subject VARCHAR2(80) := 'TEST_Email';
    v_Mail_Host VARCHAR2(30) := 'localhost';
    v_Mail_Conn utl_smtp.Connection;
    crlf VARCHAR2(2) := chr(13)||chr(10);
    BEGIN
    select count(*) into v_count from TEC_CODERETURN@RPRD where interface like 'FOR002B' and trunc(rundate) =trunc(sysdate);
    if v_count = 0
    then
    v_Mail_Conn := utl_smtp.Open_Connection(v_Mail_Host, 25);
    utl_smtp.Rcpt(v_Mail_Conn, '[email protected]');
    UTL_SMTP.OPEN_DATA(v_Mail_Conn);
    utl_smtp.WRITE_RAW_DATA(v_Mail_Conn, UTL_RAW.CAST_TO_RAW(
    'Date: ' || to_char(sysdate, 'Dy, DD Mon YYYY hh24:mi:ss') || UTL_TCP.CRLF ||
    'From: ' || '[email protected]' || UTL_TCP.CRLF ||
    'Subject: '|| v_Subject || UTL_TCP.CRLF ||
    'To: ' || v_Recipient || UTL_TCP.CRLF ||
    'This is a test Alert'|| UTL_TCP.CRLF
    UTL_SMTP.CLOSE_DATA(v_mail_conn);
    utl_smtp.Quit(v_mail_conn);
    end if;
    EXCEPTION
    WHEN utl_smtp.Transient_Error OR utl_smtp.Permanent_Error then
    raise_application_error(-20000, 'Unable to send mail: '||sqlerrm);
    END;
    DBMS job creation
    DECLARE
    jobno NUMBER;
    BEGIN
    DBMS_JOB.submit
    (job => jobno,
    what => 'TEST_ALERT;',
    next_date => trunc(sysdate)+0.1/24,
    interval => 'SYSDATE + 1',
    no_parse => TRUE );
    DBMS_OUTPUT.put_line ('Created Job - the job number is:' || TO_CHAR (jobno));
    COMMIT;
    END;
    Suresh

  • OEM Grid Alert

    We have OEM Grid Control 11g on RHEL 5. And its monitoring around 50 databases on HP-UX.
    And every morning we are receiving the following alert for one server. But when I check the server, all the targets are running fine, and I see all Repository DBMS Job status are fine.
    Message=Count of targets not uploading exceeded the critical threshold (0). Current value: 1
    Metric=Count of targets not uploading data
    DISPLAY_NAME                                              JOB NEXT_RUN             B   FAILURES WHAT
    Maintenance (Analysis)                                     11 14-JUN-2012 03:10:00 N          0 emd_maintenance.analyze_emd_schema('SYSMAN');
    Clear Expired Suppressions                                 19 14-JUN-2012 00:01:00 N          0 EM_POLICY.CLEAR_EXPIRED_SUPPRESSIONS;
    Purge Policies                                             15 14-JUN-2012 00:00:00 N          0 EM_PURGE.APPLY_PURGE_POLICIES();
    Compute Metric Baseline Statistics                         17 13-JUN-2012 23:30:00 N          0 BEGIN MGMT_BSLN_INTERNAL.PURGE_EXTRACT_RAWDATA;MGMT_BSLN.COMPUTE_ALL_STATISTICS;/*GC*/END;
    EM Audit Externalization service                           10 13-JUN-2012 20:13:17 N          0 EM_AUDIT_EXTERNALIZATION.audit_externalization_proc();
    RCA Purge                                                  16 13-JUN-2012 20:13:17 N          0 MGMT_RCA.PURGE_RCA_RESULTS();
    Job Purge                                                   9 13-JUN-2012 20:13:12 N          0 MGMT_JOB_ENGINE.apply_purge_policies();
    End-To-End Trace Rollup                                    13 13-JUN-2012 10:16:42 N          0 EMD_E2E_ROLLUP.ROLLUP();
    End User Performance Rollup                                12 13-JUN-2012 10:16:37 N          0 EMD_RT_ROLLUP.ROLLUP();
    Resubmit Failed Collection Task                            20 13-JUN-2012 10:16:37 N          0 EM_TASK.RESUBMIT_FAILED_TASK();
    Rollup                                                      5 13-JUN-2012 10:16:27 N          0 EMD_LOADER.ROLLUP();
    Set Adaptive Metric Thresholds                             18 13-JUN-2012 10:00:00 N          0 BEGIN MGMT_BSLN.SET_ALL_THRESHOLDS;/*GC*/END;
    Notification Check                                          6 13-JUN-2012 09:30:44 N          0 EMD_NOTIFICATION.CHECK_FOR_SEVERITIES();
    Repository Metrics                                          3 13-JUN-2012 09:30:39 N          0 EM_TASK.WORKER(1);
    Beacon Availability Computation                            14 13-JUN-2012 09:30:34 N          0 MGMT_GENSVC_AVAIL.EXEC_AVAIL_JOB();
    Repository Metrics                                          4 13-JUN-2012 09:30:34 N          0 EM_TASK.WORKER(2);
    Severity Evaluation Sub system                              8 13-JUN-2012 09:30:34 N          0 EM_SEVERITY_REPOS.EXECUTE_REPOS_SEVERITY_EVAL();
    Agent Ping                                                  7 13-JUN-2012 09:30:24 N          0 EM_PING.MARK_NODE_STATUS();I am not sure how to fix this and where to check.

    Hi,
    Please follow the document which gives you the explanation on this Count of Targets Alerts being generated every day:
    Invalid 'Count of Targets Not Uploading Exceeded the Critical Threshold' Alerts are Raised for Agent Target (Doc ID 1359328.1)
    Action Plan:
    =======
    Apply the relevant patch to the Grid Control OMS home. Note that these patches need to be applied ontop of the PSU patch
    Patch:12868397 on OMS 11.1.0.1.4 see Note:1330064.1 for information on the 11.1.0.1.4 PSU patch
    Patch:13094414 on OMS 11.1.0.1.5 see Note:1364215.1 for information on the 11.1.0.1.5 PSU patch
    Patch:13589211 on OMS 11.1.0.1.6 see Note:1388812.1 for information on the 11.1.0.1.6 PSU patch
    Patch:13957656 on OMS 11.1.0.17 WHEN AVAILABLE see Note:1446550.1 for information on the 11.1.0.1.7 PSU patch
    Its your call to apply the latest PSU and apply the above mentioned patch on top of the PSU applied.
    Best Regards,
    Venkat

  • Alert message from java class

    I have a java class (event handler) that does some server-side processing. During the mid-way of processing, I do a condition
    check. If it fails the condition, I would like to pop up an alert message (yes/no confirm) on the JSP that invoked this handler class. If I click, yes I should be able to proceed with the rest of server-side processing, else I return to the same jsp. Can somebody guide me with this java and javascript interation?

    If the server processing involved only in data processing in DBMS you can do something like this.
    Your processing places all the messages that need to be displayded in a queue.
    The messages can be in three types
    1 - Error Message - (Enqueuing a error message should also result in an exception)
    2 - Alert message (Messages to be displayed with only a OK button)
    3 - Confirmation button (Yes/No, Ok/Cancel)
    after the server processing is orver the client read the content in the message queue and display them appropriatly.
    if it found a error message in the queue it should abort the transaction by executing a rollback
    if it found a alert message just display it
    If it found a confirmation message it should be displayed the transaction should be rolled back or commited based on the users respond
    if the user decided to rollback in such cases rest of the messages should be ignored.
    Above approach can be used only if you can rollback the entire operation at the end of it

  • Rogue Rules and Rogue AP alert in Prime

    Hi Supportcommunity,
    i have done a lot of research according this topic but i was unfortunately unable to find an helpful post.
    If i missed something I am sorry about.
    I got the following issue my customer complains about Rogue AP Alerts in Cisco Prime.
    There are always many of them.
    I already configured the Rogue Rules at the WLC´s security tab as follows.
    Here are the rules in detail.
    1st rule
    2nd rule
    3rd rule
    Could you please help me to understand what I did wrong.
    I dont understand why there are still so many Rogue warnings although I configure it to not alert.
    Thanks for your support
    With kind regards
    Benedikt

    Rogue detection is a way of being aware of other APs in your surroundings, I would not advise on turning the SNMP traps off totally. On the other hand the customer cant really blame you because there are other APs around their network? In 99,9% of all networks there will be....
    However, if you want to tidy up among the rogue alarms, the rules can be used. 
    What your rules are saying is "Anyone except me using my SSIDs? - mark it as a Bad Guy" (OK).
    Then it gets a bit weird to me, lets do a short one on Signal strength:
    - 30 dBm = Less than one meter from the AP at max European output level 20 dBm EIRP
    -40 dBm = Ten times weaker, some 2-4m from AP. All distances are roughly speaking...
    -50 dBm = 1/100 weaker, less than 10m from AP
    -60 dBm = 1/1000 weaker, some 16m from AP, a "normal" and strong signal
    -70 dBm = 1/10000, within 30m from AP, not great, but lower end of "normal" span
    -80 dBm = hardly useable signal, might be able to connect @ 1-2 Mbps, not much more
    -90 dBm = almost no clients can use this weak levels
    -100 dBm = background noise.
    You delete rule says that "Any other AP located less than a meter from mine (-30 dBm) should be marked as Malicious and deleted". Lower this to, say -70 dBm and see what happens.
    Also note that the order of the rules can be important. It runs from top down, and as far as I remember the last one that matched determines if it is Friendly or Malicious. Play around with the levels first, then if necessary the order of the rules, and get back...
    **Please rate helpful posts**

  • Create report to get lat 30days Metric alert & Alert log errors Grid

    We would like to create a report to display last 30 day's mertric alert and alert log errros in EM Grid. How we can do it?

    DBMS Direct,
    But in the post How to be notified for all ORA- Errors recorded in the alert.log file
    11iuser complain about that why he/she just get error number without any explain of arrised error.
    In my situation I just get "distinct types of ORA- errors" without even any error code.
    Perhaps I need to change something in emoms.properties or emd.properties.
    By the way I select Message format -- Long Format
    Sorry for my poor English

  • Configuring Alert Monitor

    Hi Friends,
    I have installed the Netweaver Full ABAP Preview edition in a WinXP system and trying to setup CCMS locally. Currently I don't see any data under the Alert Monitor(RZ20). I just see the tree elements but no monitors under them. What do I need to do to get data in the tree. Below are some of the steps that I have tried after reading some documentation
    1. Created CSMREG user
    2. Created CSMCONF file
    3. Tried to register the CCMS agent by executing sapccmsr.exe -R. But after I provide the password for CSMREG user the process quits with the below error
    ERROR: Registration failed: Can't get version of NSP.C_CALL_FAILED. RFC Error Info for SALS_MS_GET_LOCAL_MS_INFO
    Even tried with the command sapccmsr.exe -R pf=<path to the profile file> but it quits at once with the error Cannot open Monioting Segment 99 MoniSegmentSize too small
    I believe the Netweaver Preview edition has all the CCMS agent installed.
    Can someone please help me with setting up the Alert Monitor.
    Regards,
    Jagannath

    Hi Gary,
    Here's mine
    C:\SAP\NSP\SYS\exe\run>sapccm4x.exe -v
          CCMS version  20040229, 32 bit, multithreaded, Non-Unicode
          compiled at   Jul 12 2006
          systemid      560 (PC with Windows NT)
          relno         7000
          patch text    patch collection 2006/3, OSS note 914721
          patchno       68
          intno         20050900
          running on    APP-XP3 Windows NT 5.1 2600 Service Pack 2 Intel 801586 (Mod
    2 Step 4)
    C:\SAP\NSP\SYS\exe\run>"disp+work.exe" -v|more
    disp+work information
    kernel release                700
    kernel make variant           700_COR
    DBMS client library
    compiled on                   NT 5.0 2195 Service Pack 4 x86 MS VC++ 13.10
    compilation mode              Non-Unicode
    compile time                  Jul 12 2006 23:00:08
    update level                  0
    patch number                  68
    source id                     0.068
    supported environment
    database (SAP, table SVERS)   700
    operating system
    Windows NT 5.0
    Windows NT 5.1
    Windows NT 5.2
    Regards,
    Jagannath

  • Oracle and DBMS..? clarity required please!

    Greetings to everyone from Bahrain!!
    I'm a new member on this lovely forum and i would like to socialize with people here and make good contributions, i would like to investigate on or about Oracle database's, does Oracle have a query language and what are the tools beginners need to start learning Oracle DBMS!? your brief insights are welcomed and appreciated!!

    979159 wrote:
    Greetings to everyone from Bahrain!!
    I'm a new member on this lovely forum and i would like to socialize with people here Welcome to the forum. Please note that this is not a 'social forum'. Everyone here is either a working professional or studying to become one. Just like you, no one is paid to be here. Those who are working professionals all have paying jobs, and this forum ain't it. There will be an occasional 'social' comment amongst long term participants, but that is never the focus.
    and make good contributions, i would like to investigate on or about Oracle database's, does Oracle have a query language and what are the tools beginners need to start learning Oracle DBMS!? your brief insights are welcomed and appreciated!!Go to tahiti.oracle.com.
    Drill down to your product and version.
    <b><i><u>BOOKMARK THAT LOCATION</u></i></b>
    Spend a few minutes just getting familiar with what is available here. Take special note of the "books" and "search" tabs. Under the "books" tab you will find the complete documentation library.
    Spend a few minutes just getting familiar with what <b><i><u>kind</u></i></b> of documentation is available there by simply browsing the titles under the "Books" tab.
    Open the Reference Manual and spend a few minutes looking through the table of contents to get familiar with what <b><i><u>kind</u></i></b> of information is available there.
    Do the same with the SQL Reference Manual.
    Do the same with the Utilities manual.
    You don't have to read the above in depth. They are <b><i><u>reference</b></i></u> manuals. Just get familiar with <b><i><u>what</b></i></u> is there to <b><i><u>be</b></i></u> referenced. Ninety percent of the questions asked on this forum can be answered in less than 5 minutes by simply searching one of the above manuals.
    Then set yourself a plan to dig deeper.
    - Read a chapter a day from the Concepts Manual.
    - Take a look in your alert log. One of the first things listed at startup is the initialization parms with non-default values. Read up on each one of them (listed in your alert log) in the Reference Manual.
    - Take a look at your listener.ora, tnsnames.ora, and sqlnet.ora files. Go to the Network Administrators manual and read up on everything you see in those files.
    - When you have finished reading the Concepts Manual, do it again.
    Give a man a fish and he eats for a day. Teach a man to fish and he eats for a lifetime.
    ===
    For hands-on learning of just sql, I recommend you download and install Oracle-XE.
    For hands on learning of the full range of DBA skills, I recommend the following steps
    Download and install VirtualBox. It's free, from Oracle. That's all the clues you should need to locate it.
    Once you have installed VirtualBox, download Oracle Linux and use it to create a virtual server under VirtualBox.
    Once you have created a virtual Linux server under VirtualBox, download Oracle rdbms and install it on your virtual server.
    The above is very high level. The clues are there. Google is your friend. You will run into many issues as you try to do the above. Running into them and dealing with them is in itself part of your training. DBA's have to deal with a lot more than SQL, we have to deal with OS administration and network issues as well. Working through the above will give you a lot of that experience. Taking a pre-built system (there are some available) will inherently deny you the opportunity to gain important skills and learn important principles.

  • How to monitor the activitis dbms job for oracle 9i

    Hi Expert,
    How can i monitor or received notification from the dbms job is whether run sucess or fail for oracle 9i db. Apreciate u guy can assist me.
    Regard
    william

    Hi,
    if any job broken you can configure email option using dbms package or OEM....
    have a look in this link how to configure email alerts through dbms package..
    http://www.sixwhits.com/documentation/SuggsDocs/Oracle/Oracle/Tom%27s%20Book%20CD/5254AppAEfinal.pdf
    you can configure alerts from OEM
    http://download.oracle.com/docs/cd/B16240_01/doc/em.102/e10954/notification.htm
    Thanks

  • WCS - coverage hole alert

    Hi forum,
    I am constantly getting the below coverage hole alert, the AP is used to cover a warehouse area, sometimes the users will carry their notebook out of the warehouse and back in. The radio frequency is set to auto. What could be the cause of this issue?
    Thank you,
    PN
    ======================================
    An Alert of Category Coverage Hole is generated with severity 3 by Radio KM3_Ship_AP01/1 .
    The message of the alert is AP 'KM3_Ship_AP01', interface '802.11b/g' on Controller '10.16.14.3'. Coverage threshold of '12' violated. Total no of clients is '3' and no of failed clients is '2'. Worst signal quality experienced by client='00:19:7d:1e:41:f3' RSSI='-65' dBm SNR='-116', client='00:19:7d:18:12:d6' RSSI='-68' dBm SNR='-65'..

    Hi Paul,
    If you have users walking out of the Warehouse I would expect you to see these alerts. Here is some info on what causes the "Coverage Hole" alerts;
    Coverage Hole Detection and Correction
    If clients on a lightweight access point are detected at signal-to-noise ratio (SNR) levels that are lower than the thresholds specified in the Auto RF configuration, the access point sends a "coverage hole" alert to the controller. The alert indicates the existence of an area where clients are continually experiencing poor signal coverage, without having a viable access point to which to roam.
    The Coverage Hole Detection and Correction algorithm is primarily aimed at the determination of coverage holes based on the quality of client signal levels.
    The algorithm determines if a coverage hole exists when the clients' SNR levels pass below a given SNR threshold. The SNR threshold is considered on an individual AP basis and is based primarily on each AP's transmit power level. The higher the AP power levels, the more noise the APs tolerate as compared to the client signal strength, which means a lower tolerated SNR value.
    This SNR threshold varies based on two values: the AP transmit power and the controller Coverage profile value. The threshold is defined by the transmit power (represented in dBm) of each AP, minus the constant value of 17dBm, minus the user-configurable Coverage profile value. The Coverage value is defaulted to 12 dB. The client SNR threshold value is the absolute value, or the positive number, that results from this equation:
    Coverage Hole SNR Threshold Equation:
    Client SNR Cutoff Value (|dB|) = [AP Transmit Power (dBm) ? Constant (17 dBm) ? Coverage Profile (dB)]
    Once the average SNR of a single client dips below this SNR threshold for at least 60 seconds, the AP transmit power of that client is increased to the appropriate level in order to mitigate the SNR violation, and correct the coverage hole. Only one client need violate this threshold in order to trigger a correction.
    Each controller runs the Coverage Hole Detection and Correction algorithm for each radio on each of its APs every three minutes. The default value of 180 seconds can be changed, as described in the Monitor Intervals (60 to 3600 secs) section of this document.
    From this doc;
    http://www.cisco.com/en/US/tech/tk722/tk809/technologies_tech_note09186a008072c759.shtml#coverage_correction
    The Coverage Hole SNR Threshold Equation:
    Client SNR Cutoff Value (|dB|) = [AP Transmit Power (dBm) ? Constant (17 dBm) ? Coverage Profile (dB)]
    Note: This equation represents a situation where a client experience signal issues in a poorly covered area of a floor.
    In such a scenario, these items can be true:
    A client has an SNR of 13dB.
    The AP to which it is connected is configured to transmit at 11 dBm (power level 4).
    This AP WLC has a Coverage profile threshold set to the default of 12 dB.
    In order to determine if the client AP must be powered up, the numbers detailed are plugged into the Coverage Hole Threshold Equation. This is the result:
    Client SNR cutoff = 11dBm (AP transmit power) ? 17dBm (constant value) ? 12dB (Coverage threshold) = |-18dB|.
    Because a client SNR of 13dB is in violation of the present SNR cutoff of 18dB, the Coverage Hole Detection and Correction algorithm increase the AP transmit power to 17dBm.
    When you use the Coverage Hole SNR Threshold Equation, it is evident that the new transmit power of 17dBm yields a Client SNR cutoff value of 12dB, which satisfies the client SNR level of 13 dBm.
    This is the math for Step 3:
    Client SNR cutoff = 17dBm (AP transmit power) ? 17dBm (constant value) ? 12dB (Coverage threshold) = |-12dB|.
    http://www.cisco.com/en/US/tech/tk722/tk809/technologies_tech_note09186a008072c759.shtml#c_c_workflow
    Hope this helps!
    Rob

  • Which background process writes date into alert log file in oralce

    which background process writes date into alert log file in oralce

    Hi,
    AFAIK, all the background process are eligible for writing information to alert log file. As the file name indicates to show the alerts, so background process have the access rights in terms of packages (dbms), to write to alert log.
    I might be wrong also..
    - Pavan Kumar N

  • Filename in an alert message

    Hi Friends,
    I am doing a simple file to idoc scenario.
    if mapping error occurs.
    the requirement is to trigger an alert which says "A mapping error occurred when processing the file XYZ.txt"
    Constraints are:
    1. BPM is not used as it is a simple scenario.
    2.RFC lookup during mapping is to be avoided since if mapping itself fails then it will be of no use.
    Is there a way/work around to get the filename dynamically in the alert message.
    Thank you,

    Seems to be not possible without a BPM.....at least by using a standard alert procdure
    Using a mapping get the FileName .....have both the source and target message as the same.....
    map the FileName to some empty node of the structure.
    In the mapping logic, one for which you want to check for any exception, do not make use of the node containing the FIleName...let the rest mapping remain as is
    Create a Container Variable and Assign the node containing the FileName to it using a Container Operation.
    Then raise the Alert.
    I have used a similar approach in one of my interfaces.
    Regards,
    Abhishek.

  • Alert is not getting displayed in Alert Inbox

    Hi,
    We have created a BPM with an Alert. The Alert is getting triggered in the PE but we are not able to see the alert in the alert inbox. It is neither being displayed in ALRTDISP transaction.
    We have already subcribed that alert.

    Hi,
    Have to scheduled the background job SXMSALERT_PROCESS_DATA_GET to collect the alert message for further processing?
    check this link,
    http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm
    thanks,
    sasi

Maybe you are looking for

  • How Do I Back Up My iTunes Purchases On The 11.01 Version?  Please help!

    How do I back up my latest iTunes song purchases on the 11.01 version that I recently upgraded to?  Please help!

  • How to access variables passed in custom tag body

    I am developing custom tags in my application. I need to pass some variables from the .jsp file into tag file. I want these to be passed as body of the tag rather than as tag parameter. It seems the correct syntax for this is: <myTags:display> someVa

  • Why can't I see any of my ichat buddies when I log on?

    When I log onto ichat, I cant see any of my buddies or add anyone to my list. My buddy list is just blank, and sometimes theres one name on there and when I add a buddy that name starts flashing but then nothing happens. However, I can hear the buddi

  • R/3 access to external application

    I am a newbie in SAP. I have an existing system developed by JAVA. How can I do if R/3 completed any transaction(SO, PO), it will send the transaction data to the JAVA application? I search on the Internet and found the JCO component that allow R/3 a

  • Zen micro FM prob

    my 5gb zen micro doesn't have the option for changing from mono to stereo. but more than that, it doesn't have an option to choose between international or japan frequency...so my player doesn't pick up any frequency at all. is this true for others?