1 Reply Latest reply on Jul 17, 2012 3:12 AM by Federico Luna

    Jboss Jasper exception running web application under ubuntu 4 jboss

    Federico Luna Newbie

      Hi everyone,

       

      I´m stucked on that problem.

       

      We are deploying a web application under JBoss 5.0.1, using JSF 1.2, richfaces 3.3.1., JAVA 1.6.0.16

       

      The application run ok on our windows JBOSS, but our production enviroment is a Ubuntu 10.0.4, and for testing pourpose, we generate a Virtual Machine with VirtualBox and install Ubuntu.

       

      Once we installed JBOSS and the application EARS and run it into that server, when we access the application (to the login page), JBOSS it´s throwing the next exception:

       

      Exception

       

      org.apache.jasper.JasperException: The absolute uri: http://richfaces.org/a4j cannot be resolved in either web.xml or the jar files deployed with this application

       

      2012-06-18 12:14:32,201 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/NA5Admin].[jsp]] (http-10.10.93.10-8443-6) Servlet.service() for servlet jsp threw exception

      org.apache.jasper.JasperException: The absolute uri: http://richfaces.org/a4j cannot be resolved in either web.xml or the jar files deployed with this application

                at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:51)

                at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)

                at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:116)

                at org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:313)

                at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:148)

                at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:429)

                at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:491)

                at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1438)

                at org.apache.jasper.compiler.Parser.parse(Parser.java:137)

                at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:255)

                at org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)

                at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:171)

                at org.apache.jasper.compiler.Compiler.compile(Compiler.java:333)

                at org.apache.jasper.compiler.Compiler.compile(Compiler.java:313)

                at org.apache.jasper.compiler.Compiler.compile(Compiler.java:300)

                at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)

                at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:312)

                at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)

                at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378)

                at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:99)

                at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.ui.SessionFixationProtectionFilter.doFilterHttp(SessionFixationProtectionFilter.java:52)

                at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)

                at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105)

                at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.ui.rememberme.RememberMeProcessingFilter.doFilterHttp(RememberMeProcessingFilter.java:116)

                at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91)

                at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174)

                at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:277)

                at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.ui.logout.LogoutFilter.doFilterHttp(LogoutFilter.java:89)

                at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:192)

                at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175)

                at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236)

                at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

                at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)

                at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:444)

                at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:382)

                at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:310)

                at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)

                at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:468)

                at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:140)

                at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)

                at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)

                at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)

                at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)

                at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)

                at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

                at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

                at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)

                at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)

                at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368)

                at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378)

                at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)

                at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.ui.SessionFixationProtectionFilter.doFilterHttp(SessionFixationProtectionFilter.java:67)

                at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)

                at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105)

                at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.ui.rememberme.RememberMeProcessingFilter.doFilterHttp(RememberMeProcessingFilter.java:116)

                at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91)

                at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174)

                at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:277)

                at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.ui.logout.LogoutFilter.doFilterHttp(LogoutFilter.java:89)

                at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)

                at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175)

                at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236)

                at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

                at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)

                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

                at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)

                at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)

                at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)

                at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)

                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

                at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)

                at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567)

                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)

                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)

                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)

                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

                at java.lang.Thread.run(Thread.java:619)



       

      I have read a lot of threads about this exception, but i couldn´t find the solution.

       

      This is our  web.xml and faces_config.xml:

       

      Web.xml

      <?xml version="1.0" encoding="UTF-8"?>

      <web-app id="WebApp_ID" version="2.5"

                xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

                xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">

       

       

                <display-name>Net Acquirer 5.0 Admin Web GUI</display-name>

                <context-param>

                          <param-name>contextConfigLocation</param-name>

                          <param-value>

                                    classpath:spring/ADMAppContext-Spring2.0.xml,

                                    classpath:spring/ADMAppContext-DAOs.xml,

                                    classpath:spring/ADMAppContext-Services.xml,

                                    classpath:spring/ADMApplicationContext-Base.xml,

                                    classpath:spring/ADMApplicationContext-security.xml

                          </param-value>

                </context-param>

       

                <context-param>

                          <param-name>log4jConfigLocation</param-name>

                          <param-value>classpath:na5_admin_log4j.properties</param-value>

                </context-param>

                <context-param>

                          <param-name>log4jExposeWebAppRoot</param-name>

                          <param-value>false</param-value>

                </context-param>

       

                <context-param>

                          <description>State saving method: "client" or "server" (= default) See JSF Specification 2.5.2</description>

                          <param-name>javax.faces.STATE_SAVING_METHOD</param-name>

                          <param-value>server</param-value>

                </context-param>

                <context-param>

                          <param-name>org.richfaces.SKIN</param-name>

                          <param-value>juan</param-value>

                </context-param>

                <context-param>

                          <param-name>org.richfaces.LoadScriptStrategy</param-name>

                          <param-value>ALL</param-value>

                </context-param>

                <context-param>

                          <param-name>org.richfaces.LoadStyleStrategy</param-name>

                          <param-value>ALL</param-value>

                </context-param>

       

       

                <context-param>

                          <param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name>

                          <param-value>true</param-value>

                </context-param>

                <context-param>

                          <param-name>org.apache.myfaces.PRETTY_HTML</param-name>

                          <param-value>true</param-value>

                </context-param>

                <context-param>

                          <param-name>org.apache.myfaces.AUTO_SCROLL</param-name>

                          <param-value>true</param-value>

                </context-param>

                   <context-param>

                          <description>

                                    When set to true(by default it is), Chartlet servlet is used to generate the chart, otherwise

                                    a phaselistener is used

                          </description>

                          <param-name>net.sf.jsfcomp.chartcreator.USE_CHARTLET</param-name>

                          <param-value>true</param-value>

                </context-param>

       

       

                <filter>

                          <display-name>RichFaces Filter</display-name>

                          <filter-name>richfaces</filter-name>

                          <filter-class>org.ajax4jsf.Filter</filter-class>

                </filter>

       

       

                <filter>

                          <filter-name>springSecurityFilterChain</filter-name>

                          <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>

                </filter>

       

       

                <filter>

                          <filter-name>MyFacesExtensionsFilter</filter-name>

                          <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>

                          <init-param>

                                    <param-name>maxFileSize</param-name>

                                    <param-value>20m</param-value>

                          </init-param>

                </filter>

       

       

                <filter-mapping>

                          <filter-name>springSecurityFilterChain</filter-name>

                          <url-pattern>/*</url-pattern>

                          <dispatcher>FORWARD</dispatcher>

                          <dispatcher>REQUEST</dispatcher>

                </filter-mapping>

       

       

                <filter-mapping>

                          <filter-name>richfaces</filter-name>

                          <servlet-name>Faces Servlet</servlet-name>

                </filter-mapping>

       

       

                <!--

                          extension mapping for adding <script/>, <link/>, and other resource

                          tags to JSF-pages

                -->

                <filter-mapping>

                          <filter-name>MyFacesExtensionsFilter</filter-name>

                          <!--

                                    servlet-name must match the name of your

                                    javax.faces.webapp.FacesServlet entry

                          -->

                          <servlet-name>Faces Servlet</servlet-name>

                </filter-mapping>

                <!--

                          extension mapping for serving page-independent resources (javascript,

                          stylesheets, images, etc.)

                -->

                <filter-mapping>

                          <filter-name>MyFacesExtensionsFilter</filter-name>

                          <url-pattern>/faces/myFacesExtensionResource/*</url-pattern>

                </filter-mapping>

                <!--

                          extension mapping for adding <script/>, <link/>, and other resource

                          tags to JSF-pages

                -->

                <filter-mapping>

                          <filter-name>MyFacesExtensionsFilter</filter-name>

                          <url-pattern>/faces/*</url-pattern>

                </filter-mapping>

                <listener>

                          <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>

                </listener>

                <listener>

                          <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>

                </listener>

       

       

       

                <listener>

                          <listener-class>com.sun.faces.config.ConfigureListener</listener-class>

                </listener>

                <servlet>

                          <servlet-name>Faces Servlet</servlet-name>

                          <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>

                          <load-on-startup>2</load-on-startup>

                </servlet>

                <servlet>

                          <servlet-name>Chartlet</servlet-name>

                          <servlet-class>net.sf.jsfcomp.chartcreator.Chartlet</servlet-class>

                          <load-on-startup>1</load-on-startup>

                </servlet>

       

                <servlet> 

          <servlet-name>Resource Servlet</servlet-name> 

                    <servlet-class> org.primefaces.resource.ResourceServlet </servlet-class> 

            <load-on-startup>0</load-on-startup>

                </servlet>

       

                <servlet> 

                    <servlet-name>FileServer</servlet-name> 

                    <servlet-class>es.tasgroup.na5.admin.reports.FileServerServlet</servlet-class> 

                </servlet> 

                <!-- ... --> 

       

       

       

                <error-page>

              <exception-type>java.lang.Exception</exception-type>

              <location>/jsp/index.html</location>

          </error-page>

          <error-page>

              <error-code>403</error-code>

              <location>/jsp/index.html</location>

          </error-page>

          <error-page>

              <error-code>500</error-code>

              <location>/error.html</location>

          </error-page>

       

       

                <session-config>

                          <session-timeout>10</session-timeout>

                </session-config>

       

                <servlet-mapping> 

                    <servlet-name>FileServer</servlet-name> 

                    <url-pattern>/FileServer</url-pattern> 

                </servlet-mapping> 

       

                <servlet-mapping>

                          <servlet-name>Faces Servlet</servlet-name>

                          <url-pattern>*.jsf</url-pattern>

                </servlet-mapping>

                <servlet-mapping>

                          <servlet-name>Chartlet</servlet-name>

                          <url-pattern>*.chart</url-pattern>

                </servlet-mapping>

       

       

                <servlet-mapping>

                          <servlet-name>Resource Servlet</servlet-name>

                          <url-pattern>/primefaces_resource/*</url-pattern>

                </servlet-mapping>

       

                <welcome-file-list>

                          <welcome-file>index.html</welcome-file>

                </welcome-file-list>

       

       

      </web-app>

       

      faces_config.xml

      <?xml version="1.0" encoding="UTF-8"?>

      <faces-config

      xmlns="http://java.sun.com/xml/ns/javaee"

      xmlns:xi="http://www.w3.org/2001/XInclude"

      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

      xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd" version="1.2">

        <application>

                            <el-resolver>org.springframework.web.jsf.el.SpringBeanFacesELResolver</el-resolver>

                          <message-bundle>na5admin</message-bundle>

                          <locale-config>

                                    <default-locale>es</default-locale>

                                    <supported-locale>en</supported-locale>

                                    <supported-locale>it</supported-locale>

                                    <supported-locale>nl</supported-locale>

                          </locale-config>

                </application>

                <navigation-rule>

                        <from-view-id>*</from-view-id>

                        <navigation-case>

                                  <from-outcome>loginOK</from-outcome>

                            <to-view-id>/jsp/menu.jsf</to-view-id>

                            <redirect />

                        </navigation-case>       

                </navigation-rule>

                <navigation-rule>

                        <from-view-id>*</from-view-id>

                        <navigation-case>

                                  <from-outcome>logout</from-outcome>

                            <to-view-id>/logout</to-view-id>

                            <redirect />

                        </navigation-case>       

                </navigation-rule>

                <navigation-rule>

                        <from-view-id>*</from-view-id>

                        <navigation-case>

                                  <from-outcome>unauthorized</from-outcome>

                            <to-view-id>/jsp/unauthorized.jsf</to-view-id>

                            <redirect />

                        </navigation-case>       

                </navigation-rule>

                <navigation-rule>

                        <from-view-id>*</from-view-id>

                        <navigation-case>

                                  <from-outcome>error</from-outcome>

                            <to-view-id>/jsp/error.jsf</to-view-id>

                            <redirect />

                        </navigation-case>       

                </navigation-rule>

                <navigation-rule>

                          <from-view-id>*</from-view-id>

                          <navigation-case>

                                    <from-outcome>PDFServlet</from-outcome>

                                    <to-view-id>/PDFServlet</to-view-id>

                                    <redirect />

                          </navigation-case>

                </navigation-rule>

       

                <!-- Managed Bean -->

                <managed-bean>

      ...

        </managed-bean>

       

                <managed-bean>

                          <managed-bean-name>treeStateController</managed-bean-name>

                          <managed-bean-class>es.tasgroup.na5.admin.utils.TreeStateController</managed-bean-class>

                          <managed-bean-scope>session</managed-bean-scope>

                </managed-bean>

       

      </faces-config>

       

      login.jsp

      <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>

      <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>

      <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>

      <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>

      <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>

      <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>

      <%@ taglib uri="http://primefaces.prime.com.tr/ui" prefix="p" %>

      <f:view locale="#{viewUtil.locale}">

      <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

      <html>

      <head>

        <script>

        if(window.top!=window.self){

                  window.top.location = "../login.jsf"

                  }

        function focusUserName(){

       

       

                            document.getElementById('formLogin:loginIn').focus();

                  }

        function onStart(){

       

       

                            document.getElementById('formLogin:imagenCabecera').src='./images/netAcq.gif';

                            document.getElementById('formLogin:submitButtom').disabled=true;

                  }

        function onStop(){

       

       

                            document.getElementById('formLogin:imagenCabecera').src='./images/Netacquirer_medium.png';

                            document.getElementById('formLogin:submitButtom').disabled=false;

                  }

       

       

        </script>

                            <script type="text/javascript" src="/NA5Admin/primefaces_resource/1.0.2/yui/utilities/utilities.js"></script>

                          <script type="text/javascript" src="/NA5Admin/primefaces_resource/1.0.2/jquery/jquery.js"></script>

                          <script type="text/javascript" src="/NA5Admin/primefaces_resource/1.0.2/jquery/plugins/jqprint/jquery.jqprint.0.3.js"></script>

                          <script type="text/javascript" src="/NA5Admin/primefaces_resource/1.0.2/primefaces/core/core.js"></script>

                          <p:resources/>

        <title>NA5 Administrator Console</title>

      <link rel='stylesheet' type='text/css'

                          href='./css/generalstyles.css' />

       

       

       

       

      <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>

      <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache"/>

      <META HTTP-EQUIV="Pragma" CONTENT="no-cache"/>

      <META HTTP-EQUIV="Expires" CONTENT="0"/>

      </head>

      <body onload="focusUserName();"  topmargin="0" leftmargin="0"

                marginwidth="0" marginheight="0">

       

       

                <h:panelGrid  columns="1">

                          <rich:column width="100%"  styleClass="generalCenterColumn" >

                                    <a4j:form id="formLogin" ajaxSubmit="true" ajaxSingle="true" reRender="panelMain">

                                              <rich:panel id='panelMain' style="text-align: -moz-center; border: 0;"  >

                                                        <h:panelGrid >

                                                                  <rich:spacer height="200"></rich:spacer>

                                                        </h:panelGrid>

                                                        <h:graphicImage id="imagenCabecera" value="./images/Netacquirer_medium.png"/>

       

                                                        <h:panelGrid id="panelErrores" border="0">

                                                                  <p:messages globalOnly="true"></p:messages>

                                                        </h:panelGrid>

       

                                                        <h:panelGrid  id="modalMensajesUsuarioPanel" style="text-align:right;" border="0"  width="10%"  columns="2">

                                                                  <h:outputLabel value="#{beanUsers.luser}: " styleClass="messageInfo"></h:outputLabel>

                                                                  <h:inputText   binding="#{loginBean.loginIn}" size="10" required="true" id="loginIn"/>

                                                                  <rich:spacer></rich:spacer>

                                                                  <rich:message for="loginInaa" styleClass="messageError" style="white-space:nowrap;"></rich:message>

                                                                  <h:outputLabel value="#{beanUsers.lpassword}: " styleClass="messageInfo"></h:outputLabel>

                                                                  <h:inputSecret id="pwdIn" binding="#{loginBean.pwdIn}" size="10" required="true"/>

                                                                  <rich:spacer></rich:spacer>

                                                                  <rich:message for="pwdIn" styleClass="messageError" style="white-space:nowrap;"></rich:message>

                                                                  <rich:spacer  ></rich:spacer>

                                                                  <a4j:commandButton id="submitButtom" type="submit" reRender="formLogin" value="#{beanLiterals.laccept}"  action="#{loginBean.doLogin}"></a4j:commandButton>

                                                        </h:panelGrid>

                                              </rich:panel>

                                    </a4j:form>

                                    <rich:modalPanel id="panelModalStatus" autosized="true">

                                              <h:graphicImage value="/images/netAcq.gif"

                                                        style="border: 0px;" >

                                              </h:graphicImage>

                                    </rich:modalPanel>

                                    <a4j:status id="commonstatus" onstart="onStart();" onstop="onStop();"/>

                          </rich:column>

                </h:panelGrid>

       

      </body>

      </html>

      </f:view>

       

       

      There is something missconfigured???

       

      Thanks in advance!!!

       

      Fede Luna