You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jason Hall <ja...@mchsi.com> on 2016/11/04 17:40:25 UTC

jasper

Possible issue with generated source from jsp(s).....

I current installed Tomcat 8.5.6 and use it with netbeans.

On one of my JSP files, it is creating a source file with a try/catch block that is MUCH greater than the 64K limit set by the JVM.   On glassfish and websphere, this does not occur.

I haven't checked the size of the method in websphere, but did save the generated source on glassfish and the method is 57K (still under the 64K limit).  The tomcat one was almost 800K I think.

The older netbeans 8.0 version of tomcat that is bundeled with it does not have this problem (version 8.0.9.0)

   thanks,
      Jason

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


Re: jasper

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Violeta,

On 11/4/16 2:47 PM, Violeta Georgieva wrote:
> Hi,
> 
> 2016-11-04 19:40 GMT+02:00 Jason Hall <ja...@mchsi.com>:
>> 
>> Possible issue with generated source from jsp(s).....
>> 
>> I current installed Tomcat 8.5.6 and use it with netbeans.
>> 
>> On one of my JSP files, it is creating a source file with a
>> try/catch
> block that is MUCH greater than the 64K limit set by the JVM.   On 
> glassfish and websphere, this does not occur.
>> 
>> I haven't checked the size of the method in websphere, but did
>> save the
> generated source on glassfish and the method is 57K (still under
> the 64K limit).  The tomcat one was almost 800K I think.
>> 
>> The older netbeans 8.0 version of tomcat that is bundeled with it
>> does
> not have this problem (version 8.0.9.0)
> 
> Check this https://bz.apache.org/bugzilla/show_bug.cgi?id=60126

This example seems a little outrageous, though: the difference is by
an order of magnitude, not by a few percent like in the bug report you
reference.

Jason, would it be possible to provide a sample JSP that balloons in
this way when compiled with Tomcat's JSP compiler?

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJYIJ3KAAoJEBzwKT+lPKRY2w0QAKhYbM2OYzIQ60PVrxb9WMY0
0GzyGfxg7+ihzOUnugo2PDOgmxW0PCXFJbez2OqFp3k1neaJMk1PG8dbP0byLT2G
neP5IYOfjZNuzDGEtihAfcIJYZ2k5QgMUOkzoAEJeMGdSPv6j9nG+C8YtnrJqmxt
Iu17nXS8CEiEa4RDqmBz/WT1iMROA+vCyvDfUt2aVV7CAJsRVB6uuTqqvARNR0ZE
d4I03AeZs04J8GS2/W5NkT2ar5zf8zGXLFmJ5c+QfWjzUaclfgrzEdlc4knt3gSt
L9B5AA8Qgon+n+Wy/Myv3uhQP00WdU9SB30c3w5YO37GcCIL8b7sLp7gEUNSRz3p
urd34d5BOc0Ydg0gC/DkCAnowTMyRJLypxUBC9N5VJlP8pROxcJxuY37TerTgNK6
HH0G87boxmwInhIJD4L1PPszJjrMnPLiNFWfDRZ3O+lzdt0CiFL1aeqQn92rVhnz
BSJz7fi/QKFQbbj6amQ2fwMG5e0h3TKynrX6Z73r+LrTAgralp90MqXS/xTN/NmN
4jqfix4Ly0V8QMc+wrH0LXVAjEnQyMzQJ9dqODbGf/pifQMuprXmMzhScxpodxZ+
E9FkLazgwVnFruy6PhTtooNiZwoWwQclMhNKCN9A1lHySS6e4lMTq4y/3P9LsKCE
6qVPSgUjpmroS6w7W+pc
=wjge
-----END PGP SIGNATURE-----

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


Re: jasper

Posted by Violeta Georgieva <vi...@apache.org>.
Hi,

2016-11-04 19:40 GMT+02:00 Jason Hall <ja...@mchsi.com>:
>
> Possible issue with generated source from jsp(s).....
>
> I current installed Tomcat 8.5.6 and use it with netbeans.
>
> On one of my JSP files, it is creating a source file with a try/catch
block that is MUCH greater than the 64K limit set by the JVM.   On
glassfish and websphere, this does not occur.
>
> I haven't checked the size of the method in websphere, but did save the
generated source on glassfish and the method is 57K (still under the 64K
limit).  The tomcat one was almost 800K I think.
>
> The older netbeans 8.0 version of tomcat that is bundeled with it does
not have this problem (version 8.0.9.0)

Check this https://bz.apache.org/bugzilla/show_bug.cgi?id=60126

Regards,
Violeta

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