Re: mod_jk 1.2.14.1 core dump

2005-08-29 Thread David Rees
On 8/28/05, Jean-frederic Clere [EMAIL PROTECTED] wrote: David Rees wrote: I'm getting a core dump on my SGI IRIX machine using mod_jk 1.2.14.1 in jk_lb_worker.c line 605. The stack trace is below. This happens on any JK request I try. Going back to 1.2.11 works fine. Any ideas? When

mod_jk 1.2.14.1 core dump

2005-08-25 Thread David Rees
I'm getting a core dump on my SGI IRIX machine using mod_jk 1.2.14.1 in jk_lb_worker.c line 605. The stack trace is below. This happens on any JK request I try. Going back to 1.2.11 works fine. Any ideas? -Dave 0 service(e = 0x1035afe8, s = 0x7fff2b28, l = 0x10281f68, is_error =

Re: *SPAM* Session Affinity after Graceful Apache restart? [was Re: Adding working dynamically with mod_jk status?]

2005-06-07 Thread David Rees
On 6/7/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Does anyone know (David, Mladen?) what will happen to session affinity is this situation? ie with Apache in front of several tomcats using mod_jk, when Apache is restarted gracefully using apache -k restart (Windows) will session

Re: Graceful restart on Windows [was Re: Adding working dynamically with mod_jk status?]

2005-06-02 Thread David Rees
On 6/1/05, Bernard [EMAIL PROTECTED] wrote: I follow this sequence because mod_jk returns a server error if it cannot connect to Tomcat. To avoid this during Tomcat restarts, you need to have 2 Tomcat instances running and set them up with mod_jk to load balance across them. -Dave

Re: Adding working dynamically with mod_jk status?

2005-05-31 Thread David Rees
Yes, it should be possible on Windows as well. You may have to invoke apache.exe manually on that platform, I am not familiar with Apache on Windows. Apache docs or a google search should tell you more. -Dave On 5/31/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: That sounds perfectbut

Re: Graceful restart on Windows [was Re: Adding working dynamically with mod_jk status?]

2005-05-31 Thread David Rees
On 5/31/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: After some more digging, it *appears* that apache -k restart WILL do a graceful restart of Apache2 on Windoze. Can anyone confirm this please? And are there any gotcha's to watch out for? Can someone explain exactly how this works?

Re: Adding working dynamically with mod_jk status?

2005-05-25 Thread David Rees
On 5/25/05, [EMAIL PROTECTED] wrote: Is this still true if we were to define extra workers that are marked as disabled at startup? Could we then point them to any new servers as they are added and enable them without a restart? I know it's not very clean, but would it work? We'd

Re: [ANN] Jakarta Tomcat Connectors 1.2.7-beta-2 released

2004-12-09 Thread David Rees
Looks like more bad newlines were added to jk/native/apache-2.0/mod_jk.c in this release. -Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Newline Patch for JTC 1.2.7-beta

2004-12-01 Thread David Rees
I had a few problems compiling on SGI as it's compiler doesn't like the mix of windows/unix style line feeds present in a couple files. Not sure if they'll show up in this patch, but at least the patch will show where the windows style newlines are. -Dave

Re: Question about new mod_jk jk_lb_worker.c

2004-11-16 Thread David Rees
Rainer Jung wrote, On 11/16/2004 1:11 AM: Unfortunately I don't understand. Trying to combine rotatelogs with mod_jk.log in the following way (apache 1.3): Doh. I've been using Apache 2 for so long I forgot that it doesn't work with Apache 1.3. It does work using Apache 2 / mod_jk. -Dave

Re: Question about new mod_jk jk_lb_worker.c

2004-11-14 Thread David Rees
Rainer Jung wrote, On 11/14/2004 7:31 AM: 0) Any ideas on rotating the mod_jk log file? Use cronolog http://cronolog.org/ or the rotatelogs program included with Apache. -Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: cvs commit: jakarta-tomcat-connectors/jk/native/common jk_ajp13_worker.c

2004-11-10 Thread David Rees
[EMAIL PROTECTED] wrote, On 11/10/2004 7:24 AM: mturk 2004/11/10 07:24:17 Modified:jk/native/common jk_ajp13_worker.c Log: Use new TRACE/DEBUG logging. Also skip checking for memory allocation. If we can not allocate enough memory it's better to core dump then try to

Re: Dates for 5.0.29 and 5.5.2

2004-09-09 Thread David Rees
Shapira, Yoav wrote, On 9/9/2004 5:46 AM: Take a look at the changelog in CVS. Thanks, found the changelog here in CVS in case anyone else wants to look as well, took me a while to find it:

RE: Dates for 5.0.29 and 5.5.2

2004-09-08 Thread David Rees
Shapira, Yoav wrote: We don't need 5.0.29 already. But it's had a number of small bug fixes and enhancements over 5.0.28. We can wait longer -- this is why I asked What bugs and enhancements have been made since 5.0.28? -Dave

Re: Hi!

2004-09-01 Thread David Rees
Shapira, Yoav wrote, On 8/31/2004 11:34 AM: Welcome ;) The web site shows latest stable version, and 5.0.28 has yet to be voted as such. Shouldn't the release notes in the email announcement say that explicity in the subject? IIRC, previous releases happenned that way...

Re: Where's 4.1.31?

2004-08-21 Thread David Rees
Jeanfrancois Arcand wrote, On 8/20/2004 9:45 AM: Althrough I agree with peoples that can't move to Tomcat 5, Tomcat 5 has been available for more that 1 year. That will be good for Tomcat if people migrate from 4.1.x to 5 and find bugs (that way they will not be carried into 5.5/6). Although I

Re: [Fwd: Re: Some benchs results : WAS: Invitation to HTTPD commiters in tomcat-dev]

2004-07-28 Thread David Rees
Remy Maucherat wrote, On 7/28/2004 7:54 AM: One thing I noticed when looking at Tomcat 5.0.x is that its default, static-file-delivering servlet does a stat(2) of each path prefix leading up to the file. A standard installation of Apache 2.x, with FollowSymlinks enabled, doesn't do these stat

Re: Simple Sticky LB WAS: Invitation to HTTPD commiters in tomcat-dev

2004-07-22 Thread David Rees
Remy Maucherat wrote, On 7/21/2004 11:33 PM: The changes would have to be simple, and non intrusive performance wise. Otherwise, I'm going to prefer AJP ;) Speaking about performance, did anyone do a comparison of mod_proxy against mod_jk to see how good/bad it is ? This is really important

RE: Some JK2 ideas v.2

2004-07-15 Thread David Rees
[EMAIL PROTECTED] wrote: There is a learning cliff with mod_jk2 that many I feel try to climb, and don't make it. They then tomcat gives them a bad taste. KISS - the easier it is to do a simple config (and at the same time have flexibility to do a complicated one) the better. That is the

Re: Some JK2 ideas

2004-07-15 Thread David Rees
Henri Gomez wrote: My idea is about a new module, only Apache 2.x for now, which will make use of SetEnv, SetEnvIf, BrowserMath and Location directives to redirect some URLs to tomcats via AJP. This sounds like a great idea. It would be easy to configure, and I would love to be able to

Re: mod_jk 1.0.26 release ?

2004-07-15 Thread David Rees
nyhgan wrote: Tomcat 3.3.2 and jk1.2.5 is what I am using now and it runs fine. The problem described emails below only occurs if you use jk1.2.x with Tomcat 5.x (or 4.x). And because of this reasonI can't upgrade my Tomcat to Tomcat5.x. This sounds like more of a problem in your application

Re: Time for JkMountExclude in jk 1.2.x ?

2004-07-13 Thread David Rees
Henri Gomez wrote, On 7/13/2004 3:27 AM: What about adding support for JkMountExclude : I would suggest leaving it for the next release of mod_jk, unless it is simple and there is little chance of it adding any regressions. -Dave

Re: Ready for mod_jk 1.2.6 release?

2004-07-07 Thread David Rees
Rainer Jung wrote: the last release of mod_jk 1.2.x (1.2.5) is more than 9 months old. Since then there have been important improvements (CPing/CPong and recovery_options). Especially recovery_options is very useful in transparent administration (start/stop) of cluster nodes. I would like to

Re: [5.next] Progress

2004-07-02 Thread David Rees
Remy Maucherat wrote, On 7/2/2004 2:13 AM: Jeanfrancois Arcand wrote: Remy Maucherat wrote: Speaking of which, does anyone know any OSes (besides Windows) which lock files ? NFS sometimes lock file (I did see a similar problem with Solaris) Thanks for the tip. I'll code in Windows by default, and

Re: Movie

2004-04-27 Thread David Rees
Remy Maucherat wrote: I'm going to unsubscribe Gal from tomcat-dev for now, since a lot of spam is coming through this old email. Subscribe again if you'd like to be on the list (but with a slightly different email so we don't get the spam ;) ). (Apache really needs to add competent spam

RE: XXX Funny movie

2004-04-27 Thread David Rees
Shapira, Yoav wrote: I've put [EMAIL PROTECTED] on the deny list for tomcat-dev, so no more messages from that address should get through. I've also emailed [EMAIL PROTECTED] to let him know of this and ask him to contact us after cleaning up his computer. It looks to me that the headers of

RE: XXX Funny movie

2004-04-27 Thread David Rees
Shapira, Yoav wrote: It looks to me that the headers of the email are forged, so I doubt that [EMAIL PROTECTED] is the one actually sending the emails. You're most likely right, but I looked through the headers, couldn't find anything else, and so went ahead. It seems OK so far. Yeah, at

Re: Losing line numbers in stracktraces

2004-04-06 Thread David Rees
Hans Verschoor wrote: I have a problem reading stacktrace info when Tomcat throws an exception caused by a servlet or a class calld by a servlet I have my classes compiled into in the . WEB-INF/classes directory and (so far) I use no war or jar. When an exception is thrown the stacktrace

RE: Returned mail: Delivery Failed

2004-03-15 Thread David Rees
Shapira, Yoav wrote: I wouldn't call the current situation as moderated so much as managed. Is there a reason that the developers list allows posting from non-subscribers? Or are these troubled addresses actually fully subscribed? All these addresses are fully subscribed (i.e. they

Re: mod_jk 1.2.6 and hung tomcat

2004-03-09 Thread David Rees
Mike Charnoky wrote: Is there a concise reference for this problem? It is intrinsically a tomcat issue or is it a problem with a badly behaved app? How can I determine what is causing the hang? Is there something in the archives that I am completely missing? In my case, Tomcat hangs were

RE: jk2 buglets II

2004-02-26 Thread David Rees
[EMAIL PROTECTED] wrote: This seemed to be an issue with tomcat 4.1.24. Using 4.1.29 resolves this issue. Thanks for the pointers, especially the one to open my eyes and check which tomcat version I was using. While you're at it, you should upgrade to 4.1.30 which fixes some memory leaks

Re: jk2 buglets II

2004-02-23 Thread David Rees
[EMAIL PROTECTED] wrote, On 2/23/2004 8:37 AM: We seem to have another buglet with mod_jk2 2.0.2. We seem to be unable to recreate the bug using ab, but when one of our busiest servers has been running for a few hours we get apache children stuck (at times upto 100 children are blocked, which is

RE: jk2 buglets II

2004-02-23 Thread David Rees
On Mon, February 23, 2004 1at 0:28 am, [EMAIL PROTECTED] wrote: Does restarting the Tomcat instance free up the stuck processes? Yup. Apache seems to recover fine, as the socket gets reset. OK, can you figure out what Tomcat is doing when these processes get stuck? It seems that you may have

Re: cvs commit: jakarta-tomcat-connectors/jk/native/common jk_ajp_common.c

2004-02-17 Thread David Rees
Umm, tab police? ;-) -Dave [EMAIL PROTECTED] wrote, On 2/17/2004 2:38 AM: hgomez 2004/02/17 02:38:25 Modified:jk/native/common jk_ajp_common.c - /* communication with tomcat has been interrupted AFTER - * headers have been sent to the client. -

Re: cvs commit: jakarta-tomcat-connectors/jk/native/common jk_ajp_common.c

2004-02-17 Thread David Rees
Attached is a patch which cleans it up. -Dave David Rees wrote, On 2/17/2004 8:28 AM: Umm, tab police? ;-) -Dave [EMAIL PROTECTED] wrote, On 2/17/2004 2:38 AM: hgomez 2004/02/17 02:38:25 Modified:jk/native/common jk_ajp_common.c - /* communication with tomcat

Re: cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_vm_default.c

2004-02-13 Thread David Rees
Henri, If you want to use shorter lines, you can wrap long lines and still compile. For example (in case my patch gets stripped): printf(This is a ) very long line.\n); -Dave [EMAIL PROTECTED] wrote, On 2/13/2004 12:46 AM: hgomez 2004/02/13 00:46:37 Modified:

Re: cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_vm_default.c

2004-02-13 Thread David Rees
David Rees wrote, On 2/13/2004 1:14 AM: If you want to use shorter lines, you can wrap long lines and still compile. For example (in case my patch gets stripped): printf(This is a ) very long line.\n); Oops, my patch was reversed. Here's a good one. -Dave --- jk_vm_default.c.orig

Re: cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_vm_default.c

2004-02-13 Thread David Rees
Henri Gomez wrote, On 2/13/2004 3:08 AM: Are you sure it will works on non gcc compiler ? I'd like to see Jean-Frederic opinion :) (exotic os/hardware) Does not look like it does, but at least now you'll know that if you're writing gcc specific code you can do it. ;-) The only non-gcc compiler

Re: cvs commit: jakarta-tomcat-4.0 RELEASE-NOTES-4.1.txt

2004-01-25 Thread David Rees
[EMAIL PROTECTED] wrote, On 1/25/2004 5:16 AM: RCS file: /home/cvs/jakarta-tomcat-4.0/RELEASE-NOTES-4.1.txt,v retrieving revision 1.81 retrieving revision 1.82 diff -u -r1.81 -r1.82 @@ -1066,6 +1105,8 @@ [4.1.27] #21984 HandlerReqest: Fix potential Dos

Re: Mod_Jk2 Enhancement - Bugzilla Option?

2004-01-17 Thread David Rees
NormW wrote, On 1/17/2004 12:27 PM: Good morning Developers. Recent testing of mod_jk2 status pages revealed the information was being returned to the client in about 42 byte chunks on a LAN that supports 1500 byte packets. I would like to submit a request for the chunk size to be increased or

TC 5.0.17: Relative context path no longer works

2004-01-14 Thread David Rees
In previous versions of Tomcat, I've used a relative context path like this to setup the manager webapp: Context path=/manager docBase=../server/webapps/manager debug=0 privileged=true/ If I use the absolute path to the manager directory everything is OK. I couldn't find any mention of this in

Re: TC 5.0.17: Relative context path no longer works

2004-01-14 Thread David Rees
On Wed, January 14, 2004 at 4:29 pm, Remy Maucherat wrote: David Rees wrote: In previous versions of Tomcat, I've used a relative context path like this to setup the manager webapp: Context path=/manager docBase=../server/webapps/manager debug=0 privileged=true/ This works for me. Yeah

Re: TC 5.0.17: Relative context path no longer works

2004-01-14 Thread David Rees
On Wed, January 14, 2004 at 4:52 pm, David Rees wrote: Running RH 7.3 with JDK 1.4.2_03-b02. What OS do you develop on? I'll try windows. I'll strip down my config and do more testing... Just tested on Windows XP, and JDK 1.4.2_03-b02 where it works with the relative path. I also tested

Re: TC 5.0.17: Relative context path no longer works

2004-01-14 Thread David Rees
On Wed, January 14, 2004 at 4:56 pm, Remy Maucherat wrote: I'll strip down my config and do more testing... I don't see the point: this should be trivial. Either the manager webapp works or it doesn't. It seems to me like it does ;-) Yeah, it works, and I did something dumb that I don't

Re: 5.next + 4.1.x future

2003-12-18 Thread David Rees
Costin Manolache wrote: Jan-Henrik Haukeland wrote: Remy Maucherat [EMAIL PROTECTED] writes: My opinion is that NIO is going to be really useless. Eh, hello!? Oh, okay if it's not important that Tomcat scale and perform well it may be useless. But, really, before NIO it was hopeless to try and

Re: 5.next + 4.1.x future

2003-12-12 Thread David Rees
On Fri, December 12, 2003 at 2:12 pm, Adam Fisk wrote: I'd be happy to send my data to the group if people are interested. Aside from memory, I was surprised to find that the effect on CPU was negligible (not much of a benefit from no context-switching between threads) -- CPU was virtually

Re: 5.0.X Benchmarks Was: [VOTE] New builds

2003-10-29 Thread David Rees
On Wed, October 29, 2003 1at 1:41 am, Mladen Turk wrote: AFAICT the 5.0.14 is production quality version, much more stable and faster, at least for the applications I'm using. Just upgraded the application (ESRI ArcIMS) from IIS/Jrun to Tomcat 5.0.14, and it's lot faster. I'll post some

Re: New builds ?

2003-10-27 Thread David Rees
On Fri, October 24, 2003 1at 1:27 am, Remy Maucherat wrote: Remy Maucherat wrote: OTOH, there has been a few useful fixes and tweaks since 5.0.13 in the 5.0 branch, so I'll tag a new 5.0.14 at the end of the week (these .13 builds are all cursed :-D). Ok, tomorrow or Sunday :) (I've been a

Re: New builds ?

2003-10-23 Thread David Rees
Remy Maucherat wrote: So, what do we do with 4.1.28 ? AFAIK, no significant issue has been found with this build, with minor tweaks being made since then in the connectors. Is a 4.1.29 needed, or is it simply people forgot about that build ? Comments ? I've been using 4.1.29 for development

Re: New builds ?

2003-10-23 Thread David Rees
Remy Maucherat wrote: David Rees wrote: I've been using 4.1.29 for development without any issues for a few days now. Just one minor annoyance, I get this message twice when starting Tomcat up: CoyoteConnector Coyote can't register jmx for protocol Very good point. I'll tag new 4.1.30

Re: Restart automatically Tomcat

2003-10-06 Thread David Rees
On Mon, October 6, 2003 at 2:41 am, Slimane Amar sent the following I'm using Tomcat 4.1.24 et i want after it fails it restarts automatically to have a high availability. Is it possible with only Tomcat ? If using Unix, check out these tools: http://cr.yp.to/daemontools.html

RE: [next] What's next ?

2003-10-02 Thread David Rees
On Thu, October 2, 2003 at 8:56 am, Shapira, Yoav sent the following 3. Provide a complete working configuration example for a cluster of tomcat servers with a front-end tomcat as well, i.e. a pure tomcat-only solution. We already have the jvmRoute mechanism, but I think it needs more

Re: [next] What's next ?

2003-10-02 Thread David Rees
On Thu, October 2, 2003 1at 0:33 am, Filip Hanik sent the following - Java or native load balancer, with session affinity support. This could be the perfect commons project, and is not really related to Tomcat After looking into it, writing a load balancer in Java will only cause the load

Re: connectors documents

2003-10-01 Thread David Rees
On Wed, October 1, 2003 at 1:18 am, Mark Lowe sent the following Despite using tomcat for 3-4 years jakarta connectors has remained the moving goal post. I dont usually have the pleasure of having to get tomcat and apache talking to one another, but i do now. snip Subject is really for

Re: Jakarta Tomcat 4.1 XSS vulnerability

2003-09-29 Thread David Rees
Anyone know how serious this is? It also appears to affect Tomcat 4.1.27 when using mod_jk as well. Below is a sample trace of a HTTP session. -Dave telnet localhost 8080 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. GET /666%0a%0ascriptalert(asdf);/script666.jsp

RE: Jakarta Tomcat 4.1 XSS vulnerability

2003-09-29 Thread David Rees
On Mon, September 29, 2003 1at 1:57 am, Shapira, Yoav sent the following I'm not a big security buff, but three things come to mind: - The original post with the exploit is more than a year old, yet we haven't heard anything about this actually used maliciously -- how come? Can't answer this

Re: Jakarta Tomcat 4.1 XSS vulnerability

2003-09-29 Thread David Rees
On Mon, September 29, 2003 1at 2:32 pm, Bill Barker sent the following Remy has already patched the HTTP Connector for this one (both Tomcat 45). I believe that the patch still needs to be ported to the JK2 Connector. Thanks for the update, Bill. Hope to see Tomcat 4.1.28 out soon, look like

RE: Jakarta Tomcat 4.1 XSS vulnerability

2003-09-29 Thread David Rees
On Mon, September 29, 2003 1at 2:34 pm, Shapira, Yoav sent the following Howdy, This is interesting, hopefully you won't mind educating me a bit further... Not at all, but keep in mind I haven't studied all that much myself... ;-) - Is it really a vulnerability? What can you get from this

RE: Jakarta Tomcat 4.1 XSS vulnerability

2003-09-29 Thread David Rees
On Mon, September 29, 2003 1at 2:49 pm, Shapira, Yoav sent the following Howdy, OK, makes sense. Thanks for the examples! Glad I could help. Hopefully you (and others) can use this information while designing web applications to avoid similar XSS issues in the future even if they are

Re: mod_jk does not detect a hung Tomcat

2003-09-25 Thread David Rees
Henri Gomez said: This won't work with the pre-fork MPM, since each Apache child will have its own idea of the timing. The only way that it could tell that a Tomcat failed is to try the request and fail :). The idea needs to be flushed out some more. But we should be able to track

Re: cvs commit: jakarta-tomcat-connectors/jk/xdocs/common AJPv13.xml

2003-09-25 Thread David Rees
I think there's a typo-o in here, looks like the text for the PONG REPLY will read as follows: The reply to a PING request. yet. The attached patch should fix it (Against rev 1.5) -Dave [EMAIL PROTECTED] said: /home/cvs/jakarta-tomcat-connectors/jk/xdocs/common/AJPv13.xml,v retrieving

Re: cvs commit: jakarta-tomcat-connectors/jk/xdocs/common AJPv13.xml

2003-09-25 Thread David Rees
David Rees said: I think there's a typo-o in here, looks like the text for the PONG REPLY will read as follows: The reply to a PING request. yet. The attached patch should fix it (Against rev 1.5) -Dave Doesn't look like my attachment made it. Here it is inline. -Dave --- AJPv13.xml

Re: mod_jk does not detect a hung Tomcat

2003-09-23 Thread David Rees
Henri Gomez said: Henri Gomez a écrit : Nope since you don't have to just test at protocol level but also on higher level, for instance check the full chain, up to servlet handling. It's easy to simulate this behavior by sending a STOP signal to Tomcat. I've also attached a log from

mod_jk does not detect a hung Tomcat

2003-09-22 Thread David Rees
I posted this to tomcat-users last week, but didn't get a reply... I'm hoping to get some feedback from the connectors developers on this issue I occasionally run into... I've got a setup where I've got two load balanced Tomcats running off of Apache and mod_jk. I've got a problem where one of

Re: 4.1.27: manager reload of context fails to redeploy WEB-INF/lib and WEB-INF/classes

2003-08-04 Thread David Rees
Remy Maucherat wrote: David Rees wrote: I just entered this bug: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22096 I can reproduce it. Right now, I can't isolate the root cause. Surprised it wasn't caught before the release. I doubt this was introduced between 4.1.26 and 4.1.27, so

4.1.27: manager reload of context fails to redeploy WEB-INF/lib and WEB-INF/classes

2003-08-03 Thread David Rees
I just entered this bug: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22096 Surprised it wasn't caught before the release. -Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [VOTE] Release mod_jk 1.2.5

2003-08-01 Thread David Rees
Henri Gomez said: The correct behaviour will be to use in_addr_t, but it don't works on iSeries (even if it's defined, I couldn't find the correct include). To fix the problem we could use a #define BSD64 ? to make use of in_addr_t until we make more works ? Just provide the correct

Re: java Date related classes synchronization bottlenecks

2003-07-11 Thread David Rees
David Cassidy said: I've done some tests with the below code hope this helps David, Could you give this version a try, and run it for 1 million iterations instead of just 10k? I'll be posting my results shortly for a couple of different machines shortly. The new version keeps the

Re: java Date related classes synchronization bottlenecks

2003-07-11 Thread David Rees
Here are the results from the last version of the TestDatePerf program I sent out. Below are the results from 3 different systems when run for 1 million iterations. Here's how I interpret the results: The program verifies the synchronization performance issue. Dual-CPU machines take a huge

Re: java Date related classes synchronization bottlenecks

2003-07-11 Thread David Rees
On Fri, Jul 11, 2003 at 10:10:21AM -0700, James Courtney wrote: I didn't see an attachment that time. Thanks as this is interesting stuff for Java development of any kind, not just Tomcat! Stupid me. Is attached now. -Dave import java.sql.*; import java.util.*; public class TestDatePerf

Re: java Date related classes synchronization bottlenecks

2003-07-11 Thread David Rees
On Fri, Jul 11, 2003 at 08:57:54AM -0700, David Rees wrote: System 4: Dual Mips R10k 225MHz, SGI Java 1.4.1 SGI IRIX I was mistaken about the CPU freq of this machine, it really has 2 R10k 180MHz CPUs, not 225MHz. -Dave

Re: [4.1.25] Tag today

2003-07-10 Thread David Rees
Glenn, This is quite interesting. How many concurrent threads need to be running before this bottleneck starts to become a significant issue? Does a simple test case which simply starts up a number of threads which all use one of the classes shown below display the problem nicely? I'd guess

Re: java Date related classes synchronization bottlenecks

2003-07-10 Thread David Rees
On Thu, Jul 10, 2003 at 05:46:06PM -0500, Glenn Nielsen wrote: Now use jar to unarchive the src.jar file in your java SDK. Take a look at the java.sql.Timestamp.toString() method which the FileLogger above uses. To verify this look at the source for java.util.Date.getField(). Yes, that

Re: Remaining Tomcat 3.3 Issues

2001-09-12 Thread David Rees
On Wed, Sep 12, 2001 at 03:19:15PM -0400, Larry Isaacs wrote: One of the main aspects of this issue is for me to become informed as to the state of Tomcat 3.3's mod_jk with respect to this. Tomcat 3.3's mod_jk.c has: s-req_uri = r-uri; which, by the statement below, appears to be

Re: cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/util SessionIdGenerator.java

2001-09-04 Thread David Rees
On Wed, Sep 05, 2001 at 02:42:14AM -, [EMAIL PROTECTED] wrote: marcsaeg01/09/04 19:42:14 Modified:src/share/org/apache/tomcat/startup Tag: tomcat_32 Tomcat.java src/share/org/apache/tomcat/util Tag: tomcat_32

Re: Another funny thought this time about PHP

2001-09-04 Thread David Rees
On Wed, Sep 05, 2001 at 05:38:56AM +0200, Deacon Marcus wrote: Hi, Some of my co-workers are pushing for php support. While I'm strongly opposing the idea (who needs php when jsp is available? imo that's plain ridicilous), I thought, is it - theoretically - or would it be possible - to set

Re: [TC3.2.3][PATCH] mod_jk / mod_rewrite bug fix

2001-08-15 Thread David Rees
On Tue, Aug 14, 2001 at 11:49:43PM -0400, Keith Wannamaker wrote: Try ap_escape_uri That does the trick. Here's the patch which gets things working again, thanks for all the help. Hopefully this will get applied soon. Is there any 3.2.4 release planned to fix the small number of

Re: [TC3.2.3][PATCH] mod_jk / mod_rewrite bug fix

2001-08-15 Thread David Rees
On Wed, Aug 15, 2001 at 08:58:00AM -0700, [EMAIL PROTECTED] wrote: And, the whole question is what does Tomcat see the request as? I could make a case that it should never know about the unparsed_uri, but only the uri that httpd finally resolved to and that mod_jk picked up. -- justin

[TC3.2.3][PATCH] mod_jk / mod_rewrite bug fix

2001-08-14 Thread David Rees
Hi, I came across the need to use mod_rewrite to rewrite some URLs I was sending to Tomcat. After playing with it a bit (I had it working a while ago) and finding that Tomcat was not receiving the rewritten URLs no matter what I did, I took a look at the source to native/apache1.3/mod_jk.c.

Re: [TC3.2.3][PATCH] mod_jk / mod_rewrite bug fix

2001-08-14 Thread David Rees
On Tue, Aug 14, 2001 at 10:20:26PM -0400, Keith Wannamaker wrote: Unfortunately there are people who were breaking because we didn't follow the spec. The better way to fix it is to create an inverse function for ap_parse_uri(request_rec *r, const char *uri) [http_protocol.c] in mod_jk...

Re: [TC3.2.3][PATCH] mod_jk / mod_rewrite bug fix

2001-08-14 Thread David Rees
On Tue, Aug 14, 2001 at 11:05:38PM -0400, Keith Wannamaker wrote: | This breaks query strings. | | r-uri contains only the path portion of the URL. r-unparsed_uri | contains the URL in its virgin format - as sent by the client. No, I don't believe this is quite right. getRequestURI() in

Re: Problem with ThreadPool.java

2001-07-26 Thread David Rees
On Thu, Jul 26, 2001 at 03:07:55PM -0700, Renato Weiner wrote: I was running some volume tests with Tomcat 3.2.3 using the 'ab' application that comes with apache. I simulated diffent loads of concurrent users. If set the concurrency to 5 it runs fine my Servlets, but if I set to more than

Re: Problem with ThreadPool.java

2001-07-26 Thread David Rees
On Thu, Jul 26, 2001 at 04:35:59PM -0700, David Rees wrote: I found the problem, below is the simplest patch to fix it, although not 100% correct. I'll explain why in a few minutes. Never mind, I should have looked at openThreads first. As far as I can tell, the ThreadPool works

Re: [DOC] Re: [3.2] JSP Compiling Classpath issues -- finding WEB-INF/class es

2001-07-21 Thread David Rees
On Fri, Jul 20, 2001 at 12:47:51PM -0500, David Haraburda wrote: I don't think unsetting your CLASSPATH is necessary, especially since other applications may rely on it. I would guess that most problems occur when: 1) You add things you have in your WEB-INF/classes to your CLASSPATH (thus

Re: [DOC] Re: [3.2] JSP Compiling Classpath issues -- finding WEB-INF/class es

2001-07-20 Thread David Rees
On Fri, Jul 20, 2001 at 06:22:21AM -0700, Rob S. wrote: A, maybe I should add this to the INSTALL.txt file - unset your CLASSPATH before starting TC? I've logged into my fair share of *nix boxes where the admins have conveniently set a system-wide CLASSPATH containing an XML parser, etc.

Re: [3.2] JSP Compiling Classpath issues -- finding WEB-INF/classes

2001-07-19 Thread David Rees
(Sorry about the double-qoute, I missed the original message) -Original Message- From: Will England [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 19, 2001 10:49 AM To: [EMAIL PROTECTED] Subject: [3.2] JSP Compiling Classpath issues -- finding WEB-INF/classes Greetings!

Re: Tomcat 3.2.2 and Error page 404

2001-07-04 Thread David Rees
On Wed, Jul 04, 2001 at 11:53:05AM -0700, Renato Weiner wrote: Hi all, I know this has been discussed, but I can't find an ultimate answer on this topic. I'm running Tomcat 3.2.2, I have latest the StaticInterceptor.java from CVS. If I configure my web.xml with a dynamic 404 error ( let's

Re: Problem+Fix concerning static error pages in Tomcat 3.2.2

2001-05-30 Thread David Rees
A related bug to this is a nasty stack overflow error if an error page that you define is not found. It's pretty easy to reproduce, just add this to your web.xml: error-page error-code404/error-code location/some-nonexistant-file.jsp/location /error-page Then try to access a

Re: Bug 1006, what's next ?

2001-03-20 Thread David Rees
On Tue, Mar 20, 2001 at 07:03:04AM -0800, [EMAIL PROTECTED] wrote: I had a (long) weekend without computers. But I still found one and read the mail once - and your report is very serious and important ( and not easy to fix ). You have (at least ) my full attention. The read timeout will

Re: cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/request StaticInterceptor.java

2001-03-17 Thread David Rees
On Fri, Mar 16, 2001 at 11:42:00PM -, [EMAIL PROTECTED] wrote: arieh 01/03/16 15:42:00 Modified:src/share/org/apache/tomcat/request Tag: tomcat_32 StaticInterceptor.java Log: Add support for docbase localization lookup. Maybe I'm missing

Re: Proposal for implementation of lookup of localized web-resources

2001-03-15 Thread David Rees
On Wed, Mar 14, 2001 at 08:19:16AM -0700, Arieh Markel wrote: file-based:(path/filebasename[locale].filetype) 1. docbase/dir/.../index_fr_CA.html 2. docbase/dir/.../index_fr.html 3. docbase/dir/.../index_en_US.html 4. docbase/dir/.../index_en.html 5.

Re: cvs commit: jakarta-tomcat/src/shell tomcat.sh

2001-03-14 Thread David Rees
On Thu, Mar 15, 2001 at 07:33:19AM -, [EMAIL PROTECTED] wrote: costin 01/03/14 23:33:19 - added -noout option to redirect the stdout/stderr to a file Great, I've been modifying my tomcat scripts to do this by hand forever. - save the PID of the java process in conf/tomcat.pid

RE: TC 3.2 - Better logging messages when something bad happens?

2000-12-21 Thread David Rees
Thanks for the reply, From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] David Rees wrote: Anyone have any technical comments on the message below? I think that printing a stack dump in this case can be very useful, but someone else may have a different view. For developers

RE: Class reloading problems (TC 3.x)

2000-12-19 Thread David Rees
Sorry, for Tomcat 3.x you're stuck restarting Tomcat after updating beans or servlets. Take a look at this post from Craig which may shed more light on the subject: http://marc.theaimsgroup.com/?l=tomcat-userm=97562988801936w=2 I don't know if this is something Costin has any ideas about for

RE: future questions

2000-12-19 Thread David Rees
From: Jon Stevens [mailto:[EMAIL PROTECTED]] snip p.s. Costin, I had a great idea. I'm going to forward to you all of the personal email based Tomcat support questions that I get. Have fun answering them. :-) How about forwarding them or pointing them to the tomcat-user list where these

RE: [MY_OPINION] Tomcat 3.x

2000-12-18 Thread David Rees
-Original Message- From: Jon Stevens [mailto:[EMAIL PROTECTED]] on 12/18/2000 10:01 AM, "Greg Bailey" [EMAIL PROTECTED] wrote: As a use of Tomcat 3.1 on several production machines, may I say "thanks" also to Costin and everyone else who supports 3.1 (and 3.1.1, 3.2, 3.2.1,

RE: [MY_OPINION] Tomcat 3.x

2000-12-18 Thread David Rees
Hi Craig, -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Frankly, I am disappointed in the development process of Tomcat. I posted a simple documentation patch (See bug report 528) two weeks ago for the FAQ included with the Tomcat 3.x and posted a

RE: [MY_OPINION] Tomcat 3.x

2000-12-18 Thread David Rees
From: Jon Stevens [mailto:[EMAIL PROTECTED]] There are no issues with porting to 4.0. I just took an app developed on 3.x and moved it to 4.0 without any problems. Maybe for your app it ported over, but for others (specifically those working with XML and parsers other than the one bundled

RE: [MY_OPINION] Tomcat 3.x

2000-12-18 Thread David Rees
Hi Jon, From: Jon Stevens [mailto:[EMAIL PROTECTED]] Of course not. That is why I'm suggesting to move away from it for the future and opening the discussion of that now. Would you rather that we continue to follow down this path of split trees forever? Would you rather that all of our

RE: cvs commit:jakarta-tomcat/src/examples/WEB-INF/classes/examples ShowSource.java

2000-12-11 Thread David Rees
(Don't ask me what I think of stupid operating systems that accept "//" in a pathname and simply ignore them like Linux does ... grrr). SGI IRIX 6.5.8 and FreeBSD 4.1-STABLE also behave the same way, I would expect all Unix machines to do the same. -Dave

  1   2   >