Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8597879
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T01:01:12+00:00 2026-06-12T01:01:12+00:00

and sorry in advance I’m a newbie in HTTP server. I’d like to customize

  • 0

and sorry in advance I’m a newbie in HTTP server.

I’d like to customize an error 500 from an Oracle HTTP Server (OHS, built on Apache). I guess this should be done from the ErrorDocument directive, but I never found any example where this is used to customize Webspace error, only Filesystem one (under Directory or File directives).

To be more precise, here is a part of the default config used:

RedirectMatch 301 ^/analytics$ /analytics/

## Context roots for BI EE
<Location /analytics >
 SetHandler weblogic-handler
 WebLogicCluster miaibv194.mia.michelin.com:9704
</Location>

If I understand well, the RedirectMatch and Location directives are used to pass URLs like /analytics to Weblogic. Is it possible to add an ErrorDocument under the Location to customize errors 500 that occur for URLs like /analytics ?

I tried naively but could not make it work. Thanks !

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T01:01:13+00:00Added an answer on June 12, 2026 at 1:01 am

    Well, what I was originally trying to achieve was to customize HTTP errors 500 in OBIEE 11g (which uses WebLogic, and an OHS in our case). I opened a SR to try to achieve that with OHS, but it failed (Oracle guy told me I had to do it at application level), so I opened a new one to do it with WebLogic itself and here is what it gives:

    • Locate the analytics.ear in your Oracle BI Home directory. This will be /Oracle_BI1 (or whatever you chose to name your Oracle BI Home on install)/bifoundation/analytics.ear.
    So in our example scenario, this would be located at:
    C:\OBI\Oracle_BI1\bifoundation\jee\analytics.ear
    • Make a backup copy of the ear file so that you have a restore point to refer back to (and revert to) if needed
    Note that we do not support updating the analytics.ear file, you must stop, remove the previous analytics.ear file before deploying the new one.

    • Unpack the analytics.ear file to a temporary location, using the Java jar tool. Use the command line options xvf to extract the contents
    to the current working directory (e.g. C:\OBI\jdk160\bin\jar –xvf C:\OBI\Oracle_BI1\bifoundation\jee\analytics.ear), so you will probably want to create a
    temporary directory to hold the unpacked contents and change into that directory before running the command.

    The ear contains a META-INF directory and two war files, analytics.war and analytics-ws.war

    • In the META-INF directory, there is a MANIFEST.MF file, add the following line to the end of the file:
    Weblogic-Application-Version: 11.1.1
    Note that it has been reported that when re-applying these steps following the application of BI 11.1.1.5.0 BP2 patches, this step to update MANIFEST.MF should be ignored as the new analytics.ear file is not versioned.

    • Unpack the analytics.war file to a second temporary location; it contains a default.jsp file and five top-level directories, one of which is called WEB-INF.

    • in the WEB-INF directory, you will find an existing file called web.xml. Edit web.xml, for example by adding:

    <error-page>
    <error-code>500</error-code>
    <location>/500error.jsp</location>
    </error-page>
    

    Make sure there are no hidden characters and check the quotes are correct for your platform.

    • Once you have edited the web.xml , repackage the analytics.war file, again using the jar tool, and, in turn, repackage that back into the analytics.ear file.
    Next we need to redeploy the analytics.ear file to Weblogic

    • Log into Weblogic Admin Console and click on Deployments

    • In the Change Centre at the top left, click “Lock and Edit”

    • Find the analytics app and click the tickbox next to it, then click on the Update button

    • In the Update Application Assistant screen, make sure the deployment path is the same as the ear file you just updated, if not change the path

    • Click Next, then Finish

    • In the Change Centre at the top left, click “Activate Changes” to save your changes. If you have not already done so, restart the Weblogic Admin Server and all Managed Servers

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm a newbie with Rabbitmq(and programming) so sorry in advance if this is obvious.
I'm sure this is a newbie question so sorry in advance. I've read a
Sorry in advance for a potentially dumb newbie question, but here goes. I am
I'm sorry in advance for a newbie question. I've been working on this for
Sorry in advance for this being such a beginner question. Here are the steps
Sorry in advance everyone for this question as I know the cascading select boxes
sorry in advance for any orthographic mistakes (english is not my first language). I
In advance: sorry for the noob question but I'm learning Cocoa & Objective-C and
I am new to JPA and JBoss, so sorry in advance if this is
Sorry for the long explanation. Thanks in advance to all who are taking their

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.