Re: Refresh JK httpd-2.4.x binaries [VOTE] ?

2012-03-26 Thread Konstantin Kolinko
2012/3/26 Mladen Turk mt...@apache.org:
 Hi,

 I build our courtesy windows binaries against httpd-2.4.1-dev
 which has a different MMN then 2.4.1 thus refusing to load.
 (other binaries are file)

 I have removed the tomcat-connectors-1.2.35-windows-i386-http-2.4.x.*
 file from dist site and new one are at:
 http://people.apache.org/~mturk/tomcat-connectors/jk-1.2.35/binaries/windows/
 (just *-http-2.4.x-* files are changed)

 Should we vote for putting those on our official dist site?
 If so, please use this as a VOTE thread, and with my implicit +1
 I'll upload those bins when I collect two more votes.

+1

Best regards,
Konstantin Kolinko

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: Refresh JK httpd-2.4.x binaries [VOTE] ?

2012-03-26 Thread markt
Mladen Turk mt...@apache.org wrote:

Hi,

I build our courtesy windows binaries against httpd-2.4.1-dev
which has a different MMN then 2.4.1 thus refusing to load.
(other binaries are file)

I have removed the tomcat-connectors-1.2.35-windows-i386-http-2.4.x.*
file from dist site and new one are at:
http://people.apache.org/~mturk/tomcat-connectors/jk-1.2.35/binaries/windows/
(just *-http-2.4.x-* files are changed)

Should we vote for putting those on our official dist site?
If so, please use this as a VOTE thread, and with my implicit +1
I'll upload those bins when I collect two more votes.

Regards
-- 
^TM

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

+1

Mark

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



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

2012-03-26 Thread kkolinko
Author: kkolinko
Date: Mon Mar 26 07:34:15 2012
New Revision: 1305244

URL: http://svn.apache.org/viewvc?rev=1305244view=rev
Log:
proposal

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=1305244r1=1305243r2=1305244view=diff
==
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Mon Mar 26 07:34:15 2012
@@ -153,6 +153,20 @@ PATCHES PROPOSED TO BACKPORT:
   +1: kkolinko
   -1:
 
+* Backport UserDataHelper class (issue 52184)
+  Provide greater control over the logging of errors triggered by invalid
+  input data (i.e. data over which Tomcat has no control).
+
+  Note: cookies logging (o.a.t.util.http.Cookies) does not need to be
+  addressed in Tomcat 6, because all logging in that class here is done at
+  debug level.
+
+  svn cp 
../../trunk/java/org/apache/tomcat/util/log/UserDataHelper.java@1242371 
java/org/apache/tomcat/util/log/UserDataHelper.java
+  Patch:
+  
http://people.apache.org/~kkolinko/patches/2012-03-26_tc6_UserDataHelper.patch
+  +1: kkolinko
+  -1:
+
 
 PATCHES/ISSUES THAT ARE STALLED
 



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r567 - in /release/tomcat/tomcat-connectors/jk/binaries/windows: ./ symbols/

2012-03-26 Thread mturk
Author: mturk
Date: Mon Mar 26 07:49:48 2012
New Revision: 567

Log:
refresh windows httpd-2.4.x binaries

Added:

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.35-windows-i386-httpd-2.4.x.zip
   (with props)

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.35-windows-i386-httpd-2.4.x.zip.asc

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.35-windows-i386-httpd-2.4.x.zip.md5

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.35-windows-i386-httpd-2.4.x.zip.sha1
Modified:

release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/tomcat-connectors-1.2.35-windows-i386-symbols.zip

release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/tomcat-connectors-1.2.35-windows-i386-symbols.zip.asc

release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/tomcat-connectors-1.2.35-windows-i386-symbols.zip.md5

release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/tomcat-connectors-1.2.35-windows-i386-symbols.zip.sha1

Modified: 
release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/tomcat-connectors-1.2.35-windows-i386-symbols.zip
==
Binary files - no diff available.

Modified: 
release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/tomcat-connectors-1.2.35-windows-i386-symbols.zip.asc
==
--- 
release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/tomcat-connectors-1.2.35-windows-i386-symbols.zip.asc
 (original)
+++ 
release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/tomcat-connectors-1.2.35-windows-i386-symbols.zip.asc
 Mon Mar 26 07:49:48 2012
@@ -1,7 +1,7 @@
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.12 (GNU/Linux)
 
-iEYEABECAAYFAk9rKygACgkQHFBkB1ZMF6M9YgCfdAC1VmuHljgklilxnqbnyM9t
-K4AAoKVCrFElwoY0dNivsGyiFgFCpQ5a
-=cgnZ
+iEYEABECAAYFAk9wAe8ACgkQHFBkB1ZMF6NKtwCg4Zb8pH3S2bPx7sqibx3f95Vk
+/DgAn3yvgO8Nf4Qm/a1JNKrnQCoFdmr4
+=LlO8
 -END PGP SIGNATURE-

Modified: 
release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/tomcat-connectors-1.2.35-windows-i386-symbols.zip.md5
==
--- 
release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/tomcat-connectors-1.2.35-windows-i386-symbols.zip.md5
 (original)
+++ 
release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/tomcat-connectors-1.2.35-windows-i386-symbols.zip.md5
 Mon Mar 26 07:49:48 2012
@@ -1 +1 @@
-53be99174c23f89bf242957caedd43c4 
*tomcat-connectors-1.2.35-windows-i386-symbols.zip
+1a7744cfd8f1576432698c6962e27da1 
*tomcat-connectors-1.2.35-windows-i386-symbols.zip

Modified: 
release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/tomcat-connectors-1.2.35-windows-i386-symbols.zip.sha1
==
--- 
release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/tomcat-connectors-1.2.35-windows-i386-symbols.zip.sha1
 (original)
+++ 
release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/tomcat-connectors-1.2.35-windows-i386-symbols.zip.sha1
 Mon Mar 26 07:49:48 2012
@@ -1 +1 @@
-9d9893e45a7d0e82747d334b59e66a67e2fdd277 
*tomcat-connectors-1.2.35-windows-i386-symbols.zip
+c8e9ebc2538239fba1d23f1d241e8e9cad06ffd9 
*tomcat-connectors-1.2.35-windows-i386-symbols.zip

Added: 
release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.35-windows-i386-httpd-2.4.x.zip
==
Binary file - no diff available.

Propchange: 
release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.35-windows-i386-httpd-2.4.x.zip
--
svn:mime-type = application/octet-stream

Added: 
release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.35-windows-i386-httpd-2.4.x.zip.asc
==
--- 
release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.35-windows-i386-httpd-2.4.x.zip.asc
 (added)
+++ 
release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.35-windows-i386-httpd-2.4.x.zip.asc
 Mon Mar 26 07:49:48 2012
@@ -0,0 +1,7 @@
+-BEGIN PGP SIGNATURE-
+Version: GnuPG v1.4.12 (GNU/Linux)
+
+iEYEABECAAYFAk9wAaoACgkQHFBkB1ZMF6PcCgCdH5uqjAhek900dYVnD9paD5cv
+wywAn3OXpkaN0QqZJGakCKlF7URuyFe8
+=2aRD
+-END PGP SIGNATURE-

Added: 
release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.35-windows-i386-httpd-2.4.x.zip.md5
==
--- 
release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.35-windows-i386-httpd-2.4.x.zip.md5
 (added)
+++ 

svn commit: r567 - in /release/tomcat/tomcat-connectors/jk/binaries/windows: ./ symbols/

2012-03-26 Thread mturk
Author: mturk
Date: Mon Mar 26 07:49:48 2012
New Revision: 567

Log:
refresh windows httpd-2.4.x binaries

Added:

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.35-windows-i386-httpd-2.4.x.zip
   (with props)

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.35-windows-i386-httpd-2.4.x.zip.asc

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.35-windows-i386-httpd-2.4.x.zip.md5

release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.35-windows-i386-httpd-2.4.x.zip.sha1
Modified:

release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/tomcat-connectors-1.2.35-windows-i386-symbols.zip

release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/tomcat-connectors-1.2.35-windows-i386-symbols.zip.asc

release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/tomcat-connectors-1.2.35-windows-i386-symbols.zip.md5

release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/tomcat-connectors-1.2.35-windows-i386-symbols.zip.sha1

Modified: 
release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/tomcat-connectors-1.2.35-windows-i386-symbols.zip
==
Binary files - no diff available.

Modified: 
release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/tomcat-connectors-1.2.35-windows-i386-symbols.zip.asc
==
--- 
release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/tomcat-connectors-1.2.35-windows-i386-symbols.zip.asc
 (original)
+++ 
release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/tomcat-connectors-1.2.35-windows-i386-symbols.zip.asc
 Mon Mar 26 07:49:48 2012
@@ -1,7 +1,7 @@
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.12 (GNU/Linux)
 
-iEYEABECAAYFAk9rKygACgkQHFBkB1ZMF6M9YgCfdAC1VmuHljgklilxnqbnyM9t
-K4AAoKVCrFElwoY0dNivsGyiFgFCpQ5a
-=cgnZ
+iEYEABECAAYFAk9wAe8ACgkQHFBkB1ZMF6NKtwCg4Zb8pH3S2bPx7sqibx3f95Vk
+/DgAn3yvgO8Nf4Qm/a1JNKrnQCoFdmr4
+=LlO8
 -END PGP SIGNATURE-

Modified: 
release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/tomcat-connectors-1.2.35-windows-i386-symbols.zip.md5
==
--- 
release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/tomcat-connectors-1.2.35-windows-i386-symbols.zip.md5
 (original)
+++ 
release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/tomcat-connectors-1.2.35-windows-i386-symbols.zip.md5
 Mon Mar 26 07:49:48 2012
@@ -1 +1 @@
-53be99174c23f89bf242957caedd43c4 
*tomcat-connectors-1.2.35-windows-i386-symbols.zip
+1a7744cfd8f1576432698c6962e27da1 
*tomcat-connectors-1.2.35-windows-i386-symbols.zip

Modified: 
release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/tomcat-connectors-1.2.35-windows-i386-symbols.zip.sha1
==
--- 
release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/tomcat-connectors-1.2.35-windows-i386-symbols.zip.sha1
 (original)
+++ 
release/tomcat/tomcat-connectors/jk/binaries/windows/symbols/tomcat-connectors-1.2.35-windows-i386-symbols.zip.sha1
 Mon Mar 26 07:49:48 2012
@@ -1 +1 @@
-9d9893e45a7d0e82747d334b59e66a67e2fdd277 
*tomcat-connectors-1.2.35-windows-i386-symbols.zip
+c8e9ebc2538239fba1d23f1d241e8e9cad06ffd9 
*tomcat-connectors-1.2.35-windows-i386-symbols.zip

Added: 
release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.35-windows-i386-httpd-2.4.x.zip
==
Binary file - no diff available.

Propchange: 
release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.35-windows-i386-httpd-2.4.x.zip
--
svn:mime-type = application/octet-stream

Added: 
release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.35-windows-i386-httpd-2.4.x.zip.asc
==
--- 
release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.35-windows-i386-httpd-2.4.x.zip.asc
 (added)
+++ 
release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.35-windows-i386-httpd-2.4.x.zip.asc
 Mon Mar 26 07:49:48 2012
@@ -0,0 +1,7 @@
+-BEGIN PGP SIGNATURE-
+Version: GnuPG v1.4.12 (GNU/Linux)
+
+iEYEABECAAYFAk9wAaoACgkQHFBkB1ZMF6PcCgCdH5uqjAhek900dYVnD9paD5cv
+wywAn3OXpkaN0QqZJGakCKlF7URuyFe8
+=2aRD
+-END PGP SIGNATURE-

Added: 
release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.35-windows-i386-httpd-2.4.x.zip.md5
==
--- 
release/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.35-windows-i386-httpd-2.4.x.zip.md5
 (added)
+++ 

Re: Move to svnpubsub Was: svn commit: r1305109 [1/6] - ...

2012-03-26 Thread Olivier Lamy
Hello,
Is there any deadline to add maven plugin part ?
FYI on maven land we are working on solution to prevent manual svn operations.
BTW if it's not ready I can push manual stuff.
Can we think about having a test phase with the cms ? (something like
http;//tomcattest.apache.org similar to test we do in maven land with
http://maventest.apache.org/)


2012/3/25 Mark Thomas ma...@apache.org:
 On 25/03/2012 21:24, Konstantin Kolinko wrote:
 2012/3/26 Mark Thomas ma...@apache.org:
 On 25/03/2012 20:52, ma...@apache.org wrote:
 Author: markt
 Date: Sun Mar 25 19:52:05 2012
 New Revision: 1305109

 URL: http://svn.apache.org/viewvc?rev=1305109view=rev
 Log:
 Add Tomcat 3.2 docs

 This is the start of the process to move the Tomcat web site to
 svnpubsub as mandated by the ASF infra team.

 Note that we could also move the site partially or fully to the CMS but
 that is a bigger step and probably one we want to consider alongside the
 discussions we have had around updating the overall style of the docs
 and site.

 The first few steps will be to add files for the docs for the latest
 versions of those components that are no longer supported.

 After that, I'll be checking in an updated build script that will allow
 us to update the 5.5, 6.0  7.0 with minimal effort after a release.

 Then all add support for updating the native and jk docs.

 Finally, taglibs and the Maven plug-in will need to ensure that their
 sites are svnpubsub compatible.

 The short version is that once the entire site is in svn, we can switch
 to svnpubsub.

 The big advantage this will give us is the ability to make changes to
 the site that appear on the live site in seconds rather than an hour or so.


 A note:  using sparse checkout feature of svn is handy when dealing
 with the site.
 E.g. if you are in site/trunk then

 svn up --set-depth empty docs/tomcat-3.2-doc

 will pull in recently added  tomcat-3.2-doc subdirectory as empty
 one (instead of pulling the whole subtree as the usual svn up will
 do)

 The other subdirectories will be (looking at p.a.o):

 svn up --set-depth empty docs/tomcat-3.3-doc
 svn up --set-depth empty docs/tomcat-4.0-doc
 svn up --set-depth empty docs/tomcat-4.1-doc


 What about 5.5, 6.0, 7.0?

 If people use svn 1.7 clients  then I think it would be easier to
 commit them under their final names tomcat-5.5-doc,
 tomcat-6.0-doc, tomcat-7.0-doc,   instead of the current symlink
 schema of 5.5 - 5.5.35.

 Agreed. That is what I am planning to do.

 With svn 1.7 there are no .svn subdirectories inside the tree,  so
 is is possible to rm the files from hard drive and replace them with
 new ones in place  before committing. (Some care will be needed for !
 missing and ? new ones).

 That is what my modifications to the build script do but you are right
 that they depend on the user to svn add / delete as required.

 Regarding imported 3.2 docs:
 Some of them have unusual filenames (*.howto, faq) and thus did not
 have svn:eol-style applied.  I'll look at it ~tomorrow when Mark
 finishes the import.

 Thanks.

 Mark

 PS apologies for the svn commit deluge that is heading to the dev list.
 The later the version, the bigger the docs.

 -
 To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: dev-h...@tomcat.apache.org




-- 
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: Move to svnpubsub Was: svn commit: r1305109 [1/6] - ...

2012-03-26 Thread Mark Thomas
On 26/03/2012 09:20, Olivier Lamy wrote:
 Hello,
 Is there any deadline to add maven plugin part ?

The deadline is the end of this year. Sooner would be better.

 FYI on maven land we are working on solution to prevent manual svn operations.
 BTW if it's not ready I can push manual stuff.
 Can we think about having a test phase with the cms ?

Tomcat isn't planning on using the cms, just svnpubsub.

 (something like
 http;//tomcattest.apache.org similar to test we do in maven land with
 http://maventest.apache.org/)

If you do use the cms, you get a staging site you can use.

Mark

 
 
 2012/3/25 Mark Thomas ma...@apache.org:
 On 25/03/2012 21:24, Konstantin Kolinko wrote:
 2012/3/26 Mark Thomas ma...@apache.org:
 On 25/03/2012 20:52, ma...@apache.org wrote:
 Author: markt
 Date: Sun Mar 25 19:52:05 2012
 New Revision: 1305109

 URL: http://svn.apache.org/viewvc?rev=1305109view=rev
 Log:
 Add Tomcat 3.2 docs

 This is the start of the process to move the Tomcat web site to
 svnpubsub as mandated by the ASF infra team.

 Note that we could also move the site partially or fully to the CMS but
 that is a bigger step and probably one we want to consider alongside the
 discussions we have had around updating the overall style of the docs
 and site.

 The first few steps will be to add files for the docs for the latest
 versions of those components that are no longer supported.

 After that, I'll be checking in an updated build script that will allow
 us to update the 5.5, 6.0  7.0 with minimal effort after a release.

 Then all add support for updating the native and jk docs.

 Finally, taglibs and the Maven plug-in will need to ensure that their
 sites are svnpubsub compatible.

 The short version is that once the entire site is in svn, we can switch
 to svnpubsub.

 The big advantage this will give us is the ability to make changes to
 the site that appear on the live site in seconds rather than an hour or so.


 A note:  using sparse checkout feature of svn is handy when dealing
 with the site.
 E.g. if you are in site/trunk then

 svn up --set-depth empty docs/tomcat-3.2-doc

 will pull in recently added  tomcat-3.2-doc subdirectory as empty
 one (instead of pulling the whole subtree as the usual svn up will
 do)

 The other subdirectories will be (looking at p.a.o):

 svn up --set-depth empty docs/tomcat-3.3-doc
 svn up --set-depth empty docs/tomcat-4.0-doc
 svn up --set-depth empty docs/tomcat-4.1-doc


 What about 5.5, 6.0, 7.0?

 If people use svn 1.7 clients  then I think it would be easier to
 commit them under their final names tomcat-5.5-doc,
 tomcat-6.0-doc, tomcat-7.0-doc,   instead of the current symlink
 schema of 5.5 - 5.5.35.

 Agreed. That is what I am planning to do.

 With svn 1.7 there are no .svn subdirectories inside the tree,  so
 is is possible to rm the files from hard drive and replace them with
 new ones in place  before committing. (Some care will be needed for !
 missing and ? new ones).

 That is what my modifications to the build script do but you are right
 that they depend on the user to svn add / delete as required.

 Regarding imported 3.2 docs:
 Some of them have unusual filenames (*.howto, faq) and thus did not
 have svn:eol-style applied.  I'll look at it ~tomorrow when Mark
 finishes the import.

 Thanks.

 Mark

 PS apologies for the svn commit deluge that is heading to the dev list.
 The later the version, the bigger the docs.

 -
 To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: dev-h...@tomcat.apache.org

 
 
 


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



RE: AJP13: response message with container remote user

2012-03-26 Thread Issa.GORISSEN
 3. You would need some additional work and configuration on httpd side
 to make the information provided by Tomcat be printed into the logs.

[1] Isn't it possible for to set the user for the current request in httpd 
context via mod_jk ? I guess this would be half good, as this info would only 
be known to httpd during the response handling, and not before. I guess this 
would introduce inconsistencies when httpd users expect that httpd must be 
aware of the user during a whole (tomcat) session, instead of just the http 
responses.

 
 4. It is easier to pass the information back via AJP13_SEND_HEADERS
 message.instead of inventing a new message type and marshalling it
 over the wire.


This would imply to make the user info available in the response's headers, 
right ?




But anyway, if [1] is correct, then it would mean to let httpd be aware of 
servlet sessions, which might be a lot more work I guess.


RE: AJP13: response message with container remote user

2012-03-26 Thread Issa.GORISSEN
 
 Can't you just add a custom response header to your Tomcat responses like
 
 X-REMOTE-USER: MY_USER
 
 and then log the user name in your apache access log by adding
 %{X-REMOTE-USER}o?


Hi,

Yes, this is what Konstantin suggests.  I guess I will drop my initial idea and 
follow this route. I will have to convince Atlassian to make changes in their 
apps, if I do not want to add custom code (filters) to their apps.

Have a nice day.
--
Issa


Re: tomcat connector - jk_status does not update shm correctly

2012-03-26 Thread Mladen Turk

On 03/25/2012 11:00 PM, Le Huy wrote:

Hi

I am facing problem in using jkstatus to update subworker lb_factor,
it seems that after changing it, the mod_jk balancer does not change
anything

Looking at source code in trunk, I think that there is bug , I
include herewith the 2 changes that I think will fix the problem,



It won't fix the problems.
It'll cause IIS to crash on recycle.

Think that the entire jkstatus needs to get reviewed
cause the current code is  unnecessary complex.



 for (i = 0; i  p-num_of_workers; i++) {
 lb_sub_worker_t *w =p-lb_workers[i];
-if (w-sequence  w-s-h.sequence) {
+if (w-sequence  w-s-h.sequence) {


That's not correct.
The shared memory needs to get incremented on change
and heap memory updated when its sequence is behind
the shared memory. It is illegal to have heap memory
'newer' then the content of shared memory.



Regards
--
^TM

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1305306 - in /tomcat/site/trunk: docs/index.html xdocs/index.xml

2012-03-26 Thread mturk
Author: mturk
Date: Mon Mar 26 10:58:40 2012
New Revision: 1305306

URL: http://svn.apache.org/viewvc?rev=1305306view=rev
Log:
Add 1.2.35 ANN message

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

Modified: tomcat/site/trunk/docs/index.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/index.html?rev=1305306r1=1305305r2=1305306view=diff
==
--- tomcat/site/trunk/docs/index.html (original)
+++ tomcat/site/trunk/docs/index.html Mon Mar 26 10:58:40 2012
@@ -233,8 +233,8 @@ project logo are trademarks of the Apach
 /table
 table border=0 cellspacing=0 cellpadding=2 width=100%
 tr
-td bgcolor=#525D76font color=#ff face=arial,helvetica,sanserifa 
name=Tomcat Connectors 1.2.33 Released
-!--()--/aa name=Tomcat_Connectors_1.2.33_ReleasedstrongTomcat 
Connectors 1.2.33 Released/strong/a/font/tdtd align=right 
bgcolor=#525D76font color=#ff 
face=arial,helvetica.sanserifstrong2012-03-12/strong/font/td
+td bgcolor=#525D76font color=#ff face=arial,helvetica,sanserifa 
name=Tomcat Connectors 1.2.35 Released
+!--()--/aa name=Tomcat_Connectors_1.2.35_ReleasedstrongTomcat 
Connectors 1.2.35 Released/strong/a/font/tdtd align=right 
bgcolor=#525D76font color=#ff 
face=arial,helvetica.sanserifstrong2012-03-24/strong/font/td
 /tr
 tr
 td colspan=2
@@ -242,22 +242,20 @@ project logo are trademarks of the Apach
 blockquote
 
 p
-The Apache Tomcat Project is proud to announce the release of version 1.2.33 of
+The Apache Tomcat Project is proud to announce the release of version 1.2.35 of
 Apache Tomcat Connectors.
-This version is principally a bugfix release.
+This version fixes few bugs found in 1.2.33 release.
 /p
 
 p
-strongWarning:/strong There are stability issues with the mod_jk 1.2.33
-release. If you have not yet upgraded to mod_jk 1.2.33 we recommend that you
-wait for the mod_jk 1.2.35 release which is currently in progress. If you have
-upgraded and are experienced issues we recommend that you downgrade to
-mod_jk 1.2.32 until mod_jk 1.2.35 is available./p
+strongNotice:/strongUsers of discontinued Apache Httpd 1.3.x version will 
need to apply the
+a href=r1302445 
patchhttp://svn.apache.org/viewvc/tomcat/jk/trunk/native/apache-1.3/mod_jk.c?r1=1302445/a
+to be able to compile this version of mod_jk/p
 
 p align=center
 
 a href=download-connectors.cgiDownload/a |
-a href=connectors-doc/miscellaneous/changelog.htmlChangeLog for 1.2.33/a
+a href=connectors-doc/miscellaneous/changelog.htmlChangeLog for 1.2.35/a
 
 /p
 

Modified: tomcat/site/trunk/xdocs/index.xml
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/index.xml?rev=1305306r1=1305305r2=1305306view=diff
==
--- tomcat/site/trunk/xdocs/index.xml (original)
+++ tomcat/site/trunk/xdocs/index.xml Mon Mar 26 10:58:40 2012
@@ -37,20 +37,18 @@ project logo are trademarks of the Apach
 
 /section
 
-section name=Tomcat Connectors 1.2.33 Released rtext=2012-03-12
+section name=Tomcat Connectors 1.2.35 Released rtext=2012-03-24
 p
-The Apache Tomcat Project is proud to announce the release of version 1.2.33 of
+The Apache Tomcat Project is proud to announce the release of version 1.2.35 of
 Apache Tomcat Connectors.
-This version is principally a bugfix release.
+This version fixes few bugs found in 1.2.33 release.
 /p
-pstrongWarning:/strong There are stability issues with the mod_jk 1.2.33
-release. If you have not yet upgraded to mod_jk 1.2.33 we recommend that you
-wait for the mod_jk 1.2.35 release which is currently in progress. If you have
-upgraded and are experienced issues we recommend that you downgrade to
-mod_jk 1.2.32 until mod_jk 1.2.35 is available./p
+pstrongNotice:/strongUsers of discontinued Apache Httpd 1.3.x version 
will need to apply the
+a href=r1302445 
patchhttp://svn.apache.org/viewvc/tomcat/jk/trunk/native/apache-1.3/mod_jk.c?r1=1302445/a
+to be able to compile this version of mod_jk/p
 p align=center
 a href=download-connectors.cgiDownload/a |
-a href=connectors-doc/miscellaneous/changelog.htmlChangeLog for 1.2.33/a
+a href=connectors-doc/miscellaneous/changelog.htmlChangeLog for 1.2.35/a
 /p
 /section
 



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[ANN] Apache Tomcat Connectors 1.2.35 released

2012-03-26 Thread Mladen Turk

The Apache Tomcat Project is proud to announce the release of version 1.2.35
of Apache Tomcat Connectors.
This version fixes few bugs found in 1.2.33 release.

Full details of these changes and new features,
are available in the Apache Tomcat Connectors changelog:
http://tomcat.apache.org/connectors-doc/miscellaneous/changelog.html


Downloads:
http://tomcat.apache.org/download-connectors.cgi


Notice:
Users of discontinued Apache Httpd 1.3.x version will need to apply the
http://svn.apache.org/viewvc/tomcat/jk/trunk/native/apache-1.3/mod_jk.c?r1=1302445
patch  to be able to compile this version of mod_jk.


Thank you,
--
The Apache Tomcat Team

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1305321 - in /tomcat/site/trunk/docs/maven-plugin-2.0-beta-1: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/tomcat/ apidocs/org/apache/tomcat/maven/ apidocs/org/apache/t

2012-03-26 Thread olamy
Author: olamy
Date: Mon Mar 26 12:01:12 2012
New Revision: 1305321

URL: http://svn.apache.org/viewvc?rev=1305321view=rev
Log:
import maven-plugin 2.0-beta-1 site for svnpub: really sorry for such spamming 
:-)


[This commit notification would consist of 184 parts, 
which exceeds the limit of 50 ones, so it was shortened to the summary.]

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[jira] [Created] (MTOMCAT-132) cookie jession submit by hidden

2012-03-26 Thread hongzhou sun (Created) (JIRA)
cookie jession submit by hidden
---

 Key: MTOMCAT-132
 URL: https://issues.apache.org/jira/browse/MTOMCAT-132
 Project: Apache Tomcat Maven Plugin
  Issue Type: Improvement
  Components: tomcat6
Affects Versions: 1.1
 Environment: tomcat6 jdk1.5.09
Reporter: hongzhou sun
Assignee: Olivier Lamy
Priority: Minor


On the condition that the ie's cookie is disable! But I also want to submit the 
jsessionid by the input type=hidden name=jsessionid value=xx / 
syntax.
The result is there is a new Session was created on the server instead of the 
old Session which i want to keep.
Is there anybody who can tell me the reason?
And I also don't want to use the Url rewrite to resolve the Session content 
trans.'Cause it seems to be some security problems.

Best regards! Thanks!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: [ANN] Apache Tomcat Connectors 1.2.35 released

2012-03-26 Thread Rainer Jung

On 26.03.2012 13:03, Mladen Turk wrote:

The Apache Tomcat Project is proud to announce the release of version
1.2.35
of Apache Tomcat Connectors.
This version fixes few bugs found in 1.2.33 release.

Full details of these changes and new features,
are available in the Apache Tomcat Connectors changelog:
http://tomcat.apache.org/connectors-doc/miscellaneous/changelog.html


Downloads:
http://tomcat.apache.org/download-connectors.cgi


Notice:
Users of discontinued Apache Httpd 1.3.x version will need to apply the
http://svn.apache.org/viewvc/tomcat/jk/trunk/native/apache-1.3/mod_jk.c?r1=1302445


Not sure what the intention of this URL was. For me it produces the list 
of changes of the file with the change previous to the fix not really 
noticeable marked as selected. No patch to see, lots of patches to 
choose from.


Shouldn't it have been:

http://svn.apache.org/viewvc/tomcat/jk/trunk/native/apache-1.3/mod_jk.c?r1=1305020r2=1302445

or

http://svn.apache.org/viewvc?view=revisionrevision=1305020

Regards,

Rainer

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



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

2012-03-26 Thread fhanik
Author: fhanik
Date: Mon Mar 26 15:04:33 2012
New Revision: 1305383

URL: http://svn.apache.org/viewvc?rev=1305383view=rev
Log:
vote

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=1305383r1=1305382r2=1305383view=diff
==
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Mon Mar 26 15:04:33 2012
@@ -141,7 +141,7 @@ PATCHES PROPOSED TO BACKPORT:
 * Update to Eclipse JDT Compiler 3.7.2.
   https://issues.apache.org/bugzilla/show_bug.cgi?id=52805
   Patch: https://issues.apache.org/bugzilla/attachment.cgi?id=28478
-  +1: kkolinko, markt
+  +1: kkolinko, markt, fhanik
   -1:
 
 * Update Apache Commons Daemon to 1.0.10.



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: [ANN] Apache Tomcat Connectors 1.2.35 released

2012-03-26 Thread Mladen Turk

On 03/26/2012 05:02 PM, Rainer Jung wrote:

On 26.03.2012 13:03, Mladen Turk wrote:

Shouldn't it have been:
http://svn.apache.org/viewvc/tomcat/jk/trunk/native/apache-1.3/mod_jk.c?r1=1305020r2=1302445



Yeah, couldn't put that into .xml cause ampersand breaks the build,
and actually didn't have time or will to figure out how to have it.

Feel free to modify the index.xml and update the url.

Regards
--
^TM

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Jenkins permissions

2012-03-26 Thread Jeremy Boynes
Who controls permissions in Jenkins (builds.a.o)? Please can you grant me build 
rights for Taglibs-All?

Thanks
Jeremy


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1305408 - in /tomcat/site/trunk/docs/maven-plugin-2.0-beta-1: apidocs/ common-tomcat-maven-plugin/apidocs/ testapidocs/ tomcat-maven-plugin-it/apidocs/ tomcat6-maven-plugin/apidocs/ tomca

2012-03-26 Thread kkolinko
Author: kkolinko
Date: Mon Mar 26 15:52:19 2012
New Revision: 1305408

URL: http://svn.apache.org/viewvc?rev=1305408view=rev
Log:
svn:eol-style=native

Modified:
tomcat/site/trunk/docs/maven-plugin-2.0-beta-1/apidocs/options   (props 
changed)
tomcat/site/trunk/docs/maven-plugin-2.0-beta-1/apidocs/package-list   
(props changed)
tomcat/site/trunk/docs/maven-plugin-2.0-beta-1/apidocs/packages   (props 
changed)

tomcat/site/trunk/docs/maven-plugin-2.0-beta-1/common-tomcat-maven-plugin/apidocs/options
   (props changed)

tomcat/site/trunk/docs/maven-plugin-2.0-beta-1/common-tomcat-maven-plugin/apidocs/package-list
   (props changed)

tomcat/site/trunk/docs/maven-plugin-2.0-beta-1/common-tomcat-maven-plugin/apidocs/packages
   (props changed)
tomcat/site/trunk/docs/maven-plugin-2.0-beta-1/testapidocs/options   (props 
changed)
tomcat/site/trunk/docs/maven-plugin-2.0-beta-1/testapidocs/package-list   
(props changed)
tomcat/site/trunk/docs/maven-plugin-2.0-beta-1/testapidocs/packages   
(props changed)

tomcat/site/trunk/docs/maven-plugin-2.0-beta-1/tomcat-maven-plugin-it/apidocs/options
   (props changed)

tomcat/site/trunk/docs/maven-plugin-2.0-beta-1/tomcat-maven-plugin-it/apidocs/package-list
   (props changed)

tomcat/site/trunk/docs/maven-plugin-2.0-beta-1/tomcat-maven-plugin-it/apidocs/packages
   (props changed)

tomcat/site/trunk/docs/maven-plugin-2.0-beta-1/tomcat6-maven-plugin/apidocs/options
   (props changed)

tomcat/site/trunk/docs/maven-plugin-2.0-beta-1/tomcat6-maven-plugin/apidocs/package-list
   (props changed)

tomcat/site/trunk/docs/maven-plugin-2.0-beta-1/tomcat6-maven-plugin/apidocs/packages
   (props changed)

tomcat/site/trunk/docs/maven-plugin-2.0-beta-1/tomcat6-maven-plugin/testapidocs/options
   (props changed)

tomcat/site/trunk/docs/maven-plugin-2.0-beta-1/tomcat6-maven-plugin/testapidocs/package-list
   (props changed)

tomcat/site/trunk/docs/maven-plugin-2.0-beta-1/tomcat6-maven-plugin/testapidocs/packages
   (props changed)

tomcat/site/trunk/docs/maven-plugin-2.0-beta-1/tomcat7-maven-plugin/apidocs/options
   (props changed)

tomcat/site/trunk/docs/maven-plugin-2.0-beta-1/tomcat7-maven-plugin/apidocs/package-list
   (props changed)

tomcat/site/trunk/docs/maven-plugin-2.0-beta-1/tomcat7-maven-plugin/apidocs/packages
   (props changed)

tomcat/site/trunk/docs/maven-plugin-2.0-beta-1/tomcat7-maven-plugin/testapidocs/options
   (props changed)

tomcat/site/trunk/docs/maven-plugin-2.0-beta-1/tomcat7-maven-plugin/testapidocs/package-list
   (props changed)

tomcat/site/trunk/docs/maven-plugin-2.0-beta-1/tomcat7-maven-plugin/testapidocs/packages
   (props changed)

tomcat/site/trunk/docs/maven-plugin-2.0-beta-1/tomcat7-war-runner/apidocs/options
   (props changed)

tomcat/site/trunk/docs/maven-plugin-2.0-beta-1/tomcat7-war-runner/apidocs/package-list
   (props changed)

tomcat/site/trunk/docs/maven-plugin-2.0-beta-1/tomcat7-war-runner/apidocs/packages
   (props changed)

Propchange: tomcat/site/trunk/docs/maven-plugin-2.0-beta-1/apidocs/options
--
svn:eol-style = native

Propchange: tomcat/site/trunk/docs/maven-plugin-2.0-beta-1/apidocs/package-list
--
svn:eol-style = native

Propchange: tomcat/site/trunk/docs/maven-plugin-2.0-beta-1/apidocs/packages
--
svn:eol-style = native

Propchange: 
tomcat/site/trunk/docs/maven-plugin-2.0-beta-1/common-tomcat-maven-plugin/apidocs/options
--
svn:eol-style = native

Propchange: 
tomcat/site/trunk/docs/maven-plugin-2.0-beta-1/common-tomcat-maven-plugin/apidocs/package-list
--
svn:eol-style = native

Propchange: 
tomcat/site/trunk/docs/maven-plugin-2.0-beta-1/common-tomcat-maven-plugin/apidocs/packages
--
svn:eol-style = native

Propchange: tomcat/site/trunk/docs/maven-plugin-2.0-beta-1/testapidocs/options
--
svn:eol-style = native

Propchange: 
tomcat/site/trunk/docs/maven-plugin-2.0-beta-1/testapidocs/package-list
--
svn:eol-style = native

Propchange: tomcat/site/trunk/docs/maven-plugin-2.0-beta-1/testapidocs/packages
--
svn:eol-style = native

Propchange: 
tomcat/site/trunk/docs/maven-plugin-2.0-beta-1/tomcat-maven-plugin-it/apidocs/options
--

DO NOT REPLY [Bug 52744] [Jasper] JSP files are always recompiled in development mode

2012-03-26 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52744

--- Comment #8 from xiaming forres...@gmail.com 2012-03-26 15:52:34 UTC ---
Yes, As Jarek mentioned, on linux platform, if the jsp file in a jar is checked
under development mode, it will always be compiled.

-- 
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: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[site] svn up problems

2012-03-26 Thread Mladen Turk

 cd /x1/www/tomcat.apache.org
 svn up
svn: Failed to add directory 'maven-plugin-2.0-beta-1': an unversioned 
directory of the same name already exists

Can someone remove that dir who added it to site's svn ?


Regards
--
^TM

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: [site] svn up problems

2012-03-26 Thread Konstantin Kolinko
2012/3/26 Mladen Turk mt...@apache.org:
 cd /x1/www/tomcat.apache.org
 svn up
 svn: Failed to add directory 'maven-plugin-2.0-beta-1': an unversioned
 directory of the same name already exists

 Can someone remove that dir who added it to site's svn ?

Just do:

rm -rf maven-plugin-2.0-beta-1
svn cleanup
svn up


Svn complains because the old directory is unversioned one.
IIRC there is also possible to do svn up --force, but I have not used it.

Best regards,
Konstantin Kolinko

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1305416 - in /tomcat/site/trunk: docs/index.html xdocs/index.xml

2012-03-26 Thread rjung
Author: rjung
Date: Mon Mar 26 15:59:19 2012
New Revision: 1305416

URL: http://svn.apache.org/viewvc?rev=1305416view=rev
Log:
Fix broken patch link on our main page.

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

Modified: tomcat/site/trunk/docs/index.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/index.html?rev=1305416r1=1305415r2=1305416view=diff
==
--- tomcat/site/trunk/docs/index.html (original)
+++ tomcat/site/trunk/docs/index.html Mon Mar 26 15:59:19 2012
@@ -249,7 +249,7 @@ This version fixes few bugs found in 1.2
 
 p
 strongNotice:/strongUsers of discontinued Apache Httpd 1.3.x version will 
need to apply the
-a href=r1302445 
patchhttp://svn.apache.org/viewvc/tomcat/jk/trunk/native/apache-1.3/mod_jk.c?r1=1302445/a
+a href=r1302445 
patchhttp://svn.apache.org/viewvc/tomcat/jk/trunk/native/apache-1.3/mod_jk.c?r1=1305020amp;r2=1302445/a
 to be able to compile this version of mod_jk/p
 
 p align=center

Modified: tomcat/site/trunk/xdocs/index.xml
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/index.xml?rev=1305416r1=1305415r2=1305416view=diff
==
--- tomcat/site/trunk/xdocs/index.xml (original)
+++ tomcat/site/trunk/xdocs/index.xml Mon Mar 26 15:59:19 2012
@@ -44,7 +44,7 @@ Apache Tomcat Connectors.
 This version fixes few bugs found in 1.2.33 release.
 /p
 pstrongNotice:/strongUsers of discontinued Apache Httpd 1.3.x version 
will need to apply the
-a href=r1302445 
patchhttp://svn.apache.org/viewvc/tomcat/jk/trunk/native/apache-1.3/mod_jk.c?r1=1302445/a
+a href=r1302445 
patchhttp://svn.apache.org/viewvc/tomcat/jk/trunk/native/apache-1.3/mod_jk.c?r1=1305020amp;r2=1302445/a
 to be able to compile this version of mod_jk/p
 p align=center
 a href=download-connectors.cgiDownload/a |



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 52744] [Jasper] JSP files are always recompiled in development mode

2012-03-26 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52744

xiaming forres...@gmail.com changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|INVALID |

-- 
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: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1305419 - in /tomcat/site/trunk: docs/index.html docs/oldnews.html xdocs/index.xml xdocs/oldnews.xml

2012-03-26 Thread kkolinko
Author: kkolinko
Date: Mon Mar 26 16:06:28 2012
New Revision: 1305419

URL: http://svn.apache.org/viewvc?rev=1305419view=rev
Log:
Fix link in the announcement.
Add old one to oldnews.

Modified:
tomcat/site/trunk/docs/index.html
tomcat/site/trunk/docs/oldnews.html
tomcat/site/trunk/xdocs/index.xml
tomcat/site/trunk/xdocs/oldnews.xml

Modified: tomcat/site/trunk/docs/index.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/index.html?rev=1305419r1=1305418r2=1305419view=diff
==
--- tomcat/site/trunk/docs/index.html (original)
+++ tomcat/site/trunk/docs/index.html Mon Mar 26 16:06:28 2012
@@ -248,9 +248,9 @@ This version fixes few bugs found in 1.2
 /p
 
 p
-strongNotice:/strongUsers of discontinued Apache Httpd 1.3.x version will 
need to apply the
-a href=r1302445 
patchhttp://svn.apache.org/viewvc/tomcat/jk/trunk/native/apache-1.3/mod_jk.c?r1=1305020amp;r2=1302445/a
-to be able to compile this version of mod_jk/p
+strongNotice:/strong Users of discontinued Apache HTTPD 1.3.x version will 
need to apply the
+a 
href=http://svn.apache.org/viewvc/tomcat/jk/trunk/native/apache-1.3/mod_jk.c?r1=1302445amp;r2=1305020;r1305020
 patch/a
+to be able to compile this version of mod_jk./p
 
 p align=center
 

Modified: tomcat/site/trunk/docs/oldnews.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/oldnews.html?rev=1305419r1=1305418r2=1305419view=diff
==
--- tomcat/site/trunk/docs/oldnews.html (original)
+++ tomcat/site/trunk/docs/oldnews.html Mon Mar 26 16:06:28 2012
@@ -185,6 +185,43 @@
 !--RIGHT SIDE MAIN BODY--td width=80% valign=top align=left 
id=mainBody
 table border=0 cellspacing=0 cellpadding=2 width=100%
 tr
+td bgcolor=#525D76font color=#ff face=arial,helvetica,sanserifa 
name=Tomcat Connectors 1.2.33 Released
+!--()--/aa name=Tomcat_Connectors_1.2.33_ReleasedstrongTomcat 
Connectors 1.2.33 Released/strong/a/font/tdtd align=right 
bgcolor=#525D76font color=#ff 
face=arial,helvetica.sanserifstrong2012-03-12/strong/font/td
+/tr
+tr
+td colspan=2
+p
+blockquote
+
+p
+The Apache Tomcat Project is proud to announce the release of version 1.2.33 of
+Apache Tomcat Connectors.
+This version is principally a bugfix release.
+/p
+
+p
+strongWarning:/strong There are stability issues with the mod_jk 1.2.33
+release. If you have not yet upgraded to mod_jk 1.2.33 we recommend that you
+wait for the mod_jk 1.2.35 release. If you have
+upgraded and experienced issues we recommend that you downgrade to
+mod_jk 1.2.32 until mod_jk 1.2.35 is available./p
+
+
+p
+strongUpdate:/strong mod_jk 1.2.35 is available./p
+
+/blockquote
+/p
+/td
+/tr
+tr
+td
+br
+/td
+/tr
+/table
+table border=0 cellspacing=0 cellpadding=2 width=100%
+tr
 td bgcolor=#525D76font color=#ff face=arial,helvetica,sanserifa 
name=Tomcat 7.0.25 Released
 !--()--/aa name=Tomcat_7.0.25_ReleasedstrongTomcat 7.0.25 
Released/strong/a/font/tdtd align=right bgcolor=#525D76font 
color=#ff 
face=arial,helvetica.sanserifstrong2012-01-21/strong/font/td
 /tr

Modified: tomcat/site/trunk/xdocs/index.xml
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/index.xml?rev=1305419r1=1305418r2=1305419view=diff
==
--- tomcat/site/trunk/xdocs/index.xml (original)
+++ tomcat/site/trunk/xdocs/index.xml Mon Mar 26 16:06:28 2012
@@ -43,9 +43,9 @@ The Apache Tomcat Project is proud to an
 Apache Tomcat Connectors.
 This version fixes few bugs found in 1.2.33 release.
 /p
-pstrongNotice:/strongUsers of discontinued Apache Httpd 1.3.x version 
will need to apply the
-a href=r1302445 
patchhttp://svn.apache.org/viewvc/tomcat/jk/trunk/native/apache-1.3/mod_jk.c?r1=1305020amp;r2=1302445/a
-to be able to compile this version of mod_jk/p
+pstrongNotice:/strong Users of discontinued Apache HTTPD 1.3.x version 
will need to apply the
+a 
href=http://svn.apache.org/viewvc/tomcat/jk/trunk/native/apache-1.3/mod_jk.c?r1=1302445amp;r2=1305020;r1305020
 patch/a
+to be able to compile this version of mod_jk./p
 p align=center
 a href=download-connectors.cgiDownload/a |
 a href=connectors-doc/miscellaneous/changelog.htmlChangeLog for 1.2.35/a

Modified: tomcat/site/trunk/xdocs/oldnews.xml
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/oldnews.xml?rev=1305419r1=1305418r2=1305419view=diff
==
--- tomcat/site/trunk/xdocs/oldnews.xml (original)
+++ tomcat/site/trunk/xdocs/oldnews.xml Mon Mar 26 16:06:28 2012
@@ -8,6 +8,21 @@
 
 body
 
+section name=Tomcat Connectors 1.2.33 Released rtext=2012-03-12
+p
+The Apache Tomcat Project is proud to announce the release of version 1.2.33 of
+Apache Tomcat Connectors.
+This version is principally a bugfix release.
+/p
+pstrongWarning:/strong There are stability issues with the mod_jk 1.2.33

Re: [site] svn up problems

2012-03-26 Thread Mladen Turk

On 03/26/2012 05:58 PM, Konstantin Kolinko wrote:

2012/3/26 Mladen Turkmt...@apache.org:

cd /x1/www/tomcat.apache.org
svn up

svn: Failed to add directory 'maven-plugin-2.0-beta-1': an unversioned
directory of the same name already exists

Can someone remove that dir who added it to site's svn ?


Just do:

rm -rf maven-plugin-2.0-beta-1
svn cleanup
svn up



done.

Regards
--
^TM

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: [ANN] Apache Tomcat Connectors 1.2.35 released

2012-03-26 Thread Rainer Jung

On 26.03.2012 17:16, Mladen Turk wrote:

On 03/26/2012 05:02 PM, Rainer Jung wrote:

On 26.03.2012 13:03, Mladen Turk wrote:

Shouldn't it have been:
http://svn.apache.org/viewvc/tomcat/jk/trunk/native/apache-1.3/mod_jk.c?r1=1305020r2=1302445




Yeah, couldn't put that into .xml cause ampersand breaks the build,
and actually didn't have time or will to figure out how to have it.

Feel free to modify the index.xml and update the url.


Done in r1305416.

Lokks like we both are svn up the site on p.a.o nearly in parallel 
during the last minutes. Will log out now.


Regards,

Rainer


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: [ANN] Apache Tomcat Connectors 1.2.35 released

2012-03-26 Thread Mladen Turk

On 03/26/2012 06:10 PM, Rainer Jung wrote:

On 26.03.2012 17:16, Mladen Turk wrote:


Feel free to modify the index.xml and update the url.


Done in r1305416.

Lokks like we both are svn up the site on p.a.o nearly in parallel during the 
last minutes. Will log out now.



Yeah, I did svn up few minutes back. Should be visible on www in
couple of hours



Regards
--
^TM

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: [ANN] Apache Tomcat Connectors 1.2.35 released

2012-03-26 Thread Konstantin Kolinko
2012/3/26 Rainer Jung rainer.j...@kippdata.de:
 On 26.03.2012 17:16, Mladen Turk wrote:

 On 03/26/2012 05:02 PM, Rainer Jung wrote:

 On 26.03.2012 13:03, Mladen Turk wrote:

 Shouldn't it have been:

 http://svn.apache.org/viewvc/tomcat/jk/trunk/native/apache-1.3/mod_jk.c?r1=1305020r2=1302445



 Yeah, couldn't put that into .xml cause ampersand breaks the build,
 and actually didn't have time or will to figure out how to have it.

 Feel free to modify the index.xml and update the url.


 Done in r1305416.

r1305419 :/  There was more than just a typo.


 Looks like we both are svn up the site on p.a.o nearly in parallel during
 the last minutes. Will log out now.


I was there too.


Have a nice day!

Best regards,
Konstantin Kolinko

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[GUMP@vmgump]: Project tomcat-tc7.0.x-test (in module tomcat-7.0.x) failed

2012-03-26 Thread Bill Barker
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at gene...@gump.apache.org.

Project tomcat-tc7.0.x-test has an issue affecting its community integration.
This issue affects 1 projects.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- tomcat-tc7.0.x-test :  Tomcat 7.x, a web server implementing Java Servlet 
3.0,
...


Full details are available at:

http://vmgump.apache.org/gump/public/tomcat-7.0.x/tomcat-tc7.0.x-test/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Dependency on tomcat-tc7.0.x-dbcp exists, no need to add for property 
tomcat-dbcp-src.jar.
 -DEBUG- Dependency on commons-daemon exists, no need to add for property 
commons-daemon.native.src.tgz.
 -DEBUG- Dependency on commons-daemon exists, no need to add for property 
tomcat-native.tar.gz.
 -DEBUG- Dependency on tomcat-tc7.0.x-dbcp exists, no need to add for property 
tomcat-dbcp.home.
 -INFO- Failed with reason build failed
 -INFO- Project Reports in: 
/srv/gump/public/workspace/tomcat-7.0.x/output/build/logs



The following work was performed:
http://vmgump.apache.org/gump/public/tomcat-7.0.x/tomcat-tc7.0.x-test/gump_work/build_tomcat-7.0.x_tomcat-tc7.0.x-test.html
Work Name: build_tomcat-7.0.x_tomcat-tc7.0.x-test (Type: Build)
Work ended in a state of : Failed
Elapsed: 22 mins 10 secs
Command Line: /usr/lib/jvm/java-6-openjdk/bin/java -Djava.awt.headless=true 
-Dbuild.sysclasspath=only org.apache.tools.ant.Main 
-Dgump.merge=/srv/gump/public/gump/work/merge.xml 
-Djunit.jar=/srv/gump/public/workspace/junit/dist/junit-26032012.jar 
-Dcommons-daemon.native.src.tgz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-26032012-native-src.tar.gz
 
-Dtomcat-native.tar.gz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-26032012-native-src.tar.gz
 -Dexamples.sources.skip=true 
-Dtomcat-dbcp.home=/srv/gump/public/workspace/tomcat-7.0.x/tomcat-deps 
-Djdt.jar=/srv/gump/packages/eclipse/plugins/org.eclipse.jdt.core_3.4.2/jdtcore.jar
 
-Dcommons-daemon.jar=/srv/gump/public/workspace/apache-commons/daemon/dist/commons-daemon-26032012.jar
 
-Dtomcat-dbcp-src.jar=/srv/gump/public/workspace/tomcat-7.0.x/tomcat-deps/tomcat-dbcp-src.jar
 -Dtest.accesslog=true 
-Dcommons-pool.home=/srv/gump/public/workspace/commons-pool-1.x 
-Dcommons-dbcp.home=/
 srv/gump/public/workspace/commons-dbcp-1.x 
-Dtomcat-dbcp.jar=/srv/gump/public/workspace/tomcat-7.0.x/tomcat-deps/tomcat-dbcp-26032012.jar
 test 
[Working Directory: /srv/gump/public/workspace/tomcat-7.0.x]
CLASSPATH: 
/usr/lib/jvm/java-6-openjdk/lib/tools.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/webapps/examples/WEB-INF/classes:/srv/gump/public/workspace/tomcat-7.0.x/output/testclasses:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/bin/bootstrap.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/bin/tomcat-juli.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/annotations-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/servlet-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/outp
 
ut/build/lib/jsp-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/el-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/catalina.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/catalina-ant.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/tomcat-coyote.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/jasper.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/jasper-el.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/catalina-tribes.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/catalina-ha.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/tomcat-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/tomcat-util.jar:/srv/gump/packages/javamail-1.4/mail.jar:/srv/gump/packages/javamail-1.4/lib/mailapi.jar:/srv/gump/packages/jaf-1.1ea/activation.jar:/srv/gump/packages/eclipse/plugins/org.eclipse.jdt.core_3.4.2/jdtcore.jar:/srv/gump/public/workspace/tomcat-7.
 

DO NOT REPLY [Bug 52988] New: ExpandWar::deleteDir() traverses symlinked directories, deleting files outside of appBase

2012-03-26 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52988

 Bug #: 52988
   Summary: ExpandWar::deleteDir() traverses symlinked
directories, deleting files outside of appBase
   Product: Tomcat 7
   Version: 7.0.16
  Platform: Other
OS/Version: Linux
Status: NEW
  Severity: normal
  Priority: P2
 Component: Catalina
AssignedTo: dev@tomcat.apache.org
ReportedBy: christiw...@gmail.com
CC: christiw...@gmail.com
Classification: Unclassified


Overview:
When Tomcat fails to expand a WAR file, it attempts to clean up after itself by
running deleteDir(docBase). This function contains a problematic if-condition
that allows Tomcat to traverse symlinked directories and recursively delete
files behind them, even if those files are outside 'docBase'.

Steps to Reproduce:
1) Explode a WAR successfully into webapps/. 
2) Add a symlink in that WAR's docbase to a directory outside of webapps/. As
far as I can tell, it can be anywhere on the machine (ours traversed a mount,
for example).
3) Redeploy a WAR, but make it fail somehow (I witnessed it while deploying a
corrupted zip archive), thus activating these lines of ExpandWar.java:

158 if (!success) {
159 // If something went wrong, delete expanded dir to keep
things.
160 // clean
161 deleteDir(docBase);
162 }

Actual Results:
deleteDir() traversed the directory symlinks in 'docBase', allowing Tomcat to
incorrectly delete files outside of docBase. It appears the problem is line 374
of ExpandWar.java. Despite internet sources claiming otherwise, I was able to
verify the isDirectory() method returns 'true' for symlinked directories using
my version, build, and platform:

366 public static boolean deleteDir(File dir, boolean logFailure) {
367 
368 String files[] = dir.list();
369 if (files == null) {
370 files = new String[0];
371 }
372 for (int i = 0; i  files.length; i++) {
373 File file = new File(dir, files[i]);
374 if (file.isDirectory()) {
375 deleteDir(file, logFailure);
376 } else {
377 file.delete();
378 }

Expected Results:
ExpandWar.java should delete symlinks without following them. One could either
check the absolute vs. canonical path, or use something like the isSymlink()
method already present in Apache Commons:
http://stackoverflow.com/a/813730/877115

Build Date and Platform:
Sun java 1.6.0_20 running on RHEL 6.1. First discovered in 7.0.16, but I
checked trunk and the troubled logic is unchanged there.

Additional information:
We used symlinks to link client assets inside docBase for legacy code purposes.
We've refactored this code out after encountering this bug, as maintaining
symlinks inside exploded WARs is difficult, a bad practice, and this bug makes
them a time bomb. All the same, I can't imagine any conditions under which
Tomcat's WAR logic should be able to delete files outside of 'docBase', even if
the user was foolish like me. Hence this filing.

-- 
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: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: [ANN] Apache Tomcat Connectors 1.2.35 released

2012-03-26 Thread Rainer Jung

On 26.03.2012 18:19, Konstantin Kolinko wrote:

2012/3/26 Rainer Jungrainer.j...@kippdata.de:

On 26.03.2012 17:16, Mladen Turk wrote:


On 03/26/2012 05:02 PM, Rainer Jung wrote:


On 26.03.2012 13:03, Mladen Turk wrote:

Feel free to modify the index.xml and update the url.



Done in r1305416.


r1305419 :/  There was more than just a typo.


Doh!


I was there too.


Nice meeting you ;)

Regards,

Rainer


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: [ANN] Apache Tomcat Connectors 1.2.35 released

2012-03-26 Thread Rainer Jung

On 26.03.2012 18:15, Mladen Turk wrote:

On 03/26/2012 06:10 PM, Rainer Jung wrote:

On 26.03.2012 17:16, Mladen Turk wrote:



Lokks like we both are svn up the site on p.a.o nearly in parallel
during the last minutes. Will log out now.



Yeah, I did svn up few minutes back. Should be visible on www in
couple of hours


Update already for me right now. I guess you are aware that 
download-connectors.html isn't yet updated, so Homepage informs about 
1.2.35, but download page shows text about 1.2.33?


Regards,

Rainer


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: [ANN] Apache Tomcat Connectors 1.2.35 released

2012-03-26 Thread Mladen Turk

On 03/26/2012 07:00 PM, Rainer Jung wrote:

On 26.03.2012 18:15, Mladen Turk wrote:

On 03/26/2012 06:10 PM, Rainer Jung wrote:

On 26.03.2012 17:16, Mladen Turk wrote:



Lokks like we both are svn up the site on p.a.o nearly in parallel
during the last minutes. Will log out now.



Yeah, I did svn up few minutes back. Should be visible on www in
couple of hours


Update already for me right now. I guess you are aware that 
download-connectors.html isn't yet updated, so Homepage informs about 1.2.35, 
but download page shows text about 1.2.33?



Crap, forget about those.
Will update in a minute.

This is one of the most annoying releases I had for years.
It just refuses to go out :)


Regards
--
^TM

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1305449 - in /tomcat/site/trunk: docs/download-connectors.html xdocs/download-connectors.xml

2012-03-26 Thread mturk
Author: mturk
Date: Mon Mar 26 17:05:33 2012
New Revision: 1305449

URL: http://svn.apache.org/viewvc?rev=1305449view=rev
Log:
Update downloads

Modified:
tomcat/site/trunk/docs/download-connectors.html
tomcat/site/trunk/xdocs/download-connectors.xml

Modified: tomcat/site/trunk/docs/download-connectors.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-connectors.html?rev=1305449r1=1305448r2=1305449view=diff
==
--- tomcat/site/trunk/docs/download-connectors.html (original)
+++ tomcat/site/trunk/docs/download-connectors.html Mon Mar 26 17:05:33 2012
@@ -281,20 +281,20 @@
 
 li class=download
   
-a 
href=[preferred]/tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.33-src.tar.gz
 rel=nofollow
-JK 1.2.33 Source Release tar.gz
+a 
href=[preferred]/tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.35-src.tar.gz
 rel=nofollow
+JK 1.2.35 Source Release tar.gz
   /a (e.g. Unix, Linux, Mac OS)
 ul class=attributes
   
 li
 span class=pgp
-[a 
href=http://www.apache.org/dist/tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.33-src.tar.gz.asc;PGP/a]
+[a 
href=http://www.apache.org/dist/tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.35-src.tar.gz.asc;PGP/a]
   /span
 /li
   
 li
 span class=md5
-[a 
href=http://www.apache.org/dist/tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.33-src.tar.gz.md5;MD5/a]
+[a 
href=http://www.apache.org/dist/tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.35-src.tar.gz.md5;MD5/a]
   /span
 /li
 
@@ -304,20 +304,20 @@
 
 li class=download
   
-a 
href=[preferred]/tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.33-src.zip 
rel=nofollow
-JK 1.2.33 Source Release zip
+a 
href=[preferred]/tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.35-src.zip 
rel=nofollow
+JK 1.2.35 Source Release zip
   /a (e.g. Windows)
 ul class=attributes
   
 li
 span class=pgp
-[a 
href=http://www.apache.org/dist/tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.33-src.zip.asc;PGP/a]
+[a 
href=http://www.apache.org/dist/tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.35-src.zip.asc;PGP/a]
   /span
 /li
   
 li
 span class=md5
-[a 
href=http://www.apache.org/dist/tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.33-src.zip.md5;MD5/a]
+[a 
href=http://www.apache.org/dist/tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.35-src.zip.md5;MD5/a]
   /span
 /li
 
@@ -350,7 +350,7 @@
 /ul
 
 
-ptomcat-connectors-1.2.33-src.* is signed by Mladen Turk 
(code564C17A3/code)./p
+ptomcat-connectors-1.2.35-src.* is signed by Mladen Turk 
(code564C17A3/code)./p
 
   
 /blockquote
@@ -387,7 +387,7 @@
 p
 code
 % pgpk -a KEYSbr
-% pgpv tomcat-connectors-1.2.33-src.tar.gz.ascbr
+% pgpv tomcat-connectors-1.2.35-src.tar.gz.ascbr
 
 /code
 emor/em
@@ -395,7 +395,7 @@
 
 code
 % pgp -ka KEYSbr
-% pgp tomcat-connectors-1.2.33-src.tar.gz.ascbr
+% pgp tomcat-connectors-1.2.35-src.tar.gz.ascbr
 
 /code
 emor/em
@@ -403,7 +403,7 @@
 
 code
 % gpg --import KEYSbr
-% gpg --verify tomcat-connectors-1.2.33-src.tar.gz.asc
+% gpg --verify tomcat-connectors-1.2.35-src.tar.gz.asc
 /code
 /p
 

Modified: tomcat/site/trunk/xdocs/download-connectors.xml
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/download-connectors.xml?rev=1305449r1=1305448r2=1305449view=diff
==
--- tomcat/site/trunk/xdocs/download-connectors.xml (original)
+++ tomcat/site/trunk/xdocs/download-connectors.xml Mon Mar 26 17:05:33 2012
@@ -50,28 +50,28 @@
   div class=linksspan class=labelSource (please choose the 
correct format for your platform)/span/div
   ul
 li class=download
-  a 
href=[preferred]/tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.33-src.tar.gz
 rel=nofollow
-JK 1.2.33 Source Release tar.gz
+  a 
href=[preferred]/tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.35-src.tar.gz
 rel=nofollow
+JK 1.2.35 Source Release tar.gz
   /a (e.g. Unix, Linux, Mac OS)
 ul class=attributes
   lispan class=pgp
-[a 
href=http://www.apache.org/dist/tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.33-src.tar.gz.asc;PGP/a]
+[a 
href=http://www.apache.org/dist/tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.35-src.tar.gz.asc;PGP/a]
   /span/li
   lispan class=md5
-   

svn commit: r1305455 - /tomcat/jk/trunk/xdocs/reference/iis.xml

2012-03-26 Thread rjung
Author: rjung
Date: Mon Mar 26 17:25:31 2012
New Revision: 1305455

URL: http://svn.apache.org/viewvc?rev=1305455view=rev
Log:
Remove warning about experimental feature that
became stable long ago.

Modified:
tomcat/jk/trunk/xdocs/reference/iis.xml

Modified: tomcat/jk/trunk/xdocs/reference/iis.xml
URL: 
http://svn.apache.org/viewvc/tomcat/jk/trunk/xdocs/reference/iis.xml?rev=1305455r1=1305454r2=1305455view=diff
==
--- tomcat/jk/trunk/xdocs/reference/iis.xml (original)
+++ tomcat/jk/trunk/xdocs/reference/iis.xml Mon Mar 26 17:25:31 2012
@@ -243,11 +243,10 @@ A true value can be represented by the s
 with the letters T or t. A false value will be assumed for 0
 or any string starting with F or f. The default value is false.
 /p
-warnThis option is considered experimental and its support
-must be compile time enabled. Use codeisapi_redirect.dll/code
-with chunked support enabled.
-/warn
-pThis directive has been added in version 1.2.27/p
+pThis directive has been added in version 1.2.27. Until version 1.2.30 it
+was considered experimental and only available when a special build containing
+chunking support was used. Starting with 1.2.30 it is no longer considered
+experimental./p
 /attribute
 /attributes
 /section 



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: [ANN] Apache Tomcat Connectors 1.2.35 released

2012-03-26 Thread Rainer Jung

On 26.03.2012 19:03, Mladen Turk wrote:


This is one of the most annoying releases I had for years.
It just refuses to go out :)


There's a German saying:

The most difficult births often bring the most beautiful children.


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: [ANN] Apache Tomcat Connectors 1.2.35 released

2012-03-26 Thread Mladen Turk

On 03/26/2012 07:39 PM, Rainer Jung wrote:

On 26.03.2012 19:03, Mladen Turk wrote:


This is one of the most annoying releases I had for years.
It just refuses to go out :)


There's a German saying:

The most difficult births often bring the most beautiful children.



I know you Germans have a say for almost anything :)

Anyhow, we will probably release 1.2.36 next month with
some minor fixes, but I wish to have a BZ for each and
every one, and that there is a clear relation between
commits and BZ issues.

There is one potential issue with shm sync,
but this needs to get isolated and tested on all web servers
so it doesn't break IIS again.

For the moment I see this as the only reason for update.


Regards
--
^TM

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 52988] ExpandWar::deleteDir() traverses symlinked directories, deleting files outside of appBase

2012-03-26 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52988

Mark Thomas ma...@apache.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE

--- Comment #1 from Mark Thomas ma...@apache.org 2012-03-26 18:04:54 UTC ---
Follow up on the users list for the right way to do this.

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

-- 
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: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 39226] Manager app deletes contents of symbolic links on undeploy

2012-03-26 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=39226

Mark Thomas ma...@apache.org changed:

   What|Removed |Added

 CC||christiw...@gmail.com

--- Comment #4 from Mark Thomas ma...@apache.org 2012-03-26 18:04:55 UTC ---
*** Bug 52988 has been marked as a duplicate of this 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: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: svn commit: r1305321 - in /tomcat/site/trunk/docs/maven-plugin-2.0-beta-1: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/tomcat/ apidocs/org/apache/tomcat/maven/ apidocs/org/apac

2012-03-26 Thread Mark Thomas
On 26/03/2012 13:02, ol...@apache.org wrote:
 Author: olamy
 Date: Mon Mar 26 12:01:12 2012
 New Revision: 1305321
 
 URL: http://svn.apache.org/viewvc?rev=1305321view=rev
 Log:
 import maven-plugin 2.0-beta-1 site for svnpub: really sorry for such 
 spamming :-)

You don't want to include the minor versions number in the top level
directory. The idea is that the docs location for the latest version
doesn't change. It will also help with reducing the size of the svn diff
when you do a version update.

I'd expect it to be maven-plugin-2

Mark

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: Jenkins permissions

2012-03-26 Thread Olivier Lamy
Hello,
See http://wiki.apache.org/general/Jenkins#How_do_I_get_an_account



2012/3/26 Jeremy Boynes jboy...@apache.org:
 Who controls permissions in Jenkins (builds.a.o)? Please can you grant me 
 build rights for Taglibs-All?

 Thanks
 Jeremy


 -
 To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: dev-h...@tomcat.apache.org




-- 
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1305511 - in /tomcat/site/trunk/docs: maven-plugin-2.0-beta-1/ maven-plugin-2/

2012-03-26 Thread olamy
Author: olamy
Date: Mon Mar 26 19:32:09 2012
New Revision: 1305511

URL: http://svn.apache.org/viewvc?rev=1305511view=rev
Log:
use a non minor versionned path.


Added:
tomcat/site/trunk/docs/maven-plugin-2/
  - copied from r1305510, tomcat/site/trunk/docs/maven-plugin-2.0-beta-1/
Removed:
tomcat/site/trunk/docs/maven-plugin-2.0-beta-1/


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: svn commit: r1305321 - in /tomcat/site/trunk/docs/maven-plugin-2.0-beta-1: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/tomcat/ apidocs/org/apache/tomcat/maven/ apidocs/org/apac

2012-03-26 Thread Olivier Lamy
2012/3/26 Mark Thomas ma...@apache.org:
 On 26/03/2012 13:02, ol...@apache.org wrote:
 Author: olamy
 Date: Mon Mar 26 12:01:12 2012
 New Revision: 1305321

 URL: http://svn.apache.org/viewvc?rev=1305321view=rev
 Log:
 import maven-plugin 2.0-beta-1 site for svnpub: really sorry for such 
 spamming :-)

 You don't want to include the minor versions number in the top level
 directory. The idea is that the docs location for the latest version
 doesn't change. It will also help with reducing the size of the svn diff
 when you do a version update.

 I'd expect it to be maven-plugin-2
agree too: done.

 Mark

 -
 To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: dev-h...@tomcat.apache.org




-- 
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: tomcat connector - jk_status does not update shm correctly

2012-03-26 Thread Le Huy
Thank for clarification


1) in unix if we do not update lb_mult of worker then push it to shm
storage and indicate other processes to pull it from shm storage then
how other processes know that the balancer was changed and act
accordingly ?

Looking at static void commit_all_members(), there is clear that the
update_mult is performed correctly before  jk_lb_push

3657 else if (rc == 2)
3658 /* Recalculate the load multiplicators wrt. lb_factor */
3659 update_mult(lb, l);
3660 if (rc) {
3661 lb-sequence++;
3662 jk_lb_push(lb, JK_TRUE, l);
3663 }

2) As I understand there are jk_lb_pull which sync mem from shm to
heap and jk_lb_push which sync from mem to shm.  So when we need to
update shm  we will increase sequence of mem of one process   by doing
this sequence of mem is ahead of shm then call jk_lb_push to copy  mem
including its sequence to shm.
Other process has mem's sequence behind shm's sequence thus will call
jk_lb_pull to copy data from shm to its heap.

Finally   all processes will have sequence of their mem same as shm.



On Mon, Mar 26, 2012 at 12:49 PM, Mladen Turk mt...@apache.org wrote:
 On 03/25/2012 11:00 PM, Le Huy wrote:

 Hi

 I am facing problem in using jkstatus to update subworker lb_factor,
 it seems that after changing it, the mod_jk balancer does not change
 anything

 Looking at source code in trunk, I think that there is bug , I
 include herewith the 2 changes that I think will fix the problem,


 It won't fix the problems.
 It'll cause IIS to crash on recycle.

 Think that the entire jkstatus needs to get reviewed
 cause the current code is  unnecessary complex.


     for (i = 0; i  p-num_of_workers; i++) {
         lb_sub_worker_t *w =p-lb_workers[i];
 -        if (w-sequence  w-s-h.sequence) {
 +        if (w-sequence  w-s-h.sequence) {


 That's not correct.
 The shared memory needs to get incremented on change
 and heap memory updated when its sequence is behind
 the shared memory. It is illegal to have heap memory
 'newer' then the content of shared memory.



 Regards
 --
 ^TM

 -
 To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: dev-h...@tomcat.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: svn commit: r1302479 - /tomcat/jk/trunk/native/common/jk_lb_worker.c

2012-03-26 Thread Rainer Jung

Hi Mladen,

On 19.03.2012 15:40, mt...@apache.org wrote:

Author: mturk
Date: Mon Mar 19 14:40:15 2012
New Revision: 1302479

URL: http://svn.apache.org/viewvc?rev=1302479view=rev
Log:
Make sure we pull only if the sequence is above us

Modified:
 tomcat/jk/trunk/native/common/jk_lb_worker.c

Modified: tomcat/jk/trunk/native/common/jk_lb_worker.c
URL: 
http://svn.apache.org/viewvc/tomcat/jk/trunk/native/common/jk_lb_worker.c?rev=1302479r1=1302478r2=1302479view=diff
==
--- tomcat/jk/trunk/native/common/jk_lb_worker.c (original)
+++ tomcat/jk/trunk/native/common/jk_lb_worker.c Mon Mar 19 14:40:15 2012


...


@@ -365,13 +365,12 @@ void jk_lb_push(lb_worker_t *p, int lock
  p-s-lbmethod = p-lbmethod;
  p-s-lblock = p-lblock;
  p-s-max_packet_size = p-max_packet_size;
-p-s-h.sequence = p-sequence;
  strncpy(p-s-session_cookie, p-session_cookie, JK_SHM_STR_SIZ);
  strncpy(p-s-session_path, p-session_path, JK_SHM_STR_SIZ);

  for (i = 0; i  p-num_of_workers; i++) {
  lb_sub_worker_t *w =p-lb_workers[i];
-if (w-sequence != w-s-h.sequence) {
+if (w-sequence  w-s-h.sequence) {


I think this one is wrong. It is inside push not pull, so it should be 
if (local  shared) and not .



  jk_worker_t *jw = w-worker;
  ajp_worker_t *aw = (ajp_worker_t *)jw-worker_private;


The other changes in this commit look right.

Regards,

Rainer


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: tomcat connector - jk_status does not update shm correctly

2012-03-26 Thread Rainer Jung

On 26.03.2012 12:49, Mladen Turk wrote:

On 03/25/2012 11:00 PM, Le Huy wrote:

Hi

I am facing problem in using jkstatus to update subworker lb_factor,
it seems that after changing it, the mod_jk balancer does not change
anything

Looking at source code in trunk, I think that there is bug , I
include herewith the 2 changes that I think will fix the problem,



It won't fix the problems.
It'll cause IIS to crash on recycle.

Think that the entire jkstatus needs to get reviewed
cause the current code is unnecessary complex.



for (i = 0; i p-num_of_workers; i++) {
lb_sub_worker_t *w =p-lb_workers[i];
- if (w-sequence w-s-h.sequence) {
+ if (w-sequence w-s-h.sequence) {


That's not correct.
The shared memory needs to get incremented on change
and heap memory updated when its sequence is behind
the shared memory. It is illegal to have heap memory
'newer' then the content of shared memory.


But that change was in the push function. So heap *is* newer than shared 
and wants to update shared because of that. I agree with the OP that it 
should be  instead of  here. The other changes in r1302479 look OK 
to me, but that line consitutes a bug in itself independent of lb_mult 
updating. It should prohibit publishing changes of lb member attributes 
done via the status worker during runtime at least when under load the 
other processes had already pulled the previous state (might not occur 
when only clicking a few times).


Regards,

Rainer

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: tomcat connector - jk_status does not update shm correctly

2012-03-26 Thread Rainer Jung

On 26.03.2012 12:49, Mladen Turk wrote:

On 03/25/2012 11:00 PM, Le Huy wrote:

Hi

I am facing problem in using jkstatus to update subworker lb_factor,
it seems that after changing it, the mod_jk balancer does not change
anything

Looking at source code in trunk, I think that there is bug , I
include herewith the 2 changes that I think will fix the problem,



It won't fix the problems.
It'll cause IIS to crash on recycle.

Think that the entire jkstatus needs to get reviewed
cause the current code is unnecessary complex.


I think the OP is also correct with the first patch for fixing the 
handling of lb_mult. Why do you think reordering like he suggests in his 
first patch will cause IIS to crash? It should just update some local 
data first before it gets pushed to shm instead of after pushing. What 
reason for a crash do you see?


Regards,

Rainer


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: Refresh JK httpd-2.4.x binaries [VOTE] ?

2012-03-26 Thread Christopher Schultz
Mladen,

On 3/26/12 1:54 AM, Mladen Turk wrote:
 Hi,
 
 I build our courtesy windows binaries against httpd-2.4.1-dev
 which has a different MMN then 2.4.1 thus refusing to load.
 (other binaries are file)
 
 I have removed the tomcat-connectors-1.2.35-windows-i386-http-2.4.x.*
 file from dist site and new one are at:
 http://people.apache.org/~mturk/tomcat-connectors/jk-1.2.35/binaries/windows/
 
 (just *-http-2.4.x-* files are changed)
 
 Should we vote for putting those on our official dist site?
 If so, please use this as a VOTE thread, and with my implicit +1
 I'll upload those bins when I collect two more votes.
 
 Regards

+1 (not sure it's binding ;)

-chris



signature.asc
Description: OpenPGP digital signature


svn commit: r1305696 - in /tomcat/tc7.0.x/trunk: ./ build.xml

2012-03-26 Thread kkolinko
Author: kkolinko
Date: Tue Mar 27 00:55:07 2012
New Revision: 1305696

URL: http://svn.apache.org/viewvc?rev=1305696view=rev
Log:
Merged revision 1300108 from tomcat/trunk:
Exclude Eclipse files from checkstyle checks
if jdbc-pool has been opened in Eclipse as a separate module

Modified:
tomcat/tc7.0.x/trunk/   (props changed)
tomcat/tc7.0.x/trunk/build.xml

Propchange: tomcat/tc7.0.x/trunk/
--
  Merged /tomcat/trunk:r1300108

Modified: tomcat/tc7.0.x/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/build.xml?rev=1305696r1=1305695r2=1305696view=diff
==
--- tomcat/tc7.0.x/trunk/build.xml (original)
+++ tomcat/tc7.0.x/trunk/build.xml Tue Mar 27 00:55:07 2012
@@ -469,6 +469,7 @@
 exclude name=**/tomcat-deps/**/
   /fileset
   fileset dir=modules/jdbc-pool 
+exclude name=.*/**/
 patternset refid=text.files /
   /fileset
 /checkstyle



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1305698 - in /tomcat/site/trunk: docs/maven-plugin.html xdocs/maven-plugin.xml

2012-03-26 Thread kkolinko
Author: kkolinko
Date: Tue Mar 27 01:03:21 2012
New Revision: 1305698

URL: http://svn.apache.org/viewvc?rev=1305698view=rev
Log:
Update link to maven-plugin site
Wrap long lines

Modified:
tomcat/site/trunk/docs/maven-plugin.html
tomcat/site/trunk/xdocs/maven-plugin.xml

Modified: tomcat/site/trunk/docs/maven-plugin.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/maven-plugin.html?rev=1305698r1=1305697r2=1305698view=diff
==
--- tomcat/site/trunk/docs/maven-plugin.html (original)
+++ tomcat/site/trunk/docs/maven-plugin.html Tue Mar 27 01:03:21 2012
@@ -195,18 +195,20 @@
 
   
 p
-The Tomcat Maven Plugin provides goals to manipulate WAR projects 
within the Apache Tomcat servlet container.
+The Tomcat Maven Plugin provides goals to manipulate WAR projects 
within
+the Apache Tomcat servlet container.
 br
-You can run your War Apache Maven project through Maven without 
deploying your war file to an Apache Tomcat instance.
+You can run your War Apache Maven project through Maven without
+deploying your war file to an Apache Tomcat instance.
 br
 More details are available in the Maven generated site :
 ul
   
 li
-a href=http://tomcat.apache.org/maven-plugin-2.0-SNAPSHOT/;Version 
2.0-SNAPSHOT/a (under developpement)/li
+a href=maven-plugin-2.0-SNAPSHOT/Version 2.0-SNAPSHOT/a (under 
developpement)/li
   
 li
-a href=http://tomcat.apache.org/maven-plugin-2.0-beta-1/;Version 
2.0-beta-1/a (released version: 2012-02-01)/li
+a href=maven-plugin-2/Version 2.0-beta-1/a (released version: 
2012-02-01)/li
 
 /ul
   
@@ -221,7 +223,8 @@
 blockquote
 
 p
-  Sources are located in the following svn path : 
http://svn.apache.org/repos/asf/tomcat/maven-plugin/trunk/ .
+  Sources are located in the following svn path:
+   http://svn.apache.org/repos/asf/tomcat/maven-plugin/trunk/ .
 /p
   
 /blockquote
@@ -244,7 +247,8 @@
 blockquote
 
 p
-  The Bug Tracker to use is the ASF Jira instance : a 
href=https://issues.apache.org/jira/browse/MTOMCAT;https://issues.apache.org/jira/browse/MTOMCAT/a
+  The Bug Tracker to use is the ASF Jira instance:
+  a 
href=https://issues.apache.org/jira/browse/MTOMCAT;https://issues.apache.org/jira/browse/MTOMCAT/a
 
 /p
   

Modified: tomcat/site/trunk/xdocs/maven-plugin.xml
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/maven-plugin.xml?rev=1305698r1=1305697r2=1305698view=diff
==
--- tomcat/site/trunk/xdocs/maven-plugin.xml (original)
+++ tomcat/site/trunk/xdocs/maven-plugin.xml Tue Mar 27 01:03:21 2012
@@ -11,24 +11,28 @@
 section name=Maven Plugin
 
   p
-The Tomcat Maven Plugin provides goals to manipulate WAR projects 
within the Apache Tomcat servlet container.
+The Tomcat Maven Plugin provides goals to manipulate WAR projects 
within
+the Apache Tomcat servlet container.
 br/
-You can run your War Apache Maven project through Maven without 
deploying your war file to an Apache Tomcat instance.
+You can run your War Apache Maven project through Maven without
+deploying your war file to an Apache Tomcat instance.
 br/
 More details are available in the Maven generated site :
 ul
-  lia 
href=http://tomcat.apache.org/maven-plugin-2.0-SNAPSHOT/;Version 
2.0-SNAPSHOT/a (under developpement)/li
-  lia 
href=http://tomcat.apache.org/maven-plugin-2.0-beta-1/;Version 2.0-beta-1/a 
(released version: 2012-02-01)/li
+  lia href=maven-plugin-2.0-SNAPSHOT/Version 2.0-SNAPSHOT/a 
(under developpement)/li
+  lia href=maven-plugin-2/Version 2.0-beta-1/a (released 
version: 2012-02-01)/li
 /ul
   /p
   subsection name=Sources
 p
-  Sources are located in the following svn path : 
http://svn.apache.org/repos/asf/tomcat/maven-plugin/trunk/ .
+  Sources are located in the following svn path:
+   http://svn.apache.org/repos/asf/tomcat/maven-plugin/trunk/ .
 /p
   /subsection
   subsection name=Bug Tracker
 p
-  The Bug Tracker to use is the ASF Jira instance : a 
href=https://issues.apache.org/jira/browse/MTOMCAT;https://issues.apache.org/jira/browse/MTOMCAT/a
+  The Bug Tracker to use is the ASF Jira instance:
+  a 
href=https://issues.apache.org/jira/browse/MTOMCAT;https://issues.apache.org/jira/browse/MTOMCAT/a
 /p
   /subsection
 



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1305702 - in /tomcat/site/trunk: docs/index.html docs/maven-plugin.html xdocs/index.xml xdocs/maven-plugin.xml

2012-03-26 Thread kkolinko
Author: kkolinko
Date: Tue Mar 27 01:27:34 2012
New Revision: 1305702

URL: http://svn.apache.org/viewvc?rev=1305702view=rev
Log:
Add maven plugin release announcement to the front page
Minor further corrections to the maven-plugin page

Modified:
tomcat/site/trunk/docs/index.html
tomcat/site/trunk/docs/maven-plugin.html
tomcat/site/trunk/xdocs/index.xml
tomcat/site/trunk/xdocs/maven-plugin.xml

Modified: tomcat/site/trunk/docs/index.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/index.html?rev=1305702r1=1305701r2=1305702view=diff
==
--- tomcat/site/trunk/docs/index.html (original)
+++ tomcat/site/trunk/docs/index.html Tue Mar 27 01:27:34 2012
@@ -352,6 +352,85 @@ Full details of these changes, and all t
 /table
 table border=0 cellspacing=0 cellpadding=2 width=100%
 tr
+td bgcolor=#525D76font color=#ff face=arial,helvetica,sanserifa 
name=Tomcat Maven Plugin 2.0-beta-1 Released
+!--()--/aa name=Tomcat_Maven_Plugin_2.0-beta-1_ReleasedstrongTomcat 
Maven Plugin 2.0-beta-1 Released/strong/a/font/tdtd align=right 
bgcolor=#525D76font color=#ff 
face=arial,helvetica.sanserifstrong2012-02-01/strong/font/td
+/tr
+tr
+td colspan=2
+p
+blockquote
+
+p
+The Apache Tomcat team is pleased to announce the release of Tomcat
+Maven Plugin 2.0-beta-1.
+/p
+
+p
+The a href=maven-plugin.htmlApache Tomcat Maven Plugin/a provides goals
+to manipulate WAR projects within the Apache Tomcat servlet container.
+/p
+
+p
+The binaries are available from Maven repositories. You should specify the
+version in your project's plugin configuration:
+/p
+
+div align=left
+table cellspacing=4 cellpadding=0 border=0
+tr
+td bgcolor=#023264 width=1 height=1img src=/images/void.gif 
width=1 height=1 vspace=0 hspace=0 border=0/tdtd 
bgcolor=#023264 height=1img src=/images/void.gif width=1 height=1 
vspace=0 hspace=0 border=0/tdtd bgcolor=#023264 width=1 
height=1img src=/images/void.gif width=1 height=1 vspace=0 
hspace=0 border=0/td
+/tr
+tr
+td bgcolor=#023264 width=1img src=/images/void.gif width=1 
height=1 vspace=0 hspace=0 border=0/tdtd bgcolor=#ff 
height=1
+pre
+  lt;plugingt;
+lt;groupIdgt;org.apache.tomcat.mavenlt;/groupIdgt;
+lt;artifactIdgt;tomcat6-maven-pluginlt;/artifactIdgt;
+lt;versiongt;2.0-beta-1lt;/versiongt;
+  lt;/plugingt;
+/pre
+/tdtd bgcolor=#023264 width=1img src=/images/void.gif width=1 
height=1 vspace=0 hspace=0 border=0/td
+/tr
+tr
+td bgcolor=#023264 width=1 height=1img src=/images/void.gif 
width=1 height=1 vspace=0 hspace=0 border=0/tdtd 
bgcolor=#023264 height=1img src=/images/void.gif width=1 height=1 
vspace=0 hspace=0 border=0/tdtd bgcolor=#023264 width=1 
height=1img src=/images/void.gif width=1 height=1 vspace=0 
hspace=0 border=0/td
+/tr
+/table
+/div
+or
+div align=left
+table cellspacing=4 cellpadding=0 border=0
+tr
+td bgcolor=#023264 width=1 height=1img src=/images/void.gif 
width=1 height=1 vspace=0 hspace=0 border=0/tdtd 
bgcolor=#023264 height=1img src=/images/void.gif width=1 height=1 
vspace=0 hspace=0 border=0/tdtd bgcolor=#023264 width=1 
height=1img src=/images/void.gif width=1 height=1 vspace=0 
hspace=0 border=0/td
+/tr
+tr
+td bgcolor=#023264 width=1img src=/images/void.gif width=1 
height=1 vspace=0 hspace=0 border=0/tdtd bgcolor=#ff 
height=1
+pre
+  lt;plugingt;
+lt;groupIdgt;org.apache.tomcat.mavenlt;/groupIdgt;
+lt;artifactIdgt;tomcat7-maven-pluginlt;/artifactIdgt;
+lt;versiongt;2.0-beta-1lt;/versiongt;
+  lt;/plugingt;
+/pre
+/tdtd bgcolor=#023264 width=1img src=/images/void.gif width=1 
height=1 vspace=0 hspace=0 border=0/td
+/tr
+tr
+td bgcolor=#023264 width=1 height=1img src=/images/void.gif 
width=1 height=1 vspace=0 hspace=0 border=0/tdtd 
bgcolor=#023264 height=1img src=/images/void.gif width=1 height=1 
vspace=0 hspace=0 border=0/tdtd bgcolor=#023264 width=1 
height=1img src=/images/void.gif width=1 height=1 vspace=0 
hspace=0 border=0/td
+/tr
+/table
+/div
+
+/blockquote
+/p
+/td
+/tr
+tr
+td
+br
+/td
+/tr
+/table
+table border=0 cellspacing=0 cellpadding=2 width=100%
+tr
 td bgcolor=#525D76font color=#ff face=arial,helvetica,sanserifa 
name=Tomcat 5.5.35 Released
 !--()--/aa name=Tomcat_5.5.35_ReleasedstrongTomcat 5.5.35 
Released/strong/a/font/tdtd align=right bgcolor=#525D76font 
color=#ff 
face=arial,helvetica.sanserifstrong2012-01-16/strong/font/td
 /tr

Modified: tomcat/site/trunk/docs/maven-plugin.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/maven-plugin.html?rev=1305702r1=1305701r2=1305702view=diff
==
--- tomcat/site/trunk/docs/maven-plugin.html (original)
+++ tomcat/site/trunk/docs/maven-plugin.html Tue Mar 27 01:27:34 2012
@@ -195,24 +195,26 @@
 
   
 p
-The Tomcat Maven Plugin provides goals to manipulate WAR projects 
within
-the Apache Tomcat servlet container.
-br
-You can run 

Re: Jenkins permissions

2012-03-26 Thread Jeremy Boynes
Thanks, request sent to Mladen as per that page. Do we know who set this up?

On Mar 26, 2012, at 12:30 PM, Olivier Lamy wrote:

 Hello,
 See http://wiki.apache.org/general/Jenkins#How_do_I_get_an_account
 
 
 
 2012/3/26 Jeremy Boynes jboy...@apache.org:
 Who controls permissions in Jenkins (builds.a.o)? Please can you grant me 
 build rights for Taglibs-All?


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[GUMP@vmgump]: Project tomcat-tc7.0.x-test (in module tomcat-7.0.x) failed

2012-03-26 Thread Bill Barker
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at gene...@gump.apache.org.

Project tomcat-tc7.0.x-test has an issue affecting its community integration.
This issue affects 1 projects,
 and has been outstanding for 2 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- tomcat-tc7.0.x-test :  Tomcat 7.x, a web server implementing Java Servlet 
3.0,
...


Full details are available at:

http://vmgump.apache.org/gump/public/tomcat-7.0.x/tomcat-tc7.0.x-test/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Dependency on tomcat-tc7.0.x-dbcp exists, no need to add for property 
tomcat-dbcp-src.jar.
 -DEBUG- Dependency on commons-daemon exists, no need to add for property 
commons-daemon.native.src.tgz.
 -DEBUG- Dependency on commons-daemon exists, no need to add for property 
tomcat-native.tar.gz.
 -DEBUG- Dependency on tomcat-tc7.0.x-dbcp exists, no need to add for property 
tomcat-dbcp.home.
 -INFO- Failed with reason build failed
 -INFO- Project Reports in: 
/srv/gump/public/workspace/tomcat-7.0.x/output/build/logs



The following work was performed:
http://vmgump.apache.org/gump/public/tomcat-7.0.x/tomcat-tc7.0.x-test/gump_work/build_tomcat-7.0.x_tomcat-tc7.0.x-test.html
Work Name: build_tomcat-7.0.x_tomcat-tc7.0.x-test (Type: Build)
Work ended in a state of : Failed
Elapsed: 22 mins 32 secs
Command Line: /usr/lib/jvm/java-6-openjdk/bin/java -Djava.awt.headless=true 
-Dbuild.sysclasspath=only org.apache.tools.ant.Main 
-Dgump.merge=/srv/gump/public/gump/work/merge.xml 
-Djunit.jar=/srv/gump/public/workspace/junit/dist/junit-27032012.jar 
-Dcommons-daemon.native.src.tgz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-27032012-native-src.tar.gz
 
-Dtomcat-native.tar.gz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-27032012-native-src.tar.gz
 -Dexamples.sources.skip=true 
-Dtomcat-dbcp.home=/srv/gump/public/workspace/tomcat-7.0.x/tomcat-deps 
-Djdt.jar=/srv/gump/packages/eclipse/plugins/org.eclipse.jdt.core_3.4.2/jdtcore.jar
 
-Dcommons-daemon.jar=/srv/gump/public/workspace/apache-commons/daemon/dist/commons-daemon-27032012.jar
 
-Dtomcat-dbcp-src.jar=/srv/gump/public/workspace/tomcat-7.0.x/tomcat-deps/tomcat-dbcp-src.jar
 -Dtest.accesslog=true 
-Dcommons-pool.home=/srv/gump/public/workspace/commons-pool-1.x 
-Dcommons-dbcp.home=/
 srv/gump/public/workspace/commons-dbcp-1.x 
-Dtomcat-dbcp.jar=/srv/gump/public/workspace/tomcat-7.0.x/tomcat-deps/tomcat-dbcp-27032012.jar
 test 
[Working Directory: /srv/gump/public/workspace/tomcat-7.0.x]
CLASSPATH: 
/usr/lib/jvm/java-6-openjdk/lib/tools.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/webapps/examples/WEB-INF/classes:/srv/gump/public/workspace/tomcat-7.0.x/output/testclasses:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/bin/bootstrap.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/bin/tomcat-juli.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/annotations-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/servlet-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/outp
 
ut/build/lib/jsp-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/el-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/catalina.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/catalina-ant.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/tomcat-coyote.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/jasper.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/jasper-el.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/catalina-tribes.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/catalina-ha.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/tomcat-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/tomcat-util.jar:/srv/gump/packages/javamail-1.4/mail.jar:/srv/gump/packages/javamail-1.4/lib/mailapi.jar:/srv/gump/packages/jaf-1.1ea/activation.jar:/srv/gump/packages/eclipse/plugins/org.eclipse.jdt.core_3.4.2/jdtcore.jar:/srv/gump/public/workspace/tomcat-7.
 

[GUMP@vmgump]: Project tomcat-trunk-test (in module tomcat-trunk) failed

2012-03-26 Thread Bill Barker
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at gene...@gump.apache.org.

Project tomcat-trunk-test has an issue affecting its community integration.
This issue affects 1 projects.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- tomcat-trunk-test :  Tomcat 8.x, a web server implementing Java Servlet 
3.1,
...


Full details are available at:

http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-test/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Dependency on tomcat-trunk-dbcp exists, no need to add for property 
tomcat-dbcp-src.jar.
 -DEBUG- Dependency on commons-daemon exists, no need to add for property 
commons-daemon.native.src.tgz.
 -DEBUG- Dependency on commons-daemon exists, no need to add for property 
tomcat-native.tar.gz.
 -DEBUG- Dependency on tomcat-trunk-dbcp exists, no need to add for property 
tomcat-dbcp.home.
 -INFO- Failed with reason build failed
 -INFO- Project Reports in: 
/srv/gump/public/workspace/tomcat-trunk/output/build/logs



The following work was performed:
http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-test/gump_work/build_tomcat-trunk_tomcat-trunk-test.html
Work Name: build_tomcat-trunk_tomcat-trunk-test (Type: Build)
Work ended in a state of : Failed
Elapsed: 22 mins 41 secs
Command Line: /usr/lib/jvm/java-6-openjdk/bin/java -Djava.awt.headless=true 
-Dbuild.sysclasspath=only org.apache.tools.ant.Main 
-Dgump.merge=/srv/gump/public/gump/work/merge.xml 
-Djunit.jar=/srv/gump/public/workspace/junit/dist/junit-27032012.jar 
-Dcommons-daemon.native.src.tgz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-27032012-native-src.tar.gz
 
-Dtomcat-native.tar.gz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-27032012-native-src.tar.gz
 -Dexamples.sources.skip=true 
-Dtomcat-dbcp.home=/srv/gump/public/workspace/tomcat-trunk/tomcat-deps 
-Djdt.jar=/srv/gump/packages/eclipse/plugins/org.eclipse.jdt.core_3.4.2/jdtcore.jar
 
-Dcommons-daemon.jar=/srv/gump/public/workspace/apache-commons/daemon/dist/commons-daemon-27032012.jar
 
-Dtomcat-dbcp-src.jar=/srv/gump/public/workspace/tomcat-trunk/tomcat-deps/tomcat-dbcp-src.jar
 -Dtest.accesslog=true 
-Dcommons-pool.home=/srv/gump/public/workspace/commons-pool-1.x 
-Dcommons-dbcp.home=/
 srv/gump/public/workspace/commons-dbcp-1.x 
-Dtomcat-dbcp.jar=/srv/gump/public/workspace/tomcat-trunk/tomcat-deps/tomcat-dbcp-27032012.jar
 test 
[Working Directory: /srv/gump/public/workspace/tomcat-trunk]
CLASSPATH: 
/usr/lib/jvm/java-6-openjdk/lib/tools.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/webapps/examples/WEB-INF/classes:/srv/gump/public/workspace/tomcat-trunk/output/testclasses:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/bin/bootstrap.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/bin/tomcat-juli.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/annotations-api.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/servlet-api.jar:/srv/gump/public/workspace/tomcat-trunk/outp
 
ut/build/lib/jsp-api.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/el-api.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/catalina.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/catalina-ant.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/tomcat-coyote.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/jasper.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/jasper-el.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/catalina-tribes.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/catalina-ha.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/tomcat-api.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/tomcat-util.jar:/srv/gump/packages/javamail-1.4/mail.jar:/srv/gump/packages/javamail-1.4/lib/mailapi.jar:/srv/gump/packages/jaf-1.1ea/activation.jar:/srv/gump/packages/eclipse/plugins/org.eclipse.jdt.core_3.4.2/jdtcore.jar:/srv/gump/public/workspace/tomcat-tr
 

Re: svn commit: r1302479 - /tomcat/jk/trunk/native/common/jk_lb_worker.c

2012-03-26 Thread Mladen Turk

On 03/26/2012 11:46 PM, Rainer Jung wrote:

Hi Mladen,



for (i = 0; i p-num_of_workers; i++) {
lb_sub_worker_t *w =p-lb_workers[i];
- if (w-sequence != w-s-h.sequence) {
+ if (w-sequence w-s-h.sequence) {


I think this one is wrong. It is inside push not pull, so it should be if (local  shared) 
and not .



Might be.
The real question is why we need a difference in sequences for a push?
IMO if the push is needed it should be unconditional, and heap
sequence number should be updated *only* on pull (never directly)



The other changes in this commit look right.



I'm not sure that's the case :)

Think that the entire sequence push/pull should be
reviewed. IMO the only reason for it is to lower the
number of lock/unlock calls.

The reason for this I see only in case of explicit
batch update trough status worker. All other operations
should just depend on volatile shared mem parameters
which should ensure enough atomicity.

Also we should apply the check in this way

if (w-sequence  w-s-h.sequence) {
   jk_shm_lock();
   /* Now check the value again after we obtained a lock */
   if (w-sequence  w-s-h.sequence) {

   }
}


The reason for IIS crash is the fact that we can  have
N processes updating the shared memory (no parent process,
so no one that would set initial values).
Lock is done per worker basis, and this means that one worker
can update the sequence, other will see it as next generation
although the first one was not done updating all workers from
config and then you have ka-boom.

This makes the entire sequence based push/pull conceptually
wrong, and we need to think of something else.


Regards
--
^TM

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: Jenkins permissions

2012-03-26 Thread Olivier Lamy
I setup the build on Jenkins long ago.
Do you need some configuration change ?

--
Olivier
 Le 27 mars 2012 03:38, Jeremy Boynes jboy...@apache.org a écrit :

 Thanks, request sent to Mladen as per that page. Do we know who set this
 up?

 On Mar 26, 2012, at 12:30 PM, Olivier Lamy wrote:

  Hello,
  See http://wiki.apache.org/general/Jenkins#How_do_I_get_an_account
 
 
 
  2012/3/26 Jeremy Boynes jboy...@apache.org:
  Who controls permissions in Jenkins (builds.a.o)? Please can you grant
 me build rights for Taglibs-All?


 -
 To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: dev-h...@tomcat.apache.org