You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Mueller, Franz" <fr...@sapmarkets.com> on 2001/05/23 09:16:49 UTC

Using >= 150 CustomTags on a JSP breaks the VM for all Tomcats (4 .0b5/3.2.2b3-b5)

Hi all,

I'm facing a showstopper for further usage of tomcat.

Placing a lot (>=150) custom tags on a JSP brings down the VM  on
Win-platforms (Win2k and NT4.0 latest SP)

(Tested with JDK1.3 and JDK1.3.1 (beta))

The creation of the corresponding java file (from the JSP) and the
compilation to the class-file seems to work, but the execution breaks.

The error message is:

#
# HotSpot Virtual Machine Error, Internal Error
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Error ID: 47454E45524154452F4F502D41500E435050084B
#
# Problematic Thread: prio=5 tid=0x8ebd470 nid=0x54c runnable
#

The same JSP works fine under JRUN3.1 (SP2).

I'm attaching the war with the test case.

It contains the JSP (TagTest.jsp). 
The tag which is used in this JSP is the html:Img-Tag from the Struts
project (1.0 b2). 
Actually the problem is related to any custom-tags. I've used the one from
Struts, just to be sure that the problem is not related to my tags.

Any help will be wellcome,

Thanks, fm


RE: Using >= 150 CustomTags on a JSP breaks the VM for all Tomcats (4.0b5/3.2.2b3-b5)

Posted by Marc Saegesser <ma...@apropos.com>.
I tried your example and got the same result using JDK1.2.2/Hotspot.  When I
use a non-hotspot JVM I get an out of memory error.

If you haven't already, please submit a bug report about this at

http://nagoya.apache.org/bugzilla/


> -----Original Message-----
> From: Mueller, Franz [mailto:franz.mueller@sapmarkets.com]
> Sent: Wednesday, May 23, 2001 2:17 AM
> To: 'tomcat-user@jakarta.apache.org'
> Subject: Using >= 150 CustomTags on a JSP breaks the VM for all Tomcats
> (4.0b5/3.2.2b3-b5)
>
>
> Hi all,
>
> I'm facing a showstopper for further usage of tomcat.
>
> Placing a lot (>=150) custom tags on a JSP brings down the VM  on
> Win-platforms (Win2k and NT4.0 latest SP)
>
> (Tested with JDK1.3 and JDK1.3.1 (beta))
>
> The creation of the corresponding java file (from the JSP) and the
> compilation to the class-file seems to work, but the execution breaks.
>
> The error message is:
>
> #
> # HotSpot Virtual Machine Error, Internal Error
> # Please report this error at
> # http://java.sun.com/cgi-bin/bugreport.cgi
> #
> # Error ID: 47454E45524154452F4F502D41500E435050084B
> #
> # Problematic Thread: prio=5 tid=0x8ebd470 nid=0x54c runnable
> #
>
> The same JSP works fine under JRUN3.1 (SP2).
>
> I'm attaching the war with the test case.
>
> It contains the JSP (TagTest.jsp).
> The tag which is used in this JSP is the html:Img-Tag from the Struts
> project (1.0 b2).
> Actually the problem is related to any custom-tags. I've used the one from
> Struts, just to be sure that the problem is not related to my tags.
>
> Any help will be wellcome,
>
> Thanks, fm