Customise Error Message on Portlet Header
Default portlet error message displays "Error" or blank page on a page portlet when application is not available or timeout. Changing the error message in portlet provider (page portlet) does not correct the problem. Extend the timeout setting in web.xml cannot correct the priority. Please help.
Same here just a screen while trying to click on a link from a bar chart. Just says "Error Message".
Luke
Similar Messages
-
Customising Error Messages in JHeadstart
Hi All,
I would like to customise some ADF JSF error message. I've got the error - JBO-25013: Too many objects match the primary key oracle.jbo.Key[ASGARD CBD ]. but would like to replace it with "Row already exists with same Cmp Id,Cmp Tran Type".
I've followed the steps outlined in http://download-west.oracle.com/docs/html/B25947_01/bcadvgen008.htm#sm0462 and after recompilation and reganeration, the old error message still appears. Can you guys please help me with it? Thank you and have a nice day.
Kind Regards,
JohnHi,
Thank you for your reply but I'm a bit confused here.
First, when you say 'open your JHS-Application definition generator' do you actually mean JHS Application Definition Editor (JADE)?
Under the service node? I cannot see any 'service node' anywhere inside JADE. But I can see 'NLS Resource Bundle *' with the value of 'PAM0840_From_Designer.view.ApplicationResources'.
Go to the above path? What above path do you mean?
Uncheck OVERRIDE NLS entries? Do you mean uncheck the 'Override NLS Resource Bundle Entries?*' inside JADE under the 'Internationalization' section?
Thank you for your advice.
Kind Regards,
John -
Error message for portlet undeploy
Hi,
I use Sun Java System Portal Server 6 2005Q4 for windows 2000 server , use the following command to undeploy portlet.
C:\Sun\PortalServer\bin> pdeploy undeploy -u amAdmin -w ampasswd -g -p amAdmin C:\Sun\PortalServer\tmp\portlet\portletsamples.war
I got the following error message =>
Exception getting xml as stream: java.io.FileNotFoundException: C:\Sun\PortalServer\tmp\portlet\C:\Sun\PortalServer\tmp\portlet\portletsamples.war_portlet.xml
(The filename, directory name, or volume label syntax is incorrect)
Can someone help me ?
Thanks!mwzhang :
Thanks!
The undeploy is working for me now, but I got warning message
when I deploy the portlet.
I use pdeploy deploy command to deploy the portlet, but I got the following error message.
C:\Sun\PortalServer\bin>pdeploy deploy -u amadmin -w admpasswd -g -p admpasswd -v portletsamples.war
[DEBUG] Getting Jar File from war...
[DEBUG] Getting Portlet DD as Stream...
[DEBUG] Creating DPProviders...
user attributes existed
userAttrDescMap={en-US=Preferred TimeZone}
userAttrDescMap={en-US=Preferred Locale}
user attributes existed
userAttrDescMap={en-US=Preferred TimeZone}
userAttrDescMap={en-US=Preferred Locale}
user attributes existed
userAttrDescMap={en-US=Preferred TimeZone}
userAttrDescMap={en-US=Preferred Locale}
user attributes existed
userAttrDescMap={en-US=Preferred TimeZone}
userAttrDescMap={en-US=Preferred Locale}
[DEBUG] Updating the Portlet Application...
[DEBUG] Adding Providers to DP...
[DEBUG] Adding provider: provider=__Portlet__portletsamples.JSPPortlet
[DEBUG] Creating DPProvider...
[DEBUG] Checking for duplicate name: name=__Portlet__portletsamples.JSPPortlet
WARNING: Duplicate name found for Provider __Portlet__portletsamples.JSPPortlet.
Skipping the update.
[DEBUG] Adding provider: provider=__Portlet__portletsamples.NotepadPortlet
[DEBUG] Creating DPProvider...
[DEBUG] Checking for duplicate name: name=__Portlet__portletsamples.NotepadPortl
et
WARNING: Duplicate name found for Provider __Portlet__portletsamples.NotepadPort
let. Skipping the update.
[DEBUG] Adding provider: provider=__Portlet__portletsamples.BookmarkPortlet
[DEBUG] Creating DPProvider...
[DEBUG] Checking for duplicate name: name=__Portlet__portletsamples.BookmarkPort
let
WARNING: Duplicate name found for Provider __Portlet__portletsamples.BookmarkPor
tlet. Skipping the update.
[DEBUG] Adding provider: provider=__Portlet__portletsamples.WeatherPortlet
[DEBUG] Creating DPProvider...
[DEBUG] Checking for duplicate name: name=__Portlet__portletsamples.WeatherPortl
et
WARNING: Duplicate name found for Provider __Portlet__portletsamples.WeatherPort
let. Skipping the update.
[DEBUG] Validating modified DP doc...
[DEBUG] Storing the DP...
Done Updating Display Profile!
Deploying to IWS
What I need to check for duplication ?
Can you help me ?
Thanks! -
Hi,
is there anyway to customise the error messages rendered through <h:output_errors .../> tag, without creating a custom validator or converter ?
thanks in advance
chanakianCurrently, you may have to write a custom validator. But this has been fixed already. So you don't have to do that in future.
-Jayashri -
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)
-RajHi 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 -
Captivate 6 - SWF Compilation Failed Error Message Rears Ugly Head
Hi all!
I'm attempting to publish a project using Captivate 6 (with Flash Setting 10 or 11). I am publishing to my desktop, Windows 7 OS, and the message further states the thing about ActionScript and user variables having the same name or something. I've seen the message all over the forums, so I'm sure it's not new to you. I have not created any user variables, so I'm at a loss as to what to check here.
My original problem was trying to get embedded videos to publish. I kept getting this "busy" looking icon and nothing ever happened. Now I can't even get the project to publish. Any help would be appreciated. I sold my boss on this great feature, yet can't seem to get the videos to work. Thanks in advance!!
~SheliaI'm was having this same problem for over a week now. I hunted through countless post with out finding a solution. It's not just with one project but all even fresh ones that have no varibles or actionscripts. I've uninstalled both Adobe Flash, and Java, and reinstalled them. I've also had a team member open my projects and was able to Preview and Publish them with no problem. I installed the same version of Java he's using with no resolve. My system is Windows XP Pro 32-bit, so it's not an issue of running the 64-bit version and switching. I have tried all the quick-fixes here with no change to the error message. My IT team has uninstalled and reinstalled the program as well.
BUT!!
I have found a solution which I am very surprised no one has suggested yet. This is what worked for me, using Adobe's dcache.exe tool, I cleared the Adobe Captivate Cache folder, reopend the projects and BAM, they compiled.
Good luck everyone. -
The computer says the cartridge carrier can't move, check for a paper jam or other obstruction. There is no paper jam, and if you tilt the printer, the cartridge carrier slides easily across the paper.
Hello @Maria3,
Welcome to the HP Support Forums!
I understand that you're getting a 'carriage jam' error on your HP Deskjet D2430 Printer when printing from your Windows Vista computer. I would like to assist you today with resolving this error state. I see that you have already checked for jams and verified that the carriage moves. However, the error persists. At this time I am going to run you through some additional printer hardware troubleshooting steps.
Step 1: Print a Self-Test Report:
We are going to verify right from the start if you are getting a false Carriage Jam error message from your computer. Therefore, I am going to have you try to print a standalone report from your printer.
1. Press the Power button () to turn the product on.
2. Hold the Power button () down.
3. Continue to hold the Power button (), and then open and close the carriage access door four times.
4. Release the Power button ().
A Self - Test report should now print. If the report fails to print please proceed to the next step.
Step 2: Check the Hardware:
I understand that you have already checked your machine for jams. There are a few areas where paper or debris may hide. To verify that your printer hardware is in perfect condition can I please have you click here. Please run through Solution two, Solution three, Solution four, and Solution five. This includes any sub-steps under each of the listed Solutions.
Please let me know if the troubleshooting steps I've provided resolve your Carriage Jam error state. Good luck!
X-23
I work on behalf of HP
Please click "Accept as Solution" if you feel my post solved your issue, it will help others find the solution.
Click the "Kudos, Thumbs Up" on the right to say "Thanks" for helping! -
Hey, i have deployed my app, which was built on JSF frame work on Tomcat 5.5. Sometimes it so happens that while browsing the user gets a Error 500 or Error 404. Its those system generated errors that we keep seeing in the browsers - with stack trace, root cause and all.. etc
But I want a customized error messages to be displayed instead of this standard server generated error message. so when the server wants to print a Error 500 page.. it does not uses its own page.. but uses my customized error page.. ..so instead of bugging the user with all these details.. it just says on the customized error page "there has been an internal server error."
Is there any way to implement this in JSF?Read up on the error-page element that one can leverage within the web.xml.
-
Folks
When i access my portlet i get this error. Any idea what this means? i got hte URL out of snoop.
arun
http://mainpc.newip.com:80/jpdk/snoop/snoop.jsp?_action=showPortlet&_back_url=http%3A%2F%2Fportalstudio.oracle.com%2Fpls%2Fops%2F%21OPSTUDIO.wwpob_page_util.redirect%3F_pageid%3D476%26_tabstring%3D%26_portletmode%3D3%26_cache%3D1&_provider_id=11142&_border=1&_auth_level=10&_username=KANDAPPA&_company_name=SEED&_has_title=1&_page_url=http%3A%2F%2Fportalstudio.oracle.com%2Fservlet%2Fpage%3F_pageid%3D476%26_dad%3Dops%26_schema%3DOPSTUDIO&_portal_id=39847&_portlet_id=3&_design_url=http%3A%2F%2Fportalstudio.oracle.com%2Fservlet%2Fpage%3F_dad%3Dops%26_schema%3DOPSTUDIO%26_type%3Dportlet%26_providerid%3D11142%26_portletid%3D3%26_referencepath%3D14367_SNOOP_11142%26_backurl%3Dhttp%253A%252F%252Fportalstudio.oracle.com%252Fpls%252Fops%252F%21OPSTUDIO.wwpob_page_util.redirect%253F_pageid%253D476%2526_tabstring%253D%2526_portletmode%253D3%2526_cache%253D1&_login_url=https%3A%2F%2Flogin.oracle.com%2Fpls%2Forasso%2Fmoc_ls.wwsso_app_admin.fapp_process_login%3Fp_app_id%3D&_render_mode=1&_user=KANDAPPA&_instance_name=14367_SNOOP_11142
[24/01/2003 07:32:38:305 EST] null
java.lang.NullPointerException
at oracle.portal.provider.v1.PortletRendererUtil.getContainerRenderer(PortletRendererUtil.java, Compiled Code)
at oracle.portal.provider.v1.PortletRendererUtil.renderPortletHeader(PortletRendererUtil.java:337)
at oracle.portal.provider.v1.PortletRendererUtil.renderPortletHeader(PortletRendererUtil.java:294)
at jpdk.snoop._snoop._jspService(_snoop.java, Compiled Code)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:385)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:259)
at oracle.jsp.JspServlet.internalService(JspServlet.java, Compiled Code)
at oracle.jsp.JspServlet.service(JspServlet.java:148)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java, Compiled Code)
at org.apache.jserv.JServConnection.run(JServConnection.java, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)I found that Email portlet create a new SMTP connection to the SMTP server every time initSession is called(constructor of class Smtp). These increasing number of SMTP connection finally hit the limit of the SMTP server, leading to incomplete execution of initSession, which cause the problem.
(call path: MailProviderInstance.initSession() -> MailAuthenticationModule.authenticate() -> Smtp())
One thing to notice is that, when I test it no mail is to be sent. There should not be any open SMTP connection. Thus I wonder if it is a mistake in the program code that makes these unnecesssary SMTP connections.
If so, would there be a new release of email portlet available? -
Error message at SC Header level
Hello,
I've made changes to check for approval notes to be mandatory when a shopping cart is rejected using the CHECK BAdI. The message doesn't come up when rejecting at header level, only when rejecting at item level is then that it comes up.
Your assistance will be appreciated.
TX
Chris.Hello,
I think this badi is not very efficient when rejecting from the inbox (header level), allready encounter pb with this.
Anyway, you'll need to go into the detail screen to add an approval note. Why not simply deactivate the direct approve and reject button from the inbox (dynamic columns for integrated inbox) ?
Rgds,
Pierre -
Customising fileDownloadActionListener error messages
Hi All,
I use fileDownloadActionListener to stream a pdf. The code bit in my page looks like this:
<af:fileDownloadActionListener method="#{pageFlowScope.searchDocumentManagedBean.streamPoPdfForOrder}"
contentType="application/pdf"
filename="#{pageFlowScope.searchDocumentManagedBean.orderFileName}"/>
In the case of an error, I get a standard "The file was not downloaded or was not downloaded correctly." error message
I want to be able to send back a customised error message. I could not find an option to do that. Any clue if it's possible?
Thanks,
MansiHI I have used this fileDownloader component every thing is fine that is file is getting downloaded but it is only new file it does not content any data.
My bean code is
public void ondownLoad(FacesContext facesContext,
OutputStream outputStream) throws Exception {
try {
if (result) {
if (filePathName != null) {
HttpServletResponse response = null;
facesContext = FacesContext.getCurrentInstance();
ExternalContext externalContext =
facesContext.getExternalContext();
fileName = getOnlyfilename(filePathName);
response =
(HttpServletResponse)externalContext.getResponse();
response.setHeader("Content-Disposition",
"attachment;filename=\"" +
fileName.trim() + "\"");
} else {
throw new Exception(CommonUtil.getResourceBundleValue("Error"));
} else {
throw new Exception(CommonUtil.getResourceBundleValue("Error"));
} catch (Exception e) {
throw new MyGenericException(e.getMessage());
can you please tell me why this is happning
Edited by: P Nikhilkumar Shrikant on Dec 8, 2011 5:23 PM -
Print head error message of U051
I am receiving an error message of "printer head not installed, Install printer head" on my MP520 . How is this handled?
Hi bsmith629,
To try and resolve the U051 error, we can remove and reseat the ink tanks and print head in the printer. To do this, please follow the steps displayed in the link below:
PIXMA MP520 Remove and Reseat Ink Tanks and Print Head
Next, please turn off the printer, unplug the power cord from the back and leave it out for at least 10 minutes, then plug it back in and turn it back on. If you still receive the same error, the printer will require servicing. Please Contact Us to obtain your servicing options.
Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well. -
Elimination of Portlet Header Customise Link
How to eliminate or hide the customise link
in the portlet header.Should not remove portlet header.Link only to be removed.
User should not customise the Porlet display name.What are the possibilities.
Thanks.
nullWe plan on adding this ability moving forward, but the only way to remove it today is to not display the banner.
-
Error Message when loggin on using indonesion language
Hi Experts,
when I log on into SAP CRM Webclient with language ID (Indonesian) I got a error message in the header (where normally the SAP Logo is) that says:
Fehler bei der Verarbeitung Ihrer Anfrage
Was ist passiert ?
Der Aufruf der URL http://tst-cs.company.com:/sap/bc/bsp/sap/crmcmp_hdr/bspwdapplication.do wurde aufgrund eines Fehlers abgebrochen.
Why Indonesion is selectable in the log on page if later on this error appears? What I can do to fix that?
BR
Oliver SchultzeHi Oliver,
In case you have IC Web Client scenario please ensure that all the
services in note 1295006 are active
Please check note:
notes 1236155 and 1310255.
Also check: 1295006
Thanks,
regards,
Vikram -
Custom error message for invalid date format
Hi,
I am using af:selectInputDate component for date. When i enter wrong date format it comes up follwoing pop up error message:
The value "12/13/2009" is not a valid date. Valid example ""29/11/2005".
However i dont want to show this standard message but a customised error message like "the value is not in correct format...".
Can anyone help me how can i show customised message.Hi Kiran
Try these options
1) Change your <b>Internet Explorer</b> [The Browser which you are using] language
2) In Application Level, ie in Webdynpro
a)Go to <b><Your project name>>Webdynpro>Applications--><Your Application>
Double click on your Application name</b>b) Go to Application Properties TAB, Add a New Application Property
c) Click on "<b>Browse</b>" and Select <b>DefaultLocale</b> and mention the Value as
<b>en_US</b> [If you didnt mention any thing here by default it will take browser's language]
3)In your Portal check the language setting of particular user in identity management
Warm Regards
Chaitanya.A
Maybe you are looking for
-
Upgrade to Yosemite cause weird dual screen mirror on login only
I just upgraded (and also tried a fresh install to an external drive with the same results) to Yosemite from Mavericks. When I start the MPB I get the apple and the thermometer (white fill in bar) every time I reboot after a complete shutdown. Then,
-
How do I integrate music and video using iMovie?
I need a little help trying to accomplish the following using iMovie: I want to record music and a short movie with my built-in iSight camera and mic. Step 1: I want to record a song directly from iTunes (not through the microphone). Step 2: I want t
-
Hello - How do I back up a Final Cut pro project onto an external hard drive? It's a work in progress, not a completed project. I'm a total beginner and a step by step would really helpThanks
-
Please can someone help, my ipod wont charge up by using an adapter, only via my laptop (sometimes) why, am going on holiday soon dont want to take laptop with me? help, it says it is charging but the indicator doesnt move ipod 20gb picture Windows
-
I plugged my iPod into my computer and upon connection iTunes said there was a new update available. I clicked to download this update and went downstairs to make a coffee and leave it download. Upon my return I had an error message saying that the i