ADF BC/ Faces - Friendly HTTP-500's

Hi,
Is there any way to trap JBO's that cause HTTP 500's? I have a facesMessage component on my page, but occasionally I get exceptions that render just the Internal Server Error and full stack trace to the user.
Is there any way to direct the user to a "something went wrong" page with the same look and feel as the application or is thus done in the apache config?
thanks,
Brenden

Frank, I found a reference to this in the ADF BC Developers Guide under: 11.4.3.2 Displaying Errors
i have defined the error as follows in the web.xml
<error-page>
    <exception-type>java.lang.Exception</exception-type>
    <location>/faces/ApplicationError.jsp</location>
    </error-page>and the additional entry under the ADF Faces Filter mapping as per the user guide:
<filter-mapping>
        <filter-name>adfFaces</filter-name>
        <servlet-name>Faces Servlet</servlet-name>
        <dispatcher>REQUEST</dispatcher>
        <dispatcher>ERROR</dispatcher>
    </filter-mapping>unfortunately the ADF BC Developer’s Guide For Forms/4GL Developers references <location>/faces/infrastructure/SRError.jspx</location> but this doesn't seem to be included in the BC or Toplink SRDemo applications.
I get the following instead of my error page:
Recursive error in error-page calling for /faces/ApplicationError.jsp, see the application log for details.
My application error page does run by itself without error.
(nothing in the OC4J log except for the error JBO causing the http 500 which i am forcing at the moment).
can you spot something I have missed?

Similar Messages

  • HTTP 500 Internal Server Error( I got this error,when I open my web page.)

    I'm using JDeveloper 10.1.3.
    I deploied my application at Target platform is Standalone OC4J 10g 10.1.3.
    I can open my application at my local host.
    I tried to do same way for company server.
    I can't open my application,
    I created my application adf face with BC.
    I put http://<hostName>:8888/customerMain/faces/showCustomerContacts.jspx
    I put "customerMain" as specify J2EE web Context Root.
    When I tried to run my application at server,that was returned simple message .
    HTTP 500 Internal Server Error
    Most likely causes:
    The website is under maintenance.
    The website has a programming error.
    What you can try:
    Refresh the page.
    Go back to the previous page.
    More information
    This error (HTTP 500 Internal Server Error) means that the website you are visiting had a server problem which prevented the webpage from displaying.
    For more information about HTTP errors, see Help.
    But I can work at localhost sucessfully.
    Please help me..

    Thanks for replying me.
    So I opened "ascontrol.text"
    Please check my log and help me.
    --------------------------------------------<ascontrol.text>----------------
    2006-12-18 09:40:23,968 [EMUI_09_40_18_/console/postLogon] ERROR em.console doGet.303 - com.evermind.server.http.HttpIOException: Write failed
    com.evermind.server.http.HttpIOException: Write failed
         at com.evermind.server.http.EvermindServletOutputStream.write(EvermindServletOutputStream.java:210)
         at com.evermind.server.http.EvermindJSPWriter.writeOut(EvermindJSPWriter.java:539)
         at com.evermind.server.http.EvermindJSPWriter.jspflush(EvermindJSPWriter.java:436)
         at com.evermind.server.http.EvermindJSPWriter.close(EvermindJSPWriter.java:406)
         at oracle.jsp.runtime.OracleJspRuntime.extraHandlePCFinally(OracleJspRuntime.java:1689)
         at postLogon.jspService(_postLogon.java:821)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:370)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:50)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at oracle.sysman.emSDK.svlt.PageHandler.render(PageHandler.java:796)
         at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:398)
         at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:765)
         at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:283)
         at oracle.sysman.ias.studio.app.StudioConsole.doGet(StudioConsole.java:297)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.sysman.ias.studio.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:75)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.sysman.ias.studio.app.MultipleJVMFilter.doFilter(MultipleJVMFilter.java:85)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.sysman.ias.studio.app.PostLogonFilter.doFilter(PostLogonFilter.java:80)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.sysman.ias.studio.app.ShortHostnameRedirectFilter.doFilter(ShortHostnameRedirectFilter.java:68)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:534)

  • HTTP 500 Internal Server Error When I tried to open my web page.

    I'm using JDeveloper 10.1.3.
    I deploied my application at Target platform is Standalone OC4J 10g 10.1.3.
    I can open my application at my local host.
    I tried to do same way for company server.
    I can't open my application,
    I created my application adf face with BC.
    I put http://<hostName>:8888/customerMain/faces/showCustomerContacts.jspx
    I put "customerMain" as specify J2EE web Context Root.
    When I tried to run my application at server,that was returned simple message .
    HTTP 500 Internal Server Error
    Most likely causes:
    The website is under maintenance.
    The website has a programming error.
    What you can try:
    Refresh the page.
    Go back to the previous page.
    More information
    This error (HTTP 500 Internal Server Error) means that the website you are visiting had a server problem which prevented the webpage from displaying.
    For more information about HTTP errors, see Help.
    But I can work at localhost sucessfully.
    Please help me..

    Please ,
    post this thread to JDeveloper forum.....
    Regards,
    Simon

  • BW Report iView throws Http 500 internal error

    Hi,
    I just created a BW Report iView in EP 6 for the BEx query 0CSAL_C03_Q009.
    This throws an HTTP 500 - Internal server error
    Internet Explorer.
    The BW System in the landscape is configured correctly and the connection tests pass as well.
    Can someone tell where the problem could have occurred?
    Thanks in advance.
    Best regards,
    Divya Rao

    Hi Raja,
    When I execute the query as stated by you i.e; query designer and then by clicking on the display query on the web(ctrlshiftw) button it takes me to aol's search engine
    Alternatively when I uncheck the show friendly http error messages and preview the iview it throws the following error
    The following error occurred:
    Could not connect because of networking problems. Contact your system administrator. (CANT_CONNECT)
    Please contact the administrator.
    I have checked all connection properties and the test connections - Connection Test for Connectors connects successfully as well.
    Where could the problem be? Is there any other way of excuting the query on IE?
    Thanks in advance.
    Best regards,
    Divya Rao

  • HTTP 500 Error while login.

    Hi Friends,
    I have fresh installed R121.1 on 2003 server. just after instalation i checked my application was working fine.
    then i shut down my application using adstapal.cmd and did one reboot.
    Post reboot i started my DB with it's listner after this as expected DB is working fine. and then started all the services with adstrtal.cmd
    Every services are started.
    When i was trying to login to application i an getting HTTP 500 Error Below is my steps and services status.
    D:\oracle\VIS\inst\apps\VIS_ora\admin\scripts>adstrtal.cmd apps/apps
    ECHO is off.
    ECHO is off.
    Thu 11/11/2010 10:21 PM
    ECHO is off.
    ECHO is off.
    Connected.
    The logfile for this session is located at D:\oracle\VIS\inst\apps\VIS_ora\logs\
    appl\admin\log\adstrtal.txt
    Executing service control script:
    D:\oracle\VIS\inst\apps\VIS_ora\admin\scripts\adopmnctl.cmd start
    script returned:
    Thu 11/11/2010 10:21 PM
    Starting Oracle Process Manager (OPMN) ...
    CALL D:\oracle\VIS\apps\tech_st\10.1.3\opmn\bin\opmnctl.exe start
    opmnctl: opmn started
            STATE              : 4  RUNNING
    exiting with status 0
    ERRORCODE = 0 ERRORCODE_END
    .end std out.
    .end err out.
    Executing service control script:
    D:\oracle\VIS\inst\apps\VIS_ora\admin\scripts\adalnctl.cmd start
    script returned:
    ECHO is off.
    ECHO is off.
    Thu 11/11/2010 10:23 PM
    ECHO is off.
    The environment settings are as follows ...
    ECHO is off.
           ORACLE_HOME : D:\oracle\VIS\apps\tech_st\10.1.2
                 LOCAL : VIS
            ORACLE_SID :
                  PATH : D:\oracle\VIS\apps\tech_st\10.1.2\bin;D:\oracle\VIS\apps\te
    ch_st\10.1.3\appsutil\jdk\bin;D:\oracle\VIS\apps\tech_st\10.1.3\appsutil\jdk\jre
    \bin;D:\oracle\VIS\apps\apps_st\appl\au\12.0.0\bin;D:\oracle\VIS\apps\apps_st\ap
    pl\fnd\12.0.0\bin;D:\oracle\VIS\apps\apps_st\appl\ad\12.0.0\bin;D:\oracle\VIS\ap
    ps\tech_st\10.1.3\appsutil\jdk\jre\bin;D:\oracle\VIS\apps\tech_st\10.1.3\perl\5.
    8.3\bin\MSWin32-x86-multi-thread\;D:\oracle\VIS\apps\apps_st\comn\util\unzip\unz
    ip;D:\oracle\VIS\apps\tech_st\10.1.3\appsutil\jdk\bin;D:\oracle\VIS\apps\tech_st
    \10.1.2\bin;D:\oracle\VIS\apps\tech_st\10.1.3\appsutil\jdk\bin;D:\oracle\VIS\app
    s\tech_st\10.1.3\appsutil\jdk\jre\bin;D:\oracle\VIS\apps\tech_st\10.1.3\bin;D:\o
    racle\VIS\apps\tech_st\10.1.3\appsutil\jdk\bin;D:\oracle\VIS\apps\tech_st\10.1.3
    \bin;D:\oracle\VIS\apps\apps_st\appl\cz\12.0.0\bin;D:\oracle\VIS\apps\apps_st\ap
    pl\iby\12.0.0\bin;D:\oracle\VIS\apps\apps_st\appl\pon\12.0.0\bin;D:\oracle\VIS\a
    pps\apps_st\appl\au\12.0.0\bin;D:\oracle\VIS\apps\tech_st\10.1.3\bin;D:\oracle\V
    IS\apps\apps_st\appl\cz\12.0.0\bin;D:\oracle\VIS\apps\apps_st\appl\iby\12.0.0\bi
    n;D:\oracle\VIS\apps\apps_st\appl\pon\12.0.0\bin;D:\oracle\VIS\apps\apps_st\appl
    \au\12.0.0\bin;D:\oracle\VIS\apps\tech_st\10.1.3\bin;D:\oracle\VIS\apps\tech_st\
    10.1.3\appsutil\jdk\bin;D:\oracle\VIS\apps\tech_st\10.1.2\bin;D:\oracle\VIS\apps
    \tech_st\10.1.3\appsutil\jdk\bin;D:\oracle\VIS\apps\tech_st\10.1.3\appsutil\jdk\
    jre\bin;D:\oracle\VIS\apps\tech_st\10.1.3\bin;D:\oracle\VIS\apps\tech_st\10.1.3\
    appsutil\jdk\bin;D:\oracle\VIS\apps\tech_st\10.1.3\bin;D:\oracle\VIS\apps\tech_s
    t\10.1.3\appsutil\jdk\bin;C:\Dot_Net_VC\Common7\IDE;C:\Dot_Net_VC\VC\BIN;C:\Dot_
    Net_VC\Common7\Tools;C:\Dot_Net_VC\Common7\Tools\bin;C:\Dot_Net_VC\VC\PlatformSD
    K\bin;C:\Dot_Net_VC\SDK\v2.0\bin;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;C
    :\Dot_Net_VC\VC\VCPackages;D:\oracle\VIS\apps\apps_st\appl\au\12.0.0\bin;D:\orac
    le\VIS\apps\apps_st\appl\fnd\12.0.0\bin;D:\oracle\VIS\apps\apps_st\appl\ad\12.0.
    0\bin;D:\oracle\VIS\apps\tech_st\10.1.3\appsutil\jdk\jre\bin;D:\oracle\VIS\apps\
    tech_st\10.1.3\perl\5.8.3\bin\MSWin32-x86-multi-thread\;D:\oracle\VIS\apps\apps_
    st\comn\util\unzip\unzip;D:\oracle\VIS\apps\tech_st\10.1.3\appsutil\jdk\bin;D:\o
    racle\VIS\apps\tech_st\10.1.2\bin;D:\oracle\VIS\apps\tech_st\10.1.3\appsutil\jdk
    \bin;D:\oracle\VIS\apps\tech_st\10.1.3\appsutil\jdk\jre\bin;C:\Dir\bin;C:\WINDOW
    S;C:\WINDOWS\system32;D:\oracle\VIS\apps\tech_st\10.1.3\ant\bin;D:\oracle\VIS\ap
    ps\tech_st\10.1.3\ant\bin
       LD_LIBRARY_PATH : D:\oracle\VIS\apps\tech_st\10.1.2\lib
    ECHO is off.
    The service "OracleVIS_ora_TOOLSTNSListenerAPPS_VIS" is already started
    adalnctl.cmd exiting with status 0
    .end std out.
    .end err out.
    Executing service control script:
    D:\oracle\VIS\inst\apps\VIS_ora\admin\scripts\adapcctl.cmd start
    script returned:
    Thu 11/11/2010 10:23 PM
    Oracle Managed Process HTTP_Server is already running
    exiting with status 2
    ERRORCODE = 2 ERRORCODE_END
    .end std out.
    .end err out.
    Executing service control script:
    D:\oracle\VIS\inst\apps\VIS_ora\admin\scripts\adoacorectl.cmd start
    script returned:
    Thu 11/11/2010 10:23 PM
    Oracle Managed Process oacore is already running
    exiting with status 2
    ERRORCODE = 2 ERRORCODE_END
    .end std out.
    .end err out.
    Executing service control script:
    D:\oracle\VIS\inst\apps\VIS_ora\admin\scripts\adformsctl.cmd start
    script returned:
    Thu 11/11/2010 10:23 PM
    Oracle Managed Process forms is already running
    exiting with status 2
    ERRORCODE = 2 ERRORCODE_END
    .end std out.
    .end err out.
    Executing service control script:
    D:\oracle\VIS\inst\apps\VIS_ora\admin\scripts\adoafmctl.cmd start
    script returned:
    Thu 11/11/2010 10:23 PM
    Oracle Managed Process oafm is already running
    exiting with status 2
    ERRORCODE = 2 ERRORCODE_END
    .end std out.
    .end err out.
    Executing service control script:
    D:\oracle\VIS\inst\apps\VIS_ora\admin\scripts\adcmctl.cmd start
    script returned:
    ECHO is off.
    ECHO is off.
    Thu 11/11/2010 10:23 PM
    ECHO is off.
    ECHO is off.
    Thu 11/11/2010 10:23 PM
    ECHO is off.
    ECHO is off.
    Setting environment for using Microsoft Visual Studio 2005 x86 tools.
    APPSORA.cmd exiting with status 0
    Starting concurrent manager for VIS ...
    The OracleConcMgrVIS_ora service is starting...
    The OracleConcMgrVIS_ora service was started successfully.
    adcmctl.cmd exiting with status 0
    .end std out.
    .end err out.
    Executing service control script:
    D:\oracle\VIS\inst\apps\VIS_ora\admin\scripts\jtffmctl.cmd start
    script returned:
    You are running jtffmctl.cmd
    Thu 11/11/2010
    10:23 PM
    "Starting Fulfillment Server for "VIS" on port "9300" ...\n"
    The Oracle Fulfillment Server VIS_ora service is starting.
    The Oracle Fulfillment Server VIS_ora service was started successfully.
    jtffmctl.cmd exiting with status 0
    ERRORCODE = 0  ERRORCODE_END
    .end std out.
    .end err out.
    All enabled services for this node are started.
    Check logfile D:\oracle\VIS\inst\apps\VIS_ora\logs\appl\admin\log\adstrtal.txt f
    or details
    adstrtal.cmd exiting with status 0
    ERRORCODE = 0 ERRORCODE_END
    D:\oracle\VIS\inst\apps\VIS_ora\admin\scripts>adapcctl.cmd status
    Thu 11/11/2010 10:28 PM
    Checking status of OPMN managed processes...
    Processes in Instance: VIS_ora.ora.apps.com
    ---------------------------------+--------------------+---------+---------
    ias-component                    | process-type       |     pid | status
    ---------------------------------+--------------------+---------+---------
    OC4JGroup:default_group          | OC4J:oafm          |    7980 | Alive
    OC4JGroup:default_group          | OC4J:forms         |    1936 | Alive
    OC4JGroup:default_group          | OC4J:oacore        |    7884 | Alive
    HTTP_Server                      | HTTP_Server        |    7828 | Alive
    ASG                              | ASG                |     N/A | Down
    exiting with status 0
    ERRORCODE = 0 ERRORCODE_END
    D:\oracle\VIS\inst\apps\VIS_ora\admin\scripts>At the botom i have given status of adapcctl.cmd as well
    Please Suggest
    Bachan.

    Hi,
    [Fri Nov 12 13:22:04 2010] [error] [client 192.168.100.1] [ecid: 1289596924:192.168.100.1:3020:2668:1,0] Directory index forbidden by rule: c:/oracle/vis/apps/apps_st/comn/java/classes/
    [Fri Nov 12 04:08:42 2010] [error] [client 192.168.100.1] [ecid: 1289563722:192.168.100.5:3528:3312:2,0] File does not exist: c:/oracle/vis/inst/apps/vis_ora/portal/favicon.icoThese errors can be ignored.
    And Data base is running perfectly fine.
    I can query, compile n can do any thing on DB.Have you check the log file for any ORA-XXXXX errors?
    i am able to login and after few min it went to same status HTTP 500 Internal server errorAre you still above to access the forms? Is the issue with HTTP server only?
    Thanks,
    Hussein

  • HTTP 500 Internel server error in Custom tag program on Weblogic 8.1

    Dear sir,
    Please attend my problem...
    I face the Error 500 Internel server error when I rum the custom tag program on weblogic 8.1.
    My program Structure is:
    Program>Home.jsp
    >WEB-INF>classes>mypack>MyTag.java, MyTag.class
    >tlds>taglib.tld
    >web.xml
    Home.jsp:
    <%@ taglib uri="/WEB-INF/tlds/taglib" prefix="Kumar" %>
    <Kumar:hello name="Vijay">
    It is a Tag Body<br>
    </neeraj:hello>
    taglib.tld:
    <taglib>
    <tlib-version>1.0</tlib-version>
    <jsp-version>1.2</jsp-version>
    <uri>/WEB-INF/tlds/taglib</uri>
    <tag>
    <name>hello</name>
    <tag-class>mypack.MyTag</tag-class>
    <attribute>
    <name>name</name>
    <required>true</required>
    </attribute>
    </tag>
    </taglib>
    MyTag.java:
    package mypack;
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    public class MyTag extends TagSupport
    String name;
    public void setName(String c)
    name=c;
    public int doStartTag()
    return EVAL_BODY_INCLUDE;
    public int doEndTag()
    try
    JspWriter out=pageContext.getOut();
    out.print("Good Night "+name);
    catch(Exception e)
    return EVAL_PAGE;
    web.xml:
    <web-app>
    <welcome-file-list>
    <welcome-file>/Home.jsp</welcome-file>
    </welcome-file-list>
    <taglib>
    <taglib-uri>/WEB-INF/tlds/taglib</taglib-uri>
    <taglib-location>/WEB-INF/tlds/taglib.tld</taglib-location>
    </taglib>
    </web-app>
    Allthough this program are run on NetBean6.1.In NetBean6.1, i am not specify the web.xml file.Please Help me..

    With an [HTTP status code|http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html] of 500, the most helpful information for debugging the problem is usually in the server's log file. There should be a stack trace in the web or application server's log file that will contain the specific root cause of this. It is often a NullPointerException or ClassNotFoundException or other "common" exception.

  • Managed bean/Data exchange between two ADF Rich Faces based applications

    Hi,
    I have been trying to research what seems to be a small issue. My requirements are as follows.
    1. I need to be able to pass managed bean information from one ADF Rich Faces based application to another (in two separate ears) at runtime (e.g. from Ear1: SenderApp/Sender.jspx -> Ear2: ReceiverApp/Receiver.jspx).
    2. I do not want to use the database as my applications need to be performant.
    3. Serialization/de-serialization would fall pretty much under the database category. In other words, I like to avoid Serialization/de-serialization of the managed bean.
    4. I cannot use query string due to security issues.
    My question is as follows:
    1. Is there any standard/architecture/best practices for data exchange of backing beans or other forms between two ADF Rich Faces based apps (in two separate ears)?
    2. Has someone found anything similar to an applicationScope that works across applications?
    I would appreciate any ideas.
    Thanks very much,
    Edited by: user11219846 on Jul 23, 2009 2:38 PM
    Edited by: user11219846 on Jul 23, 2009 2:42 PM

    Hi,
    its not an ADF Faces problem, but not possible in Java EE. You can however fallback to vendor specific implementations like in WLS. From the WebLogic documentation : http://e-docs.bea.com/wls/docs103/webapp/sessions.html
    Enabling Web applications to share the same session*
    By default, Web applications do not share the same session. If you would like Web applications to share the same session, you can configure the session descriptor at the application level in the weblogic-application.xml deployment descriptor. To enable Web applications to share the same session, set the sharing-enabled attribute in the session descriptor to true in the weblogic-application.xml deployment descriptor. See “sharing-enabled” in session-descriptor.
    The session descriptor configuration that you specify at the application level overrides any session descriptor configuration that you specify at the Web application level for all of the Web applications in the application. If you set the sharing-enabled attribute to true at the Web application level, it will be ignored.
    All Web applications in an application are automatically started using the same session instance if you specify the session descriptor in the weblogic-application.xml deployment descriptor and set the sharing-enabled attribute to true as in the following example:
    +<?xml version="1.0" encoding="ISO-8859-1"?>+
    +<weblogic-application xmlns="http://www.bea.com/ns/weblogic/90";;>+
    +...+
    <session-descriptor>     
    +<persistent-store-type>memory</persistent-store-type>+
    +<sharing-enabled>true</sharing-enabled>+
    +...+
    +</session-descriptor>+
    +...+
    +</weblogic-application>+
    Frank

  • HTTP 500 Internal Server Error for BPEL Console

    Hi,
    I am facing a issue like "HTTP 500 Internal Server Error" while trying to access BPEL Console. We have not deployed any BPEL Portlets.
    when we face this issue we have to bounce the server for the console to come up.
    we are using SOA 10g (10.1.3.3.17).
    Database 11g.
    Please suggest how to trouble shoot the problem.
    Regards
    Surya

    We have established the reason for the HTTP 500 error. This is due to the fact the the oc4j_soa container is down.
    Now we need to understand why the oc4j_soa container is going down. You mention is goes down the same time every day. To me this sounds like there is some sort of background script running that, either crashes the instance or shuts it down, e.g. backup.
    Are you able to tell me what activity is happening during the time of the crash?
    Otherwise I really need to see the logs. I forget exactly where they are in 10g.
    something like
    {OracleHome}/bpel/domains/xxx/log {OracleHome}/j2ee/bpel/log {OracleHome}/opmn/logs
    there will be a file there with oc4j_soa in the name.
    cheers
    James

  • HTTP 500 - internal server error ,Cannot access content in the CMC

    Hi Friends,
    I am facing an strange behaviour in CMC application :
    when accessing the CMC content like Servers,servergroups,Authentication,users&groups etc getting error HTTP 500 - internal server error.
    So please help on this why it is occuring and where i need to debug from to resolve this error.
    Thanks,
    Suresh

    Hi Tim,
    Thanks for the inputs , but I forgot one thing to mention in the previuos tag, that the error iam getting is intermittent and once I restart the webapp server (tomcat) then Iam not facing the issue.
    Workarround :
    1.Narrowing down to which tomact service is this  error
    2.Stop tomcat
    3.restart tomcat
    issue iam facing intermittently ,So please suggest how to debug the issue?
    Thanks for your Kind Help & support!!
    Regards,
    Suresh

  • Internet Explorer - "Show friendly HTTP error messages"

    I have configured a servlet within web.xml to handle exceptions, and my servlet is indeed triggered when an exception occurs.
    My users are all running Internet Explorer. By default the advanced setting "Show friendly HTTP error messages" is enabled, which causes them to see an ugly MSIE error page rather than my carefully crafted servlet.
    They could see the awful exception pages Tomcat was handling out previously, which is why I set about making this change in the first place.
    I believe that Tomcat was not adding an error code header to the exception page it was handing out on my behalf, but now that I've taken over exception handling the response contains a code 500 response. (My best guess, anyhow.)
    I was going to simply strip this code out of the response, but upon inspection of the HttpServletResponse object, there is no method for doing such a thing.
    Is anyone familiar with this issue? Can anyone recommend a solution?
    Meanwhile, I'm off to continue scouring the forums before I start Googling again. =)
    Thanks!!

    Well, those "friendly" errors have to be based on the response code for the page. So if you have your own error handling returning a page, then you could return a 200 response code with whatever error content you want.
    For all practical purposes, the response code isn't very useful to users or browsers except for a few special ones maybe. But just because it's an error page to your web app doesn't mean it's an error for the browser. Those error codes are really meant for the HTTP protocol.

  • HTTP 500 with Insert Record

    I have a small ASP form that's been working fine with MS
    Access database. I made some changes. Then I started getting HTTP
    500 Internal Server Error when I'd click the submit button. I've
    tried the following:
    Checked that all files are there and working, i.e. connection
    file, database file, ASP file, file for after submission.
    Checked and tested the ODBC record.
    Checked the driver on the server.
    Created a new connection file from scratch.
    Let Dreamweaver Insert Record Wizard create a new form from
    scratch.
    Intalled Dreamweaver on my server and tested DB connectivity,
    etc. from the server itself.
    Everything seems to work perfectly until you go to the live
    page and submit the form.
    Any help would be appreciated.

    alanray wrote:
    > I have a small ASP form that's been working fine with MS
    Access database. I
    > made some changes. Then I started getting HTTP 500
    Internal Server Error when
    > I'd click the submit button. I've tried the following:
    > Checked that all files are there and working, i.e.
    connection file, database
    > file, ASP file, file for after submission.
    > Checked and tested the ODBC record.
    > Checked the driver on the server.
    > Created a new connection file from scratch.
    > Let Dreamweaver Insert Record Wizard create a new form
    from scratch.
    > Intalled Dreamweaver on my server and tested DB
    connectivity, etc. from the
    > server itself.
    >
    > Everything seems to work perfectly until you go to the
    live page and submit
    > the form.
    >
    > Any help would be appreciated.
    You first need to provide a more detailed error message. In
    internet
    explorer advanced options turn off user friendly errors. Then
    run the
    page again and see what it says.
    Dooza
    Posting Guidelines
    http://www.adobe.com/support/forums/guidelines.html
    How To Ask Smart Questions
    http://www.catb.org/esr/faqs/smart-questions.html

  • What is oracle.adf.view.faces.CHECK_FILE_MODIFICATION message ?

    Can anyone say what causes the message? and how can i prevent this message from been generated ?
    2006-08-04 16:13:26.131 NOTIFICATION ADF Faces is running with time-stamp checking enabled. This should not be used in a production environment. See the oracle.adf.view.faces.CHECK_FILE_MODIFICATION property in WEB-INF/web.xml
    Thanks.

    Hi,
    It's message appear because the parameter oracle.adf.view.faces.CHECK_FILE_MODIFICATION is true, so it's only a warning message. To prevent this change this property to false on web.xml
    See the follow link to explain all options on web.xml related to ADF Faces.
    http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/doc/devguide/configuration.html
    ------- This is a explanation to its specific point-------
    oracle.adf.view.faces.CHECK_FILE_MODIFICATION
    If this pa rameter is enabled by setting to "true", ADF Faces will automatically check the modification date of your JSPs, and discard saved state when they change; this makes development easier, but adds overhead that should be avoided when your application is deployed.
    Bye

  • ADF Rich Faces 11g vs Adobe Flex

    Hi,
    Can anyone list out the ADF Rich Faces components available and compare ADF Rich Faces 11g and Adobe Flex?

    I can't comment on Adobe Flex, but to answer the first part of your question:
    a) Complete list of ADF Faces RC components: http://jdevadf.oracle.com/adf-richclient-demo/docs/enhanced-tagdoc.html
    b) A demo of ADF Faces RC components: http://jdevadf.oracle.com/adf-richclient-demo/faces/components/index.jspx
    One thing to remember about "ADF" (as separate to just ADF Faces RC) and it's support through the JDeveloper IDE is it is completely end-to-end, meaning you can develop right from the database, to the mid tier business code through to the JSF front end.
    CM.

  • ADF BC/ Faces - Logout exception

    Hi,
    I a have one project that does not exit the session properly using the method described in the ADF developers guide. This method is in a request scope managed bean which is called from a commandMenuItem.
    the exception is thrown on session.invalidate();
        public String logout_action() throws IOException{
             ExternalContext ectx = FacesContext.getCurrentInstance().getExternalContext();
             HttpServletResponse response = (HttpServletResponse)ectx.getResponse();
             HttpSession session = (HttpSession)ectx.getSession(false);
             try {
                 session.invalidate();   
             catch (Exception e) {
                   System.out.println("Warning: logout encountered and exception");         
            response.sendRedirect("Console.jsp");
            return null;
        }    this is the exception:
    06/11/21 10:57:40 [528] Reusing a cached session application module instance
    06/11/21 10:57:40 [529] Reusing a cached session application module instance
    06/11/21 10:57:41 [530] **** refreshControl() for BindingContainer :rft_ConsolePageDef
    06/11/21 10:57:41 [531] Resolving VO:TravelRequestsView1 for iterator binding:TravelRequestsView1Iterator
    06/11/21 10:57:41 [532] DCUtil, returning:oracle.adfinternal.view.faces.model.binding.FacesCtrlRangeBinding, for TravelRequestsView1
    06/11/21 10:57:41 [533] Resolving VO:PersonsView1 for iterator binding:PersonsView1Iterator
    06/11/21 10:57:41 [534] *** DCDataControl.sync() called from :DCBindingContainer.refresh
    06/11/21 10:57:41 [535] *** DCDataControl.sync() called from :DCBindingContainer.refresh
    06/11/21 10:57:41 [536] valiateToken:Decompressed BC state:BCST:=0TravelRequestsView1Iterator=-D-00010000000431313931,PersonsView1Iterator=-D-,
    06/11/21 10:57:41 [537] TravelRequestsView1 notify ROLLBACK ...
    06/11/21 10:57:41 [538] Clearing VO cache for TravelRequestsView1
    06/11/21 10:57:41 [539] Clear QueryCollection in cache for VO TravelRequestsView1
    06/11/21 10:57:41 [540] ApprovalPartiesView1 notify ROLLBACK ...
    06/11/21 10:57:41 [541] Clearing VO cache for ApprovalPartiesView1
    06/11/21 10:57:41 [542] Clear QueryCollection in cache for VO ApprovalPartiesView1
    06/11/21 10:57:41 [543] Clearing VO cache for TravelRequestsView1
    06/11/21 10:57:41 [544] Clear QueryCollection in cache for VO TravelRequestsView1
    06/11/21 10:57:41 [545] Clearing VO cache for ApprovalPartiesView1
    06/11/21 10:57:41 [546] Clear QueryCollection in cache for VO ApprovalPartiesView1
    06/11/21 10:57:41 [547] Clearing VO cache for AdvisoriesView1
    06/11/21 10:57:41 [548] Clear QueryCollection in cache for VO AdvisoriesView1
    06/11/21 10:57:41 [549] Clearing VO cache for TravelRequestLinesView1
    06/11/21 10:57:41 [550] Clear QueryCollection in cache for VO TravelRequestLinesView1
    06/11/21 10:57:41 [551] Clearing VO cache for ResponsesView1
    06/11/21 10:57:41 [552] Clear QueryCollection in cache for VO ResponsesView1
    06/11/21 10:57:41 [553] Clearing VO cache for PersonsView1
    06/11/21 10:57:41 [554] Clear QueryCollection in cache for VO PersonsView1
    06/11/21 10:57:41 [555] Clearing VO cache for AllStaffView1
    06/11/21 10:57:41 [556] Clear QueryCollection in cache for VO AllStaffView1
    06/11/21 10:57:41 [557] Clearing EO cache for ecu.app.travel.TravelRequests
    06/11/21 10:57:41 [558] Resetting AM=SystemService
    06/11/21 10:57:41 [559] ViewObject: PersonsView1 close prepared statements...
    06/11/21 10:57:41 [560] ViewObject: AllStaffView1 close prepared statements...
    06/11/21 10:57:41 [561] Resetting AM=TravelRequestService
    06/11/21 10:57:41 [562] ViewObject: TravelRequestsView1 close prepared statements...
    06/11/21 10:57:41 [563] ViewObject: ApprovalPartiesView1 close prepared statements...
    06/11/21 10:57:41 [564] ViewObject: AdvisoriesView1 close prepared statements...
    06/11/21 10:57:41 [565] ViewObject: TravelRequestLinesView1 close prepared statements...
    06/11/21 10:57:41 [566] ViewObject: ResponsesView1 close prepared statements...
    06/11/21 10:57:41 [567] SessionCookieImpl SSOUSER banstey
    06/11/21 10:57:41 [568] SessionCookieImpl SSOSUBSCRIBER null
    06/11/21 10:57:41 [569] SessionCookieImpl User Principal oracle.security.jazn.oc4j.JAZNUserAdaptor
    06/11/21 10:57:41 [570] Failed to create BindingContainer from reference :rft_ConsolePageDef
    06/11/21 10:57:41 [571] java.lang.NullPointerException
         at oracle.adf.share.http.HttpUtil.getAttribute(HttpUtil.java:98)
         at oracle.adf.share.http.HttpSessionScopeAdapter.get(HttpSessionScopeAdapter.java:240)
         at oracle.adf.share.statemanager.StateManagerScopeAdapter.<init>(StateManagerScopeAdapter.java:88)
         at oracle.adf.share.http.HttpStateManagerScopeAdapter.<init>(HttpStateManagerScopeAdapter.java:51)
         at oracle.adf.share.http.ServletADFContext.getStateManager(ServletADFContext.java:254)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.findOrCreateSessionCookie(DataControlFactoryImpl.java:158)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:222)
         at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:76)
         at oracle.adf.model.BindingContext.get(BindingContext.java:457)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248)
         at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383)
         at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:128)
         at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:60)
         at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:87)
         at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:51)
         at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:277)
         at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296)
         at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425)
         at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54)
         at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44)
         at oracle.adf.model.BindingContext.get(BindingContext.java:483)
         at oracle.adf.model.binding.DCBindingContainer.release(DCBindingContainer.java:1913)
         at oracle.adf.model.binding.DCDataControl.release(DCDataControl.java:1551)
         at oracle.adf.model.bc4j.DCJboDataControl.release(DCJboDataControl.java:468)
         at oracle.adf.model.binding.DCDataControl.release(DCDataControl.java:1482)
         at oracle.adf.model.BindingContext.release(BindingContext.java:270)
         at oracle.adf.model.servlet.HttpBindingContext.valueUnbound(HttpBindingContext.java:36)
         at com.evermind.server.http.EvermindHttpSession.destroy(EvermindHttpSession.java:454)
         at com.evermind.server.http.EvermindHttpSession.invalidate(EvermindHttpSession.java:396)
         at ecu.app.ui.managed.TravelSession.logout_action(TravelSession.java:21)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)
         at oracle.adf.view.faces.component.UIXCommand.broadcast(UIXCommand.java:211)
         at oracle.adf.view.faces.component.UIXCollection.broadcast(UIXCollection.java:95)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:269)
         at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:327)
         at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:79)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:231)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:200)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:122)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:106)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)if i look at the OC4J log in debug mode in another project that doesn't have this problem the logout stops after "close prepared statements..." for each of the View Objects. But for this application it seems to try to reload the pageDef after destroying everything... If i redirect to something other than Console.jsp the exception is still thrown on rft_ConsolePageDef
    Note, login page is displayed after this and i can re-login ok.
    any help would be appreciated.
    regards,
    Brenden

    One small bug was fixed in the 10.1.3.1 version of the SRDemo (both ADFBC and other version)...
    The SRLogout.java class now looks like this:
    public class SRLogout {
       * Logout by invalidating the session and redirecting to the home page
       * The container will ask user to re-authenticate automatically.
       * @return null
       * @throws IOException
      public String logoutButton_action() throws IOException{
        FacesContext ctx = FacesContext.getCurrentInstance();
        ExternalContext ectx = ctx.getExternalContext();
        HttpServletResponse response = (HttpServletResponse)ectx.getResponse();
        HttpSession session = (HttpSession)ectx.getSession(false);
        session.invalidate();
        response.sendRedirect("SRWelcome.jspx");
        // Tell faces that we're handling the navigation from here and that there
        // is no need for a new context to be created
        ctx.responseComplete();
        return null;
    }The one change was the addition of the ctx.responseComplete() call.
    Does adding that to your example improve the situation at all?

  • IPad 2 and application based on adf rich faces components

    Hi,
    Seems that the web application based on ADF Rich Faces components (jDeveloper 11.1.1.5.0) don’t operate properly under the latest iPad 2( iOs 4.3.2, wb Safari).
    To reproduce, we can try to open oracle demo site - http://jdevadf.oracle.com/adf-richclient-demo/faces/index.jspx. A lot of javaScript errors will appear and the page not open.
    The first script error is "Result of expression [[objectDOMWindowConstructor]] is not a constructor", we faced with it in relation to mac os..No matter which web browser and iDeveloper version is used. On the previous iPad (iOs 4.2) there was not this problem.
    what does it mean? and how can it be fixed?

    See Framework Javascript failing on Safari in iOS 4.3.3
    There is no 'official' fix for this since this is a webkit bug on the safari included in iOS 4.3. There is a workaround but it requires a backport patch. You can do it yourself though as I detailed in the link I gave you above.

Maybe you are looking for

  • SDO_FILTER and SDO_RELATE combined in the same query

    Is it possible to combine these two operations? I have a query that ideally should use SDO_RELATE for polygon data (some 25 million records). However it takes too long to run. For curiosity's sake I tried using SDO_FILTER and again this takes hours.

  • Can you have two iPods for one computer?

    I know nothing about iPods so please excuse me for this question that probably has an obvious answer. My sister has an iPod nano that she has been using with our computer for a long time. I just bought an iPod and was trying to set it up. So can I us

  • Problems syncing iPad photos and Aperture

    I think my iPod Photo database is corrupting for some reason as I keep getting intermittent problems syncing photos from Aperture across to my iPad. Running Lion 10.7 on a Mac Mini with Aperture 3.1.3 and each time I get the error if I delete the iPo

  • Motion with 24p

    If I were working in Final Cut 7, using 1080/24p footage that I'd shot with a Sony HXR-NX5U, how would I go about setting up Motion so that what I created would be compatible with my FCP sequence, which is at 23.98? It seems the Motion templates are

  • Create Sales Order with reference at item level to contract

    Within the sales order config you can specify that the system can copy a contract at the item level into the sales order if it finds a one to one match. Is there any exit functionality around this that would enable us to change the way in which it se