Re: [RESULT] Was: [VOTE] Release Apache Tomcat Connectors 1.2.33

2012-03-14 Thread Tim Whittington
I see 1.2.33 ended up in the root of the /jk directory...

On Wed, Mar 14, 2012 at 10:07 AM, Tim Whittington t...@apache.org wrote:
 Thanks Mladen

 The source distribution for 1.2.32 ended up in the root of the jk
 archive  [1] (which I've only just found now ;), but all the other
 releases have gone into the source subdirectory [2].
 I assume this was unintentional?

 [1] http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/
 [2] http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/source/

 cheers
 tim

 On Wed, Mar 14, 2012 at 3:49 AM, Mladen Turk mt...@apache.org wrote:
 With 3 binding +1 votes (Henri, Mladen and Rainer) and no other votes
 I declare this vote as passed.

 Will copy the artefacts to dist and create ANN after 24 hrs for mirror sync.

 On 03/09/2012 01:00 PM, Mladen Turk wrote:

 Release candidate artefacts [1] based on tag [2] are ready for vote.
 The vote will stay open for at least 72 hours.

 Apache Tomcat Connectors 1.2.33 release candidate is
 [+1] Stable, release
 [-1] Do not release because of ...


 [1] https://svn.apache.org/repos/asf/tomcat/jk/tags/JK_1_2_33
 [2] http://people.apache.org/~mturk/tomcat-connectors/jk-1.2.33



 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



svn commit: r1300486 - in /tomcat/tc7.0.x/trunk: build.properties.default res/maven/mvn.properties.default

2012-03-14 Thread markt
Author: markt
Date: Wed Mar 14 09:44:04 2012
New Revision: 1300486

URL: http://svn.apache.org/viewvc?rev=1300486view=rev
Log:
Prep for next release

Modified:
tomcat/tc7.0.x/trunk/build.properties.default
tomcat/tc7.0.x/trunk/res/maven/mvn.properties.default

Modified: tomcat/tc7.0.x/trunk/build.properties.default
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/build.properties.default?rev=1300486r1=1300485r2=1300486view=diff
==
--- tomcat/tc7.0.x/trunk/build.properties.default (original)
+++ tomcat/tc7.0.x/trunk/build.properties.default Wed Mar 14 09:44:04 2012
@@ -27,7 +27,7 @@
 # - Version Control Flags -
 version.major=7
 version.minor=0
-version.build=26
+version.build=27
 version.patch=0
 version.suffix=-dev
 

Modified: tomcat/tc7.0.x/trunk/res/maven/mvn.properties.default
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/res/maven/mvn.properties.default?rev=1300486r1=1300485r2=1300486view=diff
==
--- tomcat/tc7.0.x/trunk/res/maven/mvn.properties.default (original)
+++ tomcat/tc7.0.x/trunk/res/maven/mvn.properties.default Wed Mar 14 09:44:04 
2012
@@ -35,12 +35,12 @@ maven.snapshot.repo.repositoryId=apache.
 #Maven release properties for Tomcat staging
 
maven.release.repo.url=scp://people.apache.org/www/tomcat.apache.org/dev/dist/m2-repository
 maven.release.repo.repositoryId=tomcat-staging
-maven.release.deploy.version=7.0.26
+maven.release.deploy.version=7.0.27
 
 #Maven release properties for the main ASF repo (staging in nexus)
 
maven.asf.release.repo.url=https://repository.apache.org/service/local/staging/deploy/maven2
 maven.asf.release.repo.repositoryId=apache.releases
-maven.asf.release.deploy.version=7.0.26
+maven.asf.release.deploy.version=7.0.27
 
 
 #Where do we load the libraries from



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



Re: WebSocket status

2012-03-14 Thread Johno Crawford

On 8/03/2012 9:10 PM, Mark Thomas wrote:

On 08/03/2012 09:12, Johno Crawford wrote:

What's next / left on the TODO list Mark? Anything I can help out with?

Porting the generic HTTP upgrade followed by the WebSocket code to
7.0.x. I don't think there is much for you to do there.

WebSocket needs some documentation. My plan was to keep it light and
point to the examples / Javadoc as much as possible.

Performance / scalability with large numbers of users / connections
needs looking at.


If I am not mistaken there was talk about adding buffered readers, is 
this still on the table?




API tweaks will come as folks start to use to but we need to get it into
7.0.x for that to happen.

Look at what needs to be done to align with Jetty's API with a view to
possibly moving to a shared common API. There is a WebSocket EG starting
up and if that comes up with an API quickly, we may just move to that
instead. If there are simple changes we can make now to align with Jetty
that will make things easier for users so we should consider them.

Costin's point re APR and threading.

Maybe a chat example app? After all, everyone else seems to have one ;)


At first this felt like double work as there had been some talk and 
progress regarding a chat example [1] however, I was a little concerned 
about the security of the implementation (no filtering of html 
entities), it doesn't line up with the current trunk source and I 
estimated implementation from scratch to be 30 minutes max.


Cheers,

Johno

[1] 
https://github.com/praus/tomcat/commit/0bfcb572e79ac05001efe134c2d44ba86daed9c8 



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



Re: [RESULT] Was: [VOTE] Release Apache Tomcat Connectors 1.2.33

2012-03-14 Thread Mladen Turk

On 03/14/2012 09:14 AM, Tim Whittington wrote:

I see 1.2.33 ended up in the root of the /jk directory...



Yeah, same as previous version.


Regards
--
^TM

-
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.33 released

2012-03-14 Thread Mladen Turk

The Apache Tomcat Project is proud to announce the release
of version 1.2.33 of Apache Tomcat Connectors.

This release includes both bug fixes and new features compared
to version 1.2.32. 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


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: r1300519 - in /tomcat/trunk/java/org/apache/tomcat: jni/socket/AprSocket.java jni/socket/AprSocketContext.java jni/socket/HostInfo.java spdy/SpdyContextJni.java

2012-03-14 Thread kkolinko
Author: kkolinko
Date: Wed Mar 14 12:10:49 2012
New Revision: 1300519

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

Modified:
tomcat/trunk/java/org/apache/tomcat/jni/socket/AprSocket.java   (props 
changed)
tomcat/trunk/java/org/apache/tomcat/jni/socket/AprSocketContext.java   
(props changed)
tomcat/trunk/java/org/apache/tomcat/jni/socket/HostInfo.java   (props 
changed)
tomcat/trunk/java/org/apache/tomcat/spdy/SpdyContextJni.java   (props 
changed)

Propchange: tomcat/trunk/java/org/apache/tomcat/jni/socket/AprSocket.java
--
svn:eol-style = native

Propchange: tomcat/trunk/java/org/apache/tomcat/jni/socket/AprSocketContext.java
--
svn:eol-style = native

Propchange: tomcat/trunk/java/org/apache/tomcat/jni/socket/HostInfo.java
--
svn:eol-style = native

Propchange: tomcat/trunk/java/org/apache/tomcat/spdy/SpdyContextJni.java
--
svn:eol-style = native



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



Re: SPDY support

2012-03-14 Thread Konstantin Kolinko
2012/2/2 Costin Manolache cos...@gmail.com:

 Some initial patch for SPDY - using the NPN SSL extension, as required by
 chrome/firefox.


Firefox 11.0 that just has been released as stable has support for SPDY.

It is disabled by default. According to the docs,
To use it right now you'll need to set
network.http.spdy.enabled to true in about:config

[1] https://www.mozilla.org/en-US/firefox/11.0/releasenotes/
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=528288#c174

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: r1300538 - in /tomcat/site/trunk: docs/index.html docs/oldnews.html xdocs/index.xml xdocs/oldnews.xml

2012-03-14 Thread kkolinko
Author: kkolinko
Date: Wed Mar 14 13:27:02 2012
New Revision: 1300538

URL: http://svn.apache.org/viewvc?rev=1300538view=rev
Log:
index: Correct typo is section header: s/.23/.33/
oldnews: Correct ordering.

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=1300538r1=1300537r2=1300538view=diff
==
--- tomcat/site/trunk/docs/index.html (original)
+++ tomcat/site/trunk/docs/index.html Wed Mar 14 13:27:02 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.23 Released
-!--()--/aa name=Tomcat_Connectors_1.2.23_ReleasedstrongTomcat 
Connectors 1.2.23 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.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

Modified: tomcat/site/trunk/docs/oldnews.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/oldnews.html?rev=1300538r1=1300537r2=1300538view=diff
==
--- tomcat/site/trunk/docs/oldnews.html (original)
+++ tomcat/site/trunk/docs/oldnews.html Wed Mar 14 13:27:02 2012
@@ -556,32 +556,6 @@ This version is principally a bugfix rel
 /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.32 Released
-!--()--/aa name=Tomcat_Connectors_1.2.32_ReleasedstrongTomcat 
Connectors 1.2.32 Released/strong/a/font/tdtd align=right 
bgcolor=#525D76font color=#ff 
face=arial,helvetica.sanserifstrong2011-07-08/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.32 of
-Apache Tomcat Connectors. This release includes both bug fixes and new features
-compared to version 1.2.31.
-/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.19 Released
 !--()--/aa name=Tomcat_7.0.19_ReleasedstrongTomcat 7.0.19 
Released/strong/a/font/tdtd align=right bgcolor=#525D76font 
color=#ff 
face=arial,helvetica.sanserifstrong2011-07-19/strong/font/td
 /tr
@@ -631,6 +605,32 @@ changelog/a.
 /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.32 Released
+!--()--/aa name=Tomcat_Connectors_1.2.32_ReleasedstrongTomcat 
Connectors 1.2.32 Released/strong/a/font/tdtd align=right 
bgcolor=#525D76font color=#ff 
face=arial,helvetica.sanserifstrong2011-07-08/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.32 of
+Apache Tomcat Connectors. This release includes both bug fixes and new features
+compared to version 1.2.31.
+/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.16 Released
 !--()--/aa name=Tomcat_7.0.16_ReleasedstrongTomcat 7.0.16 
Released/strong/a/font/tdtd align=right bgcolor=#525D76font 
color=#ff 
face=arial,helvetica.sanserifstrong2011-06-17/strong/font/td
 /tr

Modified: tomcat/site/trunk/xdocs/index.xml
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/index.xml?rev=1300538r1=1300537r2=1300538view=diff
==
--- tomcat/site/trunk/xdocs/index.xml (original)
+++ tomcat/site/trunk/xdocs/index.xml Wed Mar 14 13:27:02 2012
@@ -37,7 +37,7 @@ project logo are trademarks of the Apach
 
 /section
 
-section name=Tomcat Connectors 1.2.23 Released rtext=2012-03-12
+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.

Modified: tomcat/site/trunk/xdocs/oldnews.xml
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/oldnews.xml?rev=1300538r1=1300537r2=1300538view=diff
==
--- 

Re: WebSocket status

2012-03-14 Thread Mark Thomas
On 14/03/2012 10:15, Johno Crawford wrote:
 On 8/03/2012 9:10 PM, Mark Thomas wrote:
 On 08/03/2012 09:12, Johno Crawford wrote:
 What's next / left on the TODO list Mark? Anything I can help out with?
 Porting the generic HTTP upgrade followed by the WebSocket code to
 7.0.x. I don't think there is much for you to do there.

 WebSocket needs some documentation. My plan was to keep it light and
 point to the examples / Javadoc as much as possible.

 Performance / scalability with large numbers of users / connections
 needs looking at.
 
 If I am not mistaken there was talk about adding buffered readers, is
 this still on the table?

Not at the moment because when I tried adding them they did nothing to
improve performance of the Autobahn tests. They didn't hinder it either.
If you have a test case that demonstrates a use case where they help
then I'd be prepared to consider adding them. As I recall, the patch is
pretty simple.

 Maybe a chat example app? After all, everyone else seems to have one ;)
 
 At first this felt like double work as there had been some talk and
 progress regarding a chat example [1] however, I was a little concerned
 about the security of the implementation (no filtering of html
 entities), it doesn't line up with the current trunk source and I
 estimated implementation from scratch to be 30 minutes max.

I saw that. I've been focussing on clearing the 7.0.x bug backlog ready
for a release (that includes WebSocket) and was planning to look at the
chat example once the backlog was clear. I think there are just two bugs
left at the moment so I should get there soon.

Cheers,

Mark

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



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

2012-03-14 Thread markt
Author: markt
Date: Wed Mar 14 14:25:04 2012
New Revision: 1300557

URL: http://svn.apache.org/viewvc?rev=1300557view=rev
Log:
Daemon - 1.1.10
native - 1.1.23
Use simpler tomcat-native distribution which comes with 1.1.23+

Modified:
tomcat/tc7.0.x/trunk/   (props changed)
tomcat/tc7.0.x/trunk/build.properties.default
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 Wed Mar 14 14:25:04 2012
@@ -1 +1 @@
-/tomcat/trunk:1156115-1157160,1157162-1157859,1157862-1157942,1157945-1160347,1160349-1163716,1163718-1166689,1166691-1174340,1174342-1175596,1175598-1175611,1175613-1175932,1175934-1177783,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,1187381,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,1201931,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,1208
 
145,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,1231290,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,1
 
232869,1233413,1233423,1233426,1234143,1234567,1235207,1236906-1236907,1236914,1237146,1237154-1237156,1237332,1237334,1237425,1237427,1237604,1237975,1237981,1237985,1238070,1238073,1239024,1239048,1239050,1239060,1239135,1239483,1239485,1240101,1240106,1240109,1240112,1240114,1240116,1240118,1240121,1240329,1240697,1240795,1240821,1240842,1240857,1241087,1241160,1241908-1241909,1241982,1242099,1242110,1242371,1242434,1242495,1242947,1243034,1243038,1244302,1244511,1244567,1244718-1244719,1244935-1244938,1245274,1245449,1245849,1290875,1292334,1292338,1292345-1292347,1293155,1293831-1293832,1295998,1297014-1297015,1297017,1297158,1297177,1297202,1297209,1297213,1297717,1297722,1297729,1297768,1297778,1297818,1297828,1297979,1297987,1298121,1298140,1298590,1298592,1298628-1298629,1298794,1298983-1298984,1299020,1299034,1299819,1300154-1300155

svn commit: r1300569 - in /tomcat/trunk: build.properties.default res/ide-support/eclipse/eclipse.classpath

2012-03-14 Thread markt
Author: markt
Date: Wed Mar 14 14:48:50 2012
New Revision: 1300569

URL: http://svn.apache.org/viewvc?rev=1300569view=rev
Log:
Update to JDT 3.7.2

Modified:
tomcat/trunk/build.properties.default
tomcat/trunk/res/ide-support/eclipse/eclipse.classpath

Modified: tomcat/trunk/build.properties.default
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/build.properties.default?rev=1300569r1=1300568r2=1300569view=diff
==
--- tomcat/trunk/build.properties.default (original)
+++ tomcat/trunk/build.properties.default Wed Mar 14 14:48:50 2012
@@ -123,8 +123,8 @@ wsdl4j-lib.loc=${base-maven.loc}/wsdl4j/
 wsdl4j-lib.jar=${wsdl4j-lib.home}/wsdl4j-${wsdl4j-lib.version}.jar
 
 # - Eclipse JDT, version 3.2 or later -
-jdt.version=3.7.1
-jdt.release=R-3.7.1-201109091335
+jdt.version=3.7.2
+jdt.release=R-3.7.2-201202080800
 jdt.home=${base.path}/ecj-${jdt.version}
 jdt.jar=${jdt.home}/ecj-${jdt.version}.jar
 # The download will be moved to the archive area eventually. We are taking 
care of that in advance.

Modified: tomcat/trunk/res/ide-support/eclipse/eclipse.classpath
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/res/ide-support/eclipse/eclipse.classpath?rev=1300569r1=1300568r2=1300569view=diff
==
--- tomcat/trunk/res/ide-support/eclipse/eclipse.classpath (original)
+++ tomcat/trunk/res/ide-support/eclipse/eclipse.classpath Wed Mar 14 14:48:50 
2012
@@ -25,6 +25,6 @@
 classpathentry kind=var 
path=TOMCAT_LIBS_BASE/tomcat8-deps/dbcp/tomcat-dbcp.jar 
sourcepath=/TOMCAT_LIBS_BASE/tomcat8-deps/dbcp/src/java/
 classpathentry kind=var 
path=TOMCAT_LIBS_BASE/jaxrpc-1.1-rc4/geronimo-spec-jaxrpc-1.1-rc4.jar/
 classpathentry kind=var 
path=TOMCAT_LIBS_BASE/wsdl4j-1.6.2/wsdl4j-1.6.2.jar/
-classpathentry kind=var 
path=TOMCAT_LIBS_BASE/ecj-3.7.1/ecj-3.7.1.jar/
+classpathentry kind=var 
path=TOMCAT_LIBS_BASE/ecj-3.7.2/ecj-3.7.2.jar/
 classpathentry kind=output path=.settings/output/
 /classpath



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



svn commit: r1300573 - in /tomcat/tc7.0.x/trunk: ./ build.properties.default res/ide-support/eclipse/eclipse.classpath webapps/docs/changelog.xml

2012-03-14 Thread markt
Author: markt
Date: Wed Mar 14 14:51:56 2012
New Revision: 1300573

URL: http://svn.apache.org/viewvc?rev=1300573view=rev
Log:
Update to JDT 3.7.2

Modified:
tomcat/tc7.0.x/trunk/   (props changed)
tomcat/tc7.0.x/trunk/build.properties.default
tomcat/tc7.0.x/trunk/res/ide-support/eclipse/eclipse.classpath
tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml

Propchange: tomcat/tc7.0.x/trunk/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Wed Mar 14 14:51:56 2012
@@ -1 +1 @@
-/tomcat/trunk:1156115-1157160,1157162-1157859,1157862-1157942,1157945-1160347,1160349-1163716,1163718-1166689,1166691-1174340,1174342-1175596,1175598-1175611,1175613-1175932,1175934-1177783,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,1187381,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,1201931,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,1208
 
145,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,1231290,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,1
 
232869,1233413,1233423,1233426,1234143,1234567,1235207,1236906-1236907,1236914,1237146,1237154-1237156,1237332,1237334,1237425,1237427,1237604,1237975,1237981,1237985,1238070,1238073,1239024,1239048,1239050,1239060,1239135,1239483,1239485,1240101,1240106,1240109,1240112,1240114,1240116,1240118,1240121,1240329,1240697,1240795,1240821,1240842,1240857,1241087,1241160,1241908-1241909,1241982,1242099,1242110,1242371,1242434,1242495,1242947,1243034,1243038,1244302,1244511,1244567,1244718-1244719,1244935-1244938,1245274,1245449,1245849,1290875,1292334,1292338,1292345-1292347,1293155,1293831-1293832,1295998,1296284,1297014-1297015,1297017,1297158,1297177,1297202,1297209,1297213,1297717,1297722,1297729,1297768,1297778,1297818,1297828,1297979,1297987,1298121,1298140,1298590,1298592,1298628-1298629,1298794,1298983-1298984,1299020,1299034,1299819,1300154-1300155

DO NOT REPLY [Bug 52905] Commons Daemon 1.0.9 can't find libcap.so

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

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

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #1 from Mark Thomas ma...@apache.org 2012-03-14 14:52:56 UTC ---
We typically update to the latest releases of pool, dbcp, jdt and daemon just
before the release, as we did for 7.0.26. I've updated trunk and 7.0.x to
daemon 1.0.10 (and also updated JDT while I was at it).

-- 
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: r1300578 - in /tomcat/trunk/java/org/apache: catalina/websocket/WebSocketServlet.java tomcat/jni/socket/AprSocket.java tomcat/jni/socket/AprSocketContext.java tomcat/spdy/SpdyConnection.ja

2012-03-14 Thread markt
Author: markt
Date: Wed Mar 14 15:00:22 2012
New Revision: 1300578

URL: http://svn.apache.org/viewvc?rev=1300578view=rev
Log:
Fix Javadoc warnings

Modified:
tomcat/trunk/java/org/apache/catalina/websocket/WebSocketServlet.java
tomcat/trunk/java/org/apache/tomcat/jni/socket/AprSocket.java
tomcat/trunk/java/org/apache/tomcat/jni/socket/AprSocketContext.java
tomcat/trunk/java/org/apache/tomcat/spdy/SpdyConnection.java

Modified: tomcat/trunk/java/org/apache/catalina/websocket/WebSocketServlet.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/websocket/WebSocketServlet.java?rev=1300578r1=1300577r2=1300578view=diff
==
--- tomcat/trunk/java/org/apache/catalina/websocket/WebSocketServlet.java 
(original)
+++ tomcat/trunk/java/org/apache/catalina/websocket/WebSocketServlet.java Wed 
Mar 14 15:00:22 2012
@@ -215,7 +215,6 @@ public abstract class WebSocketServlet e
  *
  * @param subProtocol   The sub-protocol agreed between the client and
  *  server or codenull/code if none was agreed
- * @return
  */
 protected abstract StreamInbound createWebSocketInbound(String 
subProtocol);
 }

Modified: tomcat/trunk/java/org/apache/tomcat/jni/socket/AprSocket.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/jni/socket/AprSocket.java?rev=1300578r1=1300577r2=1300578view=diff
==
--- tomcat/trunk/java/org/apache/tomcat/jni/socket/AprSocket.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/jni/socket/AprSocket.java Wed Mar 14 
15:00:22 2012
@@ -194,16 +194,14 @@ public class AprSocket implements Runnab
 }
 
 /**
- * Write.
- *
- *  For both blocking and non-blocking, it'll return the number of bytes
- *  written - it'll attempt to send as much as possible, but if the buffers
- *  are full it'll return 0.
+ * Write as much data as possible to the socket.
  *
  * @param data
  * @param off
  * @param len
- * @return
+ * @return  For both blocking and non-blocking, returns the number of bytes
+ *  written. If no data can be written (e.g. if the buffers are
+ *  full) 0 will be returned.
  * @throws IOException
  */
 public int write(byte[] data, int off, int len, long to) throws 
IOException {

Modified: tomcat/trunk/java/org/apache/tomcat/jni/socket/AprSocketContext.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/jni/socket/AprSocketContext.java?rev=1300578r1=1300577r2=1300578view=diff
==
--- tomcat/trunk/java/org/apache/tomcat/jni/socket/AprSocketContext.java 
(original)
+++ tomcat/trunk/java/org/apache/tomcat/jni/socket/AprSocketContext.java Wed 
Mar 14 15:00:22 2012
@@ -62,7 +62,7 @@ public class AprSocketContext {
 /**
  * Called in SSL mode after the handshake is completed.
  *
- * @see AprSocketContext.customVerification()
+ * @see AprSocketContext#customVerification(TlsCertVerifier)
  */
 public static interface TlsCertVerifier {
 public void handshakeDone(AprSocket ch);

Modified: tomcat/trunk/java/org/apache/tomcat/spdy/SpdyConnection.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/spdy/SpdyConnection.java?rev=1300578r1=1300577r2=1300578view=diff
==
--- tomcat/trunk/java/org/apache/tomcat/spdy/SpdyConnection.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/spdy/SpdyConnection.java Wed Mar 14 
15:00:22 2012
@@ -557,7 +557,6 @@ public abstract class SpdyConnection { /
 /**
  * Process a SPDY connection. Called in a separate thread.
  *
- * @return
  * @throws IOException
  */
 protected int handleFrame() throws IOException {



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



svn commit: r1300582 - /tomcat/tc7.0.x/trunk/java/org/apache/catalina/realm/RealmBase.java

2012-03-14 Thread markt
Author: markt
Date: Wed Mar 14 15:05:27 2012
New Revision: 1300582

URL: http://svn.apache.org/viewvc?rev=1300582view=rev
Log:
Fix Javadoc warning

Modified:
tomcat/tc7.0.x/trunk/java/org/apache/catalina/realm/RealmBase.java

Modified: tomcat/tc7.0.x/trunk/java/org/apache/catalina/realm/RealmBase.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/realm/RealmBase.java?rev=1300582r1=1300581r2=1300582view=diff
==
--- tomcat/tc7.0.x/trunk/java/org/apache/catalina/realm/RealmBase.java 
(original)
+++ tomcat/tc7.0.x/trunk/java/org/apache/catalina/realm/RealmBase.java Wed Mar 
14 15:05:27 2012
@@ -311,12 +311,10 @@ public abstract class RealmBase extends 
 /**
  * Sets the name of the class that will be used to extract user names
  * from X509 client certificates. The class must implement
- * X509UsernameRetriever.
+ * (@link X509UsernameRetriever}.
  *
  * @param className The name of the class that will be used to extract 
user names
  *  from X509 client certificates.
- *
- * @see X509UsernameRetriever.
  */
 public void setX509UsernameRetrieverClassName(String className) {
 this.x509UsernameRetrieverClassName = className;



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



DO NOT REPLY [Bug 52833] NPE with 7.0.26

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

--- Comment #5 from Mark Thomas ma...@apache.org 2012-03-14 15:08:40 UTC ---
Without any further input, this is going to get resolved as INVALID prior to
the 7.0.27 release.

-- 
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 52899] JMXProxy Servlet MBeanDumper exposing non-properties causing exceptions/memory leak

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

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

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID

--- Comment #1 from Mark Thomas ma...@apache.org 2012-03-14 15:20:24 UTC ---
The MBeanDumper only accesses the attributes that are there. It is not
responsible for creating the MBeans in the first place.

Tomcat isn't creating this MBean so Tomcat is not responsible for incorrectly
exposing pooledConnection as an attribute with a getter rather than an
operation. You can tell this by looking at the MBean name. Tomcat uses a
distinctive naming convention for MBeans [1] and the name used below does not
match it.

[1]
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/NamingContextListener.java?view=annotate
(line 743 onwards)

-- 
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



WebSockets in Tomcat 6

2012-03-14 Thread Filip Hanik Mailing Lists

http://people.apache.org/~fhanik/reports/servers/

Attached is a patch that leverages the Tomcat WebSocket API with minimalistic 
changes and uses that to implement WebSockets in Tomcat 6.0.x
http://people.apache.org/~fhanik/websockets-for-tomcat-6.patch

This implementation doesn't touch the endpoints or any real connector logic, 
making it risk free. The only change that could do anything, would be the 
XXXProcessor
+if (statusCode == HttpServletResponse.SC_SWITCHING_PROTOCOLS) {
+outputBuffer.addActiveFilter
+(outputFilters[Constants.IDENTITY_FILTER]);
+} else

Where it sets an identity filter when the user is switching protocols. 
Otherwise Tomcat defaults to chunked encoding. You can still see Tomcat 8 sends 
a 
Transfer-Encoding:chunked 
as part of a web socket response. 

This implementation also works with BIO connector, as Tomcat's CometProcessor 
interface supports both, and let's the implementer implement both Comet and non 
Comet in the same class.

Hopefully this patch shows
1. It's fairly risk free to implement this in stables branches as Tomcat 6, and 
possibly Tomcat 7 (as we may want to treat this as fairly stable and minimize 
refactoring this late in the game)
2. Performance of Comet is similar to the non Comet implementation
3. It took me 4 hours to do this migration, so it's definitely very easy to 
work with Comet once you have the bulk work done (the WebSocket protocol impl 
by Mark Thomas)

The test suite report is at
http://people.apache.org/~fhanik/reports/servers/

I would suggest we consider this for Tomcat 6(my experience is still most users 
are using this version). For Tomcat 7, I would recommend it, as it avoids 
refactoring, but I'm pretty neutral about it.

Filip

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



Re: SPDY support

2012-03-14 Thread Costin Manolache
Yes. Chrome is enabled by default and used for all connections to google,
and it has a nice debug interface (chrome://net-internals/#sockets ).  You
can select 'capture - include bytes', than
in events you can see all frames, and in 'spdy' you see the live
connections.
Also can start it with --use-spdy=no-compress,no-ssl and test with tomcat
jio connector, without
apr and the new openssl.

I'm going to add spdy support to the NIO connector next - need feedback on
how to handle the dependency - see http://wiki.eclipse.org/Jetty/Feature/NPN

I guess it'll be a separate class implementing 'npn handler for nio' ( like
it is hooked in the apr protocol), and in order to use it you'll need to
download the npn-boot.

Costin

On Wed, Mar 14, 2012 at 5:32 AM, Konstantin Kolinko
knst.koli...@gmail.comwrote:

 2012/2/2 Costin Manolache cos...@gmail.com:
 
  Some initial patch for SPDY - using the NPN SSL extension, as required by
  chrome/firefox.
 

 Firefox 11.0 that just has been released as stable has support for SPDY.

 It is disabled by default. According to the docs,
 To use it right now you'll need to set
 network.http.spdy.enabled to true in about:config

 [1] https://www.mozilla.org/en-US/firefox/11.0/releasenotes/
 [2] https://bugzilla.mozilla.org/show_bug.cgi?id=528288#c174


Yes.


 Best regards,
 Konstantin Kolinko

 -
 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-03-14 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52500

--- Comment #36 from Michael michael_fur...@hotmail.com 2012-03-14 19:17:59 
UTC ---
Dear Christopher,
I will really appreciate if you will rename the X509SubjectDnRetriever class to
X509DefaultSubjectDnRetriever.
Please, please do it for me – it take about 3 min to do it but will help me a
lot.
BTW, when 7.0.27 will be released?
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: WebSocket status

2012-03-14 Thread Filip Hanik - Dev Lists

On 3/14/2012 8:14 AM, Mark Thomas wrote:

On 14/03/2012 10:15, Johno Crawford wrote:

On 8/03/2012 9:10 PM, Mark Thomas wrote:

On 08/03/2012 09:12, Johno Crawford wrote:

What's next / left on the TODO list Mark? Anything I can help out with?

Porting the generic HTTP upgrade followed by the WebSocket code to
7.0.x. I don't think there is much for you to do there.

WebSocket needs some documentation. My plan was to keep it light and
point to the examples / Javadoc as much as possible.

Performance / scalability with large numbers of users / connections
needs looking at.

If I am not mistaken there was talk about adding buffered readers, is
this still on the table?

Not at the moment because when I tried adding them they did nothing to
improve performance of the Autobahn tests. They didn't hinder it either.
If you have a test case that demonstrates a use case where they help
then I'd be prepared to consider adding them. As I recall, the patch is
pretty simple.

it would just be a buffer on top of a buffer, as the connectors buffer 
underneath as well.

Filip






Maybe a chat example app? After all, everyone else seems to have one ;)

At first this felt like double work as there had been some talk and
progress regarding a chat example [1] however, I was a little concerned
about the security of the implementation (no filtering of html
entities), it doesn't line up with the current trunk source and I
estimated implementation from scratch to be 30 minutes max.

I saw that. I've been focussing on clearing the 7.0.x bug backlog ready
for a release (that includes WebSocket) and was planning to look at the
chat example once the backlog was clear. I think there are just two bugs
left at the moment so I should get there soon.

Cheers,

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



DO NOT REPLY [Bug 52833] NPE with 7.0.26

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

--- Comment #6 from olamy ol...@apache.org 2012-03-14 22:14:02 UTC ---
Sorry didn't have time to do more testing. 
I will try to find change something to make that work again with version
7.0.26.
BTW what prevent you to do a simple null check in the code ?

-- 
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 52853] @HandlesTypes not resolving classes when added as repository directory

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

--- Comment #3 from Benjamin Muschko benjamin.musc...@gmail.com 2012-03-14 
23:31:53 UTC ---
Unfortunately, I didn't get a satisfying answer on the Tomcat user mailing
list:
http://tomcat.10.n6.nabble.com/HandlesTypes-not-resolving-classes-when-added-as-repository-directory-td4565554.html.
Therefore, I am going to reopen this as a bug as there potentially might be an
issue. Can you either give me other suggestions or have a deeper look? I'd be
happy to provide examples or source code. Thanks!

-- 
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 52853] @HandlesTypes not resolving classes when added as repository directory

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

Benjamin Muschko benjamin.musc...@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