Servlet API support for multiple HTTP status codes (1xx)?

2003-11-03 Thread Daniel Rall
Question How to send multiple 1xx responses and a final 200 response to a single request? An example -- A HTTP/1.1 user agent (UA) sends a large, multi-GB XML data file to your server. Thirty seconds pass and the server is still digesting the data file. The server responds

[PATCH] Remove redundant constructor from StandardSessionFacade

2003-01-29 Thread Daniel Rall
* catalina/src/share/org/apache/catalina/session/StandardSessionFacade.java StandardSessionFacade(StandardSession): Removed redundant constructor. As StandardSession implements HttpSession, the StandardSessionFacade(HttpSession) constructor already does the job admirably. ---

[PATCH][JK] Ajp13Processor connection leak prevention

2002-11-06 Thread Daniel Rall
to the appropriate docs if this is a RTFM question. Thanks! -- Daniel Rall [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:tomcat-dev-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-dev-help;jakarta.apache.org

Re: Replacing WebappClassLoader

2002-04-24 Thread Daniel Rall
hung [EMAIL PROTECTED] writes: Dear Tomcat Dev, Is there a website that have the instruction on how to connection Tomcat 4 with Apache 2? Please help. Made me running tomcat as module of apache. This sort of question is most appropriate on the Tomcat User list. The documentation for

[PATCH/COMMENTS] Automatic Application Deployment and Host.liveDeploy

2002-04-18 Thread Daniel Rall
Added missing closing paren. Index: host.xml === RCS file: /home/cvspublic/jakarta-tomcat-4.0/webapps/tomcat-docs/config/host.xml,v retrieving revision 1.12 diff -u -u -r1.12 host.xml --- host.xml20 Mar 2002 12:33:01 -

Re: HTML form: multipart/form-data

2002-03-14 Thread Daniel Rall
Bojan Smojver [EMAIL PROTECTED] writes: On Wed, 2002-03-13 at 06:39, Jon Scott Stevens wrote: p.s. Don't use JavaMail for it, because JavaMail tends to have a lot of overhead. Yes, you're right. And I don't think you can limit (with JavaMail) how much data you want to allow, so that's

Re: cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector HttpResponseBase.java

2002-01-30 Thread Daniel Rall
[EMAIL PROTECTED] writes: billbarker02/01/29 19:45:23 Modified:catalina/src/share/org/apache/catalina/connector HttpResponseBase.java Log: Fix for case where URL only has an anchor. Now response.encodeURL(#foobar) works as expected. Thanks for

Re: [tomcat3] Sharing Utility Code

2002-01-18 Thread Daniel Rall
Like Jason suggests, feel free to park the servlet utilities in jakarta-commons-sandbox/util (that's going to need a release pretty soon anyways). [EMAIL PROTECTED] writes: +1, it'll solve a lot of problems with jk and probably coyotee as well. I allways wanted to move some of the utils in

Re: Updating the site

2002-01-16 Thread Daniel Rall
I answered this on general@. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: [PATCH] JvmRoute changes

2002-01-14 Thread Daniel Rall
Hey Tom, when sending patches inline, you need to instruct your email client to not line wrap at 76 columns (what's good for the humans isn't good for the machines :-). Dan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: [PATCH] JvmRoute changes

2002-01-14 Thread Daniel Rall
Daniel Rall [EMAIL PROTECTED] writes: Hey Tom, when sending patches inline, you need to instruct your email client to not line wrap at 76 columns (what's good for the humans isn't good for the machines :-). Look like you already noticed. :-) -- To unsubscribe, e-mail: mailto:[EMAIL

Re: How to find the Changelog files for different versions of Tomcat?

2002-01-10 Thread Daniel Rall
chenk [EMAIL PROTECTED] writes: I am doing research on software engineering. I wish to use the Tomcat as an example to analysis the process of the java open source software. It is important for me to get changelog files for different versions of the Tomcat. I have tried my best, but can't

Re: [PATCH] Fix for data corruption in the Warp connector

2002-01-10 Thread Daniel Rall
Hi Daniel. Pier checked this change into jakarta-tomcat-connectors CVS a while back. I don't believe it's been ported to the jakarta-tomcat-4.0 repository yet -- it really needs to be, there have been a lot of reports of this bug (though few fixes :). Daniel Harding [EMAIL PROTECTED] writes:

Re: mod_webapp and other connectors status...

2002-01-09 Thread Daniel Rall
GOMEZ Henri [EMAIL PROTECTED] writes: BTW: How did we get TOMCAT 4.1 and 4.0.2 ? Which is the head ? I believe that 4.1-dev is the tip of the HEAD, 4.0.2-dev is the tip of tomcat_40_branch. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

Re: mod_webapp and other connectors status...

2002-01-09 Thread Daniel Rall
Craig R. McClanahan [EMAIL PROTECTED] writes: I believe that 4.1-dev is the tip of the HEAD, 4.0.2-dev is the tip of tomcat_40_branch. That's correct. Currently I'm only building nightly distributions from the HEAD branch, but it would be fairly straightforward to do nightly builds of the

Re: tomcat 4.0.2 and jakarta-tomcat-connectors

2002-01-04 Thread Daniel Rall
Kevin Seguin [EMAIL PROTECTED] writes: there was a thread a couple weeks ago regarding what to do with j-t-c and tomcat 4.0.2. i believe it was decided that the 4.0.2 release would contain the same jars from j-t-c (tomcat-ajp.jar, tomcat-util.jar) as 4.0.1 did. well, i just did some quick

Re: tomcat 4.0.2 and jakarta-tomcat-connectors

2002-01-04 Thread Daniel Rall
Daniel Rall [EMAIL PROTECTED] writes: The mod_webapp connector code is definitely in a freshening. :) ^ need of Specifically, it would be great to get in Pier's fix to the file upload problem

Re: cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core StandardContextValve.java StandardHostValve.java

2002-01-04 Thread Daniel Rall
Remy, I built today's HEAD and verified your fix (much cleaner than what was previously proposed). http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5368 Please backport this bug fix to the 4.0.x branch. Thanks, Dan [EMAIL PROTECTED] writes: remm02/01/04

Re: [PATCH][4.0] remove spurious casts in ApplicationFilterChain

2001-12-30 Thread Daniel Rall
+1, old code was redundant. Java should find the right method to call based on object--not reference--type. Christopher K. St. John [EMAIL PROTECTED] writes: The fall off the end of the chain code in ApplicationFilterChain.internalDoFilter checks if the passed in request and response are

Re: Jk2: error handling and method signatures

2001-12-13 Thread Daniel Rall
This is reminiscent of what the Subersion folks are doing for error handling. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Jk2: error handling and method signatures

2001-12-13 Thread Daniel Rall
[EMAIL PROTECTED] writes: On Thu, 13 Dec 2001, Daniel Rall wrote: This is reminiscent of what the Subersion folks are doing for error handling. Could you give a URL ? If it was already invented... ( I was thinking to use a subset of what's 'invented' in jni, I believe there are quite

Re: Refactor of o-a-j-JspC

2001-12-13 Thread Daniel Rall
David Hoag [EMAIL PROTECTED] writes: How do I contribute these changes? http://jakarta.apache.org/site/source.html -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Jk2: error handling and method signatures

2001-12-13 Thread Daniel Rall
[EMAIL PROTECTED] writes: On Thu, 13 Dec 2001, Daniel Rall wrote: http://svn.collab.net/repos/svn/trunk/subversion/include/svn_error.h It seems they are using a struct that is returned instead of a simple int, as status. It does solve the problem of propagating more info. In practice

Re: Jk2: error handling and method signatures

2001-12-13 Thread Daniel Rall
I meant causal, not casual. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Emulating JServ's session.topleveldomain with Catalina

2001-12-05 Thread Daniel Rall
Craig R. McClanahan [EMAIL PROTECTED] writes: I'd certainly be interested in a patch to allow pattern matching in the host mapper, as long as the code was smart about using direct string compares when no patterns are specified (to avoid slowing down all requests by regexp processing). Note

Re: Off topic:Old jserv source question

2001-12-04 Thread Daniel Rall
On Tue, 4 Dec 2001, Antony Bowesman wrote: Thanks Daniel, I noticed your name in the comments, we are just trying to remove the jserv dependancy to use tomcat 4. Most of the work is done, just have to get customers to move... Just recently made the switch from JServ to Catalina myself.

Re: Off topic:Old jserv source question

2001-12-03 Thread Daniel Rall
On Mon, 3 Dec 2001, Antony Bowesman wrote: Craig R. McClanahan wrote: Apache JServ sources are still available via anonymous CVS from the Jakarta web site (see http://jakarta.apache.org/site/cvsindex.html). The CVS module name is java-jserv. Brilliant! Thanks Craig. containsHeader()

Re: cvs commit: jakarta-tomcat/src/share/org/apache/jasper/compilerCharDataGenerator.java JspParseEventListener.java MappedCharDataGenerator.java

2001-12-03 Thread Daniel Rall
On 4 Dec 2001 [EMAIL PROTECTED] wrote: larryi 01/12/03 18:21:04 Modified:src/share/org/apache/jasper/compiler CharDataGenerator.java JspParseEventListener.java MappedCharDataGenerator.java Log: Eliminate hard coded '\n' line

Re: Emulating JServ's session.topleveldomain with Catalina

2001-11-30 Thread Daniel Rall
javax.servlet.ServletContext; + +/** + * An codeAlias/code defines a mapping from a host name used in a + * request to a bHost/b object from server.xml. + * + * @author a href=mailto:[EMAIL PROTECTED];Daniel Rall/a + * @version $Revision: $ $Date: $ + */ + +public interface Alias

Re: Emulating JServ's session.topleveldomain with Catalina

2001-11-29 Thread Daniel Rall
Craig R. McClanahan [EMAIL PROTECTED] writes: On Sat, 24 Nov 2001, Daniel Rall wrote: Craig R. McClanahan [EMAIL PROTECTED] writes: On Wed, 21 Nov 2001, Daniel Rall wrote: Using Tomcat 4.0.1, is there any way to emulate JServ's session.topleveldomain context configuration? # Set

[PATCH][Catalina] Improved flexiblity of pipeline WRT session cookies

2001-11-28 Thread Daniel Rall
First, this patch fixes a problem with Catalina's sendHeaders() implementation which prevents post-service() Valve code from having a chance to cleanly set or modify the JSESSIONID cookie used to store Catalina's session identifier. Second, this removes some of the remnants of a cut and paste

Re: Emulating JServ's session.topleveldomain with Catalina

2001-11-28 Thread Daniel Rall
Daniel Rall [EMAIL PROTECTED] writes: [This was originally sent to tomcat-user, but is probably better discussed on tomcat-dev.] Why does the Valve implementation at the bottom of this message never print out any session cookies? To answer myself (as addressed by my recent patch), because

Re: cvs commit: jakarta-tomcat-4.0/catalina/src/bin setenv.sh catalina.sh tool-wrapper.sh

2001-11-27 Thread Daniel Rall
Jon Stevens [EMAIL PROTECTED] writes: on 11/27/01 2:34 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Index: setenv.sh === #!/bin/sh # - #

Re: Emulating JServ's session.topleveldomain with Catalina

2001-11-27 Thread Daniel Rall
[This was originally sent to tomcat-user, but is probably better discussed on tomcat-dev.] Why does the Valve implementation at the bottom of this message never print out any session cookies? Craig R. McClanahan [EMAIL PROTECTED] writes: On Wed, 21 Nov 2001, Daniel Rall wrote: Using Tomcat

Re: Triple initialization of Catalina/mod_webapp

2001-11-26 Thread Daniel Rall
Recently found a symlink which would explain this unexpected behavior. :-\ Daniel Rall [EMAIL PROTECTED] writes: This is a followup to a message I posted to the user list which describes some undesirable behavior of Tomcat 4.0.1 (unrelated to use of mod_webapp). My application's build

Re: 4.0.1 ClassLoader breaks singletons on webapp reload.

2001-11-26 Thread Daniel Rall
[EMAIL PROTECTED] (Kevin A. Burton) writes: Jon Stevens [EMAIL PROTECTED] writes: Sadly, I have to admit that the Turbine Services framework shutdown code is currently broken and has been for some time now...it needs to be re-written... Are you saying that the theory is broken or just

Re: Triple initialization of Catalina/mod_webapp

2001-11-21 Thread Daniel Rall
This is a followup to a message I posted to the user list which describes some undesirable behavior of Tomcat 4.0.1 (unrelated to use of mod_webapp). My application's build process currently generates the deployment descriptor for my web app from many files which contain snippets of the final

[PATCH] [Catalina] StandardContext::addParameter() JavaDoc

2001-11-16 Thread Daniel Rall
addParameter() instance method actually throws an IllegalArgumentException if a duplicate name is used. I came across this while attempting to setup Catalina behind Apache + mod_webapp -- AFAICT, my setup is currently giving me the joy of multiple initializations of Catalina. Index: