DO NOT REPLY [Bug 44724] CGIServlet: undesirable encoding conversion of CGI output

2008-04-01 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=44724





--- Comment #2 from Max Zinal <[EMAIL PROTECTED]>  2008-04-01 23:48:53 PST ---
The testcase seems to be working properly in Tomcat 6.0.16.
The problem described can be reproduced only with Tomcat 5.0 and 5.5 running
Sun JRE 1.4.

Thanks to Mark Tomas for his help.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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



Re: HttpOnly and Kauai

2008-04-01 Thread Jim Manico
Understood. All I am really asking/begging/patching for is a HttpOnly 
option for the JSESSIONID cookie.


- Jim

Guenter Knauf wrote:

Hi,
 

we can't do this one
https://issues.apache.org/bugzilla/attachment.cgi?id=21741



 

that's a servlet spec class



well, that wasnt clever now!
You should first have commited, then made a trip to Kauai with your 
laptop, and then from there at the Tomcat coding party via wireless 
*just found* that this is invalid, told him personally, and then 
revoke the commit again.!
  

LOL! I'll keep that in mind for the next time :)

cheers, Guen.



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



  



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




--
Jim Manico
Senior Application Security Engineer
Aspect Security


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



Re: HttpOnly and Kauai

2008-04-01 Thread Filip Hanik - Dev Lists

Guenter Knauf wrote:

Hi,
  

we can't do this one
https://issues.apache.org/bugzilla/attachment.cgi?id=21741



  

that's a servlet spec class



well, that wasnt clever now!
You should first have commited, then made a trip to Kauai with your laptop, and 
then from there at the Tomcat coding party via wireless *just found* that this 
is invalid, told him personally, and then revoke the commit again.!
  

LOL! I'll keep that in mind for the next time :)

cheers, Guen.



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



  



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



Re: HttpOnly and Kauai

2008-04-01 Thread Guenter Knauf
Hi,
> we can't do this one
> https://issues.apache.org/bugzilla/attachment.cgi?id=21741

> that's a servlet spec class

well, that wasnt clever now!
You should first have commited, then made a trip to Kauai with your laptop, and 
then from there at the Tomcat coding party via wireless *just found* that this 
is invalid, told him personally, and then revoke the commit again.!

cheers, Guen.



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



Re: HttpOnly and Kauai

2008-04-01 Thread Filip Hanik - Dev Lists

we can't do this one
https://issues.apache.org/bugzilla/attachment.cgi?id=21741

that's a servlet spec class

Filip

Jim Manico wrote:
Tequila, tents, food and wireless access provided!!! Tomcat coding 
party at Jim's house!


nice, since we work RTC (Review-Then-Commit) you're gonna have to 
extend

 this invitation to everyone who votes for the patch's inclusion :)



Lol

 

 Filip



Beer provided ?

 

 Jim Manico wrote:
 > Gentlemen,
 >
 > As a blatant bribery attempt - I live and work on the island of 
Kauai

 > in Hawaii.
 >
 > Whomever commits this
 > *https://issues.apache.org/bugzilla/show_bug.cgi?id=44382*
 >
 > Will win a free stay in my guest house. :) Food included. Zip code
 > 96703, <5 minutes from the beach.
 >
 > =D
 >

   
 

  

 >
 > No virus found in this incoming message.
 > Checked by AVG.
 > Version: 7.5.519 / Virus Database: 269.22.1/1352 - Release Date: 
3/31/2008 10:13 AM

 >


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





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

  





No virus found in this incoming message.
Checked by AVG. 
Version: 7.5.519 / Virus Database: 269.22.1/1352 - Release Date: 3/31/2008 10:13 AM
  



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



DO NOT REPLY [Bug 44738] New: mod_jk-1.2.26 does not work in virtualhost

2008-04-01 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=44738

   Summary: mod_jk-1.2.26 does not work in virtualhost
   Product: Tomcat 6
   Version: unspecified
  Platform: Sun
OS/Version: Solaris
Status: NEW
  Severity: normal
  Priority: P2
 Component: Native:JK
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


Created an attachment (id=21760)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=21760)
This patch handles JkOptions correctly

My site works on Apache 2.0.61 + mod_jk-1.2.23 + Tomcat.
I upgrade my site to Apache 2.0.63 + mod_jk-1.2.26 + Tomcat,
and it does not work.
mod_jk logs following messages:

  [Tue Apr 01 19:21:55.450 2008] [20648:27] [error] jk_handler::mod_jk.c
(2223): Could not init service for worker=customer

An abobe trouble causes by a bug of merge_jk_config(). 
My httpd.conf is like a following:

  JkOptions   +ForwardURIProxy
  
JkOptions   +ForwardURICompat
  

In server settings, "options" variable is JK_OPT_FWDURIPROXY (0x0004).
In virtualhost settings, "options" variable is JK_OPT_FWDURICOMPAT (0x0001).
merge_jk_config() merges both variables to 0x0005
and it causes an error of init_ws_service().


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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



DO NOT REPLY [Bug 44721] jsp expression not returning proper value for null pointer

2008-04-01 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=44721


Mark Thomas <[EMAIL PROTECTED]> changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Comment #1 from Mark Thomas <[EMAIL PROTECTED]>  2008-04-01 16:43:55 PST ---
<%=CTOrigURL%> when CTOrigURL is null has always, correctly, resulted in "null"
rather than "". This is true for TC5 and TC6.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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



DO NOT REPLY [Bug 44637] JspValueExpression.getType() returns Object. class instead of correct Type

2008-04-01 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=44637


Mark Thomas <[EMAIL PROTECTED]> changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||INVALID




--- Comment #4 from Mark Thomas <[EMAIL PROTECTED]>  2008-04-01 16:28:18 PST ---
I have traced this call and, as far as I can tell, the Tomcat code is just a
thin veneer around some more MyFaces code - specifcialy
org.apache.myfaces.el.unified.resolver.FacesCompositeELResolver.getType()

I can't see anything obviously wrong with what Tomcat is passing back so at the
moment this looks like a MyFaces issue.

I am no JSF expert so if the MyFaces folks say this is a Tomcat issue I am more
than prepared to believe them but I am going to need some clear pointers to
where Tomcat isn't behaving in order to look into any fix.

I am marking this as invalid whilst the my faces folks look at it. Feel free to
re-open this it it is found to be a Tomcat bug.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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



DO NOT REPLY [Bug 44724] CGIServlet: undesirable encoding conversion of CGI output

2008-04-01 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=44724


Mark Thomas <[EMAIL PROTECTED]> changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WORKSFORME




--- Comment #1 from Mark Thomas <[EMAIL PROTECTED]>  2008-04-01 14:54:10 PST ---
Your test case works correctly for me.

I can't work out what code you are looking at. Where is the conversion you
refer to? The headers are read with a Reader but the body is just copied byte
for byte from the input stream to the output stream.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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



DO NOT REPLY [Bug 44679] Cookies are treated differently between 6.0. 16 and 6.0.14

2008-04-01 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=44679





--- Comment #8 from David Lewis <[EMAIL PROTECTED]>  2008-04-01 12:06:32 PST ---
OK ... thanks!

I see that at the bottom of section 2.2 of RFC 2616 (HTTP/1.1)

   Many HTTP/1.1 header field values consist of words separated by LWS
   or special characters. These special characters MUST be in a quoted
   string to be used within a parameter value (as defined in section
   3.6).

   token  = 1*
   separators = "(" | ")" | "<" | ">" | "@"
  | "," | ";" | ":" | "\" | <">
  | "/" | "[" | "]" | "?" | "="
  | "{" | "}" | SP | HT

http://www.w3.org/Protocols/rfc2616/rfc2616-sec2.html#sec2.2


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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



DO NOT REPLY [Bug 44725] Tomcat delete context.xml and web. xml if re-naming Folders in CONF

2008-04-01 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=44725


Mark Thomas <[EMAIL PROTECTED]> changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Comment #1 from Mark Thomas <[EMAIL PROTECTED]>  2008-04-01 11:47:52 PST ---
Only if you do this whilst Tomcat is running and only if Tomcat is configured
to monitor those configuration files for changes. It will probably (I haven't
tested it) be perceived as the removal of every webapp. This would certainly
explain what you see.

Tomcat does not support changing the name of a host in this way.

For a range of alternative approaches to achieve what you want to do, please
ask on the users list.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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



DO NOT REPLY [Bug 44728] add MarkMail to the list of mailing list archives

2008-04-01 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=44728


Mark Thomas <[EMAIL PROTECTED]> changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Comment #1 from Mark Thomas <[EMAIL PROTECTED]>  2008-04-01 11:40:54 PST ---
Done. Will be public as soon as sites sync.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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



svn commit: r643506 - in /tomcat/site/trunk: docs/lists.html xdocs/lists.xml

2008-04-01 Thread markt
Author: markt
Date: Tue Apr  1 11:42:22 2008
New Revision: 643506

URL: http://svn.apache.org/viewvc?rev=643506&view=rev
Log:
Add MarkMail to the lists of archives. Fix bug 44728.

Modified:
tomcat/site/trunk/docs/lists.html
tomcat/site/trunk/xdocs/lists.xml

Modified: tomcat/site/trunk/docs/lists.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/lists.html?rev=643506&r1=643505&r2=643506&view=diff
==
--- tomcat/site/trunk/docs/lists.html (original)
+++ tomcat/site/trunk/docs/lists.html Tue Apr  1 11:42:22 2008
@@ -306,10 +306,11 @@
  
   Archives:
   
-http://mail-archives.apache.org/mod_mbox/tomcat-users/";>
-at Apache,
-http://marc.theaimsgroup.com/?l=tomcat-user";>at MARC (searchable)
-, and at http://www.nabble.com/Tomcat---User-f342.html";>Nabble.
+at http://mail-archives.apache.org/mod_mbox/tomcat-users/";>
+Apache, at
+http://marc.theaimsgroup.com/?l=tomcat-user";>MARC 
(searchable),
+at http://markmail.org/list/org.apache.tomcat.user/";>MarkMail
+and at http://www.nabble.com/Tomcat---User-f342.html";>Nabble.
   
  
 
@@ -405,11 +406,11 @@
  
   Archives:
   
-http://mail-archives.apache.org/mod_mbox/tomcat-dev/";>
-at Apache,
-http://marc.theaimsgroup.com/?l=tomcat-dev";>at MARC (searchable)
- and at
-http://www.nabble.com/Tomcat---Dev-f341.html";>Nabble.
+at http://mail-archives.apache.org/mod_mbox/tomcat-dev/";>
+Apache, at
+http://marc.theaimsgroup.com/?l=tomcat-dev";>MARC (searchable) 
,
+at http://markmail.org/list/org.apache.tomcat.dev/";>MarkMail
+and at http://www.nabble.com/Tomcat---Dev-f341.html";>Nabble.
   
  
 

Modified: tomcat/site/trunk/xdocs/lists.xml
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/lists.xml?rev=643506&r1=643505&r2=643506&view=diff
==
--- tomcat/site/trunk/xdocs/lists.xml (original)
+++ tomcat/site/trunk/xdocs/lists.xml Tue Apr  1 11:42:22 2008
@@ -91,10 +91,11 @@
  
   Archives:
   
-http://mail-archives.apache.org/mod_mbox/tomcat-users/";>
-at Apache,
-http://marc.theaimsgroup.com/?l=tomcat-user";>at MARC (searchable)
-, and at http://www.nabble.com/Tomcat---User-f342.html";>Nabble.
+at http://mail-archives.apache.org/mod_mbox/tomcat-users/";>
+Apache, at
+http://marc.theaimsgroup.com/?l=tomcat-user";>MARC 
(searchable),
+at http://markmail.org/list/org.apache.tomcat.user/";>MarkMail
+and at http://www.nabble.com/Tomcat---User-f342.html";>Nabble.
   
  
 
@@ -163,11 +164,11 @@
  
   Archives:
   
-http://mail-archives.apache.org/mod_mbox/tomcat-dev/";>
-at Apache,
-http://marc.theaimsgroup.com/?l=tomcat-dev";>at MARC (searchable)
- and at
-http://www.nabble.com/Tomcat---Dev-f341.html";>Nabble.
+at http://mail-archives.apache.org/mod_mbox/tomcat-dev/";>
+Apache, at
+http://marc.theaimsgroup.com/?l=tomcat-dev";>MARC (searchable) 
,
+at http://markmail.org/list/org.apache.tomcat.dev/";>MarkMail
+and at http://www.nabble.com/Tomcat---Dev-f341.html";>Nabble.
   
  
 



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



svn commit: r643501 - /tomcat/tc6.0.x/trunk/STATUS.txt

2008-04-01 Thread markt
Author: markt
Date: Tue Apr  1 11:36:53 2008
New Revision: 643501

URL: http://svn.apache.org/viewvc?rev=643501&view=rev
Log:
Better fix

Modified:
tomcat/tc6.0.x/trunk/STATUS.txt

Modified: tomcat/tc6.0.x/trunk/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=643501&r1=643500&r2=643501&view=diff
==
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Tue Apr  1 11:36:53 2008
@@ -124,6 +124,6 @@
 
 * Document missing secret attributes
   https://issues.apache.org/bugzilla/show_bug.cgi?id=44715
-  http://svn.apache.org/viewvc?rev=643181&view=rev
+  http://svn.apache.org/viewvc?rev=643497&view=rev
   +1: mark
   -1:



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



svn commit: r643500 - /tomcat/current/tc5.5.x/STATUS.txt

2008-04-01 Thread markt
Author: markt
Date: Tue Apr  1 11:36:42 2008
New Revision: 643500

URL: http://svn.apache.org/viewvc?rev=643500&view=rev
Log:
Better fix

Modified:
tomcat/current/tc5.5.x/STATUS.txt

Modified: tomcat/current/tc5.5.x/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/current/tc5.5.x/STATUS.txt?rev=643500&r1=643499&r2=643500&view=diff
==
--- tomcat/current/tc5.5.x/STATUS.txt (original)
+++ tomcat/current/tc5.5.x/STATUS.txt Tue Apr  1 11:36:42 2008
@@ -105,6 +105,6 @@
 
 * Document missing secret attributes
   https://issues.apache.org/bugzilla/show_bug.cgi?id=44715
-  http://svn.apache.org/viewvc?rev=643181&view=rev
+  http://svn.apache.org/viewvc?rev=643497&view=rev
   +1: mark
   -1:



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



Re: svn commit: r643181 - /tomcat/trunk/webapps/docs/config/ajp.xml

2008-04-01 Thread Mark Thomas

Peter Rossbach wrote:

HI Mark,

as you set request.secret="xxx" you don't use request.useSecret="true".
With useSecret you generate a random requiredSecret,

Look at o.a.coyote.jk.common.HandlerRequest


Cheers. Fixed.

Mark


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



svn commit: r643497 - /tomcat/trunk/webapps/docs/config/ajp.xml

2008-04-01 Thread markt
Author: markt
Date: Tue Apr  1 11:33:38 2008
New Revision: 643497

URL: http://svn.apache.org/viewvc?rev=643497&view=rev
Log:
Better fix for bug 44715. Document use of secret for AJP connector.

Modified:
tomcat/trunk/webapps/docs/config/ajp.xml

Modified: tomcat/trunk/webapps/docs/config/ajp.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/ajp.xml?rev=643497&r1=643496&r2=643497&view=diff
==
--- tomcat/trunk/webapps/docs/config/ajp.xml (original)
+++ tomcat/trunk/webapps/docs/config/ajp.xml Tue Apr  1 11:33:38 2008
@@ -274,6 +274,25 @@
   to a particular port number on a particular IP address.
 
 
+
+  Only requests from workers with this secret keyword will be accepted.
+  
+
+
+
+  If true and a secret has been configured, a correctly fomatted AJP
+  request (that includes the secret) will shutdown the Tomcat instance
+  associated with this connector. This is set to false by
+  default.
+
+
+
+  If set to true, then a random value for
+  request.secret will be generated. It is for use with
+  request.shutdownEnabled. This is set to false
+  by default.
+
+
 
   If set to true, the TCP_NO_DELAY option will be
   set on the server socket, which improves performance under most



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



svn commit: r643491 - /tomcat/trunk/webapps/docs/config/ajp.xml

2008-04-01 Thread markt
Author: markt
Date: Tue Apr  1 11:23:08 2008
New Revision: 643491

URL: http://svn.apache.org/viewvc?rev=643491&view=rev
Log:
Undo last commit - need to rework wording.

Modified:
tomcat/trunk/webapps/docs/config/ajp.xml

Modified: tomcat/trunk/webapps/docs/config/ajp.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/ajp.xml?rev=643491&r1=643490&r2=643491&view=diff
==
--- tomcat/trunk/webapps/docs/config/ajp.xml (original)
+++ tomcat/trunk/webapps/docs/config/ajp.xml Tue Apr  1 11:23:08 2008
@@ -274,18 +274,6 @@
   to a particular port number on a particular IP address.
 
 
-
-  Only requests from workers with this secret keyword will be accepted.
-  This attribute only has an effect if request.useSecret is
-  true.
-
-
-
-  If set to true, then only requests from workers with the
-  same secret keyword will be accepted. This is set to false
-  by default.
-
-
 
   If set to true, the TCP_NO_DELAY option will be
   set on the server socket, which improves performance under most



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



DO NOT REPLY [Bug 44728] New: add MarkMail to the list of mailing list archives

2008-04-01 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=44728

   Summary: add MarkMail to the list of mailing list archives
   Product: Tomcat 6
   Version: unspecified
  Platform: PC
OS/Version: Windows XP
Status: NEW
  Severity: trivial
  Priority: P2
 Component: Catalina
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


Created an attachment (id=21753)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=21753)
Add MarkMail to the mailing lists pages

Would be good to add MarkMail to the list of mailing list archives.

http://markmail.org/list/org.apache.tomcat.dev/
http://markmail.org/list/org.apache.tomcat.user/

Sorry, this isn't a Tomcat 6 issue - but I couldn't find one for the site


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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



Re: svn commit: r643181 - /tomcat/trunk/webapps/docs/config/ajp.xml

2008-04-01 Thread Peter Rossbach

HI Mark,

as you set request.secret="xxx" you don't use request.useSecret="true".
With useSecret you generate a random requiredSecret,

Look at o.a.coyote.jk.common.HandlerRequest

LL 123
  public void setSecret( String s ) {
requiredSecret=s;
}

public void setUseSecret( boolean b ) {
if(b) {
requiredSecret=Double.toString(Math.random());
}
}

Is request.shutdownEnabled is also true you can find
the file  conf/ajp13.id with your AJP setup (s. generateAJp13Id()).

Regards
Peter


Am 01.04.2008 um 00:19 schrieb [EMAIL PROTECTED]:

Author: markt
Date: Mon Mar 31 15:19:20 2008
New Revision: 643181

URL: http://svn.apache.org/viewvc?rev=643181&view=rev
Log:
Fix bug 44715. Document use of secret for AJP connector.

Modified:
tomcat/trunk/webapps/docs/config/ajp.xml

Modified: tomcat/trunk/webapps/docs/config/ajp.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/ 
ajp.xml?rev=643181&r1=643180&r2=643181&view=diff
== 


--- tomcat/trunk/webapps/docs/config/ajp.xml (original)
+++ tomcat/trunk/webapps/docs/config/ajp.xml Mon Mar 31 15:19:20 2008
@@ -274,6 +274,18 @@
   to a particular port number on a particular IP address.
 

+
+  Only requests from workers with this secret keyword will  
be accepted.
+  This attribute only has an effect if  
request.useSecret is

+  true.
+
+
+
+  If set to true, then only requests from  
workers with the
+  same secret keyword will be accepted. This is set to  
false

+  by default.
+
+
 
   If set to true, the TCP_NO_DELAY option will be
   set on the server socket, which improves performance under most



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






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



DO NOT REPLY [Bug 42693] JSP-Generation error with recursive tagfile structure

2008-04-01 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=42693


jfclere <[EMAIL PROTECTED]> changed:

   What|Removed |Added

 Status|NEEDINFO|RESOLVED
 Resolution||FIXED




-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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



DO NOT REPLY [Bug 44725] New: Tomcat delete context.xml and web. xml if re-naming Folders in CONF

2008-04-01 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=44725

   Summary: Tomcat delete context.xml and web.xml if re-naming
Folders in CONF
   Product: Tomcat 6
   Version: 6.0.16
  Platform: PC
OS/Version: Windows Server 2003
Status: NEW
  Severity: critical
  Priority: P2
 Component: Catalina
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]


Hello,
Very critical things happens in Tomcat.
If anybody rename a Appliaction Website Folder (e.g./conf/www.testsite.de ->
/conf/www.testsite2.com) in [tomcat_home]/conf and try again to open the Site
on a Browser (you see a blank site without Errormessages), Tomcat delete
automatically the web.xml and context.xml.
I found this in Version 6.0.14 and 6.0.16

Greetings
Alexander Diedler


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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



[Tomcat Wiki] Update of "joaosavioli" by TimFunk

2008-04-01 Thread Apache Wiki
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change 
notification.

The following page has been changed by TimFunk:
http://wiki.apache.org/tomcat/joaosavioli

The comment on the change is:
no personal wiki pages please

--
+ deleted
- [http://www.studioserver.com.br/index_arquivos/logo.gif]
- [http://www.studioserver.com.br Hospedagem de Sites STUDIOSERVER]
- provides webhosting with support to JSP/Servlets by using Tomcat.
  

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



DO NOT REPLY [Bug 44724] New: CGIServlet: undesirable encoding conversion of CGI output

2008-04-01 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=44724

   Summary: CGIServlet: undesirable encoding conversion of CGI
output
   Product: Tomcat 6
   Version: unspecified
  Platform: All
OS/Version: Linux
Status: NEW
  Severity: normal
  Priority: P2
 Component: Native:Integration
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


Created an attachment (id=21750)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=21750)
CGI script which outputs Russian text in UTF-8

Tomcat CGIServlet which is distributed with Tomcat performs undesirable
conversion of CGI script output encoding.

This conversion is performed indirectly by the servlet (which passes data
through a memory stream) and depends on character encoding environment
variables (LANG/LC_ALL/...), at least on UNIX-like systems.

Steps to reproduce:

1. Install Tomcat 
2. Create a CGI script which outputs non-ascii7 data.
3. Set up Tomcat for running CGI scripts (a la
http://tomcat.apache.org/tomcat-6.0-doc/cgi-howto.html)
4. Set up any single-byte language environment  (for example, say 'export
LANG=C' in bash)
5. Start Tomcat instance in that single-byte language environment
6. Make a request to CGI script.

All non-ascii7 characters in the CGI output will be replaced with quotation
marks.

This behaviour is different from any other CGI implementation and is unexpected
by any "normal" user.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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