Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.5.1
    • Fix Version/s: 1.6DR#5, 1.6
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      Operating System: Windows XP
      Platform: PC

      Description

      even though we don't support Tomcat 6.0 yet, just logging this for discussion.

      noted in the forum: http://www.icefaces.org/JForum/posts/list/3145.page

      starts with incompatiblity with new el-impl: " java.lang.LinkageError: loader
      constraints violated when linking javax/el/ExpressionFactory class"

      replacing el-api.jar + jasper-el.jar in Tomcat lib gets one step further but
      still run into jdt-compiler problems:

      java.lang.NoSuchMethodError:
      org.eclipse.jdt.internal.compiler.CompilationResult.getProblems()[Lorg/eclipse/jdt/core/compiler/IProblem;
      at org.apache.jasper.compiler.JDTCompiler$2.acceptResult(JDTCompiler.java:329)
      at
      org.eclipse.jdt.internal.compiler.Compiler.handleInternalException(Compiler.java:501)
      at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:430)
      at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:387)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
      at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      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:228)
      at
      org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      at
      org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:212)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:818)
      at
      org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:624)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
      at java.lang.Thread.run(Thread.java:595)

        Activity

        Hide
        Ted Goddard added a comment -


        We don't need the eclipse classes. Maybe remove the jdt-related .jar?

        Show
        Ted Goddard added a comment - We don't need the eclipse classes. Maybe remove the jdt-related .jar?
        Hide
        Philip Breau added a comment -

        Yes, after removing jasper-jdt.jar you get a class not found exception as
        something else try to explicitly load the jdt compiler stuff I think.

        Show
        Philip Breau added a comment - Yes, after removing jasper-jdt.jar you get a class not found exception as something else try to explicitly load the jdt compiler stuff I think.
        Hide
        Ted Goddard added a comment -

        Please add the ClassNotFoundException to the report.

        Show
        Ted Goddard added a comment - Please add the ClassNotFoundException to the report.
        Hide
        Philip Breau added a comment -

        sorry, jdt errors came elsewhere when trying to fiddle with the compiler (not
        sure what can be done with that type of configuration)

        Tomcat 6.0.2

        run Component Showcase out of the box:
        **************************************

        SEVERE: Servlet.service() for servlet jsp threw exception
        java.lang.LinkageError: loader constraints violated when linking
        javax/el/ExpressionFactory class
        at org.apache.jsp.index_jsp._jspInit(index_jsp.java:20)
        at org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:80)
        at
        org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:163)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:326)
        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:803)
        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:228)
        at
        org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at
        org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:212)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:818)
        at
        org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:624)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
        at java.lang.Thread.run(Thread.java:595)

        replace el-api.jar & jasper-el.jar in $CATALINA_HOME/lib with ICEfaces 1.5.1
        versions el-api.jar & el-ri.jar:
        *************************************************************************************************************

        SEVERE: Servlet.service() for servlet jsp threw exception
        java.lang.NoClassDefFoundError: org/apache/el/ExpressionFactoryImpl
        at
        org.apache.jasper.JspCompilationContext.getServletClassName(JspCompilationContext.java:351)
        at
        org.apache.jasper.JspCompilationContext.getClassFileName(JspCompilationContext.java:491)
        at org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:389)
        at org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:342)
        at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:562)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:314)
        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:803)
        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:228)
        at
        org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at
        org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:212)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:818)
        at
        org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:624)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
        at java.lang.Thread.run(Thread.java:595)

        Show
        Philip Breau added a comment - sorry, jdt errors came elsewhere when trying to fiddle with the compiler (not sure what can be done with that type of configuration) Tomcat 6.0.2 run Component Showcase out of the box: ************************************** SEVERE: Servlet.service() for servlet jsp threw exception java.lang.LinkageError: loader constraints violated when linking javax/el/ExpressionFactory class at org.apache.jsp.index_jsp._jspInit(index_jsp.java:20) at org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:80) at org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:163) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:326) 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:803) 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:228) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:212) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:818) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:624) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445) at java.lang.Thread.run(Thread.java:595) replace el-api.jar & jasper-el.jar in $CATALINA_HOME/lib with ICEfaces 1.5.1 versions el-api.jar & el-ri.jar: ************************************************************************************************************* SEVERE: Servlet.service() for servlet jsp threw exception java.lang.NoClassDefFoundError: org/apache/el/ExpressionFactoryImpl at org.apache.jasper.JspCompilationContext.getServletClassName(JspCompilationContext.java:351) at org.apache.jasper.JspCompilationContext.getClassFileName(JspCompilationContext.java:491) at org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:389) at org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:342) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:562) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:314) 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:803) 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:228) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:212) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:818) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:624) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445) at java.lang.Thread.run(Thread.java:595)
        Hide
        Ted Goddard added a comment -

        The following changes worked for Tomcat 6.0 from a .tar.gz install on the Mac with the auctionMonitor:

        • remove el-api.jar (it is now included with Tomcat)
        • remove xercesImpl.jar and xml-apis.jar (conflict with tomcat-provided version)

        Philip, can you verify that these steps are sufficient and close the bug?

        Show
        Ted Goddard added a comment - The following changes worked for Tomcat 6.0 from a .tar.gz install on the Mac with the auctionMonitor: remove el-api.jar (it is now included with Tomcat) remove xercesImpl.jar and xml-apis.jar (conflict with tomcat-provided version) Philip, can you verify that these steps are sufficient and close the bug?
        Hide
        Philip Breau added a comment -

        verified

        Show
        Philip Breau added a comment - verified

          People

          • Assignee:
            Unassigned
            Reporter:
            Philip Breau
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: