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

2001-04-22 Thread marcsaeg
marcsaeg01/04/22 19:16:03 Modified:src/share/org/apache/tomcat/util Tag: tomcat_32 ThreadPool.java Log: Added a log message to indicate that the thread pool has been exhausted. The log message will only show up in log levels of INFORMATION and higher.

RE: [VOTE] New Committer: Bip Thelin

2001-04-22 Thread Marc Saegesser
+1 > -Original Message- > From: Kief Morris [mailto:[EMAIL PROTECTED]] > Sent: Sunday, April 22, 2001 4:22 AM > To: [EMAIL PROTECTED] > Subject: [VOTE] New Committer: Bip Thelin > > > I would like to propose Bip Thelin as a new committer. He has > made a number > of contributions of p

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/generators ErrorHandler.java

2001-04-22 Thread costin
costin 01/04/22 18:21:59 Modified:src/share/org/apache/tomcat/modules/generators ErrorHandler.java Log: Fix for #939 - error in error handling, double "/". Thanks to Ingo Luetkebohle for finding and sending the patch. Submitted by: [EMAIL PROTECTED] (

Re: [VOTE] New Committer: Bip Thelin

2001-04-22 Thread Amy Roh
- Original Message - From: "Kief Morris" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, April 22, 2001 2:22 AM Subject: [VOTE] New Committer: Bip Thelin > I would like to propose Bip Thelin as a new committer. He has made a number > of contributions of patches over the past s

Re: SSI Tests fail

2001-04-22 Thread Amy Roh
It was due to newline character at end of file. It's fixed and should work now. Thanks. Cheers, Amy - Original Message - From: "Kief Morris" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, April 22, 2001 2:04 AM Subject: SSI Tests fail > I'm getting failures on tests in th

RE: 3.2.2b3 mod_jk gets stuck in readFully

2001-04-22 Thread Marc Saegesser
I encountered the hang problems using Apache 1.3.9. I don't know of any hard-coded array sizes that impact thread pooling in 3.2.2 and if there are any they are bugs and should be fixed. > -Original Message- > From: Rainer Jung [mailto:[EMAIL PROTECTED]] > Sent: Sunday, April 22, 2001 1:

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/util/qlog LogDaemon.java

2001-04-22 Thread costin
costin 01/04/22 17:19:49 Modified:src/share/org/apache/tomcat/util/qlog LogDaemon.java Log: Don't start if already started. Revision ChangesPath 1.2 +3 -0 jakarta-tomcat/src/share/org/apache/tomcat/util/qlog/LogDaemon.java Index: LogDaemon.java ==

Accesing MySQL database through Applets

2001-04-22 Thread Dana Marcusanu
I am using Tomcat version 3.2.1. I am trying to connect to a data base from an applet and I am getting the following error: 2001-04-22 05:41:00 - Ctx( /examples ): 404 R( /examples + /jsp/student/org/gjt/ mm/mysql/Driver.class + null) null My driver is in: C:\tomcat\jakarta-tomcat-3.2.1\lib My ap

Re: Session expiration vs. passivation

2001-04-22 Thread Craig R. McClanahan
On Sun, 22 Apr 2001, Kief Morris wrote: > I'm fixing a problem with PersistentManager which affects how sessions are > removed from memory. This will require making a change to StandardSession, > which I'd like to get some feedback on. Looking at this issue makes me think > that StandardManager

Re: URL mapping and infinite loop problem

2001-04-22 Thread Craig R. McClanahan
On Sun, 22 Apr 2001, Tushar Kale wrote: > Hello: > I have following servlet mapping defined in the web.xml file: > > > secureAction > /secure/* > > > The objective is to activate the secureAction servlet when any file in > secure directory is accessed. The secureAction servlet performs co

Re: [VOTE] New Committer: Bip Thelin

2001-04-22 Thread Craig R. McClanahan
On Sun, 22 Apr 2001, Kief Morris wrote: > I would like to propose Bip Thelin as a new committer. He has made a number > of contributions of patches over the past several months, including SSI and > JDBCRealm, and most recently, is doing solid work on session persistence. > > Kief > > +1

tomcat 4 and warp/mod_webapp/connectors

2001-04-22 Thread seguin
first of all, let me apologize... i had sent a couple of emails to this list that were formatted in html (by my lovely exchange server) and i didn't even know it... oops anyways... is there any documentation on warp, mod_webapp and connectors beyond what comes with the distributions? is there

tomcat 4 and warp/mod_webapp/connectors

2001-04-22 Thread seguin
first of all, let me apologize... i had sent a couple of emails to this list that were formatted in html (by my lovely exchange server) and i didn't even know it... oops. anyways... is there any documentation on warp, mod_webapp and connectors beyond what comes with the distributions? is th

Re: Access log files in the style of Apache

2001-04-22 Thread Jochen Wiedmann
Quoting [EMAIL PROTECTED]: > Please send the source file - you attached a .class :-) So sorry - here it is. :-) Thank you, Jochen package org.apache.tomcat.logging; import org.apache.tomcat.core.BaseInterceptor; import org.apache.tomcat.core.ContextManager; import org.apache.tomcat.core.R

[PATCH] mod_jk timestamp and process id logging

2001-04-22 Thread Pogo Com
>2) I suggest adding a timestamp to mod_jk-logging in jk_util.c. Logging >without a timestamp is not very useful. (change 1 line, add 2 lines) Yes, this is a must-have... the other thing that is really useful is the Apache child process id. That way if one process gets stuck, you can get the i

RE: 3.2.2b3 mod_jk gets stuck in readFully

2001-04-22 Thread Pogo Com
Thanks for your help, Marc. Would it be possible to log a message to tomcat.log if the thread pool gets exhausted? I believe the default Apache installation calls for 256 children, so busy sites are going to run into this. A log message suggesting to increase max_threads could save a lot of agg

URL mapping and infinite loop problem

2001-04-22 Thread Tushar Kale
Hello: I have  following servlet mapping defined in the web.xml file:   secureAction /secure/*   The objective is to activate the secureAction servlet when any file in secure directory is accessed. The secureAction servlet performs common processing and then supposed to forward the request

cvs commit: jakarta-tomcat-4.0/tester/web/ssidir includeme.txt

2001-04-22 Thread amyroh
amyroh 01/04/22 14:03:47 Modified:tester/web includeme.txt tester/web/golden SSIConfig03.txt SSIFsize02.txt SSIInclude02.txt tester/web/ssidir includeme.txt Log: Remove newline at end of file. Revision ChangesPath 1.

what is the deal with tomcat 4 and web server connectors??

2001-04-22 Thread Kevin Seguin
Title: what is the deal with tomcat 4 and web server connectors?? i want to move from tomcat 3.x to tomcat 4.  i absolutely must be able to use tomcat 4 with netscape/iplanet and microsoft (iis) web servers.  as near as i can tell, the only connector that will be available in the foreseeable f

[3.3] Release request

2001-04-22 Thread Jon Stevens
Minor request: When you guys make releases of 3.3, could you please tar them up so that the untared directory name is "jakarta-tomcat-3.3-VERSION" instead of just plain old "tomcat"? :-) For example, if the .tar.gz is called: "jakarta-tomcat-3.3-m2.tar.gz" the directory that would end up creatin

cvs commit: jakarta-tomcat/src/facade22/org/apache/tomcat/facade HttpServletResponseFacade.java

2001-04-22 Thread costin
costin 01/04/22 11:56:03 Modified:src/facade22/org/apache/tomcat/facade HttpServletResponseFacade.java Log: Checked in patch for #578. Thanks Santiago Gala for submiting the patch. Submitted by: [EMAIL PROTECTED] (Santiago Gala) Revision Changes

Re: Slashdot article

2001-04-22 Thread Jon Stevens
on 4/22/01 1:09 AM, "Kief Morris" <[EMAIL PROTECTED]> wrote: > There's an article on Slashdot about Tomcat. The reader comments show > that we've got a PR hill to climb. > > http://slashdot.org/article.pl?sid=01/04/21/1433254 The number of dissatisfied users is astounding. I especially though

RE: 3.2.2b3 mod_jk gets stuck in readFully

2001-04-22 Thread Rainer Jung
If 100 is a constraint for the pool size, it should be stated in the Tomcat User's manual, since there it is explained how to increase the pool, but no max is given. I observed Exceptions when using more than 100 threads in the pool, coming from one or two arrays which have fixed size 100 in t

Bugs <500

2001-04-22 Thread cmanolache
Hi, I finished reviewing bugs marked as LATER with ID<500. There are 5 bugs that we should fix for 3.3: 345 - Date header 348 - Security roles 375 - // security checking - revert to paranoid path checks 454 - mod_jk spawning (hunged ) apache processes when tomcat is down ( maybe later -

Re: Access log files in the style of Apache

2001-04-22 Thread cmanolache
Hi Jochen, Thank you for this patch - it is something very needed. I don't think this can make it for 3.2.2 release ( but it can be made available for people to compile as a separate module), but it'll be available for 3.3 ( I hope in the default distribution - but we do have the option of makin

Re: [VOTE] New Committer: Bip Thelin

2001-04-22 Thread Remy Maucherat
- Original Message - From: "Kief Morris" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, April 22, 2001 2:22 AM Subject: [VOTE] New Committer: Bip Thelin > I would like to propose Bip Thelin as a new committer. He has made a number > of contributions of patches over the past s

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

2001-04-22 Thread costin
costin 01/04/22 08:52:12 Modified:src/shell tomcat.sh Log: Fix for #232, thanks [EMAIL PROTECTED] (Mark Norman) for the report and fix. Submitted by: [EMAIL PROTECTED] (Mark Norman) Revision ChangesPath 1.23 +10 -2 jakarta-tomcat/src/shell/tomcat.sh

Re: Catalina and log4j

2001-04-22 Thread Ceki Gülcü
At 15:51 21.04.2001 -0700, you wrote: >On Sat, 21 Apr 2001, Ceki [iso-8859-1] Gülcü wrote: > >> >> Hello, >> >> I am toying with the idea of migrating catalina logging to log4j. Let >> me begin by saying that I am far from being familiar with catalina >> internals but I am getting there slowly

Re: Catalina and log4j

2001-04-22 Thread Ceki Gülcü
At 16:37 21.04.2001 -0700, you wrote: >On Sat, 21 Apr 2001, Scott Sanders wrote: > >> What he meant was: >> >>if(log.isDebugEnabled()) >> log.debug("Processing " + errorPage); >> >> ;-) > >I can certainly see that, but it sure blows the "shorter code" advantage >that was touted :-).

Re: Catalina and log4j

2001-04-22 Thread Craig R. McClanahan
On Sat, 21 Apr 2001, Glenn Nielsen wrote: > Ceki Gülcü wrote: > >> One important point to remember is that each >> webapp classloader could load a fresh copy of log4j so that each >> webapp has its own logging universe. > > > This would significantly increase the memory footprint required for

Access log files in the style of Apache

2001-04-22 Thread Wiedmann, Jochen
Hi, attached you find a so called AccessLogInterceptor which I wrote to create log files in the style of Apache httpd's "AccessLog". It can be used like this: the above elements in "server.xml" would create entries like this in the log file localhost - - [22/Apr/2001:13:59:47 0120]

Slashdot article

2001-04-22 Thread Kief Morris
There's an article on Slashdot about Tomcat. The reader comments show that we've got a PR hill to climb. http://slashdot.org/article.pl?sid=01/04/21/1433254

Re: Catalina and log4j

2001-04-22 Thread Craig R. McClanahan
On Sat, 21 Apr 2001, Scott Sanders wrote: > What he meant was: > >if(log.isDebugEnabled()) > log.debug("Processing " + errorPage); > > ;-) I can certainly see that, but it sure blows the "shorter code" advantage that was touted :-). It also seems a little redundant -- if I want to

RE: 3.2.2b3 mod_jk gets stuck in readFully

2001-04-22 Thread Marc Saegesser
Two things. First, the other problem that I was seeing turned out to be an Apache problem. I switched to Apache 1.3.19 and my thread hang problems went away. That problem seemed to be a synchronization thing that occurred if requests showed up too close together. As for the thread pool stuff.

Re: Store Proposal

2001-04-22 Thread Kief Morris
Bip Thelin typed the following on 06:26 PM 4/21/2001 -0700 >Kief Morris wrote: >> >> [...] >> >> Great - can you provide these patches as file attachments? They came in the >> body of your message, which is very difficult to reliably apply to the >sources. > >Attached is the files, the CustomOb

Re: Catalina and log4j

2001-04-22 Thread Ceki Gülcü
At 17:45 21.04.2001 -0700, you wrote: >My two cents as a Log4J User. > >I use Log4J in my servlets and I think it great. Logging has never been so easy. >One issue though, the Configurator class holds it data in a Static variable so >two servlets inside the same JVM will each over write the others

Re: Catalina and log4j

2001-04-22 Thread Scott Sanders
>> - No more need to do >> >> if(debug > 1) >> log("Some message"); >> >> instead one would write >> >> log.debug("Some message"); >> >> where log is an instance of org.apache.log4j.Category. >> > > > Although not evident in your example above, there is a potentially > substantial p

Re: Catalina and log4j

2001-04-22 Thread Glenn Nielsen
Ceki Gülcü wrote: > > > One important point to remember is that each webapp classloader could load a fresh >copy of log4j so that each webapp has its own logging universe. > This would significantly increase the memory footprint required for logging in the JVM. I would prefer that log4j be gl

[VOTE] New Committer: Bip Thelin

2001-04-22 Thread Kief Morris
I would like to propose Bip Thelin as a new committer. He has made a number of contributions of patches over the past several months, including SSI and JDBCRealm, and most recently, is doing solid work on session persistence. Kief

Re: Catalina and log4j

2001-04-22 Thread Scott Sanders
>> One fairly simple way to integrate Log4J would be to write an >> implementation of org.apache.catalina.Logger that uses it. This will >> undoubtedly not suffice for a final solution, because it does not expose >> all of the logging flexibility that Log4J provides. But it might serve as >> a s

Session expiration vs. passivation

2001-04-22 Thread Kief Morris
I'm fixing a problem with PersistentManager which affects how sessions are removed from memory. This will require making a change to StandardSession, which I'd like to get some feedback on. Looking at this issue makes me think that StandardManager is also doing the wrong thing when unloading sessi

Re: Store Proposal

2001-04-22 Thread Bip Thelin
Kief Morris wrote: > > [...] > > Great - can you provide these patches as file attachments? They came in the > body of your message, which is very difficult to reliably apply to the sources. Attached is the files, the CustomObjectInputstream goes in the util dir. ..bip StoreFiles.zip

Re: Catalina and log4j

2001-04-22 Thread Craig R. McClanahan
On Sat, 21 Apr 2001, Glenn Nielsen wrote: > Ceki, > > This is welcome news! > > It isn't clear to me whether the standard servlet API logging methods > could use log4j behind the scense to do logging. This would be very > nice, especially if you could configure log4j logging for each scope >

SSI Tests fail

2001-04-22 Thread Kief Morris
I'm getting failures on tests in the SSITest target. I'm running these on Windows 2000 SP1 with Sun JDK 1.3.0-C - could this have to do with line endings? SSITest: OK [GET /tester/SSIInclude01.shtml] OK [GET /tester/SSIInclude02.shtml] OK [GET /tester/SSIInclude03.shtml] OK [GET /tester/SSIInclud

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/util/threads Reaper.java

2001-04-22 Thread costin
costin 01/04/21 22:39:54 Modified:src/share/org/apache/tomcat/util/threads Reaper.java Log: Small fix - use interrupt to stop the reaper from sleeping. Revision ChangesPath 1.4 +5 -2 jakarta-tomcat/src/share/org/apache/tomcat/util/threads/Reaper.java In

Re: Catalina and log4j

2001-04-22 Thread Craig R. McClanahan
On Sat, 21 Apr 2001, Ceki [iso-8859-1] Gülcü wrote: > > Hello, > > I am toying with the idea of migrating catalina logging to log4j. Let > me begin by saying that I am far from being familiar with catalina > internals but I am getting there slowly. > > After a short initial study and some ex

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/config WorkDirSetup.java

2001-04-22 Thread costin
costin 01/04/21 22:38:53 Modified:src/share/org/apache/tomcat/modules/config WorkDirSetup.java Log: Moved the cleanDir method to FileUtil, code duplication is not good. Revision ChangesPath 1.5 +3 -27 jakarta-tomcat/src/share/org/apache/tomcat/modules/config/

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/util/io FileUtil.java

2001-04-22 Thread costin
costin 01/04/21 22:38:17 Modified:src/share/org/apache/tomcat/util/io FileUtil.java Log: Added the cleanDir method ( duplicated in WorkDir and AutoDeploy, general purpose) Revision ChangesPath 1.4 +28 -3 jakarta-tomcat/src/share/org/apache/tomcat/util/io/FileU

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/config AutoDeploy.java

2001-04-22 Thread costin
costin 01/04/21 22:37:31 Modified:src/share/org/apache/tomcat/modules/config AutoDeploy.java Log: #196 - support for re-deploying the WAR if a change is detected. That supports a certain operation mode, where you upload a new version of the WAR in the server. ( the old dir w

Re: Catalina and log4j

2001-04-22 Thread Glenn Nielsen
"Craig R. McClanahan" wrote: > > On Sat, 21 Apr 2001, Glenn Nielsen wrote: > > > Ceki Gülcü wrote: > > > >> One important point to remember is that each > >> webapp classloader could load a fresh copy of log4j so that each > >> webapp has its own logging universe. > > > > > This would significan

Patch suggestions mod_jk/ajp13

2001-04-22 Thread Rainer Jung
Hello Henri, I participated in the mod_jk fdatasync discussion on Friday. I have 4 more mod_jk/ajp13 patches on my personal wishlist. The first three (these are mod_jk patches) apply to 3.2.2 as well as to 3.3-milestone2. The fourth (which is the tomcat ajp13 patch) is already fixed in 3.3, b

Re: Catalina and log4j

2001-04-22 Thread Ceki Gülcü
At 20:02 21.04.2001 -0700, you wrote: >Since I had so shamelessly copied Craig's Services model out of Catalina to use it in >another project that never made it, I actually have some experience with this. I had >really appreciated the logging in the Catalina framework, because it was always >

Re: Catalina and log4j

2001-04-22 Thread Ceki Gülcü
At 21:40 21.04.2001 -0700, you wrote: >On Sat, 21 Apr 2001, Glenn Nielsen wrote: > >> Ceki Gülcü wrote: >> >>> One important point to remember is that each >>> webapp classloader could load a fresh copy of log4j so that each >>> webapp has its own logging universe. > >> >> This would significa

Re: Catalina and log4j

2001-04-22 Thread John Gentilin
My two cents as a Log4J User. I use Log4J in my servlets and I think it great. Logging has never been so easy. One issue though, the Configurator class holds it data in a Static variable so two servlets inside the same JVM will each over write the others config. Even since I implemented Log4J I w

RE: 3.2.2b3 mod_jk gets stuck in readFully

2001-04-22 Thread Pogo Com
After quite a bit of struggle, I think I found out what is going on. The problem is that the default configuration of Tomcat does not have enough threads in its thread pool for the default configuration of Apache. This issue would only be apparent if many Apache children were in use. The result

Re: Catalina and log4j

2001-04-22 Thread Ceki Gülcü
At 23:04 21.04.2001 -0500, you wrote: >Ceki Gülcü wrote: >> >> >> One important point to remember is that each webapp classloader could load a fresh >copy of log4j so that each webapp has its own logging universe. >> > >This would significantly increase the memory footprint required for loggin