[jboss-jira] [JBoss JIRA] Closed: (JBAS-3429) JSP Pages are broken with tomcat6 snapshot

Scott M Stark (JIRA) jira-events at jboss.com
Tue Jul 25 19:32:11 EDT 2006


     [ http://jira.jboss.com/jira/browse/JBAS-3429?page=all ]

Scott M Stark closed JBAS-3429.
-------------------------------

    Fix Version/s:     (was: JBossAS-5.0.0.Beta)
       Resolution: Rejected

This was due to the jbossbuild not removing the previous tomcat component jars when the version was updated to 6 from 5.

> JSP Pages are broken with tomcat6 snapshot
> ------------------------------------------
>
>                 Key: JBAS-3429
>                 URL: http://jira.jboss.com/jira/browse/JBAS-3429
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Web (Tomcat) service
>            Reporter: Scott M Stark
>         Assigned To: Remy Maucherat
>            Priority: Blocker
>
> Something is screwed up with the current tomcat6 snapshot as I can't even load a jsp page from the jxm-console.war due to missing classes:
> java.lang.NoClassDefFoundError:
> org/apache/commons/el/ExpressionEvaluatorImpl
> 	org.apache.jasper.compiler.JspUtil.<clinit>(JspUtil.java:61)
> 	org.apache.jasper.JspCompilationContext.getServletClassName(JspCompilati
> onContext.java:334)
> 	org.apache.jasper.JspCompilationContext.getClassFileName(JspCompilationC
> ontext.java:484)
> 	org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:379)
> 	org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:332)
> 	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:560)
> 	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303)
> 	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
> 	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 	org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
> The ExpressionEvaluatorImpl should be
> org.apache.jasper.el.ExpressionEvaluatorImpl coming from the jasper.jar rather than this commons thing.
> [starksm at banshee9100 jbossweb-tomcat6.sar]$ for j in *.jar; do echo $j; jar -tf  $j | grep ExpressionEvaluatorImpl; done catalina-ant.jar catalina-manager.jar catalina-optional.jar catalina.jar commons-modeler.jar el-api.jar jasper-compiler-jdt.jar jasper-compiler.jar jasper-el.jar jasper-jdt.jar jasper-runtime.jar jasper.jar org/apache/jasper/el/ExpressionEvaluatorImpl.class
> jboss-web-metamodel.jar
> jsp-api.jar
> jstl.jar
> naming-resources.jar
> servlet-api.jar
> servlets-default.jar
> servlets-invoker.jar
> servlets-webdav.jar
> tomcat-ajp.jar
> tomcat-apr.jar
> tomcat-coyote.jar
> tomcat-dbcp.jar
> tomcat-http.jar
> tomcat-i18n-es.jar
> tomcat-i18n-fr.jar
> tomcat-i18n-ja.jar
> tomcat-util.jar
> tomcat6-service.jar
> The problem is that there are two org.apache.jasper.compiler.JspUtil
> classes, and the one from jasper-compiler.jar which is loaded is referencing the 
> [starksm at banshee9100 jbossweb-tomcat6.sar]$ javap -c -classpath jasper-compiler.jar org.apache.jasper.compiler.JspUtil >JspUtil.javap Compiled from "JspUtil.java"
> public class org.apache.jasper.compiler.JspUtil extends java.lang.Object{ public static final int CHUNKSIZE;
> ...
> public static void validateExpressions(org.apache.jasper.compiler.Mark,
> java.lang.String, java.lang.Class, javax.servlet.jsp.el.FunctionMapper,
> org.apache.jasper.compiler.ErrorDispatcher)   throws org.apache.jasper.JasperException;
>   Code:
>    0: getstatic   #143; //Field
> expressionEvaluator:Lorg/apache/commons/el/ExpressionEvaluatorImpl;
> ...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list