Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0-M4
    • Fix Version/s: None
    • Component/s: Tomcat
    • Security Level: public (Regular issues)
    • Labels:
      None
    • Environment:

      Windows

      Description

      EL not processing bean info properly.

      1. Here is some of the code
      <title>Title? $

      {test.name}</title> <---Not showing correct text
      </head>
      <body>

      <f:view>
      <h:form>
      <h:inputText id="hello" value="#{test.name}

      "> <---This shows correctly
      </h:inputText>
      </h:form>
      </f:view></body>

      2. It works fine in just plain Tomcat 6 (using sun jsf/jstl)

        Activity

        Hide
        Bobby Hargett added a comment -

        Here is a war file to show the problem.

        Show
        Bobby Hargett added a comment - Here is a war file to show the problem.
        Hide
        Donald Woods added a comment -

        I just tried your war on the trunk build I have from yesterday on WinXP, and I'm getting a 500 error -

        http://localhost:8080/wake/Welcome.jsp

        HTTP Status 500 -
        --------------------------------------------------------------------------------
        type Exception report
        message
        description The server encountered an internal error () that prevented it from fulfilling this request.
        exception
        org.apache.jasper.JasperException: FacesContext not found
        org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:423)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
        note The full stack trace of the root cause is available in the Apache Tomcat/6.0-snapshot logs.

        geronimo.log has -
        16:16:40,484 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
        org.apache.jasper.JasperException: FacesContext not found
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:423)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSubjectValve.java:56)
        at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:333)
        at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:47)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:543)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:238)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
        at java.lang.Thread.run(Thread.java:803)

        Show
        Donald Woods added a comment - I just tried your war on the trunk build I have from yesterday on WinXP, and I'm getting a 500 error - http://localhost:8080/wake/Welcome.jsp HTTP Status 500 - -------------------------------------------------------------------------------- type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: FacesContext not found org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:423) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) javax.servlet.http.HttpServlet.service(HttpServlet.java:806) note The full stack trace of the root cause is available in the Apache Tomcat/6.0-snapshot logs. geronimo.log has - 16:16:40,484 ERROR [ [jsp] ] Servlet.service() for servlet jsp threw exception org.apache.jasper.JasperException: FacesContext not found at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:423) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSubjectValve.java:56) at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:333) at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:47) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:543) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:238) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445) at java.lang.Thread.run(Thread.java:803)
        Hide
        Bobby Hargett added a comment -

        I am not sure, I cleaned out my war files and reran it and it works fine.

        This error can be fixed by making sure jstl.jar and standard.jar are included in the xml. In 2.0M4 I don't see standard as a common lib, but it still works.

        Show
        Bobby Hargett added a comment - I am not sure, I cleaned out my war files and reran it and it works fine. This error can be fixed by making sure jstl.jar and standard.jar are included in the xml. In 2.0M4 I don't see standard as a common lib, but it still works.

          People

          • Assignee:
            Unassigned
            Reporter:
            Bobby Hargett
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development