Rendering an error-display - Please help!!

Hi everyone,
I'm about to give up. I use the Orion 1.5.2 appserver for EJB, JSP and servlets. It works great and is the best appserver i've tried so far. Except for one thing:
As it seems, Orion doesn't have a custom error-page. When I invoke 'response.sendError(...)', Internet Explorer receives the status-code and displays its own error-page ("this site could not be reached"). Netscape displays some similiar page, showing the status-code and the attached message. But I want to show a custom error-page, that show more information about the message, and looks good as well. How can I accomplish that? I've looked through the forum and browsed through the documentation of Orion... nothing...
Ohh, and one more thing... Does anyone know how to make orion use another database than HSQL for EJB's? I want to use MySQL with the MySQL J/Connector.
Please help me!
Nille

Finally!!!
Thank you very much.
Would it be possible to accomplish something like this:
<error-page>         
     <error-code>*</error-code>
     <location>/error.jsp</location>   
</error-page>and the corresponding JSP:
<%
   int errorCode = ((Integer)request.getParameter("status-code");
   String message = (String)request.getParameter("message");
%>
<HTML>
   <HEAD>
      <TITLE>Error <%= errorCode %></TITLE>
   </HEAD>
   <BODY>
      Status-code: <%= errorCode %><br>
      Cause: <%= message %>
   </BODY>
</HTML>So that I have a generic error-page that renders all sendError invokations, and can fetch the status-code and the attached message.
If a ServletException occures and I have a page that handles this exception, can I reach the exception from the error-page? Something like request.getAttribute("exception"), or something like that.
Thank you alot for answering!
Nille

Similar Messages

  • Error 1001 - please Help!

     I am going crazy!  the software update keeps on displaying the error code 1001.
    I've been trying to activate my tablet since saturday, but it won't let let... it keeps on informing me of the unknown error!@
    please help!

     I am going crazy!  the software update keeps on displaying the error code 1001.
    I've been trying to activate my tablet since saturday, but it won't let let... it keeps on informing me of the unknown error!@
    please help!

  • HT201210 i cannot get my phone out of recovery mode, when I tried to restore on itune it gives me error 1608. please help me

    i cannot get my phone out of recovery mode, when I tried to restore on itune it gives me error 1608. please help me

    While YOU may not have attempted to jailbreak the phone, SOMEONE ELSE did.  Error 1015 occurs by attempting to restore a previously jailbroken phone. 
    It's very likely you may NEVER get your phone out of recovery mode and your phone may be rendered permanently bricked.
    Terms of Use of this forum prohibit the discussion of jailbroken phones.  You'll have to scour the internet for a solution to your problem, if indeed one exists.

  • WWS-32136 UTL_HTTP error. Please help

    Hello,
    I am trying to get all content area content
    to show up inside the folder(or area). When I want to get WebDB reports or external sites
    to display within the content area, I get
    a utl_http error. Here is what I did:
    1. Create a Content Area
    2. Create an item or type URL
    3. Check the "link displays item in folder area" as the display options attribute.
    When I click on the link, webdb reports take
    up the entire page, while external url or
    external apps (like giving a link to www.oracle.com) ends up giving me a utl_http error.
    Please help !!
    Sanjay

    Sanjay
    Did you review the looking at the troubleshooting guide on OTN: http://technet.oracle.com/products/iportal/htdocs/portal_troubleshooting.htm
    Seaching this page using the keyword 'utl_http' returned a likely solution:
    Cause: This is most likely happening because of a bug in the UTL_HTTP package that shipped with early versions of the Oracle 8.1.6 database on Windows NT.
    Solution: You must download and install the 8.1.6.2 patch from http://metalink.oracle.com (click patches, and then select "product: Oracle Server - Enterprise Edition", "platform: MS Windows NT"). You must be registered to use Metalink.

  • Photoshop Elements 8. "Could not use Clone Stamp Tool because of a program error."  Please help.

    Photoshop Elements 8.  "Could not use Clone Stamp Tool because of a program error."  Please help.

    Try this:
    Open your picture file
    Access the clone stamp tool
    Hold down the ALT key on the keyboard and left click on the area from which you wish to clone, then release the ALT key, and click to place the pixels at the destination
    TIPS:
    It is a good idea to open a blank layer at the top in the layers palette, and do the cloning on this layer. Be sure that "sample all layers" at the top is checked. You can change the layer opacity if necessary
    Use the bracket keys next to the letter p on the keyboard to increase & decrease the size of the cursor
    Let us know  how you make out with the error message now.

  • It says "error 7, windows error 127" Please help

    It says "error 7, windows error 127" Please help

    I tried that, got this error:
    An error occured during the installation of assembly "Microsoft.VC80.CRT.type="win32".version="8.0.50.727.6195".publicKeyToken="1fc8 b3b9a1e18e3b".processorArchitecture="x86". Please refer to help and Support for more information. HRESULT: 0x8007422.
    Please help!

  • Can't install Adobe Flash player ERROR. Please help

    I tried to download the update of Adobe Flash Player BUT every time I try to download it... Look at the screen shot. ERROR.
    Please help me I am really happy if someone here can help me.

    Hello,
    The log file indicates there are permissions issues on a couple of files and they are not being removed.  This is preventing the installation of the new version.  Please run the uninstaller, posted here Uninstall Flash Player | Windows, and post an updated FlashInstall.log file, and a screenshot of the files remaining in the /Macromed/Flash directory after running the uninstaller.  Please only run the uninstaller and do not attempt to re-install at this time.
    Thank you.
    Maria

  • After the IOS7 update, i can no longer use my imessage and facetime. It says "waiting for activation" and tried to log in on my apple id but it turned out to connection error. Please help me guys! Thank you.

    After the IOS7 update, i can no longer use my imessage and facetime. It says "waiting for activation" and tried to log in on my apple id but it turned out to connection error. Please help me guys! Thank you.

    Have you tried to reboot your phone(hold home and lock button simutainiously)?

  • My iPod is jailbroken and does not work. It is now in DFU mode. It doesnt let me fix it When I restore it, it says error 3194.Please Help

    It is now in DFU mode. It doesnt let me fix it When I restore it, it says error 3194.Please Help me!

    Go elsewhere. JB voids the Apple warranty and means you will get no support from Apple, including from this Apple forum.

  • TS3221 my iphone 4s is not connecting with itunes and giving me a message of unknow error 0xE8000012 Please help me out

    my iphone 4s is not connecting with itunes and giving me a message of unknow error 0xE8000012 Please help me out

    You've managed to permanently damage the phone. As gdgmacguy suggests, buy a new one. Preferably from a legitimate source.
    You may also want to keep in mind that it is illegal to use the Gevey SIM in pretty much every country on the planet. It may still be legal on the continent of antarctica, but that's only because penguins don't use cell phones as a rule.

  • After i updated my iphone 4s from 8.1.2 to 8.1.3 problem occurred.i cant restore and update my phone?saying that iphone could not be restored,an unknown error ocuurred.please help me?

    After i updated my iphone 4s from 8.1.2 to 8.1.3 problem occurred.i cant restore and update my phone?saying that iphone could not be restored,an unknown error ocuurred.please help me?

    Thanks for the update and clarification. In researching the issue it seems that the 2003 error code may have something to do with the USB connection. I would use this section of one of the above articles:
    Get help with iOS update and restore errors
    If the USB connection between your device and computer is interrupted, you might not be able to update or restore.
    To narrow down the issue, you can try different equipment:
    Use the USB cable that came with your device, or a different Apple USB cable. 
    Plug your cable into a different USB port directly on your computer. Don't plug it into your keyboard.
    Try a different computer.
    Solve other issues with the USB connection, then with your security software.
    If you still see the error message, check for hardware issues by following the next section.
    Check for hardware issues
    Related errors: 1, 3, 11, 12, 13, 14, 16, 20, 21, 23, 26, 27, 28, 29, 34, 35, 36, 37, 40, 1002, 1004, 1011, 1012, 1014, 1667, or 1669.
    These errors mean that your device or computer might have a hardware issue that stops the update or restore from completing.
    Check that your security software and settings aren't blocking your device from communicating with the Apple update server.
    Then try to restore your iOS device two more times while connected with a cable, computer, and network you know are good.
    Make sure that your security software and settings are allowing communication between your device and update servers.
    If you still see the error message when you update or restore, contact Apple support.

  • Hi i have problem with my hp mini is giving me a error CNU9391WZR PLEASE HELP

    Hi i have problem  with my hp mini is giving me a error CNU9391WZR PLEASE HELP
    Hp mini 110 1140el

    Yes  bios password, i forgot  my windows password so im trying to reset to manufacturing settings but keeps asking me for bios password... Please help 

  • Hi, someone please help me out... am Nelson and got an issue with my apple Qmaster... I got OSX maverix and on my system preferences the Apple Qmaster dosent load but only gives an error, someone please help.

    hi, someone please help me out... am Nelson and got an issue with my apple Qmaster... I got OSX maverix and on my system preferences the Apple Qmaster dosent load but only gives an error, someone please help.

    the error is like "Could not load Apple Qmaster preference pane"
    if there is a way around it please help me coz I cannot render my video projects on Compressor anymore...

  • Export error. Please help

    Hi ALL,
    When i try to export the database i am getting the following error. Please help
    C:\>exp cas/compass@prd_test file='I:\Prd_dumb222_refresh\backup_before_refresh\exp_cas_backupbeforefresh_020310.dmp' log='I:\Prd_dumb222_refresh\backup_before_refresh\exp_cas_backupbeforefresh_020310.log'
    Export: Release 10.2.0.1.0 - Production on Wed Feb 3 06:04:25 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    EXP-00056: ORACLE error 6550 encountered
    ORA-06550: line 1, column 41:
    PLS-00302: component 'SET_NO_OUTLINES' must be declared
    ORA-06550: line 1, column 15:
    PL/SQL: Statement ignored
    EXP-00000: Export terminated unsuccessfully
    The version of the db and export utility is same as u see from below.
    C:\>sqlplus "/as sysdba"
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Feb 3 06:06:35 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL>
    Regards
    Arun Kumar

    One of the most common causes of these errors is that you are using a higher version of the export utility compared to your RDBMS version. For instance, you might be using the Oracle 10.2.0 exp utility against an Oracle 9.2.0 database. Use the 9.2.0 exp utility instead. Metalink Note 132904.1 discusses the compatibility matrix between exp and database versions.

  • I have downloaded adobe download assistant but when ever i click on sign in it says 'error communicating with adobe (error 100). please help.

    I have downloaded adobe download assistant but when ever i click on sign in it says 'error communicating with adobe (error 100). please help.

    Boskou41043636 for information on how to resolve error 100 please see Troubleshoot Adobe Download Assistant.

Maybe you are looking for

  • Playlists are all in reverse order

    i've got a 32gb touch, 2nd gen, running xp, latest itunes... blah blah for some odd reason. all my playlists are in the reverse order...is there anything i can do, besides restoring my ipod?

  • Accounts problem

    Hi, I have multiple accounts in Skype and Microsoft since I use it from the very beginning and now I don't remember either the passwords or emails (I can search for the user accounts). I want to delete all of them until I only have 2. I'm trying to d

  • Is it possible to do In Line RegEx

    I know this is probably not possible, but want to throw it out there to see if anyone was able to accomplish this. I am writing automation scripts to add users to different AD Groups and SCCM User Collections. The command I am having an issue with in

  • Batch White Balance using a reference pixel?

    Hi, I have shot a time lapse image sequence that includes change from day to night & vice versa. The automatic white balance produces unsatisfying results. Since it's always the same scene, what I would like to do is this: Select one pixel in one of

  • EXS samples loading twice

    After upgrading from Logic 6 to 7 I get the following strange behaviour: When I start up Logic by double-clicking a song file that contains EXS24 instruments, the samples are loaded twice (according to the Progress window). Anybody else have experien