Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6677405
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:06:57+00:00 2026-05-26T04:06:57+00:00

Sorry for a vague title but it’s hard to be more specific. Platform used:

  • 0

Sorry for a vague title but it’s hard to be more specific.

Platform used:
Eclipse Helios, Tomcat 6, Maven 2.2.1

Background/ Problem: I am doing a pilot for a conversion from JSF 1.2 to JSF2. The server starts fine and loads the converted login page and when doing so it connects to the bean. However when the login form is submitted it never reaches the bean and goes 404 instead and leaves no strack trace behind. The page it’s supposed to navigate to is itself so it’s not a question about not reaching another page, you can basically press F5 and it comes back asking for username and password. I cant figure out why it goes 404.

web.xml:

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee web-app_2_5.xsd"
    id="YourWebappID" version="2.5">

    <context-param>
        <param-name>javax.faces.CONFIG_FILES</param-name>
        <param-value>
            /WEB-INF/faces-config-logic.xml,
            /WEB-INF/ap-faces-config.xml,
            /WEB-INF/bup-faces-config.xml,
            /WEB-INF/bup-faces-config-logic.xml,
            /WEB-INF/qt-faces-config.xml,
            /WEB-INF/bs-faces-config.xml,
            /WEB-INF/bs-faces-config-logic.xml,
            /WEB-INF/fp/fp-faces-config-controller.xml,
            /WEB-INF/fp/fp-faces-config-service.xml,
            /WEB-INF/fp/fp-faces-config-dao.xml,
            /WEB-INF/fp/fp-navigation-rules.xml,
            /WEB-INF/pm/pm-faces-config-controller.xml,
            /WEB-INF/pm/pm-faces-config-service.xml,
            /WEB-INF/pm/pm-faces-config-dao.xml,
            /WEB-INF/pm/pm-navigation-rules.xml,
            /WEB-INF/rp/rp-faces-config-controller.xml,
            /WEB-INF/rp/rp-faces-config-service.xml,
            /WEB-INF/rp/rp-faces-config-dao.xml,
            /WEB-INF/rp/rp-navigation-rules.xml,
            /WEB-INF/ap/ap-faces-config-controller.xml,
            /WEB-INF/ap/ap-faces-config-service.xml,
            /WEB-INF/ap/ap-faces-config-dao.xml,
            /WEB-INF/ap/ap-navigation-rules.xml
    </param-value>
        <description>
            JSF config files beside faces-config.xml
    </description>
    </context-param>

    <context-param>
        <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
        <param-value>client</param-value>
        <description>
            State saving method: "client" or "server" (= default)
            See
            JSF Specification 2.5.2
      </description>
    </context-param>

    <context-param>
        <param-name>org.apache.shale.view.VIEW_CONTROLLER_MAPPER</param-name>
        <param-value>com.wmdata.raindance.ap.ui.RDViewControllerMapper</param-value>
    </context-param>

    <!-- Rest -->
    <context-param>
        <param-name>resteasy.scan</param-name>
        <param-value>true</param-value>
    </context-param>

    <!-- Rest -->
    <context-param>
        <param-name>resteasy.servlet.mapping.prefix</param-name>
        <param-value>/resteasy</param-value>
    </context-param>

    <!-- Rest -->
    <context-param>
        <param-name>resteasy.resource.method-interceptors</param-name>
        <param-value>
            org.jboss.resteasy.core.ResourceMethodSecurityInterceptor
      </param-value>
    </context-param>

    <!-- Resource location directory of Birt resources used to locate images -->
    <context-param>
        <param-name>BIRT_RESOURCE_PATH</param-name>
        <param-value>image/default</param-value>
    </context-param>

    <!--filter> <filter-name>SessionFilter</filter-name> <filter-class>com.wmdata.raindance.portal.auth.SessionFilter</filter-class> 
        </filter -->

    <listener>
        <listener-class>com.wmdata.raindance.portal.config.InitApplication</listener-class>
    </listener>
    <listener>
        <listener-class>com.wmdata.raindance.portal.menu.PGMenuFactory</listener-class>
    </listener>
    <listener>
        <listener-class>com.wmdata.raindance.portal.config.InitAP</listener-class>
    </listener>
    <!-- Rest -->
    <listener>
        <listener-class>org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap</listener-class>
    </listener>

    <!-- Faces Servlet -->
    <servlet>
        <servlet-name>Streamdoc</servlet-name>
        <servlet-class>com.wmdata.raindance.servlets.Streamdoc</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>StreamAppendix</servlet-name>
        <servlet-class>com.wmdata.raindance.servlets.StreamAppendix</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>Movedoc</servlet-name>
        <servlet-class>com.wmdata.raindance.servlets.Movedoc</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>GetTicket</servlet-name>
        <servlet-class>com.wmdata.raindance.portal.auth.GetTicket</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>ExtRepositoryReportRequest</servlet-name>
        <servlet-class>com.wmdata.raindance.bup.servlets.ExtRepositoryReportRequest</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>PurchaseCommission</servlet-name>
        <servlet-class>com.wmdata.raindance.servlets.PurchaseCommission</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>BirtResourceServlet</servlet-name>
        <servlet-class>com.wmdata.raindance.bup.birt.BirtResourceServlet</servlet-class>
    </servlet>

    <!-- Rest -->
    <servlet>
        <servlet-name>Resteasy</servlet-name>
        <servlet-class>org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher</servlet-class>
    </servlet>

    <!-- Use extensions mapping for Faces servlet -->   
  <context-param>
    <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
    <param-value>.xhtml</param-value>
  </context-param>
  <context-param>
    <param-name>facelets.DEVELOPMENT</param-name>
    <param-value>true</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-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>*.jsf</url-pattern>
    <url-pattern>/faces/*</url-pattern>
  </servlet-mapping>

    <!-- Application servlets -->
    <servlet-mapping>
        <servlet-name>Streamdoc</servlet-name>
        <url-pattern>/rdservlets/Streamdoc</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>StreamAppendix</servlet-name>
        <url-pattern>/rdservlets/StreamAppendix</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>Movedoc</servlet-name>
        <url-pattern>/rdservlets/Movedoc</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>GetTicket</servlet-name>
        <url-pattern>/rdservlets/GetTicket</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>ExtRepositoryReportRequest</servlet-name>
        <url-pattern>/rdservlets/ExtRepositoryReportRequest</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>PurchaseCommission</servlet-name>
        <url-pattern>/rdservlets/PurchaseCommission</url-pattern>
    </servlet-mapping>

    <!-- Rest -->
    <servlet-mapping>
        <servlet-name>Resteasy</servlet-name>
        <url-pattern>/resteasy/*</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>BirtResourceServlet</servlet-name>
        <url-pattern>/rdservlets/BirtResourceServlet</url-pattern>
    </servlet-mapping>

    <session-config>
        <!-- 30 minutes -->
        <session-timeout>30</session-timeout>
    </session-config>


    <!-- Specifies which files the web app shall look for as default -->
    <!-- when no file has been specified in the URL -->
    <welcome-file-list id="default">
        <welcome-file>index.html</welcome-file>
        <welcome-file>index.htm</welcome-file>
        <welcome-file>default.html</welcome-file>
        <welcome-file>default.htm</welcome-file>
    </welcome-file-list>

<!--    <error-page>
        Handle all exceptions in the portal application
        <exception-type>java.lang.Throwable</exception-type>
        <location>/portal/noauth/showError.jsp</location>
    </error-page> -->

    <!-- JSP Component Tag library from Bording -->
    <taglib>
        <taglib-uri>http://java.agetor.com/jspc</taglib-uri>
        <taglib-location>/WEB-INF/jspc.tld</taglib-location>
    </taglib>
    <!-- Agetor Tag library, may only be used in Anskaffningsportalen -->
    <taglib>
        <taglib-uri>http://java.agetor.com/agetor</taglib-uri>
        <taglib-location>/WEB-INF/inside.tld</taglib-location>
    </taglib>
    <!-- Another mapping used by Agetor Control Center -->
    <taglib>
        <taglib-uri>/inside.tld</taglib-uri>
        <taglib-location>/WEB-INF/inside.tld</taglib-location>
    </taglib>
        <context-param>
        <param-name>facelets.LIBRARIES</param-name>
        <param-value>
        /META-INF/elfunctions.taglib.xml
    </param-value>
    </context-param>

</web-app>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T04:06:57+00:00Added an answer on May 26, 2026 at 4:06 am

    This was resolved by removing the shale-view component from the Apache shale framework

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Sorry for the vague title, but this is kind of hard to put into
Sorry for the vague question title, but I'm having a hard time trying to
Sorry about a vague title, but here's what i am trying to do. I
Sorry about the vague title but I have a servlet with the following mapping
Sorry for the vague title but I really didn't know what title to give
Sorry for the vague title, but I've been trying to nail this for a
Sorry about the vague title, but i didnt know how to ask the question
Sorry for the vague title, but I'm not sure what this is called. Say
Sorry for the vague title, but I wasn't sure how to summarize this in
Sorry for the vague title, but I'm not exactly sure how I can explain

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.