CompressionFilter problem in Catalina

2001-08-21 Thread Mickael Guessant
Hi all, The compression filter in tomcat 4b7 seems to work fine when using it against a simple servlet output, but I had some difficulties to make it work with static files (served by the DefaultServlet) and Jsps. In order to reproduce the problem, simply add the following filter mapping

Security issues with Tomcat 3.2.x

2001-08-21 Thread RoMaN SoFt / LLFB !!
Hi. I'm using Jakarta Tomcat 3.2.2 with Apache 1.3.20 / mod_jk (Linux) and I have some security-related questions: 1) I've read 3.2.3 is the latest available version for 3.2.x branch and that it covers a security issue. What's about this security issue and where could I read more about this

[Fwd: Ajp12Interceptor, tomcatAuthentication=false not functioning ?]

2001-08-21 Thread Joe Van Demark
Can anyone confirm this as an issue ? -- Joe Van Demark [EMAIL PROTECTED] I'm running Apache/tomcat 3.3 Beta with jserv. My server.xml contains the following RequestInterceptor tag/element RequestInterceptor className=org.apache.tomcat.modules.server.Ajp12Interceptor

Re: Adding another protocol

2001-08-21 Thread cmanolache
On Tue, 21 Aug 2001, Jens-A. Reinhardt wrote: Looking at the code I would assume that I have to write a MyProtocolConnectionHandler and corresponding Request/ResponseAdapter that extend/implement the TCPConnectionHandler, ResponseImpl, and RequestImpl. Since I haven't found any

Re: Bug in ServletResponse.flushBuffer() in Tomcat 4.0b7?

2001-08-21 Thread Pier P. Fumagalli
Jonathan Eric Miller at [EMAIL PROTECTED] wrote: I originally posted this to the tomcat-user list, but, I received no response. As far as I can tell, it's a bug, so, I'm now forwarding this to the developer list in hopes that someone here might be able to confirm whether this is a bug or

Re: Adding another protocol

2001-08-21 Thread cmanolache
On Tue, 21 Aug 2001 [EMAIL PROTECTED] wrote: That would work for most protocols I know - for example a SMTP session can be viewed as a number of HTTP requests in a session. Then you can use servlets/jsps as in a web applications. Your module will act as a proxy between the protocol and http.

FW: mod_webapp with Apache 2.0

2001-08-21 Thread Pier P. Fumagalli
Directly from the authors of Apache 2.0, I'm very happy to announce that the WebApp module has now support for the new HTTPD. Thank you to the Covalent dream team... Pier -- Forwarded Message From: Ryan Bloom [EMAIL PROTECTED] Organization: Covalent Technologies Reply-To: [EMAIL

cvs commit: jakarta-tomcat-connectors/webapp/apache-2.0 - New directory

2001-08-21 Thread pier
pier01/08/21 09:19:06 jakarta-tomcat-connectors/webapp/apache-2.0 - New directory

cvs commit: jakarta-tomcat-connectors/webapp/apache-2.0 mod_webapp.c

2001-08-21 Thread pier
pier01/08/21 09:20:59 Added: webapp/apache-2.0 mod_webapp.c Log: Port of the WebApp module to Apache 2.0. Thanks to Ryan, Ian, Dirk and Randy at Covalent. Revision ChangesPath 1.1 jakarta-tomcat-connectors/webapp/apache-2.0/mod_webapp.c

cvs commit: jakarta-tomcat-connectors/webapp/lib wa_config.c

2001-08-21 Thread pier
pier01/08/21 09:24:37 Modified:webapp/lib wa_config.c Log: Allow web-applications to be deployed as root of virtual hosts. Thanks to Philipp Richter Philipp.Richter at CUBiT.at Revision ChangesPath 1.6 +4 -4

Re: cvs commit: jakarta-tomcat-connectors/webapp/lib wa_config.c

2001-08-21 Thread Aaron Bannert
On Tue, Aug 21, 2001 at 04:24:37PM -, [EMAIL PROTECTED] wrote: pier01/08/21 09:24:37 Modified:webapp/lib wa_config.c Log: Allow web-applications to be deployed as root of virtual hosts. Thanks to Philipp Richter Philipp.Richter at CUBiT.at Cool! Would you mind

Re: cvs commit: jakarta-tomcat-connectors/webapp/lib wa_config.c

2001-08-21 Thread Pier P. Fumagalli
Aaron Bannert at [EMAIL PROTECTED] wrote: On Tue, Aug 21, 2001 at 04:24:37PM -, [EMAIL PROTECTED] wrote: pier01/08/21 09:24:37 Modified:webapp/lib wa_config.c Log: Allow web-applications to be deployed as root of virtual hosts. Thanks to Philipp Richter

imap close_wait with Tomcat 3.2.1

2001-08-21 Thread luminousheart
I am running a production server with Apache 1.3.14 and Tomcat 3.2.1. I have developed a JSP-JavaBeans-Based WebMail that runs on this RH Linux 7.1 server. While debuging I noticed that if I logout of the webmail (click logout) I see the connection to the imap server being closed. But somehow,

RE: imap close_wait with Tomcat 3.2.1

2001-08-21 Thread Marc Saegesser
A socket enters the CLOSE_WAIT state when it receives a FIN packet from the other side. It remains in this state until the application issues a close() on the socket. At that point a FIN packet is sent and the socket enters the LAST_ACK state until the associated ACK packet is received. The

RE: imap close_wait with Tomcat 3.2.1

2001-08-21 Thread luminousheart
Hi, Thank you Marc for your reply. As a matter of fact I am using JavaMail API to handle my communication to the IMAP server. So all the lower level sockets, etc., are transparent to me. Is there a way I can look at this? And why do I see the sockets being released once I shutdonw Tomcat?

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

2001-08-21 Thread Justin Erenkrantz
On Tue, Aug 21, 2001 at 06:51:52PM -, [EMAIL PROTECTED] wrote: craigmcc01/08/21 11:51:52 Modified:catalina/src/share/org/apache/catalina/core StandardServer.java Log: Fix for a DoS attack against the shutdown port, that could cause an out of

RE: imap close_wait with Tomcat 3.2.1

2001-08-21 Thread Marc Saegesser
I've never dealt with the JavaMail API so I can't really give you any details. I'm sure there are more appropriate forums for discussing those issues. The sockets are going away when you stop Tomcat for one of two reasons. First, there's code in your servlets' destroy() method that is actively

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

2001-08-21 Thread Pier P. Fumagalli
Justin Erenkrantz at [EMAIL PROTECTED] wrote: On Tue, Aug 21, 2001 at 06:51:52PM -, [EMAIL PROTECTED] wrote: craigmcc01/08/21 11:51:52 Modified:catalina/src/share/org/apache/catalina/core StandardServer.java Log: Fix for a DoS attack against the

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

2001-08-21 Thread Craig R. McClanahan
On Tue, 21 Aug 2001, Justin Erenkrantz wrote: On Tue, Aug 21, 2001 at 06:51:52PM -, [EMAIL PROTECTED] wrote: craigmcc01/08/21 11:51:52 Modified:catalina/src/share/org/apache/catalina/core StandardServer.java Log: Fix for a DoS attack

RE: imap close_wait with Tomcat 3.2.1

2001-08-21 Thread luminousheart
Thank you for your assistance and I apologize for dumping on your. Lumi. PS: Is there a reference to any material about how many people are using Tomcat on production? And what is a best-practice for fine tuning Tomcat for highloads? --- Marc Saegesser [EMAIL PROTECTED] wrote: I've never

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

2001-08-21 Thread Christopher Cain
Pier P. Fumagalli wrote: Justin Erenkrantz at [EMAIL PROTECTED] wrote: On Tue, Aug 21, 2001 at 06:51:52PM -, [EMAIL PROTECTED] wrote: craigmcc01/08/21 11:51:52 Modified:catalina/src/share/org/apache/catalina/core StandardServer.java Log:

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

2001-08-21 Thread craigmcc
craigmcc01/08/21 12:35:36 Modified:catalina/src/share/org/apache/catalina/core StandardServer.java Log: Strengthen the previous fix (that avoids a DoS attack) by not exposing the length of the shutdown command password to an attacker. Thanks to Justin

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

2001-08-21 Thread Christopher Cain
Craig R. McClanahan wrote: On Tue, 21 Aug 2001, Christopher Cain wrote: Pier P. Fumagalli wrote: Justin Erenkrantz at [EMAIL PROTECTED] wrote: On Tue, Aug 21, 2001 at 06:51:52PM -, [EMAIL PROTECTED] wrote: craigmcc01/08/21 11:51:52 Modified:

RE: Adding another protocol

2001-08-21 Thread Craig R. McClanahan
On Tue, 21 Aug 2001 [EMAIL PROTECTED] wrote: Craig, Can you point to some reference (or additional some information ) if I want to Implement a HTTP Extension on tomcat4. Thanks In Advance, Kumar. The only information that exists is in the CVS source code repository (in

cvs commit: jakarta-tomcat-4.0/webapps/tomcat-docs ssl-howto.xml

2001-08-21 Thread craigmcc
craigmcc01/08/21 13:22:53 Modified:webapps/tomcat-docs ssl-howto.xml Log: Fix a typo. Submitted by: Christopher Cain Revision ChangesPath 1.2 +1 -1 jakarta-tomcat-4.0/webapps/tomcat-docs/ssl-howto.xml Index: ssl-howto.xml

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

2001-08-21 Thread Craig R. McClanahan
On Tue, 21 Aug 2001, Christopher Cain wrote: Craig R. McClanahan wrote: On Tue, 21 Aug 2001, Christopher Cain wrote: Pier P. Fumagalli wrote: Justin Erenkrantz at [EMAIL PROTECTED] wrote: On Tue, Aug 21, 2001 at 06:51:52PM -, [EMAIL PROTECTED] wrote:

RE: Adding another protocol

2001-08-21 Thread Kevin Seguin
On Tue, 21 Aug 2001 [EMAIL PROTECTED] wrote: Craig, Can you point to some reference (or additional some information ) if I want to Implement a HTTP Extension on tomcat4. Thanks In Advance, Kumar. The only information that exists is in the CVS source code

DTD DOCTYPE wrong in examples....?

2001-08-21 Thread Thom Park
Hello, Sun appear to have changed the DOCTYPE for the web application in servlet specification 2.3. Actually, in the draft spec it states that the doc type is: !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/j2ee/dtds/web-app_2_3.dtd; however,

RE: Adding another protocol

2001-08-21 Thread mettu . kumar
Kelvin, I would just use Craig Russell's(Spec lead, JDO) words Why make them if you have to apologize for them? Perhaps you could just have exercised your del key... Thanks for the advice though :-) Kumar. -Original Message- From: Kevin Seguin [mailto:[EMAIL PROTECTED]] Sent:

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

2001-08-21 Thread Christopher Cain
Craig R. McClanahan wrote: On Tue, 21 Aug 2001, Christopher Cain wrote: [snip] Now, if you could just add a small random value to expected before you drop into the while 0 loop to make it non-deterministic , please ... (just kidding ;-) Don't laugh. That's what I had actually

[TC4] error building tomcat-docs

2001-08-21 Thread Bernard D'Have
on win2k, sun jdk1.3.1 and with xalan.jar from jaxp1.1, I have the following trouble to build tomcat-docs: build-main: [style] Transforming into T:\Sources\jakarta-tomcat-4.0\webapps\build\tomcat-docs [style] Loading stylesheet

Re: [TC4] error building tomcat-docs

2001-08-21 Thread Jon Stevens
on 8/21/01 3:21 PM, Bernard D'Have [EMAIL PROTECTED] wrote: does anybody has resolved this issue? thanks Bernard Yea, it is called Anakia, but some people refuse to use it. -jon

RE: [TC4] error building tomcat-docs

2001-08-21 Thread Rob S.
Yea, it is called Anakia, but some people refuse to use it. I didn't know Anakia fixed parsers on the Win32 JVM ;) - r

Re: [TC4] error building tomcat-docs

2001-08-21 Thread Jon Stevens
on 8/21/01 3:58 PM, Rob S. [EMAIL PROTECTED] wrote: Yea, it is called Anakia, but some people refuse to use it. I didn't know Anakia fixed parsers on the Win32 JVM ;) - r I have yet to hear of a bug report with regards to parsers on Win32 with Anakia. I have yet to be able to get

Re: [TC4] error building tomcat-docs

2001-08-21 Thread Christopher Cain
Jon Stevens wrote: I have yet to hear of a bug report with regards to parsers on Win32 with Anakia. I have yet to be able to get jakarta-site2 to run using Craigs .xslt file ... (on OSX). LOL! That's your first problem, it's that damn that Mach kernel ;-) (just kidding, Mac kiddos

help with my first JSP

2001-08-21 Thread Dan Carl
My first JSP/Bean seems to work fine. The problem I have is that each time the JSP is run a message shows up in jasper.log. Example: 2001-08-21 05:16:40 - JspEngine -- /Detroit.jsp 2001-08-21 05:16:40 -ServletPath: /Detroit.jsp 2001-08-21 05:16:40 - PathInfo: null 2001-08-21

RE: [TC4] error building tomcat-docs

2001-08-21 Thread Rob S.
I have yet to hear of a bug report with regards to parsers on Win32 with Anakia. ...until someone decides to use a SYSTEM entity =) I have yet to be able to get jakarta-site2 to run using Craigs .xslt file (on OSX). :-) Ahh, i'm just doing TC4 stuff, so I dunno about that. Personally, I

RE: help with my first JSP

2001-08-21 Thread Rob S.
Hi Dan, That's a log message, it's ok to see that =) Usually I would harass you about emailing this to the dev list, but it's such a great question to answer that I can't complain ;) - r -Original Message- From: Dan Carl [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 21, 2001

Re: CompressionFilter problem in Catalina

2001-08-21 Thread Amy Roh
CompressionFilter works fine for me using the below config even serving static files. I can get /examples/jsp/index.html without any problem using CompressionFilter. filter-mapping filter-nameCompression Filter/filter-name url-pattern/*.html/url-pattern /filter-mapping Amy Mickael

Re: [TC4] error building tomcat-docs

2001-08-21 Thread Pier P. Fumagalli
Christopher Cain at [EMAIL PROTECTED] wrote: I have yet to be able to get jakarta-site2 to run using Craigs .xslt file (on OSX). Didn't have a single problem with it myself... LOL! That's your first problem, it's that damn that Mach kernel ;-) AAA!!! (just kidding, Mac

Re: @see me remove java.lang refs from the javadocs

2001-08-21 Thread Dmitri Colebatch
You can link to other packages like this: [dim@host63 javadoc]$ javadoc -d docs/ \ -linkoffline http://java.sun.com/j2se/1.3/docs/api/ \ . src/Test.java and in the current directory have a file called package-list that contains all the packages you want to link to that url. probably a good

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

2001-08-21 Thread pier
pier01/08/21 17:19:42 Modified:catalina/src/share/org/apache/catalina Globals.java Log: Little typo patch. Revision ChangesPath 1.36 +5 -5 jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Globals.java Index: Globals.java

Re: @see me remove java.lang refs from the javadocs

2001-08-21 Thread Christopher Cain
Quoting Dmitri Colebatch [EMAIL PROTECTED]: You can link to other packages like this: [dim@host63 javadoc]$ javadoc -d docs/ \ -linkoffline http://java.sun.com/j2se/1.3/docs/api/ \ . src/Test.java and in the current directory have a file called package-list that contains all the

Re: Fwd: a tomcat´s document

2001-08-21 Thread Christopher Cain
Quoting James Duncan Davidson [EMAIL PROTECTED]: fyi. Begin forwarded message: [snip] I have write an article for my spanish-java-website (http://www.javahispano.com) and I think it can be very useful for a lot of people. It´s about conteiner managed authentication in Tomcat

Re: Fwd: a tomcat´s document

2001-08-21 Thread Christopher Cain
Quoting Christopher Cain [EMAIL PROTECTED]: I couldn't find any link or anything. Oh, I get it. There's an attachment. hehe ... Sorry, I'm kinda new to this whole internet thing ;-) Can you tell that I'm not used to this new IMAP client I'm using? - Christopher

cvs commit: jakarta-tomcat build.xml

2001-08-21 Thread costin
costin 01/08/21 20:01:54 Modified:.build.xml Log: Fix the 1.1 compat. Exclude the 1.2 code. Revision ChangesPath 1.149 +1 -0 jakarta-tomcat/build.xml Index: build.xml === RCS

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

2001-08-21 Thread costin
costin 01/08/21 20:02:46 Modified:src/share/org/apache/tomcat/modules/config PolicyInterceptor.java Log: Better messages, more checks. Revision ChangesPath 1.12 +10 -3

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/mappers ReloadInterceptor.java

2001-08-21 Thread costin
costin 01/08/21 20:03:08 Modified:src/share/org/apache/tomcat/modules/mappers ReloadInterceptor.java Log: Fix 1.1 compat. Revision ChangesPath 1.10 +1 -2

[WebApp Module] New Binaries up...

2001-08-21 Thread Pier P. Fumagalli
Thanks to Roberto B. [EMAIL PROTECTED] for contributing some GLIBC-2.1 binaries... Now we cover (and who contributed the bin): Linux GlibC 2.2 (Craig Mc. Clanahan) Linux GlibC 2.1 (Roberto B.) Solaris 8/sparc (Me) MacOS/X 10.0 (Me) Windows (Isabella Pighi) Thanks :) Pier

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/startup EmbededTomcat.java Main.java

2001-08-21 Thread costin
costin 01/08/21 21:43:24 Modified:src/share/org/apache/tomcat/startup EmbededTomcat.java Main.java Log: Enable Main to set the right policy, in case we don't use scripts or the scripts are broken ( bad path, etc - it happens to me, it may happen to

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/util/depend DependClassLoader.java DependClassLoader12.java

2001-08-21 Thread costin
costin 01/08/21 21:44:50 Modified:src/share/org/apache/tomcat/util/compat Jdk11Compat.java Jdk12Support.java src/share/org/apache/tomcat/util/depend DependClassLoader.java DependClassLoader12.java Log: Added one more

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/startup EmbededTomcat.java Main.java

2001-08-21 Thread costin
costin 01/08/21 21:55:33 Modified:src/shell shutdown.sh startup.sh tomcat.sh src/share/org/apache/tomcat/startup EmbededTomcat.java Main.java Log: Fix few mistakes, let user override the policy ( but check if the file exists). That can be