Initial forward in RichFaces app gets 404, but simple JSF app works fine

(I asked about this on the RichFaces forum, but perhaps this isn't a RichFaces issue.)
've just started to look deeply into JSF. I'm deploying some test apps to WebLogic 9.2.2. I have two simple apps I'm testing. One is a plain JSF app, and the other is the "echo" RichFaces app.
When I go to the URL for the plain JSF app, the "index.jsp" successfully forwards to the main page, and it shows up.
When I go to the URL for the RichFaces "echo" app, I immediately get a 404.
I added some debug, so I know that it executes my "index.jsp". I also set a breakpoint in org.ajax4jsf.webapp.BaseFilter.doFilter(), and I see it hit that. I also added a debugging lifecycle listener.
So, with this debug enabled, I get this:
[DEBUG] BaseFilter - Filter start request processing at 12/31/07 12:05 PM for uri: /AjaxEcho/faces/echo.jsp
[DEBUG] BaseFilter - Filter request output to XML
BeforePhase: RESTORE_VIEW 1
AfterPhase: RESTORE_VIEW 1
BeforePhase: RENDER_RESPONSE 6
AfterPhase: RENDER_RESPONSE 6
[DEBUG] BaseFilter - Finished request processing total time 31ms for uri: /AjaxEcho/faces/echo.jsp
As that didn't tell me anything, I enabled debug for "com.sun.faces" and "org.ajax4jsf", which produced the output following this. I still don't see any obvious clues here.
[DEBUG] BaseFilter - Filter start request processing at 12/31/07 1:57 PM for uri: /AjaxEcho/faces/echo.jsp
[DEBUG] BaseFilter - Filter request output to XML
[DEBUG] BaseXMLFilter - XML filter service start processing request
[DEBUG] LifecycleImpl - execute(com.sun.faces.context.FacesContextImpl@1539b09)
[DEBUG] AjaxPhaseListener - Process before phase RESTORE_VIEW 1
[DEBUG] InitPhaseListener - Perform additional framework initialization on first request
BeforePhase: RESTORE_VIEW 1
[DEBUG] RestoreViewPhase - Entering RestoreViewPhase
[DEBUG] ViewHandlerImpl - URL pattern of the FacesServlet executing the current request /faces
[DEBUG] AjaxStateManager - Can't restore view state : no saved view states in se ssion
[DEBUG] AjaxViewHandler - Detect session expiration in AJAX request - view don't restored for a viewId /echo.jsp
[DEBUG] RestoreViewPhase - New request: creating a view for /echo.jsp
[DEBUG] ViewHandlerImpl - Created new view for /echo.jsp
[DEBUG] ViewHandlerImpl - Locale for this view as determined by calculateLocale en
[DEBUG] ViewHandlerImpl - RenderKitId for this view as determined by calculateRenderKitId HTML_BASIC
[DEBUG] RestoreViewPhase - Exiting RestoreViewPhase
AfterPhase: RESTORE_VIEW 1
[DEBUG] InitPhaseListener - Remove init phase listener from factories
[DEBUG] LifecycleImpl - removePhaseListener(ANY 0,org.ajax4jsf.event.InitPhaseListener@b61de0
[DEBUG] AjaxPhaseListener - Process after phase RESTORE_VIEW 1
[DEBUG] LifecycleImpl - Skipping rest of execute() because of a reload
[DEBUG] LifecycleImpl - render(com.sun.faces.context.FacesContextImpl@1539b09)
[DEBUG] AjaxPhaseListener - Process before phase RENDER_RESPONSE 6
[DEBUG] AjaxPhaseListener - PhaseListener enter Before RenderView Phase with ViewId /echo.jsp and RenderKitId HTML_BASIC
BeforePhase: RENDER_RESPONSE 6
[DEBUG] RenderResponsePhase - Entering RenderResponsePhase
[DEBUG] RenderResponsePhase - About to render view /echo.jsp
[DEBUG] ViewHandlerImpl - About to render view /echo.jsp
[DEBUG] ViewHandlerImpl - URL pattern of the FacesServlet executing the current request /faces
[DEBUG] ViewHandlerImpl - Found no URL patterns mapping to FacesServlet
[DEBUG] AjaxContext - Process component tree for collect used scripts and styles
[DEBUG] InternetResourceBuilder - Return instance of internet resource builder org.ajax4jsf.resource.ResourceBuilderImpl@1011211
[DEBUG] RenderResponsePhase - Exiting RenderResponsePhase
AfterPhase: RENDER_RESPONSE 6
[DEBUG] AjaxPhaseListener - Process after phase RENDER_RESPONSE 6
[DEBUG] BaseXMLFilter - create HTML/XML parser for content type: null
[DEBUG] BaseXMLFilter - Parser not have support for the such content type, send response as-is
[DEBUG] BaseFilter - Finished request processing total time 17721ms for uri: /AjaxEcho/faces/echo.jsp

I got this working, but it sure seems odd to me. In the working JSF app, I didn't notice that the forward from "index.jsp" references "/faces/main.jsp", even though "main.jsp" is in the root of the app. I changed my RichFaces app to do the same, so it references the "fake" root directory of "/faces". Now it works fine, it's just odd looking. I didn't notice this being called out in the JSF book (Complete Reference).

Similar Messages

  • Problem with photoshop CS6 I have an imac intel 10.6.8...when I try to launch photoshop the icon bounces a few times then the adobe app manager tries to open then they both quit. they keep doing this over and over again but won't launch. worked fine for a

    problem with photoshop CS6 I have an imac intel 10.6.8...when I try to launch photoshop the icon bounces a few times then the adobe app manager tries to open then they both quit. they keep doing this over and over again but won't launch. worked fine for a few days after install.

    problem with photoshop CS6 I have an imac intel 10.6.8...when I try to launch photoshop the icon bounces a few times then the adobe app manager tries to open then they both quit. they keep doing this over and over again but won't launch. worked fine for a few days after install.

  • I have an iPod 4th gen and the bottom part of it doesn't work where the space, .?123, and the go buttons are I droped it yesterday but it started doing this an hour ago I can slide to get in but it's stops working after that someone tell me how I fix this

    I have an iPod 4th gen and the bottom part of it doesn't work where the space, .?123, and the go buttons are not working I droped it yesterday but it started doing this an hour ago I can slide to get in but it's stops working after that someone tell me how I fix this

    Try:
    - Reset the iOS device. Nothing will be lost       
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup. See:                                                
    iOS: How to back up                                                                                     
    - Restore to factory settings/new iOS device.             
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
      Apple Retail Store - Genius Bar                                              

  • TS3591 Updated itunes - windows quickly shuts it down and says something about "Data Execution Prevention". I followed the instrucxtions to a dead end. I have re downloaded it twice and used the repair files once but get the same result. It worked fine be

    Updated itunes - windows quickly shuts it down and says something about "Data Execution Prevention". I followed the instrucxtions to a dead end. I have re downloaded it twice and used the repair files once but get the same result. It worked fine before I updated it to death.

    Try updating your QuickTime to the most recent version. Does that clear up the DEP errors in iTunes?

  • When I try to actualize my apps it redirects me to the app itself and it won't actualize it and I don't know what to do, now all my apps are stuck but in my iPhone works well SOMEONE HELP ME :(

    When I try to actualize my apps it redirects me to the app itself and it won't actualize it and I don't know what to do, now all my apps are stuck but in my iPhone works well SOMEONE HELP ME

    What do you mean by, "actualize"?

  • I updated my iOS to 7 yesterday. But my music app doesn't show the 'Radio' button as the online videos and Apple website claims. What could be the reason and how to fix it. All other apps, swipe up/down seem to be working fine.

    I updated my iOS to 7 yesterday. But my music app doesn't show the 'Radio' button as the online videos and Apple website claims. What could be the reason and how to fix it. All other apps, swipe up/down seem to be working fine.

    Try to connect in recovery mode, explained in this article:
    iOS: Unable to update or restore
    Before that, back up your device, explained here:
    iOS: Back up and restore your iOS device with iCloud or iTunes
    How to back up your data and set up as a new device
    You can check your warranty status here:
    https://selfsolve.apple.com/agreementWarrantyDynamic.do

  • My wifi shows a strong signal but then i cannot connect to the internet (safari or apps). what is wrong? internet is working fine on my laptop.

    My wifi shows a strong signal but then i cannot connect to the internet (safari or apps). what is wrong? internet is working fine on my laptop.

    Is this a new issue with your iPad meaning that you have been able to connect to the Internet in the past?
    If it worked before try rebooting your router - unplug it for about 30 seconds and then plug it in again.
    Sometimes restarting the iPad is all it takes as well. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    You can also reset Network Settings - go to Settings>General>Reset>Reset Network Settings.Or go to Settings>WiFi>tap the blue arrow next to your network>Forget this Network. In either of those cases, you will have to rejoin your WiFi network and enter your password again.

  • Cannot connect to iTunes or App Store on iPad Mini, but another iPad Mini works fine

    Multiple iPad Mini's in one home.  All connect to iTunes and the App Store except one.  Used to work fine until recently.  What's up?

    Hi WinstonBaby,
    If you are having an issue with connecting to the iTunes and App stores on your iPad, I would suggest that you troubleshoot using the steps in this article - 
    Can't connect to the iTunes Store - Apple Support
    Specifically the section titled "Troubleshoot issues on an iPhone, iPad, or iPod touch."
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • Getting error in simple Jsf-Spring Integration

    Hi,
    I am getting error in setting class attribute through Spring when I am integrating spring1.2 and jsf 1.1. Alone JSF is working fine.
    The error I am getting is
    Class org.springframework.web.jsf.DelegatingVariableResolver is no javax.faces.el.VariableResolverI m using JSF1.1, Spring 1.2 and jdk 1.4
    How I did is I added a class First.java initialized by application.xml as follows
    <beans>
         <bean id="first" class="com.tst.beans.First" >
         <property name="name">
              <value type="java.lang.String">abc</value>
         </property></bean>
    </beans>I have added Delegating Variable resolver and other stuff in faces-config.xml as follows
        <application>
    <variable-resolver>org.springframework.web.jsf.DelegatingVariableResolver</variable-resolver>
          <locale-config>
            <default-locale>en</default-locale>
          </locale-config>
          <message-bundle>com.Messages</message-bundle>
        </application>
         <navigation-rule>
              <from-view-id>/third.jsp</from-view-id>
         </navigation-rule>
         <managed-bean>
              <managed-bean-name>secBean</managed-bean-name>
            <managed-bean-class>com.tst.beans.SecBean</managed-bean-class>
              <managed-bean-scope>session</managed-bean-scope>
              <managed-property>
                   <property-name>ft</property-name>
                   <value>#{first}</value>
              </managed-property>
         </managed-bean>In web.xml I did the following change for Spring
      <context-param>
        <param-name>javax.faces.CONFIG_FILES</param-name>
        <param-value>/WEB-INF/faces-config.xml</param-value>
      </context-param>
          <!--Loads Spring application context upon application startup.-->
      <context-param>
        <param-name>contextConfigLocation</param-name>
        <param-value>/WEB-INF/applicationContext.xml</param-value>
    </context-param>
      <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>SpringContextServlet</servlet-name>
                    <servlet-class>org.springframework.web.context.ContextLoaderServlet</servlet-class>      
                <load-on-startup>1</load-on-startup>
         </servlet>
      I added this first class in backing bean as a property. My faces-config.xml code is
              <managed-bean>
              <managed-bean-name>EducInfo</managed-bean-name>
              <managed-bean-class>
                   com.view.beans.StudentEducInfo
              </managed-bean-class>
                    <managed-property>
                   <property-name>ft</property-name>
                   <value>#{first}</value>
              </managed-property>and in JSP page, I called the managed property as
    <h:outputText value="#{secBean.ft.name}" ></h:outputText>Any pointers? Any workaround would also be highly appreciated
    Regards,
    Arsalan

    There is a working apache example in the SVN...might be worth taking a look at that.

  • IPad 2 suddenly showing "no service" but seems to be working fine otherwise. Any need for concern? Hard close didn't help. Changing locations with different wi if servers didn't help.

    iPad 2 suddenly showing "no service" but seems to be working fine otherwise. Any cause for concern? Time to get a new iPad?

    It is not picking up the wifi - though it says it is connected . All other devices are connecting fine to the same network

  • Ipod 4th gen volume buttons not working. Volume bar not showing in music or video apps, not a speaker problem as this works fine when testing built in alarm tones???

    Ipod 4th gen volume buttons not working. Volume bar not showing in music or video apps, not a speaker problem as this works fine when testing built in alarm tones???

    Have you tried the standard fixes:
    - Reset:
    Reset iPod touch:  Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.
    - Restore the iPod from backup via iTunes
    - Restore the iPod to factory defaults/new iPod.
    If still problem you likely have a hardware problem and an appointment at the Genus Bar of an Apple store is in order.

  • Just bought the new iPhone4S yesterday, and my back camera isn't working/loading up. But my front camera works fine. What's wrong? Can anyone help?

    Just bought the new iPhone4S yesterday, and my back camera isn't working/loading up. But my front camera works fine. What's wrong? Can anyone help?

    I had the same problem- go to Utilities, General, Use Side Switch To, and change it from Mute to Lock Rotation- this solved the problem for me.
    Good luck!

  • So I went to update my ipod on itunes....and a box appeared saying to make sure my network settings are correct and active, but the internet is working fine. Every device in my house has great internet connection. What do I do?

    So I went ot update my ipod on itunes....and a box appeared saying to make sure the internet setting are correct and active, but my internet is working fine. What do I do?

    Sounds like this:
    Update Server
    Try:
    - Powering off and then back on your router.
    - iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server
    - Change the DNS to either Google's or Open DNS servers
    Public DNS — Google Developers
    OpenDNS IP Addresses
    - Try on another computer/network
    - Wait if it is an Apple problem

  • No animation or videos will play from Firefox, but other browsers still work fine. I have checked plugins and even updated to the Firefox 14 beta - no fix

    As of yesterday no animation or videos will play from Firefox, but other browsers still work fine. I have checked plugins and even updated to the Firefox 14 beta today, but this did not fix the problem.
    this problem started yesterday; before then there was no problem.
    I have updated everything I can find, and ran a system restore and disc clean.
    The problem still persists. What am I missing here?

    This happened to me too. This problem started suddenly with no changes made on my part. I had 11.2 Flash version with Firefox 13. I tried updating to the new Firefox, same problem, then updated to Flash 11.3. I even uninstalled RealPlayer.
    I read a solution on another forum and it was as easy as clearing my cache. Everything works fine now (even after reinstalling RealPlayer and allowing the download button function).

  • How much will it cost to replace the outer glass casing of an iphone 4 ?? but the touchsceen is working fine..!

    how much will it cost to replace the outer glass casing of an iphone 4 ?? but the touchsceen is working fine..!

    Out-of-Warranty Service
    If you own an iPhone that is ineligible for warranty service but is eligible for Out-of-Warranty (OOW) Service, Apple will service your iPhone for the Out-of-Warranty Service fee listed below.
    iPhone model
    Out-of-Warranty Service
    iPhone 5
    $229
    iPhone 4S
    $199
    iPhone 4, iPhone 3GS,
    iPhone 3G, Original iPhone
    $149
    A $6.95 shipping fee will be added if service is arranged through Apple and requires shipping. All fees are in U.S. dollars and are subject to local tax. "

Maybe you are looking for

  • Data element for Month and Year

    Hello All, Is there any data element which will have only Month and Year. I have to introduce this field in a table. It should have convesion exits also. Ex: If i give 092009, it sould come like 09.2009 Thank you. Best Regards, Sasidhar Reddy Matli.

  • No free trial for me... ;(

    Dear community, I have purchased today the premium status by redeeming a voucher. I wanted to redeem this voucher in connection's with the 60 day trial program. So I redeemed the code, but had to realise quickly that I had now paid only one month wit

  • Citrix Documentation is HORRIBLE!

    A little background on our organization before this diatribe:We're a fully virtualized (desktops and servers) Citrix shop, using XenServer and XenDesktop. Approximately 150 desktops, 20 servers, and 20 physical servers, plus SANs. We currently have 3

  • Why i don't have facebook in my share list?? who can help me please???

    why i don't have facebook in my share list?? who can help me please???

  • Force a new line when editing a SMS

    Does anybody know how I can force a new line when editing a SMS for instance, Starting the SMS with: Dear xxx Now I start editing the SMS on a new line.... Solved! Go to Solution.