Not going to error page( struts)

Hi,
I have some problem related to struts application in portal. I have converted my struts jsps as portlets and deployed to the server. application is working properly. but the problem it is not going to the struts error page when any un handled exception is thrown. My intention is to redirect to the error page when ever the application is not able to handle. It is giving 500 internal server error instead of going to error page. any help?
thanks,
reddi

Hi sandeep,
Thanks for your reply. I am configuring that in my web.xml
<servlet>
          <servlet-name>error</servlet-name>
          <servlet-class>myapp.ErrorServlet</servlet-class>
     </servlet>
     <servlet-mapping>
          <servlet-name>error</servlet-name>
          <url-pattern>errorServlet</url-pattern>
     </servlet-mapping>
     <error-page>
          <exception-type>javax.servlet.jsp.JspException</exception-type>
          <location>/errorServlet</location>
     </error-page>
     <error-page>
          <error-code>500</error-code>
          <location>/errorServlet</location>
     </error-page>
     <error-page>
          <error-code>404</error-code>
          <location>/errorServlet</location>
     </error-page>
     <error-page>
          <error-code>405</error-code>
          <location>/errorServlet</location>
     </error-page>
and my ErrorServlet is as follows.
     public void doPost(HttpServletRequest req, HttpServletResponse res)
               throws IOException, ServletException
          Integer statusCode = (Integer) req
                    .getAttribute("javax.servlet.error.status_code");
          if (statusCode != null)
               int sc = ((Integer) statusCode).intValue();
               switch (sc)
                    case 500:
                         req.setAttribute("error.message",
                                   "Please contact the server administrator");
                         break;
                    case 404:
                         req.setAttribute("error.message", "Requested url not found");
                         break;
          RequestDispatcher rd = req.getRequestDispatcher("/ErrorPage.jsp");
          rd.forward(req,res);
Is this ok?
I have system error page entries in the struts-config.xml. But I am configuring the redirection to the ErrorPage(This is the last page if everything fails) in web.xml only
Thanks,
Reddi

Similar Messages

  • JSF tags are not rendered in error page

    I have configured error page for HTTP 404 error in web.xml like this
    <error-page>
    <error-code>404</error-code>
    <location>/Common/error.jspx</location>
    </error-page>
    Faces Servlet is configured as follows
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    My error page (error.jspx) looks like this
    <?xml version='1.0' encoding='UTF-8'?>
    <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:trh="http://myfaces.apache.org/trinidad/html"
    xmlns:tr="http://myfaces.apache.org/trinidad" xmlns:c="http://java.sun.com/jsp/jstl/core">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <html>
    <head>
    <title>Error Page</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    </head>
    <body id="b1">
    <h4 style="color:red">An Error Occured. Please click Back button or Signout.</h4>
    <input type="button" value="Back" onclick="history.back()"/>
    <tr:commandButton id="cb1" text="SIGN OUT" action="exit" actionListener="#{Login.LogOut}"/>
    </body>
    </html>
    </jsp:root>
    When I deploy application and run into 404 error, page displays error message with only Back button. I don't see SingOut button. I have checked url and it follows /faces/* pattern. Still to double check, I made a change and configured servlet mapping in web.xml as
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    <url-pattern>*.jspx</url-pattern>
    </servlet-mapping>
    Still commandButton is not rendered. I understand that my error page don't have access to FacesContext or not going through Faces Servlet. I know this is a small issue, but couldn't figure out what can be done. I have also tried using .xhtml and .jsf as per googled suggestion. But no luck
    I have tried different solutions to my problem and googled for solutions. But I couldn't get it resolved.
    So can you please provide any suggestions...
    Edited by: user1818355 on May 22, 2013 2:29 PM

    I think my faces servlet is configured to handle URLs having /faces/* pattern. I don't have any folder named with faces but I can access all my web pages which have /faces/ in their url. All jspx pages in application are configured in task flows. So I think they have access in FacesContext. But error page is configured in only web.xml and some how it is missing access to FacesContext and not rendering JSF tags. Any help?

  • Blu-ray menu link not going to correct page

    Here we go again. I try something new, and it doesn't work. Here is the situation:
    I have a Blu-ray menu. The main page of the menu has three buttons: Play Movie, Scene Selection, and Bonus Features.
    Play Movie starts playing the disc at chapter 1, which is what it's supposed to do.
    Scene Selection takes the user to the "first" page of the menu, where each chapter is listed and the first one is highlighted. The chapters span two pages, with the second page accessible by using the "Next" link at the bottom of the page. From that second page, you can either choose a chapter listed or go back to the previous page.
    Bonus Features is set to go to page three of the menu, where the user can select to watch extra content which are each in their own timeline. This page is only accessible from the Bonus Features button on the main menu page. However, when it is selected, it goes to page 1 of the Scene Selection menu instead. The link in the Properties is set to go to "Disc 2 Menu:Page 3: Instrumental", which is the name of the menu, the page I want it to go to, and the button I want highlighted. But when I test it in my Blu-ray player, it does not behave correctly. Is there something in Encore I am missing? The button type is set to Normal, like the rest of the buttons on the Default page.
    I don't want to keep burning discs to test this out when there doesn't seem to be anything else I can do to fix the problem. Hopefully someone knows what is wrong.

    I have music and a video playing in the background, so the multi page menu is great for going to new pages and having the video and music continue playing, instead of having the DVD style menu where everything stops and starts over when you change pages.
    So here is the top of my flowchart showing the main page of the menu and where each button goes. Everything works except Bonus Features going to P3B2 (I am guessing B2 is Button 2, which is what I want).
    And here is the bottom of my flow chart showing what each button on that menu does.
    Hopefully you spot something that is off. I might try to wrangle a second blu-ray player and see if it does it in a different machine as well.

  • IE7 Does Not Display Custom Error Pages

    Hi,
    I set up the "Handling Servlet Exceptions (http://www.oracle.com/technology/sample_code/tech/java/codesnippet/servlets/handlingservletexceptions/handlingservletexceptions.html#log) sample code in JDev 10.1.3 on a WindowsXP desktop.
    After modifying the web.xml to run the sample "Catch500Error" servlet I discovered IE7 will not display the custom error page but Mozilla Firefox will.
    The web.xml looks like this:
    <web-app>
    <description>web.xml file for HandlingServletExceptions Application</description>
    <servlet>
    <servlet-name>CatchError500</servlet-name>
    <servlet-class>oracle.otnsamples.servlets.CatchError500</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>CatchError500</servlet-name>
    <url-pattern>/catcherror500</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>35</session-timeout>
    </session-config>
    <error-page>
    <error-code>500</error-code>
    <location>/web/500error.html</location>
    </error-page>
    </web-app>
    Does anyone know how to get IE7 to display the custom error page?
    TIA,
    Jim

    The post documents a problem with 'dashboard designer' not 'sharepoint designer' as the post above mentions. I tried the solution that Jilu posts and that does not fix the problem for dashboard designer.
    I figured this out. In the master page gallery where my custom master page was deployed, I had to edit the details, change the content type to 'publishing master page'. After that change there was then UI versions for 3 and 4. I change the UI to 4, published
    the  master page document in the library then dashboard designer saw the custom master page. 
    Andy Fitch

  • Need help going to error page from jsf component value change event

    Afternoon all,
    I have a jsp page which uses jsf components and when one of the jsf combo boxes components handles an value change event, the method 'handleTestComboValueChange' is fired.
    Within this method if an error is caught I would like to display an error page instead of the currently displayed page.
    Can some one tell me how to do this. I tried to use getFacesContext().getExternalContext().redirect("errorpage.jsp"); but I just got an illegalStackException error.
    Any help would be great.
    Thanks in advance,
    Lex

    log output listed below...
    [14/04/06 14:52:48:781 BST] 6b0ec4d8 ProcessValida E com.sun.faces.lifecycle.ProcessValidationsPhase com.sp.exceptions.ServicePackagesException: My custom error message
    [14/04/06 14:52:48:812 BST] 6b0ec4d8 ProcessValida E com.sun.faces.lifecycle.ProcessValidationsPhase TRAS0014I: The following exception was logged javax.faces.el.EvaluationException: com.sp.exceptions.ServicePackagesException: My custom error message
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:130)
         at javax.faces.component.UIInput.broadcast(UIInput.java:492)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:252)
         at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:346)
         at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:78)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
         at com.ibm.faces.webapp.FacesGenericPortlet.execute(FacesGenericPortlet.java:637)
         at com.ibm.faces.webapp.FacesGenericPortlet.processAction(FacesGenericPortlet.java:142)
         at com.scottishpower.portlet.GoldenAccountPortlet.processAction(GoldenAccountPortlet.java:143)
         at com.ibm.wps.pe.pc.std.cmpf.impl.PortletFilterChainImpl.processAction(PortletFilterChainImpl.java:104)
         at com.ibm.wps.propertybroker.standard.filter.PropertyBrokerActionFilter.processAction(PropertyBrokerActionFilter.java:260)
         at com.ibm.wps.pe.pc.std.cmpf.impl.PortletFilterChainImpl.processAction(PortletFilterChainImpl.java:95)
         at com.ibm.wps.pe.pc.std.invoker.impl.PortletServlet.dispatch(PortletServlet.java:148)
         at com.ibm.wps.pe.pc.std.invoker.impl.PortletServlet.doPost(PortletServlet.java:76)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at com.ibm.wps.pe.pc.std.cache.CacheablePortlet.service(CacheablePortlet.java:257)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
         at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
         at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
         at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
         at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1095)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code))
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:254)
         at com.ibm.wps.pe.pc.std.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:204)
         at com.ibm.wps.pe.pc.std.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:168)
         at com.ibm.wps.pe.pc.std.invoker.impl.PortletInvokerImpl.action(PortletInvokerImpl.java:82)
         at com.ibm.wps.pe.pc.std.event.ActionEvent.execute(ActionEvent.java:111)
         at com.ibm.wps.pe.pc.std.event.EventQueueManager.processEventLoop(EventQueueManager.java:86)
         at com.ibm.wps.pe.pc.std.PortletContainerImpl.performEvents(PortletContainerImpl.java:168)
         at com.ibm.wps.pe.pc.PortletContainerImpl.performEvents(PortletContainerImpl.java:229)
         at com.ibm.wps.engine.phases.WPActionPhase.processPortlets(WPActionPhase.java:947)
         at com.ibm.wps.engine.phases.WPActionPhase.execute(WPActionPhase.java:489)
         at com.ibm.wps.state.phases.AbstractActionPhase.next(AbstractActionPhase.java:130)
         at com.ibm.wps.engine.Servlet.callPortal(Servlet.java:710)
         at com.ibm.wps.engine.Servlet.doGet(Servlet.java:562)
         at com.ibm.wps.engine.Servlet.doPost(Servlet.java:736)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
         at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
         at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
         at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
         at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:76)
         at com.ibm.wps.state.filter.StateCleanup.doFilter(StateCleanup.java:86)
         at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:132)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:71)
         at com.ibm.wps.mappingurl.impl.URLAnalyzer.doFilter(URLAnalyzer.java:258)
         at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:132)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:71)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1086)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code))
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:201)
         at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:125)
         at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:286)
         at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
         at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
         at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
         at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
         at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:652)
         at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:448)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
    Caused by: com.sp.exceptions.ServicePackagesException: My custom error message
         at pagecode.fragments.GSolus.getTariffsByRef(GSolus.java:297)
         at pagecode.fragments.GSolus.handleServicePackageComboValueChange(GSolus.java:214)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
         at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
         ... 68 more
    javax.faces.el.EvaluationException: com.sp.exceptions.ServicePackagesException: My custome error message
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:130)
         at javax.faces.component.UIInput.broadcast(UIInput.java:492)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:252)
         at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:346)
         at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:78)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
         at com.ibm.faces.webapp.FacesGenericPortlet.execute(FacesGenericPortlet.java:637)
         at com.ibm.faces.webapp.FacesGenericPortlet.processAction(FacesGenericPortlet.java:142)
         at com.sp.portlet.GoldenAccountPortlet.processAction(GoldenAccountPortlet.java:143)
         at com.ibm.wps.pe.pc.std.cmpf.impl.PortletFilterChainImpl.processAction(PortletFilterChainImpl.java:104)
         at com.ibm.wps.propertybroker.standard.filter.PropertyBrokerActionFilter.processAction(PropertyBrokerActionFilter.java:260)
         at com.ibm.wps.pe.pc.std.cmpf.impl.PortletFilterChainImpl.processAction(PortletFilterChainImpl.java:95)
         at com.ibm.wps.pe.pc.std.invoker.impl.PortletServlet.dispatch(PortletServlet.java:148)
         at com.ibm.wps.pe.pc.std.invoker.impl.PortletServlet.doPost(PortletServlet.java:76)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at com.ibm.wps.pe.pc.std.cache.CacheablePortlet.service(CacheablePortlet.java:257)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
         at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
         at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
         at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
         at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1095)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code))
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:254)
         at com.ibm.wps.pe.pc.std.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:204)
         at com.ibm.wps.pe.pc.std.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:168)
         at com.ibm.wps.pe.pc.std.invoker.impl.PortletInvokerImpl.action(PortletInvokerImpl.java:82)
         at com.ibm.wps.pe.pc.std.event.ActionEvent.execute(ActionEvent.java:111)
         at com.ibm.wps.pe.pc.std.event.EventQueueManager.processEventLoop(EventQueueManager.java:86)
         at com.ibm.wps.pe.pc.std.PortletContainerImpl.performEvents(PortletContainerImpl.java:168)
         at com.ibm.wps.pe.pc.PortletContainerImpl.performEvents(PortletContainerImpl.java:229)
         at com.ibm.wps.engine.phases.WPActionPhase.processPortlets(WPActionPhase.java:947)
         at com.ibm.wps.engine.phases.WPActionPhase.execute(WPActionPhase.java:489)
         at com.ibm.wps.state.phases.AbstractActionPhase.next(AbstractActionPhase.java:130)
         at com.ibm.wps.engine.Servlet.callPortal(Servlet.java:710)
         at com.ibm.wps.engine.Servlet.doGet(Servlet.java:562)
         at com.ibm.wps.engine.Servlet.doPost(Servlet.java:736)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
         at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
         at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
         at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
         at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:76)
         at com.ibm.wps.state.filter.StateCleanup.doFilter(StateCleanup.java:86)
         at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:132)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:71)
         at com.ibm.wps.mappingurl.impl.URLAnalyzer.doFilter(URLAnalyzer.java:258)
         at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:132)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:71)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1086)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code))
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:201)
         at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:125)
         at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:286)
         at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
         at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
         at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
         at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
         at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:652)
         at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:448)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
    Caused by: com.sp.exceptions.ServicePackagesException: My custome error message
         at pagecode.fragments.GSolus.getTariffsByRef(GSolus.java:297)
         at pagecode.fragments.GSolus.handleServicePackageComboValueChange(GSolus.java:214)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
         at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
         ... 68 more

  • Form not going to next page

    I have created a form (with sub-forms on top of sub-forms).  They all seem to expand and go onto the second page but it will not create a third page when it reaches that point.  Nor can I add yet another subform on a third page.   I cannot seem to figure this out after working with it for several hours and reading more posts than I could ever imagine on how to do it.  They all recommend I set it the way I have it but it still won't flow.    The forms tree begins with a page 1 untitled form which is a flowed form.  From there I am using a combination of postioned and flowed forms but they will not go onto a third page no matter what I try to do. 

    I actually got it squared away.  This program is not terribly user friendly but very powerful.  I had nested forms and somewhere along the way I nested a flowed form inside of a positioned form thus no page breaking.  Thank you very much for your help.

  • Save and Close goes to error page after modifying List in Infopath

    Hi,
    I have a list in Sharepoint 2013 which I have modified using Infopath 2013. After modification, If i open the list in Sharepoint site, i am not able to Save or Close the list. It gives "The webpage cannot be found" error.
    Regards, Shreyas R S

    Hi,
    The new feature Minimal Download Strategy is activated on your site. Can you please deactivate
    this feature and see?
    It
    is  available under Site Actions -> Manager Site Features
    15/start.aspx# -
    This is due to MDS feature enabled on lyour iste.
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Table not going across multiple pages

    I have two simple side-by-side tables that I want to stretch across multiple pages when necessary by clicking the Add Another button object.
    I think I've done everything necessary to have the table repeat on multiple pages:
    1. My table is in a subform. 
    2. The subform is set to Flowed.
    3. The table has Allow Page Breaks with Content
    4. The table is not a group table
    5. I have the Rows in Binding to Repeat Row for Each Data Item
    What I do notice is that when I click on either Table and then click the Pagination tab in Object--- Pagination is greyed out
    Can anyone offer any suggestions?
    Thank you.

    Hi,
    first of all thanks for the link to the tutorial
    function(){return A.apply(null,[this].concat($A(arguments)))}
    Niall O'Donovan wrote:
    Example of building dynamic tables here: http://assure.ly/gk8Q7a.
    I have created a header on my master-page (just a Logo-picture). When my dynamic table reaches the end of the page, it creates a new page - any problem yet.
    But on the new page, the table just starts directly on the top (y = 0). In this way the table is placed above my logo.
    Is there any way to solve this problem?
    Anything like "check if there is a header on master page and set new rows on next table under the header"?

  • Dreamweaver CS5.5 Template - Main menu button not going to correct page link

    Hi,
    Please help me, as i am new to Adobe Dreamweaver.
    I created a website in Dreamweaver CS3, then recently changed to CS5.5, firstly i couldn't get the templates to update, but by playing around i managed to get the template up update all the pages. #
    I am now having problems when i click on the link in the website, it seems to be looking in the templates folder for the html page.
    Website addrerss: www.malegroominglounge.co.uk
    Pages that i am having problems with when i click in the menu buttons : Male Waxing, Contact Us & Find us,
    This is sometimes working but most of the time comes up with: 'Page cannot be found' and when looking at the URL it is e.g http://www.malegroominglounge.co.uk/Templates/malewaxing.html
    Why is it looking at the templates folder?
    I have checked the template file in menu url and it has not got an extension to look in the 'templates' folder.
    Could someone please help?

    Hi
    Thanks for your investigation.
    Yes i can now see on the source that it is using the templates folder e.g (www.malegroominglounge.co.uk/templates/findus.html), but when I go into dreamweaver template, the code i see is:
      <div id="sidebar1">
        <ul id="MenuBar1" class="MenuBarVertical">
          <li><a href="index.html" class=" style1 style21">Home</a> </li>
          <li><a href="aboutus.html" class="style35">About Us</a></li>
          <li><a href="malewaxing.html" class="style35">Male Waxing</a> </li>
          <li><a href="malemassage.html" class="style35">Male Massage</a></li>
          <li><a href="manicure&amp;pedicure.html" class="style35">Male Manicure &amp; Pedicure</a></li>
          <li><a href="facials.html" class="style35">Male Facials</a></li>
          <li><a href="feedback.html" class="style35">Contact Us</a></li>
          <li><a href="findus.html" class="style35">Find Us</a></li>
          <p> </p>
          <li><img src="holisticguild300.jpg" width="130" height="46" hspace="3" /></li>
        </ul>
    So not sure what i'm doing wrong.
    Can I just check that the 'Don't rewrite relative document paths' check box should be unticked (this is found in DW CS5.5 - Site - Manage Site - Edit - Advanced Settings - Templates)
    Any help much appreciated
    Cheers

  • Adobe story is not going online, error "not responding", will not go online to sync

    I am on a mac book pro, latest version, I am trying to go online, work online, in order to sync with the cloud so my writing partner can see the latest draft. never had an issue before and now it won't go online. I have signed out, closed the app, signed back in, tried different wi-fi's etc etc. nothing is working and I am needing to force quit the app because it is just not responding. I get the spinning beach ball.

    Thank you but, since I did that when I try to sign in it says "ERROR: Sorry, your Story free subscription does not allow access to this application. Please upgrade your subscription." Then my options below are cancel or upgrade now.  I don't want to upgrade. And I still don't know if my script is still there or not. A lot of times I've had to work on it offline. Even though I saved it, has it been deleted? Please tell me it hasn't been. I log on to my account on the adobe sight and all my work is gone. Same with the app version.
    What do I do now? I've never had this problem before and it's a little frustrating, off putting and scary. (Scary as in I've lost all my work.)

  • Text font not going to web page defaults

    Firefox appears to be using the "options" font type and color, rather than the web page font and color, despite the box being checked to allow the web page font to override the options font

    Make sure that you allow pages to choose their own fonts.
    *Edit > Preferences > Content : Fonts & Colors > Advanced: [X] "Allow pages to choose their own fonts, instead of my selections above"
    You can check the gfx.downloadable_fonts.enabled pref on the <b>about:config</b> page and reset user set (bold) gfx.downloadable_fonts.enabled prefs via the right-click context menu to the default value to make sure that you allow fonts to be downloaded.

  • Is it possible to use JSF file as as error page.

    I am using jsf file as an error page.It is working in fine in websphere. But if i am using that only the exception is raised it is not going to error page.
    In Web.XML file,
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <error-page>
    <error-code>403</error-code>          <location>/faces/unauthorized.jsp</location>
    </error-page>
    jsf codings are placed under *.jsp files. In the time submitting form data to server a method throws NumberFormatException. This exception information is displayed in console. but blankpage is coming . It is not redirected to error.jsp fle which is under faces/error.jsp.
    If i am directly giving /error.jsp then it is giving Faces context is not created error.
    So i tried use simple jsp(pure jsp) file wihtin the folder and i set path like /pages/foo.jsp. It is working.
    Tell me is it possible to use jsf as error page.

    What would you hope to do with the reference?  The Mathscript node doesn't have a file reading capability.  You need to read the file and pass the data into the Mathscript node.
    EDIT: I stand corrected.  You need to use the fopen and fclose functions inside of the MathScript node to be able to read a file inside of it.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Error page? help!

    so.. when i tried to login to my account in a website.. i got the message i copied below. I never had problems going in it before. It happened right after I installed the latest firefox browser. I can't find the root directory they are talking about and dont really understand what to do. someone help me!
    Server Error in '/' Application.
    Runtime Error
    Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
    Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
    <!-- Web.Config Configuration File -->
    <configuration>
    <system.web>
    <customErrors mode="Off"/>
    </system.web>
    </configuration>
    Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
    <!-- Web.Config Configuration File -->
    <configuration>
    <system.web>
    <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
    </configuration>

    Same problem. Happened today as well... when trying to log into my MySpace account. Not sure what to do. I believe I had Firefox running at same time. But I did not install the lastest update... not today anyway.

  • Customizing 400 and 500 error pages

    Hello,
    We are using default 404 and 500 error pages, how can I customize these error pages?
    I have changed the default error page under global settings, however it is still not showing the error page which I have changed?
    Could someone help in this regard.
    Thanks in advance
    Message was edited by:
    419365

    Normally those are page not found errors.
    I got the steps from metalink. See below.
    Subject: Changing the default error pages
    Hi,
    Steps mentioned below are used to have customize error message page for http 404 error,you can find out error no. for 'internal server error' and apply same steps.
    1.Create an HTML file (Say test.html) as per your requirement and place it in
    application_home\Apache\Apache\htdocs folder.
    2.Edit the HTTPD.conf file and Uncomment the Local redirects as follows
    # 2) local redirects
    ErrorDocument 404 /test.html
    Save it.
    3. Restart the HTTP server.
    ********

  • Control not going to java

    HI..
    I am facing a problem. I am doing validation for fileuploader in java. I am able to do the validation in java. But the requirement is to do the validation in java (page code). When i am passing empty string and do a submit, its working fine i.e the contol is going fine to the page code. But when I give some blank string to the fileuploader field and do a submit. The control is not going to the page code.
    Please help me in the regard. Its very urgent
    Regards
    Rishab

    What is the difference between an empty string and a blank string? And what JSF component are you talking about? Tomahawk t:inputFileUpload? RISB risb:multiFileUpload? Custom component? Why do you need the control in the backing bean? If you want to validate it on being filled or not, generally just add required="true" to the component.

Maybe you are looking for

  • IPod and iTunes 7 issues

    I have a 3g iPod. I have a G5 mac which I mistakenly upgraded to iTunes version 7.0.2. Since upgrading to version 7 I have major problems when trying to transfer music to my Ipod. I can transfer 1 song, then the rainbow spinner comes up and says it i

  • How to locate the serial number in FCP 7.0.3 Volume License ?

    I want to check the serial number of my FCP 7.0.3 Volume License but could not able to locate it in about Final Cut Pro or any other location.

  • SBLive! 5.1 Record without monitor

    Hi,Does the SBLi've! 5. support this record without monitoring? I've searched the archi'ves here with no luck. Also wiped my install and freshly installed the latest drivers and s/w but all to to no avail. Maybe I'm not looking in the right place?Int

  • For date attribute search, the format must be mm/dd/yyyy

    Hello. The manual "Oracle® Secure Enterprise Search Administrator's Guide 10g Release 1" says that when searching on date attributes, the format must be mm/dd/yyyy. For our users it is more natural to use the format dd/mm/yyyy so in order to reduce t

  • Does this photo type gallery have a technical name?

    I am not sure if there is a technical name for this type of photo gallery or what, is it photo navigation or a flash banner, if any one knows where I could find a tutorial or fla I would surely appreciate it. Trying to finish up a site i have been wo