DO NOT REPLY [Bug 33004] - Cocoon consumes 100% of CPU and never releases it

2005-10-06 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=33004.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33004


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEEDINFO|RESOLVED
 Resolution||LATER




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 33004] - Cocoon consumes 100% of CPU and never releases it

2005-10-06 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=33004.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33004


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 33004] - Cocoon consumes 100% of CPU and never releases it

2005-08-15 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=33004.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33004





--- Additional Comments From [EMAIL PROTECTED]  2005-08-15 18:13 ---
This can be closed. I don't when we'll move to a newer version of Cocoon, but
when we do if the problem crops up again I'll reopen the issue.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 33004] - Cocoon consumes 100% of CPU and never releases it

2005-08-14 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=33004.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33004


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |NEEDINFO




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 33004] - Cocoon consumes 100% of CPU and never releases it

2005-01-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=33004.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33004





--- Additional Comments From [EMAIL PROTECTED]  2005-01-12 00:22 ---
After some debugging I've figure out which pipeline was causing the problem. The
problem only occurs during an exceptional case with a lot of data, so I've
rewritten some logic to prevent that case. However, I'm concerned that the same
issue may crop up elsewhere so I'd like to fix the underlying problem.

Here's a snippet from the sitemap that is causing the problem:

map:match pattern=show-list.xml
map:generate src=queries/userListQuery.xml type=jx/
map:transform type=ldap/
map:transform src=stylesheets/sortUsers.xsl/
map:serialize type=xml /
/map:match

The jx template builds a LDAP query filter based on user input. The problem
occurs when the search filter returns a large number of results (18000+). The
sort stylesheet seems to choke.

Here's the results of a ldap transform that returns a single user:

?xml version=1.0 encoding=ISO-8859-1?
ldap-query xmlns:ldap=http://apache.org/cocoon/LDAP/1.0;
xmlns:jx=http://apache.org/cocoon/templates/jx/1.0;
!--ldap:attributefullName/ldap:attribute--
!--ldap:attributel/ldap:attribute--
!--ldap:attributetelephoneNumber/ldap:attribute--
!--ldap:attributemail/ldap:attribute--
!--ldap:attributefacsimileTelephoneNumber/ldap:attribute--
!--ldap:attributegroupMembership/ldap:attribute--
results xmlns=http://apache.org/cocoon/LDAP/1.0;
user
uidMasonJM/uid
givenNameJames/givenName
snMason/sn
titleProgrammer/Analyst/title
initialsM/initials
/user
/results
/ldap-query

And here's the sorting xsl:

?xml version=1.0?
xsl:stylesheet version=1.0
xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
xmlns:ldap=http://apache.org/cocoon/LDAP/1.0;
xmlns:jx=http://apache.org/cocoon/templates/jx/1.0;
exclude-result-prefixes=xsl ldap jx

xsl:template match=/
ldap-query
results
xsl:for-each select=/*/*/user
xsl:sort select=sn/
xsl:sort select=givenName/
xsl:sort select=initial/
user
xsl:apply-templates/
/user
/xsl:for-each
/results
/ldap-query
/xsl:template

xsl:template match=@*|node() priority=-1
xsl:copyxsl:apply-templates select=@*|node()//xsl:copy
/xsl:template

/xsl:stylesheet

The disturbing thing is that I can't reproduce the problem when saving the xml
to a file an running it through a simple pipeline with just the transform. When
processing a file the transform doesn't work because it actually notices that
all of the user nodes are in the 'ldap' namespace (it doesn't notice this when
doing the transform directly from LDAP). After fixing the .xsl to match nodes in
the ldap namespace the transformation completes but all of the output nodes have
the namespace declarations that the tranform is supposed to be excluding.

Any ideas?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 33004] - Cocoon consumes 100% of CPU and never releases it

2005-01-07 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=33004.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33004


[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 33004] - Cocoon consumes 100% of CPU and never releases it

2005-01-07 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=33004.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33004





--- Additional Comments From [EMAIL PROTECTED]  2005-01-08 00:10 ---
Please provide more info:

tomcat and JVM version.

have you tried cocoon 2.1.6?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 33004] - Cocoon consumes 100% of CPU and never releases it

2005-01-07 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=33004.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33004





--- Additional Comments From [EMAIL PROTECTED]  2005-01-08 00:42 ---
Tomcat 4.1.30.

Sun JDK 1.4.2_04.

We're upgrading the JDK 1.4.2_06 to see if that makes a difference.

We have tried Cocoon 2.1.6 yet. It will take awhile to do the functional testing
of our application with 2.1.6, so we haven't moved yet.

-James

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 33004] - Cocoon consumes 100% of CPU and never releases it

2005-01-07 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=33004.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33004





--- Additional Comments From [EMAIL PROTECTED]  2005-01-08 01:01 ---
Java 1.4.2_06 + cocoon 2.1.6 should do a big diference:

Bug #31760 (already fixed in 2.1.6)

BTW, will be fine to use tomcat 4.1.31. See:
http://www.ip97.com/apache.org/jakarta/tomcat-4/v4.1.31/RELEASE-NOTES






-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.