Re: Patch: Mod_jk remove query string as factor in MATCH_TYPE_EXACT

2001-08-08 Thread jean-frederic clere
Steven Velez wrote: .-.| Steven Velez oo|| Software Engineer /`'\| alventive (\_;/) | 678-202-2226 querystring.patchName: querystring.patch Type: unspecified type (application/octet-stream) Hi, I am confused

FW: [Bug 3039] New: - Can't get the correct request parameterunder the none ISO-8859-1 platform

2001-08-08 Thread Pier P. Fumagalli
This got fed up in my bag... But I believe that this is more a HTTP /vs/ Servlet spec issue... Anyone wishes to comment? Pier -- Forwarded Message From: [EMAIL PROTECTED] Date: 8 Aug 2001 07:29:57 - To: [EMAIL PROTECTED] Subject: [Bug 3039] New: - Can't get the correct request

RE: partial URLPatternMatching in Tomcat 4.0 (Servlet 2.3 spec)? +++

2001-08-08 Thread Loïc Lefèvre
As no answer has been given, I repost my message... :) note: I would like to help you... and me... Loïc Lefèvre On Mon, 6 Aug 2001, Loïc Lefèvre wrote: Would/Must the RewriteValve do that? Well, you can certainly use Valves if you don't mind being tied to Tomcat 4. But, to implement a

Why some tags objects is'nt members of page object

2001-08-08 Thread Ngoc-Khoi To
Hi all, Any body why some tags objects create by jasper is'nt members of page object. Example : for /examples/jsp/simpletag/foo.jsp page jasper generate : session = pageContext.getSession(); out = pageContext.getOut(); // HTML // begin

Re: FW: [Bug 3039] New: - Can't get the correct request parameterunder the none ISO-8859-1 platform

2001-08-08 Thread jean-frederic clere
Pier P. Fumagalli wrote: This got fed up in my bag... But I believe that this is more a HTTP /vs/ Servlet spec issue... Anyone wishes to comment? That is HTTP. And that is the place where we parse the request. The encoding MUST NOT be the System.getProperty (file.encoding); because on

RE: [DOC] New Document Tree - Update

2001-08-08 Thread Rob S.
Responding to the check-in comments (re: introduction.xml) - There were several incomplete paragraphs at the bottom, so I took a few liberties at completing them. Yeah it was really late and I was leaving for south florida for several days. I actually planned on completing them, I was just

RE: Patch: Mod_jk remove query string as factor in MATCH_TYPE_EXACT

2001-08-08 Thread Steven Velez
Hrmm, I 'm not sure the test you ran covered the case I found. In my case, I have a map defined as such: JkMount /postlogin.jsp ACDS_ajp when I point my browser to: http://myserver/postlogin.jsp?foo=barbaz=bunt then the mapping is not found. I tried to correct that with the patch I have

Is anyone working on iPlanet integration?

2001-08-08 Thread Colin Wilson-Salt
I hope this is an appropriate place to ask this question - I've just joined this list because I've not been able to find the answer or a better place to ask it. Is anybody working on an iPlanet / NSAPI equivalent of the mod_webapp / warp connector stuff? If yes, it there an ETA for it? If no,

Re: Patch: Mod_jk remove query string as factor in MATCH_TYPE_EXACT

2001-08-08 Thread jean-frederic clere
Steven Velez wrote: Hrmm, I 'm not sure the test you ran covered the case I found. In my case, I have a map defined as such: JkMount /postlogin.jsp ACDS_ajp when I point my browser to: http://myserver/postlogin.jsp?foo=barbaz=bunt then the mapping is not found. I tried to

TC 3.3 = m3 Request.setRequestUri

2001-08-08 Thread Keith Wannamaker
When the String - MessageByte change was made to Request (rev 1.70), setRequestUri was tossed. We were using that in a custom inteceptor to do some simplistic URL rewriting. I can't tell from the logs or archives if it was replaced? Does anyone have a problem with me adding a messagebytes

Re: Is anyone working on iPlanet integration?

2001-08-08 Thread jean-frederic clere
Colin Wilson-Salt wrote: I hope this is an appropriate place to ask this question - I've just joined this list because I've not been able to find the answer or a better place to ask it. Is anybody working on an iPlanet / NSAPI equivalent of the mod_webapp / warp connector stuff? mod_jk.

RE: Patch: Mod_jk remove query string as factor in MATCH_TYPE_EXACT

2001-08-08 Thread Steven Velez
well, I was using Apache 1.3.19 for NT when I found the problem I believe and now I'm using 1.3.20. If it works without the patch, that's fine. I just couldn't get it to work for me and figured that the community would like the change. No biggie. .-.| Steven

JSP encoding problem solution proposal

2001-08-08 Thread Andrey Aristarkhov
Hi All! Different encodings support in Servlet/JSP is an ancient well-known problem. The setCharacterEncoding() method of HttpServletRequest allows to change request encoding before reading parameters. Thus, servlet is able to change encoding in accordance with its needs. (Small lyrical

[patch] small enhancement to JikesJavaCompiler

2001-08-08 Thread Kevin Seguin
the attached patch makes JikesJavaCompiler output error information in a format that can be parsed so that the information shows up in the browser. basically, the patch just adds +E to the jikes command line options so that errors are listed in emacs form. Index:

Re: Is anyone working on iPlanet integration?

2001-08-08 Thread Pier P. Fumagalli
jean-frederic clere at [EMAIL PROTECTED] wrote: Colin Wilson-Salt wrote: I hope this is an appropriate place to ask this question - I've just joined this list because I've not been able to find the answer or a better place to ask it. Is anybody working on an iPlanet / NSAPI equivalent

Re: TC 3.3 = m3 Request.setRequestUri

2001-08-08 Thread cmanolache
Hi Keith, After String-MessageByte, instead of storing the request info as String, with getFoo/setFoo methods, we use a MessageBytes - which is a modifiable object. The equivalent of getFoo is now to get the MessageBytes and call toString(), and the equivalent of setFoo is setString() on the

Re: Problem in JasperLoader ?

2001-08-08 Thread Serge Huber
I'd be willing to help with this issue, but from my point of view there are two possibilities : 1. We revert the JasperLoader changes back to parent.loadClass(name) call. 2. We modify Catalina to set the contextClassLoader during an include or a forward call. I still wonder which is the

Re: Is anyone working on iPlanet integration?

2001-08-08 Thread Pier P. Fumagalli
Colin Wilson-Salt at [EMAIL PROTECTED] wrote: I hope this is an appropriate place to ask this question - I've just joined this list because I've not been able to find the answer or a better place to ask it. Is anybody working on an iPlanet / NSAPI equivalent of the mod_webapp / warp

RE: Is anyone working on iPlanet integration?

2001-08-08 Thread Colin Wilson-Salt
What are the differences between mod_jk and mod_webapp? I've looked at the code for mod_webapp but not mod_jk, though I have read the documentation on configuring Apache / iPlanet to use Tomcat 3, which I believe is based on the mod_jk stuff. What are the differences between the protocols used

RE: TC 3.3 = m3 Request.setRequestUri

2001-08-08 Thread Keith Wannamaker
| -Original Message- | From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] | Sent: Wednesday, August 08, 2001 11:16 AM | To: [EMAIL PROTECTED] | Subject: Re: TC 3.3 = m3 Request.setRequestUri | | | Hi Keith, | | After String-MessageByte, instead of storing the request | info as String,

Re: Is anyone working on iPlanet integration?

2001-08-08 Thread jean-frederic clere
Pier P. Fumagalli wrote: jean-frederic clere at [EMAIL PROTECTED] wrote: Colin Wilson-Salt wrote: I hope this is an appropriate place to ask this question - I've just joined this list because I've not been able to find the answer or a better place to ask it. Is anybody working

Re: Is anyone working on iPlanet integration?

2001-08-08 Thread jean-frederic clere
Colin Wilson-Salt wrote: What are the differences between mod_jk and mod_webapp? I've looked at the code for mod_webapp but not mod_jk, though I have read the documentation on configuring Apache / iPlanet to use Tomcat 3, which I believe is based on the mod_jk stuff. Yes, mod_webapp is

Re: Problem in JasperLoader ?

2001-08-08 Thread Remy Maucherat
I'd be willing to help with this issue, but from my point of view there are two possibilities : 1. We revert the JasperLoader changes back to parent.loadClass(name) call. 2. We modify Catalina to set the contextClassLoader during an include or a forward call. I still wonder which is the

Re: Patch: Mod_jk remove query string as factor in MATCH_TYPE_EXACT

2001-08-08 Thread jean-frederic clere
Steven Velez wrote: well, I was using Apache 1.3.19 for NT when I found the problem I believe and now I'm using 1.3.20. If it works without the patch, that's fine. It does it for me. If someone else complains I will commit the patch anyway. I just couldn't get it to work for me and

RE: Is anyone working on iPlanet integration?

2001-08-08 Thread Thom Park
hi, From my point of view, mod_webapp is much cleaner and easier to extend. I was able to implement an IIOP based provider for mod_webapp in a few weeks whilst I'm not even sure I could understand mod_jk in that time ;-). In defense of mod_jk though, it has a lot of really nice goodies like

Re: Problem in JasperLoader ?

2001-08-08 Thread Serge Huber
Ok thanks a lot. Yes I did miss the commit message (I have them filtered to another folder) ! Thanks a lot for the quick fix ! Best greetings, Serge Huber... At 09:25 08.08.2001 -0700, you wrote: 2 is the only correct one, since if you forward to a servlet, it wouldn't work

Re: Is anyone working on iPlanet integration?

2001-08-08 Thread Pier P. Fumagalli
Colin Wilson-Salt at [EMAIL PROTECTED] wrote: What are the differences between mod_jk and mod_webapp? They do the same stuff, but they are completely different... And the WebApp module is targeted towards Tomcat 4.x integration. I've looked at the code for mod_webapp but not mod_jk, though

Re: JSP encoding problem solution proposal

2001-08-08 Thread Craig R. McClanahan
Andrey has done a good job of describing the problem with calling request.setCharacterEncoding() in JSP pages. As an alternative to adding a parameter to the JSP servlet (which would not be portable to other containers), I'd like to offer a standards-based approach to this. The basic approach

RE: TC 3.3 = m3 Request.setRequestUri

2001-08-08 Thread cmanolache
On Wed, 8 Aug 2001, Keith Wannamaker wrote: Hi Costin, Oh, no, not at all, I understand now. However, what do you think about keeping the old String methods for compatibility with 3.2 interceptors? Something like: :-) All I can think at this moment is how stupid I was when I did the

Re: Is anyone working on iPlanet integration?

2001-08-08 Thread Pier P. Fumagalli
Thom Park at [EMAIL PROTECTED] wrote: Nice if you absolutely must use manage both tomcat apache. mod_jk has the ability to allow apache to serve the static content and have tomcat serve the dynamic (servlet jsp) content. - it uses a pattern matching trick to determine which request

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/core Request.java

2001-08-08 Thread keith
keith 01/08/08 10:19:16 Modified:src/share/org/apache/tomcat/core Request.java Log: Maintain compatibility with TC 3.2 modules. Revision ChangesPath 1.107 +21 -1 jakarta-tomcat/src/share/org/apache/tomcat/core/Request.java Index: Request.java

TC 3.3 Default conatiner

2001-08-08 Thread Keith Wannamaker
Somethings not quite right in SimpleMapper with respect to default containers. If I set up a default conainer, the note on the global container is set OK. But the way it works now is that PrefixMapper returns a null container for a URL that is not mapped, which ends the request. What I can't

RE: Is anyone working on iPlanet integration?

2001-08-08 Thread cmanolache
On Wed, 8 Aug 2001, Thom Park wrote: In defense of mod_jk though, it has a lot of really nice goodies like load-balancing built in to it. Well, most of the complexity comes from the fact that it abstracts the interface with the server - it was designed from the beginning with the idea that it

Re: Is anyone working on iPlanet integration?

2001-08-08 Thread Pier P. Fumagalli
[EMAIL PROTECTED] at [EMAIL PROTECTED] wrote: Well, most of the complexity comes from the fact that it abstracts the interface with the server - it was designed from the beginning with the idea that it should support multiple servers. Right now the list is: Apache1.3, Apache2.0, IIS, NES,

[PROPOSAL] Server Module Repository

2001-08-08 Thread Christopher Cain
I'm awaiting final word from Costin on the specific design of my prompter 3.3 Interceptor (I know it's a rather long e-mail and will require some thought, so I'm not complaining, just stating the status of things). I have already begun creating the 4.0 listener as well. In order to try and time

Re: Is anyone working on iPlanet integration?

2001-08-08 Thread cmanolache
On Wed, 8 Aug 2001, Pier P. Fumagalli wrote: [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote: Well, most of the complexity comes from the fact that it abstracts the interface with the server - it was designed from the beginning with the idea that it should support multiple servers.

Re: Is anyone working on iPlanet integration?

2001-08-08 Thread Craig R. McClanahan
On Wed, 8 Aug 2001 [EMAIL PROTECTED] wrote: I never said it's a piece of crap - I am not happy with (what seems to be) the design, I am very unhappy with the development model, and of course I'm unhappy with reinventing the wheel and throwing away what is the result of a lot of work from

Re: Addition of 'dirty' field to Session interface

2001-08-08 Thread Kief Morris
Jim Seach typed the following on 04:29 PM 8/7/2001 -0700 Selected setXXX methods in StandardSession will set the dirty bit to true indicating that Session data has changed and it needs to be saved in the next save cycle by PersistentManager. But what happens if in one servlet you put an

Re: Is anyone working on iPlanet integration?

2001-08-08 Thread Pier P. Fumagalli
[EMAIL PROTECTED] at [EMAIL PROTECTED] wrote: I don't know anything about how mod_webapp was thought - I don't remember any design discussion, requirements, or anything like that. Well, look at the archives, because in the early stages of development, I tried to keep you guys involved,

Re: Addition of 'dirty' field to Session interface

2001-08-08 Thread Craig R. McClanahan
On Wed, 8 Aug 2001, Kief Morris wrote: Jim Seach typed the following on 04:29 PM 8/7/2001 -0700 Selected setXXX methods in StandardSession will set the dirty bit to true indicating that Session data has changed and it needs to be saved in the next save cycle by PersistentManager.

RE: Addition of 'dirty' field to Session interface

2001-08-08 Thread Tomas Rokicki
Best to do this by layering your own abstraction on top of Sessions. That's what we do [although we don't use it to solve this particular problem]. -tom -Original Message- From: Kief Morris [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 08, 2001 12:36 PM To: [EMAIL PROTECTED]

Re: Is anyone working on iPlanet integration?

2001-08-08 Thread Pier P. Fumagalli
Craig R. McClanahan at [EMAIL PROTECTED] wrote: On Wed, 8 Aug 2001 [EMAIL PROTECTED] wrote: I never said it's a piece of crap - I am not happy with (what seems to be) the design, I am very unhappy with the development model, and of course I'm unhappy with reinventing the wheel and

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

2001-08-08 Thread remm
remm01/08/08 13:02:17 Modified:catalina/src/share/org/apache/catalina/connector/http SocketInputStream.java Log: - A HT (tab) is also considered a leading white space. It was a bit hidden in the HTTP spec, so I had missed it. Revision Changes

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

2001-08-08 Thread Pier P. Fumagalli
[EMAIL PROTECTED] at [EMAIL PROTECTED] wrote: Log: - A HT (tab) is also considered a leading white space. It was a bit hidden in the HTTP spec, so I had missed it. Told you it was something regarding tabs/spaces on the second line of the header :) :) :) Great job for hunting that down :)

Multiple requests get generated for a single request

2001-08-08 Thread shankar krishnamurthy
Hi all I have a servlet generating a PDF document of approx 1. MB size streaming its content into the browser of the client. The single request I make to the servlet spawns 2 more requests to the web-server/servlet. Can I configure and make it only one request for this document. Any ideas

Re: Is anyone working on iPlanet integration?

2001-08-08 Thread cmanolache
On Wed, 8 Aug 2001, Craig R. McClanahan wrote: I never said it's a piece of crap - I am not happy with (what seems to be) the design, I am very unhappy with the development model, and of course I'm unhappy with reinventing the wheel and throwing away what is the result of a lot of work

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

2001-08-08 Thread Pier P. Fumagalli
[EMAIL PROTECTED] at [EMAIL PROTECTED] wrote: Log: Fixed problem of HTTP/1.1 container returning the same version of the HTTP protocol used in the request. As Justyn Erkerantz said, Section 3.1 Correction: Justin Erenkrantz :) (Damn,

Re: Is anyone working on iPlanet integration?

2001-08-08 Thread cmanolache
On Wed, 8 Aug 2001, Pier P. Fumagalli wrote: The key point is the timing -- the bulk of the efforts that are theoretically being thrown away came mostly *after* work on mod_webapp was started, not *before*. :) Where's Shacor (or whatever his name is?) Gal Shachor. And other names who

RE: [tomcat 4] using jikes to compile jsp's

2001-08-08 Thread Kevin Seguin
so, i have two fixes to the problem mentioned below, and i wanted to run them by somebody... both fixes involve normalizing the paths that make up the classpath by essentially passing them through File objects. the big difference is where this normalization takes place. one place to do it is

cvs commit: jakarta-tomcat-connectors/webapp/java Constants.java.in

2001-08-08 Thread pier
pier01/08/08 14:02:53 Modified:webapp/java Constants.java.in Log: Added packet types for context-sharing and complete automatic reconfiguration over the WARP protocol. Revision ChangesPath 1.8 +73 -3

cvs commit: jakarta-tomcat-connectors/webapp/lib pr_warp.h

2001-08-08 Thread pier
pier01/08/08 14:04:18 Modified:webapp/lib pr_warp.h Log: Keep WARP versioning in line. Revision ChangesPath 1.8 +2 -2 jakarta-tomcat-connectors/webapp/lib/pr_warp.h Index: pr_warp.h

Re: [PROPOSAL] Deprecation of committers...

2001-08-08 Thread cmanolache
Can you send a list with the commiters that will become deprecated ? Does this include 3.x commiters as well ? ( from the proposal it seems you are talking about 4.0 commiters ). Costin On Wed, 8 Aug 2001, Pier P. Fumagalli wrote: I recently checked the list of committers for Tomcat 4.0

how to reload a getResourceAsStream() object

2001-08-08 Thread Thom Park
hello, I have a requirement where i need to make multiple passes over a resource stream obtained via ServletContext.getResourceAsStream(). My problem is that as follows: InputStream is = sc.getResourceAsStream(/my_resource_name); do 1st processing pass

Re: [PROPOSAL] Deprecation of committers...

2001-08-08 Thread Pier P. Fumagalli
[EMAIL PROTECTED] at [EMAIL PROTECTED] wrote: Can you send a list with the commiters that will become deprecated ? Does this include 3.x commiters as well ? ( from the proposal it seems you are talking about 4.0 commiters ). I'm talking about ANY committer who hasn't been active for the

Re: how to reload a getResourceAsStream() object

2001-08-08 Thread Pier P. Fumagalli
Thom Park at [EMAIL PROTECTED] wrote: hello, I have a requirement where i need to make multiple passes over a resource stream obtained via ServletContext.getResourceAsStream(). My problem is that as follows: InputStream is = sc.getResourceAsStream(/my_resource_name); do 1st

RE: [DOC] New Document Tree - Update

2001-08-08 Thread Rob S.
To get around this, I modified the pages in tomcat-docs to insert the project.xml file directly in each page: I have a feeling I'm making some kind of boneheaded mistake here, but when I check out the new stuff and run it, I get: \tomcat-docs\build.xml:101:

cvs commit: jakarta-tomcat-4.0/service/native signals.c Makefile.in jsvc-unix.c

2001-08-08 Thread jfclere
jfclere 01/08/08 15:46:33 Modified:service/native Makefile.in jsvc-unix.c Added: service/native signals.c Log: Add signals.c to allow jsvc.exe to be run and stopped via a service wrapper on windows NT machines. Revision ChangesPath 1.2 +3 -2

Re: how to reload a getResourceAsStream() object

2001-08-08 Thread Remy Maucherat
Quoting Thom Park [EMAIL PROTECTED]: hello, I have a requirement where i need to make multiple passes over a resource stream obtained via ServletContext.getResourceAsStream(). My problem is that as follows: InputStream is = sc.getResourceAsStream(/my_resource_name);

cvs commit: jakarta-tomcat-connectors/webapp/java Constants.java.in

2001-08-08 Thread pier
pier01/08/08 16:11:29 Modified:webapp/java Constants.java.in Log: Documentation of all WARP packets and respective payloads. (Had to do it once for all! :) Revision ChangesPath 1.9 +124 -3jakarta-tomcat-connectors/webapp/java/Constants.java.in

RE: how to reload a getResourceAsStream() object

2001-08-08 Thread Thom Park
Hmm... so what about this line of code in StandardClassLoader: public InputStream getResourceAsStream(String name) { if (debug = 2) log(getResourceAsStream( + name + )); InputStream stream = null; // (0) Check for a cached copy of this resource

RE: [DOC] New Document Tree - Update

2001-08-08 Thread Craig R. McClanahan
On Wed, 8 Aug 2001, Rob S. wrote: To get around this, I modified the pages in tomcat-docs to insert the project.xml file directly in each page: I have a feeling I'm making some kind of boneheaded mistake here, but when I check out the new stuff and run it, I get:

Re: Problem with mod_jk 1.2.0 (latest CVS snapshot)

2001-08-08 Thread Bojan Smojver
jean-frederic clere wrote: Bojan Smojver wrote: Bojan Smojver wrote: Unfortunately, the problem is still there... Let me run gdb on the thing again and then I'll send you the backtrace. Bojan Slighty different problem this time, but along the lines of the previous one:

RE: how to reload a getResourceAsStream() object

2001-08-08 Thread Remy Maucherat
Quoting Thom Park [EMAIL PROTECTED]: Hmm... so what about this line of code in StandardClassLoader: public InputStream getResourceAsStream(String name) { if (debug = 2) log(getResourceAsStream( + name + )); InputStream stream = null; // (0)

cvs commit: jakarta-tomcat-connectors/webapp/java Constants.java.in WarpConfigurationHandler.java

2001-08-08 Thread pier
pier01/08/08 18:18:49 Modified:webapp/java Constants.java.in WarpConfigurationHandler.java Log: Java implementation of context sharing between Tomcat and Apache. Revision ChangesPath 1.10 +1 -1 jakarta-tomcat-connectors/webapp/java/Constants.java.in

RE: [DOC] New Document Tree - Update

2001-08-08 Thread Rob S.
I have the following (and it works): * No CLASSPATH at all Check * $ANT_HOME/bin on my PATH (for Ant 1.3) Check * In $ANT_HOME/lib, added the appropriate optional.jar file Check (the one that's in the 1.3 dist dir) * In $ANT_HOME/lib, replaced the JAXP/1.0 parser (jaxp.jar and

Re: [PROPOSAL] Deprecation of committers...

2001-08-08 Thread Pier P. Fumagalli
Kanan Khokhani at [EMAIL PROTECTED] wrote: Hi, I am a meber of the list but not a commiter. I have never posted any messages so far, but i regularly(almost everyday)check messages from this list. Do you plan to deprecate members like me too?? Go and read this one

Re: [PROPOSAL] Deprecation of committers...

2001-08-08 Thread Christopher Cain
Kanan: You'll have to forgive Pier, he's a little grumpy this week (not that we don't love him anyway) =) What is being discussed is whether or not to remove inactive developers from the server where the source code resides. It doesn't affect the mailing lists in any way; they just need to