6 Replies Latest reply: Oct 28, 2010 2:54 AM by Turribeach RSS

    Custom page if Presentation Service is down

    732615
      Hi all,

      I've been looking for a few hours but can't find a way to show a custom page when the presentation service is down.

      Currently it shows this error, which I believe is run from OC4J.

      *500 Internal Server Error*

      Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application

      Does anyone know how to change this? At the moment i can't even find where it's being generated from.
        • 1. Re: Custom page if Presentation Service is down
          SaichandVaranasi
          hi Ejay,

          1) open web.xml file located at (\OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\WEB-INF )

          2) Add the following code below to the *<mime-mapping> tags*

          <error-page>
          <error-code>500</error-code>
          <location>/text.html</location>
          </error-page>

          3) Create a HTML page with u r custom text and save it under "\OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics"


          4) Restart the OC4j

          5)Down the presentation services u ll get

          http://img641.imageshack.us/img641/8343/customerrormessage.jpg

          Let me know if u have issues!



          thanks,
          Saichand.v
          • 2. Re: Custom page if Presentation Service is down
            808480
            I need same information,but i will get follwing message whenever presentation service is down

            **An error occurred contacting Oracle BI Presentation Services. If this problem persists, contact your system administrator.**
            **Error Codes: GDO7WNZA**

            I have applied above code in web.xml,but no effect.
            • 3. Re: Custom page if Presentation Service is down
              SaichandVaranasi
              hi,
              Have u restarted the OC4j services ?

              Can u paste u r web.xml file and make sure that u have changed at right location and .html file to be in right path


              Thanks,
              Saichand.v
              • 4. Re: Custom page if Presentation Service is down
                808480
                We do not use OC4J,but we will use IIS for presentation service.We have web.xml located in the path of D:\SiebelAnalytics\web\app\WEB-INF .Please see the content of web.xml file

                <?xml version="1.0" encoding="UTF-8"?>

                <!DOCTYPE web-app
                     PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
                     "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">

                <web-app>
                     <servlet>
                          <servlet-name>SAWBridge</servlet-name>
                          <servlet-class>com.siebel.analytics.web.SAWBridge</servlet-class>
                          <init-param>
                               <param-name>oracle.bi.presentation.sawserver.Host</param-name>
                               <param-value>localhost</param-value>
                          </init-param>
                          <init-param>
                               <param-name>oracle.bi.presentation.sawserver.Port</param-name>
                               <param-value>9710</param-value>
                          </init-param>
                     </servlet>
                     <servlet-mapping>
                          <servlet-name>SAWBridge</servlet-name>
                          <url-pattern>/saw.dll</url-pattern>
                     </servlet-mapping>
                     <mime-mapping>
                <error-page>
                          <error-code>500</error-code>
                          <location>/text.html</location>
                          </error-page>
                          <extension>xsd</extension>
                          <mime-type>text/xml</mime-type>
                     </mime-mapping>
                     <welcome-file-list>
                          <welcome-file>default.jsp</welcome-file>
                     </welcome-file-list>
                </web-app>


                and i have placed text.html under D:\SiebelAnalytics\web\app .

                Content of text.html is

                <b> Service is down </b>

                Please note my usual error message is differenet than OP.
                • 5. Re: Custom page if Presentation Service is down
                  732615
                  Hi Saichand,

                  I did exactly what you said but i get this error when i go to my the OBI URL. Even with OC4J and Presentation service on i get this error:

                  *404 Not Found*
                  Resource /analytics/saw.dll not found on this server

                  In Oracle Enterprise Manager i see that Analytics is down. When i restart it i get the following error about 30 times in the ascontrol.log log file:


                  *010-10-28 09:18:25,321 [EMUI_09_18_25_/console/ias/logging/logfiles] WARN util.HGridDataSource setSelected.354 - setSelection: key*
                  should not be null


                  If i remove the extra text from the web.xml file then everything start okay again. I am running on OBISE1 but i don't think that should make a difference.

                  Edited by: Ejay on 28-okt-2010 0:32

                  Edited by: Ejay on 28-okt-2010 0:35
                  • 6. Re: Custom page if Presentation Service is down
                    Turribeach
                    User 805477 please DO NOT hijack a thread with your own questions, start your own thread. It's difficult enough to fllow a thread from the original author for you to post questions using a different environment.

                    Ejay this is the OBIEE forum you should be posting your question in the OBISE1 forum:

                    Business Intelligence Standard Edition One