Re: NIO vs BIO speed

2006-06-26 Thread Remy Maucherat
Filip Hanik - Dev Lists wrote: yes, I think they are looking pretty good. And I am fairly confident in this new code, as most of it, is old tested APR code. (Of course, there hasn't been any new changes, so it's not a surprise it not working any better for me; I did reboot in the meantime, tho

Tomcat sandbox

2006-06-26 Thread Mladen Turk
Hi all, IMO this is mostly Costin related, because he has something inside the sandbox :) Now my question is, could the current sandbox content be moved to the /sandbox/abc so I (or someone else) can create a /sandbox/xyz ? Right now the sandbox is not the 'sandbox' but rather the Tomcat6Sanbox

DO NOT REPLY [Bug 38048] - Classloader leak caused by EL evaluation

2006-06-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 38048] - Classloader leak caused by EL evaluation

2006-06-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 38048] - Classloader leak caused by EL evaluation

2006-06-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 38048] - Classloader leak caused by EL evaluation

2006-06-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

Re: HELP Wanted

2006-06-26 Thread Tom Miller
Filip, I went through the configuration file tom-configurations.tar.gz and could not find any configuration refer to multi context (container) and multi virtualhost for appache. I hope, I did not miss communicated. Multiple context (container) using the same Tomcat is one of the main require

DO NOT REPLY [Bug 38048] - Classloader leak caused by EL evaluation

2006-06-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

Re: HELP Wanted

2006-06-26 Thread Tom Miller
Please ingore my previous email. I sent to the wrong people and list. Sorry, Tom Original message >Date: Mon, 26 Jun 2006 11:19:22 -0400 >From: Tom Miller <[EMAIL PROTECTED]> >Subject: Re: HELP Wanted >To: [EMAIL PROTECTED] >Cc: dev@tomcat.apache.org > >Filip, > >I went through

Re: Tomcat sandbox

2006-06-26 Thread Rainer Jung
Hi Mladen, Costins README.txt inside the sandbox already suggested: === Sandbox components should be developed in a sub-directory of the /tomcat/sandbox directory. Developers may choose whether to add source directly under the component's directory or to create the standard subversion /trunk/, /

Re: Tomcat sandbox

2006-06-26 Thread Mladen Turk
Rainer Jung wrote: Hi Mladen, Costins README.txt inside the sandbox already suggested: I know, I read the README, but the content inside does not follow the README. That's the point :) Regards, Mladen. - To unsubscribe, e-m

Re: NIO vs BIO speed

2006-06-26 Thread devlists
man that sucks, I can run the same tests, even hundred thousand iterations, I get a little worse performance than the blocking connector and a little better than the APR connector, and it never crashes for me. I'm in dublin at apachecon this week, but will continue as soon I get back, have a good

svn commit: r417257 - /tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java

2006-06-26 Thread remm
Author: remm Date: Mon Jun 26 10:48:32 2006 New Revision: 417257 URL: http://svn.apache.org/viewvc?rev=417257&view=rev Log: - Catch everything, as any unexpected exception would kill the server. Modified: tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java Modified: tomcat/

RE: NIO vs BIO speed

2006-06-26 Thread Bill Barker
I haven't tested Filip's connector yet, but that's also my experience with the AJP/NIO connector: NIO is pretty much useless on Windows. > -Original Message- > From: Remy Maucherat [mailto:[EMAIL PROTECTED] > Sent: Monday, June 26, 2006 4:58 AM > To: Tomcat Developers List > Subject: Re

Re: Tomcat sandbox

2006-06-26 Thread Rainer Jung
I should have been more explicit: +1 for cleaning it up according to the README :) Mladen Turk schrieb: Rainer Jung wrote: Hi Mladen, Costins README.txt inside the sandbox already suggested: I know, I read the README, but the content inside does not follow the README. That's the point :)

svn commit: r417271 - /tomcat/tc6.0.x/trunk/build.properties.default

2006-06-26 Thread jfclere
Author: jfclere Date: Mon Jun 26 11:25:51 2006 New Revision: 417271 URL: http://svn.apache.org/viewvc?rev=417271&view=rev Log: Change the compiler to the lastest version. Modified: tomcat/tc6.0.x/trunk/build.properties.default Modified: tomcat/tc6.0.x/trunk/build.properties.default URL: htt

Re: svn commit: r416897 - in /tomcat/connectors/trunk/jk/native/common: jk_ajp_common.c jk_ajp_common.h jk_lb_worker.c jk_service.h jk_worker.c

2006-06-26 Thread Rainer Jung
[EMAIL PROTECTED] schrieb: Author: mturk Date: Sat Jun 24 03:44:34 2006 New Revision: 416897 URL: http://svn.apache.org/viewvc?rev=416897&view=rev Log: Instead calling time(NULL), use it as a function parameter. Modified: tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c @@ -283,32 +2

Re: svn commit: r416897 - in /tomcat/connectors/trunk/jk/native/common: jk_ajp_common.c jk_ajp_common.h jk_lb_worker.c jk_service.h jk_worker.c

2006-06-26 Thread Mladen Turk
Rainer Jung wrote: -static int JK_METHOD maintain_workers(jk_worker_t *p, jk_logger_t *l) +static int JK_METHOD maintain_workers(jk_worker_t *p, time_t now, jk_logger_t *l) { unsigned int i = 0; jk_uint64_t curmax = 0; long delta; -time_t now = time(NULL); -JK_TRACE_ENT

svn commit: r417280 - /tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c

2006-06-26 Thread rjung
Author: rjung Date: Mon Jun 26 12:10:43 2006 New Revision: 417280 URL: http://svn.apache.org/viewvc?rev=417280&view=rev Log: Drop the remaining duplicate stting of now=time(NULL). Minor Fix to commit r416897. Modified: tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c Modified: tomcat/

Re: NIO vs BIO speed

2006-06-26 Thread Remy Maucherat
Bill Barker wrote: I haven't tested Filip's connector yet, but that's also my experience with the AJP/NIO connector: NIO is pretty much useless on Windows. That's what I see, then, but it's not what Sun says. Rémy - To unsu

jk/native/common/jk_ajp_common.c: Buglet concerning ep_mincache_sz

2006-06-26 Thread Rainer Jung
Hi Mladen, In jk/native/common/jk_ajp_common.c: Are you able to convince me, that this condition is correct: 2210 if (n > aw->ep_mincache_sz) { 2211 if (JK_IS_DEBUG_LEVEL(l)) { 2212 jk_log(l, JK_LOG_DEBUG, 2213

svn commit: r417288 - /tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c

2006-06-26 Thread mturk
Author: mturk Date: Mon Jun 26 13:07:54 2006 New Revision: 417288 URL: http://svn.apache.org/viewvc?rev=417288&view=rev Log: Properly determine the minimum cache size. Modified: tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c Modified: tomcat/connectors/trunk/jk/native/common/jk_ajp

Re: NIO vs BIO speed

2006-06-26 Thread devlists
I'm not seeing the windows problems, I used to have many problems on windows using jdk1.4, but since 1.5 I have no problems at all. I do have a brand new machine, so maybe there is some windows patch on it that I didn't have before, other than that I can't think of anything. I'm showing almost ide

Re: NIO vs BIO speed

2006-06-26 Thread Mladen Turk
[EMAIL PROTECTED] wrote: I'm not seeing the windows problems, I used to have many problems on windows using jdk1.4, but since 1.5 I have no problems at all. I do have a brand new machine, so maybe there is some windows patch on it that I didn't have before, other than that I can't think of anythi

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

2006-06-26 Thread rjung
Author: rjung Date: Mon Jun 26 14:07:14 2006 New Revision: 417296 URL: http://svn.apache.org/viewvc?rev=417296&view=rev Log: Tried to fix some HTML syntax errors in output. Most of it: Thanks to Johan Bergstroem. Modified: tomcat/connectors/trunk/jk/native/common/jk_status.c Modified: tomcat

Re: Jk_status doesn't generate valid html (patch included)

2006-06-26 Thread Rainer Jung
Thanks, I committed most of it (and some more). The only thing I left unchanged is not escaping the Ampersand as a seperator between query arguments. Johan Bergström schrieb: Hello dev-list. I'm quite new to both tomcat and mod_jk.. really liking it so far! Thought I could contribute back wit

svn commit: r417297 - /tomcat/connectors/trunk/jk/xdocs/changelog.xml

2006-06-26 Thread rjung
Author: rjung Date: Mon Jun 26 14:10:57 2006 New Revision: 417297 URL: http://svn.apache.org/viewvc?rev=417297&view=rev Log: Adding most of my changes to the changelog. Modified: tomcat/connectors/trunk/jk/xdocs/changelog.xml Modified: tomcat/connectors/trunk/jk/xdocs/changelog.xml URL: htt

Re: svn commit: r417288 - /tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c

2006-06-26 Thread Rainer Jung
[EMAIL PROTECTED] schrieb: +if ((cnt - n) < aw->ep_mincache_sz) { "<=" (lower or equals) instead of "<"? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: NIO vs BIO speed

2006-06-26 Thread devlists
yes, I've ran 20 instances of ab (each with 50 connections) at the same time on my windows box, so 1000 concurrent connections. (with tomcat's default maxThread setting, which I think was 200) The NIO connector handles this fine, my box is of course 100% cpu between windows,tomcat and all the ab pr

Re: NIO vs BIO speed

2006-06-26 Thread Peter Lin
yeah, anything over 500 threads with JMeter will chew up the available CPU cycles. tomcat needs a hardware benefactor to donate some hardware :) peter On 6/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: yes, I've ran 20 instances of ab (each with 50 connections) at the same time on my wi

Re: svn commit: r415813 - in /tomcat/sandbox/java/org/apache/tomcat/util/modeler: ./ modules/

2006-06-26 Thread Remy Maucherat
[EMAIL PROTECTED] wrote: Author: costin Date: Tue Jun 20 14:32:40 2006 New Revision: 415813 URL: http://svn.apache.org/viewvc?rev=415813&view=rev Log: Graduated What is the plan next ? Removing the straight dependency on JMX would be a good idea. I suppose there's going to be a need for an ob

Re: NIO vs BIO speed

2006-06-26 Thread Jean-frederic Clere
on my machine ab tells: +++ Percentage of the requests served within a certain time (ms) 50% 3 66% 3 75% 3 80% 4 90% 7 95% 17 98% 40 99%176 100%919 (longest request) +++ For NIO. And: +++ Percentage of the requests served within a certain time (ms

Re: Using Datasource in Tomcat 5.5

2006-06-26 Thread Mark Thomas
Jitendra Kharche wrote: > Hi there, can anybody help me on this. I have posted this problem in > user mailing list 3-4 times in last two weeks but I havn't got any reply > that can solve my problem. Please help me. This message does not belong on the dev list. Please keep this thread on the users

Re: [VOTE] Release Tomcat 4.1.32 as beta

2006-06-26 Thread Mark Thomas
Mark Thomas wrote: > Please vote on releasing Apache Tomcat 4.1.32 as beta. > > Download from: > http://tomcat.apache.org/dev/dist/ > > MD5s: > apache-tomcat-4.1.32-src.tar.gz 6d02184d961954a6670db2d0c1e9c39e > apache-tomcat-4.1.32-src.zip 467ea0d5eea9501c2b2884108233e308 The votes received

Re: Tomcat sandbox

2006-06-26 Thread Costin Manolache
You mean to remove the 'single tree', and only have components ? I can live with this, but I don't think it's the best idea - and I haven't seen any reasons for that. The idea of the sandbox is that you can try things in it - including the single source tree :-) Why don't you start a component d

Re: svn commit: r415813 - in /tomcat/sandbox/java/org/apache/tomcat/util/modeler: ./ modules/

2006-06-26 Thread Costin Manolache
We could - but since JMX is in JDK anyway, I don't think it's that important to wrap it or not have a code dependency. Wrapping won't make it lighter at runtime :-) I should just clean up the few places where jmx is abused ( i.e. used as an introspection equivalent in normal code paths ). It's us

Re: Using Datasource in Tomcat 5.5

2006-06-26 Thread sarma
HI, i am working with oracle database when i places classes12.jar file in D:\Tomcat 5.0\common\lib i faced same problem. just try like this remove the jar file (delete it and then undelete the jar file) and start th tomcat server so that thei changes made in that folder is read by tom