DO NOT REPLY [Bug 52500] Improve client certificate authentication

2012-02-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52500

Michael  changed:

   What|Removed |Added

  Attachment #28308|0   |1
is obsolete||

--- Comment #25 from Michael  2012-02-18 08:38:14 
UTC ---
Created attachment 28348
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=28348
x509 java code

x509 java code
svn diff at trunk\java

-- 
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 52500] Improve client certificate authentication

2012-02-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52500

Michael  changed:

   What|Removed |Added

  Attachment #28309|0   |1
is obsolete||

--- Comment #26 from Michael  2012-02-18 08:39:14 
UTC ---
Created attachment 28349
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=28349
Realm configuration document

Realm configuration document
svn diff at trunk\webapps

-- 
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 52500] Improve client certificate authentication

2012-02-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52500

--- Comment #27 from Michael  2012-02-18 08:39:43 
UTC ---
Dear Christopher,
Thank you for your comments!
Please find attached patch.
1)I have renamed my classes to X509UserNameRetriever and to
X509SubjectDnRetriever
2)The Realm interface is reverted
3)All code is moved to the RealmBase class
I have updated the realm document – please find attachment.
Best regards,
   Michael

-- 
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: [VOTE] Release Apache Tomcat 7.0.26

2012-02-18 Thread Mladen Turk

On 02/17/2012 09:00 PM, Mark Thomas wrote:

The proposed 7.0.26 release is:
[ ] Broken - do not release
[X] Stable - go ahead and release as 7.0.26 Stable



Looks good ... nothing much to say :)


Regards
--
^TM

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



Re: [VOTE] Release Apache Tomcat 7.0.26

2012-02-18 Thread Mark Thomas
On 17/02/2012 20:00, Mark Thomas wrote:
> The proposed Apache Tomcat 7.0.26 release is now available for voting.
> 
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-7/v7.0.26/
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-020/
> The svn tag is:
> http://svn.apache.org/repos/asf/tomcat/tc7.0.x/tags/TOMCAT_7_0_26/
> 
> The proposed 7.0.26 release is:
> [ ] Broken - do not release
> [X] Stable - go ahead and release as 7.0.26 Stable

EL TCK passes
JSP TCK passes with BIO, NIO & APR
Servlet TCK passes with BIO, NIO & APR with
 - direct (HTTP)
 - mod_jk + AJP
 - mod_proxy_ajp + AJP
 - mod_proxy_http + HTTP

Unit tests pass.

All on 64-bit linux

Mark

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



Re: [VOTE] Release Apache Tomcat 7.0.26

2012-02-18 Thread Henri Gomez
Works for me (tested on some house projects including Jenkins instances)

+1

2012/2/18 Mark Thomas :
> On 17/02/2012 20:00, Mark Thomas wrote:
>> The proposed Apache Tomcat 7.0.26 release is now available for voting.
>>
>> It can be obtained from:
>> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-7/v7.0.26/
>> The Maven staging repo is:
>> https://repository.apache.org/content/repositories/orgapachetomcat-020/
>> The svn tag is:
>> http://svn.apache.org/repos/asf/tomcat/tc7.0.x/tags/TOMCAT_7_0_26/
>>
>> The proposed 7.0.26 release is:
>> [ ] Broken - do not release
>> [X] Stable - go ahead and release as 7.0.26 Stable
>
> EL TCK passes
> JSP TCK passes with BIO, NIO & APR
> Servlet TCK passes with BIO, NIO & APR with
>  - direct (HTTP)
>  - mod_jk + AJP
>  - mod_proxy_ajp + AJP
>  - mod_proxy_http + HTTP
>
> Unit tests pass.
>
> All on 64-bit linux
>
> Mark
>
> -
> 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: [VOTE] Release Apache Tomcat 7.0.26

2012-02-18 Thread Yoav Shapira
On Fri, Feb 17, 2012 at 3:00 PM, Mark Thomas  wrote:
> The proposed Apache Tomcat 7.0.26 release is now available for voting.
>
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-7/v7.0.26/
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-020/
> The svn tag is:
> http://svn.apache.org/repos/asf/tomcat/tc7.0.x/tags/TOMCAT_7_0_26/
>
> The proposed 7.0.26 release is:
> [ ] Broken - do not release
> [ X ] Stable - go ahead and release as 7.0.26 Stable

Works for me with some home-brewed apps, the same ones I've been using
since TC 6.0.x, so that's nice and stable.

Yoav

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



svn commit: r1290842 - in /tomcat/site/trunk: docs/ci.html xdocs/ci.xml

2012-02-18 Thread kkolinko
Author: kkolinko
Date: Sat Feb 18 18:44:19 2012
New Revision: 1290842

URL: http://svn.apache.org/viewvc?rev=1290842&view=rev
Log:
Replace list of direct links to tools with ones to sections with their results.
Add links to *-validate-eoln projects on Gump.

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

Modified: tomcat/site/trunk/docs/ci.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/ci.html?rev=1290842&r1=1290841&r2=1290842&view=diff
==
--- tomcat/site/trunk/docs/ci.html (original)
+++ tomcat/site/trunk/docs/ci.html Sat Feb 18 18:44:19 2012
@@ -242,25 +242,28 @@ Apache Software Foundation. In short, th
 
   
 
-http://gump.apache.org/";>Apache Gump
+Apache Gump
 
   
 
-http://ci.apache.org/buildbot.html";>Buildbot
+Buildbot
 
   
 
-https://builds.apache.org/";>Jenkins
+Jenkins
 
 
 
 
 
-Apache Gump is used to test integration of Tomcat with latest versions
-of libraries it depends on. It also runs the automated tests. Buildbot
-and Jenkins are used to perform the usual nighty builds. The Buildbot also
-builds and publishes documentation snapshots for the currently developed
-not yet released versions of Tomcat.
+
+http://gump.apache.org/";>Apache Gump is used to test
+integration of Tomcat with latest versions of libraries it depends on.
+http://ci.apache.org/buildbot.html";>Buildbot and
+https://builds.apache.org/";>Jenkins
+are used to perform the usual nighty builds.
+The Buildbot also builds and publishes documentation snapshots for the
+currently developed not yet released versions of Tomcat.
 
 
 
@@ -289,8 +292,7 @@ prepared and published by ASF Buildbot, 
 
   
 
-http://ci.apache.org/projects/tomcat/tomcat8/docs/index.html"; 
rel="nofollow">Tomcat trunk (8.0.x)
-
+http://ci.apache.org/projects/tomcat/tomcat8/docs/index.html"; 
rel="nofollow">Tomcat trunk (8.0.x)
   
 
 http://ci.apache.org/projects/tomcat/tomcat7/docs/index.html"; 
rel="nofollow">Tomcat 7.0.x
@@ -519,11 +521,15 @@ prepared and published by ASF Buildbot, 
 
   
 
+http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-test/";>tomcat-trunk-test
+
+  
+
 http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-validate/";>tomcat-trunk-validate
 
   
 
-http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-test/";>tomcat-trunk-test
+http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-validate-eoln/";>tomcat-trunk-validate-eoln
 
 
 
@@ -563,11 +569,15 @@ prepared and published by ASF Buildbot, 
 
   
 
+http://vmgump.apache.org/gump/public/tomcat-7.0.x/tomcat-tc7.0.x-test/";>tomcat-tc7.0.x-test
+
+  
+
 http://vmgump.apache.org/gump/public/tomcat-7.0.x/tomcat-tc7.0.x-validate/";>tomcat-tc7.0.x-validate
 
   
 
-http://vmgump.apache.org/gump/public/tomcat-7.0.x/tomcat-tc7.0.x-test/";>tomcat-tc7.0.x-test
+http://vmgump.apache.org/gump/public/tomcat-7.0.x/tomcat-tc7.0.x-validate-eoln/";>tomcat-tc7.0.x-validate-eoln
 
 
 
@@ -669,11 +679,15 @@ on the Gump project page. Links to them 
 
   
 
+http://gump.zones.apache.org/gump/public/tomcat-trunk/tomcat-trunk-test/";>tomcat-trunk-test
+
+  
+
 http://gump.zones.apache.org/gump/public/tomcat-trunk/tomcat-trunk-validate/";>tomcat-trunk-validate
 
   
 
-http://gump.zones.apache.org/gump/public/tomcat-trunk/tomcat-trunk-test/";>tomcat-trunk-test
+http://gump.zones.apache.org/gump/public/tomcat-trunk/tomcat-trunk-validate-eoln/";>tomcat-trunk-validate-eoln
 
 
 
@@ -703,11 +717,15 @@ on the Gump project page. Links to them 
 
   
 
+http://gump.zones.apache.org/gump/public/tomcat-7.0.x/tomcat-tc7.0.x-test/";>tomcat-tc7.0.x-test
+
+  
+
 http://gump.zones.apache.org/gump/public/tomcat-7.0.x/tomcat-tc7.0.x-validate/";>tomcat-tc7.0.x-validate
 
   
 
-http://gump.zones.apache.org/gump/public/tomcat-7.0.x/tomcat-tc7.0.x-test/";>tomcat-tc7.0.x-test
+http://gump.zones.apache.org/gump/public/tomcat-7.0.x/tomcat-tc7.0.x-validate-eoln/";>tomcat-tc7.0.x-validate-eoln
 
 
 
@@ -779,11 +797,15 @@ on the Gump project page. Links to them 
 
   
 
+http://adam.apache.org/gump/tomcat-trunk/tomcat-trunk-test/";>tomcat-trunk-test
+
+  
+
 http://adam.apache.org/gump/tomcat-trunk/tomcat-trunk-validate/";>tomcat-trunk-validate
 
   
 
-http://adam.apache.org/gump/tomcat-trunk/tomcat-trunk-test/";>tomcat-trunk-test
+http://adam.apache.org/gump/tomcat-trunk/tomcat-trunk-validate-eoln/";>tomcat-trunk-validate-eoln
 
 
 
@@ -813,11 +835,15 @@ on the Gump project page. Links to them 
 
   
 
+http://adam.apache.org/gump/tomcat-7.0.x/tomcat-tc7.0.x-test/";>tomcat-tc7.0.x-test
+
+  
+
 http://adam.apache.org/gump/tomcat-7.0.x/tomcat-tc7.0.x-validate/";>tomcat-tc7.0.x-validate
 
   
 
-http://adam.apache.org/gump/tomcat-7.0.x/tomcat-tc7.0.x-test/";>tomcat-tc7.0.x-test
+http://a

svn commit: r1290844 - in /tomcat/tc7.0.x/trunk: ./ build.xml webapps/docs/changelog.xml

2012-02-18 Thread kkolinko
Author: kkolinko
Date: Sat Feb 18 19:02:03 2012
New Revision: 1290844

URL: http://svn.apache.org/viewvc?rev=1290844&view=rev
Log:
Merged revision 1245849 from tomcat/trunk:
Remove dependency on compile in validate-eoln target so that it
can be run ahead of compilation.
It does not need to download all those libraries needed to compile Tomcat.
It allows to simplify its Gump configuration, removing those dependencies.

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

Propchange: tomcat/tc7.0.x/trunk/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Sat Feb 18 19:02:03 2012
@@ -1 +1 @@
-/tomcat/trunk:1156115,1156171,1156276,1156304,1156519,1156530,1156602,1157015,1157018,1157151,1157198,1157204,1157810,1157832,1157834,1157847,1157908,1157939,1158155,1158160,1158176,1158195,1158198-1158199,1158227,1158331,1158334-1158335,1158426,1160347,1160592,1160611,1160619,1160626,1160639,1160652,1160720-1160721,1160772,1160774,1160776,1161303,1161310,1161322,1161339,1161486,1161540,1161549,1161584,1162082,1162149,1162169,1162721,1162769,1162836,1162932,1163630,1164419,1164438,1164469,1164480,1164567,1165234,1165247-1165248,1165253,1165273,1165282,1165309,1165331,1165338,1165347,1165360-1165361,1165367-1165368,1165602,1165608,1165677,1165693,1165721,1165723,1165728,1165730,1165738,1165746,1165765,1165777,1165918,1165921,1166077,1166150-1166151,1166290,1166366,1166620,1166686,1166693,1166752,1166757,1167368,1167394,1169447,1170647,1171692,1172233-1172234,1172236,1172269,1172278,1172282,1172556,1172610,1172664,1172689,1172711,1173020-1173021,1173082,1173088,1173090,1173096
 
,1173241,1173256,1173288,117,1173342,1173461,1173614,1173630,1173659,1173722,1174061,1174239,1174322,1174325,1174329-1174330,1174337-1174339,1174343,1174353,1174799,1174882,1174884,1174975,1174983,1175155,1175158,1175167,1175182,1175190,1175201,1175272,1175275,1175283,1175582,1175589-1175590,1175594,1175602,1175613,1175633,1175690,1175713,1175798,1175889,1175896,1175907,1176584,1176590,1176799,1177050,1177060,1177125,1177152,1177160,1177245,1177850,1177862,1177978,1178209,1178228,1178233,1178449,1178542,1178681,1178684,1178721,1179268,1179274,1180261,1180865,1180891,1180894,1180907,1181028,1181123,1181125,1181136,1181291,1181743,1182796,1183078,1183105,1183142,1183328,1183339-1183340,1183492-1183494,1183605,1184917,1184919,1185018,1185020,1185200,1185588,1185626,1185756,1185758,1186011,1186042-1186045,1186104,1186123,1186137,1186153,1186254,1186257,1186377-1186379,1186479-1186480,1186712,1186743,1186750,1186763,1186890-1186892,1186894,1186949,1187018,1187027-1187028,1187
 
381,1187753,1187755,1187775,1187801,1187806,1187809,1187827,1188301,1188303-1188305,1188399,1188822,1188930-1188931,1189116,1189129,1189183,1189240,1189256,1189386,1189413-1189414,1189477,1189685,1189805,1189857,1189864,1189882,1190034,1190185,1190279,1190339,1190371,1190388-1190389,1190474,1190481,1194915,1195222-1195223,1195531,1195899,1195905,1195943,1195949,1195953,1195955,1195965,1195968,1196175,1196212,1196223,1196304-1196305,1196735,1196825,1196827,1197158,1197261,1197263,1197299-1197300,1197305,1197339-1197340,1197343,1197382,1197386-1197387,1197480,1197578,1198497,1198528,1198552,1198602,1198604,1198607,1198622,1198640,1198696,1198707,1199418,1199432,1199436,1199513,1199529,1199980,116,1200056,1200089,1200106-1200107,1200263,1200316,1200320,1200398-1200399,1200445-1200446,1200555,1200627,1200696,1200725,1200937,1200941,1201069,1201087,1201180,1201235-1201237,1201508,1201521,1201542,1201545-1201546,1201548,1201555-1201556,1201568,1201576,1201608,1201921-1201922,1
 
201931,1202035,1202039,1202271,1202565,1202578,1202705,1202828,1202860,1203047-1203052,1203078,1203091,1203253,1203278,1204182,1204856,1204867,1204936,1204938,1204982,1205033,1205065,1205082,1205097,1205112,1206200,1207692,1208046,1208073,1208096,1208114,1208145,1208772,1209194,1209277-1209278,1209686-1209731,1210894,1212091,1212095,1212099,1212118,1213469,1213906,1214853,1214855,1214864,1215115,1215118-1215119,1215121,1220293,1220295,1221038,1221842,1222189,101,176,1222300,1222690,1222850,1222852,1222855,1224607,1224617,1224648-1224652,1224657,1224662-1224663,1224682,1224801,1224910,1225000,1225219,1225343,1225465,1225627,1225629,1225634,1226069,1226158-1226159,1226177,1226196,1226214-1226215,1226385,1226394,1226500,1226537-1226538,1226546,1226551,1226975,1228196,1228360,1228376,1228724,1228908,1228918,1228920,1228922,1228929,1228969,1229307,1229536,1229549,1229724,1229726-1229731,1229997,1230539,1230711,1230729,1230762-1230763,1230765,1230955,1230957,1231285,123129
 
0,1231308,1231310,1231337,1231460-1231461,1231542-1231543,1231546-1231547,1231620-1231621,1231624-1231625,1231630,1231654-1231655,1231738,1231740,1231762-1231763,1231856,1231886,1231923,1231947,1232345,1232368,1232380,1232447,1232760,1232813,1232842-1232843,1232869,123

svn commit: r1290875 - /tomcat/trunk/test/org/apache/catalina/core/TestAsyncContextImpl.java

2012-02-18 Thread markt
Author: markt
Date: Sat Feb 18 21:11:35 2012
New Revision: 1290875

URL: http://svn.apache.org/viewvc?rev=1290875&view=rev
Log:
Expand the test case to cover called sendError() in the same thread and
a separate thread.

Modified:
tomcat/trunk/test/org/apache/catalina/core/TestAsyncContextImpl.java

Modified: tomcat/trunk/test/org/apache/catalina/core/TestAsyncContextImpl.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/core/TestAsyncContextImpl.java?rev=1290875&r1=1290874&r2=1290875&view=diff
==
--- tomcat/trunk/test/org/apache/catalina/core/TestAsyncContextImpl.java 
(original)
+++ tomcat/trunk/test/org/apache/catalina/core/TestAsyncContextImpl.java Sat 
Feb 18 21:11:35 2012
@@ -1168,7 +1168,16 @@ public class TestAsyncContextImpl extend
 }
 
 @Test
-public void testBug51197() throws Exception {
+public void testBug51197a() throws Exception {
+doTestBug51197(false);
+}
+
+@Test
+public void testBug51197b() throws Exception {
+doTestBug51197(true);
+}
+
+private void doTestBug51197(boolean threaded) throws Exception {
 // Setup Tomcat instance
 Tomcat tomcat = getTomcatInstance();
 
@@ -1178,7 +1187,7 @@ public class TestAsyncContextImpl extend
 Context ctx = tomcat.addContext("", docBase.getAbsolutePath());
 
 AsyncErrorServlet asyncErrorServlet =
-new AsyncErrorServlet(HttpServletResponse.SC_BAD_REQUEST);
+new AsyncErrorServlet(HttpServletResponse.SC_BAD_REQUEST, 
threaded);
 Wrapper wrapper =
 Tomcat.addServlet(ctx, "asyncErrorServlet", asyncErrorServlet);
 wrapper.setAsyncSupported(true);
@@ -1212,10 +1221,12 @@ public class TestAsyncContextImpl extend
 
 private static final long serialVersionUID = 1L;
 
-private int status = 200;
+private int status;
+private boolean threaded;
 
-public AsyncErrorServlet(int status) {
+public AsyncErrorServlet(int status, boolean threaded) {
 this.status = status;
+this.threaded = threaded;
 }
 
 @Override
@@ -1224,18 +1235,22 @@ public class TestAsyncContextImpl extend
 
 final AsyncContext actxt = req.startAsync();
 actxt.setTimeout(TIMEOUT);
-actxt.start(new Runnable() {
-@Override
-public void run() {
-try {
-((HttpServletResponse) actxt.getResponse()).sendError(
-status);
-} catch (IOException e) {
-// Ignore
+if (threaded) {
+actxt.start(new Runnable() {
+@Override
+public void run() {
+try {
+HttpServletResponse resp =
+(HttpServletResponse) actxt.getResponse();
+resp.sendError(status);
+} catch (IOException e) {
+// Ignore
+}
 }
-}
-});
+});
+} else {
+resp.sendError(status);
+}
 }
 }
-
 }



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



DO NOT REPLY [Bug 51197] sendError/sendRedirect don't work with AsyncContext

2012-02-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51197

Mark Thomas  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED

--- Comment #4 from Mark Thomas  2012-02-18 21:17:11 UTC ---
(In reply to comment #3)
> I am seeing the same behavior with Tomcat 7.0.25.

The report is lacking in specifics of how to reproduce the problem. There is a
unit test already for this issue that passes. I expanded it to cover calling
sendError in a new thread and the same thread (this is one of the specifics the
report is lacking) and both tests pass with BIO.

> (7.0.15 is no longer in the archives it seems)

7.0.15 was never in the archives since it was never released.

Before re-opening this issue, please ensure you have a complete minimal test
case (i.e. a single servlet in source form) that can be used to demonstrate the
issue on a clean Tomcat 7.0.x install using the latest available  version
(7.0.25 at the time of writing this).

You may wish to explore this issue on the users mailing list first to confirm
that there is indeed a bug here.

-- 
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 52489] Enhancement request for code signing of war files

2012-02-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52489

Mark Thomas  changed:

   What|Removed |Added

  Attachment #28177|0   |1
   is patch||
  Attachment #28177|application/octet-stream|text/plain
  mime type||

-- 
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: [VOTE] Release Apache Tomcat 7.0.26

2012-02-18 Thread Olivier Lamy
+1
Tested with the maven plugin and Archiva project.

2012/2/17 Mark Thomas :
> The proposed Apache Tomcat 7.0.26 release is now available for voting.
>
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-7/v7.0.26/
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-020/
> The svn tag is:
> http://svn.apache.org/repos/asf/tomcat/tc7.0.x/tags/TOMCAT_7_0_26/
>
> The proposed 7.0.26 release is:
> [ ] Broken - do not release
> [ ] Stable - go ahead and release as 7.0.26 Stable
>
> Cheers,
>
> 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



svn commit: r1290879 - in /tomcat/maven-plugin/trunk: pom.xml tomcat-maven-archetype/src/main/resources/archetype-resources/pom.xml

2012-02-18 Thread olamy
Author: olamy
Date: Sat Feb 18 21:27:23 2012
New Revision: 1290879

URL: http://svn.apache.org/viewvc?rev=1290879&view=rev
Log:
add a convenient profile to test the plugin with staged tomcat artifacts 
downloaded from staged repository

Modified:
tomcat/maven-plugin/trunk/pom.xml

tomcat/maven-plugin/trunk/tomcat-maven-archetype/src/main/resources/archetype-resources/pom.xml

Modified: tomcat/maven-plugin/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/pom.xml?rev=1290879&r1=1290878&r2=1290879&view=diff
==
--- tomcat/maven-plugin/trunk/pom.xml (original)
+++ tomcat/maven-plugin/trunk/pom.xml Sat Feb 18 21:27:23 2012
@@ -763,6 +763,19 @@
 
   
 
+
+  tc-staging
+  
+
+  
+
+  
+
+  tc-staged
+  ${tcStagedReleaseUrl}
+
+  
+
   
 
 

Modified: 
tomcat/maven-plugin/trunk/tomcat-maven-archetype/src/main/resources/archetype-resources/pom.xml
URL: 
http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/tomcat-maven-archetype/src/main/resources/archetype-resources/pom.xml?rev=1290879&r1=1290878&r2=1290879&view=diff
==
--- 
tomcat/maven-plugin/trunk/tomcat-maven-archetype/src/main/resources/archetype-resources/pom.xml
 (original)
+++ 
tomcat/maven-plugin/trunk/tomcat-maven-archetype/src/main/resources/archetype-resources/pom.xml
 Sat Feb 18 21:27:23 2012
@@ -28,7 +28,7 @@
 
   
 UTF-8
-3.1.0.RELEASE
+3.1.1.RELEASE
   
 
   



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



svn commit: r1290880 - /tomcat/maven-plugin/trunk/README.txt

2012-02-18 Thread olamy
Author: olamy
Date: Sat Feb 18 21:27:31 2012
New Revision: 1290880

URL: http://svn.apache.org/viewvc?rev=1290880&view=rev
Log:
improve README: note on how to test staged Tomcat maven artifacts

Modified:
tomcat/maven-plugin/trunk/README.txt

Modified: tomcat/maven-plugin/trunk/README.txt
URL: 
http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/README.txt?rev=1290880&r1=1290879&r2=1290880&view=diff
==
--- tomcat/maven-plugin/trunk/README.txt (original)
+++ tomcat/maven-plugin/trunk/README.txt Sat Feb 18 21:27:31 2012
@@ -1,23 +1,25 @@
+Build Apache Tomcat Maven Plugin
+
 to build this project you must Apache Maven at least 2.2.1 .
 mvn clean install will install the mojos without running integration tests.
 As there are some hardcoded integration tests with http port 1973, ajp 2001 
and 2008, you could have some port allocation issues (if you don't know why 
those values ask olamy :-) )
 mvn clean install -Prun-its will run integration tests too: to override the 
default used htpp port you can use -Dits.http.port= -Dits.ajp.port=
+
+Snapshots deployment
+-
 To deploy a snaphot version to 
https://repository.apache.org/content/repositories/snapshots/, you must run : 
mvn clean deploy .
 Note you need some configuration in ~/.m2/settings.xml:
 
-  apache.snapshots
+  apache.snapshots.https
   your asf id
-  
-  
-  
-  664
-  775
+  your asf paswword
 https://builds.apache.org/job/TomcatMavenPlugin-mvn3.x/.
 So no real to deploy manually, just commit and Jenkins will do the job for you.
 
-If you have a nice ssh key in ~/.ssh/ no need of configuring password, 
privateKey, passphrase.
+Site deployment
+-
 
 Checkstyle: this project use the Apache Maven checkstyle configuration for ide 
codestyle files see 
http://maven.apache.org/developers/committer-environment.html .
 
@@ -25,6 +27,18 @@ Site: to test site generation, just run:
 
 To deploy site, use: mvn clean site-deploy -Preporting. The site will be 
deploy to http://tomcat.apache.org/maven-plugin-${project.version}
 
+Note you need some configuration in ~/.m2/settings.xml:
+
+  apache.website
+  your asf id
+  664
+  775
+
+
+If you have a nice ssh key in ~/.ssh/ no need of configuring password, 
privateKey, passphrase.
+
+Releasing
+--
 For release your ~/.m2/settings.xml must contains :
 
 
@@ -33,3 +47,14 @@ For release your ~/.m2/settings.xml must
   asf password
 
 
+And run: mvn release:prepare release:perform -Dusername= -Dpassword=   
(username/password are you Apache svn authz)
+
+Test staged Tomcat artifacts
+
+To test staging artifacts for a vote process.
+* activate a profile: tc-staging
+* pass staging repository as parameter: -DtcStagedReleaseUrl=
+* pass version tomcat version as parameter: -Dtomcat7Version=
+
+Sample: mvn clean install -Prun-its -Ptc-staging 
-DtcStagedReleaseUrl=https://repository.apache.org/content/repositories/orgapachetomcat-020/
 -Dtomcat7Version=7.0.26
+



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



svn commit: r1290903 - /tomcat/trunk/test/org/apache/catalina/websocket/TestWebSocket.java

2012-02-18 Thread markt
Author: markt
Date: Sat Feb 18 23:13:26 2012
New Revision: 1290903

URL: http://svn.apache.org/viewvc?rev=1290903&view=rev
Log:
Simple WebSocket test client that demonstrates that fragmentation
support is working. There is lots of scope for refactoring this test
client for reuse. The client makes lots of assumptions and does the bare
minimum required to talk to the WebSocket Echo example.

Modified:
tomcat/trunk/test/org/apache/catalina/websocket/TestWebSocket.java

Modified: tomcat/trunk/test/org/apache/catalina/websocket/TestWebSocket.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/websocket/TestWebSocket.java?rev=1290903&r1=1290902&r2=1290903&view=diff
==
--- tomcat/trunk/test/org/apache/catalina/websocket/TestWebSocket.java 
(original)
+++ tomcat/trunk/test/org/apache/catalina/websocket/TestWebSocket.java Sat Feb 
18 23:13:26 2012
@@ -16,68 +16,149 @@
  */
 package org.apache.catalina.websocket;
 
+import java.io.BufferedReader;
+import java.io.File;
+import java.io.IOException;
 import java.io.InputStream;
+import java.io.InputStreamReader;
+import java.io.OutputStream;
+import java.io.OutputStreamWriter;
 import java.io.Reader;
-import java.nio.ByteBuffer;
-import java.nio.CharBuffer;
+import java.io.Writer;
+import java.net.InetSocketAddress;
+import java.net.Socket;
+import java.net.SocketAddress;
 
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertTrue;
 import org.junit.Test;
 
+import org.apache.catalina.startup.Tomcat;
 import org.apache.catalina.startup.TomcatBaseTest;
+import org.apache.tomcat.util.buf.B2CConverter;
+import org.apache.tomcat.util.buf.ByteChunk;
+import org.apache.tomcat.util.buf.C2BConverter;
+import org.apache.tomcat.util.buf.CharChunk;
 
 public class TestWebSocket extends TomcatBaseTest {
 
+private static final String CRLF = "\r\n";
+
+private OutputStream os;
+private InputStream is;
+boolean isContinuation = false;
+
 @Test
-public void testSimple() {
-// TODO: Write a test
+public void testSimple() throws Exception {
+Tomcat tomcat = getTomcatInstance();
+File appDir = new File(getBuildDirectory(), "webapps/examples");
+tomcat.addWebapp(null, "/examples", appDir.getAbsolutePath());
+
+tomcat.start();
+
+// Open the socket
+final String encoding = "ISO-8859-1";
+SocketAddress addr = new InetSocketAddress("localhost", getPort());
+Socket socket = new Socket();
+socket.setSoTimeout(1);
+socket.connect(addr, 1);
+os = socket.getOutputStream();
+Writer writer = new OutputStreamWriter(os, encoding);
+is = socket.getInputStream();
+Reader r = new InputStreamReader(is, encoding);
+BufferedReader reader = new BufferedReader(r);
+
+// Send the WebSocket handshake
+writer.write("GET /examples/websocket/echoStream HTTP/1.1" + CRLF);
+writer.write("Host: foo" + CRLF);
+writer.write("Upgrade: websocket" + CRLF);
+writer.write("Connection: upgrade" + CRLF);
+writer.write("Sec-WebSocket-Version: 13" + CRLF);
+writer.write("Sec-WebSocket-Key: TODO" + CRLF);
+writer.write(CRLF);
+writer.flush();
+
+// Make sure we got an upgrade response
+String responseLine = reader.readLine();
+assertTrue(responseLine.startsWith("HTTP/1.1 101"));
+
+// Swallow the headers
+String responseHeaderLine = reader.readLine();
+while (!responseHeaderLine.equals("")) {
+responseHeaderLine = reader.readLine();
+}
+
+// Now we can do WebSocket
+sendMessage("foo", false);
+sendMessage("foo", true);
+
+assertEquals("foofoo",readMessage());
+
+// Finished with the socket
+socket.close();
 }
 
-private static final class StreamingWebSocketServlet
-extends WebSocketServlet {
+private void sendMessage(String message, boolean finalFragment)
+throws IOException{
+ByteChunk bc = new ByteChunk(8192);
+C2BConverter c2b = new C2BConverter(bc, "UTF-8");
+c2b.convert(message);
+c2b.flushBuffer();
 
-private static final long serialVersionUID = 1L;
+int len = bc.getLength();
+assertTrue(len < 126);
 
-@Override
-protected StreamInbound createWebSocketInbound(String subProtocol) {
-return new SimpleStreamInbound();
+
+byte first;
+if (isContinuation) {
+first = Constants.OPCODE_CONTINUATION;
+} else {
+first = Constants.OPCODE_TEXT;
 }
-}
+if (finalFragment) {
+first = (byte) (0x80 | first);
+}
+os.write(first);
 
-private static final class SimpleStreamInbound extends StreamInbound {
+os.write(0x80 | len);
 
-   

svn commit: r1290904 - /tomcat/maven-plugin/trunk/README.txt

2012-02-18 Thread kkolinko
Author: kkolinko
Date: Sat Feb 18 23:18:49 2012
New Revision: 1290904

URL: http://svn.apache.org/viewvc?rev=1290904&view=rev
Log:
Correct several typos

Modified:
tomcat/maven-plugin/trunk/README.txt

Modified: tomcat/maven-plugin/trunk/README.txt
URL: 
http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/README.txt?rev=1290904&r1=1290903&r2=1290904&view=diff
==
--- tomcat/maven-plugin/trunk/README.txt (original)
+++ tomcat/maven-plugin/trunk/README.txt Sat Feb 18 23:18:49 2012
@@ -1,6 +1,6 @@
 Build Apache Tomcat Maven Plugin
 
-to build this project you must Apache Maven at least 2.2.1 .
+To build this project you must Apache Maven at least 2.2.1 .
 mvn clean install will install the mojos without running integration tests.
 As there are some hardcoded integration tests with http port 1973, ajp 2001 
and 2008, you could have some port allocation issues (if you don't know why 
those values ask olamy :-) )
 mvn clean install -Prun-its will run integration tests too: to override the 
default used htpp port you can use -Dits.http.port= -Dits.ajp.port=
@@ -15,17 +15,17 @@ Note you need some configuration in ~/.m
   your asf paswword
 https://builds.apache.org/job/TomcatMavenPlugin-mvn3.x/.
-So no real to deploy manually, just commit and Jenkins will do the job for you.
+NOTE: a Jenkins job deploys SNAPSHOT automatically 
https://builds.apache.org/job/TomcatMavenPlugin-mvn3.x/.
+So no real need to deploy manually, just commit and Jenkins will do the job 
for you.
 
 Site deployment
 -
 
-Checkstyle: this project use the Apache Maven checkstyle configuration for ide 
codestyle files see 
http://maven.apache.org/developers/committer-environment.html .
+Checkstyle: this project uses the Apache Maven checkstyle configuration for 
ide codestyle files see 
http://maven.apache.org/developers/committer-environment.html .
 
 Site: to test site generation, just run: mvn site. If you want more reporting 
(javadoc, pmd, checkstyle, jxr, changelog from jira entries), use: mvn site 
-Preporting.
 
-To deploy site, use: mvn clean site-deploy -Preporting. The site will be 
deploy to http://tomcat.apache.org/maven-plugin-${project.version}
+To deploy site, use: mvn clean site-deploy -Preporting. The site will be 
deployed to http://tomcat.apache.org/maven-plugin-${project.version}
 
 Note you need some configuration in ~/.m2/settings.xml:
 
@@ -47,14 +47,14 @@ For release your ~/.m2/settings.xml must
   asf password
 
 
-And run: mvn release:prepare release:perform -Dusername= -Dpassword=   
(username/password are you Apache svn authz)
+And run: mvn release:prepare release:perform -Dusername= -Dpassword=   
(username/password are your Apache svn authz)
 
 Test staged Tomcat artifacts
 
 To test staging artifacts for a vote process.
 * activate a profile: tc-staging
 * pass staging repository as parameter: -DtcStagedReleaseUrl=
-* pass version tomcat version as parameter: -Dtomcat7Version=
+* pass tomcat version as parameter: -Dtomcat7Version=
 
 Sample: mvn clean install -Prun-its -Ptc-staging 
-DtcStagedReleaseUrl=https://repository.apache.org/content/repositories/orgapachetomcat-020/
 -Dtomcat7Version=7.0.26
 



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



svn commit: r1290911 - /tomcat/tc7.0.x/trunk/java/org/apache/catalina/util/SessionConfig.java

2012-02-18 Thread rjung
Author: rjung
Date: Sun Feb 19 00:24:07 2012
New Revision: 1290911

URL: http://svn.apache.org/viewvc?rev=1290911&view=rev
Log:
Fix svn:eol-style.

Modified:
tomcat/tc7.0.x/trunk/java/org/apache/catalina/util/SessionConfig.java   
(contents, props changed)

Modified: tomcat/tc7.0.x/trunk/java/org/apache/catalina/util/SessionConfig.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/util/SessionConfig.java?rev=1290911&r1=1290910&r2=1290911&view=diff
==
--- tomcat/tc7.0.x/trunk/java/org/apache/catalina/util/SessionConfig.java 
(original)
+++ tomcat/tc7.0.x/trunk/java/org/apache/catalina/util/SessionConfig.java Sun 
Feb 19 00:24:07 2012
@@ -1,88 +1,88 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *  http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.catalina.util;
-
-import javax.servlet.SessionCookieConfig;
-
-import org.apache.catalina.Context;
-
-public class SessionConfig {
-
-private static final String DEFAULT_SESSION_COOKIE_NAME = "JSESSIONID";
-private static final String DEFAULT_SESSION_PARAMETER_NAME = "jsessionid";
-
-/**
- * Determine the name to use for the session cookie for the provided
- * context.
- * @param context
- */
-public static String getSessionCookieName(Context context) {
-
-String result = getConfiguredSessionCookieName(context);
-
-if (result == null) {
-result = DEFAULT_SESSION_COOKIE_NAME;
-}
-
-return result;
-}
-
-/**
- * Determine the name to use for the session cookie for the provided
- * context.
- * @param context
- */
-public static String getSessionUriParamName(Context context) {
-
-String result = getConfiguredSessionCookieName(context);
-
-if (result == null) {
-result = DEFAULT_SESSION_PARAMETER_NAME;
-}
-
-return result;
-}
-
-
-private static String getConfiguredSessionCookieName(Context context) {
-
-// Priority is:
-// 1. Cookie name defined in context
-// 2. Cookie name configured for app
-// 3. Default defined by spec
-if (context != null) {
-String cookieName = context.getSessionCookieName();
-if (cookieName != null && cookieName.length() > 0) {
-return cookieName;
-}
-
-SessionCookieConfig scc =
-context.getServletContext().getSessionCookieConfig();
-cookieName = scc.getName();
-if (cookieName != null && cookieName.length() > 0) {
-return cookieName;
-}
-}
-
-return null;
-}
-
-
-private SessionConfig() {
-// Utility class. Hide default constructor.
-}
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.catalina.util;
+
+import javax.servlet.SessionCookieConfig;
+
+import org.apache.catalina.Context;
+
+public class SessionConfig {
+
+private static final String DEFAULT_SESSION_COOKIE_NAME = "JSESSIONID";
+private static final String DEFAULT_SESSION_PARAMETER_NAME = "jsessionid";
+
+/**
+ * Determine the name to use for the session cookie for the provided
+ * context.
+ * @param context
+ */
+public static String getSessionCookieName(Context context) {
+
+String result = getConfiguredSessionCookieName(context);
+
+if (result == null) {
+ 

svn commit: r1290913 - /tomcat/tc5.5.x/trunk/STATUS.txt

2012-02-18 Thread kkolinko
Author: kkolinko
Date: Sun Feb 19 00:34:45 2012
New Revision: 1290913

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

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

Modified: tomcat/tc5.5.x/trunk/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/tc5.5.x/trunk/STATUS.txt?rev=1290913&r1=1290912&r2=1290913&view=diff
==
--- tomcat/tc5.5.x/trunk/STATUS.txt (original)
+++ tomcat/tc5.5.x/trunk/STATUS.txt Sun Feb 19 00:34:45 2012
@@ -40,5 +40,5 @@ PATCHES PROPOSED TO BACKPORT:
 * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=52677
   Filters need to implement Filter
   http://people.apache.org/~markt/patches/2012-02-17-bug52677-tc5.patch
-  +1: markt
+  +1: markt, kkolinko
   -1:



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



Re: [VOTE] Release Apache Tomcat 7.0.26

2012-02-18 Thread Rainer Jung



On 17.02.2012 21:00, Mark Thomas wrote:

The proposed Apache Tomcat 7.0.26 release is now available for voting.

It can be obtained from:
https://dist.apache.org/repos/dist/dev/tomcat/tomcat-7/v7.0.26/
The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-020/
The svn tag is:
http://svn.apache.org/repos/asf/tomcat/tc7.0.x/tags/TOMCAT_7_0_26/

The proposed 7.0.26 release is:
[ ] Broken - do not release
[X] Stable - go ahead and release as 7.0.26 Stable


+1, this time no test failure.

Details:

- MD5 OK
- signatures OK
- key in KEYS file
- gz and zip for src and bin consistent
- src consistent with svn tag, except for the following minor points
  (no regression or fixed now)
  - wrong svn:eol-style in
java/org/apache/catalina/util/SessionConfig.java
(fixed in r1290911)
  - line ends of modules/jdbc-pool/resources/MANIFEST.MF differ
between svn and gz although eol-style is set correctly.
  - the files we copy before building, e.g.
catalina.properties and jdbc-pool.xml are of course
not in svn for the cp target location, but they are
in the src bundles.
- builds fine
- build result looks consistent with binaries
- no checkstyle complaints
- no Javadoc errors
- Unit tests no failures
- JMX MBean-Comparison no differences:

Build and tests were done using Java 1.6.0_30, OS was Solaris 10 Sparc,
tcnative was 1.1.22 based on APR 1.4.5 and OpenSSL 1.0.0f.

Regards,

Rainer



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



Re: Maven meta-data still incomplete for Tomcat 6

2012-02-18 Thread Konstantin Kolinko
2012/2/17 Mark Thomas :
> Jean-Frederic,
>
> Post [1] the Tomcat 6 Maven metadata is still incomplete. I thought the
> point of going through all that upheaval was to resolve [2]. How come
> things are still broken and what is the plan to fix [2]?
>
> If anyone knows how to poke Nexus to include all versions in the
> metadata rather than the last two please shout now.
>
> Mark
>
> [1] https://issues.apache.org/jira/browse/INFRA-4162
> [2] https://issues.apache.org/bugzilla/show_bug.cgi?id=52124
>

I do not know how to fix it. Just a few pointers:

1. The metadata files at nexus are broken as well.
Two examples:
(I do not know whether these are correct URLs that Maven Central syncs
from, but they look like it)

[3] 
https://repository.apache.org/service/local/repositories/releases/content/org/apache/tomcat/catalina/maven-metadata.xml
[4] 
https://repository.apache.org/service/local/repositories/releases/content/org/apache/tomcat/catalina-ha/maven-metadata.xml

Both [3] and [4] list 6.0.33, 6.0.35 only. I think it is the same for
all Tomcat 6 modules.

For further reference, the list of modules for Tomcat 6 is the following
[[[
  org.apache.tomcat
  annotations-api
  catalina
  catalina-ha
  coyote
  dbcp
  el-api
  jasper
  jasper-el
  jsp-api
  juli
  servlet-api
  tribes

  org.apache.tomcat.extras
  juli-adapters
  juli
]]]


2. I looked through Infra JIRA looking for Nexus issues. The goal was
to find whether anyone had similar problem of incorrect files stored
on Nexus. The only issue that I noticed is the following one.
Unfortunately it is not yet resolved:

[5] https://issues.apache.org/jira/browse/INFRA-3901
[6] 
https://repository.apache.org/content/repositories/releases/org/apache/ant/ant-apache-log4j/

The issue is that files at [6] are broken, e.g.
[6]/1.7.0/ant-apache-log4j-1.7.0.pom  is not an XML file at all, but
an md5 file.

The issue [5] does not mention it, but metadata at
[6]/maven-metadata.xml is broken in the same manner as Tomcat 6 one.

3. I think we need to create an INFRA issue for it just to track progress.

There is repository @a.o mailing list. I think it is a place to ask &
poke, but I do not see much activity there. For reference -
subscription information and archive:
[7] http://www.apache.org/dev/repository-faq.html#resources
[8] http://mail-archives.apache.org/mod_mbox/www-repository/

The [5] issue is unresolved since August 2011...


4. The following issue in Nexus FAQ may be related:

[9] https://docs.sonatype.com/display/SPRTNXOSS/Nexus+FAQ
-> "Q. The "latest" and "release" tags in maven-metadata.xml are not
being updated after deploying artifacts"


A. The maven-metadata.xml files are not updated by Nexus during
deployment, they are updated by Maven. It downloads the file, updates
it, and then redeploys it.
(...)





Best regards,
Konstantin Kolinko

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



Bug report for Taglibs [2012/02/19]

2012-02-18 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=Critical  REG=Regression  MAJ=Major   |
| |   |   MIN=Minor   NOR=NormalENH=Enhancement TRV=Trivial |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
|38193|Ass|Enh|2006-01-09|[RDC] BuiltIn Grammar support for Field   |
|38600|Ass|Enh|2006-02-10|[RDC] Enable RDCs to be used in X+V markup (X+RDC)|
|42413|New|Enh|2007-05-14|[PATCH] Log Taglib enhancements   |
|46052|New|Nor|2008-10-21|SetLocaleSupport is slow to initialize when many l|
|48333|New|Enh|2009-12-02|TLD generator |
|51234|New|Nor|2011-05-20|NumberFormatException in fmt:formatNumber tag |
+-+---+---+--+--+
| Total6 bugs   |
+---+

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



Bug report for Tomcat 7 [2012/02/19]

2012-02-18 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=Critical  REG=Regression  MAJ=Major   |
| |   |   MIN=Minor   NOR=NormalENH=Enhancement TRV=Trivial |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
|16579|New|Enh|2003-01-30|documentation page layout/style breaks wrapping to|
|18500|New|Enh|2003-03-30|Host aliases to match by regular expression   |
|28039|Opn|Enh|2004-03-30|Cluster Support for SingleSignOn  |
|40728|Inf|Enh|2006-10-11|Catalina MBeans use non-serializable classes  |
|40881|Opn|Enh|2006-11-02|Unable to receive message through  TCP channel -> |
|41007|Opn|Enh|2006-11-20|Can't define customized 503 error page|
|43866|New|Enh|2007-11-14|add support for session attribute propagation with|
|43925|Opn|Enh|2007-11-21|org.apache.jasper.runtime.BodyContentImpl causing |
|44216|New|Enh|2008-01-11|Don't reuse session ID even if emptySessionPath=tr|
|48550|Inf|Enh|2010-01-14|Update examples and default server.xml to use UTF-|
|49395|New|Enh|2010-06-06|manager.findLeaks : display the date when the leak|
|49589|New|Enh|2010-07-12|Tag handlers with constant attribute values are al|
|49785|New|Enh|2010-08-19|Enabling TLS for JNDIRealm|
|49821|New|Enh|2010-08-25|Tomcat CLI|
|50019|New|Enh|2010-09-28|Adding JNDI "lookup-name" support In XML and Resou|
|50175|New|Enh|2010-10-28|Enhance memory leak detection by selectively apply|
|50234|New|Enh|2010-11-08|JspC use servlet 3.0 features |
|50504|New|Enh|2010-12-21|Allow setting query string character set trough re|
|50670|New|Enh|2011-01-27|Tribes | RpcChannel | Add option to specify extern|
|51181|New|Enh|2011-05-10|Add support for Web Sockets   |
|51195|New|Enh|2011-05-13|"Find leaks" reports a false positive memory/class|
|51294|Opn|Enh|2011-05-30|Since 7.0.12 do not work option unpackWARs=true fo|
|51423|Inf|Enh|2011-06-23|[Patch] to add a path and a version parameters to |
|51463|New|Enh|2011-07-01|Tomcat.setBaseDir  (package org.apache.catalina.st|
|51496|New|Enh|2011-07-11|NSIS - Warn that duplicate service name will resul|
|51497|New|Enh|2011-07-11|Use canonical IPv6 text representation in logs|
|51526|New|Enh|2011-07-18|Process web application context config with embedd|
|51587|New|Enh|2011-07-29|Implement status and uptime commands  |
|51953|New|Enh|2011-10-04|Proposal: netmask filtering valve and filter  |
|52092|New|Enh|2011-10-26|Please make AsyncFileHandler and OneLineFormatter |
|52234|New|Enh|2011-11-23|More documentation of embedding, please?  |
|52235|New|Enh|2011-11-23|Please do a bit of SEO tuning for the web site|
|52236|New|Enh|2011-11-23|Idea: support 'overlays' shaped like Maven overlay|
|52323|New|Enh|2011-12-13|Cobertura test code coverage support for build.xml|
|52381|New|Enh|2011-12-22|Please add OSGi metadata  |
|52386|New|Enh|2011-12-26|Move to a Maven Build |
|52448|New|Enh|2012-01-11|Cache jar indexes in WebappClassLoader to speed up|
|52489|New|Enh|2012-01-19|Enhancement request for code signing of war files |
|52500|New|Enh|2012-01-23|Improve client certificate authentication |
|52558|New|Enh|2012-01-30|CometConnectionManagerValve is adding non-serializ|
|52688|New|Enh|2012-02-16|Added ability to have access logs output to standa|
+-+---+---+--+--+
| Total   41 bugs   |
+---+

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



Bug report for Tomcat 6 [2012/02/19]

2012-02-18 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=Critical  REG=Regression  MAJ=Major   |
| |   |   MIN=Minor   NOR=NormalENH=Enhancement TRV=Trivial |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
|41679|New|Enh|2007-02-22|SemaphoreValve should be able to filter on url pat|
|41883|Ass|Enh|2007-03-18|use abstract wrapper instead of plain X509Certific|
|43001|New|Enh|2007-07-30|JspC lacks setMappedFile and setDie for use in Ant|
|43400|New|Enh|2007-09-14|enum support for tag libs |
|43548|Opn|Enh|2007-10-04|xml schema for tomcat-users.xml   |
|43682|New|Enh|2007-10-23|JULI: web-inf/classes/logging.properties to suppor|
|43742|New|Enh|2007-10-30|.tag compiles  performed one at a time -- extremel|
|43979|New|Enh|2007-11-27|Add abstraction for Java and Classfile output |
|44199|New|Enh|2008-01-10|expose current backlog queue size |
|44225|New|Enh|2008-01-14|SSL connector tries to load the private keystore f|
|44284|New|Enh|2008-01-23|Support java.lang.Iterable in c:forEach tag   |
|44294|New|Enh|2008-01-25|Support for EL functions with varargs |
|44312|New|Enh|2008-01-28|Warn when overwritting docBase of the default Host|
|44645|New|Enh|2008-03-20|[Patch] JNDIRealm - Doesn't support JNDI "java.nam|
|44787|New|Enh|2008-04-09|provide more error context on "java.lang.IllegalSt|
|44818|New|Enh|2008-04-13|tomcat hangs with GET when content-length is defin|
|45014|New|Enh|2008-05-15|Request and Response classes should have wrappers |
|45282|New|Enh|2008-06-25|NioReceiver doesn't close cleanly, leaving sockets|
|45428|New|Enh|2008-07-18|warn if the tomcat stop doesn't complete  |
|45832|New|Enh|2008-09-18|add DIGEST authentication support to Ant tasks|
|45878|New|Enh|2008-09-24|Generated jars do not contain proper manifests or |
|45879|Opn|Enh|2008-09-24|Windows installer fails to install NOTICE and RELE|
|45931|Opn|Enh|2008-10-01|trimSpaces incorrectly modifies output|
|45995|New|Enh|2008-10-13|RFE - MIME type extension not case sensitive  |
|46173|New|Enh|2008-11-09|Small patch for manager app: Setting an optional c|
|46263|New|Enh|2008-11-21|Tomcat reloading of context does not update contex|
|46284|New|Enh|2008-11-24|Add flag to DeltaManager that blocks processing cl|
|46350|New|Enh|2008-12-05|Maven repository should contain source bundles|
|46497|New|Enh|2009-01-08|Install Tomcat Deployer/ANT on Windows Platform   |
|46655|New|Enh|2009-02-03|keystore's password handler   |
|46727|New|Enh|2009-02-17|DefaultServlet - serving multiple encodings   |
|46902|New|Enh|2009-03-24|LoginValve to bypass restrictions of j_security_ch|
|47214|New|Enh|2009-05-17|Inner classes that are explicitly referenced - sho|
|47242|New|Enh|2009-05-22|request for AJP command line client   |
|47281|New|Enh|2009-05-28|Efficiency of the JDBCStore   |
|47407|New|Enh|2009-06-23|HttpSessionListener doesn't operate in the session|
|47467|New|Enh|2009-07-02|Deployment of the war file by URL when contextpath|
|47785|Opn|Enh|2009-09-04|Cluster MBean not registered  |
|47834|New|Enh|2009-09-14|TldConfig throws Exception when exploring unpacked|
|47919|New|Enh|2009-09-30|Log Tomcat & Java environment variables in additio|
|48358|Opn|Enh|2009-12-09|JSP-unloading reloaded|
|48543|New|Enh|2010-01-14|[Patch] More flexibility in specifying -Dcatalina.|
|48600|Opn|Enh|2010-01-22|Performance issue with tags   |
|48672|New|Enh|2010-02-03|Tomcat Virtual Host Manager (/host-manager) have b|
|48674|New|Enh|2010-02-03|Tomcat Virtual Host Manager application doesn't pe|
|48743|New|Enh|2010-02-15|Make the SLEEP variable in catalina.sh settable fr|
|48899|New|Enh|2010-03-12|Guess URI charset should solve lot of problems|
|48922|New|Enh|2010-03-16|org.apache.catalina.connector.Request clone static|
|48928|New|Enh|2010-03-17|An alternative solution to preloading classes when|
|49161|New|Enh|2010-04-21|Unknown Publisher when installing tomcat 6.0.26   |
|49176|Opn|Enh|2010-04-23|Jasper in Dev Mode Is Memory Inefficient  |
|49464|

Bug report for Tomcat Connectors [2012/02/19]

2012-02-18 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=Critical  REG=Regression  MAJ=Major   |
| |   |   MIN=Minor   NOR=NormalENH=Enhancement TRV=Trivial |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
|34526|Opn|Nor|2005-04-19|Truncated content in decompressed requests from mo|
|35959|Opn|Enh|2005-08-01|mod_jk not independant of UseCanonicalName|
|43303|New|Enh|2007-09-04|Versioning under Windows not reported by many conn|
|43968|Inf|Enh|2007-11-26|[patch] support ipv6 with mod_jk  |
|44290|Inf|Nor|2008-01-24|mod_jk/1.2.26: retry is not useful for an importan|
|44349|Inf|Maj|2008-02-04|mod_jk/1.2.26 module does not read worker.status.s|
|44379|New|Enh|2008-02-07|convert the output of strftime into UTF-8 |
|44454|New|Nor|2008-02-19|busy count reported in mod_jk inflated, causes inc|
|44571|New|Enh|2008-03-10|Limits busy per worker to a threshold |
|45063|New|Nor|2008-05-22|JK-1.2.26 IIS ISAPI filter issue when running diff|
|45313|New|Nor|2008-06-30|mod_jk 1.2.26 & apache 2.2.9 static compiled on so|
|46337|New|Nor|2008-12-04|real worker name is wrong |
|46676|New|Enh|2009-02-09|Configurable test request for Watchdog thread |
|46767|New|Enh|2009-02-25|mod_jk to send DECLINED in case no fail-over tomca|
|47327|New|Enh|2009-06-07|remote_user not logged in apache logfile  |
|47617|Inf|Enh|2009-07-31|include time spent doing ajp_get_endpoint() in err|
|47678|New|Cri|2009-08-11|Unable to allocate shared memory when using isapi_|
|47714|New|Cri|2009-08-20|Reponse mixed between users   |
|47750|New|Maj|2009-08-27|Loss of worker settings when changing via jkstatus|
|47795|New|Maj|2009-09-07|service sticky_session not being set correctly wit|
|47840|Inf|Min|2009-09-14|A broken worker name is written in the log file.  |
|48191|New|Maj|2009-11-13|Problem with mod_jk 1.2.28 - Can not render up the|
|48460|New|Nor|2009-12-30|mod_proxy_ajp document has three misleading portio|
|48490|New|Nor|2010-01-05|Changing a node to stopped in uriworkermap.propert|
|48513|New|Enh|2010-01-09|IIS Quick setup instructions  |
|48564|New|Nor|2010-01-18|Unable to turn off retries for LB worker  |
|48830|New|Nor|2010-03-01|IIS shutdown blocked in endpoint service when serv|
|48891|Opn|Enh|2010-03-11|Missing EOL-style settings in tomcat/jk/trunk |
|49035|New|Maj|2010-04-01|data lost when post a multipart/form-data form|
|49063|New|Enh|2010-04-07|Please add JkStripSession status in jk-status work|
|49135|New|Enh|2010-04-16|SPDY Connector for The Tomcat |
|49469|New|Enh|2010-06-19|Workers status page has negative number of connect|
|49732|Opn|Nor|2010-08-10|reply_timeout can't wait forever. |
|49822|New|Enh|2010-08-25|Add hash lb worker method |
|49903|New|Enh|2010-09-09|Make workers file reloadable  |
|50186|New|Nor|2010-10-31|Wrong documentation of connection_pool_timeout / c|
|50511|Inf|Nor|2010-12-22|WARNING about Internal Dummy Connection of Apache |
|51767|New|Maj|2011-09-06|isapi_redirect intermittently crashes iis worker p|
|52074|New|Maj|2011-10-23|PATH_INFO not passed from IIS7 to Tomcat7 |
|52270|New|Cri|2011-12-01|isapi rediderctor hangs IIS 7.5 APP POOL  |
|52286|New|Blk|2011-12-05|isapi 1.2.32 fails to reload after worker processe|
|52334|New|Maj|2011-12-14|recover_time is not properly used |
|52432|New|Nor|2012-01-05|HTTP Error 500.0 from IIS 7.5 when configure tomca|
|52483|New|Enh|2012-01-18|Print JkOptions's options in log file and jkstatus|
|52651|New|Nor|2012-02-13|JKSHMFile size limitation |
|52659|New|Nor|2012-02-14|Shared memory becomes corrupted   |
+-+---+---+--+--+
| Total   46 bugs   |
+---+

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

Bug report for Tomcat Native [2012/02/19]

2012-02-18 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=Critical  REG=Regression  MAJ=Major   |
| |   |   MIN=Minor   NOR=NormalENH=Enhancement TRV=Trivial |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
|45392|New|Nor|2008-07-14|No OCSP support for client SSL verification   |
|46179|Opn|Maj|2008-11-10|apr ssl client authentication |
|48655|Inf|Nor|2010-02-02|Active multipart downloads prevent tomcat shutdown|
|49038|Inf|Nor|2010-04-02|Crash in tcnative |
|51655|New|Nor|2011-08-12|Index page does not say what native does  |
|51813|New|Cri|2011-09-14|Tomcat randomly crashes with [libtcnative-1.so.1+0|
|52119|New|Nor|2011-11-01|Add Diablo JDK to default JDK location search path|
|52153|New|Maj|2011-11-08|periodic JVM crash (access violation) on buffer fl|
|52231|New|Nor|2011-11-23|Ant Tasks need to reflect changes in manager comma|
|52319|New|Maj|2011-12-12|Tomcat 6 crashes with [libapr-1.so.0+0x196da]  sig|
|52544|New|Maj|2012-01-27|tcnative-1.dll crash with RapidSSL certificate und|
|52627|New|Min|2012-02-08|Segmentation fault in org.apache.tomcat.jni.File.i|
+-+---+---+--+--+
| Total   12 bugs   |
+---+

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



Bug report for Tomcat 5 [2012/02/19]

2012-02-18 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=Critical  REG=Regression  MAJ=Major   |
| |   |   MIN=Minor   NOR=NormalENH=Enhancement TRV=Trivial |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
|52579|New|Reg|2012-02-02|Tomcat5.5.35?Java1.5 cannot return proper value of|
|52677|New|Nor|2012-02-16|embedded SetCharacterEncodingFilter in org.apache.|
+-+---+---+--+--+
| Total2 bugs   |
+---+

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



Bug report for Tomcat Modules [2012/02/19]

2012-02-18 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=Critical  REG=Regression  MAJ=Major   |
| |   |   MIN=Minor   NOR=NormalENH=Enhancement TRV=Trivial |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
|48240|New|Nor|2009-11-19|Tomcat-Lite missing @Override markers |
|48268|New|Nor|2009-11-23|Patch to fix generics in tomcat-lite  |
|48861|New|Nor|2010-03-04|Files without AL headers  |
|49685|New|Nor|2010-08-02|Unsafe synchronization in class ManagedBean   |
|49686|New|Nor|2010-08-02|Using an instance lock to protect static shared da|
|49953|Opn|Nor|2010-09-17|Missing @Override annotations |
|50565|New|Min|2011-01-10|Static variables should be accessed in a static wa|
|50566|New|Nor|2011-01-10|Duplicate assignment to connection variable   |
|50571|Inf|Nor|2011-01-11|Tomcat 7 JDBC connection pool exception enhancemen|
|50660|New|Min|2011-01-26|Improve validationQuery error handling|
|50860|New|Nor|2011-03-03|In case of invalid or empty slqQuery connection ar|
|50864|New|Nor|2011-03-03|Reconfigure pool on the fly using JMX |
|51198|New|Nor|2011-05-13|Trunk Version : Performance enhancement in Connect|
|51237|New|Nor|2011-05-20|SlowQueryReport interceptor does not log anything |
|51388|New|Enh|2011-06-16|SlowQueryReport should respect Statement.getQueryT|
|51595|New|Nor|2011-08-01|org.apache.tomcat.jdbc.pool.jmx.ConnectionPool sho|
|51879|New|Enh|2011-09-22|Improve access to Native Connection Methods   |
|51893|New|Nor|2011-09-26|JMX notification/Exception for empty/exhausted con|
|52002|New|Nor|2011-10-10|Pool re-opens and re-issues closed connection |
|52024|New|Enh|2011-10-13|Custom interceptor to support automatic failover o|
|52066|New|Nor|2011-10-20|ConnectionPool.borrowConnection swallows interrupt|
|52318|New|Cri|2011-12-11|Version in tomcat-jdbc POM is conflicted with Vers|
|52327|New|Nor|2011-12-14|DataSourceProxy is not thread-safe|
|52493|New|Nor|2012-01-21|Add java7 support |
|52518|New|Trv|2012-01-24|Documentation enhancements|
|52629|New|Nor|2012-02-09|minIdle property behaviour is not the described on|
|52654|New|Nor|2012-02-13|Incomplete documentation about DataSource JMX regi|
+-+---+---+--+--+
| Total   27 bugs   |
+---+

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