DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9829>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9829

HotSpot Virtual Machine Error with jsp includes jstl

           Summary: HotSpot Virtual Machine Error with jsp includes jstl
           Product: Tomcat 4
           Version: 4.0.3 Final
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Servlet & JSP API
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


----------------- Original Bug Report-------------------

category : hotspot
release : 1.4
subcategory : runtime_system
type : bug
synopsis : HotSpot Virtual Machine Error with jsp includes jstl
description : FULL PRODUCT VERSION :
java version "1.4.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b9
Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)

FULL OPERATING SYSTEM VERSION :
Microsoft Windows 2000 [Version 5.00.2195]

EXTRA RELEVANT SYSTEM CONFIGURATION :
Server used :
  Tomcat-Standalone
Apache Tomcat/4.0.3

Taglibs used :
jakarta-taglibs-standard-20020514

A DESCRIPTION OF THE PROBLEM :
When the server crash the following message appears :
#
# HotSpot Virtual Machine Error, Internal Error
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Client VM (1.4.0-b92 mixed mode)
#
# Error ID: 47454E45524154452F4F502D41500E4350500848
#
# Problematic Thread: prio=5 tid=0x0BEF2AB8 nid=0x3ac
runnable
#

I use jsp with jstl for big forms which parse xml documents
so I have a regular structure that must appears with
parameters change. This structure is the following :

-------------------------------------------------

<table border ="0" cellspacing="0" cellpadding="0">

<tr>
<td>1</td><td>2</td><td>3</td><td>4</td><td>5</td><td>6</td><td>7</td><td>8</td>
<td>9</td>
</tr>
<tr>
<td><x:out select="$globalResults/Responses/Chapter
[@IDChapter='1']/Response[@row = 1 and @col = 3]/Item
[@Value=1]"/></td>
<td><x:out select="$globalResults/Responses/Chapter
[@IDChapter='1']/Response[@row = 1 and @col = 3]/Item
[@Value=2]"/></td>
<td><x:out select="$globalResults/Responses/Chapter
[@IDChapter='1']/Response[@row = 1 and @col = 3]/Item
[@Value=3]"/></td>
<td><x:out select="$globalResults/Responses/Chapter
[@IDChapter='1']/Response[@row = 1 and @col = 3]/Item
[@Value=4]"/></td>

<td><x:out
select="$globalResults/Responses/Chapter
[@IDChapter='1']/Response[@row = 1 and @col = 3]/Item
[@Value=5]"/></td>

<td><x:out
select="$globalResults/Responses/Chapter
[@IDChapter='1']/Response[@row = 1 and @col = 3]/Item
[@Value=6]"/></td>

<td><x:out
select="$globalResults/Responses/Chapter
[@IDChapter='1']/Response[@row = 1 and @col = 3]/Item
[@Value=7]"/></td>

<td><x:out
select="$globalResults/Responses/Chapter
[@IDChapter='1']/Response[@row = 1 and @col = 3]/Item
[@Value=8]"/></td>

<td><x:out
select="$globalResults/Responses/Chapter
[@IDChapter='1']/Response[@row = 1 and @col = 3]/Item
[@Value=9]"/></td>

</tr>

</table>

-------------------------------------------------

When I paste this structure more than n times, the server
crashs.

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. paste multiple time valid structure in jsp page
2. when this number is sufficient, the server crash

EXPECTED VERSUS ACTUAL BEHAVIOR :
the page must appears correctly as when there is one
structure less

ERROR MESSAGES/STACK TRACES THAT OCCUR :
#
# HotSpot Virtual Machine Error, Internal Error
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Client VM (1.4.0-b92 mixed mode)
#
# Error ID: 47454E45524154452F4F502D41500E4350500848
#
# Problematic Thread: prio=5 tid=0x0BEF2AB8 nid=0x3ac runnable
#


This bug can be reproduced always.

---------- BEGIN SOURCE ----------
I think you just had to past a lot of same access structure to data with jstl
like  :
<table border ="0" cellspacing="0" cellpadding="0">
<tr>
<td><x:out select="$globalResults/Responses/Chapter[@IDChapter='1']/Response
[@row = 1 and @col = 3]/Item[@Value=1]"/></td>
<td><x:out select="$globalResults/Responses/Chapter[@IDChapter='1']/Response
[@row = 1 and @col = 3]/Item[@Value=2]"/></td>
<td><x:out select="$globalResults/Responses/Chapter[@IDChapter='1']/Response
[@row = 1 and @col = 3]/Item[@Value=3]"/></td>
<td><x:out select="$globalResults/Responses/Chapter[@IDChapter='1']/Response
[@row = 1 and @col = 3]/Item[@Value=4]"/></td>
<td><x:out select="$globalResults/Responses/Chapter[@IDChapter='1']/Response
[@row = 1 and @col = 3]/Item[@Value=5]"/></td>
<td><x:out select="$globalResults/Responses/Chapter[@IDChapter='1']/Response
[@row = 1 and @col = 3]/Item[@Value=6]"/></td>
<td><x:out select="$globalResults/Responses/Chapter[@IDChapter='1']/Response
[@row = 1 and @col = 3]/Item[@Value=7]"/></td>
<td><x:out select="$globalResults/Responses/Chapter[@IDChapter='1']/Response
[@row = 1 and @col = 3]/Item[@Value=8]"/></td>
<td><x:out select="$globalResults/Responses/Chapter[@IDChapter='1']/Response
[@row = 1 and @col = 3]/Item[@Value=9]"/></td>
</tr>
</table>
---------- END SOURCE ----------

CUSTOMER WORKAROUND :
I just compact the data in one line instead of having 9
lines then 9 access (<x:out...)
keyword : webbug
company : EPFL
hardware : x86
OSversion : windows_2000

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to