Reg:- Custom Error Message for 404 error in KM Document iView

Hi All,
We have a requirement to display a custom error page instead of the standard"404 - The requested resource is not available" displayed in KM document iView, when the resource in question doesn't exist.
Is it possible to display custom error message? If so, how can we achieve this functionality? What are the settings to be made?
Appreicate your help.
Thanks and Regards,
Pavithra

Hi Ravi,
Thank you for the reply.
But the scenario what I am talking about is different from the one mentioned in the link.
I am using a KM Document iView. In the iView parameter, Path to Document, I have given the path to a document which does not exist in KM.
For example, Path to Document - /documents/Test Folder/abc.html.
There is no document by the name abc.html in KM.
In this case, I get an error called "404 - The requested resource is not available." How can I get rid of this message and show a custom message instead?
Please note that, this message appears at the iView level (and not page level as mentioned in the link)
Appreciate your help.
Regards,
Pavithra

Similar Messages

  • How can I get localized Error messages for basic errors ?

    I'm running JDK 1.6
    and I wrote :
    Locale.setDefault(Locale.CANADA_FRENCH);
                    try
                    java.io.File f = new java.io.File("c:/temp/xxnonexistentx");
                    byte aa[] = new byte[2];
                    java.io.FileInputStream fis = new java.io.FileInputStream(f);
                    fis.read(aa);
                    fis.close();
                    catch (Exception e)
                        System.err.println(" Err " + e.getLocalizedMessage());
            }And I get
    Err c:\temp\xxx (The system cannot find the file specified)why do I always get the US English error message. This is really a basic error, why does it seem that there is no localized version in French ?
    I also tried with
            Locale.setDefault(Locale.GERMAN);But I always get English �ber Alles !
    WHY ?

    As a developper I prefer my error messages in my
    langage. .NET does it (if I want), I like it. Do you
    know that O'Reilly & Flanagan Java reference book
    (1500 pages) in French sells very well in France ?
    Not so much the English version.As I said, I sympathize to some extent. With this part, yes.
    End-users do see some error messages (this file not
    found is an example), you want, me and all other
    people, to translate this type of messages in how
    many languages, each separately, over and over ?If I'm an end-user I don't want to see Java error messages. Or if I must, I only want to see them in the context of "This error message occurred, please pass it on to the technical support people when you call them". So, given that, I don't care if the system only produces German messages. This part I don't sympathize with.

  • Custom Error Messages for Database Constraint Violations Problem

    Hi
    I have added a custom message bundle for the model project as explained in
    37.8.3 in the Fusion Developer's Guide - How to customize error messages for database constraint violations.
    http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/bcadvgen.htm#BABEFGCI
    Constraint Name : SYS_C0018574
    And I have following CustomErrorMessages class
    public class DBCustomErrorMessages extends ListResourceBundle {
        private static final Object[][] sMessageStrings =
            new String[][] { { "SYS_C0018574",
                               "Existing Record Found" } };
        protected Object[][] getContents() {
            return sMessageStrings;
    }This works fine when I run application model and adding records to vialate the constraint. So it gives me following message
    (oracle.jbo.DMLConstraintException) Existing Record FoundBut when run ui project it does not fire.
    Still it gives the message
    ORA-00001: unique constraint (CCBS2.SYS_C0018574) violatedCould you please shed some light?
    Edited by: deshan on Mar 15, 2011 11:28 AM

    Please see the image.
    http://4.bp.blogspot.com/-Fna66p-W5Jw/TX7uSQqqBtI/AAAAAAAAAH0/D1APg6oAIxI/s1600/1.JPG
    Error in Application Module ORA-00001: unique constraint (CCBS2.SYS_C0018574) violated exception is different from ui project.
    Any hint?
    Thanks
    deshan
    Edited by: deshan on Mar 15, 2011 10:16 AM

  • Pop up error messages for failed custom validation

    I am using jdev-10.1.3.4
    My application is in ADF BC
    I am writing custom validation through managed bean, I want pop-up error message for this failed validation.
    My problem scenario is:
    I had some list box as "status"-when this status changes to failed then the other field namely "closed date" should become madantory and also date in closed date field can't be in future.I am able to have all this validation through managed bean and also able to use af:messages through which i am able to print error message on the top of the form, but i am not able to give pop up error message for this failed validation.
    I had gone thru jdev guide but there is nothing like what i am asking.
    it would be of great help if someone can give me some example also.
    thanks in advance.

    ADF has global setting where you can configure the way messages are shown to user:
    You can make this setting in adf-faces-config.xml
    The <client-validation> element controls how client-side converters and validators are run.
    Three values are supported:
    "INLINE": validation is shown inline in a page (the default)
    "ALERT": validation is shown in an Javascript alert
    "DISABLED": validation is only handled on the server
    IN your case, set it to 'ALERT'.

  • Error Message for the cancellation of paid billing document

    Hi,
    Can i create and error message for the cancellation of paid billing document? If yes, how can i create such.
    Overview:
    Accounting document is created upon creation of billing document. Upon payment, document cleared is the accounting document created. There are instances wherein accounting document was already cleared but our user is still able to reversed billing document. Now, i want to create an error message or user exist wherein, when a user will not be able to reverse the billing document if the accounting document attached to this billing document is already paid.
    Thank you and best regards.
    Rachelle

    Hi Rachel,
    You can make use of the exit (Include) MV45AFZZ. The corresponding form routine is FORM USEREXIT_SAVE_DOCUMENT_PREPARE.
    In this exit, For the given billing document ( which is going to be cancelled ), pick up the accouting document from BSEG tables.
    For this accouting document, Pass this to BSAD Table ( Customer clleared items) 
    If BSEG-BELNR = BSAD-BELNR and
      BSEG-Acc.Year = BSAD-Acc,year )..
    Then throw a error message and EXIT.
    So for all the cleared docments , user can not cancel the invoices.
    Regards,
    Sai

  • [svn] 3722: Bug: BLZ-260 - Error message for a legacy =3. 0 client poll failing against a =3.1 server is unclear

    Revision: 3722
    Author: [email protected]
    Date: 2008-10-17 14:04:59 -0700 (Fri, 17 Oct 2008)
    Log Message:
    Bug: BLZ-260 - Error message for a legacy <=3.0 client poll failing against a >=3.1 server is unclear
    QA: Yes
    Doc: No
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-260
    Modified Paths:
    blazeds/trunk/modules/common/src/flex/messaging/errors.properties
    blazeds/trunk/modules/core/src/flex/messaging/FlexSession.java
    blazeds/trunk/modules/core/src/flex/messaging/client/FlexClient.java

    your problem:
    Missing class: oracle.tip.adapter.jms.JmsManagedConnectionFactory
    Dependent class: oracle.tip.adapter.fw.wsdl.WSDLUtils
    Loader: oracle.bpel.common:10.1.3
    Code-Source: /oraclesoa/oraclesoa/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel.jar
    Configuration: <code-source> in /oraclesoa/oraclesoa/product/10.1.3.1/OracleAS_1/j2ee/home/config/server.xml
    It happens when server is custom installed, try to reinstall it as full version and problem should disappear otherwise your need another full installation to retrieve and replace orabpel.jar file from (or maybe more)

  • Customised Error Message for ESS-MSS Applications

    Hello All,
    Currently, if there are any errors in the ESS/MSS transactions, we get the 503 error with lot of irrelevant data to the users. We have a basic html page which says, "There is a issue-Please contact XXXX".
    Is there a way to replace the standard error message with this html page ?
    PS: I am not talkign about the "Dispatcher Running" or "Application Stopped" messages, Please do not point me again to SAP Help website which doesn't answer my query. THIS IS ABOUT REPLACING THE STANDARD ERROR MESSAGES FOR ESS/MSS APPLICATIONS.
    Any help is much appreciated.
    We are on EP 7.01 SP3 (ESS 1.41)
    -Raj

    Hi Raj
    Let me clarify the difference between ESS and MSS errors and JAVA stack errors
    A "503 Service  not available" is not an ESS or MSS error - this is the thrown by the stack (possibly while navigating
    in ESS or MSS)
    The only information I have available in the case of java stack errors is to follow
    http://help.sap.com/saphelp_nw70/helpdata/en/9a/e74d426332bd30e10000000a155106/frameset.htm
    Whcih indicates how to customize stack errors  like 404 or 500
    Lastly you can also decide to hide the stack trace as per KBA 1596212
    To modify an ESS or MSS message this may require modification to front and back-end HCM application - usually
    ESS gets error information based on back-end errors example "fill in all required fields"
    Hope this helps

  • How to create a error message for Deleted batch while creating a PO

    Hi ,
    Can any body tell me how to create error message for a deleted batch while creating a PO in ME21n,
    when a PO is created for a deleted batch at GI &GR lebel it is showing  a error message,
    but i want to show a error message while doing the PO creation.
    Thanks,
    Sachhi

    in badi  me_process_po_cust u can  put this message
    METHOD if_ex_me_process_po_cust~check.

  • For weeks I have been viewing a doggy day care via their web cam.  This weekend I upgraded to Lion and have been unable to view the center since.  I get an error message for java webcam class not found.  All of my software is up to date--suggestions?

    For weeks I have been viewing a doggy day care center via their web cam.  This weekend I upgraded to Lion and have been unable to view the center.  I get an error message for Java plug-in 1.6.0_29 ....webcam class not found.  Any suggestions on how to fix this?

    Sorry, don't know what else to suggest unless there's a URL to the problem stream that someone here can try. Otherwise we can't test it to try and determine what might be wrong.
    BTW, make sure they're testing it with a Mac, not with a Windows system. If they test only with Windows, what they say is or is not working doesn't mean much.
    Regards.

  • How to prevent error message for material description in MDG material detail screen, when user click on check action

    Dear Experts,
    I have a requirement for making material description as non mandetory in change request view of mdg material screen.
    I have done that using field usage in get data method of feeder classes, but still message is displaying.
    This message 'Material description is mandatory is displaying with check action only, but not with save or submit after i anhance field property as not mandetory.
    How to prevent error message for material description in MDG material detail screen, when user click on check action.
    Thanks
    Sukumar

    Hello Sukumar
    In IMG activity "Configure Properties of Change Request Step", you can completely deactivate the reuse area checks (but will then loose all other checks of the backend business logic as well).
    You can also set the error severity of the checks from Error to Warning (per CR type, not per check).
    Or you provide a default value for the material description, e.g. by implementing the BAdI USMD_RULE_SERVICE.
    Regards, Ingo Bruß

  • Error Message: JBO-26080: Error while selecting entity for PoLines

    I'm using JDev 9.0.4.
    i make a VO from two EO at the BC4J level.
    then i create complete struts JSP Application for this VO.
    so i get a page that i can do New/Edit and Delete to each row.
    when i try to do Edit for some lines (not all of them) i get this error :
    Error Message: JBO-26080: Error while selecting entity for PoLines
    Error Message: ORA-01722: invalid number
    What does it mean ? how can i solve it ?
    Thank You

    Un-comment the following lines to display the stack trace
    oracle.jbo.DMLException: JBO-26080: Error while selecting entity for ElcPoLines
         at oracle.jbo.server.OracleSQLBuilderImpl.doEntitySelect(OracleSQLBuilderImpl.java:832)
         at oracle.jbo.server.EntityImpl.doSelect(EntityImpl.java:4665)
         at oracle.jbo.server.EntityImpl.populate(EntityImpl.java:3845)
         at oracle.jbo.server.EntityDefImpl.findFromDatabase(EntityDefImpl.java:888)
         at oracle.jbo.server.EntityDefImpl.findByPrimaryKey(EntityDefImpl.java:943)
         at oracle.jbo.server.QueryCollection.findByKey(QueryCollection.java:2524)
         at oracle.jbo.server.ViewRowSetImpl.findByKey(ViewRowSetImpl.java:2907)
         at oracle.jbo.server.ViewObjectImpl.findByKey(ViewObjectImpl.java:6019)
         at oracle.jbo.client.JboUtil.getRowFromKey(JboUtil.java:91)
         at oracle.jbo.html.BC4JContext.getRow(BC4JContext.java:307)
         at oracle.jbo.html.struts11.actions.EditAction.populateBC4JFormBean(EditAction.java:160)
         at oracle.jbo.html.struts11.actions.EditAction.edit(EditAction.java:59)
         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:324)
         at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
         at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:216)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:778)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.sql.SQLException: ORA-01722: invalid number
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:189)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:242)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:554)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1478)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:890)
         at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2407)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2660)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:457)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:387)
         at oracle.jbo.server.OracleSQLBuilderImpl.doEntitySelect(OracleSQLBuilderImpl.java:606)
         at oracle.jbo.server.EntityImpl.doSelect(EntityImpl.java:4665)
         at oracle.jbo.server.EntityImpl.populate(EntityImpl.java:3845)
         at oracle.jbo.server.EntityDefImpl.findFromDatabase(EntityDefImpl.java:888)
         at oracle.jbo.server.EntityDefImpl.findByPrimaryKey(EntityDefImpl.java:943)
         at oracle.jbo.server.QueryCollection.findByKey(QueryCollection.java:2524)
         at oracle.jbo.server.ViewRowSetImpl.findByKey(ViewRowSetImpl.java:2907)
         at oracle.jbo.server.ViewObjectImpl.findByKey(ViewObjectImpl.java:6019)
         at oracle.jbo.client.JboUtil.getRowFromKey(JboUtil.java:91)
         at oracle.jbo.html.BC4JContext.getRow(BC4JContext.java:307)
         at oracle.jbo.html.struts11.actions.EditAction.populateBC4JFormBean(EditAction.java:160)
         at oracle.jbo.html.struts11.actions.EditAction.edit(EditAction.java:59)
         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:324)
         at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
         at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:216)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:778)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)

  • How to give error message for the screen element text field when wrong i/p

    How to give error message for the screen element text field when wrong i/p
    when wrong input given
    eg. 
    I have a text box with SBOOK-CARRID
    so when user give wrong entry in text box i.e LG
    then I should give some error stating that the the input is invalid or not available ,
    now it showing the error of standard messages,
    i want manual message to be displayed when error comes.
    Thank you,
    Regards,
    Jagrut Bharatkumar Shukla

    Hi all,
    Thank you for your valuable reply,
    but the thing is that its a screen field,
    i.e text box not a selection screen
    i created in screen layout
    with name sbook-carrid
    now i want to get error message display if wrong i/p is given
    thank you.
    Regards,
    Jagrut bharatkumar Shukla,

  • Error message for full optimization

    Dear all,
      I received the following error message when i tried to run a full optimization. Does anyone know the following error message mean?
    "Error message:There is already an object named 'CONSTTBLFACTBUDGET_ALLOCATION' in the database.
    Could not create constraint."
      And where can i see the log for optimization?
    Thanks and regards,
    Lip Chean

    Hi,
    Please refer to the Note 1101768.
    This error can occur if there is more than one constraint with the same name located in the same SQL database.
    For example, if you backup the tblFactFinance table by exporting a copy of the table as tblFactFinanceBackup within the same SQL database and then later you rename the tblFactFinance in use as tblFactFinance_Old and the restore the tblFactFinanceBackup as tblFactFinance, the additional constraint of tblFactFinance_Old will cause this issue.
    To resolve, using the example above, delete the additional constraint by going to START->PROGRAMS->Microsoft SQL Server->SQL Query Analyzer ->Connect to the SQL Server at issue->Open the Object Browser->expand the SQL database at issue->User tables->dbo.tblFactFinance_old->Constraints->select the fxdbo.tblFactFinance constraint and delete it.
    After the constraint is deleted then the application can be saved without this error.
    Hope this helps.

  • Error Message For BISystemUser: User not authenticated

    We have migrated from DEV to PROD env.(11.1.1.1 -> 11.1.1.3). Along problems with bipublisher - there are some strange thingths: we successfully loging using weblogic account into AdminConsole и Enterprise Manager, but in Answers we get an error: invalid username or password.
    nqserver.log:
    ...[ERROR:1] [] [] ... [tid: 1090] Error Message For BISystemUser: User not authenticated.
    ...[ERROR:1] [] [] ... [tid: 1090] [nQSError: 43126] Authentication failed: invalid user/password.
    In oracle support we found such issue (Doc ID 1308389.1):
    OBIEE 11g Error: "Unable to Sign in. invalid username or password was entered" After Changing Repository, Deleting BISystem User, Adding it Back (Doc ID 1308389.1)
    Applies to: Business Intelligence Server Enterprise Edition - Version: 11.1.1.3.0 [1905] to 11.1.1.5.0 [1308] - Release: 11g to 11g
    Symptoms: In OBIEE 11.1.1.3.0 using default authenticator, it is not possible to log in to OBIEE after changing repository. To troubleshoot, BIsystemuser was removed from global roles and added back again.
    Getting error: Unable to Sign in. invalid username or password was entered
    Changes: Changed repository, deleted BISystemuser, added the user back
    Cause: Several changes e.g changing rpd, deleting bisystem user, adding the user back etc. occurred in the environment and caused log in to OBIEE to stop working
    Solution: After a lot of troubleshooting e.g re-starting system in the correct order, refreshing GUIDs, re-start OBIEE with default SampleAppLite.rpd and web catalog, the error persists. The system was uninstalled and re-installed to avoid further corruption and configuration problems in the new installation. This resolved the problem
    Does we have to 'reinstall or make a lot of troubleshooting e.g re-starting system ' to solve this error?
    It seem to be funny for PROD environment. How we cam resolve this problem?

    Are you saying you upgraded both dev and prod from 11.1.1.1 to 11.1.1.3 or that you migrated a dev 11.1.1.1 to a prod 11.1.1.3? What did you migrate?
    At a rough guess the BISystemUser password is different in dev and prod (created by system on install) and in your 'migration' you've moved the dev credential across to prod.
    If that's the case you need to change the bisystemuser password to something known and update the credential store password.
    Another possibility might just be that you need to regenerate the GUIDs:
    http://download.oracle.com/docs/cd/E21764_01/bi.1111/e10543/privileges.htm#BIESC721

  • Error message for Adobe AIR 2.0.3 while trying to run Dreamweaver CS5

    imac 2.66 Ghz, Intel Core i5, OS 10.6.4.
    Error message for Adobe AIR 2.0.3 while trying to run Dreamweaver CS5:
    Adobe Air
    the installation of this app is damaged. Try re-installing or contacting the publisher for assistance.
    Tried several times to uninstall and reinstall from fresh download to no avail.
    I'm finding the instructions in the trouble shooting area a tad esoteric.
    Will there be an update to the installer released soon?

    Hi,
    I'm assuming your having troubles installing the 2.0.3 runtime?  If so, can you please try the instructions in this post?
    Thanks,
    Chris

Maybe you are looking for

  • Patch compliance report for all machines in collection

    Good day to all, We are trying to create a report in SCCM 2012 that will show us all missing updates on all computers in collection. But we would like to display in this report only patches which are really targeted to the machines in collection. Let

  • ADD new fields in OIM to provisioned on OID

    Hello, I need a confirmation about these steps to add a new field to provisioned to OID. new field called slClient did i need to do all these steps ? 1- Resource Object OID User --> Object Reconciliation (tab), add Field: sl Client --> String Xellera

  • Converting from a spot color to a color for a RGB document?

    How can I take a spot color from the Pantone Swatches Library and convert it for use in a RGB document? Thanks.

  • How to make navigation header a dropdown

    I'm trying to make one of my main navigation headers (About Us) into a rollover drop down like the rest of my headers.  When I try to do so on my main navigation page it throws the rest of my headers off of the correct alighnment. Here is what I want

  • Don't allow sales order modification in CRM

    Hello Experts, I have enabled the Scenario A in CRM/R3 for a sales order type. When I create the order in CRM, it is transferred correctly to CRM, but once the order is delivered in the ERP I don't want the order in CRM to be modifiable anymore. Curr