cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Joelly <christian.joe...@knapp.com>
Subject [C2.0.1] esql:group/eqsl:member
Date Thu, 07 Mar 2002 08:08:22 GMT
Hi!

i have a *strange* problem with esql:group/esql:member:

when i add esql:group/esql:member to my xsp page then the loop fetching
the results from the resultset changes to an endless loop, till i get an
java.lang.OutOfMemoryError.

settings vm: 			-ms128m -mx256m
settings: storejanitor:	freememory=10000000 heapsize=268435456

the logic of this page is: (simplified)

page

	// main query
	esql-connection #1
		esql-pool
		esql-query #1
			esql-results #1
			
				// nested query
				esql-connection #2
					esql-pool
					esql-query #2
						esql-results #2

						// one more query for lookup data
						esql-connection #3
							esql-pool
							esql-query #3
							esql-results #3
						/esql-connection #3

						// add results to xml tree
						output esql-result #2

						// xsp-logic
						if display-details then

							// esql-query with group/member
							esql-connection #4
								esql-pool
								esql-query #4
								esql-results #4

									esql-group
									
										esql-member
											// add row to xml tree
											esql-result #4
										/esql-member

										// add summary row to xml tree
										summary-line

									/esql-group

							/esql-connection #5

						/if

				/esql-connection #2

	/esql-connection #1

/page

if i use esql:group/esql:member with an simpler query, all works as
expected. and if i remove the esql:group, esql:member and summary line
from the xsp page shown above thers also no problem...

thx for any hint, chris

btw: i have attached the xsp page for reference :o)

-- 
KNAPP Logistics Automation  http://www.knapp.com
Ing. Christian Jölly        Tel/FAX: (++43) 316 / 495 1926 / 495 394
Günter-Knapp-Straße 5-7     A-8075 Hart bei Graz


Mime
View raw message