Re: Need advice to notify StandardExecutor when a webapp is stopped

2010-04-26 Thread Konstantin Kolinko
2010/4/27 Sylvain Laurent : > Hello, > > In order to provide a protection agains this type of memory leak > http://wiki.apache.org/tomcat/MemoryLeakProtection#webappClassInstanceAsThreadLocalIndirectValue > , I experimented with renewing the ThreadPoolExecutor in the > org.apache.catalina.core.S

GSOC 2010

2010-04-26 Thread buddhika chamith
Hi All, I am glad to announce that my proposal titled "Enhancing JMX Descriptors in Apache Tomcat" has been accepted for this year's GSOC program. Special thanks goes to every one who helped me through the project proposal preparation phase including Mark, who is the project mentor. I hope I will

Need advice to notify StandardExecutor when a webapp is stopped

2010-04-26 Thread Sylvain Laurent
Hello, In order to provide a protection agains this type of memory leak http://wiki.apache.org/tomcat/MemoryLeakProtection#webappClassInstanceAsThreadLocalIndirectValue , I experimented with renewing the ThreadPoolExecutor in the org.apache.catalina.core.StandardThreadExecutor. It works when I

DO NOT REPLY [Bug 49122] Update of ROOT application index.html

2010-04-26 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49122 Pid changed: What|Removed |Added Attachment #25295|0 |1 is obsolete|

DO NOT REPLY [Bug 49159] Improve ThreadLocal memory leak clean-up

2010-04-26 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49159 --- Comment #1 from sylvain.laur...@gmail.com 2010-04-26 16:40:49 EDT --- I did experiment with cleaning the threadlocals from their owning thread by doing it in org.apache.tomcat.util.threads.ThreadPoolExecutor.afterExecute(Runnable, Throwa

DO NOT REPLY [Bug 49178] Running tomcat/6.0.26 with security manager generates ORACLE jdbc error

2010-04-26 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49178 --- Comment #3 from Suresh T 2010-04-26 13:54:32 EDT --- (In reply to comment #1) > That looks rather odd. Could you please provide: > - the full security failure from the logs that prompted you to make this > change > - the exact entry yo

DO NOT REPLY [Bug 49178] Running tomcat/6.0.26 with security manager generates ORACLE jdbc error

2010-04-26 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49178 --- Comment #2 from Suresh T 2010-04-26 13:51:54 EDT --- Created an attachment (id=25356) --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25356) Error log file -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.

DO NOT REPLY [Bug 49181] Exception thrown incorrectly when dynamically adding a Listener

2010-04-26 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49181 --- Comment #5 from Pid 2010-04-26 07:26:04 EDT --- Created an attachment (id=25353) --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25353) More spec compliant way to handle dynamically added listeners -- Configure bugmail: htt

DO NOT REPLY [Bug 49181] Exception thrown incorrectly when dynamically adding a Listener

2010-04-26 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49181 Pid changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

Re: svn commit: r937325 - in /tomcat/trunk/java/org/apache: catalina/ha/session/DeltaManager.java el/lang/ExpressionBuilder.java

2010-04-26 Thread Peter Roßbach
HI Mark, your are right! But then we can use: CatalinaCluster cluster = getCluster() ; if(cluster != null) { Valve[] valves = cluster.getValves(); .. and also we can optimized the "for"-statement to for(Valve valve: valves) { if(va

Re: svn commit: r937975 - /tomcat/trunk/java/org/apache/catalina/core/StandardContext.java

2010-04-26 Thread Giulio Quaresima
You need more coffee ;) 100 - (10 + 1) is algebraically equivalent to 100 - 10 - 1 Tim Funk wrote: Got it thanks -Tim On 4/26/2010 6:36 AM, Mark Thomas wrote: On 26/04/2010 11:33, Tim Funk wrote: I'm feeling stupid at the moment. (Or need more coffee) But why do the parenthesis make a diffe

Re: svn commit: r937975 - /tomcat/trunk/java/org/apache/catalina/core/StandardContext.java

2010-04-26 Thread Tim Funk
Got it thanks -Tim On 4/26/2010 6:36 AM, Mark Thomas wrote: On 26/04/2010 11:33, Tim Funk wrote: I'm feeling stupid at the moment. (Or need more coffee) But why do the parenthesis make a difference? (Since only addition/subtraction is done and no multiplication - I can't tell why this fixes i

svn commit: r937993 - /tomcat/trunk/build.xml

2010-04-26 Thread pero
Author: pero Date: Mon Apr 26 10:46:01 2010 New Revision: 937993 URL: http://svn.apache.org/viewvc?rev=937993&view=rev Log: Include .project and .classpath files to src distribution. s. http://ant.apache.org/manual/dirtasks.html#defaultexcludes to not include scm files! Modified: tomcat/trun

Re: svn commit: r937325 - in /tomcat/trunk/java/org/apache: catalina/ha/session/DeltaManager.java el/lang/ExpressionBuilder.java

2010-04-26 Thread Mark Thomas
On 26/04/2010 10:28, Peter Roßbach wrote: Hi Mark, bad fix! The method getValves() only exists at CatalinaCluster! getCluster() returns an object of type CatalinaCluster. The check wasn't doing anything apart from wasting CPU cycles. Mark peter Am 23.04.2010 um 17:09 schrieb ma...@apach

Re: svn commit: r937975 - /tomcat/trunk/java/org/apache/catalina/core/StandardContext.java

2010-04-26 Thread Mark Thomas
On 26/04/2010 11:33, Tim Funk wrote: I'm feeling stupid at the moment. (Or need more coffee) But why do the parenthesis make a difference? (Since only addition/subtraction is done and no multiplication - I can't tell why this fixes it) 100 - 10 + 1 = 91 100 - (10 + 1) = 89 Mark

Re: svn commit: r937975 - /tomcat/trunk/java/org/apache/catalina/core/StandardContext.java

2010-04-26 Thread Tim Funk
I'm feeling stupid at the moment. (Or need more coffee) But why do the parenthesis make a difference? (Since only addition/subtraction is done and no multiplication - I can't tell why this fixes it) -Tim On 4/26/2010 5:17 AM, ma...@apache.org wrote: Author: markt Date: Mon Apr 26 09:17:46 201

Re: svn commit: r937325 - in /tomcat/trunk/java/org/apache: catalina/ha/session/DeltaManager.java el/lang/ExpressionBuilder.java

2010-04-26 Thread Peter Roßbach
Hi Mark, bad fix! The method getValves() only exists at CatalinaCluster! peter Am 23.04.2010 um 17:09 schrieb ma...@apache.org: Modified: tomcat/trunk/java/org/apache/catalina/ha/session/ DeltaManager.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/ha/session/De

svn commit: r937975 - /tomcat/trunk/java/org/apache/catalina/core/StandardContext.java

2010-04-26 Thread markt
Author: markt Date: Mon Apr 26 09:17:46 2010 New Revision: 937975 URL: http://svn.apache.org/viewvc?rev=937975&view=rev Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49184 Prevent ArrayIndexOutOfBoundsException Patch provided by Pid Modified: tomcat/trunk/java/org/apache/catalin

DO NOT REPLY [Bug 49184] Index out of bounds exception thrown when dynamically adding Filter

2010-04-26 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49184 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

DO NOT REPLY [Bug 49183] Odd code in setclasspath.sh

2010-04-26 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49183 Mark Thomas changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|

Re: Question about context aliases

2010-04-26 Thread Rainer Jung
On 26.04.2010 06:46, Konstantin Kolinko wrote: 2010/4/23 Mark Thomas: On 23/04/2010 12:30, Rainer Jung wrote: On 23.04.2010 12:04, Mark Thomas wrote: On 23/04/2010 10:51, Rainer Jung wrote: On 22.04.2010 18:51, Mark Thomas wrote: On 22/04/2010 17:40, Rainer Jung wrote: Experimenting on the

Re: Memory leak detection and JVMTI

2010-04-26 Thread Rainer Jung
On 25.04.2010 23:18, Sylvain Laurent wrote: I don't understand what would be the purpose of this feature. Is it in order to really force a GC when clicking on the "Find leaks" button of the manager ? Yes If it's for that, I don't think it's worth the trouble. People really interested in fixin

Re: Question about context aliases

2010-04-26 Thread Mark Thomas
On 26/04/2010 05:46, Konstantin Kolinko wrote: > If there are resources in the web application for the same path as > covered by an alias, these webapp resources will be ignored? I.e., > configuring an alias in context.xml can be used to overwrite parts of > the web application? Correct. Mark

Re: Tomcat 4.1.31 - HTTPS not working intermittently | “Page Cannot be Displayed”

2010-04-26 Thread Mark Thomas
On 26/04/2010 07:01, :) wrote: > Please suggest in resolving this issue. thanks This question belongs on the users list. Mark - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h..