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

2001-02-20 Thread remm
remm01/02/20 22:03:44 Modified:catalina/src/share/org/apache/catalina/loader StandardLoader.java Log: - Don't copy libraries to the work directory if they exist in the filesystem. The test used here is that ServletContext.getRealPath(path) returns a n

Re: TC3.2.1 - response commit on included JSPs

2001-02-20 Thread Craig R. McClanahan
Mel Martinez wrote: > Without getting stuck on the details of either of the > above issues, the real issue is that as it stands > above, if you do a dynamic include of a JSP page then > the response object is committed upon the return of > the method. I don't believe that is correct behavior. >

TC3.2.1 - response commit on included JSPs

2001-02-20 Thread Mel Martinez
Hi folks, I've spotted what looks like a bug in the jasper compiler of TC3.2.1 - if this is old news, just let me know and I'll shut up. There are two parts to this: 1) the _jspService() method generated by the jasper compiler uses a try{ ... }catch{...}finally{...} block. The finally clause l

Re: TC3.3: Encoding

2001-02-20 Thread Kazuhiro Kazama
Costin From: Costin Manolache <[EMAIL PROTECTED]> Subject: Re: TC3.3: Encoding Date: Tue, 20 Feb 2001 11:23:00 -0800 (PST) Message-ID: <[EMAIL PROTECTED]> > What I'm saying is that instead of implementing any workaround I'll > just try to make sure we implement the standard ( ;charset= ) and > m

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

2001-02-20 Thread glenn
glenn 01/02/20 19:38:48 Modified:catalina/src/share/org/apache/catalina/startup Bootstrap.java Log: Cleaned up library/class locations Revision ChangesPath 1.12 +43 -7 jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/startup/B

cvs commit: jakarta-tomcat-4.0/catalina/src/bin catalina.sh

2001-02-20 Thread glenn
glenn 01/02/20 19:38:27 Modified:catalina/src/bin catalina.sh Log: Cleaned up library/class locations Revision ChangesPath 1.13 +2 -2 jakarta-tomcat-4.0/catalina/src/bin/catalina.sh Index: catalina.sh ===

cvs commit: jakarta-tomcat-4.0/catalina/docs/dev classloaders.html

2001-02-20 Thread glenn
glenn 01/02/20 19:38:07 Modified:catalina/docs/dev classloaders.html Log: Cleaned up library/class locations Revision ChangesPath 1.4 +13 -12jakarta-tomcat-4.0/catalina/docs/dev/classloaders.html Index: classloaders.html ===

cvs commit: jakarta-tomcat-4.0/catalina build.xml

2001-02-20 Thread glenn
glenn 01/02/20 19:37:45 Modified:catalina build.xml Log: Cleaned up library/class locations Revision ChangesPath 1.31 +30 -19jakarta-tomcat-4.0/catalina/build.xml Index: build.xml === RCS

cvs commit: jakarta-tomcat-4.0 build.xml

2001-02-20 Thread glenn
glenn 01/02/20 19:37:27 Modified:.build.xml Log: Cleaned up library/class locations Revision ChangesPath 1.19 +8 -2 jakarta-tomcat-4.0/build.xml Index: build.xml === RCS file: /h

cvs commit: jakarta-tomcat-4.0 README.txt

2001-02-20 Thread glenn
glenn 01/02/20 19:36:01 Modified:.README.txt Log: Added info on packages required for JNDI JDBC DataSource support Revision ChangesPath 1.11 +9 -0 jakarta-tomcat-4.0/README.txt Index: README.txt =

Re: Volunteer: Connectors?

2001-02-20 Thread Remy Maucherat
> Hi-- I work w/ Rational Software. We have been working with Tomcat for some > time for our web product, RequisiteWeb. I'd like to volunteer to help out in > the Tomcat Connectors department. I am a 1.5-year Java veteran w/ a CS > bachelor's degree, wanting to help produce free software. > > Let

Volunteer: Connectors?

2001-02-20 Thread Jones, Stephen
Hi-- I work w/ Rational Software. We have been working with Tomcat for some time for our web product, RequisiteWeb. I'd like to volunteer to help out in the Tomcat Connectors department. I am a 1.5-year Java veteran w/ a CS bachelor's degree, wanting to help produce free software. Let me know w

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

2001-02-20 Thread remm
remm01/02/20 13:38:45 Modified:catalina/src/share/org/apache/catalina/connector/http HttpRequestStream.java Log: - The old code returns the bytes in the range from -128 to 127, while java.io.InputStream must return 0 to 255. That would only ha

Re: Jasper question

2001-02-20 Thread Steve Weiland
Interesting . this works <% java.util.Calendar thisCal = java.util.Calendar.getInstance(); int day = thisCal.get(thisCal.DAY_OF_WEEK); switch (day) { case 1: %> Sunday <% break; case 2: %> Monday <% break; case 3: %> Tuesday <% break; defau

Re: Jasper question

2001-02-20 Thread Jon Stevens
on 2/20/01 12:35 PM, "Calin Duma" <[EMAIL PROTECTED]> wrote: > Extraneous out.write("\r\n") are generated and produce "Unreachable > statement" errors during the JSP compilation. I am using JBuilder 4.0 > on Windows NT as my IDE (editor). > > It works if I take the out of the above page. Am I

Jasper question

2001-02-20 Thread Calin Duma
Hello Tomcaters, I am trying to embed a java code fragment in a jsp scriptlet. Whenever I'm using the switch / case statements I get Jasper compilation errors: SampleBad.jsp - <% // A calendar object is created to get an integer value // of the current day of the week ja

Tomcat file locations on Unix

2001-02-20 Thread Guillaume Rousse
Hello. After discussing a bit the subject with Henry Gomez, he thought it was best to bring the discussion here. His current rpm uses /var/tomcat as a base directory, after propositions coming from this list. However, actual FHS spec says : "Applications should generally not add directories to the

[PATCH] non us-ascii characters in the stream

2001-02-20 Thread Jacek Kopecky
Hello. 8-) I'm not subscribed to this list, so please CC me. Here's a patch to allow catalina (both 4.0 and 4.1 in CVS) http requests to carry data with their 8th bit set. The old code returns the bytes in the range from -128 to 127, while java.io.InputStream must return 0 to 255. I didn't sea

Re: Some benchmarks

2001-02-20 Thread Costin Manolache
--- Alex Fernández <[EMAIL PROTECTED]> wrote: > I think the benchmarks are very interesting. Unfortunately, the > results from HelloWorld don't seem too revealing. Depends what you want to measure - HelloWorld shows one number, the container overhead. For any servlet that does something more you

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

2001-02-20 Thread Jason Brittain
Pier P. Fumagalli wrote: > Remy Maucherat <[EMAIL PROTECTED]> wrote: > >> Quoting Jason Brittain <[EMAIL PROTECTED]>: >> >>> Please let me know when you're ready to discuss my TomcatBlock >>> patches.. No hurry on my part, I just want to keep the idea warm. :) >>> >>> Feel free to see it in

Re: Tomcat 4 server.xml Lifecycle Listener config

2001-02-20 Thread Glenn Nielsen
"Craig R. McClanahan" wrote: > > Glenn Nielsen wrote: > > > >From looking at the source it appears that a Context Lifecycle Listener > > can only be configured for a web app Context explicitely in server.xml. > > This doesn't work well when a context is automatically deployed without > > being c

Re: TC3.3: Encoding

2001-02-20 Thread Costin Manolache
> Perhaps there are two i18n improvements in Servlet 2.3 and JSP 1.2: > > 1, javax.servlet.ServletRequest#setCharacterEncoding() > 2, pageEncoding attribute of Page directive > > Alternative workarounds in these two points makes non-ASCII users > happy. What I'm saying is that instead of imple

Re: Clarification on Catalina TODO item: CGI emulation servlet

2001-02-20 Thread Craig R. McClanahan
Arieh Markel wrote: > > Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm > > list-help: > > list-unsubscribe: > > list-post: > > Delivered-To: mailing list [EMAIL PROTECTED] > > From: Martin T Dengler <[EMAIL PR

Re: Clarification on Catalina TODO item: CGI emulation servlet

2001-02-20 Thread Arieh Markel
> Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm > list-help: > list-unsubscribe: > list-post: > Delivered-To: mailing list [EMAIL PROTECTED] > From: Martin T Dengler <[EMAIL PROTECTED]> > User-Agent: Mozilla/

Re: Tomcat 4 server.xml Lifecycle Listener config

2001-02-20 Thread Craig R. McClanahan
Glenn Nielsen wrote: > >From looking at the source it appears that a Context Lifecycle Listener > can only be configured for a web app Context explicitely in server.xml. > This doesn't work well when a context is automatically deployed without > being configured in server.xml. Would it be possib

Re: Some benchmarks

2001-02-20 Thread Matthew Dornquast
> Suggestions for improving the tests are welcome. Ah! I think I have the solution to the poor showing for the Sun SDK 1.3 I ran into this same doing my own tests with Synchronization & object creation/GC on Linux, Solaris using Sun + IBM JDKs. Sun decided to ship their SDK with the JIT defaul

RE: Separate Classloaders in TC3.2.1

2001-02-20 Thread Larry Isaacs
Hi Gudmundar, The class loading scheme that separates the class loader used by web applications from the class loader used by the server is not a feature in Tomcat 3.2.1 It is a new feature in Tomcat 3.3 Milestone 1 and an old feature in Tomcat 4.x. AFAIK, you can not add different XML parsers t

Separate Classloaders in TC3.2.1

2001-02-20 Thread Gudmundur Hafsteinsson
I remember someone (Costin?) talking recently about the possibility to start Tomcat 3.2.1 with a separate classloader for the servlet engine and each webapp, eliminating the possibility of version collision of class files between the webapp and the servlet engine (e.g. SAX and DOM classes).

Re: Some benchmarks

2001-02-20 Thread Rolf Veen
Hola, Alex. Alex Fernández wrote: > Why don't you run those same tests with other example pages included in the > distribution. (At least the ones included in *some* distribution, probably > they're different across releases.) They should be more complex, and exploit > most features of servlets.

Re: Some benchmarks

2001-02-20 Thread Alex Fernández
I think the benchmarks are very interesting. Unfortunately, the results from HelloWorld don't seem too revealing. Why don't you run those same tests with other example pages included in the distribution. (At least the ones included in *some* distribution, probably they're different across release

Re: TC3.3: Encoding

2001-02-20 Thread Kazuhiro Kazama
Costin From: [EMAIL PROTECTED] Subject: TC3.3: Encoding Date: Mon, 19 Feb 2001 10:38:57 -0800 (PST) Message-ID: <[EMAIL PROTECTED]> > What I have to do is fixing bugs and making sure the standard mechanism ( > charset in content type ) works. I will also try to make it possible to > implement spe

Tomcat 4 server.xml Lifecycle Listener config

2001-02-20 Thread Glenn Nielsen
>From looking at the source it appears that a Context Lifecycle Listener can only be configured for a web app Context explicitely in server.xml. This doesn't work well when a context is automatically deployed without being configured in server.xml. Would it be possible to add the ability to confi

Some benchmarks

2001-02-20 Thread Rolf Veen
Hi all. Here are the results of some measurements made with ab on Tomcat versions 3.2.1, 3.3.m1 and 4.0.b1 with different JDKs. System characteristics: - Pentium III, 450 MHz / 128 MB RAM. - Redhat Linux 6.2 - hdparm -T gives 170 MB/s Software versions: - 3.2.1 - 3.3 milestone 1 - 4.0 beta 1 -