Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2011
    Posts
    2
    Rep Power
    0

    Default Error JSF tomcat 5.5.30

    Hello, I need urgent help ... I am with the
    following problem.

    I've posted a jsp page with jsf. I use tomcat 5.5.30 and
    when I try to access my page gives the following error:


    type Status report

    message / admin / login.jsf

    description The requested resource (/ admin / login.jsf) is not
    available.


    My question is this .. I read in some places not
    works on tomcat 5.5.30 ... true? I install 6. Me
    help please I'm desperate.

  2. #2
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    7

    Default

    Use the latest stable versions all the time unless there is a good reason why you should not.
    When you get the latest versions, try the most basic setups first.
    e.g Are you able to deploy a simple JSP web application on tomcat 6 (no JSF)?
    If you get that part right then get the JSF tutorial and see how to configure and deploy the most basic JSF application.
    Be checking the logs all the time for possible exceptions and only post if you can tell people which stage you got stuck on and what exception you got at that stage.

  3. #3
    Join Date
    Apr 2011
    Posts
    2
    Rep Power
    0

    Default

    I created a file hello.jsp only with a message and it ran without errors.

    Problem is when I try to use JSF.


    Follow my XML file:


    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.4" 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">
    <context-param>
    <param-name>com.sun.faces.verifyObjects</param-name>
    <param-value>false</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>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>client</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>
    <context-param>
    <param-name>diretorio_arquivo</param-name>
    <param-value>C:/programacao/java/strategy/analysesbi/build/web/arquivos/</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-mapping>
    <filter-name>richfaces</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    <dispatcher>REQUEST</dispatcher>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>INCLUDE</dispatcher>
    </filter-mapping>
    <servlet>
    <servlet-name>AutenticarEmpresa</servlet-name>
    <servlet-class>br.com.wesleybez.analysesbi.integracao.Auten ticarEmpresa</servlet-class>
    </servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>*.jsf</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>AutenticarEmpresa</servlet-name>
    <url-pattern>/AutenticarEmpresa</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>30</session-timeout>
    </session-config>
    <welcome-file-list>
    <welcome-file>forwardToJSF.jsp</welcome-file>
    </welcome-file-list>
    <taglib>
    <taglib-uri>http://java.sun.com/jstl/core_rt</taglib-uri>
    <taglib-location>/WEB-INF/lib/jstl.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>http://java.sun.com/jstl/core_rt</taglib-uri>
    <taglib-location>/WEB-INF/lib/standard.tld</taglib-location>
    </taglib>


    </web-app>

Similar Threads

  1. tomcat .war deploying error
    By karq in forum Java Servlet
    Replies: 1
    Last Post: 11-06-2010, 10:29 AM
  2. Tomcat Server Error
    By Ms.Ranjan in forum Advanced Java
    Replies: 2
    Last Post: 09-28-2010, 04:59 PM
  3. Tomcat error While compiling
    By Dieter in forum Java Servlet
    Replies: 0
    Last Post: 04-28-2010, 12:20 PM
  4. tomcat exception-error
    By Nick15 in forum Eclipse
    Replies: 2
    Last Post: 05-11-2007, 01:32 AM
  5. error Tomcat in eclipse
    By Marty in forum Eclipse
    Replies: 1
    Last Post: 05-06-2007, 04:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •