DO NOT REPLY [Bug 27073] - Only response body is sent and no HTTP headers on many GET and PROPFIND requests.

2004-02-25 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=27073.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27073

Only response body is sent and no HTTP headers on many GET and PROPFIND requests.

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED



--- Additional Comments From [EMAIL PROTECTED]  2004-02-25 08:00 ---
This problem is in fact side effect observed when working with Tomcat and Delphi 
webdav client library. So in fact it is not missing headers problem but some 
problem on communication between client and Tomcat.

I tested it additionally on:
Tomcat 4.1.18 : no problem
Tomcat 4.1.27 : no problem
Tomcat 4.1.29 : no problem
Tomcat 4.1.30 : PROBLEM EXISTS
Tomcat 5.0.14b : PROBLEM EXISTS
Tomcat 5.0.16 : PROBLEM EXISTS
Tomcat 5.0.19 : PROBLEM EXISTS

Anyway I am closing this bug, because it is different problem then it was 
described originally.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/util/xml PathMatch.java SaxContext.java XmlAction.java XmlMapper.java XmlMatch.java

2004-02-25 Thread billbarker
billbarker2004/02/25 00:02:00

  Modified:src/share/org/apache/tomcat/util/log CommonLogHandler.java
Log.java LogHandler.java LogManager.java
   src/share/org/apache/tomcat/util/qlog FastDateFormat.java
LogDaemon.java LogEntry.java Logger.java
QLogFactory.java QueueLogger.java package.html
   src/share/org/apache/tomcat/util/test Attributes.java
Body.java Cookie.java GTest.java Header.java
HttpClient.java HttpRequest.java HttpResponse.java
Matcher.java Parameter.java Properties.java
Report.java TestDefaults.java
   src/share/org/apache/tomcat/util/test/matchers
GoldenMatch.java HeaderMatch.java
HttpStatusMatch.java ResponseMatch.java
ResponseMatchFile.java SessionMatch.java
   src/share/org/apache/tomcat/util/xml PathMatch.java
SaxContext.java XmlAction.java XmlMapper.java
XmlMatch.java
  Log:
  Updating to the Apache License v2.0.
  
  Revision  ChangesPath
  1.2   +15 -55
jakarta-tomcat/src/share/org/apache/tomcat/util/log/CommonLogHandler.java
  
  
http://cvs.apache.org/viewcvs/jakarta-tomcat/src/share/org/apache/tomcat/util/log/CommonLogHandler.java.diff?r1=1.1r2=1.2
  
  
  1.9   +15 -55jakarta-tomcat/src/share/org/apache/tomcat/util/log/Log.java
  
  
http://cvs.apache.org/viewcvs/jakarta-tomcat/src/share/org/apache/tomcat/util/log/Log.java.diff?r1=1.8r2=1.9
  
  
  1.6   +15 -55
jakarta-tomcat/src/share/org/apache/tomcat/util/log/LogHandler.java
  
  
http://cvs.apache.org/viewcvs/jakarta-tomcat/src/share/org/apache/tomcat/util/log/LogHandler.java.diff?r1=1.5r2=1.6
  
  
  1.5   +15 -55
jakarta-tomcat/src/share/org/apache/tomcat/util/log/LogManager.java
  
  
http://cvs.apache.org/viewcvs/jakarta-tomcat/src/share/org/apache/tomcat/util/log/LogManager.java.diff?r1=1.4r2=1.5
  
  
  1.5   +13 -58
jakarta-tomcat/src/share/org/apache/tomcat/util/qlog/FastDateFormat.java
  
  
http://cvs.apache.org/viewcvs/jakarta-tomcat/src/share/org/apache/tomcat/util/qlog/FastDateFormat.java.diff?r1=1.4r2=1.5
  
  
  1.5   +15 -55
jakarta-tomcat/src/share/org/apache/tomcat/util/qlog/LogDaemon.java
  
  
http://cvs.apache.org/viewcvs/jakarta-tomcat/src/share/org/apache/tomcat/util/qlog/LogDaemon.java.diff?r1=1.4r2=1.5
  
  
  1.4   +15 -55
jakarta-tomcat/src/share/org/apache/tomcat/util/qlog/LogEntry.java
  
  
http://cvs.apache.org/viewcvs/jakarta-tomcat/src/share/org/apache/tomcat/util/qlog/LogEntry.java.diff?r1=1.3r2=1.4
  
  
  1.6   +15 -55jakarta-tomcat/src/share/org/apache/tomcat/util/qlog/Logger.java
  
  
http://cvs.apache.org/viewcvs/jakarta-tomcat/src/share/org/apache/tomcat/util/qlog/Logger.java.diff?r1=1.5r2=1.6
  
  
  1.4   +13 -54
jakarta-tomcat/src/share/org/apache/tomcat/util/qlog/QLogFactory.java
  
  
http://cvs.apache.org/viewcvs/jakarta-tomcat/src/share/org/apache/tomcat/util/qlog/QLogFactory.java.diff?r1=1.3r2=1.4
  
  
  1.5   +14 -54
jakarta-tomcat/src/share/org/apache/tomcat/util/qlog/QueueLogger.java
  
  
http://cvs.apache.org/viewcvs/jakarta-tomcat/src/share/org/apache/tomcat/util/qlog/QueueLogger.java.diff?r1=1.4r2=1.5
  
  
  1.3   +15 -0 
jakarta-tomcat/src/share/org/apache/tomcat/util/qlog/package.html
  
  
http://cvs.apache.org/viewcvs/jakarta-tomcat/src/share/org/apache/tomcat/util/qlog/package.html.diff?r1=1.2r2=1.3
  
  
  1.3   +15 -57
jakarta-tomcat/src/share/org/apache/tomcat/util/test/Attributes.java
  
  
http://cvs.apache.org/viewcvs/jakarta-tomcat/src/share/org/apache/tomcat/util/test/Attributes.java.diff?r1=1.2r2=1.3
  
  
  1.5   +15 -57jakarta-tomcat/src/share/org/apache/tomcat/util/test/Body.java
  
  
http://cvs.apache.org/viewcvs/jakarta-tomcat/src/share/org/apache/tomcat/util/test/Body.java.diff?r1=1.4r2=1.5
  
  
  1.4   +15 -57jakarta-tomcat/src/share/org/apache/tomcat/util/test/Cookie.java
  
  
http://cvs.apache.org/viewcvs/jakarta-tomcat/src/share/org/apache/tomcat/util/test/Cookie.java.diff?r1=1.3r2=1.4
  
  
  1.16  +15 -57jakarta-tomcat/src/share/org/apache/tomcat/util/test/GTest.java
  
  
http://cvs.apache.org/viewcvs/jakarta-tomcat/src/share/org/apache/tomcat/util/test/GTest.java.diff?r1=1.15r2=1.16
  
  
  1.8   +15 -57jakarta-tomcat/src/share/org/apache/tomcat/util/test/Header.java
  
  
http://cvs.apache.org/viewcvs/jakarta-tomcat/src/share/org/apache/tomcat/util/test/Header.java.diff?r1=1.7r2=1.8
  
  
  1.13  +15 -57
jakarta-tomcat/src/share/org/apache/tomcat/util/test/HttpClient.java
  
  
http://cvs.apache.org/viewcvs/jakarta-tomcat/src/share/org/apache/tomcat/util/test/HttpClient.java.diff?r1=1.12r2=1.13
  
  
  1.8   +15 -57

Re: IIS 5.0 + Jk2 + Tomcat 4.1 + Windows 2000 + Upload = Problem

2004-02-25 Thread Henri Gomez
Robert Biernat wrote:

Where did you get this patch from? 

Can you send me the link

I'm having the same problems but if I could rebuild the ISAPI filter so it
worked that would be great.
-Original Message-
From: Jorge González Martín [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 24 February 2004 2:21 AM
To: [EMAIL PROTECTED]
Subject: IIS 5.0 + Jk2 + Tomcat 4.1 + Windows 2000 + Upload = Problem
Hi all,
after reading a lot of posts i found a patch and i used it to build a dll
that solves the stream ended unexpectedly problem.
Thanks to Joakim Ström for his help.
I can upload (jeje) the dll somewhere...
If you want the fix applied in the upcoming jk2 2.0.4 release, thanks
to send the patch to tomcat-dev fro study
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: cvs commit: jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11 InternalInputBuffer.java Constants.java Http11Protocol.java InternalOutputBuffer.java OutputFilter.java Http11Processor.java LocalStrings_fr.properties InputFilter.java Loca

2004-02-25 Thread Henri Gomez
Bill Barker wrote:
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, February 24, 2004 12:50 AM
Subject: cvs commit:
jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11
InternalInputBuffer.java Constants.java Http11Protocol.java
InternalOutputBuffer.java OutputFilter.java Http11Processor.java
LocalStrings_fr.properties InputFilter.java LocalStrings_es.properties


hgomez  2004/02/24 00:50:56

 Modified:http11/src/java/org/apache/coyote/http11/filters
   VoidInputFilter.java ChunkedInputFilter.java
   BufferedInputFilter.java GzipOutputFilter.java
   ChunkedOutputFilter.java IdentityInputFilter.java
   IdentityOutputFilter.java VoidOutputFilter.java
  http11/src/java/org/apache/coyote/http11
   InternalInputBuffer.java Constants.java
   Http11Protocol.java InternalOutputBuffer.java
   OutputFilter.java Http11Processor.java
   LocalStrings_fr.properties InputFilter.java
   LocalStrings_es.properties
 Log:
 Update to Apache License 2.0 and french translations


Thanks!  You just saved me a lot of work :).
Serviteur ;-)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: mod_deflate - mod_jk mod_jk2

2004-02-25 Thread EBRARD Loic
Title: RE: mod_deflate - mod_jk  mod_jk2





ok to test it...
where can i find jk2 HEAD ???


-Message d'origine-
De : Henri Gomez [mailto:[EMAIL PROTECTED]]
Envoyé : mardi 24 février 2004 16:51
À : Tomcat Developers List
Objet : Re: mod_deflate - mod_jk  mod_jk2



EBRARD Loic wrote:
 Hi all,
 
 for same configuration of mod_deflate, using mod_jk_1.2.5_2.0.47.dll or 
 mod_jk2-2.0.43.dll
 the deflate doest work same at all :
 mod_jk_1 deflate all Content-type I specified
 mod_jk2 deflate only static URI for the Content-type I mention in 
 deflate configuration
 
 So I can't use mod_jk2 as far as i want dynamic URI deflate regardless 
 to Content-Type of datum...
 
 
 Did someone have an idea why mod_jk2 doest work fine with mod_deflate
 do i miss something ?
 


Should I understand that mod_jk2 didn't compress JSP/Servlet contents ?


Just commited some code in jk2 HEAD (present in jk but not in jk2).



Could you make a try please ?


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



This mail has originated outside your organization,
either from an external partner or the Global Internet. 
Keep this in mind if you answer this message.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: mod_deflate - mod_jk mod_jk2

2004-02-25 Thread jean-frederic clere
EBRARD Loic wrote:
 ok to test it...
 where can i find jk2 HEAD ???

In cvs... and in http://cvs.apache.org/builds/jakarta-tomcat-5/nightly/.

Probably it would be nice to have a
http://cvs.apache.org/builds/jakarta-tomcat-connectors/nightly.
I would run buildconf.sh in native and native2 to prevent problems with
libtool/autoconf/automake.

 
 -Message d'origine-
 De : Henri Gomez [mailto:[EMAIL PROTECTED]
 Envoyé : mardi 24 février 2004 16:51
 À : Tomcat Developers List
 Objet : Re: mod_deflate - mod_jk  mod_jk2
 
 
 EBRARD Loic wrote:
 Hi all,

 for same configuration of mod_deflate, using mod_jk_1.2.5_2.0.47.dll or
 mod_jk2-2.0.43.dll
 the deflate doest work same at all :
 mod_jk_1 deflate all Content-type I specified
 mod_jk2 deflate only static URI for the Content-type I mention in
 deflate configuration

 So I can't use mod_jk2 as far as i want dynamic URI deflate regardless
 to Content-Type of datum...


 Did someone have an idea why mod_jk2 doest work fine with mod_deflate
 do i miss something ?

 
 Should I understand that mod_jk2 didn't compress JSP/Servlet contents ?
 
 Just commited some code in jk2 HEAD (present in jk but not in jk2).
 
 
 Could you make a try please ?
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 This mail has originated outside your organization,
 either from an external partner or the Global Internet.
 Keep this in mind if you answer this message.
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



signature.asc
Description: OpenPGP digital signature


DO NOT REPLY [Bug 27190] - Redirect problem with the COPY / MOVE request handling in the WebDAV servlet

2004-02-25 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=27190.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27190

Redirect problem with the COPY / MOVE request handling in the WebDAV servlet





--- Additional Comments From [EMAIL PROTECTED]  2004-02-25 09:48 ---
I can confirm that the change in the servlet mapping makes it work for me too
(even with MS Webfolders :-)).
Thank you for looking into this and for your quick help.
BTW: I noticed that the webdav webapp delivered with Tomcat 5.0.19 already uses
the /* and thus correct servlet mapping. Maybe a comment should be added to the
web.xml file that setting the mapping to / will break things with MS Webfolders.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: DO NOT REPLY [Bug 20184] - JkInputStream ignores packets containing less than 5 bytes

2004-02-25 Thread Henri Gomez
[EMAIL PROTECTED] wrote:

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=20184.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20184

JkInputStream ignores packets containing less than 5 bytes





--- Additional Comments From [EMAIL PROTECTED]  2004-02-25 03:54 ---
Transfered comments from bug 27012:
The tomcat connected to apache over jk2. Two bytes of a request get lost if the
request size is 8190 (even the critical length is perioodic about 1024x8+2). The
error is brobably in the class org.apache.jk.common.JkInputStream in the method
receive. The check 'if( bodyMsg.getLen() = 4 )' seems to be not correct.
If we have the same problem with mod_jk (not mod_jk2), it's probably on 
the java side

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [ANN] Apache Tomcat 3.3.2 Release Candidate 1

2004-02-25 Thread Henri Gomez
Bill Barker wrote:

- Original Message -
From: Henri Gomez [EMAIL PROTECTED]
To: Tomcat Developers List [EMAIL PROTECTED]
Sent: Tuesday, February 24, 2004 7:46 AM
Subject: Re: [ANN] Apache Tomcat 3.3.2 Release Candidate 1


Henri Gomez wrote:

Bill Barker wrote:


The Tomcat Team announces the immediate availability of Apache Tomcat
3.3.2 Release Candidate 1.
Downloads: http://www.apache.org/~larryi/tomcat-3.3.2-rc1

The Apache Tomcat Team


I make test on it and play with JMXSupport and noticed :

- XSL problem with HTTP connector :

[Error] common.xsl:14:80: Element type xsl:stylesheet must be
declared.

[Error] common.xsl:16:38: Element type xsl:import must be declared.
[Error] common.xsl:19:35: Element type xsl:param must be declared.
[Error] common.xsl:21:96: Element type xsl:variable must be declared.
[Error] common.xsl:24:28: Element type xsl:template must be declared.
[Error] common.xsl:25:30: Element type xsl:if must be declared.


It seems Costin patch the xsl sometimes ago at mx4j, so should we
included this modified version ?
- As many, in my web application,  I allready load HTTP/JRMP connector
 (at special ports with custom login/pwd), but since JMXSupport is
 loaded before my app, it didn't use my HTTP port settings.
 What about set port to -1 by default in interceptors.xml to avoid
 such problems ?
org.apache.coyote.tomcat3.CoyoteInterceptor2 didn't present many
informations via JMX, could we use a trick to present what is present
in processor class ?


I haven't looked at JMXSupport in a while, but it should be possible to add
this in.  o.a.jk and o.a.c.http11 already have the self-registration code.
It's just a matter of triggering it.
I could do it but wonder where to put the registration, 
org.apache.coyote.tomcat3.Coyote2 ?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


DO NOT REPLY [Bug 27215] New: - Problem is jsp :setproperty

2004-02-25 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=27215.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27215

Problem is jsp :setproperty

   Summary: Problem is jsp :setproperty
   Product: Tomcat 5
   Version: 5.0.18
  Platform: Other
OS/Version: Other
Status: NEW
  Severity: Critical
  Priority: Other
 Component: Catalina
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


hi

If the parameter has an empty or null value, the corresponding Bean property is 
not set

but in Tomcat 5.0.18 we are facing a problem.. all the bean by default is set 
to null

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 27216] New: - Problem start app with document base containing spaces

2004-02-25 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=27216.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27216

Problem start app with document base containing spaces

   Summary: Problem start app with document base containing spaces
   Product: Tomcat 5
   Version: 5.0.19
  Platform: PC
OS/Version: Linux
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Webapps:Manager
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


I have a webapp in a directory called '/local/arena/with space'. To deploy it, I
issue a manager command:
http://localhost:8084/manager/deploy?config=file:/local/arena/with%20space/META-INF/context.xmlwar=file:/local/arena/with%20space/

First try works, but when I restart the server, this context cannot be started
and I get:

org.apache.catalina.core.StandardContext resourcesStart
SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base /local/arena/with%20space does
not exist or is not a readable directory

org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:185)
org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:3858)
org.apache.catalina.core.StandardContext.start(StandardContext.java:4085)

The content of Catalina/localhost/with_space.xml after deployment is:
?xml version=1.0 encoding=UTF-8?
Context docBase=/local/arena/with%20space/ path=/with_space/

If I change it manually to:
?xml version=1.0 encoding=UTF-8?
Context docBase=/local/arena/with space/ path=/with_space/

it starts working.

See also:
http://www.netbeans.org/issues/show_bug.cgi?id=40437

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



TC 3.3.2 and JMX

2004-02-25 Thread Henri Gomez
Any objection to set the default JMX port to -1 ?

- As many, in my web application,  I allready load HTTP/JRMP connector
 (at special ports with custom login/pwd), but since JMXSupport is
 loaded before my app, it didn't use my HTTP port settings.
 What about set port to -1 by default in interceptors.xml to avoid
 such problems ?


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


DO NOT REPLY [Bug 27215] - Problem is jsp :setproperty

2004-02-25 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=27215.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27215

Problem is jsp :setproperty

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID



--- Additional Comments From [EMAIL PROTECTED]  2004-02-25 12:56 ---
Please submit a test JSP, I cannot understand this. You might want to post on
tomcat-user.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 27215] - Problem is jsp :setproperty

2004-02-25 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=27215.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27215

Problem is jsp :setproperty

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|INVALID |



--- Additional Comments From [EMAIL PROTECTED]  2004-02-25 13:13 ---
wht happens 
for eg..
if the _patient bean in Request Scope and if the value is not set
for this bean.. it showing of value as null

input name=firstName type=text value='jsp:getProperty name=_patient 
property=firstName/' size=15 maxlength='20'

how to solve this.. can anyone help me out to solve this problem


Sudhakar

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 27215] - Problem is jsp :setproperty

2004-02-25 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=27215.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27215

Problem is jsp :setproperty

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||DUPLICATE



--- Additional Comments From [EMAIL PROTECTED]  2004-02-25 13:17 ---
In that case, its a dup of 25241

*** This bug has been marked as a duplicate of 25241 ***

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 25241] - jsp:getProperty tag prints null if property is null.

2004-02-25 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=25241.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25241

jsp:getProperty  tag prints null if property is null.

[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]



--- Additional Comments From [EMAIL PROTECTED]  2004-02-25 13:17 ---
*** Bug 27215 has been marked as a duplicate of this bug. ***

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 25241] - jsp:getProperty tag prints null if property is null.

2004-02-25 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=25241.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25241

jsp:getProperty  tag prints null if property is null.

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|INVALID |
Version|5.0.16  |5.0.18



--- Additional Comments From [EMAIL PROTECTED]  2004-02-25 13:24 ---
is the bug fixed for 5.0.18 version.. or else need to apply the patch

thks Sudhakar

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 25448] - jsp:include is intolerant of whitespace

2004-02-25 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=25448.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25448

jsp:include is intolerant of whitespace





--- Additional Comments From [EMAIL PROTECTED]  2004-02-25 13:31 ---
Ok - for all people that have this problem and have access to perl, here is a
small script to fix the problem. It reads the names of jsp files from stdin and
changes the jsp:include's accordingly. That is, only the ones where page=
comes before flush= - should be easy to change though.

#!/usr/bin/perl

use IO::AtomicFile;
use strict;

while(STDIN) {
my $fileName = $_;
chomp $fileName;
print processing $fileName\n;
processFile($fileName);
}

exit 0;

sub processFile {
my $fileName = shift;
my $fileContent;
open(IN,$fileName) or die($fileName: $!);
while(IN) {
$fileContent .= $_;
}
close(IN);
$fileContent =~ 

s/\jsp\:include\s+page\s*=\s*\(.+?)\\s+flush\s*=\s*\(.+?)\\s*\\s*\\/jsp:include\s*\/jsp:include
page=$1 flush=$2\//msg;

my $FH = IO::AtomicFile-open($fileName,w);
print $FH $fileContent;
$FH-close || warn ( write atomic $fileName: $!);
}

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 25241] - jsp:getProperty tag prints null if property is null.

2004-02-25 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=25241.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25241

jsp:getProperty  tag prints null if property is null.

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||WONTFIX



--- Additional Comments From [EMAIL PROTECTED]  2004-02-25 13:33 ---
No, the patch will not be applied. It violates the spec per previous comments in
this bug report.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: mod_deflate - mod_jk mod_jk2

2004-02-25 Thread Guenter Knauf
Hi,

 In cvs... and in http://cvs.apache.org/builds/jakarta-tomcat-5/nightly/.

 Probably it would be nice to have a
 http://cvs.apache.org/builds/jakarta-tomcat-connectors/nightly.
 I would run buildconf.sh in native and native2 to prevent problems with
 libtool/autoconf/automake.

there are also cvs snapshots available every six hours:
http://cvs.apache.org/snapshots/jakarta-tomcat-connectors/

Guenter.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 27222] New: - Jk2: error mmapping shm file leads to workerEnv.init() create slot epStat.0 failed on Apache 1.3

2004-02-25 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=27222.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27222

Jk2: error mmapping shm file leads to workerEnv.init() create slot epStat.0 failed on 
Apache 1.3

   Summary: Jk2: error mmapping shm file leads to workerEnv.init()
create slot epStat.0 failed on Apache 1.3
   Product: Tomcat 5
   Version: 5.0.18
  Platform: PC
OS/Version: Windows NT/2K
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Native:JK
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


The actual bug is that JK2 on Apache 1.3 on Win2K encounters an error when
creating the shared memory file. The log file simply says:

[jk_shm.c (358)]: shm.create(): error mmapping c:/servers/apache/logs/jk2.shm

I have seen the shm file working without problems on apache 2.0 and not working
on apache 1.3, on the same machine with the same tomcat version.
This in turn leads to further errors when requests start comming in:

[jk_endpoint.c (90)]: workerEnv.init() create slot epStat.0 failed

.. because this requires shared memory.

I have seen a number of reports of the first error online, but nobody seems to
have a solution. I have also seen many people with the second problem, and not
many people realize that it is often a result of the first problem...

Fortunately there is a workaround: set shm.disabled=1.

The details:
Tomcat 5.0.18
Apache 1.3.29
JK2 2.0.2 (mod_jk2-1.3.27.dll)

My config file:

[shm]
file=${serverRoot}/logs/jk2.shm
size=1048576
[channel.socket:localhost:8009]
[uri:/examples/*]

The log output:
[Wed Feb 25 13:49:23 2004]  (error) [jk_shm.c (358)]: shm.create(): error
mmapping c:/servers/apache/logs/jk2.shm
[Wed Feb 25 13:49:53 2004]  (error) [jk_endpoint.c (90)]: workerEnv.init()
create slot epStat.0 failed
[Wed Feb 25 13:49:53 2004]  (error) [jk_worker_lb.c (402)]: lb.service() worker
failed 21000 for ajp13:localhost:8009
[Wed Feb 25 13:49:53 2004]  (error) [jk_worker_lb.c (415)]: lb.service()
unrecoverable error...
[Wed Feb 25 13:49:53 2004]  (error) [mod_jk2.c (427)]: mod_jk.handler() Error
connecting to tomcat 21000

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 27223] New: - Request received is corrupt (SOMETIMES)

2004-02-25 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=27223.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27223

Request received is corrupt (SOMETIMES)

   Summary: Request received is corrupt (SOMETIMES)
   Product: Tomcat 4
   Version: 4.1.29
  Platform: Other
OS/Version: Linux
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Catalina
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


In our prod. enviroment we sometimes receive a corrupt request that makes 
impossible to read the values of the request. Data received seems to be two 
requests mixed. Here there are some examples:
  1iUsrField=USERID
  3S=SER_JOCS
  2=ESP_REG 
  ...

We cannot reproduce this bug as we want and even when we support a big 
concurrency access this error maybe doesn't occur. We use POST method to 
receive data.

Our architecture is:
 N frontal computers: HW: Compaq DL360 dual processor, 2CPU, 2GB RAM
 OS: Linux kernel 2.4.20-20.8smp
 HTTP Server: Apache 2.0.48 + mod_jk2 connector 2.0.2
 N BackOffice computers: HW: Compaq DL360 dual processor, 2CPU, 2GB RAM
 OS: Linux kernel 2.4.20-20.8smp
 APP Server: tomcat 4.1.29 + mod_jk2 connector 2.0.2 + jvm 
1.4.2_02
 We use loadbalancer connector among all computers.

Thanks in advance.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[POPOSAL] change extension of Win32 Apache connectors to .so

2004-02-25 Thread Guenter Knauf
Hi all,
before this gets again forgotten, here's the reminder:

should we change the Win32 binary extention of the Apache modules to .so instead of 
.dll ??

Apache changed that with version 1.3.15 already; and I got a lot of questions about 
that at this time...
now the questions are the other turn: why is mod_jk/mod_jk2 a dll? where do I have to 
put it in?

so I'm +1 for changing to .so because I think then the chances are better that the 
user puts the module into the Apache modules folder...

please vote for this:

[+/-]1 for changing to .so

thanks, Guenter.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[REMINDER] remove obsolete *.dsw files

2004-02-25 Thread Guenter Knauf
Hi all,

there were still some *.dsw in yesterday's CVS:

./jk/native/domino/dsapi.dsw
./jk/native2/server/dsapi/dsapi.dsw
./jk/native2/server/isapi/isapi.dsw

Guenter.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [POPOSAL] change extension of Win32 Apache connectors to .so

2004-02-25 Thread Henri Gomez
Guenter Knauf wrote:

Hi all,
before this gets again forgotten, here's the reminder:
should we change the Win32 binary extention of the Apache modules to .so instead of .dll ??

Apache changed that with version 1.3.15 already; and I got a lot of questions about 
that at this time...
now the questions are the other turn: why is mod_jk/mod_jk2 a dll? where do I have to 
put it in?
so I'm +1 for changing to .so because I think then the chances are better that the user puts the module into the Apache modules folder...

please vote for this:

[+/-]1 for changing to .so
+0 for me

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [REMINDER] remove obsolete *.dsw files

2004-02-25 Thread Guenter Knauf
Hi all,

 there were still some *.dsw in yesterday's CVS:

 ./jk/native/domino/dsapi.dsw
 ./jk/native2/server/dsapi/dsapi.dsw
 ./jk/native2/server/isapi/isapi.dsw

sorry, but just found that these *.dsw are not the simple autocreated ones, but 
include other *.dsp; 
so seems they have to stay!

excuse me for not checking before posting!

Guenter.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-connectors/jk/native2/server/dsapi dsapi.dsw

2004-02-25 Thread hgomez
hgomez  2004/02/25 07:00:04

  Removed: jk/native/domino dsapi.dsw
   jk/native2/server/isapi isapi.dsw
   jk/native2/server/dsapi dsapi.dsw
  Log:
  Remove unused .dsw

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [REMINDER] remove obsolete *.dsw files

2004-02-25 Thread Henri Gomez
Guenter Knauf wrote:

Hi all,

there were still some *.dsw in yesterday's CVS:

./jk/native/domino/dsapi.dsw
./jk/native2/server/dsapi/dsapi.dsw
./jk/native2/server/isapi/isapi.dsw
Fixed.

Could you take a look at some of the bugzilla reports,
and for instance reports about problems with others modules ?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: cvs commit: jakarta-tomcat-connectors/jk/native2/server/dsapi dsapi.dsw

2004-02-25 Thread Guenter Knauf
Henri,
please forgive me!

 hgomez  2004/02/25 07:00:04

   Removed: jk/native/domino dsapi.dsw
this is ok and obsolete.

jk/native2/server/isapi isapi.dsw
jk/native2/server/dsapi dsapi.dsw
these two must be back again - they include other *.dsp

sorry again!

Guenter.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-connectors/jk/native2/server/dsapi dsapi.dsw

2004-02-25 Thread hgomez
hgomez  2004/02/25 07:09:47

  Added:   jk/native2/server/isapi isapi.dsw
   jk/native2/server/dsapi dsapi.dsw
  Log:
  Reset the missing files
  
  Revision  ChangesPath
  1.3   +0 -0  jakarta-tomcat-connectors/jk/native2/server/isapi/isapi.dsw
  
  
  
  
  1.3   +41 -41jakarta-tomcat-connectors/jk/native2/server/dsapi/dsapi.dsw
  
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-connectors/jk/native2/server/dsapi dsapi.dsw

2004-02-25 Thread hgomez
hgomez  2004/02/25 07:10:02

  Modified:jk/native2/server/isapi isapi.dsw
   jk/native2/server/dsapi dsapi.dsw
  Log:
  *** keyword substitution change ***
  
  Revision  ChangesPath
  1.4   +134 -134  jakarta-tomcat-connectors/jk/native2/server/isapi/isapi.dsw
  
  Index: isapi.dsw
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/server/isapi/isapi.dsw,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- isapi.dsw 25 Feb 2004 15:09:47 -  1.3
  +++ isapi.dsw 25 Feb 2004 15:10:02 -  1.4
  @@ -1,134 +1,134 @@
  -Microsoft Developer Studio Workspace File, Format Version 6.00

  -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!

  -

  -###

  -

  -Project: apr=..\..\srclib\apr\apr.dsp - Package Owner=4

  -

  -Package=5

  -{{{

  -}}}

  -

  -Package=4

  -{{{

  -}}}

  -

  -###

  -

  -Project: apriconv=..\..\srclib\apr-iconv\apriconv.dsp - Package Owner=4

  -

  -Package=5

  -{{{

  -}}}

  -

  -Package=4

  -{{{

  -}}}

  -

  -###

  -

  -Project: aprutil=..\..\srclib\apr-util\aprutil.dsp - Package Owner=4

  -

  -Package=5

  -{{{

  -}}}

  -

  -Package=4

  -{{{

  -Begin Project Dependency

  -Project_Dep_Name gen_uri_delims

  -End Project Dependency

  -}}}

  -

  -###

  -

  -Project: dftables=..\..\srclib\pcre\dftables.dsp - Package Owner=4

  -

  -Package=5

  -{{{

  -}}}

  -

  -Package=4

  -{{{

  -}}}

  -

  -###

  -

  -Project: gen_uri_delims=..\..\srclib\apr-util\uri\gen_uri_delims.dsp - Package 
Owner=4

  -

  -Package=5

  -{{{

  -}}}

  -

  -Package=4

  -{{{

  -}}}

  -

  -###

  -

  -Project: isapi=.\isapi.dsp - Package Owner=4

  -

  -Package=5

  -{{{

  -}}}

  -

  -Package=4

  -{{{

  -}}}

  -

  -###

  -

  -Project: pcre=..\..\srclib\pcre\pcre.dsp - Package Owner=4

  -

  -Package=5

  -{{{

  -}}}

  -

  -Package=4

  -{{{

  -Begin Project Dependency

  -Project_Dep_Name dftables

  -End Project Dependency

  -Begin Project Dependency

  -Project_Dep_Name pcreposix

  -End Project Dependency

  -}}}

  -

  -###

  -

  -Project: pcreposix=..\..\srclib\pcre\pcreposix.dsp - Package Owner=4

  -

  -Package=5

  -{{{

  -}}}

  -

  -Package=4

  -{{{

  -}}}

  -

  -###

  -

  -Project: xml=..\..\srclib\apr-util\xml\expat\lib\xml.dsp - Package Owner=4

  -

  -Package=5

  -{{{

  -}}}

  -

  -Package=4

  -{{{

  -}}}

  -

  -###

  -

  -Global:

  -

  -Package=5

  -{{{

  -}}}

  -

  -Package=3

  -{{{

  -}}}

  -

  -###

  -

  +Microsoft Developer Studio Workspace File, Format Version 6.00
  +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
  +
  +###
  +
  +Project: apr=..\..\srclib\apr\apr.dsp - Package Owner=4
  +
  +Package=5
  +{{{
  +}}}
  +
  +Package=4
  +{{{
  +}}}
  +
  +###
  +
  +Project: apriconv=..\..\srclib\apr-iconv\apriconv.dsp - Package Owner=4
  +
  +Package=5
  +{{{
  +}}}
  +
  +Package=4
  +{{{
  +}}}
  +
  +###
  +
  +Project: aprutil=..\..\srclib\apr-util\aprutil.dsp - Package Owner=4
  +
  +Package=5
  +{{{
  +}}}
  +
  +Package=4
  +{{{
  +Begin Project Dependency
  +Project_Dep_Name gen_uri_delims
  +End Project Dependency
  +}}}
  +
  +###
  +
  +Project: dftables=..\..\srclib\pcre\dftables.dsp - Package Owner=4
  +
  +Package=5
  +{{{
  +}}}
  +
  +Package=4
  +{{{
  +}}}
  +
  +###
  +
  +Project: gen_uri_delims=..\..\srclib\apr-util\uri\gen_uri_delims.dsp - Package 
Owner=4
  +
  +Package=5
  +{{{
  +}}}
  +
  +Package=4
  +{{{
  +}}}
  +
  +###
  +
  +Project: isapi=.\isapi.dsp - Package Owner=4
  +
  +Package=5
  +{{{
  

Re: cvs commit: jakarta-tomcat-connectors/jk/native2/server/dsapi dsapi.dsw

2004-02-25 Thread Henri Gomez
Guenter Knauf wrote:

Henri,
please forgive me!

hgomez  2004/02/25 07:00:04


 Removed: jk/native/domino dsapi.dsw
this is ok and obsolete.


  jk/native2/server/isapi isapi.dsw
  jk/native2/server/dsapi dsapi.dsw
these two must be back again - they include other *.dsp

sorry again!
Restaured.

if you could help me with this dreaded mod_rewrite/mod_dav problems,
I'll forget that mistake ;-)


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


DO NOT REPLY [Bug 27224] New: - Error If i get the word pièces in a cookie value

2004-02-25 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=27224.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27224

Error If i get the word pièces in a cookie value

   Summary: Error If i get the word pièces in a cookie value
   Product: Tomcat 5
   Version: Unknown
  Platform: PC
OS/Version: Windows NT/2K
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Servlet  JSP API
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


Hello,

If i get the word pièces in a cookie value Tomcat send the error :

GRAVE: Bad Cookie Name: pièces /Value: anquantes ou non conformes lors de l
enregistrement d un contrat PI
java.lang.IllegalArgumentException: Le nom de cookie pièces est un token réservé
at javax.servlet.http.Cookie.init(Cookie.java:185)
at
org.apache.coyote.tomcat5.CoyoteAdapter.parseCookies(CoyoteAdapter.java:406)
at
org.apache.coyote.tomcat5.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:314)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:203)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:805)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11
protocol.java:696)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:605)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:677)
at java.lang.Thread.run(Thread.java:534)

I checked my cookie and his name is not pièces but ModelKeys...

I changed the word pièces for pieces and I get no more error. But I need my
pièces...

Thx

Nicolas

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-connectors/jk/native configure.in

2004-02-25 Thread jfclere
jfclere 2004/02/25 07:29:54

  Modified:jk/native configure.in
  Log:
  PR 11008 and synchronize with native2 (AC_CANONICAL_SYSTEM!).
  
  Revision  ChangesPath
  1.30  +5 -5  jakarta-tomcat-connectors/jk/native/configure.in
  
  Index: configure.in
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/configure.in,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- configure.in  6 Feb 2004 14:12:59 -   1.29
  +++ configure.in  25 Feb 2004 15:29:54 -  1.30
  @@ -6,6 +6,7 @@
   AC_PREREQ(2.13)
   AC_INIT(common/jk_worker.h)
   AC_CONFIG_AUX_DIR(scripts/build/unix)
  +AC_CANONICAL_SYSTEM
   
   dnl package and version. (synchronization with common/jk_version.h ?)
   PACKAGE=mod_jk
  @@ -13,6 +14,9 @@
   
   AM_INIT_AUTOMAKE(${PACKAGE}, ${VERSION})
   
  +AC_PROG_CC
  +AC_PROG_LD
  +
   dnl Not sure what it does, but the libtool manual seems to require this
   dnl It should use the native platform dlopen ( if available )
   AC_LIBTOOL_DLOPEN
  @@ -20,10 +24,6 @@
   dnl AM_PROG_LIBTOOL often causes problems.
   dnl I have solved them once using aclocal --acdir=/usr/local/share/aclocal/
   AM_PROG_LIBTOOL
  -
  -AC_PROG_CC
  -
  -AC_PROG_LD
   
   AC_PATH_PROG(TEST,test,$PATH)dnl
   AC_SUBST(TEST)
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 11008] - Win32/cygwin compile report + patch (gcc 3.1.1 compile warnings)

2004-02-25 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=11008.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11008

Win32/cygwin compile report + patch (gcc 3.1.1 compile warnings)





--- Additional Comments From [EMAIL PROTECTED]  2004-02-25 15:33 ---
I think I have fixed it but I do not have a machine to test.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 15278] - [PATCH] mod_jk2 for IIS, Bugfix corrupted data ]

2004-02-25 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=15278.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15278

[PATCH] mod_jk2 for IIS, Bugfix corrupted data ]





--- Additional Comments From [EMAIL PROTECTED]  2004-02-25 15:45 ---
What the current status of this bug ?

It seems there is something wrong between 16bits (IIS ?) and 32bits (Unix).

Pointers welcome

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: mod_deflate - mod_jk mod_jk2

2004-02-25 Thread Henri Gomez
Guenter Knauf wrote:

Hi,


In cvs... and in http://cvs.apache.org/builds/jakarta-tomcat-5/nightly/.


Probably it would be nice to have a
http://cvs.apache.org/builds/jakarta-tomcat-connectors/nightly.
I would run buildconf.sh in native and native2 to prevent problems with
libtool/autoconf/automake.


there are also cvs snapshots available every six hours:
http://cvs.apache.org/snapshots/jakarta-tomcat-connectors/
I make tests with latest code in CVS and it works with at least Tomcat 
3.3.1 (should works with TC4/5 of course).

Used:

AddOutputFilterByType DEFLATE text/html text/xml text.plain



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


binaries for testing

2004-02-25 Thread Guenter Knauf
Hi all,
for those who normally use only binaries I have uploaded mod_jk2 binaries of CVS 
snapshot 20040224172400 to my site:
http://www.gknw.com/development/apache/
and also I've just build the isapi redirector:
http://www.gknw.com/test/jtc/

have fun with testing!

Guenter.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: binaries for testing

2004-02-25 Thread Henri Gomez
Guenter Knauf wrote:

Hi all,
for those who normally use only binaries I have uploaded mod_jk2 binaries of CVS 
snapshot 20040224172400 to my site:
http://www.gknw.com/development/apache/
and also I've just build the isapi redirector:
http://www.gknw.com/test/jtc/
have fun with testing!
I'm trying to fix jk2 to works with mod_alias (for instance with 
ErrorDocument).

jk 1.2.6-dev works, jk2 2.0.4 still not ;(

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


DO NOT REPLY [Bug 21561] - jk_uriEnv.c version 1.49 does not handle uri's with asterix

2004-02-25 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=21561.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21561

jk_uriEnv.c version 1.49 does not handle uri's with asterix

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2004-02-25 16:51 ---
fixed in cvs with jk_uriEnv.c version 1.51 checked in 2003-Oct-30 by mturk.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 18449] - symbol __divdi3: referenced symbol not found

2004-02-25 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=18449.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18449

symbol __divdi3: referenced symbol not found





--- Additional Comments From [EMAIL PROTECTED]  2004-02-25 17:36 ---
I have a similar one with gcc 3.3.2:
+++
bash-2.03$ bin/apachectl start
Syntax error on line 252 of /export/home3/jfclere/apache48/conf/httpd.conf:
Cannot load /export/home3/jfclere/apache48/modules/mod_status.so into server:
ld.so.1: /export/home3/jfclere/apache48/bin/httpd: fatal: relocation error: file
/export/home3/jfclere/apache48/modules/mod_status.so: symbol __floatdisf:
referenced symbol not found
+++

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [ANN] Apache Tomcat 3.3.2 Release Candidate 1

2004-02-25 Thread Bill Barker

- Original Message -
From: Henri Gomez [EMAIL PROTECTED]
To: Tomcat Developers List [EMAIL PROTECTED]
Sent: Wednesday, February 25, 2004 4:04 AM
Subject: Re: [ANN] Apache Tomcat 3.3.2 Release Candidate 1


 Bill Barker wrote:

  - Original Message -
  From: Henri Gomez [EMAIL PROTECTED]
  To: Tomcat Developers List [EMAIL PROTECTED]
  Sent: Tuesday, February 24, 2004 7:46 AM
  Subject: Re: [ANN] Apache Tomcat 3.3.2 Release Candidate 1
 
 
 
 Henri Gomez wrote:
 
 Bill Barker wrote:
 
 
 The Tomcat Team announces the immediate availability of Apache Tomcat
 3.3.2 Release Candidate 1.
 
 Downloads: http://www.apache.org/~larryi/tomcat-3.3.2-rc1
 
 The Apache Tomcat Team
 
 
 I make test on it and play with JMXSupport and noticed :
 
 - XSL problem with HTTP connector :
 
 [Error] common.xsl:14:80: Element type xsl:stylesheet must be
 
  declared.
 
 [Error] common.xsl:16:38: Element type xsl:import must be declared.
 [Error] common.xsl:19:35: Element type xsl:param must be declared.
 [Error] common.xsl:21:96: Element type xsl:variable must be declared.
 [Error] common.xsl:24:28: Element type xsl:template must be declared.
 [Error] common.xsl:25:30: Element type xsl:if must be declared.
 
 
 
 It seems Costin patch the xsl sometimes ago at mx4j, so should we
 included this modified version ?
 
 
 - As many, in my web application,  I allready load HTTP/JRMP connector
   (at special ports with custom login/pwd), but since JMXSupport is
   loaded before my app, it didn't use my HTTP port settings.
 
   What about set port to -1 by default in interceptors.xml to avoid
   such problems ?
 
 org.apache.coyote.tomcat3.CoyoteInterceptor2 didn't present many
 informations via JMX, could we use a trick to present what is present
 in processor class ?
 
 
 
  I haven't looked at JMXSupport in a while, but it should be possible to
add
  this in.  o.a.jk and o.a.c.http11 already have the self-registration
code.
  It's just a matter of triggering it.

 I could do it but wonder where to put the registration,
 org.apache.coyote.tomcat3.Coyote2 ?


For 3.3.3 that is probably a good place for it.  However, I'm not very happy
about introducing a dependancy on c-m into the Connector this late in the
release cycle.  I'll stick it into JMXSupport for now, and we can re-visit
JMX in 3.3 again after the release (assuming that there is still interest
:).


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



This message is intended only for the use of the person(s) listed above as the 
intended recipient(s), and may contain information that is PRIVILEGED and 
CONFIDENTIAL.  If you are not an intended recipient, you may not read, copy, or 
distribute this message or any attachment. If you received this communication in 
error, please notify us immediately by e-mail and then delete all copies of this 
message and any attachments.

In addition you should be aware that ordinary (unencrypted) e-mail sent through the 
Internet is not secure. Do not send confidential or sensitive information, such as 
social security numbers, account numbers, personal identification numbers and 
passwords, to us via ordinary (unencrypted) e-mail.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: TC 3.3.2 and JMX

2004-02-25 Thread Bill Barker

- Original Message -
From: Henri Gomez [EMAIL PROTECTED]
To: Tomcat Developers List [EMAIL PROTECTED]
Sent: Wednesday, February 25, 2004 4:50 AM
Subject: TC 3.3.2 and JMX


 Any objection to set the default JMX port to -1 ?


None here.  Jk-Coyote is now the default, and it's connector support is
better.

  - As many, in my web application,  I allready load HTTP/JRMP
connector
   (at special ports with custom login/pwd), but since JMXSupport is
   loaded before my app, it didn't use my HTTP port settings.
 
   What about set port to -1 by default in interceptors.xml to avoid
   such problems ?


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



This message is intended only for the use of the person(s) listed above as the 
intended recipient(s), and may contain information that is PRIVILEGED and 
CONFIDENTIAL.  If you are not an intended recipient, you may not read, copy, or 
distribute this message or any attachment. If you received this communication in 
error, please notify us immediately by e-mail and then delete all copies of this 
message and any attachments.

In addition you should be aware that ordinary (unencrypted) e-mail sent through the 
Internet is not secure. Do not send confidential or sensitive information, such as 
social security numbers, account numbers, personal identification numbers and 
passwords, to us via ordinary (unencrypted) e-mail.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

DO NOT REPLY [Bug 27224] - Error If i get the word pièces in a cookie value

2004-02-25 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=27224.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27224

Error If i get the word pièces in a cookie value

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX



--- Additional Comments From [EMAIL PROTECTED]  2004-02-25 19:12 ---
Well, the class only allows US-ASCII in cookie names. This could well be in the
specification, but in any case, you need to send feedback to the Servlet API
expert group if you think it's wrong.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [ANN] Apache Tomcat 3.3.2 Release Candidate 1

2004-02-25 Thread Henri Gomez
Bill Barker wrote:
- Original Message -
From: Henri Gomez [EMAIL PROTECTED]
To: Tomcat Developers List [EMAIL PROTECTED]
Sent: Wednesday, February 25, 2004 4:04 AM
Subject: Re: [ANN] Apache Tomcat 3.3.2 Release Candidate 1


Bill Barker wrote:


- Original Message -
From: Henri Gomez [EMAIL PROTECTED]
To: Tomcat Developers List [EMAIL PROTECTED]
Sent: Tuesday, February 24, 2004 7:46 AM
Subject: Re: [ANN] Apache Tomcat 3.3.2 Release Candidate 1



Henri Gomez wrote:


Bill Barker wrote:



The Tomcat Team announces the immediate availability of Apache Tomcat
3.3.2 Release Candidate 1.
Downloads: http://www.apache.org/~larryi/tomcat-3.3.2-rc1

The Apache Tomcat Team


I make test on it and play with JMXSupport and noticed :

- XSL problem with HTTP connector :

[Error] common.xsl:14:80: Element type xsl:stylesheet must be
declared.


[Error] common.xsl:16:38: Element type xsl:import must be declared.
[Error] common.xsl:19:35: Element type xsl:param must be declared.
[Error] common.xsl:21:96: Element type xsl:variable must be declared.
[Error] common.xsl:24:28: Element type xsl:template must be declared.
[Error] common.xsl:25:30: Element type xsl:if must be declared.


It seems Costin patch the xsl sometimes ago at mx4j, so should we
included this modified version ?
- As many, in my web application,  I allready load HTTP/JRMP connector
(at special ports with custom login/pwd), but since JMXSupport is
loaded before my app, it didn't use my HTTP port settings.
What about set port to -1 by default in interceptors.xml to avoid
such problems ?
org.apache.coyote.tomcat3.CoyoteInterceptor2 didn't present many
informations via JMX, could we use a trick to present what is present
in processor class ?


I haven't looked at JMXSupport in a while, but it should be possible to
add

this in.  o.a.jk and o.a.c.http11 already have the self-registration
code.

It's just a matter of triggering it.
I could do it but wonder where to put the registration,
org.apache.coyote.tomcat3.Coyote2 ?


For 3.3.3 that is probably a good place for it.  However, I'm not very happy
about introducing a dependancy on c-m into the Connector this late in the
release cycle.  I'll stick it into JMXSupport for now, and we can re-visit
JMX in 3.3 again after the release (assuming that there is still interest
:).
I'd like to have it of course :)



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: TC 3.3.2 and JMX

2004-02-25 Thread Henri Gomez
Bill Barker wrote:

- Original Message -
From: Henri Gomez [EMAIL PROTECTED]
To: Tomcat Developers List [EMAIL PROTECTED]
Sent: Wednesday, February 25, 2004 4:50 AM
Subject: TC 3.3.2 and JMX


Any objection to set the default JMX port to -1 ?



None here.  Jk-Coyote is now the default, and it's connector support is
better.
Ok, I'll commit tomorrow

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


[PATCH] use ap_ prefixed PCRE functions

2004-02-25 Thread Guenter Knauf
Hi all,
I would like to get this patch into CVS in order to use PCRE on NetWare where only the 
ap_ prefixed pcre functions are exported. I have tested that the patch below compiles 
fine with NetWare, Linux and Win32.
As a positive side effect on Win32 the binary is about 24 kb smaller.

Guenter.

http://www.gknw.com/test/pcre_patch

###
--- ./jk/native2/include/jk_global.h.orig   2004-02-24 12:30:10.0 +0100
+++ ./jk/native2/include/jk_global.h2004-02-25 20:44:36.0 +0100
@@ -32,6 +32,7 @@
 #include apr_errno.h
 #include apr_version.h
 #include apr_time.h
+#include httpd.h
 
 #include stdio.h
 #include stdlib.h
###
--- ./jk/native2/common/jk_uriEnv.c.orig2004-02-24 12:30:10.0 +0100
+++ ./jk/native2/common/jk_uriEnv.c 2004-02-25 20:43:59.0 +0100
@@ -73,8 +73,8 @@
 uriEnv.parseName() parsing %s regexp\n,
 name);
 {
-regex_t *preg = (regex_t *)uriEnv-pool-calloc( env, uriEnv-pool, 
sizeof(regex_t));
-if (regcomp(preg, uriEnv-uri, REG_EXTENDED)) {
+apr_pool_t *preg = (apr_pool_t *)uriEnv-pool-calloc( env, uriEnv-pool, 
sizeof(regex_t));
+if (ap_pregcomp(preg, uriEnv-uri, REG_EXTENDED)) {
 env-l-jkLog(env, env-l, JK_LOG_DEBUG,
   uriEnv.parseName() error compiling regexp %s\n,
   uri);
@@ -138,8 +138,8 @@
 uriEnv.parseName() parsing regexp %s\n,
 uri);
 {
-regex_t *preg = (regex_t *)uriEnv-pool-calloc( env, uriEnv-pool, 
sizeof(regex_t));
-if (regcomp(preg, uriEnv-uri, REG_EXTENDED)) {
+apr_pool_t *preg = (apr_pool_t *)uriEnv-pool-calloc( env, uriEnv-pool, 
sizeof(regex_t));
+if (ap_pregcomp(preg, uriEnv-uri, REG_EXTENDED)) {
 env-l-jkLog(env, env-l, JK_LOG_DEBUG,

   uriEnv.parseName() error compiling regexp %s\n,
   uri);
###
--- ./jk/native2/common/jk_uriMap.c.orig2004-02-24 12:30:10.0 +0100
+++ ./jk/native2/common/jk_uriMap.c 2004-02-25 20:43:47.0 +0100
@@ -317,7 +317,7 @@
 if (uwr-regexp) {
 regex_t *r = (regex_t *)uwr-regexp;
 regmatch_t regm[10];
-if (!regexec(r, uri, r-re_nsub + 1, regm, 0)) {
+if (!ap_regexec(r, uri, r-re_nsub + 1, regm, 0)) {
 return uwr;
 }
 }


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core mbeans-descriptors.xml

2004-02-25 Thread remm
remm2004/02/25 13:08:08

  Modified:catalina/src/share/org/apache/catalina/core
mbeans-descriptors.xml
  Log:
  - Some setters and operations appear to be incorrect.
  - Note: some ajustments may ne needed in the admin webapp.
  
  Revision  ChangesPath
  1.28  +12 -32
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/mbeans-descriptors.xml
  
  Index: mbeans-descriptors.xml
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/mbeans-descriptors.xml,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- mbeans-descriptors.xml22 Dec 2003 17:47:43 -  1.27
  +++ mbeans-descriptors.xml25 Feb 2004 21:08:07 -  1.28
  @@ -369,14 +369,6 @@
type=org.apache.catalina.Valve/
   /operation
   
  -operation   name=setRealm
  -   description=Configures the realm for this webapp
  -   impact=ACTION returnType=void
  -  parameter name=realm  
  - description=Realm object
  - type=org.apache.catalina.Realm/
  -/operation
  -
   operation   name=reload
  description=Reload the webapplication
  impact=ACTION
  @@ -469,6 +461,10 @@
  description=Route used for load balancing
  type=java.lang.String/
 
  +attribute name=realm
  +   description=Associated realm.
  +   type=org.apache.catalina.Realm /
  +  
   attribute name=valveObjectNames
  description=ObjectNames for the valves associated with this 
container
  type=[Ljavax.management.ObjectName;
  @@ -483,14 +479,6 @@
type=org.apache.catalina.Container/
   /operation
   
  -operation   name=setRealm
  -   description=Configures the realm for this engine
  -   impact=ACTION returnType=void
  -  parameter name=realm  description=Realm object
  - type=org.apache.catalina.Realm/
  -/operation
  -
  -
   operation name=start description=Start impact=ACTION returnType=void /
   operation name=stop description=Stop impact=ACTION returnType=void /
 
  @@ -571,6 +559,10 @@
  description=Host aliases
  type=[Ljava.lang.String;/
 
  +attribute name=realm
  +   description=Associated realm.
  +   type=org.apache.catalina.Realm /
  +  
   attribute name=valveNames
  description=Return the MBean Names of the Valves associated with 
this Host
  type=[Ljava.lang.String;/
  @@ -610,13 +602,6 @@
type=java.lang.String/
   /operation
   
  -operation   name=setRealm
  -   description=Configures the realm for this host
  -   impact=ACTION returnType=void
  -  parameter name=realm  description=Realm object
  - type=org.apache.catalina.Realm/
  -/operation
  -
   operation name=start description=Start impact=ACTION returnType=void /
   operation name=stop description=Stop impact=ACTION returnType=void /
   operation name=init description=Init impact=ACTION returnType=void /
  @@ -706,6 +691,10 @@
  writeable=false /
 
   attribute name=container
  +   description=Servlet engine that will process the requests
  +   type=org.apache.catalina.Container /
  +
  +attribute name=containerName
  description=ObjectNames of the engine
  type=javax.management.ObjectName
  writeable=false /
  @@ -717,15 +706,6 @@
 parameter name=connector
description=Connector object
type=org.apache.catalina.Connector/
  -/operation
  -
  -operation name=setContainer
  -   description=Set the servlet engine that will process the requests 
  -   impact=ACTION
  -   returnType=void
  -  parameter name=engine
  - description=Engine object
  - type=org.apache.catalina.Container/
   /operation
   
   operation name=start description=Start impact=ACTION returnType=void /
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[PATCH] use PCRE on NetWare

2004-02-25 Thread Guenter Knauf
Hi,
if my last patch for PCRE functions gets accepted, 
this patch to the makefile makes usage of the PCRE on NetWare.

Guenter.

http://www.gknw.com/test/NWGNUmakefile.diff

###
--- ./jk/native2/server/apache2/NWGNUmakefile.orig  Thu Nov 20 01:26:30 2003
+++ ./jk/native2/server/apache2/NWGNUmakefile   Wed Feb 25 22:04:04 2004
@@ -59,9 +59,8 @@
-D__NOVELL_LIBC__ \
-D_POSIX_SOURCE \
-DHAS_APR \
+   -DHAS_PCRE \
$(EOLIST)
-
-#  -DHAS_PCRE
 
 #
 # These flags will be added to the link.opt file



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Steven Hatala/PH/Novartis is out of the office.

2004-02-25 Thread steven . hatala
I will be out of the office starting  02/25/2004 and will not return until
03/04/2004.

I will respond to your message when I return.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 27216] - Problem start app with document base containing spaces

2004-02-25 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=27216.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27216

Problem start app with document base containing spaces





--- Additional Comments From [EMAIL PROTECTED]  2004-02-25 21:45 ---
Don't use the config attribute, it will only cause trouble (Tomcat will use the
one in /META-INF/context.xml fine).

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 27216] - Problem start app with document base containing spaces

2004-02-25 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=27216.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27216

Problem start app with document base containing spaces

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID



--- Additional Comments From [EMAIL PROTECTED]  2004-02-25 21:47 ---
Resolving the report.
You should read the docs:
- war is for uploading a .war file
- you should use localWar instead (and config is not necessary)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 27122] - Opera/IE fail to access JSP pages of MIME type image/svg+xml when using SSL

2004-02-25 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=27122.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27122

Opera/IE fail to access JSP pages of MIME type image/svg+xml when using SSL





--- Additional Comments From [EMAIL PROTECTED]  2004-02-25 21:50 ---
OK, I finally got a chance to use openssl to try and manually run a couple of
HTTP transactions.  I found one header I thought may be a problem that's
included in Tomcat 5 but not Tomcat 4: Expires: Wed, 31 Dec 1969 19:00:00 EST.
 Unfortunately, updating it to a more realistic expires date didn't allow IE
to work.

I'm as stumped as everyone else is as to what might be causing this.  I think I
need to actually find a way to sniff out what IE is doing, but this definitely
isn't working with IE 6 SP1 and Tomcat 5.0.18 on this one SVG page.  (I'm
wondering if it has to do with the form authentication - when I created a test
JSP with no security constraints it worked through IE 6.)

As far as I can tell, though, Tomcat is generating the headers correctly... 
Although I can't figure out why IE would only not work with this page and work
fine on all the others and why back-revving to Tomcat 4 would solve the problem.

And now it appears that Opera 7.23 is working just fine on the page, as well as
Mozilla.  This is probably an Internet Explorer issue, not a Tomcat 5 issue, but
it still is *weird*.  Anyone who has any ideas to help debug what Internet
Explorer is doing would be appreciated - it always indicates that the Action
was canceled and says that the site was unavailable.

For reference:

TOMCAT 4.1.29 HEADERS:

HTTP/1.1 200 OK
Content-Type: image/svg+xml;charset=ISO-8859-1
Date: Wed, 25 Feb 2004 21:28:16 GMT
Server: Apache-Coyote/1.1
Connection: close

TOMCAT 5.0.18 HEADERS:

HTTP/1.1 200 OK
Pragma: No-cache
Cache-Control: no-cache
Expires: Wed, 31 Dec 1969 19:00:00 EST
Content-Type: image/svg+xml
Date: Wed, 25 Feb 2004 21:21:46 GMT
Server: Apache-Coyote/1.1
Connection: close

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



JkUriSet Possible Bug

2004-02-25 Thread NormW
Good morning All.
Excuse the repetition, but silence is only golden sometimes.
Location /jcvslet/* and [uri:/jcvslet/*] produce uri entries with
different MatchType's in mod_jk2, a fact now confirmed (via /jkstatus/) on
Linux and Windows platforms also, in addition to the NetWare previously
mentioned.

The documentation doesn't specifically state these two configurations should
be identical, but my logic says they should be. Rather than fill up Bugzilla
with unnecessary/invalid entries, I'm asking if someone could confirm they
should produce the same MatchType, and I will be only too happy to record it
properly.

Thanks in advance,
Norm
PS The format derived from [uri] works as expected, that via conf/jkuriset
does not.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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

2004-02-25 Thread remm
remm2004/02/25 14:05:43

  Modified:catalina/src/share/org/apache/catalina/startup
Bootstrap.java Catalina.java
  Log:
  - Fix bug 27127: Shutdown doesn't work with custom server port and non-default 
config file.
  
  Revision  ChangesPath
  1.15  +26 -2 
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/Bootstrap.java
  
  Index: Bootstrap.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/Bootstrap.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- Bootstrap.java19 Nov 2003 18:18:51 -  1.14
  +++ Bootstrap.java25 Feb 2004 22:05:43 -  1.15
  @@ -324,6 +324,30 @@
   }
   
   
  +   /**
  + * Stop the standlone server.
  + */
  +public void stopServer(String[] arguments)
  +throws Exception {
  +
  +Object param[];
  +Class paramTypes[];
  +if (arguments==null || arguments.length==0) {
  +paramTypes = null;
  +param = null;
  +} else {
  +paramTypes = new Class[1];
  +paramTypes[0] = arguments.getClass();
  +param = new Object[1];
  +param[0] = arguments;
  +}
  +Method method = 
  +catalinaDaemon.getClass().getMethod(stopServer, paramTypes);
  +method.invoke(catalinaDaemon, param);
  +
  +}
  +
  +
   /**
* Set flag.
*/
  @@ -397,7 +421,7 @@
   daemon.load(args);
   daemon.start();
   } else if (command.equals(stop)) {
  -daemon.stopServer();
  +daemon.stopServer(args);
   }
   } catch (Throwable t) {
   t.printStackTrace();
  
  
  
  1.26  +12 -4 
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/Catalina.java
  
  Index: Catalina.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/Catalina.java,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- Catalina.java 5 Feb 2004 05:27:31 -   1.25
  +++ Catalina.java 25 Feb 2004 22:05:43 -  1.26
  @@ -423,6 +423,14 @@
   
   
   public void stopServer() {
  +stopServer(null);
  +}
  +
  +public void stopServer(String[] arguments) {
  +
  +if (arguments != null) {
  +arguments(arguments);
  +}
   
   if( server == null ) {
   // Create and execute our Digester
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 27127] - Shutdown doesn't work with custom server port + non-default config file;

2004-02-25 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=27127.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27127

Shutdown doesn't work with custom server port + non-default config file;

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2004-02-25 22:06 ---
This is now fixed.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 27122] - Opera/IE fail to access JSP pages of MIME type image/svg+xml when using SSL

2004-02-25 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=27122.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27122

Opera/IE fail to access JSP pages of MIME type image/svg+xml when using SSL





--- Additional Comments From [EMAIL PROTECTED]  2004-02-25 22:07 ---
And we have finally found the problem.  In an attempt to try and work around 
some broken client (I can't be bothered to go back and see which one), Tomcat5 
started adding adding the don't cache headers even for SSL requests.  I'm in 
a very small minority of disliking this feature, so it is unlikely to change.

The work-around is to configure the Authenticator yourself:
Context path=/myapp docBase=myapp
  Valve className=org.apache.catalina.authenticator.FormAuthenticator
  disableProxyCaching=false /
/Context

Of course, if you're not using Form auth, then substitute the correct class in 
the example above.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Steven Hatala/PH/Novartis is out of the office.

2004-02-25 Thread steven . hatala
I will be out of the office starting  02/25/2004 and will not return until
03/04/2004.

I will respond to your message when I return.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/servlets WebdavServlet.java

2004-02-25 Thread markt
markt   2004/02/25 14:36:36

  Modified:catalina/src/share/org/apache/catalina/servlets
WebdavServlet.java
  Log:
  Fix bug 27190. Ensure webdav servlet returns correct status in response to MOVE 
request.
  
  Revision  ChangesPath
  1.12  +13 -12
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/servlets/WebdavServlet.java
  
  Index: WebdavServlet.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/servlets/WebdavServlet.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- WebdavServlet.java22 Feb 2004 22:34:16 -  1.11
  +++ WebdavServlet.java25 Feb 2004 22:36:35 -  1.12
  @@ -819,7 +819,7 @@
   String path = getRelativePath(req);
   
   if (copyResource(req, resp)) {
  -deleteResource(path, req, resp);
  +deleteResource(path, req, resp, false);
   }
   
   }
  @@ -1618,10 +1618,8 @@
   
   // Delete destination resource, if it exists
   if (exists) {
  -if (!deleteResource(destinationPath, req, resp)) {
  +if (!deleteResource(destinationPath, req, resp, true)) {
   return false;
  -} else {
  -resp.setStatus(WebdavStatus.SC_NO_CONTENT);
   }
   } else {
   resp.setStatus(WebdavStatus.SC_CREATED);
  @@ -1749,7 +1747,7 @@
   
   String path = getRelativePath(req);
   
  -return deleteResource(path, req, resp);
  +return deleteResource(path, req, resp, true);
   
   }
   
  @@ -1760,9 +1758,11 @@
* @param path Path of the resource which is to be deleted
* @param req Servlet request
* @param resp Servlet response
  + * @param setStatus Should the response status be set on successful
  + *  completion
*/
   private boolean deleteResource(String path, HttpServletRequest req,
  -   HttpServletResponse resp)
  +   HttpServletResponse resp, boolean setStatus)
   throws ServletException, IOException {
   
   if ((path.toUpperCase().startsWith(/WEB-INF)) ||
  @@ -1834,8 +1834,9 @@
   }
   
   }
  -
  -resp.setStatus(WebdavStatus.SC_NO_CONTENT);
  +if (setStatus) {
  +resp.setStatus(WebdavStatus.SC_NO_CONTENT);
  +}
   return true;
   
   }
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/servlets WebdavServlet.java

2004-02-25 Thread markt
markt   2004/02/25 14:38:14

  Modified:catalina/src/share/org/apache/catalina/servlets
WebdavServlet.java
  Log:
  Fix bug 27190. Ensure webdav servlet returns correct status in response to MOVE 
request.
  Ported from TC5.
  
  Revision  ChangesPath
  1.35  +13 -12
jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/servlets/WebdavServlet.java
  
  Index: WebdavServlet.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/servlets/WebdavServlet.java,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- WebdavServlet.java22 Feb 2004 22:35:35 -  1.34
  +++ WebdavServlet.java25 Feb 2004 22:38:14 -  1.35
  @@ -819,7 +819,7 @@
   String path = getRelativePath(req);
   
   if (copyResource(req, resp)) {
  -deleteResource(path, req, resp);
  +deleteResource(path, req, resp, false);
   }
   
   }
  @@ -1618,10 +1618,8 @@
   
   // Delete destination resource, if it exists
   if (exists) {
  -if (!deleteResource(destinationPath, req, resp)) {
  +if (!deleteResource(destinationPath, req, resp, true)) {
   return false;
  -} else {
  -resp.setStatus(WebdavStatus.SC_NO_CONTENT);
   }
   } else {
   resp.setStatus(WebdavStatus.SC_CREATED);
  @@ -1749,7 +1747,7 @@
   
   String path = getRelativePath(req);
   
  -return deleteResource(path, req, resp);
  +return deleteResource(path, req, resp, true);
   
   }
   
  @@ -1760,9 +1758,11 @@
* @param path Path of the resource which is to be deleted
* @param req Servlet request
* @param resp Servlet response
  + * @param setStatus Should the response status be set on successful
  + *  completion
*/
   private boolean deleteResource(String path, HttpServletRequest req,
  -   HttpServletResponse resp)
  +   HttpServletResponse resp, boolean setStatus)
   throws ServletException, IOException {
   
   if ((path.toUpperCase().startsWith(/WEB-INF)) ||
  @@ -1834,8 +1834,9 @@
   }
   
   }
  -
  -resp.setStatus(WebdavStatus.SC_NO_CONTENT);
  +if (setStatus) { 
  +resp.setStatus(WebdavStatus.SC_NO_CONTENT);
  +}
   return true;
   
   }
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 27122] - IE plugins cannot access components through Tomcat 5 over SSL

2004-02-25 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=27122.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27122

IE plugins cannot access components through Tomcat 5 over SSL

[EMAIL PROTECTED] changed:

   What|Removed |Added

Summary|Opera/IE fail to access JSP |IE plugins cannot access
   |pages of MIME type  |components through Tomcat 5
   |image/svg+xml when using SSL|over SSL



--- Additional Comments From [EMAIL PROTECTED]  2004-02-25 22:40 ---
Yep - that solved it.  Thanks!

(Also, I see that Tomcat 5.0.19 was released, so I tested it against that
version and got the same problem on Solaris.)

This is a bug with the way Internet Explorer handles plugins, then.  My guess is
that the file isn't cached so that when the plugin attempts to access it, it
doesn't receive anything causing it to silently fail.

I just tried uploading the Badgers-Badgers SWF and seeing if it would fail in
the same way, and it does.  So this happens with any IE plugin.

Mind you, the way Internet Explorer fails with this is weird.  It just indicates
that the resource is not available, despite all other indications being that it
is.  It also happens when you attempt to directly access the resource through
IE, it asks you to download the file and then tells you that it isn't available.
 It might be worth re-openning this bug and removing the no-cache behavior if
MSIE appears in the User-agent header.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-catalina/webapps/webdav/WEB-INF web.xml

2004-02-25 Thread markt
markt   2004/02/25 14:51:54

  Modified:webapps/webdav/WEB-INF web.xml
  Log:
  Final tweak for bug 27190. Improve comment regarding servlet mapping for webdav.
  
  Revision  ChangesPath
  1.4   +5 -2  jakarta-tomcat-catalina/webapps/webdav/WEB-INF/web.xml
  
  Index: web.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/webdav/WEB-INF/web.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- web.xml   2 Feb 2004 18:28:26 -   1.3
  +++ web.xml   25 Feb 2004 22:51:54 -  1.4
  @@ -33,8 +33,11 @@
 /servlet
   
 !-- The mapping for the webdav servlet --
  -  !-- Using /* as the mapping ensures that jasper etc are over-ridden and all
  -   requests are processed by the webdav servlet --
  +  !-- Using /* as the mapping ensures that jasper, welcome files etc are
  +   over-ridden and all requests are processed by the webdav servlet.
  +   This also overcomes a number of issues with some webdav clients
  +   (including MS Webfolders) that do not respond correctly
 to the
  +   redirects (302) that result from using a mapping of / --
 servlet-mapping
   servlet-namewebdav/servlet-name
   url-pattern/*/url-pattern
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 27190] - Redirect problem with the COPY / MOVE request handling in the WebDAV servlet

2004-02-25 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=27190.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27190

Redirect problem with the COPY / MOVE request handling in the WebDAV servlet

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2004-02-25 22:54 ---
The status code issue has now been fixed in CVS for TC5 and TC4. I have also 
improved the comment in the web.xml for TC5.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 22666] - Entered non us-ascii symbols into the form appead wrong in JSP

2004-02-25 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=22666.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22666

Entered non us-ascii symbols into the form appead wrong in JSP

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2004-02-25 23:08 ---
There have been a number of updates to TC4 and TC5 since this report was filed 
to address this type of issue. The updates are described below. As far as I 
can tell, the issues described in this report should now be resolved.

There are a number of situations where there may be a requirement to use non-
US ASCII characters in a URI. These include:
- Parameters in the query string
- Servlet paths

There is a standard for encoding URIs (http://www.w3.org/International/O-URL-
code.html) but this standard is not consistently followed by clients. This 
causes a number of problems.

The functionality provided by Tomcat (4 and 5) to handle this less than ideal 
situation is described below.

1. The Coyote HTTP/1.1 connector has a useBodyEncodingForURI attribute which 
if set to true will use the request body encoding to decode the URI query 
parameters.
  - The default value is true for TC4 (breaks spec but gives consistent 
behaviour across TC4 versions)
  - The default value is false for TC5 (spec compliant but there may be 
migration issues for some apps)
2. The Coyote HTTP/1.1 connector has a URIEncoding attribute which defaults to 
ISO-8859-1.
3. The parameters class (o.a.t.u.http.Parameters) has a QueryStringEncoding 
field which defaults to the URIEncoding. It must be set before the parameters 
are parsed to have an effect.

Things to note regarding the servlet API:
1. HttpServletRequest.setCharacterEncoding() normally only applies to the 
request body NOT the URI.
2. HttpServletRequest.getPathInfo() is decoded by the web container.
3. HttpServletRequest.getRequestURI() is not decoded by container.

Other tips:
1. Use POST with forms to return parameters as the parameters are then part of 
the request body.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Steven Hatala/PH/Novartis is out of the office.

2004-02-25 Thread steven . hatala
I will be out of the office starting  02/25/2004 and will not return until
03/04/2004.

I will respond to your message when I return.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[PATCH] use ap_ prefixed PCRE functions - take 2

2004-02-25 Thread Guenter Knauf
Hi all,
the previous patch seems to break non-Apache connectors, so here's another patch which 
shouldnt break anything unless you set the HAVE_AP_PCRE.

I would like to get this patch into CVS in order to use PCRE on NetWare where only the 
ap_ prefixed pcre functions are exported. I have tested that the patch below compiles 
fine with NetWare, Linux and Win32.
As a positive side effect on Win32 the binary is about 24 kb smaller.
Also this time tested that the isapi redirector still compiles fine.

thanks, Guenter.

http://www.gknw.com/test/pcre_patch2

###
--- ./jk/native2/common/jk_uriEnv.c.orig2004-02-24 12:30:10.0 +0100
+++ ./jk/native2/common/jk_uriEnv.c 2004-02-26 00:12:57.0 +0100
@@ -29,8 +29,16 @@
 #include jk_registry.h
 
 #ifdef HAS_PCRE
-#include pcre.h
-#include pcreposix.h
+  #ifdef HAS_AP_PCRE
+#include httpd.h
+#undef regcomp
+#define regcomp ap_pregcomp
+#define REGEX_POOL apr_pool_t
+  #else
+#include pcre.h
+#include pcreposix.h
+#define REGEX_POOL regex_t
+  #endif
 #endif
 
 /* return non-zero if pattern has any glob chars in it */
@@ -73,7 +81,7 @@
 uriEnv.parseName() parsing %s regexp\n,
 name);
 {
-regex_t *preg = (regex_t *)uriEnv-pool-calloc( env, uriEnv-pool, 
sizeof(regex_t));
+REGEX_POOL *preg = (REGEX_POOL *)uriEnv-pool-calloc( env, uriEnv-pool, 
sizeof(regex_t));
 if (regcomp(preg, uriEnv-uri, REG_EXTENDED)) {
 env-l-jkLog(env, env-l, JK_LOG_DEBUG,
   uriEnv.parseName() error compiling regexp %s\n,
@@ -138,7 +146,7 @@
 uriEnv.parseName() parsing regexp %s\n,
 uri);
 {
-regex_t *preg = (regex_t *)uriEnv-pool-calloc( env, uriEnv-pool, 
sizeof(regex_t));
+REGEX_POOL *preg = (REGEX_POOL *)uriEnv-pool-calloc( env, uriEnv-pool, 
sizeof(regex_t));
 if (regcomp(preg, uriEnv-uri, REG_EXTENDED)) {
 env-l-jkLog(env, env-l, JK_LOG_DEBUG,
   uriEnv.parseName() error compiling regexp %s\n,
###
--- ./jk/native2/common/jk_uriMap.c.orig2004-02-24 12:30:10.0 +0100
+++ ./jk/native2/common/jk_uriMap.c 2004-02-26 00:13:09.0 +0100
@@ -35,8 +35,14 @@
 #include jk_registry.h
 
 #ifdef HAS_PCRE
-#include pcre.h
-#include pcreposix.h
+  #ifdef HAS_AP_PCRE
+#include httpd.h
+#undef regexec
+#define regexec ap_regexec
+  #else
+#include pcre.h
+#include pcreposix.h
+  #endif
 #endif
 
 static INLINE const char *jk2_findExtension(jk_env_t *env, const char *uri);



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/resources messages.properties

2004-02-25 Thread kinman
kinman  2004/02/25 16:19:02

  Modified:jasper2/src/share/org/apache/jasper/compiler PageInfo.java
Parser.java
   jasper2/src/share/org/apache/jasper/resources
messages.properties
  Log:
  - According to the spec, it is a fatal error for the taglib directive to
appear after actions using the prefix introduced by it.
  
  Revision  ChangesPath
  1.40  +13 -3 
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/PageInfo.java
  
  Index: PageInfo.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/PageInfo.java,v
  retrieving revision 1.39
  retrieving revision 1.40
  diff -u -r1.39 -r1.40
  --- PageInfo.java 14 Aug 2003 21:16:52 -  1.39
  +++ PageInfo.java 26 Feb 2004 00:19:01 -  1.40
  @@ -81,6 +81,7 @@
   private HashMap taglibsMap;
   private HashMap jspPrefixMapper;
   private HashMap xmlPrefixMapper;
  +private HashMap nonCustomTagPrefixMap;
   private String defaultLanguage = java;
   private String language;
   private String defaultExtends = Constants.JSP_SERVLET_BASE;
  @@ -125,6 +126,7 @@
this.taglibsMap = new HashMap();
this.jspPrefixMapper = new HashMap();
this.xmlPrefixMapper = new HashMap();
  +this.nonCustomTagPrefixMap = new HashMap();
this.imports = new Vector();
   this.dependants = new Vector();
this.includePrelude = new Vector();
  @@ -656,5 +658,13 @@
   
   public boolean isELIgnored() {
return isELIgnored;
  +}
  +
  +public void putNonCustomTagPrefix(String prefix, Mark where) {
  +nonCustomTagPrefixMap.put(prefix, where);
  +}
  +
  +public Mark getNonCustomTagPrefix(String prefix) {
  +return (Mark) nonCustomTagPrefixMap.get(prefix);
   }
   }
  
  
  
  1.88  +10 -3 
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Parser.java
  
  Index: Parser.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Parser.java,v
  retrieving revision 1.87
  retrieving revision 1.88
  diff -u -r1.87 -r1.88
  --- Parser.java   15 Dec 2003 19:24:20 -  1.87
  +++ Parser.java   26 Feb 2004 00:19:01 -  1.88
  @@ -447,6 +447,11 @@
String uri = attrs.getValue(uri);
String prefix = attrs.getValue(prefix);
if (prefix != null) {
  +Mark prevMark = pageInfo.getNonCustomTagPrefix(prefix);
  +if (prevMark != null) {
  +err.jspError(reader.mark(), jsp.error.prefix.use_before_dcl,
  +prefix, prevMark.getFile(),  + prevMark.getLineNumber());
  +}
if (uri != null) {
String uriPrev = pageInfo.getURI(prefix);
if (uriPrev != null  !uriPrev.equals(uri)) {
  @@ -1336,6 +1341,8 @@
String uri = pageInfo.getURI(prefix);
   if (uri == null) {
reader.reset(start);
  +// Remember the prefix for later error checking
  +pageInfo.putNonCustomTagPrefix(prefix, reader.mark());
return false;
}
   
  
  
  
  1.141 +2 -1  
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/resources/messages.properties
  
  Index: messages.properties
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/resources/messages.properties,v
  retrieving revision 1.140
  retrieving revision 1.141
  diff -u -r1.140 -r1.141
  --- messages.properties   18 Feb 2004 21:22:21 -  1.140
  +++ messages.properties   26 Feb 2004 00:19:01 -  1.141
  @@ -405,3 +405,4 @@
   jsp.error.nested_jsproot=Nested lt;jsp:rootgt;
   jsp.error.unbalanced.endtag=The end tag \lt;/{0}\ is unbalanced
   jsp.error.invalid.bean=The value for the useBean class attribute {0} is invalid.
  +jsp.error.prefix.use_before_dcl=The prefix {0} specified in this tag directive has 
been previously used by an action in file {1} line {2}.
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Steven Hatala/PH/Novartis is out of the office.

2004-02-25 Thread steven . hatala
I will be out of the office starting  02/25/2004 and will not return until
03/04/2004.

I will respond to your message when I return.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Steven Hatala/PH/Novartis is out of the office.

2004-02-25 Thread steven . hatala
I will be out of the office starting  02/25/2004 and will not return until
03/04/2004.

I will respond to your message when I return.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Steven Hatala/PH/Novartis is out of the office.

2004-02-25 Thread steven . hatala
I will be out of the office starting  02/25/2004 and will not return until
03/04/2004.

I will respond to your message when I return.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Steven Hatala/PH/Novartis is out of the office.

2004-02-25 Thread steven . hatala
I will be out of the office starting  02/25/2004 and will not return until
03/04/2004.

I will respond to your message when I return.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[GUMP@lsd]: jakarta-tomcat-5/jakarta-tomcat-5 failed

2004-02-25 Thread bobh
To whom it may engage...

This is an automated request, but not an unsolicited one. For help understanding the 
request please visit http://jakarta.apache.org/gump/nagged.html, and/or contact [EMAIL 
PROTECTED]

Project jakarta-tomcat-5 has an issue affecting it's community integration, and has 
been outstanding for 5 runs. The current state is 'Failed', for reason 'Build Failed'

Full details are available at: 
http://lsd.student.utwente.nl/gump/jakarta-tomcat-5/jakarta-tomcat-5.html, however 
some snippets follow:

-  -  -  -  - -- --  G U M P

Gump provided these annotations:

 - Warning - Jar [/data3/gump/jakarta-tomcat-5/dist/server/lib/servlets-default.jar] 
identifier set to jar basename: [servlets-default.jar]
 - Warning - Jar [/data3/gump/jakarta-tomcat-5/dist/common/lib/naming-common.jar] 
identifier set to jar basename: [naming-common.jar]
 - Warning - Jar [/data3/gump/jakarta-tomcat-5/dist/common/lib/naming-resources.jar] 
identifier set to jar basename: [naming-resources.jar]
 - Warning - Jar [/data3/gump/jakarta-tomcat-5/dist/server/lib/catalina.jar] 
identifier set to jar basename: [catalina.jar]
 - Warning - Jar [/data3/gump/jakarta-tomcat-5/dist/bin/bootstrap.jar] identifier set 
to jar basename: [bootstrap.jar]
 - Warning - Jar [/data3/gump/jakarta-tomcat-5/dist/server/lib/servlets-common.jar] 
identifier set to jar basename: [servlets-common.jar]
 - Warning - Jar [/data3/gump/jakarta-tomcat-5/dist/server/lib/servlets-invoker.jar] 
identifier set to jar basename: [servlets-invoker.jar]
 - Info - Dependency on javamail exists, no need to add for property mail.jar.
 - Info - Dependency on jaf exists, no need to add for property activation.jar.
 - Info - Dependency on jakarta-servletapi-5-servlet exists, no need to add for 
property servlet-api.jar.
 - Info - Dependency on jakarta-servletapi-5-jsp exists, no need to add for property 
jsp-api.jar.
 - Info - Dependency on xml-xerces exists, no need to add for property xercesImpl.jar.
 - Info - Dependency on xml-xerces exists, no need to add for property 
xmlParserAPIs.jar.
 - Info - Dependency on jakarta-tomcat-util exists, no need to add for property 
tomcat-util.jar.
 - Info - Dependency on commons-el exists, no need to add for property commons-el.jar.
 - Info - Dependency on commons-logging exists, no need to add for property 
commons-logging-api.jar.
 - Info - Dependency on commons-modeler exists, no need to add for property 
commons-modeler.jar.
 - Info - Dependency on ant exists, no need to add for property ant.home.
 - Info - Dependency on jsse exists, no need to add for property jsse.home.
 - Info - Dependency on jmx exists, no need to add for property jmx.home.
 - Info - Dependency on jmx exists, no need to add for property jmx.jar.
 - Info - Dependency on jmx exists, no need to add for property jmx-tools.jar.
 - Info - Dependency on jndi exists, no need to add for property jndi.home.
 - Info - Dependency on jakarta-regexp exists, no need to add for property regexp.home.
 - Info - Dependency on jakarta-regexp exists, no need to add for property regexp.jar.
 - Info - Dependency on javamail exists, no need to add for property mail.home.
 - Info - Dependency on jakarta-tomcat-coyote exists, no need to add for property 
tomcat-coyote.home.
 - Info - Dependency on jakarta-tomcat-jasper_tc5 exists, no need to add for property 
jasper.home.
 - Info - Dependency on jaf exists, no need to add for property activation.home.
 - Info - Dependency on commons-modeler exists, no need to add for property 
commons-modeler.home.
 - Info - Dependency on commons-daemon exists, no need to add for property 
commons-daemon.jsvc.tar.gz.
 - Info - Dependency on jakarta-struts exists, no need to add for property struts.home.
 - Error - Failed with reason build failed


-  -  -  -  - -- --  G U M P
Gump performed this work:

Work Name: build_jakarta-tomcat-5_jakarta-tomcat-5 (Type: Build)
State: Failed
Elapsed: 0 hours, 1 minutes, 47 seconds
Command Line: java -Djava.awt.headless=true 
-Xbootclasspath/p:/data3/gump/xml-xerces2/java/build/xercesImpl.jar:/data3/gump/xml-xerces2/java/build/xmlParserAPIs.jar:/data3/gump/xml-xalan/java/build/xalan-unbundled.jar:/data3/gump/xml-commons/java/external/build/xml-apis.jar
 org.apache.tools.ant.Main -Dbuild.clonevm=true 
-Dgump.merge=/data3/gump/gump/work/merge.xml -Dbuild.sysclasspath=only 
-Dtomcat33.home=*Unset* 
-Djsp-api.jar=/data3/gump/jakarta-servletapi-5/jsr152/dist/lib/jsp-api.jar 
-Dtomcat-coyote.home=/data3/gump/jakarta-tomcat-connectors/coyote 
-Djndi.jar=/data3/gump/opt/jndi1_2_1/lib/jndi.jar 
-Dsite2.home=/data3/gump/jakarta-site2 
-DxmlParserAPIs.jar=/data3/gump/xml-xerces2/java/build/xercesImpl.jar 
-Dactivation.home=/data3/gump/opt/jaf-1.0.1 -Djmx.home=/data3/gump/opt/jmx-1_2-ri 
-Djdbc20ext.jar=/data3/gump/opt/jdbc2_0/jdbc2_0-stdext.jar 
-Djmx-tools.jar=/data3/gump/opt/jmx-1_2-ri/lib/jmxtools.jar 

cvs commit: jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat3 CoyoteInterceptor2.java

2004-02-25 Thread billbarker
billbarker2004/02/25 22:00:29

  Modified:coyote/src/java/org/apache/coyote/tomcat3
CoyoteInterceptor2.java
  Log:
  Save off the protocol for use by JMXSupport.
  
  Revision  ChangesPath
  1.19  +5 -1  
jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat3/CoyoteInterceptor2.java
  
  Index: CoyoteInterceptor2.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat3/CoyoteInterceptor2.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- CoyoteInterceptor2.java   24 Feb 2004 08:54:30 -  1.18
  +++ CoyoteInterceptor2.java   26 Feb 2004 06:00:27 -  1.19
  @@ -80,6 +80,7 @@
   private String processorClassName=org.apache.coyote.http11.Http11Protocol;
   Tomcat3Adapter adapter;
   ProtocolHandler proto;
  +int protocolNote;
   
   public CoyoteInterceptor2() {
super();
  @@ -112,11 +113,14 @@
*/
   public void engineInit(ContextManager cm) throws TomcatException {
super.engineInit( cm );
  -
  +
  +protocolNote = cm.getNoteId(ContextManager.MODULE_NOTE,
  + coyote.protocol);
   adapter=new Tomcat3Adapter(cm);
   try {
   Class c=Class.forName(processorClassName);
   proto=(ProtocolHandler)c.newInstance();
  + setNote(protocolNote, proto);
   } catch( Exception ex ) {
   ex.printStackTrace();
   }
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: jakarta-tomcat/proposals/JmxSupport/WEB-INF/classes/org/apache/tomcat/modules/config DynamicMBeanProxy.java MxInterceptor.java

2004-02-25 Thread billbarker
billbarker2004/02/25 22:04:41

  Modified:proposals/JmxSupport build.xml
   proposals/JmxSupport/WEB-INF interceptors.xml
   proposals/JmxSupport/WEB-INF/classes/org/apache/tomcat/modules/config
DynamicMBeanProxy.java MxInterceptor.java
  Log:
  Register the Coyote Protocol and sub-components.
  
  Also updating license to Apache v2.0.
  
  Revision  ChangesPath
  1.4   +19 -3 jakarta-tomcat/proposals/JmxSupport/build.xml
  
  Index: build.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat/proposals/JmxSupport/build.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- build.xml 11 Feb 2004 16:24:14 -  1.3
  +++ build.xml 26 Feb 2004 06:04:41 -  1.4
  @@ -1,5 +1,20 @@
   ?xml version=1.0? 
  -project name=PasswordPrompter default=main basedir=.
  +!--
  +   Copyright 1999-2004 The Apache Software Foundation
  + 
  +   Licensed under the Apache License, Version 2.0 (the License);
  +   you may not use this file except in compliance with the License.
  +   You may obtain a copy of the License at
  + 
  +   http://www.apache.org/licenses/LICENSE-2.0
  + 
  +   Unless required by applicable law or agreed to in writing, software
  +   distributed under the License is distributed on an AS IS BASIS,
  +   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  +   See the License for the specific language governing permissions and
  +   limitations under the License.
  +--
  +project name=JMXSupport default=main basedir=.
   
 !-- Compilation properties --
   
  @@ -20,7 +35,7 @@
   
 property name=jmx.jar 
location=${jakarta-tomcat-connectors}/lib/mx4j-jmx.jar/
 property name=jmxtools.jar 
location=${jakarta-tomcat-connectors}/lib/mx4j-tools.jar/
  -
  +  property name=commons-modeler.jar 
location=${commons-modeler.lib}/commons-modeler.jar /
 property name=tomcat.classes.dir location=${tomcat.build}/classes/
 property name=tomcat.classes value=${tomcat.classes.dir}/
   
  @@ -62,6 +77,7 @@
  classpath location=${jmx.jar}/
  classpath location=${jmxtools.jar}/
  classpath location=${commons-logging.jar}/
  +   classpath location=${commons-modeler.jar} /
   /javac
   
   mkdir dir=${tomcat.build.modules}/JmxSupport/WEB-INF/lib/
  @@ -69,7 +85,7 @@
   copy todir=${tomcat.build.modules}/JmxSupport/WEB-INF/lib file=${jmx.jar}/
   copy todir=${tomcat.build.modules}/JmxSupport/WEB-INF/lib 
file=${jmxtools.jar}/
   copy todir=${tomcat.build.modules}/JmxSupport/WEB-INF/lib 
file=${commons-logging.jar}/
  -
  +copy todir=${tomcat.build.modules}/JmxSupport/WEB-INF/lib 
file=${commons-modeler.jar}/
   jar jarFile=${tomcat.build.modules}/JmxSupport/WEB-INF/lib/JmxSupport.jar
basedir=${tomcat.build.modules}/JmxSupport/WEB-INF/classes/
   
  
  
  
  1.3   +16 -1 jakarta-tomcat/proposals/JmxSupport/WEB-INF/interceptors.xml
  
  Index: interceptors.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat/proposals/JmxSupport/WEB-INF/interceptors.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- interceptors.xml  13 Oct 2003 09:45:13 -  1.2
  +++ interceptors.xml  26 Feb 2004 06:04:41 -  1.3
  @@ -1,4 +1,19 @@
   ?xml version=1.0 encoding=UTF-8?
  +!--
  +   Copyright 1999-2004 The Apache Software Foundation
  + 
  +   Licensed under the Apache License, Version 2.0 (the License);
  +   you may not use this file except in compliance with the License.
  +   You may obtain a copy of the License at
  + 
  +   http://www.apache.org/licenses/LICENSE-2.0
  + 
  +   Unless required by applicable law or agreed to in writing, software
  +   distributed under the License is distributed on an AS IS BASIS,
  +   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  +   See the License for the specific language governing permissions and
  +   limitations under the License.
  +--
   Server
   module name=MxInterceptor 
javaClass=org.apache.tomcat.modules.config.MxInterceptor /
   ContextManager
  @@ -27,7 +42,7 @@
   use the http adaptor
   
   --
  -MxInterceptor port=8999 authentication=basic 
  +MxInterceptor port=-1 authentication=basic 
  user=admin password=changeit
   /
   /ContextManager
  
  
  
  1.3   +13 -56
jakarta-tomcat/proposals/JmxSupport/WEB-INF/classes/org/apache/tomcat/modules/config/DynamicMBeanProxy.java
  
  Index: DynamicMBeanProxy.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat/proposals/JmxSupport/WEB-INF/classes/org/apache/tomcat/modules/config/DynamicMBeanProxy.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u 

cvs commit: jakarta-tomcat/proposals/StreamHandler/WEB-INF/classes/org/apache/tomcat/util/net StreamHandlerFactory.java

2004-02-25 Thread billbarker
billbarker2004/02/25 22:37:28

  Modified:proposals/Log4jHelper build.xml
   proposals/Log4jHelper/WEB-INF interceptors.xml
   
proposals/Log4jHelper/WEB-INF/classes/org/apache/tomcat/modules/loggers/log4j
CRS.java Log4jHelper.java
   proposals/PasswordPrompter build.xml
   proposals/PasswordPrompter/WEB-INF interceptors.xml
   
proposals/PasswordPrompter/WEB-INF/classes/org/apache/tomcat/modules/config
PasswordPrompter.java
   proposals/PasswordPrompter/WEB-INF/classes/org/apache/tomcat/util/io
Prompter.java PrompterException.java
   proposals/StreamHandler build.xml
   proposals/StreamHandler/WEB-INF interceptors.xml
   proposals/StreamHandler/WEB-INF/classes/org/apache/tomcat/modules/config
StreamHandler.java
   proposals/StreamHandler/WEB-INF/classes/org/apache/tomcat/util/net
StreamHandlerFactory.java
  Log:
  Update to the Apache License v2.0.
  
  Revision  ChangesPath
  1.2   +15 -0 jakarta-tomcat/proposals/Log4jHelper/build.xml
  
  Index: build.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat/proposals/Log4jHelper/build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.xml 7 Apr 2003 00:29:22 -   1.1
  +++ build.xml 26 Feb 2004 06:37:28 -  1.2
  @@ -1,4 +1,19 @@
   ?xml version=1.0? 
  +!--
  +   Copyright 2001-2004 The Apache Software Foundation
  + 
  +   Licensed under the Apache License, Version 2.0 (the License);
  +   you may not use this file except in compliance with the License.
  +   You may obtain a copy of the License at
  + 
  +   http://www.apache.org/licenses/LICENSE-2.0
  + 
  +   Unless required by applicable law or agreed to in writing, software
  +   distributed under the License is distributed on an AS IS BASIS,
  +   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  +   See the License for the specific language governing permissions and
  +   limitations under the License.
  +--
   project name=Log4jHelper default=main basedir=.
   
 !-- Compilation properties --
  
  
  
  1.2   +15 -0 jakarta-tomcat/proposals/Log4jHelper/WEB-INF/interceptors.xml
  
  Index: interceptors.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat/proposals/Log4jHelper/WEB-INF/interceptors.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- interceptors.xml  7 Apr 2003 00:29:22 -   1.1
  +++ interceptors.xml  26 Feb 2004 06:37:28 -  1.2
  @@ -1,4 +1,19 @@
   ?xml version=1.0 encoding=UTF-8?
  +!--
  +   Copyright 2001-2004 The Apache Software Foundation
  + 
  +   Licensed under the Apache License, Version 2.0 (the License);
  +   you may not use this file except in compliance with the License.
  +   You may obtain a copy of the License at
  + 
  +   http://www.apache.org/licenses/LICENSE-2.0
  + 
  +   Unless required by applicable law or agreed to in writing, software
  +   distributed under the License is distributed on an AS IS BASIS,
  +   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  +   See the License for the specific language governing permissions and
  +   limitations under the License.
  +--
   Server
   module name=Log4jHelper 
javaClass=org.apache.tomcat.modules.loggers.log4j.Log4jHelper /
  
  
  
  1.3   +13 -55
jakarta-tomcat/proposals/Log4jHelper/WEB-INF/classes/org/apache/tomcat/modules/loggers/log4j/CRS.java
  
  Index: CRS.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat/proposals/Log4jHelper/WEB-INF/classes/org/apache/tomcat/modules/loggers/log4j/CRS.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- CRS.java  29 Sep 2003 07:39:48 -  1.2
  +++ CRS.java  26 Feb 2004 06:37:28 -  1.3
  @@ -1,61 +1,19 @@
   /*
  - * 
  - *
  - * The Apache Software License, Version 1.1
  - *
  - * Copyright (c) 2001 The Apache Software Foundation.  All rights
  - * reserved.
  - *
  - * Redistribution and use in source and binary forms, with or without
  - * modification, are permitted provided that the following conditions
  - * are met:
  - *
  - * 1. Redistributions of source code must retain the above copyright
  - *notice, this list of conditions and the following disclaimer.
  - *
  - * 2. Redistributions in binary form must reproduce the above copyright
  - *notice, this list of conditions and the following disclaimer in
  - *the documentation and/or other materials provided with the
  - *distribution.
  - *
  - * 3. The 

Re: Apache 2 module hook priorities, was: Help required on Apache from scratch...

2004-02-25 Thread Glenn Nielsen
Henri,

Perhaps we should bounce these last two messages to tomcat-dev
and continue the discussion there.

Resolving this problem will require a great deal of painstaking
work.  Setting up test conditions to test mod_jk 1.2/2 interaction
with other core apache modules and commonly used ones like mod_dav.
Once all the test conditions are setup then we will have to review
the hook priority for these modules and try to determine the best
hook settings for mod_jk or where we need to add code to handle exceptions
in mod_jk.  Then test again until all of our test conditions pass.

Regards,

Glenn

On Wed, Feb 25, 2004 at 06:12:23PM +0100, Henri Gomez wrote:
 
 Henri,
 
 Getting the priority set correctly for hooks in JK2 is sticky.
 You might take a look at what I did setting hook priority in
 mod_jk 1.2 so that it would work correctly with mod_dir. My
 cvs commit messages might be helpful from 
 jakarta-tomcat-connectors/jk/native/apache-2.0/mod_jk.c .
 
 Here is the page the docs how hook priority works:
 
 http://httpd.apache.org/docs-2.0/developer/hooks.html
 
 It all comes down to carefully reviewing the hook priority of other
 modules and how those modules interact with JK2. Then setting the
 hook priorities in JK2.
 
 It seems we should add more code in jk2_map_to_storage(...)
 
 Here's what you put in jk
 
 
 Correct ?
 
  if(!r-proxyreq  !apr_table_get(r-notes, JK_WORKER_ID)) {
jk_server_conf_t *conf =
(jk_server_conf_t 
 *)ap_get_module_config(r-server-module_config,
 jk_module);
 
if(conf) {
char *worker;
if( (r-handler != NULL ) 
(! strcmp( r-handler, JK_HANDLER ) )) {
/* Somebody already set the handler, probably manual 
 config
 * or native configuration, no need for extra 
 overhead
 */
jk_log(conf-log, JK_LOG_DEBUG,
   Manually mapped, no need to call 
 uri_to_worker\n);
return DECLINED;
}
worker = map_uri_to_worker(conf-uw_map, r-uri, 
 conf-log);
 
if(worker) {
r-handler=apr_pstrdup(r-pool,JK_HANDLER);
apr_table_setn(r-notes, JK_WORKER_ID, worker);
 
/* This could be a sub-request, possibly from 
 mod_dir */
if(r-main)
apr_table_setn(r-main-notes, JK_WORKER_ID, 
 worker);
 
}
}
}
--
Glenn Nielsen [EMAIL PROTECTED] | /* Spelin donut madder|
MOREnet System Programming   |  * if iz ina coment.  |
Missouri Research and Education Network  |  */   |
--

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]