You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Jan Harmsen <ja...@softwareag.com> on 2003/08/11 14:14:12 UTC
tomcat-5.0.7 jasper jsp compiler error
Hi,
from 5.0.6 to 5.0.7 something must have been changed within jasper,
my jsps don't compile anymore. I tested exactly the same webapp with
5.0.6 and it works but with 5.0.7 I get the following error:
org.apache.jasper.JasperException: Unable to compile class for JSP
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:561)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:300)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:293)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
root cause
java.lang.IllegalArgumentException: -81
org.apache.jasper.compiler.SmapStratum$LineInfo.setOutputLineIncrement(SmapStratum.java:124)
org.apache.jasper.compiler.SmapStratum.optimizeLineSection(SmapStratum.java:221)
org.apache.jasper.compiler.SmapUtil.evaluateNodes(SmapUtil.java:490)
org.apache.jasper.compiler.SmapUtil.generateSmap(SmapUtil.java:123)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:301)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:453)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:555)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:300)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:293)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
Environment: SuSE Linux 8.2 with Sun JDK 1.4.2
any idea how to fix this ?
Thanks + best regards,
Jan
Re: tomcat-5.0.7 jasper jsp compiler error
Posted by Remy Maucherat <re...@apache.org>.
Jan Harmsen wrote:
> Hi,
>
> from 5.0.6 to 5.0.7 something must have been changed within jasper,
> my jsps don't compile anymore. I tested exactly the same webapp with
> 5.0.6 and it works but with 5.0.7 I get the following error:
>
>
> org.apache.jasper.JasperException: Unable to compile class for JSP
> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:561)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:300)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:293)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
>
> root cause
>
>
> java.lang.IllegalArgumentException: -81
> org.apache.jasper.compiler.SmapStratum$LineInfo.setOutputLineIncrement(SmapStratum.java:124)
> org.apache.jasper.compiler.SmapStratum.optimizeLineSection(SmapStratum.java:221)
> org.apache.jasper.compiler.SmapUtil.evaluateNodes(SmapUtil.java:490)
> org.apache.jasper.compiler.SmapUtil.generateSmap(SmapUtil.java:123)
> org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:301)
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:453)
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:555)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:300)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:293)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
>
>
> Environment: SuSE Linux 8.2 with Sun JDK 1.4.2
>
>
> any idea how to fix this ?
This is very likely related to this:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22277
Remy
Re: tomcat-5.0.7 jasper jsp compiler error
Posted by Remy Maucherat <re...@apache.org>.
Jan Harmsen wrote:
> Hi,
>
> from 5.0.6 to 5.0.7 something must have been changed within jasper,
> my jsps don't compile anymore. I tested exactly the same webapp with
> 5.0.6 and it works but with 5.0.7 I get the following error:
>
>
> org.apache.jasper.JasperException: Unable to compile class for JSP
> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:561)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:300)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:293)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
>
> root cause
>
>
> java.lang.IllegalArgumentException: -81
> org.apache.jasper.compiler.SmapStratum$LineInfo.setOutputLineIncrement(SmapStratum.java:124)
> org.apache.jasper.compiler.SmapStratum.optimizeLineSection(SmapStratum.java:221)
> org.apache.jasper.compiler.SmapUtil.evaluateNodes(SmapUtil.java:490)
> org.apache.jasper.compiler.SmapUtil.generateSmap(SmapUtil.java:123)
> org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:301)
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:453)
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:555)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:300)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:293)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
>
>
> Environment: SuSE Linux 8.2 with Sun JDK 1.4.2
>
>
> any idea how to fix this ?
This is very likely related to this:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22277
Remy
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org