cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/util/http Cookies.java ServerCookie.java

2000-11-30 Thread costin
costin 00/11/30 22:00:39 Modified:src/facade22/org/apache/tomcat/facade HttpServletRequestFacade.java HttpServletResponseFacade.java src/share/org/apache/tomcat/core Request.java src/share/org/apache/tomcat/h

TC3: Cookies ( and RFCs )

2000-11-30 Thread cmanolache
Hi, I started to rewrite the cookie handling for 3.3, and I found some incredible things. First, using "Set-Cookie2:" for v1 cookies ( what's what tomcat3.2 does) is correct according to the latest spec ( RFC2965 ). But so far I found only one browser that recognize this cookie - Lynx. MSIE5, Ne

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

2000-11-30 Thread craigmcc
craigmcc00/11/30 19:00:41 Modified:src/doc Tag: tomcat_32 readme src/share/org/apache/tomcat/request Tag: tomcat_32 SimpleMapper1.java Log: Fix a potential security problem in Tomcat 3.2. The servlet specification prohibits servlet contai

Tomcat 3.2 ClassCastException after servlet update on getAttribute

2000-11-30 Thread David Rees
Below is a snippet of a thread from the tomcat-user list describing my problem: > -Original Message- > From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] > > David Rees wrote: > > > I also just tried this on Tomcat 3.2, same problem. > > > > Again, here's the problem: > > > > I have a f

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

2000-11-30 Thread craigmcc
craigmcc00/11/30 18:11:23 Modified:catalina/src/share/org/apache/catalina/connector HttpResponseBase.java ResponseBase.java catalina/src/share/org/apache/catalina/core LocalStrings.properties StandardContextValve.java Log:

Re: MVC problem

2000-11-30 Thread Craig R. McClanahan
"Aiken, David" wrote: > "No file contained in the WEB-INF directory may be served directly to a > client." > > That seems pretty clear.. we tried directly accessing JSP pages using a URL > of the form http://localhost:8080/examples/WEB-INF/index.jsp and it > delivered the page using tomcat 3.2 on

Re: Catalina-4M5 question: parameters?

2000-11-30 Thread Craig R. McClanahan
Matthew L Daniel wrote: > > To my knowledge, this is not a known issue. In fact, I've got tons of stuff > > that > > depends on request parameters working just fine in 4.0. I would be very > > interested > > in a simple test case that can reproduce what you're seeing. > > I have included a

cvs commit: jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/compiler ParserController.java

2000-11-30 Thread pierred
pierred 00/11/30 15:33:02 Modified:jasper/src/share/org/apache/jasper/compiler ParserController.java Log: A JSP page uses the JSP 1.2 XML syntax only if the jsp:root element is present. - As reported on tomcat-dev: Danno Ferrin: > > I am

RE: MVC problem

2000-11-30 Thread Aiken, David
"No file contained in the WEB-INF directory may be served directly to a client." That seems pretty clear.. we tried directly accessing JSP pages using a URL of the form http://localhost:8080/examples/WEB-INF/index.jsp and it delivered the page using tomcat 3.2 on a W2K system - is it necessary to

Re: Web application security problem on windows

2000-11-30 Thread servletAPI-feedback
Thank you for your feedback on the Servlet API. Your feedback will be read by an engineer on the Java Servlet API Team and given serious consideration. We will contact you directly if we have further questions about your feedback. --

Re: A note from (an) archivist

2000-11-30 Thread wjm
The update of the original (sniff) tomcat-dev archive is complete. http://w4.metronet.com/~wjm/tomcat/ vastly improved searching, and a monthly structure has been introduced. Old links will work. I regret to say I am too busy to follow this list right now as closely as I would like to, so if

Re: Catalina-4M5 question: parameters?

2000-11-30 Thread Matthew L Daniel
> To my knowledge, this is not a known issue. In fact, I've got tons of stuff > that > depends on request parameters working just fine in 4.0. I would be very > interested > in a simple test case that can reproduce what you're seeing. I have included a jar (the java needs to be recompiled,

Web application security problem on windows

2000-11-30 Thread Greg Wilkins
Web applications running on Windows (or other systems with non case sensitive file systems) can have secure content accessed by using different case. The problem is a design problem for security-constraints and an implementation problem for WEB-INF For example I have been able to access /WeB-iN

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/util/http Cookies.java ServerCookie.java

2000-11-30 Thread costin
costin 00/11/30 14:43:56 Modified:.changes3.3 src/facade22/org/apache/tomcat/facade CookieFacade.java HttpServletRequestFacade.java HttpServletResponseFacade.java src/share/org/apache/tomcat/core Requ

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/warp WarpRequestHandler.java WarpConnection.java WarpConnectionHandler.java WarpConstants.java WarpHandler.java

2000-11-30 Thread pier
pier00/11/30 13:59:40 Modified:catalina/src/share/org/apache/catalina/connector/warp WarpConnection.java WarpConnectionHandler.java WarpConstants.java WarpHandler.java Added: catalina/src/share/org/apache/catalina/connector/war

cvs commit: jakarta-tomcat-4.0/connectors/webapplib wa_provider_warp.c wa_provider_warp.h

2000-11-30 Thread pier
pier00/11/30 13:59:03 Modified:connectors/webapplib wa_provider_warp.c wa_provider_warp.h Log: Bugfixes for multiplexing issues. Improving request handling. Changed packet type definitios. Revision ChangesPath 1.4 +93 -12jakarta-tomcat-4.0/connectors/we

cvs commit: jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/compiler BeanGenerator.java DelegatingListener.java ForwardGenerator.java IncludeGenerator.java JspParseEventListener.java JspUtil.java ParseEventListener.java ParserXJspSaxHandler.java PluginGenerator.java SetPropertyGenerator.java TagBeginGenerator.java BaseJspListener.java DumbParseEventListener.java

2000-11-30 Thread pierred
pierred 00/11/30 13:48:26 Modified:jasper/src/share/org/apache/jasper/compiler BeanGenerator.java DelegatingListener.java ForwardGenerator.java IncludeGenerator.java JspParseEventListener.java JspUtil.java

RE: [ANNOUNCEMENT] Tomcat 3.2 Final Release

2000-11-30 Thread Larry Isaacs
Win32 binaries are now available under: http://jakarta.apache.org/builds/tomcat/release/v3.2/bin/win32/i386 Zips are available too for those downloading with Netscape. IMPORTANT NOTE: The nsapi_redirect.dll was built with a borrowed nsapi.h and ns-httpd36.lib from iPlanet WebServer 4.1. It is

Re: [ANNOUNCEMENT] Tomcat 3.2 Final Release

2000-11-30 Thread Rogério Meneguelli Gatto
Craig and Henry, First of all, thanks for the attention. Comments bellow. Craig R. McClanahan wrote: >> I understand that not every contribution is accepted, but I would like to at >> least know why... Wasn't it well implemented? Too dangerous to commit without >> more testing? Im my case, a

RE: [ANNOUNCEMENT] Tomcat 3.2 Final Release

2000-11-30 Thread Michael Percy
WOOHOO! Congratulations all Tomcat developers, you rock! Hey, wait a minute! Why isnt this in BIG BOLD LETTERS on the Jakarta home page and on the Tomcat home page! We need to do that immediately!!! AND HAVE A BIG LINK SAYING DOWNLOAD THIS NOW!!! :))) And especially thanks to you, Craig. Thank

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

2000-11-30 Thread pier
pier00/11/30 11:56:02 Modified:catalina/src/share/org/apache/catalina/connector/warp WarpConnectionHandler.java Log: Fixes and initial request handling. Revision ChangesPath 1.2 +26 -10 jakarta-tomcat-4.0/catalina/src/share/org/apach

cvs commit: jakarta-tomcat-4.0/connectors/webapplib wa_provider_warp.c

2000-11-30 Thread pier
pier00/11/30 11:54:10 Modified:connectors/webapplib wa_provider_warp.c Log: Initial request handling. Error handling and recovery (when the server restarts the web server must not be restarted). Revision ChangesPath 1.3 +86 -28jakarta-tomcat-4.0/connector

Re: Mod_warp

2000-11-30 Thread Pier P. Fumagalli
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi Pier, > > I know we discussed that, but I want to make sure everything is ok - > I would like to implement the java side of "warp" in tomcat3.3, and > reuse the C side from 4.0. > > Would it be ok to make a symbolic link, so the native code is

Re: WML Generation from JSP broken!!!!

2000-11-30 Thread Hans Bergsten
Danno Ferrin wrote: > > I am sorry to start this thread here, but I believe that jasper-4.0's > behavior is in error. The behavior I think the spec calls for in > determining if a page is a JSP Document (xml jsp) or an XMl document > with JSP markup is the presence or absence of a jsp:root eleme

Re: MVC problem

2000-11-30 Thread Craig R. McClanahan
"Aiken, David" wrote: > That sounds workable.. i looked for an archive of this newsgroup but didn't > have any luck - do you know where the relevant section in the JSP/servlet > spec is? > Do you mean the restriction on serving things from WEB-INF directly to the client? Servlet 2.2 Spec, Secti

Re: [PATCH REPOST] Tomcat 4.0 JSP Examples view Source

2000-11-30 Thread Pierre Delisle
Hans, I just tried the examples on tomcat 4.0, and the only problem I could see is with the source code of the "number guess" example. The link in num/numguess.html should be changed from "/examples/jsp/source.jsp?/jsp/num/numguess.jsp" to "numguess.txt" Otherwise, everything seems

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

2000-11-30 Thread remm
remm00/11/30 10:36:19 Modified:catalina/src/share/org/apache/catalina/connector/http HttpProcessor.java Log: - Determination of the query string was incorrect, which was breaking parameter parsing. Revision ChangesPath 1.14 +6 -5

Re: [ANNOUNCEMENT] Tomcat 3.2 Final Release

2000-11-30 Thread Craig R. McClanahan
Rogério Meneguelli Gatto wrote: > Hi, Henri, > > I also submitted a patch (yesterday, Nov 29) and before that a request (Nov 20) > for Windows SMB Paths in Tomcat 3.2 server.xml. On my first post, I even > volunteered to make it work again (it did on 3.1 and it does on 4.0). I had no > answer t

RE: MVC problem

2000-11-30 Thread Aiken, David
That sounds workable.. i looked for an archive of this newsgroup but didn't have any luck - do you know where the relevant section in the JSP/servlet spec is? thanks! david -Original Message- From: Mike La Budde [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 30, 2000 10:54 AM To: [E

Tomcat3.2

2000-11-30 Thread JL
2 problems with the new version, compiled from the current source on Windows 2000, JDK1.2.2, JSSE1.0.2:   >1- jakarta-servletapi  has a problem with the javadoc section   D:\tomcat3.2\jakarta-servletapi>build distSearching for build.xml ...Buildfile: D:\tomcat3.2\jakarta-servletapi\build

Re: MVC problem

2000-11-30 Thread Craig R. McClanahan
See below. "Aiken, David" wrote: > > hi all.. > > > > We're hitting a problem with the MVC approach in tomcat. > > > > Our controller is designed to intercept all requests for URLs within our > > web application so that it can handle internationalization and security > > checks centrally. > > >

Mod_warp

2000-11-30 Thread cmanolache
Hi Pier, I know we discussed that, but I want to make sure everything is ok - I would like to implement the java side of "warp" in tomcat3.3, and reuse the C side from 4.0. Would it be ok to make a symbolic link, so the native code is in sync ? It's the simplest way to do that ( and I tested i

[PATCH REPOST] Tomcat 4.0 JSP Examples view Source

2000-11-30 Thread Hans Schmid
Hi there, I sent a patch to display the source code in the JSP examples and did not get any feedback either. Probably because US folk was in turkey mode :) and busy working on Tomcat 3.2 thereafter. Good work!! What it does: JSP Examples in Tomcat 4.0 have a 'View Source' button. All but the num

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/util/http Cookies.java Headers.java Parameters.java ServerCookie.java package.html

2000-11-30 Thread costin
costin 00/11/30 09:42:49 Added: src/share/org/apache/tomcat/util/http Cookies.java Headers.java Parameters.java ServerCookie.java package.html Log: Start work on Cookies, Parameters, Headers. The code in Cookies is almost ready

[PATCH] tomcat.sh su support

2000-11-30 Thread Paul Frieden
This is a patch to tomcat.sh that adds a -user flag to control who tomcat executes as. I couldn't get it to work by having it just execute the java command as the new user, so I have the script execute itself as the new user, and pass along the information it needs from the parent's environment (

cvs commit: jakarta-tomcat-4.0/connectors/webapplib wa.h

2000-11-30 Thread pier
pier00/11/30 09:39:08 Modified:connectors/webapplib wa.h Log: Damn linux :) Revision ChangesPath 1.5 +2 -1 jakarta-tomcat-4.0/connectors/webapplib/wa.h Index: wa.h === RCS file: /home

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/util/http - New directory

2000-11-30 Thread costin
costin 00/11/30 09:37:00 jakarta-tomcat/src/share/org/apache/tomcat/util/http - New directory

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/util/collections MultiMap.java SimpleHashtable.java package.html

2000-11-30 Thread costin
costin 00/11/30 09:34:19 Modified:src/share/org/apache/tomcat/request SimpleMapper1.java src/share/org/apache/tomcat/util PrefixMapper.java Added: src/share/org/apache/tomcat/util/collections MultiMap.java SimpleHashtable.java package.html

cvs commit: jakarta-tomcat-4.0/connectors/webapplib wa_callback.c wa_provider_info.c wa_provider_warp.c wa_provider_warp.h

2000-11-30 Thread pier
pier00/11/30 09:34:16 Modified:connectors/webapplib wa_callback.c wa_provider_info.c wa_provider_warp.c wa_provider_warp.h Log: Get rid of Solaris' strlcpy() function (not portable). Revision ChangesPath 1.2 +3 -3 jakarta-tomcat-4.0

RE: [ANNOUNCEMENT] Tomcat 3.2 Final Release

2000-11-30 Thread GOMEZ Henri
The RPM are available at : http://rpmized.free.fr/ or ftp://ftp.falsehope.com/home/gomez/tomcat/ JAVA STUFF tomcat-3.2-1.src.rpm tomcat-3.2-1.noarch.rpm tomcat-manual-3.2-1.noarch.rpm APACHE MODULES tomcat-mod-3.2-1.src.rpm tomcat-mod-3.2-1.i386.rpm Enjoy "Pour la plupart des hommes, se

[BUG] An invalid symlink gives ambiguous error

2000-11-30 Thread Kief Morris
Hello, I tried to submit this to BugRat, but got a ServletException: java.lang.NoClassDefFoundError: javax/activation/DataSource at org.gjt.bugrat.servlet.BugRatReport.processReportPOST(Compiled Code) Anyway, I ran into a little problem with Tomcat 3.2 final: it's so much a bug as an ambiguo

Re: cvs commit:jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/warp[...]

2000-11-30 Thread Pier P. Fumagalli
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Added: catalina/src/share/org/apache/catalina/connector/warp > WarpConnection.java > WarpConnectionHandler.java > WarpConstants.java > WarpDebug.java >

tc4: Context's ClassLoader load order

2000-11-30 Thread Bob Jamison
Hi, all, The source for StandardLoader and StandardClassLoader both mention that their search order is done according to the order of calls to addRepository(), and parent loader first, then child. We have had problems installing a Xerces-dependent project in WEB-INF/lib, along with a copy of xe

Re: MVC problem

2000-11-30 Thread Mike La Budde
I believe one solution offerred previously on this list (thank you Craig!) was to place all of your .jsp pages underneath /WEB-INF (e.g. /WEB-INF/jsp/...) Since these can never be served up (goes against the jsp/servlet spec) HTH, Mike At 11/30/2000 10:20 AM -0600, you wrote: > > hi all.

[Bug] encodeURL() not working with SSL (TC3.2)

2000-11-30 Thread Stubenrauch,Andreas
Hi, sorry I newly subscribed and don't know if this is adressed already: In Tomcat 3.2 final encodeURL() does not work if the request is sent over https. This is caused in org.apache.tomcat.facade.HttpServletResponseFacade.toAbsolut(String url) where an absolute URL is constructed by using new

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/warp WarpConnection.java WarpConnectionHandler.java WarpConstants.java WarpDebug.java WarpHandler.java WarpHandlerTable.java WarpPacket.java WarpReader.java

2000-11-30 Thread pier
pier00/11/30 08:34:31 Added: catalina/src/share/org/apache/catalina/connector/warp WarpConnection.java WarpConnectionHandler.java WarpConstants.java WarpDebug.java WarpHandler.java WarpHandlerTable.java WarpPa

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/warp - New directory

2000-11-30 Thread pier
pier00/11/30 08:33:52 jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/warp - New directory

Re: Now, am I stupid or what? - C compilers

2000-11-30 Thread Pier P. Fumagalli
Paulo Gaspar <[EMAIL PROTECTED]> wrote: > > [... About Borland C compiler] > Well, I guess the better that I can do is download it, try it on Apache > stuff and then come back with the results. If some one should do it, might > as well be me. Way cool :) Thanks! Pier -- Pier P. Fumagalli

cvs commit: jakarta-tomcat-4.0/connectors/webapplib wa_provider_warp.c wa_provider_warp.h wa_host.c wa_host.h wa_provider.h wa_provider_info.c

2000-11-30 Thread pier
pier00/11/30 08:20:55 Modified:connectors/webapplib wa_host.c wa_host.h wa_provider.h wa_provider_info.c Added: connectors/webapplib wa_provider_warp.c wa_provider_warp.h Log: WARP provider added. Bugfixes to initial implementations. Revisi

MVC problem

2000-11-30 Thread Aiken, David
> hi all.. > > We're hitting a problem with the MVC approach in tomcat. > > Our controller is designed to intercept all requests for URLs within our > web application so that it can handle internationalization and security > checks centrally. > > The problem is as follows: > - the controller servl

Re: WML Generation from JSP broken!!!!

2000-11-30 Thread Danno Ferrin
I am sorry to start this thread here, but I believe that jasper-4.0's behavior is in error. The behavior I think the spec calls for in determining if a page is a JSP Document (xml jsp) or an XMl document with JSP markup is the presence or absence of a jsp:root element. This is further support

RE: [ANNOUNCEMENT] Tomcat 3.2 Final Release

2000-11-30 Thread GOMEZ Henri
The ANNOUNCEMENT was sent some days ago and people were very busy to keep all in sync. I suggest all persons who have sent patch to resend to the list for study and eventual integration in TC 3.2.1. All the usefull patches will be included in the tomcat RPM, I've just released at http://rpmized

Re: [ANNOUNCEMENT] Tomcat 3.2 Final Release

2000-11-30 Thread Rogério Meneguelli Gatto
Hi, Henri, I also submitted a patch (yesterday, Nov 29) and before that a request (Nov 20) for Windows SMB Paths in Tomcat 3.2 server.xml. On my first post, I even volunteered to make it work again (it did on 3.1 and it does on 4.0). I had no answer to that post, and started to work "on my o

RE: Now, am I stupid or what? - C compilers

2000-11-30 Thread Paulo Gaspar
BTW, the free Borland compiler and command line tools is also just 8.5 MB big - quite modest for what it is! Have fun, Paulo

RE: [ANNOUNCEMENT] Tomcat 3.2 Final Release

2000-11-30 Thread GOMEZ Henri
Sorry when did you submit the latest. You could repost them and I could check and commit if valid "Pour la plupart des hommes, se corriger consiste à changer de défauts." -- Voltaire

Re: [ANNOUNCEMENT] Tomcat 3.2 Final Release

2000-11-30 Thread Pilho Kim
Hi, tomcat-developers I cannot understand why you, developers, do NOT listen to my patches. I have patched so many times to support multibyte characters. I have also patched about cache-bug, scracted class files, and etc. Regards, Kim On Wed, 29 Nov 2000, Craig R. McClanahan wrote: > The m

RE: Now, am I stupid or what? - C compilers

2000-11-30 Thread Paulo Gaspar
Borland compilers are usually quite good (I worked many years with Borland products). OTOH, while the old C compilers were very good, I had some problems once using a previous version of C++ Builder (version 2 or 3, I am not sure anymore). However, those could be instabilities caused by new exte

Re: Filter execution - ExampleFilter

2000-11-30 Thread Hari
This is addition to my prev. post.   I'm sorry the same error occurs even on HTTP scheme.   I'm working on Apache-Cocoon and while trying to run the default cocoon servlet /Cocoon.xml, exception throws and tells as "Cocoon is not a servlet".  Is Servlet spec 2.3 is not compatible with 2.2 sp

Jasper problems

2000-11-30 Thread Mikael Helbo Kjær
Hi all. I`ve recently being developing a custom taglibrary for my company. In doing so I have uncovered some problems with Jasper in version 3.1 during my test. Now we are supporting Regular expressions as extensions to our tags like this excerpt from our jsp page: Now this however give

Filter execution - ExampleFilter

2000-11-30 Thread Hari
Hi All, I freshly downloaded Tomcat 4.0m4 binary  and installed on my machine.  I had enabled SSL support on port 8443 and started tomcat.  Tomcat works on HTTP mode (port 8080) very good (examples context - running hello world example) but while running under HTTPS (port 8443) the simple h

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/startup CatalinaManager.java CatalinaManagerMBean.java

2000-11-30 Thread remm
remm00/11/30 01:10:12 Modified:catalina/src/share/org/apache/catalina/startup CatalinaManager.java CatalinaManagerMBean.java Log: - JMX wrapper needed an update to adapt to the classloader changes which occured since when it was written. Revision

Re: [Fwd: [uknot] java.apache/mod_java + j2ee +jdk1.3onSparc/Solaris - hint anyone?]

2000-11-30 Thread Ben Laurie
"Pier P. Fumagalli" wrote: > > Ben Laurie <[EMAIL PROTECTED]> wrote: > > > "Pier P. Fumagalli" wrote: > >> > >> Definitely compiling 4.0 from the sources is not an easy task, but, at least > >> the old mod_jserv... Oh my god... Nobody touched the build in 2 years, and > >> it should be fairly ea

RE: [ANNOUNCEMENT] Tomcat 3.2 Final Release

2000-11-30 Thread Michel Lehon
Congratulations and huge thanks to the whole team. Keep on the good work guys. Michel Lehon Outwares SAS Data Warehousing and Web Development. > -Original Message- > From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 30 November, 2000 05:49 > To: [EMAIL PROTECTED];

cvs commit: jakarta-tomcat/src/doc perfNumbers.txt

2000-11-30 Thread costin
costin 00/11/30 00:23:53 Added: src/doc perfNumbers.txt Log: Added the raw data for various performance tests comparing 3.0, 3.1, 3.2 and 3.3 ( I'll add more as we go, probably not very usefull but it is information you can filter out ) It would be interesting to test o

cvs commit: jakarta-tomcat changes3.3

2000-11-30 Thread costin
costin 00/11/30 00:19:11 Added: .changes3.3 Log: Added a list of changes/todos for 3.3 I use the list to remember the changes - it's not very well organized ( more chronological then by importance ), it also needs HTML. Revision ChangesPath 1.1