RE: Decoding problems.

2001-06-18 Thread cmanolache
I found the problem, I'm working on a fix. It happens only when you send the high bytes ( well, the URL is supposed to have only ASCII ), and the query decoding defaults right now to UTF8. The simple fix is to change the default to 8859_1, as required by spec, but the right fix is to pass the de

cvs commit: jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/compiler BeanRepository.java

2001-06-18 Thread remm
remm01/06/18 21:17:43 Modified:jasper/src/share/org/apache/jasper/compiler BeanRepository.java Log: - Make Jasper dynamically retrieve the classloader instead of sticking with the same classloader, which was breaking reloading (since Jasper was using

cvs commit: jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper JspEngineContext.java

2001-06-18 Thread remm
remm01/06/18 21:17:27 Modified:jasper/src/share/org/apache/jasper JspEngineContext.java Log: - Make Jasper dynamically retrieve the classloader instead of sticking with the same classloader, which was breaking reloading (since Jasper was using the old classloader, it was

[t4] [patch] for "inconvenient" -config current dir

2001-06-18 Thread Geoff Soutter
Hi there, As I've been twiddling with T4 again recently this problem has resurfaced. In T3, I was able to specify the -config option relative to my current directory. T4 has changed this so that a relative path used with -config is resolved relative to CATALINA_HOME. I find this annoying because

cvs commit: jakarta-tomcat-connectors/jk/java/org/apache/ajp Ajp13Packet.java

2001-06-18 Thread seguin
seguin 01/06/18 20:15:34 Modified:jk/java/org/apache/ajp Ajp13Packet.java Log: psuedo-fix for bug 1528. it would be better if when buffer overflow is detected, and exception is thrown, rather than printing a message and letting an error be thrown. Revision ChangesP

Patch for bug 1528

2001-06-18 Thread Marc Saegesser
Larry, I fixed bug 1528 in tomcat_32 and I think a similar problems exists in 3.3 in the class org.apache.tomcat.modules.server.Ajp13. A diff is attached. I don't have a buildable 3.3 project now so I can't test it. Ajp13.diff

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/service/connector MsgBuffer.java

2001-06-18 Thread marcsaeg
marcsaeg01/06/18 19:42:23 Modified:src/share/org/apache/tomcat/service/connector Tag: tomcat_32 MsgBuffer.java Log: Fix buffer bounds check. PR: 1528 Submitted by: [EMAIL PROTECTED] Revision ChangesPath No revision

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

2001-06-18 Thread Remy Maucherat
> on 6/18/01 7:12 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > > - All the JARs in /WEB-INF/lib are extracted and copied to the work directory, > > even if the resources are filesystem based. Otherwise, it is not possible to > > actually manipulate the JARs which are in the webapp wh

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

2001-06-18 Thread Jon Stevens
on 6/18/01 7:12 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > - All the JARs in /WEB-INF/lib are extracted and copied to the work directory, > even if the resources are filesystem based. Otherwise, it is not possible to > actually manipulate the JARs which are in the webapp while they'

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

2001-06-18 Thread remm
remm01/06/18 19:20:32 Modified:catalina/src/share/org/apache/catalina/startup ContextConfig.java Log: - Stopping and starting any of the Catalina components is broken at the moment, because the component is not reinitialized. - This fixes the proble

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

2001-06-18 Thread remm
remm01/06/18 19:14:49 Modified:catalina/src/share/org/apache/catalina/core StandardContext.java Log: - Normalize the work directory path. - Use the new Webapp class loader instead of standard class loader. Note : This is a one line change. Revi

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

2001-06-18 Thread remm
remm01/06/18 19:12:50 Added: catalina/src/share/org/apache/catalina/loader WebappLoader.java Log: - New classloader implementation, used for web applications only. - Extends URLClassLoader (to preserve maximum compatibility). - Does not require dyna

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

2001-06-18 Thread amyroh
amyroh 01/06/18 18:06:24 Modified:catalina build.xml Log: Add to handle jdk1.3 dependency for CGI. Revision ChangesPath 1.45 +5 -3 jakarta-tomcat-4.0/catalina/build.xml Index: build.xml ===

cvs commit: jakarta-tomcat build.xml

2001-06-18 Thread mmanders
mmanders01/06/18 17:34:38 Modified:.build.xml Log: Updated conditionals for commons-dbcp. This will now build properly even if jakarta-commons isn't available. Revision ChangesPath 1.135 +29 -30jakarta-tomcat/build.xml Index: build.xml ==

Re: [repost] [T4] servlet including jsp causes jsp to flush buffer?

2001-06-18 Thread Geoff Soutter
Sorry, my fault. This was actually our code calling stream.flush() which ends up calling response.flushBuffer() (fairly reasonable, really :-). So, looks like the T4 code is beyond reproach, again. Geoff - Original Message - From: "Geoff Soutter" <[EMAIL PROTECTED]> To: <[EMAIL PROTEC

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

2001-06-18 Thread remm
remm01/06/18 16:28:40 Modified:catalina/src/share/org/apache/catalina/connector/http HttpProcessor.java Log: - Skip leftover bytes before closing the socket. Revision ChangesPath 1.28 +19 -4 jakarta-tomcat-4.0/catalina/src/share/org/

RE: Where is jni_connect for Tomcat 3.2.2?

2001-06-18 Thread Marc Saegesser
Its there now, but I have no way to test it at present. > -Original Message- > From: Engel Sanchez [mailto:[EMAIL PROTECTED]] > Sent: Monday, June 18, 2001 4:34 PM > To: [EMAIL PROTECTED] > Subject: Where is jni_connect for Tomcat 3.2.2? > > > I just installed tomcat in win2k running II

Re: [tomcat-dev] [J-T-C] What about ajp13 refactory in java ?

2001-06-18 Thread Aaron Bannert
On Mon, Jun 18, 2001 at 05:01:59PM +0200, GOMEZ Henri wrote: > I'd like to know what's the current status of ajp java on j-t-c. I've been lurking on this list for awhile and wading through all the code, and this one has been bothering me for awhile. Is there a way we could get a STATUS and README

Where is jni_connect for Tomcat 3.2.2?

2001-06-18 Thread Engel Sanchez
I just installed tomcat in win2k running IIS and got it working. I'm interested in trying it out as an in-process module, but even though the instructions mention getting jni_connect.dll from the distribution site, this file is not present for Tomcat 3.2.2 (it is there for 3.2.1). Is it no longer

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

2001-06-18 Thread remm
remm01/06/18 14:35:56 Modified:catalina/src/share/org/apache/catalina/connector/http HttpConnector.java Log: - Actually call setTcpNoDelay on the newly accepted socket. Revision ChangesPath 1.17 +5 -5 jakarta-tomcat-4.0/catalina/src

Serious problem with Tomcat JVM running out of memory

2001-06-18 Thread Tom Amiro
Hi, Yes I've tried that and it did not seem to help. I'm using the XSLTC processor from Sun that compiles XSL stylesheets into translets (java byte code). Tom Hi, have you tried to set java memory parameters in tomcat.sh at TOMCAT_OPTS (e.g. -Xmx256m -Xms128m). We are running a quite large app

RE: Decoding problems.

2001-06-18 Thread Angel Aray
Encoding of mail messages seems to also be a problem. :( The test data was supposed to have tildes, but outlook decided to remove them. here is the encoded version: test+%E1%E9%ED%F3 -Original Message- From: Angel Aray [mailto:[EMAIL PROTECTED]] Sent: Lunes, 18 de Junio de 2001 01:47 p

RE: Decoding problems.

2001-06-18 Thread Angel Aray
Here is a simple example: first a form: MSG: second a echo.jsp to process de data. <% String msg= request.getParameter("msg"); %> MSG: <%= msg %> test with: test aeiou this will only echo the word test. if you remove the meta tag form the html form the problem goes away.

Re: Status of BASIC authentication in Tomcat4.0-latest?

2001-06-18 Thread Craig R. McClanahan
You have not declared an inside your , which is essentially saying that "this security constraint does not require authentication". Craig McClanahan On 17 Jun 2001, David M. Karr wrote: > > "Craig" == Craig R McClanahan <[EMAIL PROTECTED]> writes: > > Craig> On 16 Jun 2001, David M. K

RE: Decoding problems.

2001-06-18 Thread Martin van den Bemt
org.apache.tomcat.util.buf.UDecode.java got lost somewhere along the way. It crashed my tomcat on some forms (no special things happening btw). So maby the problem is in there. Where it is, I don't have a clue.. Mvgr, Martin > -Original Message- > From: Angel Aray [mailto:[EMAIL PROTECTE

RE: Ways of Debugging tomcat itself..

2001-06-18 Thread Steve Downey
With netbeans, in particular, an important trick is to disable the inclusion of its embedded tomcat in the executor and debugger. With 3.2, I think that's the {library} keyword. It changed between 3.1 and 3.2, I believe. Otherwise you're debugging the IDE, not the instance of Tomcat you're buildi

Re: [J-T-C] What about ajp13 refactory in java ?

2001-06-18 Thread cmanolache
On Mon, 18 Jun 2001, kevin seguin wrote: > i think that soon, all of the core ajp java code should be refactored > into the org.apache.ajp package. that probably just means removing > Ajp13.java from org.apache.ajp.tomcat33. It would be better to just add a note that the package is deprecated a

Re: Decoding problems.

2001-06-18 Thread cmanolache
Can you send a URI that shows the problem ( including the special chars )? Are the chars encoded ( %something ) or not ? This is an important one, thanks for the report. Costin On Mon, 18 Jun 2001, Angel Aray wrote: > > I am having problems with tomcat handlings of special characters. > When

Re: [PROPOSAL] Update to Tomcat 3.3 release schedule

2001-06-18 Thread Mike Anderson
+1 >>> [EMAIL PROTECTED] 06/17/01 02:54PM >>> Hi, Continuing to adapt the Tomcat 3.3 schedule to available time and needs, I propose the following changes to the current RELEASE-PLAN-3.3: Add a Milestone 4: Code Freeze/Tag Date: June 20, 2001 Release Manager:Larry Isaacs

Decoding problems.

2001-06-18 Thread Angel Aray
I am having problems with tomcat handlings of special characters. Whenever some data is post/get that contains special characters (i.e. characters with accents, tildes, etc) the request parameter gets truncated up to the occurrence of the first special character. I would like to help and fix thi

Re: [J-T-C] What about ajp13 refactory in java ?

2001-06-18 Thread kevin seguin
the java side of the ajp stuff in jtc has been static for a while because i've been really busy and also i had been waiting to see what was in coyote and how it would affect tomcat 4. i think that soon, all of the core ajp java code should be refactored into the org.apache.ajp package. that prob

[J-T-C] What about ajp13 refactory in java ?

2001-06-18 Thread GOMEZ Henri
Hi to all, I'd like to know what's the current status of ajp java on j-t-c. 1) We have now two implementations of AJP13 protocol, in org.apache.ajp.tomcat33 and org.apache.ajp Also implementations came with its own code for core engine. (org.apache.ajp.tomcat33 / org.apache.ajp.tomcat

cvs commit: jakarta-tomcat-connectors/jk/native/nt_service jk_nt_service.c

2001-06-18 Thread hgomez
hgomez 01/06/18 07:46:32 Modified:jk/native/jni jk_jnicb.c jk/native/nt_service jk_nt_service.c Log: Updated Copyrigth Notice to Apache 1.1 Revision ChangesPath 1.2 +56 -54jakarta-tomcat-connectors/jk/native/jni/jk_jnicb.c Index: jk_jnicb.c

cvs commit: jakarta-tomcat-connectors/jk/native/domino config.h inifile.c inifile.h jk_dsapi_plugin.c

2001-06-18 Thread hgomez
hgomez 01/06/18 07:41:28 Modified:jk/native/domino config.h inifile.c inifile.h jk_dsapi_plugin.c Log: Update Copyrigth notice to Apache 1.1 Revision ChangesPath 1.4 +57 -55jakarta-tomcat-connectors/jk/native/domino/config.h Index:

Form based Security not working as expected

2001-06-18 Thread Kevin Jones
In the latest nightlies - I have a site setup where only part of the site is protected with a logon. If a user tries to logon and uses the wrong username or password I'd expect to see the error page, however the user sees the logon page again. If they then enter the correct logon they see the e

cvs commit: jakarta-tomcat-connectors/jk/native/netscape jk_nsapi_plugin.c

2001-06-18 Thread hgomez
hgomez 01/06/18 07:37:36 Modified:jk/native/apache-1.3 mod_jk.c jk/native/apache-2.0 mod_jk.c jk/native/iis jk_isapi_plugin.c jk/native/netscape jk_nsapi_plugin.c Log: Updated Copyrigth notice to Apache 1.1 Revision ChangesPath

RE: J-T-C huge commit without mail

2001-06-18 Thread GOMEZ Henri
It was that : To: [EMAIL PROTECTED] Subject: cvs commit: jakarta-tomcat-connectors/jk/native/common jk_ajp12_worker.c jk_ajp12_worker.h jk_ajp13.c jk_ajp13.h jk_ajp13_worker.c jk_ajp13_worker.h jk_ajp14.c jk_ajp14.h jk_ajp14_worker.c jk_ajp14_worker.h jk_ajp_common.c jk_ajp_common.h jk_connect.c

J-T-C huge commit without mail

2001-06-18 Thread GOMEZ Henri
Hi, Just upgraded jk Copyright notice to Apache 1.1. But I stupidly forgot the qmail limitation and so you didn't received the commit info by email . ALL THE FILES in jk/native/common have been updated APACHE 1.3/2.0, IIS, DOMINO, NETSCAPE are on the way - Henri Gomez ___[_]__

Missing CGIServlet from nightly build

2001-06-18 Thread Kevin Jones
I'm trying to use the Tomcat nightly's, and found that the org.apache.catalina.servlets.CGIServlet class is missing from the 16th, 17th and 18th June builds, although it (an its related classes) is in the earlier nightlys, Kevin Jones DevelopMentor www.develop.com

Session with IE

2001-06-18 Thread Jose Luis Rodriguez
My developed employment is IIS 4.0, Tomcat 3.2.1 under Windows Nt 4.0 I have a problem when I run mi application with IE 5.5, this lose the session inmediatly that I run another time. With Netscape Communicator that's Ok. In SYSTEM32/LogFiles/W3SVC1 I see an error number 200 that say so: 06:42:14

cvs commit: jakarta-tomcat-connectors/jk/native/common jk_lb_worker.c

2001-06-18 Thread hgomez
hgomez 01/06/18 01:32:22 Modified:jk/native/common jk_lb_worker.c Log: This patch changes the behavior by pre-initializing lb_value for each worker. The selection algorithm searches for the worker with the lowest lb_value that is not in a failed state. It then increments the

RE: [PROPOSAL] Update to Tomcat 3.3 release schedule

2001-06-18 Thread GOMEZ Henri
+1 What about clean the proposals sub-dir. jasper34 and web-connector have their own repositories. These two sub-dirs will save 2.2Mb... - Henri Gomez ___[_] EMAIL : [EMAIL PROTECTED](. .) PGP KEY : 697ECEDD...oOOo..(_)..oOOo... PGP Fingerpr

RE: cvs commit: jakarta-tomcat/src/etc server.xml

2001-06-18 Thread GOMEZ Henri
> @@ -200,7 +197,9 @@ > > >className="org.apache.tomcat.modules.server.Ajp12Interceptor" > @@ -209,8 +208,8 @@ > > > className="org.apache.ajp.tomcat33.Ajp13Interceptor" AJP12/AJP13 bind change WILL HAVE TO BE COMMENTED IN Ch

RE: structure for Tomcat-Connectors

2001-06-18 Thread GOMEZ Henri
>I am trying to think about a structure for our connectors: > > > From httpd From httpd > | | >+| >+ AP1.3 | AP2.0 | NETSCAPE | DOMINO

RE: fault-tolerant/backup_mode in mod_jk : Was: [j-t-c] OS poll => [j-t-c] webserver poll

2001-06-18 Thread GOMEZ Henri
>This is actually very easy with the existing code and a tiny patch I >submitted a few weeks ago. We're using it in production mode, so it is >known to be stable. The first version I submitted had some additional >logging added, but I'm attaching a minimal patch. > >All you have to do is set the

RE: Changing the TomCat Directory structure...

2001-06-18 Thread GOMEZ Henri
>I don't see "reducing the number of top level directories" as a very >compelling goal, and prefer to see the stuff sorted at the top >level based >on which classloader it's going to go into. +1 >Note also that having a top-level "lib" directory for user application >classes is getting pretty c