13 Replies Latest reply on Mar 19, 2009 10:17 AM by rajesha Indurthi

    Problems while migrating from richfaces 3.0 to richfaces 3.1

    rajesha Indurthi Newbie

      I currently am using richfaces 3.0 in my Sun 1.1 RI JSF application. Iam trying to migrate to 3.1.6, and I have this weird error that any server side events that I invoke throuh the rich faces component are not going through. e.g if I hit a command link , which has an associated action in the backing bean . The logic in thebacking bean is not invoked.

      <rich:toolBarGroup id="searchgrp">
      <h:commandLink id="search" value="Search" action="#{oneLineSearchBean.home}" > </h:commandLink>
      </rich:toolBarGroup>

      the above code should call the corresponding action called 'home' in the 'onelinesearchbean', but it is not. The page just refreshes and stays there.

      What might possibly be causing this, any help will be highly appreciated

        • 1. Re: Problems while migrating from richfaces 3.0 to richfaces
          rajesha Indurthi Newbie

          Iam using h:form in my jsps . Should this be of any concern in the 3.1.6 version of richfaces. Is it possible that because Iam using h:form instead of a4j:form that my form is not getting submitted to the serverside. Any help on this issue will be highly appreciated.

          • 2. Re: Problems while migrating from richfaces 3.0 to richfaces
            Nick Belaevski Master

            Hello,

            Please add rich:messages and check if there are any faces messages generated.

            • 3. Re: Problems while migrating from richfaces 3.0 to richfaces
              rajesha Indurthi Newbie

              Hi there,
              I have added the rich:messages to the jsp , but Iam not getting any messages when I click the command link. I have also added the PhaseTracker jar to the WEN-INF/lib of my web application, to monitor the lify cycle of my JSF application.
              When I invoke the page the following is the system out from the PhaseTracker :

              [3/18/09 16:43:02:795 EDT] 00000023 helper I BEFORE RESTORE_VIEW 1
              
              
              [3/18/09 16:43:02:826 EDT] 00000023 helper I AFTER RESTORE_VIEW 1
              
              
              [3/18/09 16:43:02:826 EDT] 00000023 helper I BEFORE RENDER_RESPONSE 6
              
              [3/18/09 16:43:02:842 EDT] 00000023 helper I AFTER RENDER_RESPONSE 6


              and whne I click on the commandlink, instead of invoking the serverside code, it is just refreshing the page and here is the system out from the Phasetracker.

              [3/18/09 16:43:05:888 EDT] 00000023 helper I BEFORE RESTORE_VIEW 1
              
              
              [3/18/09 16:43:05:888 EDT] 00000023 helper I AFTER RESTORE_VIEW 1
              
              [3/18/09 16:43:05:888 EDT] 00000023 helper I BEFORE RENDER_RESPONSE 6
              
              
              [3/18/09 16:43:05:904 EDT] 00000023 helper I AFTER RENDER_RESPONSE 6


              I hope this finding will help you in finding what is stopping the request frm being submitted to the server.

              Thanks!!!

              • 4. Re: Problems while migrating from richfaces 3.0 to richfaces
                rajesha Indurthi Newbie

                My Jsp code is as below after adding the rich:messages to the jsp

                <html>
                <head>
                <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
                <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
                <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
                <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
                </head>
                <body>
                <div id="wrap">
                <f:view>
                <h:form id="workspoof">
                <rich:messages passedLabel="Data is allowed to be stored." layout="list">
                 <f:facet name="header">
                 <h:outputText value="Entered Data Status:"></h:outputText>
                 </f:facet>
                 <f:facet name="passedMarker">
                 <h:graphicImage value="/images/ajax/passed.gif" />
                 </f:facet>
                 <f:facet name="errorMarker">
                 <h:graphicImage value="/images/ajax/error.gif" />
                 </f:facet>
                </rich:messages>
                <h:commandLink id="testsearch" value="Search" action="#{oneLineSearchBean.home}" > </h:commandLink>
                </h:form>
                </f:view>
                </div>
                </body>
                </html>


                Wanted to put it out there in case there is some mistake in my jsp.

                • 5. Re: Problems while migrating from richfaces 3.0 to richfaces
                  rajesha Indurthi Newbie

                  Hi there ,
                  Had aqucik question there is 3.1.6 and there os 3.1.6 service release. Which jars should I be using ???Iam using the 3.1.6 release's jars and not the service release.

                  • 6. Re: Problems while migrating from richfaces 3.0 to richfaces
                    Nick Belaevski Master

                     

                    "RAJESHIV" wrote:
                    Hi there ,
                    Had aqucik question there is 3.1.6 and there os 3.1.6 service release. Which jars should I be using ???Iam using the 3.1.6 release's jars and not the service release.

                    SR1 is better.

                    • 7. Re: Problems while migrating from richfaces 3.0 to richfaces
                      Nick Belaevski Master

                       

                      "RAJESHIV" wrote:
                      My Jsp code is as below after adding the rich:messages to the jsp

                      <html>
                      <head>
                      <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
                      <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
                      <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
                      <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
                      </head>
                      <body>
                      <div id="wrap">
                      <f:view>
                      <h:form id="workspoof">
                      <rich:messages passedLabel="Data is allowed to be stored." layout="list">
                       <f:facet name="header">
                       <h:outputText value="Entered Data Status:"></h:outputText>
                       </f:facet>
                       <f:facet name="passedMarker">
                       <h:graphicImage value="/images/ajax/passed.gif" />
                       </f:facet>
                       <f:facet name="errorMarker">
                       <h:graphicImage value="/images/ajax/error.gif" />
                       </f:facet>
                      </rich:messages>
                      <h:commandLink id="testsearch" value="Search" action="#{oneLineSearchBean.home}" > </h:commandLink>
                      </h:form>
                      </f:view>
                      </div>
                      </body>
                      </html>


                      Wanted to put it out there in case there is some mistake in my jsp.

                      Does this work if you remove RF .jar files and filter mapping from the project?

                      • 8. Re: Problems while migrating from richfaces 3.0 to richfaces
                        rajesha Indurthi Newbie

                        Hi there,
                        A very interesting finding is that the application worked fine when I used RI version 6.1.5. As expected the serverside code was called, and the 'home' action method in the onelinesearchBean managed bean was called. My question to you guys would be, why is it that the application which is working fine with richfaces 6.1.5 is not working woth 6.1.6. Do I have to do any additioanl steps for my JSF application to run fine with the Richfaces Version 6.1.6.

                        Your suggestions are highly appreciated!!!

                        • 9. Re: Problems while migrating from richfaces 3.0 to richfaces
                          Nick Belaevski Master

                          No special steps are necessary. Probably it is some compatibility issue, but what causes this?.. If you still have interset, then let's start investigation from web.xml file.

                          • 10. Re: Problems while migrating from richfaces 3.0 to richfaces
                            rajesha Indurthi Newbie

                            Hye there,
                            I would luv to see wht is causing this in richfaces 3.1.6. DO you want my web.xml. Iam pasting my web.xml below for your reference. Please let me know if you want any thing else frm me to debug this issuse

                            <?xml version="1.0" encoding="UTF-8"?>
                            <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="WebApp_1236806764494" version="2.4" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
                             <display-name>Test Data Platform Workbench</display-name>
                             <description>Test Data Platform Workbench</description>
                             <context-param>
                             <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
                             <param-value>server</param-value>
                             </context-param>
                             <context-param>
                             <param-name>javax.faces.application.CONFIG_FILES</param-name>
                             <param-value>/WEB-INF/faces-config.xml</param-value>
                             </context-param>
                             <context-param>
                             <param-name>com.sun.faces.validateXml</param-name>
                             <param-value>true</param-value>
                             </context-param>
                             <context-param>
                             <param-name>com.sun.faces.verifyObjects</param-name>
                             <param-value>false</param-value>
                             </context-param>
                             <context-param>
                             <param-name>tree.control.images</param-name>
                             <param-value>/images</param-value>
                             </context-param>
                             <context-param>
                             <param-name>org.richfaces.SKIN</param-name>
                             <param-value>blueSky</param-value>
                             </context-param>
                             <!-- <filter>
                             <filter-name>icLogin</filter-name>
                             <filter-class>com.equifax.ic.security.web.filter.LoginUrlPassthroughFilter</filter-class>
                             </filter>
                             <filter>
                             <filter-name>Agent</filter-name>
                             <filter-class>com.sun.identity.agents.filter.AmAgentFilter</filter-class>
                             </filter>
                             <filter>
                             <filter-name>ThreadScopeEnabler</filter-name>
                             <filter-class>com.equifax.ic.web.ThreadScopeEnablerFilter</filter-class>
                             </filter>
                             <filter>
                             <filter-name>ProtectedPageFilter</filter-name>
                             <filter-class>com.equifax.ic.security.web.filter.ProtectedPageFilter</filter-class>
                             </filter> -->
                             <filter>
                             <filter-name>ThreadScopeEnabler</filter-name>
                             <filter-class>com.equifax.ic.web.ThreadScopeEnablerFilter</filter-class>
                             </filter>
                             <filter>
                             <filter-name>SystemOutFilter</filter-name>
                             <filter-class>com.equifax.ic.tdp.jsf.util.SysOutFilter</filter-class>
                             </filter>
                             <filter>
                             <display-name>RichFaces Filter</display-name>
                             <filter-name>richfaces</filter-name>
                             <filter-class>org.ajax4jsf.Filter</filter-class>
                             </filter>
                            
                             <!-- <filter-mapping>
                             <filter-name>icLogin</filter-name>
                             <url-pattern>/search/*</url-pattern>
                             </filter-mapping>
                             <filter-mapping>
                             <filter-name>icLogin</filter-name>
                             <url-pattern>/global/*</url-pattern>
                             </filter-mapping>
                             <filter-mapping>
                             <filter-name>icLogin</filter-name>
                             <url-pattern>/gen/*</url-pattern>
                             </filter-mapping>
                             <filter-mapping>
                             <filter-name>ThreadScopeEnabler</filter-name>
                             <url-pattern>/*</url-pattern>
                             </filter-mapping>
                             <filter-mapping>
                             <filter-name>Agent</filter-name>
                             <url-pattern>/search/*</url-pattern>
                             </filter-mapping>
                             <filter-mapping>
                             <filter-name>Agent</filter-name>
                             <url-pattern>/global/*</url-pattern>
                             </filter-mapping>
                             <filter-mapping>
                             <filter-name>Agent</filter-name>
                             <url-pattern>/gen/*</url-pattern>
                             </filter-mapping>
                             <filter-mapping>
                             <filter-name>ProtectedPageFilter</filter-name>
                             <url-pattern>/search/*</url-pattern>
                             </filter-mapping>
                             <filter-mapping>
                             <filter-name>ProtectedPageFilter</filter-name>
                             <url-pattern>/global/*</url-pattern>
                             </filter-mapping>
                             <filter-mapping>
                             <filter-name>ProtectedPageFilter</filter-name>
                             <url-pattern>/gen/*</url-pattern>
                             </filter-mapping> -->
                             <filter-mapping>
                             <filter-name>ThreadScopeEnabler</filter-name>
                             <url-pattern>/*</url-pattern>
                             </filter-mapping>
                             <filter-mapping>
                             <filter-name>SystemOutFilter</filter-name>
                             <url-pattern>/*</url-pattern>
                             </filter-mapping>
                             <filter-mapping>
                             <filter-name>richfaces</filter-name>
                             <servlet-name>Faces Servlet</servlet-name>
                             <dispatcher>REQUEST</dispatcher>
                             <dispatcher>FORWARD</dispatcher>
                             <dispatcher>INCLUDE</dispatcher>
                             </filter-mapping>
                            
                             <servlet id="Servlet_1">
                             <servlet-name>InitializationServlet</servlet-name>
                             <servlet-class>com.equifax.aspire.infrastructure.kernel.web.InitializationServlet</servlet-class>
                             <init-param id="InitParam_1">
                             <param-name>initializationClasses</param-name>
                             <param-value>com.equifax.ic.core.kernel.impl.InterConnectSystemInitializer</param-value>
                             </init-param>
                             <init-param id="InitParam_2">
                             <param-name>requireCleanStart</param-name>
                             <param-value>false</param-value>
                             </init-param>
                             <load-on-startup>5</load-on-startup>
                             </servlet>
                             <!-- Faces Servlet -->
                             <servlet>
                             <servlet-name>Faces Servlet</servlet-name>
                             <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
                             <load-on-startup>6</load-on-startup>
                             </servlet>
                            
                             <servlet-mapping id="ServletMapping_1">
                             <servlet-name>InitializationServlet</servlet-name>
                             <url-pattern>/initialization</url-pattern>
                             </servlet-mapping>
                            
                             <!-- Faces Servlet Mapping -->
                             <servlet-mapping>
                             <servlet-name>Faces Servlet</servlet-name>
                             <url-pattern>*.faces</url-pattern>
                             </servlet-mapping>
                             <welcome-file-list>
                             <welcome-file>global/index.jsp</welcome-file>
                             </welcome-file-list>
                             <error-page>
                             <exception-type>java.lang.Throwable</exception-type>
                             <location>/global/errorpage.jsp</location>
                             </error-page>
                             <error-page>
                             <error-code>500</error-code>
                             <location>/global/errorpage.jsp</location>
                             </error-page>
                             <error-page>
                             <error-code>404</error-code>
                             <location>/global/errorpage.jsp</location>
                             </error-page>
                             <!--
                             <resource-ref>
                             <res-ref-name>jdbc/testDataRepoDS</res-ref-name>
                             <res-type>javax.sql.DataSource</res-type>
                             <res-auth>Container</res-auth>
                             </resource-ref>
                             -->
                            </web-app>


                            As u can see my web.xml has a couple servlets . One is faces servlet and the other is a servlet which loads my jars. intilaizes the platform.

                            Then the remaining I have a few filters defined. One of them is a richfaces filter.

                            Do you see anything specific in web.xml which might cause this issue. I did observe in the sample application web.xml of rich faces there is a jsf facelet context param is this required??

                            Please let me know if you need any help frm me

                            • 11. Re: Problems while migrating from richfaces 3.0 to richfaces
                              rajesha Indurthi Newbie

                              Please ifnd my web.xml below


                              <?xml version="1.0" encoding="UTF-8"?>
                              <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="WebApp_1236806764494" version="2.4" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
                              <display-name>Test Data Platform Workbench</display-name>
                              <description>Test Data Platform Workbench</description>
                              <context-param>
                              <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
                              <param-value>server</param-value>
                              </context-param>
                              <context-param>
                              <param-name>javax.faces.application.CONFIG_FILES</param-name>
                              <param-value>/WEB-INF/faces-config.xml</param-value>
                              </context-param>
                              <context-param>
                              <param-name>com.sun.faces.validateXml</param-name>
                              <param-value>true</param-value>
                              </context-param>
                              <context-param>
                              <param-name>com.sun.faces.verifyObjects</param-name>
                              <param-value>false</param-value>
                              </context-param>
                              <context-param>
                              <param-name>tree.control.images</param-name>
                              <param-value>/images</param-value>
                              </context-param>
                              <context-param>
                              <param-name>org.richfaces.SKIN</param-name>
                              <param-value>blueSky</param-value>
                              </context-param>
                              <!-- <filter>
                              <filter-name>icLogin</filter-name>
                              <filter-class>com.equifax.ic.security.web.filter.LoginUrlPassthroughFilter</filter-class>
                              </filter>
                              <filter>
                              <filter-name>Agent</filter-name>
                              <filter-class>com.sun.identity.agents.filter.AmAgentFilter</filter-class>
                              </filter>
                              <filter>
                              <filter-name>ThreadScopeEnabler</filter-name>
                              <filter-class>com.equifax.ic.web.ThreadScopeEnablerFilter</filter-class>
                              </filter>
                              <filter>
                              <filter-name>ProtectedPageFilter</filter-name>
                              <filter-class>com.equifax.ic.security.web.filter.ProtectedPageFilter</filter-class>
                              </filter> -->
                              <filter>
                              <filter-name>ThreadScopeEnabler</filter-name>
                              <filter-class>com.equifax.ic.web.ThreadScopeEnablerFilter</filter-class>
                              </filter>
                              <filter>
                              <filter-name>SystemOutFilter</filter-name>
                              <filter-class>com.equifax.ic.tdp.jsf.util.SysOutFilter</filter-class>
                              </filter>
                              <filter>
                              <display-name>RichFaces Filter</display-name>
                              <filter-name>richfaces</filter-name>
                              <filter-class>org.ajax4jsf.Filter</filter-class>
                              </filter>

                              <!-- <filter-mapping>
                              <filter-name>icLogin</filter-name>
                              <url-pattern>/search/*</url-pattern>
                              </filter-mapping>
                              <filter-mapping>
                              <filter-name>icLogin</filter-name>
                              <url-pattern>/global/*</url-pattern>
                              </filter-mapping>
                              <filter-mapping>
                              <filter-name>icLogin</filter-name>
                              <url-pattern>/gen/*</url-pattern>
                              </filter-mapping>
                              <filter-mapping>
                              <filter-name>ThreadScopeEnabler</filter-name>
                              <url-pattern>/*</url-pattern>
                              </filter-mapping>
                              <filter-mapping>
                              <filter-name>Agent</filter-name>
                              <url-pattern>/search/*</url-pattern>
                              </filter-mapping>
                              <filter-mapping>
                              <filter-name>Agent</filter-name>
                              <url-pattern>/global/*</url-pattern>
                              </filter-mapping>
                              <filter-mapping>
                              <filter-name>Agent</filter-name>
                              <url-pattern>/gen/*</url-pattern>
                              </filter-mapping>
                              <filter-mapping>
                              <filter-name>ProtectedPageFilter</filter-name>
                              <url-pattern>/search/*</url-pattern>
                              </filter-mapping>
                              <filter-mapping>
                              <filter-name>ProtectedPageFilter</filter-name>
                              <url-pattern>/global/*</url-pattern>
                              </filter-mapping>
                              <filter-mapping>
                              <filter-name>ProtectedPageFilter</filter-name>
                              <url-pattern>/gen/*</url-pattern>
                              </filter-mapping> -->
                              <filter-mapping>
                              <filter-name>ThreadScopeEnabler</filter-name>
                              <url-pattern>/*</url-pattern>
                              </filter-mapping>
                              <filter-mapping>
                              <filter-name>SystemOutFilter</filter-name>
                              <url-pattern>/*</url-pattern>
                              </filter-mapping>
                              <filter-mapping>
                              <filter-name>richfaces</filter-name>
                              <servlet-name>Faces Servlet</servlet-name>
                              <dispatcher>REQUEST</dispatcher>
                              <dispatcher>FORWARD</dispatcher>
                              <dispatcher>INCLUDE</dispatcher>
                              </filter-mapping>

                              <servlet id="Servlet_1">
                              <servlet-name>InitializationServlet</servlet-name>
                              <servlet-class>com.equifax.aspire.infrastructure.kernel.web.InitializationServlet</servlet-class>
                              <init-param id="InitParam_1">
                              <param-name>initializationClasses</param-name>
                              <param-value>com.equifax.ic.core.kernel.impl.InterConnectSystemInitializer</param-value>
                              </init-param>
                              <init-param id="InitParam_2">
                              <param-name>requireCleanStart</param-name>
                              <param-value>false</param-value>
                              </init-param>
                              <load-on-startup>5</load-on-startup>
                              </servlet>
                              <!-- Faces Servlet -->
                              <servlet>
                              <servlet-name>Faces Servlet</servlet-name>
                              <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
                              <load-on-startup>6</load-on-startup>
                              </servlet>

                              <servlet-mapping id="ServletMapping_1">
                              <servlet-name>InitializationServlet</servlet-name>
                              <url-pattern>/initialization</url-pattern>
                              </servlet-mapping>

                              <!-- Faces Servlet Mapping -->
                              <servlet-mapping>
                              <servlet-name>Faces Servlet</servlet-name>
                              <url-pattern>*.faces</url-pattern>
                              </servlet-mapping>
                              <welcome-file-list>
                              <welcome-file>global/index.jsp</welcome-file>
                              </welcome-file-list>
                              <error-page>
                              <exception-type>java.lang.Throwable</exception-type>
                              <location>/global/errorpage.jsp</location>
                              </error-page>
                              <error-page>
                              <error-code>500</error-code>
                              <location>/global/errorpage.jsp</location>
                              </error-page>
                              <error-page>
                              <error-code>404</error-code>
                              <location>/global/errorpage.jsp</location>
                              </error-page>
                              <!--
                              <resource-ref>
                              <res-ref-name>jdbc/testDataRepoDS</res-ref-name>
                              <res-type>javax.sql.DataSource</res-type>
                              <res-auth>Container</res-auth>
                              </resource-ref>
                              -->
                              </web-app>


                              • 13. Re: Problems while migrating from richfaces 3.0 to richfaces
                                rajesha Indurthi Newbie

                                Hi there,
                                Iwould luv to debug and see whta is going wrong that Iam not able to use richfaces 3.1.6. Please find my web.xml below

                                <?xml version="1.0" encoding="UTF-8"?>
                                <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="WebApp_1236806764494" version="2.4" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
                                <display-name>Test Data Platform Workbench</display-name>
                                Test Data Platform Workbench
                                <context-param>
                                <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
                                <param-value>server</param-value>
                                </context-param>
                                <context-param>
                                <param-name>javax.faces.application.CONFIG_FILES</param-name>
                                <param-value>/WEB-INF/faces-config.xml</param-value>
                                </context-param>
                                <context-param>
                                <param-name>com.sun.faces.validateXml</param-name>
                                <param-value>true</param-value>
                                </context-param>
                                <context-param>
                                <param-name>com.sun.faces.verifyObjects</param-name>
                                <param-value>false</param-value>
                                </context-param>
                                <context-param>
                                <param-name>tree.control.images</param-name>
                                <param-value>/images</param-value>
                                </context-param>
                                <context-param>
                                <param-name>org.richfaces.SKIN</param-name>
                                <param-value>blueSky</param-value>
                                </context-param>
                                <!--
                                <filter-name>icLogin</filter-name>
                                <filter-class>com.equifax.ic.security.web.filter.LoginUrlPassthroughFilter</filter-class>


                                <filter-name>Agent</filter-name>
                                <filter-class>com.sun.identity.agents.filter.AmAgentFilter</filter-class>


                                <filter-name>ThreadScopeEnabler</filter-name>
                                <filter-class>com.equifax.ic.web.ThreadScopeEnablerFilter</filter-class>


                                <filter-name>ProtectedPageFilter</filter-name>
                                <filter-class>com.equifax.ic.security.web.filter.ProtectedPageFilter</filter-class>
                                -->

                                <filter-name>ThreadScopeEnabler</filter-name>
                                <filter-class>com.equifax.ic.web.ThreadScopeEnablerFilter</filter-class>


                                <filter-name>SystemOutFilter</filter-name>
                                <filter-class>com.equifax.ic.tdp.jsf.util.SysOutFilter</filter-class>


                                <display-name>RichFaces Filter</display-name>
                                <filter-name>richfaces</filter-name>
                                <filter-class>org.ajax4jsf.Filter</filter-class>


                                <!-- <filter-mapping>
                                <filter-name>icLogin</filter-name>
                                <url-pattern>/search/*</url-pattern>
                                </filter-mapping>
                                <filter-mapping>
                                <filter-name>icLogin</filter-name>
                                <url-pattern>/global/*</url-pattern>
                                </filter-mapping>
                                <filter-mapping>
                                <filter-name>icLogin</filter-name>
                                <url-pattern>/gen/*</url-pattern>
                                </filter-mapping>
                                <filter-mapping>
                                <filter-name>ThreadScopeEnabler</filter-name>
                                <url-pattern>/*</url-pattern>
                                </filter-mapping>
                                <filter-mapping>
                                <filter-name>Agent</filter-name>
                                <url-pattern>/search/*</url-pattern>
                                </filter-mapping>
                                <filter-mapping>
                                <filter-name>Agent</filter-name>
                                <url-pattern>/global/*</url-pattern>
                                </filter-mapping>
                                <filter-mapping>
                                <filter-name>Agent</filter-name>
                                <url-pattern>/gen/*</url-pattern>
                                </filter-mapping>
                                <filter-mapping>
                                <filter-name>ProtectedPageFilter</filter-name>
                                <url-pattern>/search/*</url-pattern>
                                </filter-mapping>
                                <filter-mapping>
                                <filter-name>ProtectedPageFilter</filter-name>
                                <url-pattern>/global/*</url-pattern>
                                </filter-mapping>
                                <filter-mapping>
                                <filter-name>ProtectedPageFilter</filter-name>
                                <url-pattern>/gen/*</url-pattern>
                                </filter-mapping> -->
                                <filter-mapping>
                                <filter-name>ThreadScopeEnabler</filter-name>
                                <url-pattern>/*</url-pattern>
                                </filter-mapping>
                                <filter-mapping>
                                <filter-name>SystemOutFilter</filter-name>
                                <url-pattern>/*</url-pattern>
                                </filter-mapping>
                                <filter-mapping>
                                <filter-name>richfaces</filter-name>
                                <servlet-name>Faces Servlet</servlet-name>
                                REQUEST
                                FORWARD
                                INCLUDE
                                </filter-mapping>


                                <servlet-name>InitializationServlet</servlet-name>
                                <servlet-class>com.equifax.aspire.infrastructure.kernel.web.InitializationServlet</servlet-class>
                                <init-param id="InitParam_1">
                                <param-name>initializationClasses</param-name>
                                <param-value>com.equifax.ic.core.kernel.impl.InterConnectSystemInitializer</param-value>
                                </init-param>
                                <init-param id="InitParam_2">
                                <param-name>requireCleanStart</param-name>
                                <param-value>false</param-value>
                                </init-param>
                                <load-on-startup>5</load-on-startup>

                                <!-- Faces Servlet -->

                                <servlet-name>Faces Servlet</servlet-name>
                                <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
                                <load-on-startup>6</load-on-startup>


                                <servlet-mapping id="ServletMapping_1">
                                <servlet-name>InitializationServlet</servlet-name>
                                <url-pattern>/initialization</url-pattern>
                                </servlet-mapping>

                                <!-- Faces Servlet Mapping -->
                                <servlet-mapping>
                                <servlet-name>Faces Servlet</servlet-name>
                                <url-pattern>*.faces</url-pattern>
                                </servlet-mapping>
                                <welcome-file-list>
                                <welcome-file>global/index.jsp</welcome-file>
                                </welcome-file-list>
                                <error-page>
                                <exception-type>java.lang.Throwable</exception-type>
                                /global/errorpage.jsp
                                </error-page>
                                <error-page>
                                <error-code>500</error-code>
                                /global/errorpage.jsp
                                </error-page>
                                <error-page>
                                <error-code>404</error-code>
                                /global/errorpage.jsp
                                </error-page>
                                <!--
                                <resource-ref>
                                <res-ref-name>jdbc/testDataRepoDS</res-ref-name>
                                <res-type>javax.sql.DataSource</res-type>
                                <res-auth>Container</res-auth>
                                </resource-ref>
                                -->
                                </web-app>


                                Let me know if you need anything frm me