RE: Out of Threads error

2006-08-04 Thread James Courtney
maxThreads" jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/threads/res/L ocalStrings.properties -Tim James Courtney wrote: > I'm getting this message from my Tomcat 5.0.28 on Linux. > > 2006-08-02 21:01:19: ERROR All threads (400) are currently busy, > waiti

Out of Threads error

2006-08-04 Thread James Courtney
I'm getting this message from my Tomcat 5.0.28 on Linux. 2006-08-02 21:01:19: ERROR All threads (400) are currently busy, waiting. Increase maxThreads (400) or check the servlet status Originally I had 200 threads configured and now 400 in an attempt to avoid it. Either number seems larger than

RE: svn commit: r427821 - /tomcat/tc6.0.x/trunk/java/org/apache/naming/resources/ResourceCache.java

2006-08-01 Thread James Courtney
BTW, is my increasing cacheMaxSize on the Context a sensible workaround until this code is released? Thanks! Jamey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 01, 2006 5:39 PM To: tomcat-dev@jakarta.apache.org Subject: svn commit: r427821

RE: svn commit: r427821 - /tomcat/tc6.0.x/trunk/java/org/apache/naming/resources/ResourceCache.java

2006-08-01 Thread James Courtney
Fantastic, thanks Remy! Do you guys still want a bug filed for that? Jamey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 01, 2006 5:39 PM To: tomcat-dev@jakarta.apache.org Subject: svn commit: r427821 - /tomcat/tc6.0.x/trunk/java/org/apache

RE: ArrayIndexOutOfBoundsException in ResourceCache.java

2006-08-01 Thread James Courtney
al Message- From: Remy Maucherat [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 01, 2006 5:16 PM To: Tomcat Developers List Subject: Re: ArrayIndexOutOfBoundsException in ResourceCache.java James Courtney wrote: > /* new code */ > CacheEntry cacheEntry = null; > CacheEntry[] c

RE: ArrayIndexOutOfBoundsException in ResourceCache.java

2006-08-01 Thread James Courtney
patch would be nice with your bug submission. I believe you meant version 5.0.28, not 4.xx.x. Filip James Courtney wrote: > Thanks Filip, > I believe the threads causing the condition are the connector > threads as we have 200 or so of them configured for handling requests > of wh

RE: ArrayIndexOutOfBoundsException in ResourceCache.java

2006-08-01 Thread James Courtney
Developers List Subject: Re: ArrayIndexOutOfBoundsException in ResourceCache.java if you are running it embedded, what threads are causing the race condition, if it is one of your threads, you can avoid it. otherwise, if you have a test case for us, submit it to bugzilla, and we will be happy to c

ArrayIndexOutOfBoundsException in ResourceCache.java

2006-08-01 Thread James Courtney
eEntry = cache[pos]; } /* new code */ CacheEntry cacheEntry = null; CacheEntry[] currentCache = cache; ... int pos = find(currentCache, name); if ((pos != -1) && (name.equals(currentCache[pos].name))) { cacheEntry = currentCache[pos]; } Thanks in advance for