backlog measurement

2008-01-10 Thread Andrew Skiba
Hello, I want to contribute a custom SocketFactory allowing to analyze the utilization of acceptConnection attribute of a Connector. In a properly configured production system, there should be rare situations where connections wait for a worker thread to be handled. Our client complained on high

Re: backlog measurement

2008-01-10 Thread Peter Rossbach
HI Andrew, good idea, but why you can contribute a code from Harish Prabandham ([EMAIL PROTECTED]). We can only accept contributions from orignal author and with Apache 2 license included! I seems that this only work with java 5 and the code is designed for JIO HTTP tomcat 5.5. Open a

DO NOT REPLY [Bug 38484] - webapps Admin: Invalid path /login was requested

2008-01-10 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=38484. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 43929] - JSP POST SSI, JSP sub request does not complete

2008-01-10 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=43929. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.

Re: backlog measurement

2008-01-10 Thread Andrew Skiba
Hi Peter, thanks for your reply, The name of Harish appears in the code by mistake. I started from DefaultSocketFactory written by Harish, but nothing remained from the original. So I am the author and I will include Apache license in the code. You are correct, it works only with java 5, and I

DO NOT REPLY [Bug 44199] New: - expose current backlog queue size

2008-01-10 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=44199. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 44199] - expose current backlog queue size

2008-01-10 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=44199. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.

Re: backlog measurement

2008-01-10 Thread Andrew Skiba
It works with tomcat from trunk now. I opened a bug and attached a patch for the new code. License and author specified as you said. Please review. http://issues.apache.org/bugzilla/show_bug.cgi?id=44199 On Jan 10, 2008 11:47 AM, Andrew Skiba [EMAIL PROTECTED] wrote: Hi Peter, thanks for your

DO NOT REPLY [Bug 38726] - GlobalRequestProcessor attributes are always 0

2008-01-10 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=38726. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 38726] - GlobalRequestProcessor attributes are always 0

2008-01-10 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=38726. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.

[EL] ValueExpression.isReadOnly() - Tomcat 6 Bug ?

2008-01-10 Thread Matthias Wessendorf
Hi, background Inside of Trinidad's EditableValueRenderer (org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.EditableValueRenderer) there getReadOnly(...), which is called by all inputXyz Renderers to check if the component should be rendered readOnly or not That method checks if the

Re: backlog measurement

2008-01-10 Thread Filip Hanik - Dev Lists
I'm a bit confused on how you can measure backlog in Java. Backlog is a TCP stack implementation setting. Also, between TCP implementations, there is no firm definition of what backlog actually means. does it mean SYN_RCVD or ESTABLISHED but not yet accepted? If I read the implementation

Re: backlog measurement

2008-01-10 Thread Andrew Skiba
Hello Filip, thanks for your reply. You are absolutely right. I did this trick when I understood that it's not trivial to measure backlog in Java. I called it backlog because a normal system would have backlog of this size in the same conditions. For example, for maxThreads=10 and acceptCount=30

Re: backlog measurement

2008-01-10 Thread Filip Hanik - Dev Lists
hi Andrew, the solution is a bit overkill and you may be misunderstanding the backlog concept. the concept behind the backlog, is when the app is too busy accepting connection, the kernel and its TCP stack will handle it for you. and by doing this, you can balance the pressure of new

Re: svn commit: r609294 - in /tomcat/tc6.0.x/trunk: STATUS.txt conf/catalina.policy webapps/docs/changelog.xml

2008-01-10 Thread Mark Thomas
Remy Maucherat wrote: On my platform [Linux + IcedTea], with the new policy in place, I get an error initializing a timestamp used by the FileHandler (why such a class ends up using a file like this is a mystery): Can you turn on the debugging so we can figure out which file it is. I'd

svn commit: r610929 - in /tomcat/tc6.0.x/trunk: STATUS.txt java/org/apache/tomcat/util/modeler/ManagedBean.java webapps/docs/changelog.xml

2008-01-10 Thread markt
Author: markt Date: Thu Jan 10 13:04:31 2008 New Revision: 610929 URL: http://svn.apache.org/viewvc?rev=610929view=rev Log: Fix bug 43868. MBean methods getInvoke and getSetter were broken. Modified: tomcat/tc6.0.x/trunk/STATUS.txt

DO NOT REPLY [Bug 43868] - MBeanServer invoke issue

2008-01-10 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=43868. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.

svn commit: r610930 - in /tomcat/tc6.0.x/trunk: ./ java/org/apache/catalina/ha/session/ test/org/apache/catalina/ha/ test/org/apache/catalina/ha/session/ webapps/docs/

2008-01-10 Thread markt
Author: markt Date: Thu Jan 10 13:09:27 2008 New Revision: 610930 URL: http://svn.apache.org/viewvc?rev=610930view=rev Log: Fix bug 43840. Include user principal if possible when serializing de-serializing sessions. Added: tomcat/tc6.0.x/trunk/test/org/apache/catalina/ha/

DO NOT REPLY [Bug 43840] - Unexpected behaviour when GenericPrincipal is serialized using the SerializablePrincipal in a cluster.

2008-01-10 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=43840. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.

svn commit: r610934 - in /tomcat/tc6.0.x/trunk: ./ conf/ java/org/apache/jasper/ java/org/apache/jasper/resources/ webapps/docs/

2008-01-10 Thread markt
Author: markt Date: Thu Jan 10 13:22:43 2008 New Revision: 610934 URL: http://svn.apache.org/viewvc?rev=610934view=rev Log: Improve docs for Jasper configuration and deprecate an unused option. Modified: tomcat/tc6.0.x/trunk/STATUS.txt tomcat/tc6.0.x/trunk/conf/web.xml

svn commit: r610935 - in /tomcat/tc6.0.x/trunk: java/org/apache/catalina/core/LocalStrings.properties res/tomcat.nsi webapps/docs/apr.xml webapps/docs/changelog.xml webapps/docs/project.xml

2008-01-10 Thread markt
Author: markt Date: Thu Jan 10 13:28:29 2008 New Revision: 610935 URL: http://svn.apache.org/viewvc?rev=610935view=rev Log: Fix bug 43800. Make relationship between APR and the native connector clearer. Modified: tomcat/tc6.0.x/trunk/java/org/apache/catalina/core/LocalStrings.properties

DO NOT REPLY [Bug 43800] - Severe error with native dll and SSL

2008-01-10 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=43800. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.

svn commit: r610937 - /tomcat/tc6.0.x/trunk/STATUS.txt

2008-01-10 Thread markt
Author: markt Date: Thu Jan 10 13:29:20 2008 New Revision: 610937 URL: http://svn.apache.org/viewvc?rev=610937view=rev Log: Update status Modified: tomcat/tc6.0.x/trunk/STATUS.txt Modified: tomcat/tc6.0.x/trunk/STATUS.txt URL:

svn commit: r610938 - in /tomcat/tc6.0.x/trunk: STATUS.txt dist.xml webapps/docs/changelog.xml

2008-01-10 Thread markt
Author: markt Date: Thu Jan 10 13:32:43 2008 New Revision: 610938 URL: http://svn.apache.org/viewvc?rev=610938view=rev Log: Fix bug 43775. Don't change line endings for binary files Modified: tomcat/tc6.0.x/trunk/STATUS.txt tomcat/tc6.0.x/trunk/dist.xml

DO NOT REPLY [Bug 43775] - The tomcat6.exe in source download in tar.gz is broken (ok in zip)

2008-01-10 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=43775. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.

svn commit: r610939 - in /tomcat/tc6.0.x/trunk: STATUS.txt java/org/apache/jasper/compiler/Node.java webapps/docs/changelog.xml

2008-01-10 Thread markt
Author: markt Date: Thu Jan 10 13:36:00 2008 New Revision: 610939 URL: http://svn.apache.org/viewvc?rev=610939view=rev Log: Fix bug 43758. Prevent NPEs when scripting elements are empty Modified: tomcat/tc6.0.x/trunk/STATUS.txt

DO NOT REPLY [Bug 43758] - java.lang.NullPointerException from org.apache.jasper.compiler.ServletWriter.printMultiLn() on validation of JSPX with empty jsp:scriptlet element

2008-01-10 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=43758. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.

svn commit: r610940 - in /tomcat/tc6.0.x/trunk: STATUS.txt java/org/apache/catalina/connector/CoyoteAdapter.java

2008-01-10 Thread markt
Author: markt Date: Thu Jan 10 13:40:21 2008 New Revision: 610940 URL: http://svn.apache.org/viewvc?rev=610940view=rev Log: Fix possible NPE in previous fix for bug 43839. Modified: tomcat/tc6.0.x/trunk/STATUS.txt tomcat/tc6.0.x/trunk/java/org/apache/catalina/connector/CoyoteAdapter.java

DO NOT REPLY [Bug 43839] - I think the implement is difference with the document in function CoyoteAdapter.postParseRequest

2008-01-10 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=43839. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.

svn commit: r610943 - in /tomcat/tc6.0.x/trunk: STATUS.txt java/org/apache/jasper/compiler/Parser.java webapps/docs/changelog.xml

2008-01-10 Thread markt
Author: markt Date: Thu Jan 10 13:46:28 2008 New Revision: 610943 URL: http://svn.apache.org/viewvc?rev=610943view=rev Log: Fix bug 43743. Correctly handle nest tag files packaged in a jar. Modified: tomcat/tc6.0.x/trunk/STATUS.txt

DO NOT REPLY [Bug 43743] - Cannot jspc precompile jsps with nested .tag files

2008-01-10 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=43743. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.

svn commit: r610946 - in /tomcat/trunk: conf/tomcat-users.xml webapps/examples/jsp/tagplugin/if.jsp

2008-01-10 Thread markt
Author: markt Date: Thu Jan 10 13:53:14 2008 New Revision: 610946 URL: http://svn.apache.org/viewvc?rev=610946view=rev Log: Fix bug 43344. Correct typo. Patch provided by Tim Nowaczyk. Modified: tomcat/trunk/conf/tomcat-users.xml tomcat/trunk/webapps/examples/jsp/tagplugin/if.jsp

DO NOT REPLY [Bug 43350] - typo in Web Application Compilation

2008-01-10 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=43350. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.

svn commit: r610948 - /tomcat/tc6.0.x/trunk/STATUS.txt

2008-01-10 Thread markt
Author: markt Date: Thu Jan 10 14:02:01 2008 New Revision: 610948 URL: http://svn.apache.org/viewvc?rev=610948view=rev Log: Propose patch Modified: tomcat/tc6.0.x/trunk/STATUS.txt Modified: tomcat/tc6.0.x/trunk/STATUS.txt URL:

Re: svn commit: r610946 - in /tomcat/trunk: conf/tomcat-users.xml webapps/examples/jsp/tagplugin/if.jsp

2008-01-10 Thread Filip Hanik - Dev Lists
I don't think we wanna ship a file that has a default user for admin and manager roles. most folks leave this realm in their server.xml, and the manager app enabled, so this would create future complaints -1 on the tomcat-users.xml change Filip [EMAIL PROTECTED] wrote: Author: markt Date:

Re: svn commit: r610946 - in /tomcat/trunk: conf/tomcat-users.xml webapps/examples/jsp/tagplugin/if.jsp

2008-01-10 Thread Mark Thomas
Filip Hanik - Dev Lists wrote: I don't think we wanna ship a file that has a default user for admin and manager roles. Sorry - my bad. I always change that file locally and forgot to un-select it from the commit. I'll revert it. Mark

svn commit: r610956 - /tomcat/trunk/conf/tomcat-users.xml

2008-01-10 Thread markt
Author: markt Date: Thu Jan 10 14:28:45 2008 New Revision: 610956 URL: http://svn.apache.org/viewvc?rev=610956view=rev Log: Revert previous accidental commit. Modified: tomcat/trunk/conf/tomcat-users.xml Modified: tomcat/trunk/conf/tomcat-users.xml URL:

svn commit: r610958 - /tomcat/tc6.0.x/trunk/STATUS.txt

2008-01-10 Thread markt
Author: markt Date: Thu Jan 10 14:29:38 2008 New Revision: 610958 URL: http://svn.apache.org/viewvc?rev=610958view=rev Log: Only include file I meant to change. Modified: tomcat/tc6.0.x/trunk/STATUS.txt Modified: tomcat/tc6.0.x/trunk/STATUS.txt URL:

svn commit: r610959 - /tomcat/tc6.0.x/trunk/STATUS.txt

2008-01-10 Thread markt
Author: markt Date: Thu Jan 10 14:33:01 2008 New Revision: 610959 URL: http://svn.apache.org/viewvc?rev=610959view=rev Log: Vote Modified: tomcat/tc6.0.x/trunk/STATUS.txt Modified: tomcat/tc6.0.x/trunk/STATUS.txt URL:

svn commit: r610970 - /tomcat/tc6.0.x/trunk/STATUS.txt

2008-01-10 Thread fhanik
Author: fhanik Date: Thu Jan 10 14:46:54 2008 New Revision: 610970 URL: http://svn.apache.org/viewvc?rev=610970view=rev Log: vote Modified: tomcat/tc6.0.x/trunk/STATUS.txt Modified: tomcat/tc6.0.x/trunk/STATUS.txt URL:

svn commit: r610989 - /tomcat/connectors/trunk/jk/native/common/jk_status.c

2008-01-10 Thread rjung
Author: rjung Date: Thu Jan 10 15:33:52 2008 New Revision: 610989 URL: http://svn.apache.org/viewvc?rev=610989view=rev Log: Fix setting lb_factor instead of distance in status worker. Modified: tomcat/connectors/trunk/jk/native/common/jk_status.c Modified:

svn commit: r610990 - /tomcat/connectors/trunk/jk/native/common/jk_status.c

2008-01-10 Thread rjung
Author: rjung Date: Thu Jan 10 15:38:47 2008 New Revision: 610990 URL: http://svn.apache.org/viewvc?rev=610990view=rev Log: Only use arg if set. Modified: tomcat/connectors/trunk/jk/native/common/jk_status.c Modified: tomcat/connectors/trunk/jk/native/common/jk_status.c URL:

svn commit: r610992 - /tomcat/connectors/trunk/jk/native/common/jk_status.c

2008-01-10 Thread rjung
Author: rjung Date: Thu Jan 10 16:04:31 2008 New Revision: 610992 URL: http://svn.apache.org/viewvc?rev=610992view=rev Log: Only sync shm, if we actually changed a value. Modified: tomcat/connectors/trunk/jk/native/common/jk_status.c Modified:

svn commit: r610997 - /tomcat/connectors/trunk/jk/native/common/jk_status.c

2008-01-10 Thread rjung
Author: rjung Date: Thu Jan 10 16:22:09 2008 New Revision: 610997 URL: http://svn.apache.org/viewvc?rev=610997view=rev Log: Use a function for updating the various params. Modified: tomcat/connectors/trunk/jk/native/common/jk_status.c Modified:

svn commit: r611002 - /tomcat/current/tc4.1.x/STATUS.txt

2008-01-10 Thread yoavs
Author: yoavs Date: Thu Jan 10 17:04:45 2008 New Revision: 611002 URL: http://svn.apache.org/viewvc?rev=611002view=rev Log: I've finally had a chance to review proposed patches for Tomcat 4.1, and they look good. Modified: tomcat/current/tc4.1.x/STATUS.txt Modified:

DO NOT REPLY [Bug 44202] New: - ValueExpression.isReadOnly() - Tomcat 6 Bug

2008-01-10 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=44202. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.