danmil 01/03/20 23:12:26
Modified:src/native/mod_jk/apache1.3 mod_jk.c
Log:
Added comments, renamed a few variables for clarity and converted tabs to
spaces.
Revision ChangesPath
1.6 +183 -81 jakarta-tomcat/src/native/mod_jk/apache1.3/mod_jk.c
Index: mod_
costin 01/03/20 22:55:40
Modified:src/etc modules.xml server.xml
Log:
Added the new modules ( definitions and in server.xml )
Revision ChangesPath
1.2 +13 -3 jakarta-tomcat/src/etc/modules.xml
Index: modules.xml
costin 01/03/20 22:54:02
Modified:src/share/org/apache/tomcat/modules/session SessionId.java
SimpleSessionStore.java
Added: src/share/org/apache/tomcat/modules/session
SessionExpirer.java SessionIdGenerator.java
Log:
I'm looki
costin 01/03/20 22:46:42
Modified:src/share/org/apache/tomcat/core ServerSession.java
Log:
Added the notification call when the session change the state ( as in
Context and ContextManager ).
Revision ChangesPath
1.8 +25 -0
jakarta-tomcat/src/share/org/apach
costin 01/03/20 22:41:37
Modified:src/shell tomcat.sh
Log:
Few more changes to the .sh script:
- less verbosity ( no message on the console if the output will be redirected,
let java do the output for home, classpath )
- fixed the startup with wait
- added a "force" s
remm01/03/20 21:05:44
Modified:catalina/src/share/org/apache/naming/resources
DirContextURLStreamHandler.java
Log:
- Fix a problem where the following code would throw a NullPointerException
at line 163 of DirContextURLConnection when excuting the sec
Henri,
> You're right. I strongly didn't like to see that mixed use of buffer for
> both input and output. We have now system with Mb of RAM and trying to
> save some Kb is a pitty. We must use at least 2 differents buffers :
>
> One buffer apache => tomcat , another tomcat => apache
That would
Hi arieh,
In article ,
[EMAIL PROTECTED] wrote:
|public static String patch(String path) {
| - String patchPath = path;
| + String patchPath = path.trim();
The fix of 1.9.2.6 becomes ineffective.
trim() should be removed ?
Yoshiyuki Karezaki [EMAIL PROTECTED]
on 3/19/01 8:32 PM, "Craig R. McClanahan" <[EMAIL PROTECTED]> wrote:
> +1 [ ] I support the proposed release, and will work to support it
> +0 [X] I support the proposed release, but cannot work on it
> at this time
> -0 [ ] I do not support the proposed release, but do not have an
> alt
send mail to <[EMAIL PROTECTED]>
Andrew Hopkins <[EMAIL PROTECTED]> wrote:
I thought I could just type "unsubscribe" in the body of this email.Do You Yahoo!?
Yahoo! Mail Personal Address -
Get email at your own domain with Yahoo! Mail.
larryi 01/03/20 19:05:26
Modified:src/share/org/apache/jasper JasperEngineContext.java
Log:
Implement resolveRelativeUri() method.
Fix for Bugzilla Bug 1045.
Revision ChangesPath
1.2 +6 -1
jakarta-tomcat/src/share/org/apache/jasper/JasperEngineContext.j
Remy Maucherat writes:
> Quoting [EMAIL PROTECTED]:
>
> >
> > Remy Maucherat writes:
> > > I've updated the object factory for the EJB references. It should now
> > > attempt to resolve ejb-links using a JNDI lookup.
> > > I can't really test the feature, so I'm waiting for your feedback and
>
Look at:
http://jakarta.apache.org/site/mail2.html
Try mailto:[EMAIL PROTECTED]
Mike.
--
Mike Braden
[EMAIL PROTECTED]
[EMAIL PROTECTED]
-Original Message-
From: Andrew Hopkins [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 20, 2001 9:09 PM
To: [EMAIL PROTECTED]
Subject: Anyone know
I thought I could just type "unsubscribe" in the body of this email.
craigmcc01/03/20 17:59:21
Modified:catalina/docs/config context.html engine.html host.html
Added: catalina/docs/config logger.html realm.html valve.html
Log:
Flesh out configuration documents for the Logger, Realm, and Valve
utility components. Several more need to be fin
Yes, this is a typo. It should by 5.
Here is a verbatim paste of the statement we are using:
private static final int TIMEOUT = 5*60*1000; // read() timeout in ms
;-)
Tal
> -Original Message-
> From: Shawn McMurdo [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 20, 2001 12:5
Hi Henri,
Thanks for the fix.
The setSoTimeout controls the max time socketRead() blocks until it
timeouts. 15 seconds is way
too short IMHO. Especially if you don't provide a way to configure it.
If the user uploads a large file through a slow modem and the network has
soft problem for 15 sec
On Tue, 20 Mar 2001, Amy Roh wrote:
> Hi,
>
> I created an example web application using Filter technology and would like to
> add to Tomcat 4 example webapps. This example includes Data Compression Filter
> which compresses ServletResponse according to the threshold that can be set by
> u
+1
regards,
haohan
-Original Message-
From: Amy Roh [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 21, 2001 5:05 AM
To: [EMAIL PROTECTED]
Subject: Proposal for Compression Filter example
Hi,
I created an example web application using Filter technology and would like
to
add to Tomc
remm01/03/20 16:27:03
Modified:jasper/src/share/org/apache/jasper/compiler
ParserController.java
Log:
- The fix in that source file wasn't the same as in JspReader (and the fix in
JspReader appears to be a bit better).
Revision ChangesPath
remm01/03/20 16:08:53
Modified:jasper/src/share/org/apache/jasper/compiler JspCompiler.java
JspReader.java ParserController.java
TagLibraryInfoImpl.java
Log:
- Jasper should run from WARs (or any other repository which provides a d
I suggest you to set the timeout in HttpConnectionHandler :
// System.out.println("New Connection");
try {
// XXX - Add workarounds for the fact that the underlying
// serverSocket.accept() call can now time out. This whole
// architecture
Hi Costin,
> The timeout patch will certainly go into tomcat3.3, and I think Marc will
> add it to 3.2 also - it's a good solution and I don't think it can brake
> anything.
Great, we will be able to drop soon our proprietry patches.zip library. ;-)
BTW, Our patch library currently contains th
You we're just too fast ;-)
What happen to ajpx connector with that patch ?
If ajp12 is a short life connection, ajp13 need permanent connection !
The setTimeOut in that case will broke it ;(
Si la fortune vient en dormant, ça n'empêche pas les emmerdements de venir
au réveil.
-- Pierre Dac
>-
remm01/03/20 15:17:37
Modified:catalina/src/share/org/apache/naming/factory EjbFactory.java
Log:
- Comment out the type checking, as suggested by Tim Tye.
Revision ChangesPath
1.6 +10 -10
jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/factory/EjbFa
> This code does not work because the classloader is different than the
> servlet class loader. The "Class home = Class.forName(homeClassName);"
> line fails with "Class.forName() failed: java.lang.ClassNotFoundException:
> cool.models.coop07.java.S_STRESS_31KpsHome".
> This same line works in th
Craig R. McClanahan wrote:
>
> On Wed, 14 Mar 2001, christopher hull wrote:
>
>
>> Wow! Thanks for the quick response.
>>
>> The problem it turns out has nothing to do with spaces. When
>> getResourceAsStream() can't find a resource, it displays a space just
>> after the root for conven
Remy Maucherat wrote:
>
> Quoting Glenn Nielsen <[EMAIL PROTECTED]>:
>
> > Is the ability to run from a WAR file directly without unarchiving it
> > into the webapps directory completely implemented?
>
> No, I'm working on some fixes for Jasper (including one for the trace you
> included).
>
>
On Tue, 20 Mar 2001, GOMEZ Henri wrote:
> >I created an example web application using Filter technology
> >and would like to
> >add to Tomcat 4 example webapps. This example includes Data
> >Compression Filter
> >which compresses ServletResponse according to the threshold
> >that can be s
remm01/03/20 14:24:34
Modified:catalina/src/share/org/apache/naming/factory EjbFactory.java
Log:
- The debug traces were incorrect (I had reversed the test by accident). Fixed.
Revision ChangesPath
1.5 +9 -5
jakarta-tomcat-4.0/catalina/src/share/org/apach
marcsaeg01/03/20 14:21:28
Modified:src/share/org/apache/tomcat/service Tag: tomcat_32
PoolTcpEndpoint.java
Log:
Set the SO_TIMEOUT value on the accepted socket. This prevents a DOS
attacked by clients opening connections and never sending any data.
Th
>I created an example web application using Filter technology
>and would like to
>add to Tomcat 4 example webapps. This example includes Data
>Compression Filter
>which compresses ServletResponse according to the threshold
>that can be set by
>users. I think it'll be a good example usage o
>> all is graphed around the clock by MRTG). We are running
>with a relatively
>> timeout of 5 minutes (50*60*1000) just to be on the safe
>side but a shorter
>> one can be used.
>
>Is 50 just a typo? Did you mean 5*60*1000?
>Just thought I'd mention it in case it affects your testing.
>Shawn
Quoting Glenn Nielsen <[EMAIL PROTECTED]>:
> Is the ability to run from a WAR file directly without unarchiving it
> into the webapps directory completely implemented?
No, I'm working on some fixes for Jasper (including one for the trace you
included).
> Jasper gives me a null pointer when it
> 1) Take a look at ll. 592-600. In case of a POST request, this will
>overwrite the initial buffer (imsg) with the POST data. If TC is then
>restarted, and that request is resent, it will be garbage
>(POST data instead
>of request data).
You're right. I strongly didn't like to see that mixed
Quoting [EMAIL PROTECTED]:
>
> Remy Maucherat writes:
> > I've updated the object factory for the EJB references. It should now
> > attempt to resolve ejb-links using a JNDI lookup.
> > I can't really test the feature, so I'm waiting for your feedback and
> stack
> > traces, if it goes wrong ;-)
remm01/03/20 14:04:31
Modified:catalina/src/share/org/apache/naming/factory EjbFactory.java
Log:
- Won't fail when bean isn't of right type, or when failing to load home interface.
Instead, will print out debug traces.
Revision ChangesPath
1.4 +23 -12
j
I was offline for some hours but here is a possible patch
(may be the same that Tal has in mind).
As you can see it use setSoTimeout() to 15s in the HTTP 1.0 Interceptor.
Yes, we need to add parameter in server.xml via geter/seter methods.
In http 1.1 with keep-alive connection we must use anoth
This code does not work because the classloader is different than the
servlet class loader. The "Class home = Class.forName(homeClassName);"
line fails with "Class.forName() failed: java.lang.ClassNotFoundException:
cool.models.coop07.java.S_STRESS_31KpsHome".
This same line works in the servlet
> I found the handleContextNotFound method that also output HTML codes
> in ContextManager.java (but I don't know this method is used in the
> current version).
>
I committed this fix. Thanks for letting us know.
> >class RedirectHandler extends ServletWrapper {
> > @@ -459,7 +460,7 @@
>
Does this mean that the proposed patch to call setSoTimeout() should not be
applied?
> -Original Message-
> From: GOMEZ Henri [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 20, 2001 10:12 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Bug 1006, what's next ?
>
>
> Hi,
>
> I may help here si
Hi Mark,
Yes, we will be glad to test it.
BTW, we changed the code of the patch slightly. The timeout is now set even
if there is no factory. I am not
sure where these factories are coming from and whether it can be null but it
seems to be safer this way.
The change is documented in the bug rep
larryi 01/03/20 11:01:51
Modified:src/share/org/apache/tomcat/core Tag: tomcat_32
ContextManager.java
Log:
Fix an additional location for the security vulnerability reported by Hiromitsu
Takagi. See changes for DefaultCMSetter.java version 1.45.2.10.
Hi,
I created an example web application using Filter technology and would like to
add to Tomcat 4 example webapps. This example includes Data Compression Filter
which compresses ServletResponse according to the threshold that can be set by
users. I think it'll be a good example usage of fil
Tal Dayan wrote:
> [...]
> Yes, we tested the timeout patch all day yesterday with a production system
> with real users and normal load and
> all the hanging threads and connections was cleaned up perfectly (we are
> using 'netstat' to
> get the number of HTTP connections and 'ps' to get the nu
Is the ability to run from a WAR file directly without unarchiving it
into the webapps directory completely implemented?
Jasper gives me a null pointer when it tries to see if a JSP needs
to be recompiled in its Outdated method because getRealPath() returns null,
getServletConfig().getServletCont
Remy Maucherat writes:
> I've updated the object factory for the EJB references. It should now
> attempt to resolve ejb-links using a JNDI lookup.
> I can't really test the feature, so I'm waiting for your feedback and stack
> traces, if it goes wrong ;-)
>
I finally got all pieces downloaded an
Hi Tal,
The timeout patch will certainly go into tomcat3.3, and I think Marc will
add it to 3.2 also - it's a good solution and I don't think it can brake
anything.
I was thinking about what we can do for a more general solution - and
looking at the code I think there are few easy things that n
"Craig R. McClanahan" wrote:
>
> On Tue, 20 Mar 2001, Glenn Nielsen wrote:
>
> > "Craig R. McClanahan" wrote:
> > >
> > > There have been a large number of feature additions and bug fixes to the
> > > Tomcat 4.0 code base since Tomcat 4.0-beta-1 was published in
> > > January. This includes imp
Hi,
Our first priority is to make Tomcat to work in normal conditions with good
intentioned users. We will
worry later about DOS (as long as we don't introduce new vulnerabilities).
Yes, we tested the timeout patch all day yesterday with a production system
with real users and normal load and
al
Amy Roh wrote:
>
> Bip,
>
> What's the status on the SSI feature that you were working on. I would like to
> help you finish all the features and commit the code if you'd like. Status?
Hi, I'll mail the latest source later on today(Pacific time). I've had my ass full
of good 'ol work-work lat
>
> Hi Attila,
>
> Well, sound simple but I think it's a bit more...
>
> How can the server guess what will be the encoding in the
> first page it
> sends ( that will be used back to send the form, etc ) ? Even
> if you know
> the language ( say it's japanese ), there are many charsets
> that co
;
> Remy
>
Ok, I will test with the 20010320 nightly build when it is available.
(I cannot access all of the Java code I need to build tomcat at work
because of a parinoid fire wall).
Tim
costin 01/03/20 09:46:57
Added: src/tests/webpages/sandbox filew.jsp
Log:
Added one test case for sandboxing.
Revision ChangesPath
1.1 jakarta-tomcat/src/tests/webpages/sandbox/filew.jsp
Index: filew.jsp
costin 01/03/20 09:45:35
jakarta-tomcat/src/tests/webpages/sandbox - New directory
On Tue, 20 Mar 2001, Kief Morris wrote:
> Craig R. McClanahan typed the following on 08:52 PM 3/19/2001 -0800
> >So where does that leave us in the mean time? I propose that we continue
> >to innovate new features in succeeding beta releases of Tomcat 4.0
> >(treating them essentially the way
On Tue, 20 Mar 2001, Glenn Nielsen wrote:
> "Craig R. McClanahan" wrote:
> >
> > There have been a large number of feature additions and bug fixes to the
> > Tomcat 4.0 code base since Tomcat 4.0-beta-1 was published in
> > January. This includes implementation of some changes to the servlet
Tal,
It has my attention. I'm in the process of finalizing the second beta
release of Tomcat 3.2.2 and I will try to include this patch. Would you be
able to test Tomcat 3.2.2 beta 2 (when its ready) to verify that this is
working correctly?
Marc Saegesser
> -Original Message-
> From:
+1
"Craig R. McClanahan" wrote:
>
> Many TOMCAT-DEV readers might be unaware that the Apache Software
> Foundation (the group that sponsors the Jakarta project, along with many
> others) is an Executive Member of the Java Community Process program,
> which is the group which accepts or rejects
"Craig R. McClanahan" wrote:
>
> There have been a large number of feature additions and bug fixes to the
> Tomcat 4.0 code base since Tomcat 4.0-beta-1 was published in
> January. This includes implementation of some changes to the servlet API
> that have been approved by the JSR-053 expert gro
On Tue, Mar 20, 2001 at 07:03:04AM -0800, [EMAIL PROTECTED] wrote:
>
> I had a (long) weekend without computers. But I still found one and read
> the mail once - and your report is very serious and important ( and not
> easy to fix ). You have (at least ) my full attention. The read
> timeout wi
>- Clip and Return This Portion -
>
>+1 [ ] I support the proposed release, and will work to support it
>+0 [ ] I support the proposed release, but cannot work on it at this
time
>-0 [ ] I do not support the proposed release, but do not have an
alternative to propose
arieh 01/03/20 08:31:10
Added: src/doc Tag: tomcat_32 tomcat-localization-howto.html
Log:
First revision of the localization HOWTO.
Revision ChangesPath
No revision
No revision
1.1.2.1 +198 -0jakarta-tomcat/s
Hi,
I may help here since I figth against this kind of TCP
bugs each days on my pay job.
The problem with TCP/IP is that when there is no activity a
read() system call (that java used) will block the calling
thread.
You could use :
- select() like before read() to see if there is something to
Henri,
A few more problems:
1) Take a look at ll. 592-600. In case of a POST request, this will
overwrite the initial buffer (imsg) with the POST data. If TC is then
restarted, and that request is resent, it will be garbage (POST data instead
of request data).
How best to fix this? I woul
Hi,
I volunteered to resolve the charset issues, the problem is very complex
and difficult ( and I had very little time for that ). (I'm also an 8859-2
user).
In other words - I need help ( patches, ideas, code to reproduce etc
) ... This is too big and scary issue - and I don't feel confident e
Hi,
I had a (long) weekend without computers. But I still found one and read
the mail once - and your report is very serious and important ( and not
easy to fix ). You have (at least ) my full attention. The read
timeout will be checked in soon - but the general problem ( with a servlet
hanging
What is the current status of mod_webapp? I have tried building the connector
from cvs but the build fails with webapplib. The errors seem to indicate there
are some missing source files.
wa.c:69: `wa_connections' undeclared (first use in this function)
wa.c:69: (Each undeclared identifier is re
--- "Craig R. McClanahan" <[EMAIL PROTECTED]> wrote:
> - Clip and Return This Portion -
>
> +1 [ ] I support the proposed release, and
> will work to support it
> +0 [ ] I support the proposed release, but
> cannot work on it
> at this time
> -0 [ ] I d
Oups not the up to date code.
Find attached the correct patch. It will correctly
handle the tomcat failure (when restarted or down)
during upload mode
>-Original Message-
>From: GOMEZ Henri [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, March 20, 2001 1:40 PM
>To: [EMAIL PROTECTED]
>Cc
Craig R. McClanahan <[EMAIL PROTECTED]> wrote:
> -0 [X] I do not support the proposed release, but do not have an
> alternative to propose
Just got to Dublin, and let me tell you, it's AWFUL... :( I'll try to make
it, but...
Pier (somewhere in Europe... This time Dublin???)
--
Hi,
You could find attached the latest patch for mod_jk
ajp13_worker.
The imsg buf stand now for initial msg. I fixed the naming.
Thanks to comments before I commit it.
jk_ajp13_worker.diff
Two days ago I filed a bug report regarding a sever hanging problem in
PollTcpEndpoint of Tomcat 3.x. The bug is
at http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1006 and also include a
suggestion for a patch.
Since then I did not notice any change in the status or resolution of the
bug repo
73 matches
Mail list logo