RE: [4.1.9] New test milestone released

2002-08-12 Thread David Shanahan
There is a bug in 4.1.9 (a Jasper bug) that breaks my application completely. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11552 We use custom tags that do iteration (they implement IterationTag) but do not modify their content so they do not implement BodyTag. The latest versions of

DO NOT REPLY [Bug 11117] - Coyote connector does not correctly deal with large PUT when using chunked transfer encoding

2002-08-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 11628] New: - web.xml parsing depends on order of appearance

2002-08-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11628. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 11628] - web.xml parsing depends on order of appearance

2002-08-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11628. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 11619] - Environment entries cause HTTP 500

2002-08-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11619. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 11117] - Coyote connector does not correctly deal with large PUT when using chunked transfer encoding

2002-08-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

Question about Session in Tomcat 3.3

2002-08-12 Thread Hugh J. L.
As I tested, when context reloads in Tomcat 3.3.1, e.g. caused by modification of servlet class, sessions are lost. Is it true for all Tomcat 3.3.x? Is there any switch in source code which can change this behavior and maintain sessions through context reloading? Thanks for your help. Hugh

Re: HttpSession and CTRL-N / File new window

2002-08-12 Thread Hugh J. L.
Launch a new IE from OS, but not a new IE window from current IE. --- John Trollinger [EMAIL PROTECTED] wrote: I have noticed that in IE if you do a CTRL-N to bring up a new window in IE it will have the same session as the currently opened window. Is there anyway around this.. or a way to

RE: HttpSession and CTRL-N / File new window

2002-08-12 Thread John Trollinger
And how do I force all the users of my application to do this? -Original Message- From: Hugh J. L. [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 8:23 AM To: Tomcat Developers List Subject: Re: HttpSession and CTRL-N / File new window Launch a new IE from OS, but not a

Question about Session in Tomcat 3.3 -- continued...

2002-08-12 Thread Hugh J. L.
I changed switch fullReload in ReloadInterceptor from true to false, and sessions are maintained through context reloading. (Of course, because the old context remains.) Is there any disadvantage if I set this way? Anyway fullReload=true is default setting. Thanks. Hugh

DO NOT REPLY [Bug 11628] - web.xml parsing depends on order of appearance

2002-08-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11628. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

[PATCH] improve internationalization for admin tool

2002-08-12 Thread Takashi Okamoto
Hi tomcat, (especially amy) This is the second patch to internationalize the admin tools. First patch was commited by amy. New patch will improve at following point: + store file with utf-8 encoding and add encoding='utf-8' at xml header. + use filter servlet to

Re: [PATCH] improve internationalization for admin tool

2002-08-12 Thread Takashi Okamoto
From: Takashi Okamoto [EMAIL PROTECTED] Subject: [PATCH] improve internationalization for admin tool Date: Mon, 12 Aug 2002 22:14:20 +0900 (JST) This is the second patch to internationalize the admin tools. First patch was commited by amy. New patch will improve at following point: .. snip

Re: [5.0] Build notes

2002-08-12 Thread Jean-francois Arcand
Patrick Luby wrote: Costin, [EMAIL PROTECTED] wrote: On Sun, 11 Aug 2002, Patrick Luby wrote: commons-digester/logging, etc. I think that this would make the build more reliable since Tomcat 5 is dependent on very specific versions of Apache dependencies (e.g. Xerces 2.0.1 only).

Re: HttpSession and CTRL-N / File new window

2002-08-12 Thread Ian Darwin
On August 12, 2002 08:32 am, you wrote: And how do I force all the users of my application to do this? Use Netscape :-) And please move usage questions to [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: [5.0] Build notes

2002-08-12 Thread Remy Maucherat
[EMAIL PROTECTED] wrote: On Sun, 11 Aug 2002, Bill Barker wrote: I don't know anybody that likes it, but it's required by the JSP-1.2 spec (and still in the current draft of the JSP-2.0 spec). The TLDs may contain Listeners, and the only way to get them registered is to scan at startup.

Re: [5.0] Build notes

2002-08-12 Thread Remy Maucherat
[EMAIL PROTECTED] wrote: On Sun, 11 Aug 2002, Patrick Luby wrote: commons-digester/logging, etc. I think that this would make the build more reliable since Tomcat 5 is dependent on very specific versions of Apache dependencies (e.g. Xerces 2.0.1 only). IMHO that's _totally_

RE: HttpSession and CTRL-N / File new window

2002-08-12 Thread John Trollinger
Sorry, I hit the wrong to in address book.. just noticed that :-) -Original Message- From: Ian Darwin [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 10:23 AM To: Tomcat Developers List Subject: Re: HttpSession and CTRL-N / File new window On August 12, 2002 08:32 am, you

cvs commit: jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/filters ChunkedInputFilter.java

2002-08-12 Thread remm
remm2002/08/12 07:34:10 Modified:http11/src/java/org/apache/coyote/http11/filters ChunkedInputFilter.java Log: - Fix a derivative of bug 7. - The buffer could be refilled while reading the chunk header. Also, this simplifies the algorithm. -

DO NOT REPLY [Bug 11632] New: - java.net.BindException: The socket name is already in use.

2002-08-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11632. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 11307] - Deadlock in ClassLoader

2002-08-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11307. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

Re: [4.1.9] New test milestone released

2002-08-12 Thread Glenn Nielsen
Because I need features in Tomcat 4.1.x I have been putting each new version into production. There are 2 instances running 4.1.9 with Jasper 2, and one instance running 4.1.8 with Jasper 1. This last instance gets heavy use, 2-3 million tomcat JSP/Servlet requests per month. With spikes 4

Re: [4.1.9] New test milestone released

2002-08-12 Thread Kin-Man Chung
There is also this feature/bug in jasper2 regarding the scope of scripting variables that costin had objected to. The clarifications from JSP spec lead inidcates that costin was right. We should have a fix this week and that should go into 4.1.10. - Kin-man Date: Sat, 10 Aug 2002 09:54:02

Servlet Compilation Takes Way Too Long

2002-08-12 Thread micael
Whenever I change a jsp page, it takes forever for the program to compile. (Forever = five to fifteen minutes.) During that time my site is essentially shut down. I am current running aTomcat 4.0 with Struts 1.2. I have an application set for www.myapp.com with the following code in

Re: [4.1.9] New test milestone released

2002-08-12 Thread costinm
On Mon, 12 Aug 2002, Glenn Nielsen wrote: JASPER 2 JSP Page Comiles - I would also like to see Jasper 2 changed so that JSP page compiles occur externally outside of the Tomcat4 JVM process. There are two reasons for this: What's wrong with that ? It works just

Re: [5.0] Build notes

2002-08-12 Thread costinm
On Mon, 12 Aug 2002, Jean-francois Arcand wrote: I think that the dependency on Xerces 2.0.1 is excessively restrictive as well. IIRC (maybe Jean-François could provide some of the details he found?), Xerces 2.0.1 was the only Xerces parser that we have found so far that does not

cvs commit: jakarta-servletapi-5/src/share/javax/servlet/jsp JspContext.java

2002-08-12 Thread kinman
kinman 2002/08/12 10:53:19 Modified:src/share/javax/servlet/jsp JspContext.java Log: - Remove peekPageScope, popPageScope, and pushPageScope: spec api change. Revision ChangesPath 1.4 +0 -46 jakarta-servletapi-5/src/share/javax/servlet/jsp/JspContext.java

cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime JspFragmentHelper.java PageContextImpl.java

2002-08-12 Thread kinman
kinman 2002/08/12 10:55:45 Modified:jasper2/src/share/org/apache/jasper/compiler Generator.java jasper2/src/share/org/apache/jasper/runtime JspFragmentHelper.java PageContextImpl.java Log: - Mods with spec api changes. - Fix problems when

Re: [5] [PATCH] HttpSession.logout()

2002-08-12 Thread Bob Herrmann
This patch causes logout() and invalidate() to do the Servlet spec 2.4 right thing. I implemented it using the Data field of SessionEvent to distinguish between logout/invalidate. Can someone apply this? THANKS. Cheers, -bob On Sat, 2002-08-10 at 23:02, Bob Herrmann wrote: The servlet 2.4

cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/session StandardSession.java

2002-08-12 Thread patrickl
patrickl2002/08/12 12:12:44 Modified:catalina/src/share/org/apache/catalina/authenticator SingleSignOn.java catalina/src/share/org/apache/catalina/session StandardSession.java Log: This patch causes logout() and

[5][PATCH] BUILDING.txt and build.properties.default refer to old JTA version

2002-08-12 Thread Steve Downey
BUILDING.txt and the default build properties refer to an older version of the Java Transaction API. The current version is 1.0.1a, where the old version was 1.0.1. The are semantically the same, just documentation changes. The current version of the jta jar file is named jta.jar, rather than

Re: [5][PATCH] BUILDING.txt and build.properties.default refer to old JTA version

2002-08-12 Thread Steve Downey
With patch actually attached ... On Monday 12 August 2002 03:22 pm, you wrote: BUILDING.txt and the default build properties refer to an older version of the Java Transaction API. The current version is 1.0.1a, where the old version was 1.0.1. The are semantically the same, just documentation

Re: [5][PATCH] BUILDING.txt and build.properties.default refer to old JTA version

2002-08-12 Thread Steve Downey
On Monday 12 August 2002 03:22 pm, you wrote: SNIP After this patch, the build is slightly broken if Tyrex isn't available. It appears that compilation of org/apache/naming/factory/TyrexFactory.java and TyrexResourceFactory are conditioned only on JTA. Patch to follow. Patch is NOT to have

Re: Question about Session in Tomcat 3.3 -- continued...

2002-08-12 Thread Bill Barker
Yes, it seems to be true that sessions are lost on reloading with fullReload=true. I don't think that the case of fullReload=false has been tested much, so it is possible that there could be some strange bugs like in 3.2.x. It looks like the best way to fix this (for the default fullReload=true

DO NOT REPLY [Bug 11117] - Coyote connector does not correctly deal with large PUT when using chunked transfer encoding

2002-08-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

[VOTE] new commiters on tomcat-dev (fwd)

2002-08-12 Thread costinm
Hi, Please create the accounts for: Ian Darwin [EMAIL PROTECTED] Bob Herrman [EMAIL PROTECTED] We voted them as commiters on tomcat-dev, with no -1 and plenty of +1s. Costin -- Forwarded message -- Date: Wed, 7 Aug 2002 13:36:06 -0700 (PDT) From: [EMAIL PROTECTED] Reply-To:

Re: Servlet Compilation Takes Way Too Long

2002-08-12 Thread Glenn Nielsen
Tomcat 4.1.x uses Jasper 2. Jasper 2 can do JSP compilations in the background. If a JSP page had already been compiled it's class is used to serve pages until the new JSP has finished compilation. Result, no requests are delayed due to recompilation of a JSP page. It can also detect changs in

DO NOT REPLY [Bug 5507] - Swapping sessions causes exceptions and it doesn't work with FileStore

2002-08-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5507. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 8459] - Tomcat Crash or stuck without DISPLAY

2002-08-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8459. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

Re: [4.1.9] New test milestone released

2002-08-12 Thread Glenn Nielsen
[EMAIL PROTECTED] wrote: On Mon, 12 Aug 2002, Glenn Nielsen wrote: JASPER 2 JSP Page Comiles - I would also like to see Jasper 2 changed so that JSP page compiles occur externally outside of the Tomcat4 JVM process. There are two reasons for this: What's wrong

DO NOT REPLY [Bug 7332] - Error unable to create jar cache in /tmp directory is found numerous times in catalina.out

2002-08-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7332. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 10407] - Tomcat Memory Management

2002-08-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10407. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 10608] - startup dumps core when using CATALINA_BASE

2002-08-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10608. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler Compiler.java SmapUtil.java

2002-08-12 Thread kinman
kinman 2002/08/12 14:58:48 Modified:jasper2/src/share/org/apache/jasper/compiler Compiler.java SmapUtil.java Log: - Turn on jsr045 support with bug fixes. Patch by Shawn Bayern [EMAIL PROTECTED] Revision ChangesPath 1.26 +5 -5

Re: [5.0] Build notes

2002-08-12 Thread Steve Downey
The only snag is that 'ant download' doesn't download optional components. And some of them are optional the same way that brakes on a go-cart are optional. It'll work, just not quite the way you expect it to. More importantly, any developer building Tomcat needs to build a full version,

cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler JspUtil.java

2002-08-12 Thread kinman
kinman 2002/08/12 15:41:04 Modified:jasper2/src/share/org/apache/jasper/compiler JspUtil.java Log: - Fix EL for primitive types in tag attributes bug. Patch by Shawn Bayern [EMAIL PROTECTED] Revision ChangesPath 1.10 +58 -6

cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime JspContextWrapper.java

2002-08-12 Thread kinman
kinman 2002/08/12 15:55:39 Added: jasper2/src/share/org/apache/jasper/runtime JspContextWrapper.java Log: - Forgot to add this one. Revision ChangesPath 1.1

[PATCH] jakarta-servletapi-5

2002-08-12 Thread Yutaka Yoshida
The attached patch contains the latest fix of servlet 2.4 deployment descriptor, web-app_2_4.xsd. + change xsd:string to j2ee:string + element locale-encoding-mapping-list moved up before the element deployment-extension Thank you, Yutaka Yoshida Java/XML Software Group Sun Microsystems

Re: [PATCH] improve internationalization for admin tool

2002-08-12 Thread Amy Roh
Hi Takashi, Takashi Okamoto wrote: Hi tomcat, (especially amy) This is the second patch to internationalize the admin tools. First patch was commited by amy. New patch will improve at following point: + store file with utf-8 encoding and add encoding='utf-8' at xml header.

cvs commit: jakarta-servletapi-5/src/share/dtd web-app_2_4.xsd

2002-08-12 Thread patrickl
patrickl2002/08/12 17:01:16 Modified:src/share/dtd web-app_2_4.xsd Log: The attached patch contains the latest fix of servlet 2.4 deployment descriptor, web-app_2_4.xsd. + change xsd:string to j2ee:string + element locale-encoding-mapping-list moved up before the element

Re: [5.0] Build notes

2002-08-12 Thread Jayson Falkner
Sort of a mini-gump. No sense in over-doing what the build file is supposed to do. The idea is cool, but, gump exists for a reason :) I suspect a change like this would make things slightly more complex, confusing, and in general take way to much time to implement - not to mention open up

DO NOT REPLY [Bug 11645] New: - RequestStream and HttpRequestStream throw an IOException when calling close on an already closed stream

2002-08-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11645. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 10407] - Tomcat Memory Management

2002-08-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10407. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

RE: [PATCH] improve internationalization for admin tool

2002-08-12 Thread Kan Ogawa
Hi, Amy. Takashi Okamoto wrote: Hi tomcat, (especially amy) This is the second patch to internationalize the admin tools. First patch was commited by amy. New patch will improve at following point: + store file with utf-8 encoding and add encoding='utf-8' at xml

DO NOT REPLY [Bug 11646] New: - Jasper compilation problem: 'else' without 'if'

2002-08-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11646. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 11647] New: - Encoding of Response Headers Violates HTTP Spec.

2002-08-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11647. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

[PATCH][4.1.9] Jasper bug - script variables not synchronized

2002-08-12 Thread David Shanahan
OK I have got my build working. Wasn't as painful as it initially looked. This patch works for me (fixes the problems mentioned below). And at least I don't think it breaks anything (ahem, I think). With this problem out of the way Tomcat 4.1.9 works nicely for me. Be great to see a release

Re: DO NOT REPLY [Bug 11646] New: - Jasper compilation problem:'else' without 'if'

2002-08-12 Thread Jens Khnberger
I don't think this is an error in jasper but in your source code. If you do the if else the following way there shouldn't be any compilation error: % if (ua.indexOf(wildfire withtrail)=0) { % SCRIPT LANGUAGE=JavaScript1.2var is_Wildfire=true/SCRIPT % } else { % SCRIPT LANGUAGE=JavaScript1.2var

RE: pageEncoding for Shift_JIS doesn't work by using Apache Tomcat/4.1.8-LE-jdk14

2002-08-12 Thread David Shanahan
I found that if you don't specify the language attribute then encoding seems to be ignored. example: %@ page contentType="text/html; charset=Shift_JIS" pageEncoding="Shift_JIS" % Does NOT work (UFT8 is assumed) but... %@ page language="java" contentType="text/html; charset=Shift_JIS"