How redirect httpd error response

I want the http-listener of OAS call my Java program when http-404-error happen
how can i set OAS-http-listener??

You can use either way to redirect to error.jsp. If you want to pass your Request, response from servelet to JSP, then better to go for RequestDispatcher.

Similar Messages

  • How to redirect to error.jsp, if servlet encounters error ??

    how do i redirect to error.jsp file , if there is some error in my servlet file.
    can i user response.sendRedirect() in catch clause or i should use RequestDispatcher in catch clause ??

    You can use either way to redirect to error.jsp. If you want to pass your Request, response from servelet to JSP, then better to go for RequestDispatcher.

  • How do I fix this error response?

    When I bought my new Macbook Pro, replacing my old Macbook Pro, I can't open alot of documents now that I used to be able to before and they're just .doc documents.  I get this error response:
    "You can't open the application Microsoft Word because PowerPC applications are no longer supported."

    You have Word 2004.  Update to Office 2011.
    In the meantime, open Text Edit in your Applications Folder and in Preferences, check RICH TEXT.
    Now you should be able to open your formatted .doc documents.

  • How to fix error message; Mozilla Firefox unresponsive, script is not working - continue or cancel?

    While playing games especially in Facebook with the Farms and very little on other games. The message pops up like not in script not in sync (with FB-Zynga) and it pauses everything until click an options. I use continue and it takes a few seconds to like reset itself (the letterhead will flash and then toolbar re-shows).
    This can happen one time or two to three times depending on how long it takes response time from ?? Firefox or Facebook. It occurs numerous times throughout the games (not on main page/profile etc.).
    All system performances have been updated and cleaned each day. This still occurs even after on 11-23-11 updating FF to 8.1 from 5 and up, updating Flash Player, updating our Cleaner, and at highest we can for Internet Exployer.
    This did not happen when using Google Chrome except it would give message to close. I can open more than one program or website at a time, but it strongly happens while playing games (#1 being Facebook). It does not interfear with AOL, MindJolt, Pogo Games etc., nor while searching other websites from any used program. What can be done? Is the your speed synchronizing with FB or our computer??

    Do a clean reinstall and download a fresh Firefox copy from http://www.mozilla.com/firefox/all.html and save the file to the desktop.<br />
    Uninstall your current Firefox version and remove the Firefox program folder before installing that copy of the Firefox installer.<br />
    Don't remove personal data when uninstalling.<br />
    It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.<br />
    <br />
    You can skip the step to create a new profile, that is not necessary for this issue.
    See http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall
    You may have a malware problem if you get unrelated pop-ups opening or are redirected to unrequested websites.
    If that is the case then do a malware check with a few different programs.
    Every program finds different malware, so you need to use more than one program to scan.
    Do a malware check with a few malware scan programs.<br />
    You need to use all programs because each detects different malware.<br />
    Make sure that you update each program to get the latest version of the database before doing a scan.
    * http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    * http://www.superantispyware.com/ - SuperAntispyware
    * http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    * http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    * http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    See also "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked and [[Searches are redirected to another site]]

  • How to create error  handeller page in Jdeveloper 11 (Version 11.1.1.1.0)

    Hi,
    I have created error.jsp page also added in web. XML but it is not catching exception
    error.jsp
    <body>
    <h2>Your application has generated an error</h2>
    <h3>Please check for the error given below</h3>
    <b>Exception:</b><br>
    <font color="red"><%= exception.toString() %></font>
    </body>
    Web.xml
    <error-page>
    <error-code>500</error-code>
    <location>/Error.jsp</location>
    </error-page>
    <error-page>
    <exception-type>java.lang.Throwable</exception-type>
    <location>/Error.jsp</location>
    </error-page>
    after login page i am getting these exception
    java.lang.NullPointerException
         at view.security.UserAccess.get(UserAccess.java:30)
         at javax.el.MapELResolver.getValue(MapELResolver.java:164)
         at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
         at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
         at com.sun.el.parser.AstValue.getValue(AstValue.java:118)
         Truncated. see log file for complete stacktrace
    >
    but it is not redirecting to error page
    also i am using adf.config.xml (task flow )for mapping pages so how to resolve these issue
    can anybody help me
    is there any another way to create error page
    Thanx in advance..!!!
    Amol

    Hi Frank ,
    Thanx for replying
    Where i have to define error is there any sample application that may helpful for me
    Also, I have created sample JSF page in thse
    ErrorDiaplay.jspx
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=windows-1252"
    isErrorPage="true"/>
    <f:view>
    <af:document id="d1">
    <af:form id="f1">
    <af:panelFormLayout id="pfl1">
    <f:facet name="footer"/>
    <jsp:scriptlet>
    out.println(exception);
    </jsp:scriptlet>
    </af:panelFormLayout>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    Let me know where i have to define...
    Regards,
    Amol

  • Best Practices Question: How to send error message to SSHR web page.

    Best Practices Question: How to send error message to SSHR web page from custom PL\SQL procedure called by SSHR workflow.
    For the Manager Self-Service application we’ve copied various workflows which were modified to meet business needs. Part of this exercise was creating custom PL\SQL Package Procedures that would gather details on the WF using them on custom notification sent by the WF.
    What I’m looking for is if/when the PL\SQL procedure errors, how does one send an failure message back and display it on the SS Page?
    Writing information into a log or table at the database level works for trouble-shooting, but we’re looking for something that will provide the end-user with an intelligent message that the workflow has failed.
    Thanks ahead of time for your responses.
    Rich

    We have implemented the same kind of requirement long back.
    We have defined our PL/SQL procedures with two OUT parameters
    1) Result Type (S:Success, E:Error)
    2) Result Message
    In the PL/SQL procedure we always use below construct when we want to raise any message
    hr_utility.set_message(APPL_NO, 'FND_MESSAGE_NAME');
    hr_utility.raise_error;
    In Exception block we write below( in successful case we just set the p_result_flag := 'S';)
    EXCEPTION
    WHEN APP_EXCEPTION.APPLICATION_EXCEPTION THEN
    p_result_flag := 'E';
    p_result_message := hr_utility.get_message;
    WHEN OTHERS THEN
    p_result_flag := 'E';
    p_result_message := hr_utility.get_message;
    fnd_message.set_name('PER','FFU10_GENERAL_ORACLE_ERROR');
    fnd_message.set_token('2',substr(sqlerrm,1,200));
    fnd_msg_pub.add;
    p_result_message := fnd_msg_pub.get_detail;
    After executing the PL/SQL in java
    We have written some thing similar to
    orclStmt.execute();
    OAExceptionUtils.checkErrors (txn);
    String resultFlag = orclStmt.getString(provide the resultflag bind no);
    if ("E".equalsIgnoreCase(resultFlag)){
    String resultMessage = orclStmt.getString(provide the resultMessage bind no);
    orclStmt.close();
    throw new OAException(resultMessage, OAException.ERROR);
    It safely shows the message to the user with all the data in the page.
    We have been using this construct for a long time for all our projects. They are all working as expected.
    Regards,
    Peddi.

  • How to reset the response status and response header

    Dear Masters
    Actually we are using NTLM Authentication process to get the system login id for our web application. The problem which I am getting is after running the NTLM Authentication Code I am not able to call the action class. It is telling 400 Server error bad request. I am using Struts Dispatch Action Class. In Dispatch Action I will be passing a name (eg. method) as a parameter in struts-config.xml file and using that parameter I will be calling the respective method in the Action class. The problem which I am facing is after running the authentication code I am not able to fire the action class. It is telling the error in the console as "parameter named method is not found". Actually in NTLM Authentication code they are setiing the response status to www-authenticate,NTLM. If I reset the response status back to the normal form I think i will be able to fire the action class. Please give me a suggestion on how to reset the response status and response header back to the normal form. Any solution to this is appreciated. Please respond your reply as soon as possible. Thanks in advance.
    Regards
    Ramesh

    Hi,
    I think, a servlet filter is what you need. Please check the following URLs on how to go about creating a filter.
    http://dev2dev.bea.com/pub/a/2005/05/decorators.html
    http://www.onjava.com/pub/a/onjava/2003/11/19/filters.html
    http://www.onjava.com/pub/a/onjava/2004/03/03/filters.html?page=1
    Cheers,
    vidyut

  • PO 7.4: NW BPM: HTTP Error response for SOAP request or invalid content-type.HTTP 200 OK

    Hi Experts
    I am trying to call NW BPM scenario(File to BPM) from PI, and using below adapter config.
    I am getting below error.
    Failed to call the endpoint: Error in call over HTTP: HTTP 200 OK
    SOAP: Call failed: java.io.IOException: HTTP Error response for SOAP request or invalid content-type.; HTTP 200 OK
    SOAP: Error occurred: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: HTTP Error response for SOAP request or invalid content-type.; HTTP 200 OK
    MP: exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: HTTP Error response for SOAP request or invalid content-type.; HTTP 200 OK
    Transmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: HTTP Error response for SOAP request or invalid content-type.; HTTP 200 OK
    Any idea how to fix this issue?
    Thanks,
    Sandeep Maurya.

    Hi Sandeep,
    Test the URL from your browser and check the proxy settings as well.
    Refer the below links
    SOAP: call failed: java.io.IOException: invalid content type for SOAP: TEXT
    SOAP: Call failed: java.io.IOException: Failed to get the input stream from socket: java.net.SocketException: Connection…
    Regards
    Bhargava Krishna

  • Urgent: "Unsolicited error response for: '-1'"

              Can any one help me on this? I am getting this message on the weblogic server in
              a clustered environment, installed on HP-UX machines. The exact error message
              reads like
              ####<Jan 2, 2003 2:05:59 PM EST> <Error> <RJVM> <app3> <app3> <ExecuteThread:
              '14' for queue: 'default'> <> <> <000000> <Unsolicited error response for: '-1'>
              The weblogic server log file (on one of the clustered machine) gets filled up
              with a series of the above messages. No other activity happens on the server once
              this message starts displaying. The weblogic server simply seems to stop functioning.
              It finally shuts down after some time.
              This is also propogated to other machines in the cluster.
              The weblogic server version is 6.1 with service pack sp2 installed.
              We tried rebooting all the clustered servers. The application works fine for an
              hour or so and all of a sudden, we see this message being displayed continuously
              in the log file.
              Can some one help ? I 'd really appreciate some ideas on how to resolve this problem.
              Thanks
              Chandra
              

              Hi,
              I believe that you have enountered a known issue with WebLogic Server 6.1. I
              would open a case with BEA Support and ask them about known issues and fixes/workarounds.
              pat
              "Chandra" <[email protected]> wrote:
              >
              >Can any one help me on this? I am getting this message on the weblogic
              >server in
              >a clustered environment, installed on HP-UX machines. The exact error
              >message
              >reads like
              >
              >####<Jan 2, 2003 2:05:59 PM EST> <Error> <RJVM> <app3> <app3> <ExecuteThread:
              >'14' for queue: 'default'> <> <> <000000> <Unsolicited error response
              >for: '-1'>
              >
              >
              >
              >The weblogic server log file (on one of the clustered machine) gets filled
              >up
              >with a series of the above messages. No other activity happens on the
              >server once
              >this message starts displaying. The weblogic server simply seems to stop
              >functioning.
              >It finally shuts down after some time.
              >This is also propogated to other machines in the cluster.
              >The weblogic server version is 6.1 with service pack sp2 installed.
              >
              >We tried rebooting all the clustered servers. The application works fine
              >for an
              >hour or so and all of a sudden, we see this message being displayed continuously
              >in the log file.
              >
              >Can some one help ? I 'd really appreciate some ideas on how to resolve
              >this problem.
              >
              >Thanks
              >Chandra
              >
              >
              

  • [jwsc] error: Response wrapper bean names must be unique ?

    I am trying to use wsdlc and jwsc on my existing WSDL file, with "type=JAXWS", I am getting this error
    "[jwsc] error: Response wrapper bean names must be unique and must not clash with other generated classes"
    What does it mean? And how can I resolve this?
    Here is the full stack trace:
    build-service:
    [jwsc] JWS: processing module /com/covergence/ws/callouts/CallOutsServiceImpl
    [jwsc] Parsing source files
    [jwsc] Parsing source files
    [jwsc] 1 JWS files being processed for module /com/covergence/ws/callouts/CallOutsServiceImpl
    [jwsc] JWS: C:\source_tree\b3.3\ss\java\ws\sdk\build\weblogic\src\com\covergence\ws\callouts\CallOutsServiceImpl.java Validated.
    [jwsc] Processing 1 JAX-WS web services...
    [jwsc] error: Response wrapper bean names must be unique and must not clash with other generated classes. Class: com.covergence.ws.callouts.CallOutsPortType method getConfig(javax.xml.ws.Holder<java.util.List<com.covergence.ws.callouts.ConfigClassesType>>)
    [jwsc] Problem encountered during annotation processing;
    [jwsc] see stacktrace below for more information.
    [jwsc] [failed to localize] modeler.nestedGeneratorError(java.lang.IllegalArgumentException: trying to create the same field twice: config)
    [jwsc] at com.sun.tools.ws.processor.modeler.annotation.WebServiceWrapperGenerator.generateWrappers(WebServiceWrapperGenerator.java:302)
    [jwsc] at com.sun.tools.ws.processor.modeler.annotation.WebServiceWrapperGenerator.processMethod(WebServiceWrapperGenerator.java:154)
    [jwsc] at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.visitMethodDeclaration(WebServiceVisitor.java:449)
    [jwsc] at com.sun.tools.apt.mirror.declaration.MethodDeclarationImpl.accept(MethodDeclarationImpl.java:41)
    [jwsc] at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.processMethods(WebServiceVisitor.java:374)
    [jwsc] at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.postProcessWebService(WebServiceVisitor.java:338)
    [jwsc] at com.sun.tools.ws.processor.modeler.annotation.WebServiceWrapperGenerator.postProcessWebService(WebServiceWrapperGenerator.java:125)
    [jwsc] at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.visitInterfaceDeclaration(WebServiceVisitor.java:120)
    [jwsc] at com.sun.tools.apt.mirror.declaration.InterfaceDeclarationImpl.accept(InterfaceDeclarationImpl.java:32)
    [jwsc] at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.inspectEndpointInterface(WebServiceVisitor.java:420)
    [jwsc] at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.visitClassDeclaration(WebServiceVisitor.java:141)
    [jwsc] at com.sun.tools.apt.mirror.declaration.ClassDeclarationImpl.accept(ClassDeclarationImpl.java:95)
    [jwsc] at com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.buildModel(WebServiceAP.java:300)
    [jwsc] at com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.process(WebServiceAP.java:224)
    [jwsc] at com.sun.mirror.apt.AnnotationProcessors$CompositeAnnotationProcessor.process(AnnotationProcessors.java:60)
    [jwsc] at com.sun.tools.apt.comp.Apt.main(Apt.java:454)
    [jwsc] at com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java:448)
    [jwsc] at com.sun.tools.apt.main.Main.compile(Main.java:1075)
    [jwsc] at com.sun.tools.apt.main.Main.compile(Main.java:938)
    [jwsc] at com.sun.tools.apt.Main.processing(Main.java:95)
    [jwsc] at com.sun.tools.apt.Main.process(Main.java:43)
    [jwsc] at com.sun.tools.apt.Main.main(Main.java:34)
    [jwsc] Caused by: java.lang.IllegalArgumentException: trying to create thesame field twice: config
    [jwsc] at com.sun.codemodel.JDefinedClass.field(JDefinedClass.java:392)
    [jwsc] at com.sun.codemodel.JDefinedClass.field(JDefinedClass.java:363)
    [jwsc] at com.sun.tools.ws.processor.modeler.annotation.WebServiceWrapperGenerator.writeMembers(WebServiceWrapperGenerator.java:419)
    [jwsc] at com.sun.tools.ws.processor.modeler.annotation.WebServiceWrapperGenerator.generateWrappers(WebServiceWrapperGenerator.java:299)

    I am starting from WSDL and below are the corresponding elements from WSDL
        <message name="getConfig">
            <part name="parameters" element="tns:getConfig"/>
        </message>
        <message name="getConfigResponse">
            <part name="result" element="tns:getConfigResponse"/>
        </message>
        <portType name="CallOutsPortType">
            <operation name="getConfig">
                <input message="tns:getConfig">
                </input>
                <output message="tns:getConfigResponse">
                </output>
                <fault name="callOutFault" message="tns:callOutFault"/>
            </operation>
        <binding name="CallOutsBinding" type="tns:CallOutsPortType">
            <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
            <operation name="getConfig">
                <soap:operation soapAction="getConfig"/>
                <input>
                    <soap:body use="literal"/>
                </input>
                <output>
                    <soap:body use="literal"/>
                </output>
                <fault name="callOutFault">
                    <soap:fault name="callOutFault" use="literal"/>
                </fault>
            </operation>

  • Redirect to Error Page Example ?

    Hi,
    Anybody, have an error page working example of how to redirect to error page in 10.1.3, i tried it many ways , followed the ADF Dev Guide PDF page 395 and 396 and no luck.
    where i should write the <error-page> and <dispatcher>REQUEST</dispatcher>
    and <dispatcher>ERROR</dispatcher>
    tags in web.xml
    any tricks in that ???
    thanks in advance

    Hi Frank,
    thanks for replying , unfortunately it did not work , it give me
    "The page cannot be displayed" , it seems that the Exception have been caught but it can't display the error page
    here is my web.xml
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee">
    <description>Empty web.xml file for Web Application</description>
    <context-param>
    <description>Makes Security View Handler printing debug messages at runtime</description>
    <param-name>com.groundside.jsf.security.print_debug_messages</param-name>
    <param-value>true</param-value>
    </context-param>
    <context-param>
    <description>Customize error message shown upon unauthorized access attempt</description>
    <param-name>com.groundside.jsf.security.unauthorized_access_error_messages</param-name>
    <param-value>User is not authorized to perform requested action</param-value>
    </context-param>
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>client</param-value>
    </context-param>
    <context-param>
    <param-name>CpxFileName</param-name>
    <param-value>view.DataBindings</param-value>
    </context-param>
    <filter>
    <filter-name>adfBindings</filter-name>
    <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
    </filter>
    <filter>
    <filter-name>adfFaces</filter-name>
    <filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <url-pattern>*.jsp</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <url-pattern>*.jspx</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfFaces</filter-name>
    <url-pattern>*.jsp</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfFaces</filter-name>
    <url-pattern>*.jspx</url-pattern>
    </filter-mapping>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>resources</servlet-name>
    <servlet-class>oracle.adf.view.faces.webapp.ResourceServlet</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>JsfAuthenticationServlet</servlet-name>
    <servlet-class>com.groundside.jsf.pagesecurity.authentication.J2eeAuthenticationServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>resources</servlet-name>
    <url-pattern>/adf/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>JsfAuthenticationServlet</servlet-name>
    <url-pattern>/jsfauthentication</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>35</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    <error-page>
    <exception-type>java.lang.Exception</exception-type>
    <location>errorpage.jsp</location>
    </error-page>
    </web-app>
    here is how i make the exception
    public void commandButton1_action() throws Exception {
    throw new java.lang.Exception();
    here is the code of the page that have the button that throws the exception
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"
    import="java.lang.Exception"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>
    <f:view>
    <afh:html binding="#{backing_untitled3.html1}" id="html1">
    <afh:head title="untitled3" binding="#{backing_untitled3.head1}" id="head1">
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    </afh:head>
    <afh:body binding="#{backing_untitled3.body1}" id="body1">
    <h:form binding="#{backing_untitled3.form1}" id="form1">
    <af:commandButton text="commandButton 1"
    binding="#{backing_untitled3.commandButton1}"
    id="commandButton1"
    action="#{backing_untitled3.commandButton1_action}"/>
    </h:form>
    </afh:body>
    </afh:html>
    </f:view>
    <%-- oracle-jdev-comment:auto-binding-backing-bean-name:backing_untitled3--%>
    here is the errorpage.jsp
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>
    <f:view >
    <html>
    <head>
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    <title>untitled4</title>
    </head>
    <body>eeeeeror</body>
    </html>
    </f:view>
    <%-- oracle-jdev-comment:auto-binding-backing-bean-name:backing_untitled4--%>
    by the way , in the error page if i change the f:view to f:subview , the page itself will not run
    thanks very much for your time.
    Message was edited by:
    bassem.farouk

  • Capture error response from http receiver

    Hi All !
    I am using an asynchronous scenario File (sender) -> XI -> HTTP (receiver).
    Please, tell me, how can I capture error response from HTTP receiver and write it in a log-file?
    You can see response here [http://pic.ipicture.ru/uploads/090728/1TcDsx3777.jpg]
    Regards,
    Andrey

    Hi,
    You can make use of onewayresponsebean in sender file adapter.
    Regards
    suraj

  • Pls help I have Bapi error response scenario

    Hi  Experts,
         I am working ona scenario.
    Sender will drop the required file on XI directory and XI will pull the file and map it with the BAPI u2013 and crate time entries in SAP HR. If errors are encountered during the process they are returned to the client in a report or as erroneous file.
    1) sender will FTP the file to XI directory
    2) XI will send the file after validation with BAPI for time entry creation in SAP R/3.
    3) If there is an error encountered XI will get an error response from BAPI
    *4) The erroneous file is sent to XI directory for client to view*
    I have to write this error files on the Xi directory.
    *How will I capure the error response from BAPI. as we are interested only for failure messages and not the sucessful messages. How we filter the mesages in XI, we want to capyure only failed messages.*
    Please help me out wz this.
    Thanks

    Hello,
    Your situation it is quite common task so refer to this step-by-step wiki:
    File-RFC-File(Without BPM)
    http://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File(Without+BPM)
    What concerns that you want receive only response with error this is also not problem. In all BAPI function you can find response code which differ for successful and unsuccessful processing. So only you need to do it is filter data in you scenario with ERROR response code, you can do this in condition section of receiver determination.
    And if you want you can adjust two response streams in XI, one for successfull processing and another one for error (also with filtering).
    BR,
    Dzmitry

  • How Resolve Sip  401 response code ?

    hi all m trying to register with sip server but getting 401 unauthorised as response code..
    how to solve this issue so that 200 OK should be received ..please help
    how to send Digest Authentication ??
    how to fix error: unable to retrieve credentials from RMS!
    mail id [email protected]
    Edited by: rahulsapra on Aug 17, 2010 9:33 AM

    As the error indicates, the username/PWD you are using in file adapter to write the file (FTP) at target location is incorrect and hence the error. Please check and let us know.
    3) Error: HTTP_RESP_STATUS_CODE_NOT_OK 401 Unauthorized
    Description: The request requires user authentication
    Possible Tips:
    u2022 Check XIAPPLUSER is having this Role -SAP_XI_APPL_SERV_USER
    u2022 If the error is in Adapter Engine
    u2013then have a look into SAP note- 821026, Delete the Adapter Engine cache in transaction SXI_CACHE Goto --> Cache.
    u2022 May be wrong password for user XIISUSER
    u2022 May be wrong password for user XIAFUSER
    u2013 for this Check the Exchange Profile and transaction SU01, try to reset the password -Restart the J2EE Engine to activate changes in the Exchange Profile After doing this, you can restart the message
    Also, for HTTP errors in future do refer this blog:
    /people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi
    It will help you

  • How to fix 'error 501' in caldav

    how to fix 'error 501' in caldav

    Me too.  To be precise,
    The server responded with an error. 
    The request for account "[my POP account]" failed.
    the server responded with "501" to operation
    CalDavRefreshDelegateListQueueableOperation.
    Possible responses are: Stay Offline or Go Online.
    Neither option prevents the problem - the calendar keeps reminding me that it can't do something, until I quit the calendar.
    Mail keeps going in and out, so the POP account appears to function.

Maybe you are looking for