HTTP/1.1 Request lacking Host Header

2001-04-30 Thread Jones, Kevin
According to the HTTP/1.1 RFC (section 14.23) all HTTP/1.1 requests MUST contain a Host header, and all HTTP/1.1 severs MUST respond with a 400 if the Host header is missing from an HTTP/1.1 request. Tomcat 4.0b3 responds with a '200 OK HTTP/1.1' response if I send a the following GET /index.htm

cvs commit: jakarta-tomcat/src/doc readme

2001-04-30 Thread marcsaeg
marcsaeg01/04/30 06:18:59 Modified:.Tag: tomcat_32 RELEASE-NOTES src/doc Tag: tomcat_32 readme Log: Release note updates for beta 4. Revision ChangesPath No revision No revision 1.1.2.5 +6 -1

tomcat_32 branch locked

2001-04-30 Thread Marc Saegesser
I'm just about to start the tag for Tomcat 3.2.2 beta 4.

cvs commit: jakarta-tomcat/src/webpages index.html

2001-04-30 Thread marcsaeg
marcsaeg01/04/30 06:34:13 Modified:src/share/org/apache/tomcat/core Tag: tomcat_32 Constants.java src/webpages Tag: tomcat_32 index.html Log: Update version numbers for beta 4. Revision ChangesPath No revision

loader.html

2001-04-30 Thread Jones, Kevin
Is this file available? It isn't in the 4.0b3 build nor on CVS! Kevin Jones DevelopMentor www.develop.com

Re: ajp13 question

2001-04-30 Thread Dan Milstein
Kevin, Excellent -- something I can actually answer! BTW, I'm cc'ing the list -- let's try to have this conversation on the mailing list. That way, everyone can learn and/or participate. The jvm route, as the AJPv13 doc says: "...is used to support sticky sessions -- associating a user's sess

porting ajp13 to tomcat 4 (was Re: ajp13 question)

2001-04-30 Thread kevin seguin
comments below... > Excellent -- something I can actually answer! BTW, I'm cc'ing the list -- > let's try to have this conversation on the mailing list. That way, everyone > can learn and/or participate. > > The jvm route, as the AJPv13 doc says: > > "...is used to support sticky sessions --

RE: porting ajp13 to tomcat 4 (was Re: ajp13 question)

2001-04-30 Thread GOMEZ Henri
>damn! i wasn't expecting that complex of an answer ;) The difficulty is in the difference between TC 3.2/3.3 and 4.0 and the how the connector are written. They're just to highly linked in the tomcat core ! >> If you wanted to cheat (fine with me!), you could cut this >feature out for >> now

Re: ajp13 question

2001-04-30 Thread cmanolache
What about creating a directory jakarta-tomcat/src/doc/notes and checking in all the "relevant" mail - like this one ? I'm talking about proposals, technical notes, etc. Searching the mail archive to find "good stuff" is hard ( given the noise), and maybe someone could turn various mails into do

RE: ajp13 question

2001-04-30 Thread GOMEZ Henri
>What about creating a directory jakarta-tomcat/src/doc/notes and >checking in all the "relevant" mail - like this one ? I'm talking about >proposals, technical notes, etc. +1 for notes on lb works. >Searching the mail archive to find "good stuff" is hard ( given the >noise), and maybe someone

Re: porting ajp13 to tomcat 4 (was Re: ajp13 question)

2001-04-30 Thread cmanolache
On Mon, 30 Apr 2001, kevin seguin wrote: > that's what i've decided to do. my goal is to first get things working, > at least minimally, then i (or someone else) can address load-balancing > later. my gut feeling, though, after spending some time on ajp13 and > tomcat 4 is it's certainly possib

Re: porting ajp13 to tomcat 4 (was Re: ajp13 question)

2001-04-30 Thread kevin seguin
> > If you have java ajp13 works in non-balancing mode, you've done > the hardest part ! > that's encouraging :) > >that's what i've decided to do. my goal is to first get > >things working, > >at least minimally, then i (or someone else) can address load-balancing > >later. my gut feeling,

RE: porting ajp13 to tomcat 4 (was Re: ajp13 question)

2001-04-30 Thread GOMEZ Henri
Fine, I'll study it - Henri Gomez ___[_] EMAIL : [EMAIL PROTECTED](. .) PGP KEY : 697ECEDD...oOOo..(_)..oOOo... PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 >-Original Message- >From: kevin seguin [mailto:[EMAIL PRO

Re: porting ajp13 to tomcat 4 (was Re: ajp13 question)

2001-04-30 Thread kevin seguin
> > Well, I also have it half workig, maybe we can combine our halfs :-) > i'm guessing your half is better :) perhaps you can send it to me? > What I did was use the "real" tc3 objects, with all optimizations on the > lower-level and create an implementation of TC4 Request, etc - that > will

RE: porting ajp13 to tomcat 4 (was Re: ajp13 question)

2001-04-30 Thread cmanolache
On Mon, 30 Apr 2001, GOMEZ Henri wrote: > >damn! i wasn't expecting that complex of an answer ;) > > The difficulty is in the difference between TC 3.2/3.3 and 4.0 > and the how the connector are written. They're just to highly > linked in the tomcat core ! Well, someone can reimplement the pr

Re: loader.html

2001-04-30 Thread Craig R. McClanahan
On Mon, 30 Apr 2001, Jones, Kevin wrote: > Is this file available? It isn't in the 4.0b3 build nor on CVS! > > Kevin Jones > DevelopMentor > www.develop.com > Where do you find this filename referenced? I don't recognize it. The closest thing I can think of is the classloaders.html page, w

Re: porting ajp13 to tomcat 4 (was Re: ajp13 question)

2001-04-30 Thread Remy Maucherat
> On Mon, 30 Apr 2001, GOMEZ Henri wrote: > > > >damn! i wasn't expecting that complex of an answer ;) > > > > The difficulty is in the difference between TC 3.2/3.3 and 4.0 > > and the how the connector are written. They're just to highly > > linked in the tomcat core ! > > Well, someone can rei

Re: porting ajp13 to tomcat 4 (was Re: ajp13 question)

2001-04-30 Thread cmanolache
On Mon, 30 Apr 2001, Remy Maucherat wrote: > > The 3.3 adapter is not linked to the tomcat core, but more to the > > low-level objects ( and most of the performance comes from that > > layer ). In other words - minimal garbage generation, lazy evaluation, > > and all the stuff. > > Unless everyo

Re: porting ajp13 to tomcat 4 (was Re: ajp13 question)

2001-04-30 Thread kevin seguin
> > Unless everyone's in a hurry to port mod_jk on TC 4 ASAP, I suggest waiting > a bit. I'll be spending time on a "new" connector architecture for TC 4 > which will actually be very similar to the one in TC 3.3 (except hopefully > even cleaner and simpler). That should make porting mod_jk much

Re: porting ajp13 to tomcat 4 (was Re: ajp13 question)

2001-04-30 Thread kevin seguin
for those who are interested... updated code for ajp13 connector for tomcat 4. this version more or less works, but needs some major cleanup/refactoring. i ended up copying a bunch of code out of some files in the http connector package, and the Http*Base classes out of the connector package.

RE: porting ajp13 to tomcat 4 (was Re: ajp13 question)

2001-04-30 Thread GOMEZ Henri
You make a great job here and the ajp13 port to Tomcat 4.0 will be strategic for many sites. >the code isn't real pretty right now. in fact, it's downright ugly! >but that's ok, that's what refactoring is for ;) and hopefully, >somebody who knows more can help! Refactoring could still be done

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

2001-04-30 Thread craigmcc
craigmcc01/04/30 14:55:09 Modified:catalina/src/share/org/apache/catalina/core StandardContext.java Log: A load-on-startup servlet that throws ServletException or UnavailableException from the init() method should *not* be fatal to the entire application

RE: porting ajp13 to tomcat 4 (was Re: ajp13 question)

2001-04-30 Thread Ignacio J. Ortega
> unfortunately, i have an immediate need for ajp13 in tomcat 4. i want > to move to tomcat 4, but can't without connectivity between > iis/netscape > web servers and tomcat. porting ajp13 from tomcat 3.x to tomcat 4 > seemed like it would be easier than writing iis/netscape > connectors for >

cvs commit: jakarta-tomcat-4.0/tester/web/WEB-INF web.xml

2001-04-30 Thread craigmcc
craigmcc01/04/30 14:57:17 Modified:tester/src/bin tester.xml tester/web/WEB-INF web.xml Added: tester/src/tester/org/apache/tester ErrorPage07.java Log: Add a unit test to validate the "load-on-startup servlet throws exception from init()" fix that was just

Re: porting ajp13 to tomcat 4 (was Re: ajp13 question)

2001-04-30 Thread kevin seguin
> > Keep up the good works. I'll test it against my mod_jk. > > Which version of Tomcat 4.0 must I use, TC 4.0B3 ? > i'm using tc 4.0b3. as i keep updating my code, what is the best way to share it? keep posting updates to this list? -kevin.

RE: porting ajp13 to tomcat 4 (was Re: ajp13 question)

2001-04-30 Thread GOMEZ Henri
>for those who are interested... > >updated code for ajp13 connector for tomcat 4. this version more or >less works, but needs some major cleanup/refactoring. > >i ended up copying a bunch of code out of some files in the http >connector package, and the Http*Base classes out of the connector >pa

RE: porting ajp13 to tomcat 4 (was Re: ajp13 question)

2001-04-30 Thread GOMEZ Henri
>> unfortunately, i have an immediate need for ajp13 in tomcat >4. i want >> to move to tomcat 4, but can't without connectivity between >> iis/netscape >> web servers and tomcat. porting ajp13 from tomcat 3.x to tomcat 4 >> seemed like it would be easier than writing iis/netscape >> connecto

RE: porting ajp13 to tomcat 4 (was Re: ajp13 question)

2001-04-30 Thread Ignacio J. Ortega
The documentation is wrong...IIS works with ajp13...i'll change docs accordingly.. Saludos , Ignacio J. Ortega > -Mensaje original- > De: GOMEZ Henri [mailto:[EMAIL PROTECTED]] > Enviado el: martes 1 de mayo de 2001 0:04 > Para: [EMAIL PROTECTED] > Asunto: RE: porting ajp13 to tomcat 4

RE: porting ajp13 to tomcat 4 (was Re: ajp13 question)

2001-04-30 Thread GOMEZ Henri
>-Original Message- >From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, May 01, 2001 12:10 AM >To: '[EMAIL PROTECTED]' >Subject: RE: porting ajp13 to tomcat 4 (was Re: ajp13 question) > > >The documentation is wrong...IIS works with ajp13...i'll change docs >accordingly..

Tomcat 3.2.2 beta 4

2001-04-30 Thread Marc Saegesser
Tomcat 3.2.2 beta 4 is available for download. If you can provide binaries for various please send them to me or update the FTP site. Thanks.

RE: tomcat crashes VM under NT

2001-04-30 Thread Wang, Wanlin
Title: RE: tomcat crashes VM under NT I'm using Tomcat 3.2.1 in NT with JVM 1.3.0, and it crashes with Dr. Watson error when I make jdbc-odbc connection to SQL server70 from my java servlet program.  Does Tomcat have a bug here or I need to change some conf file?

RE: porting ajp13 to tomcat 4 (was Re: ajp13 question)

2001-04-30 Thread Ignacio J. Ortega
> Good. > > Did there is people around using NES/IPLANET which could > confirm the status of ajp13 and NES ? > HAve sense to continue naming ajp12 on IIS howto doc? i think not as there isnt a substitute for isape_redirect.dll as mod_jserver vs. mod_jk..so use ( or recommend ) a deprecated prot

RE: porting ajp13 to tomcat 4 (was Re: ajp13 question)

2001-04-30 Thread cmanolache
> Good. > > Did there is people around using NES/IPLANET which could > confirm the status of ajp13 and NES ? > I tested it ( long ago ), both NES and IIS ( yes, I did installed windows for that !). Ajp13 and JNI used to work fine ( JNI doesn't work very well with Apache1.3.x, as it's not multit

RE: porting ajp13 to tomcat 4 (was Re: ajp13 question)

2001-04-30 Thread GOMEZ Henri
- >HAve sense to continue naming ajp12 on IIS howto doc? i think not as >there isnt a substitute for isape_redirect.dll as mod_jserver vs. >mod_jk..so use ( or recommend ) a deprecated protocol has no sense for >me .. ajp12 and ajp13 are both protocols used to link web-server to tomcat. when mo

RE: porting ajp13 to tomcat 4 (was Re: ajp13 question)

2001-04-30 Thread GOMEZ Henri
Good and Apache 2.0 with mod_jk is also very fast. - Henri Gomez ___[_] EMAIL : [EMAIL PROTECTED](. .) PGP KEY : 697ECEDD...oOOo..(_)..oOOo... PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 >-Original Message- >From: [EMA

Re: Tomcat 3.2.2 beta 4

2001-04-30 Thread cmanolache
On Mon, 30 Apr 2001, Marc Saegesser wrote: > Tomcat 3.2.2 beta 4 is available for download. If you can provide binaries > for various please send them to me or update the FTP site. Thanks. Great !. Marc - one bad news, I have a bug that I think we should fix, it should be an easy fix and prob

RE: Tomcat 3.2.2 beta 4

2001-04-30 Thread Marc Saegesser
Costin, Let me know what you find and what the fix looks like. If its a simple fix then I'm OK with just developer testing and code review. Marc "Just ship the damn thing" Saegesser > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 30, 2001

RE: porting ajp13 to tomcat 4 (was Re: ajp13 question)

2001-04-30 Thread cmanolache
On Tue, 1 May 2001, Ignacio J. Ortega wrote: > > Good. > > > > Did there is people around using NES/IPLANET which could > > confirm the status of ajp13 and NES ? > > > > HAve sense to continue naming ajp12 on IIS howto doc? i think not as > there isnt a substitute for isape_redirect.dll as mod

ANNOUNCE - web-connector

2001-04-30 Thread GOMEZ Henri
A quick note to announce I'll start Thursday a mini-revolution in proposals/web-connector/ The goals of the revolution are: - improved ajp13: better configuration,etc - build improvements - support all tomcat versions - single codebase that will be used for all versions ( reduce maintainance ov

Re: ANNOUNCE - web-connector

2001-04-30 Thread Scott Sanders
Hopefully we might even get back to one that worked as well as JServ's connector. As a goal, could you add back the ability to restart the JVM if necessary? Scott Sanders GOMEZ Henri wrote: > A quick note to announce I'll start Thursday a mini-revolution > in proposals/web-connector/ > > The

[ANNOUNCEMENT] Tomcat 3.2.2 beta 4 released

2001-04-30 Thread Marc Saegesser
I am pleased to announce that the Tomcat 3.2.2 beta 4 release is now available for download at http://jakarta.apache.org/builds/tomcat/release/v3.2.2-beta-4 Beta 4 fixes problems that could cause violations of the JSP specification for the JSP lifecycle methods, jspInit() and jspDestroy(), when

[ANNOUNCEMENT] Tomcat 3.2.2 beta 4 RPMS released

2001-04-30 Thread GOMEZ Henri
RPM available at : http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.2-beta-4/rpms/ Linux i386 mod_jk.so (EAPI and STDAPI) at : http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.2-beta-4/bin/li nux/i386/ - Henri Gomez ___[_] EMAIL : [EMAIL PROTECTED]

tomcat 4 http/1.1 connector and keep alives

2001-04-30 Thread kevin seguin
why does the http/1.1 connector in tomcat 4 not set a connection: keep-alive header? doesn't it need to? thanks, -kevin

Re: tomcat 4 http/1.1 connector and keep alives

2001-04-30 Thread Remy Maucherat
> why does the http/1.1 connector in tomcat 4 not set a connection: > keep-alive header? doesn't it need to? No. Keepalive is HTTP/1.0. In 1.1 connections are kept alive by default. Remy

[Bug 385] New - Apache mod_jk+ajp13 BugRat Report#678

2001-04-30 Thread bugzilla
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=385 *** shadow/385 Mon Apr 30 16:48:47 2001 --- shadow/385.tmp.24321Mon Apr 30 16:48:47 2001 *** *** 0 --- 1,22 + ++ + | Apache mod_jk+ajp13

Re: ANNOUNCE - web-connector

2001-04-30 Thread cmanolache
On Mon, 30 Apr 2001, Scott Sanders wrote: > Hopefully we might even get back to one that worked as well as JServ's > connector. > > As a goal, could you add back the ability to restart the JVM if necessary? > +1 as a goal. ( it will help if you could also send a patch :-) Costin

RE: Tomcat 3.2.2 beta 4

2001-04-30 Thread cmanolache
On Mon, 30 Apr 2001, Marc Saegesser wrote: > Costin, > > Let me know what you find and what the fix looks like. If its a simple fix > then I'm OK with just developer testing and code review. Ok, it seems it's a false alarm - the problem may be related with the infinte loop if no ROOT exist, an

cvs commit: jakarta-tomcat/proposals/jasper34/generator - New directory

2001-04-30 Thread costin
costin 01/04/30 17:08:26 jakarta-tomcat/proposals/jasper34/generator - New directory

cvs commit: jakarta-tomcat/proposals/jasper34/generator/org - New directory

2001-04-30 Thread costin
costin 01/04/30 17:08:33 jakarta-tomcat/proposals/jasper34/generator/org - New directory

cvs commit: jakarta-tomcat/proposals/jasper34/generator/org/apache - New directory

2001-04-30 Thread costin
costin 01/04/30 17:08:39 jakarta-tomcat/proposals/jasper34/generator/org/apache - New directory

cvs commit: jakarta-tomcat/proposals/jasper34/generator/org/apache/jasper34 - New directory

2001-04-30 Thread costin
costin 01/04/30 17:08:46 jakarta-tomcat/proposals/jasper34/generator/org/apache/jasper34 - New directory

cvs commit: jakarta-tomcat/proposals/jasper34/generator/org/apache/jasper34/generator11 - New directory

2001-04-30 Thread costin
costin 01/04/30 17:08:57 jakarta-tomcat/proposals/jasper34/generator/org/apache/jasper34/generator11 - New directory

cvs commit: jakarta-tomcat/proposals/jasper34/generator/org/apache/jasper34/parser11 - New directory

2001-04-30 Thread costin
costin 01/04/30 17:09:11 jakarta-tomcat/proposals/jasper34/generator/org/apache/jasper34/parser11 - New directory

cvs commit: jakarta-tomcat/proposals/jasper34/generator/org/apache/jasper34/core - New directory

2001-04-30 Thread costin
costin 01/04/30 17:09:20 jakarta-tomcat/proposals/jasper34/generator/org/apache/jasper34/core - New directory

cvs commit: jakarta-tomcat/proposals/jasper34/generator/org/apache/jasper34/generator11/util - New directory

2001-04-30 Thread costin
costin 01/04/30 17:09:32 jakarta-tomcat/proposals/jasper34/generator/org/apache/jasper34/generator11/util - New directory

cvs commit: jakarta-tomcat/proposals/jasper34/generator/org/apache/jasper34/generator11/phase - New directory

2001-04-30 Thread costin
costin 01/04/30 17:09:42 jakarta-tomcat/proposals/jasper34/generator/org/apache/jasper34/generator11/phase - New directory

cvs commit: jakarta-tomcat/proposals/jasper34/generator/org/apache/jasper34/generator11/generators - New directory

2001-04-30 Thread costin
costin 01/04/30 17:09:53 jakarta-tomcat/proposals/jasper34/generator/org/apache/jasper34/generator11/generators - New directory

Re: ANNOUNCE - web-connector

2001-04-30 Thread Jon Stevens
on 4/30/01 4:20 PM, "Scott Sanders" <[EMAIL PROTECTED]> wrote: > Hopefully we might even get back to one that worked as well as JServ's > connector. LOL! -jon

Re: ANNOUNCE - web-connector

2001-04-30 Thread Jon Stevens
on 4/30/01 4:00 PM, "GOMEZ Henri" <[EMAIL PROTECTED]> wrote: > The goals of the revolution are: > > - improved ajp13: better configuration,etc > - build improvements > - support all tomcat versions > - single codebase that will be used for all versions ( reduce maintainance > overhead ) > - add

cvs commit: jakarta-tomcat-4.0 RELEASE-NOTES-4.0-B4.txt

2001-04-30 Thread craigmcc
craigmcc01/04/30 18:07:50 Modified:.RELEASE-NOTES-4.0-B4.txt Log: Bring release notes up to date with respect to changes through today. Revision ChangesPath 1.5 +98 -5 jakarta-tomcat-4.0/RELEASE-NOTES-4.0-B4.txt Index: RELEASE-NOTES-4.0-B4.txt ==

cvs commit: jakarta-tomcat-4.0/tester/src/tester/org/apache/tester GetHeaders01.java

2001-04-30 Thread craigmcc
craigmcc01/04/30 21:19:28 Modified:tester/src/tester/org/apache/tester GetHeaders01.java Log: According to the HTTP/1.1 specification (Section 4.2), it is legal for a proxy server (and, thus, Apache's mod_proxy module) to combine header values for two occurrences of the same heade