Error handling with EPG pages, displaying proc variables and values

With OAS, a failure in a PLSQL-generated page usually brought up a plain page of preformatted text showing a) the basic Oracle message for the failure, b) all the passed-in parameters by name with their values at the time of failure, and c) the CGI environment variables with their values.
When I use the EPG, and failure occurs, I get something like ".../dad/pkg.proc not found", which is worthless as an outcome for a user to see. Now I got around this a bit with an EXCEPTION section, and using OWA_UTIL procs got some info that is helpful in debugging. But I very much would like to get the list of passed-in parameters with their values, and the documentation is not revealing great wisdom to me for achieving this.
Does anyone have some knowledge or code to share that will achieve this within the bounds of XE? Perhaps another thread has addressed this and I could have the URL?

In order not to expose sensitive information, the embedded PL/SQL gateway (EPG) returns only a very basic error page in the default setup when an exception occurs when attempting to execute the procedure. To get a more elaborate error page like what OAS returns, you may set the DAD attribute as follows:
sqlplus system/...SQL> exec dbms_epg.set_dad_attribute('APEX', 'error-style', 'DebugStyle')
to reset it, please delete the attribute
SQL> exec dbms_epg.delete_dad_attribute('APEX', 'error-style')
This assumes that you are using the defalt DAD "APEX" that comes preinstalled in XE.
See the doc on the different error styles at http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14190/confmods.htm#CIHCIIJG
Thanks.

Similar Messages

  • Step by Step documents for Process Chain Error Handling with Screen Shots

    Hi
    Is anybody having Step By Step Documents for Process Chain Error Handling with Screen Shots ?. Please forward it to me to my e-mail [email protected] .  I will reward points to u immediately.
    bye
    Aamira Khan

    Hi,
    You can find lots of topic related to process chain issues in SDN.Please make a search in SDN.
    https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_library&query=process+chain&adv=true&sdn_author_name=&sdn_updated_on_comparator=ge&sdn_updated_on=&sortby=cm_rnd_rankvalue
    Regards.

  • General Inquiry Regarding Error Handling with System Exec.vi

    I have a sub vi that uses the System Exec.vi to send SMS messages when triggered. I am confused as to how the error handling works and why all of the errors seem to go to the "standard error" vs the "Error out". The reason I am interested is because I am trying to interrupt the error out of another script to execute a command if error=true.
    I have intentionally created an error to test this, however it does not seem that the signal is ever being sent to the error out, only to the standard error.
    Any help/explanation as to how this works would be greatly appreciated.

    The Facebook discussion board is just a pilot and that functionality is not available yet (as to my knowledge). You will have to use the actual forum thread to add attachments. You can click the arrow just to the right of thread topic in the Facebook thread and that will take you to the ni.com/forums thread. Or you can navigate here:
    http://forums.ni.com/t5/LabVIEW/General-Inquiry-Regarding-Error-Handling-with-System-Exec-vi/m-p/246...
    Having a look at your VI would help to clarify the error handling issue.
    Daniel K | NI Applications Engineer | Certified LabVIEW Developer

  • Error handling with example

    Hi,
    Can any one explain please
    1.Why we need to create XSD,
    2.What is the use of dehydration,
    3.Types in XML
    Please explain any error handling with example.

    Hi',
    1.Why we need to create XSD,
    This is used as the input/output for the webservice/BPEL
    2.What is the use of dehydration,
    This is used to save the state of the composite/BPEL/Mediator in the database
    3.Types in XML
    complex, simple
    Error handing in file
    http://yatanveersingh.blogspot.com/2011/09/fault-handling-in-file-adapter-for-csv.html
    -Yatan

  • Option for error handling for DTP, ' no updata, no reporting" and "deactiva

    Hello Gurus,
         option for error handling for DTP, ' no updata, no reporting" and "deactivated" , please give some explanation and instance for them?
    Many Thanks,

    On the Update tab page, specify how you want the system to respond to data records with errors:
                                a.      No update, no reporting (default)
    If errors occur, the system terminates the update of the entire data package. The request is not released for reporting. However, the system continues to check the records.
                                b.      Update valid records, no reporting (request red)
    This option allows you to update valid data. This data is only released for reporting after the administrator checks the incorrect records that have not been updated and manually releases the request by setting the overall status on the Status tab page in the monitor (QM action).
                                c.      Update valid records, reporting possible
    Valid records can be reported immediately. Automatic follow-up actions, such as adjusting the aggregates, are also carried out.
    http://help.sap.com/saphelp_smehp1/helpdata/en/42/fbd598481e1a61e10000000a422035/content.htm
    Hope it helps.
    rgds, Ghuru

  • Error ERR-3331 This page was already submitted and can not be re-submitted.

    Our application has been in production for several years... we upgraded last fall to 3.0 (10g). Periodically in the past users would get this error message "Error ERR-3331 This page was already submitted and can not be re-submitted." but in the past week it has been occuring after every 5-8 page loads. Our application has a couple dozen tabs and if I click from one tab to another (same level), after the 5-8 clicks, I get this error. I am not doing anything on any of the pages, and there are no auto-submits.
    Since this has just started happening consistently (previous errors were related to users using the back key, this time it is not), I wonder if there is any known reason as to what might cause this to occur (application server setting change? etc?) Or is there a particular type of item on the page (LOVs?) that would make this more likely to occur on some pages than others.

    Hmmm... it probably isn't possible to grant outside access to the system, but...
    Does anyone know if it is "possible" that this could occur if one page is still loading when the user clicks on a new tab and attempts to load a new page before the first is loaded? And, is there a setting/page option that I can set to immediately cancel the load of a page when a user tries to load a new page before it's finished?
    I wonder because I can only make the error happen this morning when I click very quickly between tabs (yesterday when more users were online, I didn't have to click fast to make it happen).

  • Extract Variables and Values out of a String

    Hello Everbody!
    I have a question, hope that anyone can help me.
    I have a string of this kind: "frame= 2255 q=0.0 size= 2739kB time=75.0 bitrate= 299.3kbits/s"
    Know I want to deconstruct it and extract the variables and
    values written in there. There is some Whitespace in it.
    After the extraction it have to look like this:
    frame=2255
    q=0.0
    Greetz Christian

    What is a StringTokenizer?http://java.sun.com/j2se/1.5.0/docs/api/java/util/StringTokenizer.html
    Can you give me an
    example? Would be great! http://www.google.com/search?q=java+stringtokenizer+example
    You can first use space as the delimiter, to get tokens
    a=b
    c=d
    etc.
    Then you can tokenize each of those tokens on =.
    However, this doesn't work if you can have spaces around the = or inside the values:
    a = b
    c="d e f"
    If you can have this, you'll have to take a different approach. String.split might serve you better in that case, but you'll have to learn a bit about regex first.
    Sun's Regular Expression Tutorial for Java
    Regular-Expressions.info

  • Error handling with CFFEED?

    Hello, does anyone have a suggestion on handling errors from
    CFFEED reads?
    I'm reading an ATOM RSS feed from another site, but if there
    is ever an issue with that remote site, it would prevent my page
    from loading.
    If, for example, the RSS feed wasn't available, I would get
    an "Unable to read the source URL" error page.
    What I would like to have happen would be the page to
    continue processing, and instead of displaying the <CFOUTPUT
    query = "myQuery">, instead display something like "There was a
    problem with the newsfeed".
    Is there any way to ignore a "fatal error" from a CF tag, and
    just move on with processing the rest of the page?
    The code I've used here is Adobe's example for the CFFEED
    tag. The RSS URL I'm testing with is:
    http://feeds.emsresponder.com/emsresponderrss/top_ems_news
    Thanks in advance!
    -Ian in Los Angeles

    Use CFTRY and CFCATCH as suggested above. These tags can be
    used around pretty much any potentially problematic code.
    A good idea might be to put a CFMAIL tag in the CFCATCH which
    will notify you if something is wrong - although, this depends on
    how many people you'll have viewing the page, because you could end
    up getting a lot of emails - I'm sure there must be a better
    solution somewhere though, just an idea really.

  • Report and Alert don't executed in the error handler with a JMS proxy service

    Hi,
    I'm working with OSB 11.1.1.4.0 and I'm facing a problem with the error handler of my JMS proxy service.
    My error handler contains two main elements :
    - a Report action
    - an Alert with a JMS destination defined
    When the business service failed the message remain in the queue. It's the expected behavior.
    The problem is :
    - the report is missing
    - the alert is raised but missing in the JMS destination defined in the Alert setting.
    I've noticed if I add a Reply with Failure or Success, Report and Alert are successfully executed.
    Unfortunately the message don't remain in the JMS queue.
    What can I do in order to have my report/alert done and the JMS transaction rollback in order to keep the message in the queue ?
    I've already met this problem in the past with alsb v3 and my solution was to add Service Callout in the error handler in order to externalize these actions.
    This solution is not convenient and I hope another solution is possible.

    Inventorying workgroups can be difficult, especially when it comes to remote access and network security. Because workgroups are not centrally managed, some of the items discussed in this
    wiki article on preparing your workgroup environment may require you to visit each machine individually.
    For non-domain credentials, you do not use the <systemname>\<user> format, you simply enter the user name. Regarding how to enter the credentials, if you have an account that uses the same username and password on all machines and is an administrator
    on all of those machines, then you can enter that in the All computers credentials page of the wizard. You can also do this if they are different user names. However, if some machines have an account with the same user name, such as Administrator,
    but different passwords on each machine, you will need to use the Manually enter computer names discovery method, and then enter the information for each group or each machine.
    As you can tell, workgroup environments can quickly negate any benefit that the agentless inventory nature of MAP provides.
    Please remember to click "Mark as Answer" on the post that helps you, and to click
    "Unmark as Answer" if a marked post does not actually answer your question. Please
    VOTE as HELPFUL if the post helps you. This can be beneficial to other community members reading the thread.

  • Error handling with shell script

    Hi,
    I want to write a .sql file with lots of executable statements. These statements need to run on 100 of schemas per database.
    I want to have error handling mechanism in this file in such a way that whenever I get any ORA- error or SP error, it should stop executing there.
    Please help me.
    Thanks.

    872305 wrote:
    Hi,
    I want to write a .sql file with lots of executable statements. These statements need to run on 100 of schemas per database.
    I want to have error handling mechanism in this file in such a way that whenever I get any ORA- error or SP error, it should stop executing there.
    Please help me.
    Thanks.
    10:47:51 SQL> help whenever sqlerror
    WHENEVER SQLERROR
    Performs the specified action (exits SQL*Plus by default) if a
    SQL command or PL/SQL block generates an error.
    WHENEVER SQLERROR {EXIT [SUCCESS|FAILURE|WARNING|n|variable|:BindVariable]
                        [COMMIT|ROLLBACK] | CONTINUE [COMMIT|ROLLBACK|NONE]}
    10:48:07 SQL>

  • Error handling with SUBMIT

    Hello Experts!
    Is it possible to handle errors generated in a program called with SUBMIT ?
    for example I am calling a program REPORT00
    SUBMIT REPORT00
            WITH  PARAM_1 = 'X'
                AND RETURN.
    And say there are some validations in REPORT00 that throws an error.
    I see that when it throws an error, the screen on REPORT00 is displayed, which would not be prefered!
    Is there a way to handle this?
    Awaiting your valuable responses....
    Thanks in advance

    REPORT00 need to write the messages to File and download it later or need to write to spool... I guess its not possible to handle with submit statement...

  • Error Handling with JPA

    I'm working on a JPA/TopLink Essentials/ADF faces application. It's going well except that I don't have a clue how to get on top of the error handling. JPA doesn't seem to have any. I would assume that there must be a Toplink extension[b] to find out what errors/codes etc are being produced. ADF faces does a ok job of showing them on screen but the handling should be more user friendly for errors like invalid foreign key, unique key violation etc.
    Since there is no return and no exceptions declared on JPA functions like persist(), I assume that there must be some sort of listener that I can register to handle the errors myself. If ADF Faces can get the errors then so can I, but how??
    Any help would be appreciated
    Mark

    The "errors" raised by the persistence provider for the types of "errors" you mentioned are all runtime exceptions of the PersistenceException variety. See the javadoc for this class and also look at its subclasses: http://java.sun.com/javaee/5/docs/api/javax/persistence/PersistenceException.html
    Since PersistenceException is an unchecked runtime exception, its up to you to catch it at whatever point you decide to handle these types of problems in your application (i.e. in the service layer which would communicate the problem to your view layer to display something user friendly). Make sense?

  • Error handling with Sync RFC

    Hi @ all,
    I have following scenario: a BPM doing some stuff on DB and map this values to a RFC request (sync) to a SAP R/3 system. Within this RFC I define 2 exceptions.
    I did map the RFC exception in interface mapping to a fault message.
    In BPM I put my RFC call into a Block with an Exception "RfcError" and insert a Exceptionbranch - which should send a email.
    Put anyhow it doesn't work - every RFC exception ends as an error in SMBX_MONI...
    Anyone a idea how to solve it??
    Regards Matt

    Hi Bhavesh,
    thanks for your tip, I see an error within my block their. But I don't know what it means to me
    Während des Anwendungs-Mappings com/sap/xi/tf/_MM_ Rfc_Error_to_Mail_ wurde eine com.sap.aii.util Work item 000000120730: Object CL_SWF_XI_MSG_BROKER method SEND_SYNCHRON cannot be executed
    No exception defined for system errors
    Error handling for work item 000000120729
    Runtime handle of object type  could not be created
    Runtime handle of object type  could not be created
    No exception defined for system errors
    Regards
    Matt

  • ALE Error Handling with Workflow

    Hi All,
    I have some issues with using workflows with idocs:
    In our process codes , the business object , start event for error handling and success event has been configured.
    Now if the workflow_result is 0 then success event is triggered and if workflow_result = 99999 then start event is triggered.
    I have two qquestons:
    1. How are these events triggered as I did not find any code in the F.M> to triggerethem.
    2. What is the purpose of End event.
    Apart from this , is there any area where workflows can be used with IDOCS.
    Thanks and Regards
    Aman

    Hi,
    In case I am creating a custom F.M. to process idoc data then I can use the F>M> to create the event.
    However In case the standard F.M. is being used and workflow_result is set to 9999 in it and I have consigured the start event to it,in that case I will not be able to use thie F.M> to trigger the workflow.
    Thanks and Regards
    Aman

  • Error Handling with OCCI

    Hi,
    is there any function available in OCCI to register user defined function with error handler, "just like RougeWave setErrorHandler"
    Thanks

    OCCI uses C++ exceptions (OCCI class SQLException) mechanism for errors. Can you please explain the error handler approach and its advantages?
    Thanks,
    Shankar

Maybe you are looking for