Hiding NSAPI errors

iam using sun webserver 7 with weblogic plugin for load balancing . and when the weblogic servers are down i get the following eror in the browser or to the accesing application
Message from the NSAPI plugin:
No backend server available for connection: timed out after 10 seconds or idempotent set to OFF.
I dont wnat this message to come, the requester should not get any respose ,
any guidance

this is an error coming from weblogic plugin. you need to contact your web logic plugin provider and find out if there a documented setting to disable this. simple googling on the web seems to suggest that this is not an NSAPI (or sun web server specific issue) as this issue is frequently reported with other web servers like apache as well.
now, since you posted to web server forum, i am hard pressed to suggest using bundled web server 7 reverse proxy plugin you don't have to use weblogic - if you are not able to find a resolution to this.
[http://blogs.sun.com/amit/entry/setting_up_a_reverse_proxy|http://blogs.sun.com/amit/entry/setting_up_a_reverse_proxy]
[http://blogs.sun.com/meena/entry/configuring_reverse_proxy_in_sun|http://blogs.sun.com/meena/entry/configuring_reverse_proxy_in_sun]

Similar Messages

  • Issues when using nsapi - error 505

    Dear All,
    we are implementing an interface leveraging newscale (9.3) REST APIs but we are experiencing problems with some methods.
    For example when calling for having as answer the services list:
    http://[hostname]:8088/RequestCenter/nsapi/definition/servicedefs
    we get a "505 Server Error".
    What we are observing is that some RESTs are OK while some others seem to be broken.
    Any of you experienced anything like this?

    Well there could be lots of reasons. 404 is page not found, but could be other things.
    The above you mention is what CIAC does out of the box, so is there a reason to not use that content and just build off of what is already written? (kind of why re-invent the wheel so to speak)
    Also would be curious if your 404s or 500s are showing in Service Link or in CPO.
    These forums are not the best place to troubleshoot a deep issue so please open a TAC Support case with your service contract and someone on my team will assist you.
    thanks,
    -Shaun

  • Hiding the #error message from a member column

    Hey guys,
    The issue is mainly the member formula column showing the basic #error message in the cell upon intentionally messing with the values. It's pretty natural, but I'm looking to hide that error message, though I forgot how. I'm sure it's pretty simple.
    I'm using Hyperion 11.1.2.1.0.83
    Thanks again!
    Edited by: 922290 on 20-Mar-2012 22:40
    Edited by: 922290 on 20-Mar-2012 22:51

    You could have a look at the following post to get some ideas, it is not exactly the same issue but may help Re: #error in formula row of the form sum([1])/2
    There is also the IsError function, more info at http://docs.oracle.com/cd/E17236_01/epm.1112/hp_admin/apcs03s09.html
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Getting 401 error on adding a network in CCP

    Hi,
    On adding a network request in CCP, the Cloud Portal Service Request handler succeeds, but the Export IP Address Range Handler fails with the below error -
    The remote server returned an error: (401) Unauthorized.
    <nsapi-error-response>User does not have proper authentication.</nsapi-error-response>
    I have triple checked all the usernames and passwords in CCP [nsapiuser, IPAM control agents] / CPO [runtime users, targets,etc,.]
    Un able to resolve this issue. Please suggest remedy
    Thanks,
    Praneeth.

    Most likely you missed a step in the guide and the OU and/or permissions setup is incorrect. You can open a TAC case with a support contract (assuming onsite with a customer, etc)
    You can also open one (for now) just as a cisco employee, but be aware those drop to the bottom as we have to help customers first.
    -Shaun Roberts
    CPO/CIAC Support Team Lead
    [email protected]

  • Hide messages for External Interface Program Error

    Hi,
    I am facing problem in removing the external interface errors encountered during EPC of a Y program. Can you please suggest any solution for hiding the error in the custom Y program using #EC.
    Regards,
    Kajari

    Hello IvoK,
    The 9881 needs to be externally powered. You can do it with a CAN Breakout Box or with a CAN cable.
    Regards
    Mélinda B
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Travaux Pratiques d'initiation à LabVIEW et à la mesure - Nouveau contenu
    34 sessions partout en Fra...

  • Add Network process pattern error

    Hello,
    I am setting up a lab environment to test the CIAC Starter Edition 3.0.1 and have been working on the products for monthes now.
    When I run the "Add Network" query, I get this error near the end of the process:
    The remote server returned an error: (500) Internal Server Error.
    <nsapi-error-response>Internal Error: Illegal pattern character 'j'</nsapi-error-response>
    Here is the global execution view:
    And the error box:
    Has any of you ever seen such an error? It ends the process and no network is created.
    Thanks by advance.
    David

    Hello,
    I had heard that the Starter Edition was not compoatible with Windows "locales" other then US.
    I made my portal installation on a US Windows 2008 R2, under US locales, but the system was provisioned from a template where initial locales where "french".
    So the system was under french and the admin user (me) under US.
    I tried to launch the RC and SL services manually from the cmd scripts instead of running them as services: 
    it solved my problem.
    So be careful, no-US citizens! Even the system locales of your OS must be US!
    Best Regards
    David

  • Executing a procedure in package

    Hi,
    How to execute a procedure in a package? Below is the package
    CREATE OR REPLACE PACKAGE BODY POPULATE_GLTD_TABLES
    IS
    -- LOCAL VARIABLES
    val1 VARCHAR2(10);
    -- Create some job objects:
    v_job1_str VARCHAR2(4000) ;
    v_job1 XXMCK.XXMCK_JOB_OT;
    PROCEDURE populate_gltd_tabs1
    IS
    BEGIN
    dbms_output.put_line('Get_status=> v_job1: ');
    val1:= F_CHECK_GLTD_RECORD_EXISTS('MCK_GLTD_1');
    IF val1 != 'S' THEN
    -- Include message details value - TRUE if yes and FALSE if no
    xxmck.mck_write_log_msg.set_msg_tail(TRUE);
    xxmck.mck_write_log_msg.purge('GLTD-TASK1');
    -- set context will define the source as well as inserts data into cont exit table
    xxmck.mck_write_log_msg.set_context(v_parent_program,v_prog_desc,'GLTD-TASK1');
    xxmck.mck_write_log_msg.log(v_parent_program,'Entering in LOAD_GLTD_TABLES.populate_gltd_tabs1 ','prg','GLTD-TASK1',1);
    xxmck.mck_write_log_msg.log_tail(v_parent_program,'Entering in LOAD_GLTD_TABLES.populate_gltd_tabs1 ','prg','GLTD-TASK1');
    v_job1_str := 'XXCOGNOS.LOAD_GLTD_TABLES.populate_gltd_tabs1;';
    v_job1 := NEW XXMCK.XXMCK_JOB_OT('GLTD-TASK1', v_job1_str, 'Background job test: LOAD_GLTD_TABLES.populate_gltd_tabs1', INTERVAL '60' SECOND);
    v_job1.PRINT(); -- Display basic info about the job
    v_job1.SUBMIT(); -- Submit in background
    v_job1.WAIT();
    v_job1.PRINT();
    v_job1.get_status(v_code, v_message);
    dbms_output.put_line('Get_status=> v_job1: ' || v_code || ':' || v_message);
    -- SELECT DECODE(cont_exit, 'cont', 'cont', 'err', 'err', 'cont') INTO v_result from MCK_LOG_CONT_EXIT_CHK WHERE source = 'GLTD-TASK1';
    --IF v_result = 'err' THEN
    -- raise_application_error(-20000,'Program Aborted');
    --END IF;
    END IF;
    EXCEPTION
    WHEN OTHERS THEN NULL;
    END populate_gltd_tabs1;
    PROCEDURE mainproc
    IS
    BEGIN
    populate_gltd_tabs1; -- CALL TO POPULATE mck_gltd_1 TABLE
    -- Mailing
    xxmck.mck_write_log_msg.send_mail( p_source_prg => v_parent_program
    ,p_source => 'GLTD-TASK1'
    ,p_msg_type => 'prg'
    ,p_from => '[email protected]'
    ,p_to => '[email protected]'
    ,p_server => 'mailhub.mckinsey.com'
    EXCEPTION
    WHEN OTHERS THEN NULL;
    END mainproc;
    END POPULATE_GLTD_TABLES;
    And below is my anonymous block to execute above package
    BEGIN
    POPULATE_MCK_GLTDFILE.mainproc;
    EXCEPTION -- exception handler begin
    WHEN OTHERS THEN NULL;
    END;
    I am trying to run above code in toad. But i am getting error as: identifier 'POPULATE_MCK_GLTDFILE.mainproc' must be declared.
    There are no parameters to be passed.
    The package is compiled successfully.
    I think this must be simplest question any one can I ask, but I cant figure out the solution.
    Please help,
    Aditya

    First remove the horrible exception handler(s) which are hiding all errors;
    ie the
    when others
    then
    null;
    end;Then remember the main syntax is
    begin
    packagename.procedurename;
    end;
    /But also remember that procedure name must be declared in the package header if you want to call it. (This is called a public procedure). A private procedure does not have to be declared in the package header and can only be called from within the same package body.
    I always use sqlplus for verification as that is delivered with oracle. You know if it works with sqlplus it will work with any othere client and if it does not, it's usually a client issue.
    from what you have posted, There is nothing obvious as to why it won't work.

  • Dreamweaver Namespace issue on my web server

    I am hosting my site on GoDaddy.com. I have created a site
    using Dreamweaver CS3 and SQL2005. Everything works great on my
    local machine, but when I upload it to the remote web server, the
    aspx pages do not work. GoDaddy support says it is due to the
    second line in every one of my aspx pages, specifically the
    namespace attribute. From what I've read, this is automatically put
    into every page created by Dreamweaver that contains an asp/asp.net
    control. GoDaddy's response is to remove this line from my page and
    everything will work great, which obviously it will not. I really
    would not like to have to rebuild 32 + aspx pages after already
    developing them in Dreamweaver. The actual line they say is causing
    the problem is below:
    <%@ Register TagPrefix="MM" Namespace="DreamweaverCtrls"
    Assembly="DreamweaverCtrls,version=1.0.0.0,publicKeyToken=836f606ede05d46a,culture=neutra l"
    %>
    Does anyone have any suggestions as to how to get around this
    issue?

    "carrb69" <[email protected]> wrote in
    message
    news:[email protected]...
    > Joris,
    >
    > I did have the dll located in a subfolder of the root
    directory. I also
    > put it
    > in the root directory as well after receiving your
    previous response and
    > got
    > the same results. Unfortunately, I would need to go to
    GoDaddy to get the
    > exact
    > error because all I see when I try to access my aspx
    pages is a very
    > generic
    > error. I had to go to GoDaddy previously to figure out
    that it was the
    > Namespace attribute that was causing the issue. I'll try
    this evening to
    > get
    > them to send me the actual error message and post it
    then. Thanks for the
    > quick
    > responses.
    >
    > Brian
    Hi Brian,
    maybe it's your browser that's hiding the error message, if
    using MSIE then
    please disable the "Show friendly HTTP error messages" option
    in Internet
    Options.
    If that doesn't reveal the error message, try editing the
    web.config that
    dreamweaver generated for you with the following settings,
    (add any missing
    settings, and leave the connectionstrings that dreamweaver
    has setup intact)
    <configuration>
    <system.web>
    <compilation debug="true"/>
    <customErrors mode="Off"/>
    <trace
    enabled="true"
    traceMode="SortByCategory"
    requestLimit="10"
    pageOutput="false"
    localOnly="false"
    />
    </system.web>
    </configuration>
    Debug Compilation should give more insight inrto compilation
    errors, which
    can allso be done at the page level via<% @ Page
    debug=true" %>
    Custom Errors Off will disable any error pages that may be
    shown in case of
    an error, seting it to "emoteOnly" will only thow these page
    to external
    visitors, but since you are not working on the server that
    actually makes
    little sense.
    The trace setting should enable a HTTP Handler that allows
    you to view trace
    information from /trace.axd in the root of your website,
    enabling pageOutput
    will inject the tracing information into every page, which
    can allso be done
    at the page level via <% @ Page trace=true" %>
    There settings do have a performance impact because they are
    enabled for
    every request in the application, once you've got the errors
    out disable
    them at the application level and enable them per-page.
    Hope this helps
    Joris

  • Controlling EJB Cache & Warning BEA-010001 in 8.1

    Background: Migrated from 6.1 to 8.1. Using CMP with template.j modified (migrated).
    Problem:
    1. Could not use any Entities which uses Entity Cache. It throws weblogic.ejb20.cache.CacheFullException
    during ejbLoad. My existing Cache parameters are (anyway, it is no different from
    6.1 where itz working fine)
    <pool>
    <max-beans-in-free-pool>100</max-beans-in-free-pool>
    </pool>
    <entity-cache>
    <max-beans-in-cache>100</max-beans-in-cache>
    <idle-timeout-seconds>610</idle-timeout-seconds>
    <read-timeout-seconds>60</read-timeout-seconds>
    <concurrency-strategy>Database</concurrency-strategy>
    </entity-cache>
    Is there any new configuration which needs to be set for 8.1? Redirection to
    some checklist for controlling there cache parameter would be helpful?
    2. While deploying my Beans it shows up Warning BEA-010001. Documentation says,
    specify in weblogic-ejb-jar.xml<weblogic-ejb-jar> <disable-warning>BEA-010001
    | BEA-010054</disable-warning>..</weblogic-ejb-jar>. I have thousands of beans
    deployed in the server my warning message dumps my console with these messages
    hiding critical error messages. Is there any 'additional parameters' to stop
    this warning or route this warning to a separate log file?
    TIA
    JAK

    Hi Jak,
    max-beans-in-cache equal 100 is way too low for any real life application.
    I'm not sure why it worked for you in 6.1. I remember setting it was broken
    in 6.1 at some point.
    Regards,
    Slava Imeshev
    "jak" <[email protected]> wrote in message
    news:3f07e7c9$[email protected]..
    >
    Background: Migrated from 6.1 to 8.1. Using CMP with template.j modified(migrated).
    >
    Problem:
    1. Could not use any Entities which uses Entity Cache. It throwsweblogic.ejb20.cache.CacheFullException
    during ejbLoad. My existing Cache parameters are (anyway, it is nodifferent from
    6.1 where itz working fine)
    <pool>
    <max-beans-in-free-pool>100</max-beans-in-free-pool>
    </pool>
    <entity-cache>
    <max-beans-in-cache>100</max-beans-in-cache>
    <idle-timeout-seconds>610</idle-timeout-seconds>
    <read-timeout-seconds>60</read-timeout-seconds>
    <concurrency-strategy>Database</concurrency-strategy>
    </entity-cache>
    Is there any new configuration which needs to be set for 8.1? Redirectionto
    some checklist for controlling there cache parameter would be helpful?
    2. While deploying my Beans it shows up Warning BEA-010001. Documentationsays,
    specify in weblogic-ejb-jar.xml<weblogic-ejb-jar><disable-warning>BEA-010001
    | BEA-010054</disable-warning>..</weblogic-ejb-jar>. I have thousands ofbeans
    deployed in the server my warning message dumps my console with thesemessages
    hiding critical error messages. Is there any 'additional parameters' tostop
    this warning or route this warning to a separate log file?
    TIA
    JAK

  • Siteminder Exception

    Hello All,
    In our application we have siteminder as our webserver par , for every request it hits the siteminder and then the control comes to the weblogic.
    The strange problem we are facing now is, it was all working fine in the development environment when the same EAR is deployed in our TEsting env, that siteminder is throwing the exception after the user logs in .THe error is thrown exactly when our application has to eb launched after thevalidation done by the siteminder.
    Its throwing the follownig exception
    "No backend server available for connection: timed out after 10 seconds"
    And its throwing some NSAPI error.
    Its very much strange that itw was working fine with dev env. If i connect to teh teting siteminder with teh dev app server its working.If i connect to testing app from dev siteminder then also behavious is as expected.
    Whyu this strange probelm not able to see where its going wrong.
    If any of you have come across usch probelm, or if yuo haev any idea please throw some light.
    Thanks ,
    VIswa

    I assume you use webserver to proxy your requests to the application server. If so, this error occurs when the back-end app server is down or not accessible from the web server.
    1. Try to ping your app server from the web server where you installed the webagent
    2. Try accessing the http://appserver:port/XXXXX from the web server
    3. Check your webserver Proxy Plugin/ .ini file that will proxy to your app server
    Hope this helps.

  • Missing message(s) tag obscures problems

    If you inadvertently introduce an error to your application, and has forgotten to put a message or messages
    tag in your page, the behaviour is confusing (the app. just seems to stop working).
    An example is if you insert an inputText tag bound to a property having only a getter and no setter,
    and you forget to set disabled="true" on it.
    The default behaviour should not be just hiding the error (one has to look carefully in the log to find it).
    If the end of the RENDER_RESPONSE phase is reached, and there still are unprocessed
    messages, some sort of output should be rendered, to signal to the user (or developer) that
    something is wrong in the application.
    Hence the message and messages tags should act not only as renderers but also as consumers of FacesMessages in the FacesContext.
    An idea for the next release?

    Erik,
    Please see my reply to your other message.
    Ed

  • How to use wildcards in REST filter for subscription items

    I am following this documentation:
    String column filters
    Support % (starts with) operator.
    Support * (Contains) operator.
    Does not support (ends with) operator.
    Examples:
    Name=service*
    Name=*g*
    Name=*g -- not allowed
    REST URL:
    http://<ServerURL>/RequestCenter/nsapi/serviceitems/serviceitemsubscription/<columnName>=<wildcardValue>
    I can get filters to work without wildcards, but have had no success using '*' or '%' characters.  Please provide a properly encoded sample URL for
    ServiceItemTypeName starting with 'Virtual'.  I have not been able to get any data returned when using wildcards in a filter.
    Here is what I have tried:
    ServiceItemTypeName=Virtual Server Snapshot
    http://10.8.0.46:8080/RequestCenter/nsapi/serviceitems/serviceitemsubscription/ServiceItemTypeName=Virtual%20Server%20Snapshot
    response: 200
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?><AllServiceItems totalCount="1" recordSize="1" startRow="1">
    literal works as expected
    ServiceItemTypeName=Virtual%
    http://10.8.0.46:8080/RequestCenter/nsapi/serviceitems/serviceitemsubscription/ServiceItemTypeName=Virtual%25
    Application-Type=application/xml
    response: 200
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?><AllServiceItems totalCount="0" recordSize="0" startRow="1"/>
    expected result not returned
    ServiceItemTypeName=Virtual*
    http://10.8.0.46:8080/RequestCenter/nsapi/serviceitems/serviceitemsubscription/ServiceItemTypeName=Virtual*
    Application-Type=application/xml
    500
    <nsapi-error-response>Internal Error: Invalid parameter values specified or unexpected error.</nsapi-error-response>
    fails with error response

    Hi Dan,
    I don't think you can use wild cards here.
    Please see the Integration Guide for 9.4. Section: "REST API -> Quick Reference".
    Here you'll find a table of what features are supported for the different resources exposed by the API. In there you will find a row for "All Service Items", and you'll see that: Get All, Sorting, Paging and All Filters are supported; Wildcards Name Search are not...
    When I came accross this same situation, I assumed that I am trying to do a Wildcard Name Search here... and it's not supported. It does, however, work for the other (SI Designer created) columns, which is what I believe the documentation is trying to describe. (Though, personally, I feel this is a bug).

  • TABLESPACE issue with temporary table

    I am getting the error ORA-00922: missing or invalid option when compiling the following code. What seems to be causing the trouble is the line when I specified "TABLESPACE MISC". For some reason, CREATE GLOBAL TEMPORARY TABLE does not allow me to choose the tablespace "MISC" for the table. What did I do wrong here?
    My code
    CREATE OR REPLACE PROCEDURE Nmh_Sp_Chf_Patients(
    r_to_report      IN OUT      Nmh_Pkg_Chf_Patients.TYP_PKG_CHF_PATIENTS
    AS
    e_table_not_exist EXCEPTION;
    PRAGMA EXCEPTION_INIT (e_table_not_exist, -942);
    dACTIVE_CD NUMBER := Nmh_Get_Code_Value_By('DISPLAY_KEY', 48, 'ACTIVE');
    dENCNTRACTIVE_CD NUMBER := Nmh_Get_Code_Value_By('DISPLAY_KEY', 261, 'ACTIVE');
    dATTENDDOCCd NUMBER := Nmh_Get_Code_Value_By('DISPLAY_KEY', 333, 'ATTENDINGPHYSPROV');
    dCHFCd NUMBER := Nmh_Get_Code_Value_By('DISPLAY_KEY', 200, 'HEARTFAILUREHANDOUTS');
    dORDERCOMPLETECd NUMBER := Nmh_Get_Code_Value_By('DISPLAY', 6004, 'Order Complete');
    dORDEREDCd NUMBER := Nmh_Get_Code_Value_By('DISPLAY', 6004, 'Ordered');
    // Populating active inpatients //
    // NOTE: This approach IS proven TO be more efficient than //
    // joining ENCNTR_DOMAIN TABLE //
    /* Define the cursor variable type */
    TYPE t_ActiveInpatient IS REF CURSOR;
    /* and the variable itself. */
    r_ActiveInpatient t_ActiveInpatient;
    /* Variables to hold the output of r_ActiveInpatient. */
    v_patient_full_name VARCHAR2(100);
    v_encntr_id NUMBER;
    v_person_id NUMBER;
    v_mrn VARCHAR2(200);
    v_fin VARCHAR2(200);
    v_reg_dt_tm DATE;
    v_nurse_unit VARCHAR2(40);
    v_med_service VARCHAR2(40);
    v_attending_physician VARCHAR2(100);
    v_min_updt_cnt ENCNTR_PRSNL_RELTN.updt_cnt%TYPE;
    v_tmp_sql VARCHAR2(2000);
    v_tmp_char VARCHAR2(11);
    BEGIN
    BEGIN
         EXECUTE IMMEDIATE 'DROP TABLE NMH_SP_CHF_PATIENTS_1';
    EXCEPTION
         WHEN e_table_not_exist THEN NULL;
         END;     
    EXECUTE IMMEDIATE 'CREATE GLOBAL TEMPORARY TABLE NMH_SP_CHF_PATIENTS_1'
    || '(patient_full_name VARCHAR2(100), encntr_id NUMBER,'
    || ' person_id NUMBER, mrn VARCHAR2(200), fin VARCHAR2(200),'
    || ' reg_dt_tm DATE, nurse_unit VARCHAR2(40),'
    || ' med_service VARCHAR2(40), attending_physician VARCHAR2(100))'
    || ' TABLESPACE MISC ' -- If I commented out this line, it would have worked fine.
    || ' ON COMMIT PRESERVE ROWS';
    OPEN r_ActiveInpatient FOR
    SELECT nai.patient_full_name,
    nai.encntr_id,
    nai.person_id,
    nai.mrn,
    nai.fin,
    nai.reg_dt_tm,
    Nmh_Get_Code_Display(nai.loc_nurse_unit_cd) NURSE_UNIT,
    Nmh_Get_Code_Display(nai.med_service_cd) med_service
    FROM NMH_ACTIVE_INPATIENTS nai,
              ORDERS o
    WHERE o.encntr_id = nai.encntr_id
    AND o.catalog_cd = dCHFCd
    AND (o.order_status_cd = dORDERCOMPLETECd
    OR o.order_status_cd = dORDEREDCd)
    AND o.template_order_id = 0;
    LOOP
    FETCH r_ActiveInpatient INTO
    v_patient_full_name,
    v_encntr_id,
    v_person_id,
    v_mrn,
    v_fin,
    v_reg_dt_tm,
    v_nurse_unit,
    v_med_service;
    EXIT WHEN r_ActiveInpatient%NOTFOUND;
    BEGIN
    SELECT MIN(epr.updt_cnt)
    INTO v_min_updt_cnt
    FROM ENCNTR_PRSNL_RELTN epr
         WHERE epr.encntr_id = v_encntr_id
              AND epr.encntr_prsnl_r_cd = dATTENDDOCCd;
    EXCEPTION
              WHEN NO_DATA_FOUND THEN NULL;
              END;     
    BEGIN
         SELECT pr.name_full_formatted
         INTO v_attending_physician
         FROM ENCNTR_PRSNL_RELTN epr,
                   PRSNL pr
         WHERE epr.encntr_id = v_encntr_id
                   AND epr.encntr_prsnl_r_cd = dATTENDDOCCd
         AND epr.updt_cnt = v_min_updt_cnt
         AND pr.person_id = epr.prsnl_person_id;
    EXCEPTION
              WHEN NO_DATA_FOUND THEN NULL;
              END;     
                   v_tmp_sql := 'INSERT INTO NMH_SP_CHF_PATIENTS_1 ';
                   v_tmp_sql := v_tmp_sql || '(patient_full_name, encntr_id, person_id, ';
                   v_tmp_sql := v_tmp_sql || 'mrn, fin, reg_dt_tm, nurse_unit, ';
                   v_tmp_sql := v_tmp_sql || 'med_service, attending_physician) ';
                   v_tmp_sql := v_tmp_sql || 'VALUES (:1,:2,:3,:4,:5,:6,:7,:8,:9)';
    EXECUTE IMMEDIATE v_tmp_sql
                   USING               
                   v_patient_full_name, v_encntr_id, v_person_id, v_mrn,
                   v_fin, v_reg_dt_tm, v_nurse_unit,
                   v_med_service, v_attending_physician;
    END LOOP;
    v_tmp_sql := 'SELECT * FROM NMH_SP_CHF_PATIENTS_1 t';
    OPEN r_to_report FOR
    v_tmp_sql;
    END;
    /

    In looking through your code a bit more, it seems that you have a fundamental minunderstanding of how temporary tables work in Oracle (if you have a SQL Server background, Oracle temp tables and SQL Server temp tables are quite different).
    The definition of a temporary table is available to every session, so you do not want to create a temporary table dynamically. You would create the temporary table once, just like any other table. The data that is inserted into a temporary table is local to that session, so you can have multiple sessions inserting data and each will see only its own data. By creating the temporary table outside of the stored procedure, you can avoid all the dynamic SQL you are currently doing, which is going to make the codea lot clearer, plus you avoid the implicit commit of a DDL operation in the procedure.
    As to the error you're getting, is there an ORA-xxxxx error message being returned? If your front end is hiding that error, try running the procedure from SQL*Plus and post the error. Of course, first try moving the table declaration outside the procedure.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • UPDATE SQL statement has poor performance

    Hi All,
    We have setup regular run background process,setup to "throttle"  user submitted
    Batch Requests to Batch Processing System.  Purpose of this "Throttle" DB level background
    process  (submitted using DBMS_SCHEDULER)  to check for currently active Requests and
    then accordingly (based on prevailing System Load)   inject new requests for Batch Request accordingly.
    This background process is scheduled to run every minute.
    We find that UPDATE statement below performs well when Table being updated (FRM_BPF_REQUEST)
    even when Table has upto 1 million rows.  (Expected Production volume)  UPDATE takes only few seconds  (< 10 secs)
    at most to execute
    However, we find that when there is a burst of INSERTS happening to  same Table  (FRM_BPF_REQUEST)
    via another database session,  UPDATE statement suffers with severe degradation.  Same UPDATE which used
    to perform  in matter of few seconds, takes upto  40 minutes when heavy INSERTS are happenning to
    Table.  We are trying to understand why Performance gets severely degraded when INSERTS are heavy on the Table,
    Any thoughts or insights into issue would be greatly appreciated.
    We are using Oracle DB 11.2.0.3.4  (on Linux)
    CREATE OR REPLACE PROCEDURE BPF_DISPATCH_REQUEST_SP(V_THROTTLE_SIZE NUMBER DEFAULT 600) AS
    --    Change History
    --001 -Auro    -10/09/2013  -Initial Version
    --    v_throttle_size    NUMBER DEFAULT 600;
          v_active_cnt         NUMBER DEFAULT 0;
          v_dispatched_cnt   NUMBER DEFAULT 0;
        v_start_time    TIMESTAMP := SYSTIMESTAMP;
        v_end_time    TIMESTAMP;
            v_subject_str   VARCHAR2(100) := '';
            v_db_name       VARCHAR2(20) := '';
      BEGIN
        -- Determine Throttle Size
        SELECT THROTTLE_SIZE
        INTO   v_throttle_size
        FROM   FRM_BPF_REQUEST_CONTROL;
        -- Determine BPF Active Request Count
        SELECT COUNT(*)
        INTO   v_active_cnt
        FROM   FRM_BPF_REQUEST
        WHERE  STATUS IN('rm_pending','rm_ready','processing','worker_ready','failed','dependency_failed','recover_ready');
        IF v_active_cnt < v_throttle_size THEN
            UPDATE FRM_BPF_REQUEST
            SET    STATUS='dispatched'
            WHERE  ID IN (
                    SELECT ID FROM (
                   SELECT ID
                   FROM   FRM_BPF_REQUEST
                   WHERE  STATUS='new'
                   ORDER BY ID
                    ) WHERE ROWNUM <= (v_throttle_size - v_active_cnt)
            v_dispatched_cnt := SQL%ROWCOUNT;
            COMMIT;
        END IF;
         v_end_time := SYSTIMESTAMP;
        INSERT INTO FRM_BPF_REQUEST_DISPATCH_LOG
        VALUES (
            v_start_time,   
            v_active_cnt,
            v_dispatched_cnt,
            v_end_time,
            NULL
        COMMIT;
        EXCEPTION
                  WHEN OTHERS THEN
                ROLLBACK;
             v_end_time := SYSTIMESTAMP;
            INSERT INTO FRM_BPF_REQUEST_DISPATCH_LOG
            VALUES (
                v_start_time,   
                v_active_cnt,
                v_dispatched_cnt,
                v_end_time,
                NULL
            COMMIT;
                SELECT ORA_DATABASE_NAME
            INTO   v_db_name
            FROM   DUAL;
                   v_subject_str := v_db_name||' DB: Fatal Error in BPF Request Dispatch Process';
            -- Alert Support                   
                DBA_PLSQL.SEND_MAIL(P_RECIPIENTS     => '[email protected]',
                                        P_CC         => '[email protected]',
                                            P_BCC         => '[email protected]',
                                            P_SUBJECT         => v_subject_str,
                                            P_BODY         => SUBSTR(SQLERRM, 1, 250));
    END;
    show errors
    Thanks
    Auro

    What the heck is this:
      EXCEPTION
                  WHEN OTHERS THEN
                ROLLBACK;
             v_end_time := SYSTIMESTAMP;
            INSERT INTO FRM_BPF_REQUEST_DISPATCH_LOG
            VALUES (
                v_start_time,   
                v_active_cnt,
                v_dispatched_cnt,
                v_end_time,
                NULL
            COMMIT;
                SELECT ORA_DATABASE_NAME
            INTO   v_db_name
            FROM   DUAL;
                   v_subject_str := v_db_name||' DB: Fatal Error in BPF Request Dispatch Process';
            -- Alert Support                   
                DBA_PLSQL.SEND_MAIL(P_RECIPIENTS     => '[email protected]',
                                        P_CC         => '[email protected]',
                                            P_BCC         => '[email protected]',
                                            P_SUBJECT         => v_subject_str,
                                            P_BODY         => SUBSTR(SQLERRM, 1, 250));
    Why are you programming for failure to succeed, willing to accept time taking rollbacks, committing afterward, fooling with transactions, swallowing/hiding all errors, all that 'nice and safely hidden' in the notorious WHEN OTHERS exception NOT followed by a RAISE?
    Only catch errors you expect.
    Programming to let a program fail is to fail.

  • Collect metrics failed : requested resource could not be found (vSDatastore)

    Hello,
    I am working on Tidal Enterprise Orchestrator 2.3.0.441 (hotfix1 and 2, content update 1), part of CIAC starter edition.
    Scheduled Collect metrics failed in ‘vSphere Datastores Data Sync’ at the last step : ‘Export Service Item Data’.
    Failure appears in ‘NS API – Query SI’ :
    The remote server returned an error: (404) Not Found. <nsapi-error-response>Requested resource could not be found.</nsapi-error-response>
    The URL is http://XXX:8088/RequestCenter/nsapi/serviceitem/SivSDatastore/Name=Devo/datastore2
    The account is nsapiuser and of course the item Devo/datastore2 exists in the Portal. I did not change the workflow.
    Do you know what could be the issue ?
    Thank you very much.
    Cheers,
    Nicolas

    Probably you do not have all the proper permissions for the nsapi user.
    Are they a site admin and CPTA?
    do they belong to the Cloud Admin OU (as their home OU) and the Site admin OU?
    After doing that, bounce the CCP server.
    If you still have issues, use your support services contract and open a TAC case.
    -Shaun Roberts
    CIAC/CPO Support Team lead
    [email protected]

Maybe you are looking for

  • Forward 3 inside IP using the same port to one outside IP ASA 5505

    Ok, so I have 3 cameras 172.20.101.15-17 all listen on port 7000. I want to forward them to a single outside IP, but when the user connects I need them to come in on ports 7001, 7002, 7003. I have forwarded ports before, but never in this fashion, an

  • I am having trouble moving mail and and firefox profiles to Macbook from Powerbook

    I just inherited a cool late 2008 aluminum Macbook with Lion.  But I can't seem to get my Mail to move over or my Firefox preferences.  I tried the steps for moving mail:  copying and pasting the keychain, mail and mail preferences files.  Nothing ha

  • Turning on Filevault irrecoverably hangs even with clean OS install

    It's a 13" MacBook Air 5,2 from 2012 with 128GB storage. When I turn on Filevault, it runs for about an hour before the estimated time remaining goes from 1-2 hours to "estimating time remaining" and it beach balls. I've let it sit for up to 24 hours

  • Query Region: vo.executeQuery is not using criteria first time.

    Hi, Scenario* I have a simple QueryRegion with an AdvancedTable. Its construction mode is autoCustomizatioCriteria. Also, there is a 'Refresh' button on the page to redirect to same page with a parameter 'refreshStatus' set. This button is handled in

  • Cannot See Reviewers' Comments

    I initiated a shared review using Adobe Acrobat Pro XI (Windows 7) and posted the PDF on a shared local server. Reviewers used various supported versions of Acrobat Reader to comment. After the review was over, I opened the PDF but none of the review