You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Wang, Andy" <aw...@ptc.com> on 2016/09/12 20:38:03 UTC

Tomcat 8.5.5 jasper and method sizes

I recently pushed an update to Tomcat 8.5.5 on our systems and are now
getting reports of jsp compilation errors and we're seeing numerous new
cases of:
The code of method _jspService(HttpServletRequest, HttpServletResponse)
is exceeding the 65535 bytes limit

I know we have alot of not-recommended practices around our JSPs and
many that are likely already very close to the method size limit.  I
took a quick look at the changelog and jasper changes and don't see
anything that leaps out to me immediately that would have impacted
this.

I admit, I've not looked into it closely enough to figure out the
differences yet, but hoping someone might know off the top of their
head if this type of change could be expected with the 8.5.5 changes?

If not, it's not a big deal, I just need to spend some time figuring
out what may have changed.

Thanks,
Andy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat 8.5.5 jasper and method sizes

Posted by "Wang, Andy" <aw...@ptc.com>.
On Tue, 2016-09-13 at 15:15 +0100, Mark Thomas wrote:
> 
> This might help:
> https://bz.apache.org/bugzilla/show_bug.cgi?id=60126
> 

That does make sense as I'm pretty sure alot of the pages are close to
the limit already.  When I get time to dig, if it looks like something
way off-base I'll post that info against that issue.

Thanks much.
Andy

Re: Tomcat 8.5.5 jasper and method sizes

Posted by Mark Thomas <ma...@apache.org>.
On 12/09/2016 21:38, Wang, Andy wrote:
> I recently pushed an update to Tomcat 8.5.5 on our systems and are now
> getting reports of jsp compilation errors and we're seeing numerous new
> cases of:
> The code of method _jspService(HttpServletRequest, HttpServletResponse)
> is exceeding the 65535 bytes limit
> 
> I know we have alot of not-recommended practices around our JSPs and
> many that are likely already very close to the method size limit.  I
> took a quick look at the changelog and jasper changes and don't see
> anything that leaps out to me immediately that would have impacted
> this.
> 
> I admit, I've not looked into it closely enough to figure out the
> differences yet, but hoping someone might know off the top of their
> head if this type of change could be expected with the 8.5.5 changes?
> 
> If not, it's not a big deal, I just need to spend some time figuring
> out what may have changed.

This might help:
https://bz.apache.org/bugzilla/show_bug.cgi?id=60126

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org