Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2_12
    • Fix Version/s: 1.2_13-b01
    • Component/s: None
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: GlassFish 3.1 HEAD

    • Issuezilla Id:
      1,079

      Description

      As the environment doesn't fully support JSP 2.1/Servlet 2.5, it fails with the
      exception below. I guess the isJspTwoOne() check needs to be stronger?

      WARNING: failed
      com.google.apphosting.utils.jetty.DevAppEngineWebAppContext@115d533d

      {/,/Users/pmuir/workspace/org.jboss.webbeans.examples.parent/gae/war}

      java.lang.AbstractMethodError:
      javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;
      at
      com.sun.faces.config.ConfigureListener.registerELResolverAndListenerWithJsp(ConfigureListener.java:557)
      at
      com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:212)
      at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:530)
      at org.mortbay.jetty.servlet.Context.startContext(Context.java:135)
      at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218)
      at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500)
      at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
      at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117)
      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
      at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117)
      at org.mortbay.jetty.Server.doStart(Server.java:217)
      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
      at
      com.google.appengine.tools.development.JettyContainerService.startContainer(JettyContainerService.java:147)
      at
      com.google.appengine.tools.development.AbstractContainerService.startup(AbstractContainerService.java:115)
      at
      com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerImpl.java:205)
      at
      com.google.appengine.tools.development.DevAppServerMain$StartAction.apply(DevAppServerMain.java:136)
      at com.google.appengine.tools.util.Parser$ParseResult.applyArgs(Parser.java:48)
      at
      com.google.appengine.tools.development.DevAppServerMain.<init>(DevAppServerMain.java:90)
      at
      com.google.appengine.tools.development.DevAppServerMain.main(DevAppServerMain.java:84)

        Activity

        Hide
        pmuir added a comment -

        Easy workaround - add

        <context-param>
        <param-name>com.sun.faces.expressionFactory</param-name>
        <param-value>com.sun.el.ExpressionFactoryImpl</param-value>
        </context-param>

        to web.xml to force Mojarra not to run that code

        Show
        pmuir added a comment - Easy workaround - add <context-param> <param-name>com.sun.faces.expressionFactory</param-name> <param-value>com.sun.el.ExpressionFactoryImpl</param-value> </context-param> to web.xml to force Mojarra not to run that code
        Hide
        Ryan Lubke added a comment -

        Assigned

        Show
        Ryan Lubke added a comment - Assigned
        Hide
        Ryan Lubke added a comment -

        Created an attachment (id=827)
        Proposed Changes (ver 1)

        Show
        Ryan Lubke added a comment - Created an attachment (id=827) Proposed Changes (ver 1)
        Hide
        driscoll added a comment -

        r=driscoll

        You made it look easy, but I shudder to think how long that would have taken me
        to code.

        Show
        driscoll added a comment - r=driscoll You made it look easy, but I shudder to think how long that would have taken me to code.
        Hide
        Ryan Lubke added a comment -

        Changes applied.

        Show
        Ryan Lubke added a comment - Changes applied.
        Hide
        Manfred Riem added a comment -

        Closing issue out

        Show
        Manfred Riem added a comment - Closing issue out

          People

          • Assignee:
            Ryan Lubke
            Reporter:
            pmuir
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: