Reminder: Community Over Code Asia 2024 CFP closes on Apr 22nd

2024-04-18 Thread Huxing Zhang
Hi All,

The CFP for Community Over Code Asia, including the Web server and
Tomcat track, is closing very soon -  at 4:00 PM on 22 Apr 2024
Beijing time.

Details: https://sessionize.com/communityovercode-asia-2024

Please do not wait until the last minute. We hope to see you in Hangzhou!

-- 
Best Regards!
Huxing

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



CommunityOverCode Asia 2024 is calling for Presentations!

2024-03-29 Thread Huxing Zhang
Hi All,

Community over Code Asia 2024 will be held in person this year in
Hangzhou, China [1].

The CFP will end on April 21st, 2024 11:59 PM (Beijing time - UTC +8).

For details could be found on the website [1].

Note that for the topics that can't be presented in person, a
pre-recorded video is
also acceptable.

Please do not hesitate to submit, including the Web Server/Tomcat
track as well as the others!

[1] https://asia.communityovercode.org/

-- 
Best Regards!
Huxing

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



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

2023-12-17 Thread huxing
Author: huxing
Date: Sun Dec 17 10:17:53 2023
New Revision: 1914736

URL: http://svn.apache.org/viewvc?rev=1914736=rev
Log:
Add CoC Asia 2023 slides

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

Modified: tomcat/site/trunk/docs/index.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/index.html?rev=1914736=1914735=1914736=diff
==
--- tomcat/site/trunk/docs/index.html (original)
+++ tomcat/site/trunk/docs/index.html Sun Dec 17 10:17:53 2023
@@ -94,7 +94,7 @@ changelog.
  
 The Apache Tomcat Project is proud to announce the release of version 8.5.97
 of Apache Tomcat. This release implements specifications that are part of the
-Java EE 7 platform. The notable changes compared to {OLD_RELEASE} include:
+Java EE 7 platform. The notable changes compared to 8.5.96 include:
 
 
   Background processes for a Container no longer execute while lifecycle

Modified: tomcat/site/trunk/docs/presentations.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/presentations.html?rev=1914736=1914735=1914736=diff
==
--- tomcat/site/trunk/docs/presentations.html (original)
+++ tomcat/site/trunk/docs/presentations.html Sun Dec 17 10:17:53 2023
@@ -29,6 +29,35 @@ li.targeted {
   transition:ease-in-out 1s;
 }
 
+Community Over 
Code Asia 2023
+
+  
+Tomcat's technical insider and practice in the Himalayas - Rongxin Peng,
+https://people.apache.org/~huxing/cocasia2023/Rongxin-Peng-Tomcat's-technical-insider-and-practice-in-Himalayas.pdf">slides,
+https://www.bilibili.com/video/BV1ch4y1a7T4/;>video (Chinese)
+  
+  
+GraalVM static compilation in web container application - Zihao Rao,
+https://people.apache.org/~huxing/cocasia2023/Zihao-Rao-GraalVM-static-compilation-in-web-container-application.pdf;>slides,
+https://www.bilibili.com/video/BV1mk4y1F7wh/;>video (Chinese)
+  
+  
+How to participate in Tomcat community - Han Li,
+https://people.apache.org/~huxing/cocasia2023/Han-Li-How-to-participate-in-Tomcat-community.pdf;>slides,
+https://www.bilibili.com/video/BV1m84y1S7Mv/;>video (Chinese)
+  
+  
+Best Practices for Rapidly Locating Tomcat Issues Using APM Toolchain - 
Cheng Chen,
+https://people.apache.org/~huxing/cocasia2023/Cheng-Chen-Best-Practices-for-Rapidly-Locating-Tomcat-Issues-Using-APM-Toolchain.pdf;>slides,
+https://www.bilibili.com/video/BV1284y1S78m/;>video (Chinese)
+  
+  
+Securing Tomcat - Dennis Jacob,
+    https://people.apache.org/~huxing/cocasia2023/Dennis-Jacob-Securing-Tomcat.pdf;>slides,
+https://www.bilibili.com/video/BV1xC4y1Z7Ag/;>video
+  
+
+
 ApacheCon North 
America 2022
 
   We have videos from this event, but the audio is not good quality.

Modified: tomcat/site/trunk/xdocs/presentations.xml
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/presentations.xml?rev=1914736=1914735=1914736=diff
==
--- tomcat/site/trunk/xdocs/presentations.xml (original)
+++ tomcat/site/trunk/xdocs/presentations.xml Sun Dec 17 10:17:53 2023
@@ -37,6 +37,35 @@ li.targeted {
   transition:ease-in-out 1s;
 }
 
+
+
+  
+Tomcat's technical insider and practice in the Himalayas - Rongxin Peng,
+    https://people.apache.org/~huxing/cocasia2023/Rongxin-Peng-Tomcat's-technical-insider-and-practice-in-Himalayas.pdf">slides,
+https://www.bilibili.com/video/BV1ch4y1a7T4/;>video (Chinese)
+  
+  
+GraalVM static compilation in web container application - Zihao Rao,
+https://people.apache.org/~huxing/cocasia2023/Zihao-Rao-GraalVM-static-compilation-in-web-container-application.pdf;>slides,
+https://www.bilibili.com/video/BV1mk4y1F7wh/;>video (Chinese)
+  
+  
+How to participate in Tomcat community - Han Li,
+https://people.apache.org/~huxing/cocasia2023/Han-Li-How-to-participate-in-Tomcat-community.pdf;>slides,
+https://www.bilibili.com/video/BV1m84y1S7Mv/;>video (Chinese)
+  
+  
+Best Practices for Rapidly Locating Tomcat Issues Using APM Toolchain - 
Cheng Chen,
+https://people.apache.org/~huxing/cocasia2023/Cheng-Chen-Best-Practices-for-Rapidly-Locating-Tomcat-Issues-Using-APM-Toolchain.pdf;>slides,
+https://www.bilibili.com/video/BV1284y1S78m/;>video (Chinese)
+  
+  
+Securing Tomcat - Dennis Jacob,
+https://people.apache.org/~huxing/cocasia2023/Dennis-Jacob-Securing-Tomcat.pdf;>slides,
+https://www.bilibili.com/video/BV1xC4y1Z7Ag/;>video
+  
+
+
 
 
   We have videos from this event, but the audio is not good quality.



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



CommunityOverCode Asia 2023 is calling for Presentations!

2023-05-08 Thread Huxing Zhang
Hi All,

Community over Code Asia 2023 (formerly ApacheCon Asia) will be held
in person this year in Beijing [1].

The CFP will end on Tuesday, Jun 6th, 2023 8:00 AM (Beijing time - UTC +8).

For details could be found on the website [1].

Note that for those that can't be present, a pre-recorded video is
also acceptable.

Please do not hesitate to submit, including the Web Server/Tomcat
track as well as the others!

[1] https://www.bagevent.com/event/cocasia-2023-EN

-- 
Best Regards!
Huxing

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



svn commit: r1905391 - in /tomcat/site/trunk: docs/presentations.html xdocs/presentations.xml

2022-11-18 Thread huxing
Author: huxing
Date: Sat Nov 19 06:03:22 2022
New Revision: 1905391

URL: http://svn.apache.org/viewvc?rev=1905391=rev
Log:
Add ApacheCon Asia 2022 slides

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

Modified: tomcat/site/trunk/docs/presentations.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/presentations.html?rev=1905391=1905390=1905391=diff
==
--- tomcat/site/trunk/docs/presentations.html (original)
+++ tomcat/site/trunk/docs/presentations.html Sat Nov 19 06:03:22 2022
@@ -66,32 +66,32 @@ li.targeted {
 
   
 State of the Cat - Mark Thomas,
-slides,
+https://people.apache.org/~huxing/acasia2022/Mark-Thomas-State-of-the-Cat.pdf;>slides,
 https://www.youtube.com/watch?v=Sun8EF0jTZk;>video
   
   
 Design and implementation of application graceful shutdown based on Tomcat 
- Zihao Rao,
-slides,
+https://people.apache.org/~huxing/acasia2022/Zihao-Rao-Design-and-implementation-of-application-graceful-shutdown-based-on-Tomcat.pdf;>slides,
 https://www.youtube.com/watch?v=lnp51wz4PlQ;>video (Chinese)
   
   
 Extending Valves in Tomcat - Dennis Jacob,
-slides,
+https://people.apache.org/~huxing/acasia2022/Dennis-Jacob-Extending-Valves-in-Tomcat.pdf;>slides,
 https://www.youtube.com/watch?v=Jmw-d0kyZ_4;>video
   
   
 The application practice of Tomcat in Kuaishou - Yang Song,
-slides,
+https://people.apache.org/~huxing/acasia2022/Yang%20Song-The-application-practice-of-Tomcat-in-Kuaishou.pdf;>slides,
 https://www.youtube.com/watch?v=40hRY00TbV8;>video (Chinese)
   
   
 Jakarta EE - Mark Thomas,
-slides,
+https://people.apache.org/~huxing/acasia2022/Mark-Thomas-Jakarta-EE.pdf;>slides,
 https://www.youtube.com/watch?v=C0y3w8yBeWg;>video
   
   
 How we use and optimize Tomcat at Alibaba - Huxing Zhang,
-slides,
+    https://people.apache.org/~huxing/acasia2022/Huxing-Zhang-How-we-use-and-optimize-Tomcat-at-Alibaba.pdf;>slides,
 https://www.youtube.com/watch?v=LTMSjzgyNb8;>video
   
 

Modified: tomcat/site/trunk/xdocs/presentations.xml
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/presentations.xml?rev=1905391=1905390=1905391=diff
==
--- tomcat/site/trunk/xdocs/presentations.xml (original)
+++ tomcat/site/trunk/xdocs/presentations.xml Sat Nov 19 06:03:22 2022
@@ -74,32 +74,32 @@ li.targeted {
 
   
 State of the Cat - Mark Thomas,
-slides,
+    https://people.apache.org/~huxing/acasia2022/Mark-Thomas-State-of-the-Cat.pdf;>slides,
 https://www.youtube.com/watch?v=Sun8EF0jTZk;>video
   
   
 Design and implementation of application graceful shutdown based on Tomcat 
- Zihao Rao,
-    slides,
+https://people.apache.org/~huxing/acasia2022/Zihao-Rao-Design-and-implementation-of-application-graceful-shutdown-based-on-Tomcat.pdf;>slides,
 https://www.youtube.com/watch?v=lnp51wz4PlQ;>video (Chinese)
   
   
 Extending Valves in Tomcat - Dennis Jacob,
-    slides,
+https://people.apache.org/~huxing/acasia2022/Dennis-Jacob-Extending-Valves-in-Tomcat.pdf;>slides,
 https://www.youtube.com/watch?v=Jmw-d0kyZ_4;>video
   
   
 The application practice of Tomcat in Kuaishou - Yang Song,
-slides,
+https://people.apache.org/~huxing/acasia2022/Yang%20Song-The-application-practice-of-Tomcat-in-Kuaishou.pdf;>slides,
 https://www.youtube.com/watch?v=40hRY00TbV8;>video (Chinese)
   
   
 Jakarta EE - Mark Thomas,
-slides,
+https://people.apache.org/~huxing/acasia2022/Mark-Thomas-Jakarta-EE.pdf;>slides,
 https://www.youtube.com/watch?v=C0y3w8yBeWg;>video
   
   
 How we use and optimize Tomcat at Alibaba - Huxing Zhang,
-    slides,
+https://people.apache.org/~huxing/acasia2022/Huxing-Zhang-How-we-use-and-optimize-Tomcat-at-Alibaba.pdf;>slides,
 https://www.youtube.com/watch?v=LTMSjzgyNb8;>video
   
 



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



svn commit: r1905145 - in /tomcat/site/trunk: docs/presentations.html xdocs/presentations.xml

2022-11-08 Thread huxing
Author: huxing
Date: Tue Nov  8 08:06:09 2022
New Revision: 1905145

URL: http://svn.apache.org/viewvc?rev=1905145=rev
Log:
Add ApacheCon Asia 2022 talks

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

Modified: tomcat/site/trunk/docs/presentations.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/presentations.html?rev=1905145=1905144=1905145=diff
==
--- tomcat/site/trunk/docs/presentations.html (original)
+++ tomcat/site/trunk/docs/presentations.html Tue Nov  8 08:06:09 2022
@@ -62,6 +62,40 @@ li.targeted {
   
 
 
+ApacheCon Asia 
2022
+
+  
+State of the Cat - Mark Thomas,
+slides,
+https://www.youtube.com/watch?v=Sun8EF0jTZk;>video
+  
+  
+Design and implementation of application graceful shutdown based on Tomcat 
- Zihao Rao,
+slides,
+https://www.youtube.com/watch?v=lnp51wz4PlQ;>video (Chinese)
+  
+  
+Extending Valves in Tomcat - Dennis Jacob,
+slides,
+https://www.youtube.com/watch?v=Jmw-d0kyZ_4;>video
+  
+  
+The application practice of Tomcat in Kuaishou - Yang Song,
+slides,
+https://www.youtube.com/watch?v=40hRY00TbV8;>video (Chinese)
+  
+  
+Jakarta EE - Mark Thomas,
+slides,
+https://www.youtube.com/watch?v=C0y3w8yBeWg;>video
+  
+  
+How we use and optimize Tomcat at Alibaba - Huxing Zhang,
+slides,
+https://www.youtube.com/watch?v=LTMSjzgyNb8;>video
+  
+
+
 ApacheCon @Home 
2021
 
   

Modified: tomcat/site/trunk/xdocs/presentations.xml
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/presentations.xml?rev=1905145=1905144=1905145=diff
==
--- tomcat/site/trunk/xdocs/presentations.xml (original)
+++ tomcat/site/trunk/xdocs/presentations.xml Tue Nov  8 08:06:09 2022
@@ -70,6 +70,40 @@ li.targeted {
   
 
 
+
+
+  
+State of the Cat - Mark Thomas,
+slides,
+https://www.youtube.com/watch?v=Sun8EF0jTZk;>video
+  
+  
+Design and implementation of application graceful shutdown based on Tomcat 
- Zihao Rao,
+slides,
+https://www.youtube.com/watch?v=lnp51wz4PlQ;>video (Chinese)
+  
+  
+Extending Valves in Tomcat - Dennis Jacob,
+slides,
+https://www.youtube.com/watch?v=Jmw-d0kyZ_4;>video
+  
+  
+The application practice of Tomcat in Kuaishou - Yang Song,
+slides,
+https://www.youtube.com/watch?v=40hRY00TbV8;>video (Chinese)
+  
+  
+Jakarta EE - Mark Thomas,
+slides,
+https://www.youtube.com/watch?v=C0y3w8yBeWg;>video
+  
+  
+How we use and optimize Tomcat at Alibaba - Huxing Zhang,
+slides,
+https://www.youtube.com/watch?v=LTMSjzgyNb8;>video
+  
+
+
 
 
   



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



Reminder: ApacheCon Asia 2022 CFP closes on May 31st

2022-05-23 Thread Huxing Zhang
Hi All,

Just a kind reminder that the CALL FOR PRESENTATIONS of ApacheCon Asia
2022 closes at 8 AM (Beijing Time), May 31st. Please do not wait until
the last minute. :)

Details: https://apachecon.com/acasia2022/cfp.html

The event  is completely virtual and the talk is pre-recorded. The
presentation could be either in English or in Chinese.

Submission: https://shimo.im/forms/6ZTBLanjqW8pY3dj/fill?channel=website

-- 
Best Regards!
Huxing

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



ApacheCon Asia 2022 is calling for Presentations!

2022-04-27 Thread Huxing Zhang
Hi All,

ApacheCon Asia is coming again as a virtual event this July 29 - 31.
The CFP will end on Tuesday, May 31st, 2022 8:00 AM (Beijing time -
UTC +8).

More details could be found here:

https://apachecon.com/acasia2022/cfp.html

Please remember that there is no need to be present at the conference,
it is completely virtual,
the talk is pre-recorded.

The presentation could be either in English or in Chinese.

Please free free to submit your ideas related to Web server / Tomcat
or other topics here:

https://shimo.im/forms/6ZTBLanjqW8pY3dj/fill?channel=website

--
Best Regards!
Huxing

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



ApacheCon Asia 2021 is calling for Presentations!

2021-04-20 Thread Huxing Zhang
Hi All,

ApacheCon Asia is coming virtually this August 6 - 8. The CFP will end
on Monday, May 3rd, 2021 8:00 AM (Beijing time - UTC +8).

More details could be found here:

https://apachecon.com/acasia2021/cfp.html

If you have concern with the date and time, please remember that there
is no need to be present at the conference, it is completely virtual,
the talk is pre-recorded.

The presentation could be either in English or in Chinese.

Please free free to submit your ideas related to Web server / Tomcat
or other topics here:

https://acasia2021.jamhosted.net/

-- 
Best Regards!
Huxing

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



Re: Git migration read for testing

2019-02-26 Thread Huxing Zhang
Hi,

It looks good to me.

I think it is better to add some description and tags in the headline
of Github, to make it more informative and searchable.

For example: Apache Tomcat® is an open source implementation of the
Java Servlet, JavaServer Pages, Java Expression Language and Java
WebSocket technologies.

Also I think the CONTRIBUTING file need to be update, to deprecate the
usage of svn.

Further search using SVN as keyword in the repo shows more work need
to be updated.

[1] https://github.com/apache/tomcat/blob/master/CONTRIBUTING.md

On Tue, Feb 26, 2019 at 8:33 PM Mark Thomas  wrote:
>
> All,
>
> https://github.com/apache/tomcat
>
> is now ready for testing.
>
> It should contain:
> branches
> - master (9.0.x)
> - 8.5.x
> - 7.0.x
>
> Tags:
> - one for each 7.0.x, 8.5.x and 9.0.x release
>
> Tags have all been renamed to follow a a.b.c-MODIFIERn format for
> version number where modifier is RC or M.
>
> The repository is probably read/write for all committers now but please
> refrain from making any changes until we confirm that all is well.
>
> If you have some time available now, please test this new repository and
> report and questions or concerns to this thread.
>
> Assuming no issues are discovered, I'd like to formally move over to git
> later today.
>
> Mark
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
>


-- 
Best Regards!
Huxing

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



Re: [VOTE] Migrate to git

2019-02-25 Thread Huxing Zhang
Hi,


> >
> > This is a VOTE to migrate the primary source code repository for Apache
> > Tomcat 9.0.x, 8.5.x and 7.0.x from svn to git.
> >

[X] +1 Go ahead with the migration

Thanks for the work!

-- 
Best Regards!
Huxing

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



Access to thread pool task queue size via JMX

2019-02-19 Thread Huxing Zhang
Hi,

Currently Tomcat's thread pool implementation, which is under
org.apache.tomcat.util.net.AbstractEndpoint, does not expose task
queue size via JMX, while in
org.apache.catalina.core.StandardThreadExecutor it can be accessed via
JMX.

The background is that I am involved with a project to auto scale web
application and the size of task queue is helpful to make the
decision.

Therefore I propose to expose it via JMX. The implementation could be
adding a simple method to org.apache.tomcat.util.net.AbstractEndpoint:

public int getThreadPoolTaskQueueSize() {
if (executor!=null) {
if (executor instanceof ThreadPoolExecutor) {
return ((ThreadPoolExecutor)executor).getQueue().size();
} else if (executor instanceof StandardThreadExecutor) {
return ((StandardThreadExecutor)executor).getQueueSize();
} else {
return -1;
}
} else {
return -2;
}
}

Another issue is that the default implementation of task queue is hard
coded to be infinite, I think it is better to make it configurable,
just like what StandardThreadExecutor does. But I think it worth
discussion in another thread.

Comments welcome.

-- 
Best Regards!
Huxing

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

2019-02-18 Thread Huxing Zhang
Hi,

On Sun, Feb 17, 2019 at 1:41 AM Violeta Georgieva  wrote:
>
> The proposed Apache Tomcat 7.0.93 release is now available for voting.
>
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-7/v7.0.93/
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1204/
> The svn tag is:
> http://svn.apache.org/repos/asf/tomcat/tc7.0.x/tags/TOMCAT_7_0_93/
>

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

Signatures and hashes are good for the source release.
Unit test passed.
Example web application works fine.

>
> Regards,
> Violeta



-- 
Best Regards!
Huxing

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



svn commit: r1853781 - in /tomcat/tc8.5.x/trunk/res: welcome.bin.html welcome.main.html

2019-02-17 Thread huxing
Author: huxing
Date: Mon Feb 18 05:39:04 2019
New Revision: 1853781

URL: http://svn.apache.org/viewvc?rev=1853781=rev
Log:
Remove extra dot

Modified:
tomcat/tc8.5.x/trunk/res/welcome.bin.html
tomcat/tc8.5.x/trunk/res/welcome.main.html

Modified: tomcat/tc8.5.x/trunk/res/welcome.bin.html
URL: 
http://svn.apache.org/viewvc/tomcat/tc8.5.x/trunk/res/welcome.bin.html?rev=1853781=1853780=1853781=diff
==
--- tomcat/tc8.5.x/trunk/res/welcome.bin.html (original)
+++ tomcat/tc8.5.x/trunk/res/welcome.bin.html Mon Feb 18 05:39:04 2019
@@ -90,7 +90,7 @@ RELEASE-NOTES and the RUNNING.txt file i
 
 
 
-Thank you for using https://tomcat.apache.org/;>Tomcat!.
+Thank you for using https://tomcat.apache.org/;>Tomcat!
 
 The Apache Tomcat Project https://tomcat.apache.org/;>https://tomcat.apache.org/

Modified: tomcat/tc8.5.x/trunk/res/welcome.main.html
URL: 
http://svn.apache.org/viewvc/tomcat/tc8.5.x/trunk/res/welcome.main.html?rev=1853781=1853780=1853781=diff
==
--- tomcat/tc8.5.x/trunk/res/welcome.main.html (original)
+++ tomcat/tc8.5.x/trunk/res/welcome.main.html Mon Feb 18 05:39:04 2019
@@ -90,7 +90,7 @@ RELEASE-NOTES and the RUNNING.txt file i
 
 
 
-Thank you for using https://tomcat.apache.org/;>Tomcat!.
+Thank you for using https://tomcat.apache.org/;>Tomcat!
 
 The Apache Tomcat Project https://tomcat.apache.org/;>https://tomcat.apache.org/



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



svn commit: r1853780 - in /tomcat/tc8.5.x/tags/TOMCAT_8_5_15/res: welcome.bin.html welcome.main.html

2019-02-17 Thread huxing
Author: huxing
Date: Mon Feb 18 05:32:34 2019
New Revision: 1853780

URL: http://svn.apache.org/viewvc?rev=1853780=rev
Log:
Revert the change introduced in r1853777

Modified:
tomcat/tc8.5.x/tags/TOMCAT_8_5_15/res/welcome.bin.html
tomcat/tc8.5.x/tags/TOMCAT_8_5_15/res/welcome.main.html

Modified: tomcat/tc8.5.x/tags/TOMCAT_8_5_15/res/welcome.bin.html
URL: 
http://svn.apache.org/viewvc/tomcat/tc8.5.x/tags/TOMCAT_8_5_15/res/welcome.bin.html?rev=1853780=1853779=1853780=diff
==
--- tomcat/tc8.5.x/tags/TOMCAT_8_5_15/res/welcome.bin.html (original)
+++ tomcat/tc8.5.x/tags/TOMCAT_8_5_15/res/welcome.bin.html Mon Feb 18 05:32:34 
2019
@@ -94,7 +94,7 @@ RELEASE-NOTES and the RUNNING.txt file i
 
 
 
-Thank you for using http://tomcat.apache.org/;>Tomcat!
+Thank you for using http://tomcat.apache.org/;>Tomcat!.
 
 The Apache Tomcat Project http://tomcat.apache.org/;>http://tomcat.apache.org/

Modified: tomcat/tc8.5.x/tags/TOMCAT_8_5_15/res/welcome.main.html
URL: 
http://svn.apache.org/viewvc/tomcat/tc8.5.x/tags/TOMCAT_8_5_15/res/welcome.main.html?rev=1853780=1853779=1853780=diff
==
--- tomcat/tc8.5.x/tags/TOMCAT_8_5_15/res/welcome.main.html (original)
+++ tomcat/tc8.5.x/tags/TOMCAT_8_5_15/res/welcome.main.html Mon Feb 18 05:32:34 
2019
@@ -94,7 +94,7 @@ RELEASE-NOTES and the RUNNING.txt file i
 
 
 
-Thank you for using http://tomcat.apache.org/;>Tomcat!
+Thank you for using http://tomcat.apache.org/;>Tomcat!.
 
 The Apache Tomcat Project http://tomcat.apache.org/;>http://tomcat.apache.org/



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



Re: svn commit: r1853777 - in /tomcat/tc8.5.x/tags/TOMCAT_8_5_15/res: welcome.bin.html welcome.main.html

2019-02-17 Thread Huxing Zhang
Hi,

Something went wrong in my local environment, it looks like I pushed
to the wrong branch, I am going to revert it and push to
/tomcat/tc8.5.x/trunk/

On Mon, Feb 18, 2019 at 1:07 PM  wrote:
>
> Author: huxing
> Date: Mon Feb 18 05:07:36 2019
> New Revision: 1853777
>
> URL: http://svn.apache.org/viewvc?rev=1853777=rev
> Log:
> Remove extra dot
>
> Modified:
> tomcat/tc8.5.x/tags/TOMCAT_8_5_15/res/welcome.bin.html
> tomcat/tc8.5.x/tags/TOMCAT_8_5_15/res/welcome.main.html
>
> Modified: tomcat/tc8.5.x/tags/TOMCAT_8_5_15/res/welcome.bin.html
> URL: 
> http://svn.apache.org/viewvc/tomcat/tc8.5.x/tags/TOMCAT_8_5_15/res/welcome.bin.html?rev=1853777=1853776=1853777=diff
> ==
> --- tomcat/tc8.5.x/tags/TOMCAT_8_5_15/res/welcome.bin.html (original)
> +++ tomcat/tc8.5.x/tags/TOMCAT_8_5_15/res/welcome.bin.html Mon Feb 18 
> 05:07:36 2019
> @@ -94,7 +94,7 @@ RELEASE-NOTES and the RUNNING.txt file i
>  
>  
>
> -Thank you for using http://tomcat.apache.org/;>Tomcat!.
> +Thank you for using http://tomcat.apache.org/;>Tomcat!
>  
>  The Apache Tomcat Project   href="http://tomcat.apache.org/;>http://tomcat.apache.org/
>
> Modified: tomcat/tc8.5.x/tags/TOMCAT_8_5_15/res/welcome.main.html
> URL: 
> http://svn.apache.org/viewvc/tomcat/tc8.5.x/tags/TOMCAT_8_5_15/res/welcome.main.html?rev=1853777=1853776=1853777=diff
> ==
> --- tomcat/tc8.5.x/tags/TOMCAT_8_5_15/res/welcome.main.html (original)
> +++ tomcat/tc8.5.x/tags/TOMCAT_8_5_15/res/welcome.main.html Mon Feb 18 
> 05:07:36 2019
> @@ -94,7 +94,7 @@ RELEASE-NOTES and the RUNNING.txt file i
>  
>  
>
> -Thank you for using http://tomcat.apache.org/;>Tomcat!.
> +Thank you for using http://tomcat.apache.org/;>Tomcat!
>  
>  The Apache Tomcat Project   href="http://tomcat.apache.org/;>http://tomcat.apache.org/
>
>
>
> -----
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
>


--
Best Regards!
Huxing

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



svn commit: r1853778 - in /tomcat/tc7.0.x/trunk/res: welcome.bin.html welcome.main.html

2019-02-17 Thread huxing
Author: huxing
Date: Mon Feb 18 05:12:53 2019
New Revision: 1853778

URL: http://svn.apache.org/viewvc?rev=1853778=rev
Log:
Remove extra dot

Modified:
tomcat/tc7.0.x/trunk/res/welcome.bin.html
tomcat/tc7.0.x/trunk/res/welcome.main.html

Modified: tomcat/tc7.0.x/trunk/res/welcome.bin.html
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/res/welcome.bin.html?rev=1853778=1853777=1853778=diff
==
--- tomcat/tc7.0.x/trunk/res/welcome.bin.html (original)
+++ tomcat/tc7.0.x/trunk/res/welcome.bin.html Mon Feb 18 05:12:53 2019
@@ -89,7 +89,7 @@ RELEASE-NOTES and the RUNNING.txt file i
 
 
 
-Thank you for using https://tomcat.apache.org/;>Tomcat!.
+Thank you for using https://tomcat.apache.org/;>Tomcat!
 
 The Apache Tomcat Project https://tomcat.apache.org/;>https://tomcat.apache.org/ 

Modified: tomcat/tc7.0.x/trunk/res/welcome.main.html
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/res/welcome.main.html?rev=1853778=1853777=1853778=diff
==
--- tomcat/tc7.0.x/trunk/res/welcome.main.html (original)
+++ tomcat/tc7.0.x/trunk/res/welcome.main.html Mon Feb 18 05:12:53 2019
@@ -89,7 +89,7 @@ RELEASE-NOTES and the RUNNING.txt file i
 
 
 
-Thank you for using https://tomcat.apache.org/;>Tomcat!.
+Thank you for using https://tomcat.apache.org/;>Tomcat!
 
 The Apache Tomcat Project https://tomcat.apache.org/;>https://tomcat.apache.org/ 



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



svn commit: r1853777 - in /tomcat/tc8.5.x/tags/TOMCAT_8_5_15/res: welcome.bin.html welcome.main.html

2019-02-17 Thread huxing
Author: huxing
Date: Mon Feb 18 05:07:36 2019
New Revision: 1853777

URL: http://svn.apache.org/viewvc?rev=1853777=rev
Log:
Remove extra dot

Modified:
tomcat/tc8.5.x/tags/TOMCAT_8_5_15/res/welcome.bin.html
tomcat/tc8.5.x/tags/TOMCAT_8_5_15/res/welcome.main.html

Modified: tomcat/tc8.5.x/tags/TOMCAT_8_5_15/res/welcome.bin.html
URL: 
http://svn.apache.org/viewvc/tomcat/tc8.5.x/tags/TOMCAT_8_5_15/res/welcome.bin.html?rev=1853777=1853776=1853777=diff
==
--- tomcat/tc8.5.x/tags/TOMCAT_8_5_15/res/welcome.bin.html (original)
+++ tomcat/tc8.5.x/tags/TOMCAT_8_5_15/res/welcome.bin.html Mon Feb 18 05:07:36 
2019
@@ -94,7 +94,7 @@ RELEASE-NOTES and the RUNNING.txt file i
 
 
 
-Thank you for using http://tomcat.apache.org/;>Tomcat!.
+Thank you for using http://tomcat.apache.org/;>Tomcat!
 
 The Apache Tomcat Project http://tomcat.apache.org/;>http://tomcat.apache.org/

Modified: tomcat/tc8.5.x/tags/TOMCAT_8_5_15/res/welcome.main.html
URL: 
http://svn.apache.org/viewvc/tomcat/tc8.5.x/tags/TOMCAT_8_5_15/res/welcome.main.html?rev=1853777=1853776=1853777=diff
==
--- tomcat/tc8.5.x/tags/TOMCAT_8_5_15/res/welcome.main.html (original)
+++ tomcat/tc8.5.x/tags/TOMCAT_8_5_15/res/welcome.main.html Mon Feb 18 05:07:36 
2019
@@ -94,7 +94,7 @@ RELEASE-NOTES and the RUNNING.txt file i
 
 
 
-Thank you for using http://tomcat.apache.org/;>Tomcat!.
+Thank you for using http://tomcat.apache.org/;>Tomcat!
 
 The Apache Tomcat Project http://tomcat.apache.org/;>http://tomcat.apache.org/



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



svn commit: r1853776 - in /tomcat/trunk/res: welcome.bin.html welcome.main.html

2019-02-17 Thread huxing
Author: huxing
Date: Mon Feb 18 05:05:52 2019
New Revision: 1853776

URL: http://svn.apache.org/viewvc?rev=1853776=rev
Log:
Remove extra dot

Modified:
tomcat/trunk/res/welcome.bin.html
tomcat/trunk/res/welcome.main.html

Modified: tomcat/trunk/res/welcome.bin.html
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/res/welcome.bin.html?rev=1853776=1853775=1853776=diff
==
--- tomcat/trunk/res/welcome.bin.html (original)
+++ tomcat/trunk/res/welcome.bin.html Mon Feb 18 05:05:52 2019
@@ -90,7 +90,7 @@ RELEASE-NOTES and the RUNNING.txt file i
 
 
 
-Thank you for using https://tomcat.apache.org/;>Tomcat!.
+Thank you for using https://tomcat.apache.org/;>Tomcat!
 
 The Apache Tomcat Project https://tomcat.apache.org/;>https://tomcat.apache.org/

Modified: tomcat/trunk/res/welcome.main.html
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/res/welcome.main.html?rev=1853776=1853775=1853776=diff
==
--- tomcat/trunk/res/welcome.main.html (original)
+++ tomcat/trunk/res/welcome.main.html Mon Feb 18 05:05:52 2019
@@ -90,7 +90,7 @@ RELEASE-NOTES and the RUNNING.txt file i
 
 
 
-Thank you for using https://tomcat.apache.org/;>Tomcat!.
+Thank you for using https://tomcat.apache.org/;>Tomcat!
 
 The Apache Tomcat Project https://tomcat.apache.org/;>https://tomcat.apache.org/



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



svn commit: r1849902 - in /tomcat/tc7.0.x/trunk: conf/logging.properties webapps/docs/changelog.xml

2018-12-29 Thread huxing
Author: huxing
Date: Sat Dec 29 08:02:00 2018
New Revision: 1849902

URL: http://svn.apache.org/viewvc?rev=1849902=rev
Log:
Correct AsyncFileHandler to FileHandler in logging.properties

Modified:
tomcat/tc7.0.x/trunk/conf/logging.properties
tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml

Modified: tomcat/tc7.0.x/trunk/conf/logging.properties
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/conf/logging.properties?rev=1849902=1849901=1849902=diff
==
--- tomcat/tc7.0.x/trunk/conf/logging.properties (original)
+++ tomcat/tc7.0.x/trunk/conf/logging.properties Sat Dec 29 08:02:00 2018
@@ -25,22 +25,22 @@ handlers = 1catalina.org.apache.juli.Fil
 1catalina.org.apache.juli.FileHandler.level = FINE
 1catalina.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
 1catalina.org.apache.juli.FileHandler.prefix = catalina.
-1catalina.org.apache.juli.AsyncFileHandler.encoding = UTF-8
+1catalina.org.apache.juli.FileHandler.encoding = UTF-8
 
 2localhost.org.apache.juli.FileHandler.level = FINE
 2localhost.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
 2localhost.org.apache.juli.FileHandler.prefix = localhost.
-2localhost.org.apache.juli.AsyncFileHandler.encoding = UTF-8
+2localhost.org.apache.juli.FileHandler.encoding = UTF-8
 
 3manager.org.apache.juli.FileHandler.level = FINE
 3manager.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
 3manager.org.apache.juli.FileHandler.prefix = manager.
-3manager.org.apache.juli.AsyncFileHandler.encoding = UTF-8
+3manager.org.apache.juli.FileHandler.encoding = UTF-8
 
 4host-manager.org.apache.juli.FileHandler.level = FINE
 4host-manager.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
 4host-manager.org.apache.juli.FileHandler.prefix = host-manager.
-4host-manager.org.apache.juli.AsyncFileHandler.encoding = UTF-8
+4host-manager.org.apache.juli.FileHandler.encoding = UTF-8
 
 java.util.logging.ConsoleHandler.level = FINE
 java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter

Modified: tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?rev=1849902=1849901=1849902=diff
==
--- tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Sat Dec 29 08:02:00 2018
@@ -37,6 +37,7 @@
 Violeta Georgieva
 Jeremy Boynes
 Felix Schumacher
+Huxing Zhang
 Changelog
 
   
@@ -127,6 +128,9 @@
 pick up the latest Windows binaries built with APR 1.6.5 and OpenSSL
 1.1.1a. (markt)
   
+  
+Correct AsyncFileHandler to FileHandler in logging.properties. (huxing)
+  
 
   
 



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



Re: [ANN] New committer: Woonsan Ko

2018-12-25 Thread Huxing Zhang
Congratulations Woonsan!

On Tue, Dec 25, 2018 at 1:45 AM Igal Sapir  wrote:
>
> W00t w00t!  Congrats Woonsan :)
>
> Igal
>
> On 12/19/2018 6:05 PM, Woonsan Ko wrote:
>
> > Thank you very much for the warm welcomes!
> > I have watched many volunteering hearts here, helping each other in
> > this community, for years. This community has been my biggest input
> > source from which I have learned how to grow ourselves together, in
> > positive, collaborative, collective, inclusive, sustainable ways.
> > I will do my best where I can help to keep the health of our heartbeats.
> >
> > Kind regards,
> >
> > Woonsan Ko
> >
> > On Wed, Dec 19, 2018 at 6:56 PM Mark Thomas  wrote:
> >> On behalf of the Tomcat committers I am pleased to announce that
> >> Woonsan Ko (woonsan) has been voted in as a new Tomcat committer.
> >>
> >> Please join me in welcoming him.
> >>
> >> Kind regards,
> >>
> >> 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
> >
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
>


-- 
Best Regards!
Huxing

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



ApacheCon NA 2018 slides

2018-10-07 Thread Huxing Zhang
Hi,

I am wondering if we could add more slides/audios/videos into [1] for
the ApacheCon NA 2018.
I do see some of the slides are uploaded to [2], but I think it is
better to summarize them to the official pages.

[1] http://tomcat.apache.org/presentations.html
[2] https://apachecon.dukecon.org/acna/2018/#/timetable

-- 
Best Regards!
Huxing

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

2018-09-19 Thread Huxing Zhang
Hi,

On Fri, Sep 14, 2018 at 4:28 AM Violeta Georgieva  wrote:
>
> The proposed Apache Tomcat 7.0.91 release is now available for voting.
>
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-7/v7.0.91/
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1195/
> The svn tag is:
> http://svn.apache.org/repos/asf/tomcat/tc7.0.x/tags/TOMCAT_7_0_91/
>
The proposed 7.0.91 release is:
[ ] Broken - do not release
[X] Stable - go ahead and release as 7.0.91 Stable


Unit test passed.
Examples ok.
Test web application works well.
>
> Regards,
> Violeta



-- 
Best Regards!
Huxing

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



Re: [VOTE] Release Apache Tomcat 9.0.12

2018-09-08 Thread Huxing Zhang
The proposed 9.0.12 release is:
[ ] Broken - do not release
[X] Stable - go ahead and release as 9.0.12

Unit test passed.
Test web application works fine.

On Wed, Sep 5, 2018 at 6:32 AM Mark Thomas  wrote:
>
> The proposed Apache Tomcat 9.0.12 release is now available for voting.
>
> The major changes compared to the 9.0.11 release are:
>
> - Fix multiple issues associated with using the asynchronous Servlet
>   API in combination with HTTP/2
>
> - Add recursion to rewrite substitution parsing
>
> - Expand the information in the documentation web application
>   regarding the use of CATALINA_HOME and CATALINA_BASE.
>   Patch provided by Marek Czernek.
>
>
> Along with lots of other bug fixes and improvements.
>
> For full details, see the changelog:
> http://svn.apache.org/repos/asf/tomcat/trunk/webapps/docs/changelog.xml
>
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-9/v9.0.12/
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1193/
> The svn tag is:
> http://svn.apache.org/repos/asf/tomcat/tags/TOMCAT_9_0_12/
>
> The proposed 9.0.12 release is:
> [ ] Broken - do not release
> [ ] Stable - go ahead and release as 9.0.12
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
>


-- 
Best Regards!
Huxing

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



Re: Duplicate registration of ServletContextListerner

2018-07-26 Thread Huxing Zhang
On Fri, Jul 27, 2018 at 3:02 AM, Mark Thomas  wrote:
> On July 26, 2018 6:08:09 PM UTC, Christopher Schultz 
>  wrote:
>>-BEGIN PGP SIGNED MESSAGE-
>>Hash: SHA256
>>
>>Mark,
>>
>>On 7/26/18 5:21 AM, Mark Thomas wrote:
>>> On 26/07/2018 04:29, Huxing Zhang wrote:
>>>> Hi,
>>>>
>>>> On Thu, Jul 26, 2018 at 2:57 AM, Christopher Schultz
>>>>  wrote:
>>>
>>> 
>>>
>>>>> Can you think of a use-case where addListener() shouldn't
>>>>> automatically perform de-duplication?
>>>>
>>>> No, I can't think of that case.
>>>
>>> Yes, although only for the programmatic case.
>>>
>>> Multiple instances of the same listener configured differently.
>>> E.g. I can see a use for a simple
>>> javax.servlet.http.HttpSessionAttributeListener that might be
>>> added multiple times in a single app to define different actions
>>> for different attributes. Yes it could be implemented as a single
>>> listener but I can certainly see some scenarios where adding the
>>> same listener multiple times would give cleaner / simpler code.
>>>
>>>> If there is really a case, I think we can use
>>>> javax.servlet.ServletContext#setInitParameter to control that
>>>> behavior. For example, use a initialization parameter named
>>>> DEDUPLICATE_LISTENERS, if set to true, any further registration
>>>> will be de-duplicated. This parameter is better to be a per call
>>>> parameter rather than a global parameter, because it might be
>>>> updated from multiple place.
>>>
>>> Configuration at that point may cause problems. I'm not sure that
>>> the ServletContext would be available early enough. It would be
>>> better as an attribute on the Context. That would also be
>>> consistent with other such configuration parameters.
>>>
>>>>> I'm thinking that Tomcat should simply take a call to
>>>>> addListener() and ignore any registrations after the first one.
>>>>> >
>>>> Yes, I think it is important to have consistent behavior between
>>>> web-fragement/@WebListener and programmatic API.
>>>
>>> -1. That behaviour is not consistent with the Servlet spec. The
>>> spec expects multiple instances. It isn't explicit but it is very
>>> strongly implied both by the wording used and the complete absence
>>> of any indication of how de-duplication should be performed.


>>>
>>> Further, de-duplication is not that simple. Some users will want
>>> the fist listener added. Some the most recent. There are probably
>>> other complications I haven't thought of.
>>>
>>>>> Would that make sense? Would it violate any spec-defined
>>>>> behavior?
>>>>
>>>> I can't find any spec describing how to handle the duplications
>>>> on that part, so I guess it is safe to do so. :)
>>>
>>> There are lots of behaviours the spec doesn't define. That doesn't
>>> mean implementing them is spec compliant. Exactly the opposite in
>>> fact.
>>>
>>>> Maybe we can improve spec as well.
>>>
>>> Hopefully, with the move to Eclipse, the various clarifications
>>> that have been open for a number of years will now start to be
>>> addressed. I'd recommend adding this to them
>>>
>>> https://github.com/eclipse-ee4j/servlet-api/issues
>>
>>FWIW, I was not suggesting that all types of listeners be
>>deduplicated. I was instead focusing on ServletContextListeners, since
>>that was Huxing's use-case. I should have been more clear in my
>>proposal
>>.
>>
>>On the other hand, listeners cannot be registered with any information
>>other than their class. Therefore I'm not sure that adding the same
>>class multiple times to the event-notification list would accomplish
>>anything useful.
>>
>>Hmm... I just realized that the programmatic interface allows
>>listeners to be added by /instance/ and not just by class (name), so
>>theoretically one could instantiate two instances of a single class,
>>each with different behaviors (configured via constructors or other
>>mutators) and they would therefore be "distinct".
>>
>>Rather than deduplicating by class, perhaps we could deduplicate by
>>using .equals(). In that case, if you had something like this:
>>
>>class MyListener extends HttpSessionAttributeListener {
>&g

Re: Duplicate registration of ServletContextListerner

2018-07-25 Thread Huxing Zhang
Hi,

On Thu, Jul 26, 2018 at 2:57 AM, Christopher Schultz
 wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> Huxing,
>
> On 7/25/18 11:28 AM, Huxing Zhang wrote:
>> Hi,
>>
>> Recently I am working on implementing a feature that can
>> automatically register a ServletContextListerner instance, say A,
>> to servletContext programmatically during startup.
>>
>> I use ServletContainerInitializer and call the
>> servletContext.addListener() method. This is fine for most of the
>> cases. But if user has specified A in web.xml, it turns that A will
>> be registered twice, which will lead to undesired behavior.
>>
>> My expected behavior will be registering A only once regardless of
>> user specified A in web.xml or not.
>>
>> I can achieve this by specifying A in web-fragment.xml, since it
>> will get merged into web.xml whenever A is defined in web.xml or
>> not, which means duplicates can be removed.
>>
>> I am wondering why we can not achieve this using programatic API.
>>
>> I've checked servlet 4.0/3.1 spec, in 4.4.3.1 "void
>> addListener(String className)", it says:
>>
>> If the class with the given name implements a listener interface
>> whose invocation order corresponds to the declaration order, that
>> is, if it implements javax.servlet.ServletRequestListener,
>> javax.servlet.ServletContextListener or
>> javax.servlet.http.HttpSessionListener, then the new listener will
>> be added to the end of the ordered list of listeners of that
>> interface.
>>
>> It looks tomcat's behavior is spec-compliant.
>>
>> My idea is if I can get all the existing listeners from
>> servletContext, then I can decide whether to add A or not.
>>
>> But I can't find that kind of API from servletContext.
>>
>> I also noticed that there are getServletRegistrations() and
>> getFilterRegistrations() in servletContext, why can't we have API
>> like getListeners()?
>
> Can you think of a use-case where addListener() shouldn't
> automatically perform de-duplication?

No, I can't think of that case.

If there is really a case, I think we can use
javax.servlet.ServletContext#setInitParameter to control that
behavior.
For example, use a initialization parameter named
DEDUPLICATE_LISTENERS, if set to true, any further registration will
be de-duplicated.
This parameter is better to be a per call parameter rather than a
global parameter, because it might be updated from multiple place.

Overall, I don't  think it is necessary to have unless there is a case.

> I'm thinking that Tomcat should
> simply take a call to addListener() and ignore any registrations after
> the first one.

Yes, I think it is important to have consistent behavior between
web-fragement/@WebListener and programmatic API.

>
> Would that make sense? Would it violate any spec-defined behavior?

I can't find any spec describing how to handle the duplications on
that part, so I guess it is safe to do so. :)

Maybe we can improve spec as well.

>
> - -chris
> -BEGIN PGP SIGNATURE-
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAltYyDIACgkQHPApP6U8
> pFhSmA//We21JrL+KwpbPrNgicIM0T77/WFMQyNoaFrW0+QdJ96CUAWYr6NKn17t
> 0Y0mk9WpRDSIsknpXPTYfisO1RllO7Mde1KuGH6EUMZyYWr84E9YhqBVyOHG48if
> Y/COneCHK3Gs7QlywgRhyKDZFogDFS/X5zW+AGctFIdcdgBu0z8U85a/wlPLUTuk
> XA00qPLrIWSXerB97nsqcdreh7Qs2Uyx3Eye74JE4RwzRYkGVYrMuPpPQwudbAUF
> f2fgAHC5lrJBGLK4yiFce53KcwTzeyBM2yskux/1y02NUyHIASpjV8DqADthV61o
> SOFgG25PJChShsLQipjhcNQtqiluP4FNo1sN78ieMABfOm1zlIh4T4/4M8VD0MqP
> qdoXgqC8vEsCiGUY7rqQKIRTAe6Hpf2yz6Oygwhfk+6z2CpJ4RQfsAFMVJMf2KOM
> wjb6akXnrEzxPG6UEVxtep2cLLVraHlbjDHzNqMrecBC2EYHU/Ovh+gpsHXtJG8v
> +Koh9HR2Ps5h92PI5ND39JsD1KyNhO+zayYD/a+I9ryrQEKV584JyU6q3vyWIwXk
> m8eDlYo0ChCeiGwQ22bAOsdKYTJHruGPEg92VbbDipPLJ+8uzAbtEAlXmiGYkv2B
> Q3EtprVkD1sI88v/iRU8QZg7ux5ebKDHGIk1f33BP3AYUWnwcyY=
> =jKMW
> -END PGP SIGNATURE-
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
>



-- 
Best Regards!
Huxing

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



Duplicate registration of ServletContextListerner

2018-07-25 Thread Huxing Zhang
Hi,

Recently I am working on implementing a feature that can automatically
register a ServletContextListerner instance, say A, to servletContext
programmatically during startup.

I use ServletContainerInitializer and call the
servletContext.addListener() method. This is fine for most of the
cases. But if user has specified A in web.xml, it turns that A will be
registered twice, which will lead to undesired behavior.

My expected behavior will be registering A only once regardless of
user specified A in web.xml or not.

I can achieve this by specifying A in web-fragment.xml, since it will
get merged into web.xml whenever A is defined in web.xml or not, which
means duplicates can be removed.

I am wondering why we can not achieve this using programatic API.

I've checked servlet 4.0/3.1 spec, in 4.4.3.1 "void addListener(String
className)", it says:

If the class with the given name implements a listener interface whose
invocation order corresponds to the declaration order, that is, if it
implements javax.servlet.ServletRequestListener,
javax.servlet.ServletContextListener or
javax.servlet.http.HttpSessionListener, then the new listener will be
added to the end of the ordered list of listeners of that interface.

It looks tomcat's behavior is spec-compliant.

My idea is if I can get all the existing listeners from
servletContext, then I can decide whether to add A or not.

But I can't find that kind of API from servletContext.

I also noticed that there are getServletRegistrations() and
getFilterRegistrations() in servletContext, why can't we have API like
getListeners()?


-- 
Best Regards!
Huxing

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

2018-07-04 Thread Huxing Zhang
Hi,

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

Unit test passed.
Exampels ok.
Test web application works fine.



On Tue, Jul 3, 2018 at 1:36 AM, Violeta Georgieva  wrote:
> The proposed Apache Tomcat 7.0.90 release is now available for voting.
>
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-7/v7.0.90/
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1190/
> The svn tag is:
> http://svn.apache.org/repos/asf/tomcat/tc7.0.x/tags/TOMCAT_7_0_90/
>
> The proposed 7.0.90 release is:
> [ ] Broken - do not release
> [ ] Stable - go ahead and release as 7.0.90 Stable
>
> Regards,
> Violeta



-- 
Best Regards!
Huxing

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



Re: Slides for ApacheCon EU Roadshow 2018

2018-07-01 Thread Huxing Zhang
>From the youtube playlist[1] of Apache EU roadshow, I can see Rainer's
topic about Apache Web Server[2].

But I did not find any tomcat related topics there.

So I guess not every talk is getting recorded?

[1] https://www.youtube.com/playlist?list=PLU2OcwpQkYCyuV8Fza7dVAEg5FW2Pzg-8
[2] 
https://www.youtube.com/watch?v=MRx0PZilMBY=15=PLU2OcwpQkYCyuV8Fza7dVAEg5FW2Pzg-8=219s

On Wed, Jun 27, 2018 at 3:39 PM, Rainer Jung  wrote:
> Am 27.06.2018 um 01:40 schrieb Huxing Zhang:
>>
>> Hi All,
>>
>> I have check the presentation page[1] but could only find slide of
>> Mark's "State of the Cat" topic.
>>
>> Do we have slides/recordings for the other topics?
>>
>> [1] http://tomcat.apache.org/presentations.html
>
>
> Thanks for asking. I just added my two presentations.
>
> More to come from others?
>
> Regards,
>
> Rainer
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
>



-- 
Best Regards!
Huxing

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



Slides for ApacheCon EU Roadshow 2018

2018-06-26 Thread Huxing Zhang
Hi All,

I have check the presentation page[1] but could only find slide of
Mark's "State of the Cat" topic.

Do we have slides/recordings for the other topics?

[1] http://tomcat.apache.org/presentations.html

-- 
Best Regards!
Huxing

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



Re: [VOTE] Release Apache Tomcat 8.5.32

2018-06-22 Thread Huxing Zhang
Hi,

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

Unit test passed on Java 10.
Examples ok.
Test web application works fine.

On Thu, Jun 21, 2018 at 4:27 AM, Mark Thomas  wrote:
> The proposed Apache Tomcat 8.5.32 release is now available for voting.
>
> The major changes compared to the 8.5.31 release are:
>
> - Add the RemoteCIDRFilter and RemoteCIDRValve that can be used to
>   allow/deny requests based on IPv4 and/or IPv6 client address where the
>   IP ranges are defined using CIDR notation.
>   Based on a patch by Francis Galiegue.
>
> - Update the packaged version of the Tomcat Native Library to 1.2.17 to
>   pick up the latest Windows binaries built with APR 1.6.3 and OpenSSL
>   1.0.2o.
>
> - Correct a regression in the Host validation by removing the
>   requirement that the final component of a FQDN must be alphabetic.
>
> Along with lots of other bug fixes and improvements.
>
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.5.32/
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1187/
> The svn tag is:
> http://svn.apache.org/repos/asf/tomcat/tc8.5.x/tags/TOMCAT_8_5_32/
>
> The proposed 8.5.32 release is:
> [ ] Broken - do not release
> [ ] Stable - go ahead and release as 8.5.32
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
>



-- 
Best Regards!
Huxing

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



Re: [VOTE] Release Apache Tomcat 9.0.10

2018-06-21 Thread Huxing Zhang
Hi,

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

Unit test passed on Java 10.
Examples ok.
Test web application works fine.

On Thu, Jun 21, 2018 at 3:45 AM, Mark Thomas  wrote:
> The proposed Apache Tomcat 9.0.10 release is now available for voting.
>
> Note:
> 9.0.9 was tagged and uploaded when BZ 62476 was created and the decision
> was taken to re-tag to pick up that fix.
>
> The major changes compared to the 9.0.8 release are:
>
> - Add the RemoteCIDRFilter and RemoteCIDRValve that can be used to
>   allow/deny requests based on IPv4 and/or IPv6 client address where the
>   IP ranges are defined using CIDR notation.
>   Based on a patch by Francis Galiegue.
>
> - Use NIO2 API for websockets writes.
>
> - Update the packaged version of the Tomcat Native Library to 1.2.17 to
>   pick up the latest Windows binaries built with APR 1.6.3 and OpenSSL
>   1.0.2o.
>
> - Correct a regression in the Host validation by removing the
>   requirement that the final component of a FQDN must be alphabetic.
>
> Along with lots of other bug fixes and improvements.
>
> For full details, see the changelog:
> http://svn.apache.org/repos/asf/tomcat/trunk/webapps/docs/changelog.xml
>
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-9/v9.0.10/
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1186/
> The svn tag is:
> http://svn.apache.org/repos/asf/tomcat/tags/TOMCAT_9_0_10/
>
> The proposed 9.0.10 release is:
> [ ] Broken - do not release
> [ ] Stable - go ahead and release as 9.0.10
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
>



-- 
Best Regards!
Huxing

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

2018-05-10 Thread Huxing Zhang
Hi,

On Mon, May 7, 2018 at 8:06 PM, Violeta Georgieva <violet...@apache.org> wrote:
> The proposed Apache Tomcat 7.0.88 release is now available for voting.
>
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-7/v7.0.88/
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1184/
> The svn tag is:
> http://svn.apache.org/repos/asf/tomcat/tc7.0.x/tags/TOMCAT_7_0_88/
>
> The proposed 7.0.88 release is:
> [ ] Broken - do not release
> [X] Stable - go ahead and release as 7.0.88 Stable

Signatures ok.
SHA512 checksum ok.
Unit test passed.

>
> Regards,
> Violeta



-- 
Best Regards!
Huxing

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



Re: [Git migration] Old git repositories

2018-05-02 Thread Huxing Zhang
+1 for deleting them.

On Tue, May 1, 2018 at 5:36 AM, Coty Sutherland <csuth...@apache.org> wrote:
> On Mon, Apr 30, 2018, 16:48 Mark Thomas <ma...@apache.org> wrote:
>
>> The current plan is to merge all of the existing branches into a single
>> Git repo. This will be mirrored at GitHub under apache/tomcat. This is
>> currently used for the svn mirror for trunk only.
>>
>> This raises the question what to do with:
>> apache/tomcat7
>> apache/tomcat8
>> apache/tomcat85
>>
>> I think there are two options:
>>
>> 1. Retain them but make them read-only
>>
>> 2. Delete them
>>
>> Suggestions for other options welcome.
>>
>> I'm actually leaning towards deleting them. My reasoning is that we
>> deleted apache/tomcat55 and apache/tomcat6 when those releases reached
>> EOL and no-one complained. As far as I recall, no-one even mentioned the
>> deletions on list. Therefore, I'd be happy to delete those mirrors just
>> as soon as apache/tomcat was up and running.
>>
>
> I don't see a reason for keeping them so I'm +1 for deleting them.
>
>
>> Mark
>>
>> P.S. Don't forget that apache/tomcat will become writeable as part of
>> the migration and will sync with gitbox.apache.org in a dual master
>> configuration
>>
>> -----
>> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: dev-h...@tomcat.apache.org
>>
>>



-- 
Best Regards!
Huxing

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

2018-04-11 Thread Huxing Zhang
Hi,

On Tue, Apr 10, 2018 at 5:07 AM, Violeta Georgieva <violet...@apache.org> wrote:
> The proposed Apache Tomcat 7.0.86 release is now available for voting.
>
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-7/v7.0.86/
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1178/
> The svn tag is:
> http://svn.apache.org/repos/asf/tomcat/tc7.0.x/tags/TOMCAT_7_0_86/
>
> The proposed 7.0.86 release is:
> [ ] Broken - do not release
> [X] Stable - go ahead and release as 7.0.86 Stable

Unit test passed.
Examples: ok.
Test running on Java 10: ok

>
> Regards,
> Violeta



-- 
Best Regards!
Huxing

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



Re: [VOTE] Release Apache Tomcat 8.5.30

2018-04-05 Thread Huxing Zhang
Hi,

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

Unit test: ok
Examples: ok
Tested running on Java 10: ok

On Wed, Apr 4, 2018 at 4:36 AM, Mark Thomas <ma...@apache.org> wrote:
> The proposed Apache Tomcat 8.5.30 release is now available for voting.
>
> The major changes compared to the 8.5.29 release are:
>
> - Add support for the maxDays attribute to the AccessLogValve and
>   ExtendedAccessLogValve. This allows the maximum number of days for
>   which rotated access logs should be retained before deletion to be
>   defined.
>
> - Avoid infinite recursion, when trying to validate a session while
>   loading it with PersistentManager.
>
> - Correct two protocol errors with HTTP/2 PUSH_PROMISE frames.
>
> - The OpenSSL engine SSL session will now ignore invalid accesses.
>
> Along with lots of other bug fixes and improvements.
>
>
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.5.30/
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1177/
> The svn tag is:
> http://svn.apache.org/repos/asf/tomcat/tc8.5.x/tags/TOMCAT_8_5_30/
>
> The proposed 8.5.30 release is:
> [ ] Broken - do not release
> [ ] Stable - go ahead and release as 8.5.30
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
>



-- 
Best Regards!
Huxing

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



Re: [VOTE] Release Apache Tomcat 9.0.7

2018-04-05 Thread Huxing Zhang
Hi,

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

Unit test ok.
Examples ok.
Tested running on Java 10: ok.

On Wed, Apr 4, 2018 at 4:25 AM, Mark Thomas <ma...@apache.org> wrote:
> The proposed Apache Tomcat 9.0.7 release is now available for voting.
>
> The major changes compared to the 9.0.6 release are:
>
> - Add support for the maxDays attribute to the AccessLogValve and
>   ExtendedAccessLogValve. This allows the maximum number of days for
>   which rotated access logs should be retained before deletion to be
>   defined.
>
> - Avoid infinite recursion, when trying to validate a session while
>   loading it with PersistentManager.
>
> - Correct two protocol errors with HTTP/2 PUSH_PROMISE frames.
>
> - The OpenSSL engine SSL session will now ignore invalid accesses.
>
>
> Along with lots of other bug fixes and improvements.
>
> For full details, see the changelog:
> http://svn.apache.org/repos/asf/tomcat/trunk/webapps/docs/changelog.xml
>
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-9/v9.0.7/
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1176/
> The svn tag is:
> http://svn.apache.org/repos/asf/tomcat/tags/TOMCAT_9_0_7/
>
> The proposed 9.0.7 release is:
> [ ] Broken - do not release
> [ ] Stable - go ahead and release as 9.0.7
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
>

-- 
Best Regards!
Huxing

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



Re: [VOTE] Release Apache Tomcat 8.5.29

2018-03-07 Thread Huxing Zhang
Hi,

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

Unit test passed.
Examples ok.
Our test web application works fine.

On Mon, Mar 5, 2018 at 9:51 PM, Mark Thomas <ma...@apache.org> wrote:
> The proposed Apache Tomcat 8.5.29 release is now available for voting.
>
> The major changes compared to the 8.5.28 release are:
>
> - TLS stability improvements.
>
> - Correct a regression in the fix for 60276 that meant that compression
>   was applied to all MIME types.
>   Patch provided by Stefan Knoblich.
>
> - Add documentation for the Host Manager web application.
>   Patch provided by Marek Czernek.
>
> Along with lots of other bug fixes and improvements.
>
>
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.5.29/
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1175/
> The svn tag is:
> http://svn.apache.org/repos/asf/tomcat/tc8.5.x/tags/TOMCAT_8_5_29/
>
> The proposed 8.5.29 release is:
> [ ] Broken - do not release
> [ ] Stable - go ahead and release as 8.5.29
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
>



-- 
Best Regards!
Huxing

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



Re: [VOTE] Release Apache Tomcat 9.0.6

2018-03-07 Thread Huxing Zhang
Hi,

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

Unit test passed.
Examples ok.
Test web application works fine.

On Mon, Mar 5, 2018 at 6:53 PM, Mark Thomas <ma...@apache.org> wrote:
> The proposed Apache Tomcat 9.0.6 release is now available for voting.
>
> The major changes compared to the 9.0.5 release are:
>
> - TLS stability improvements.
>
> - Add the ability to specify static HTML responses for specific error
>   codes and/or exception types with the ErrorReportValve.
>
> - Add async HTTP/2 parser for NIO2.
>
> - Add documentation for the Host Manager web application.
>   Patch provided by Marek Czernek.
>
> Along with lots of other bug fixes and improvements.
>
> For full details, see the changelog:
> http://svn.apache.org/repos/asf/tomcat/trunk/webapps/docs/changelog.xml
>
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-9/v9.0.6/
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1174/
> The svn tag is:
> http://svn.apache.org/repos/asf/tomcat/tags/TOMCAT_9_0_6/
>
> The proposed 9.0.6 release is:
> [ ] Broken - do not release
> [ ] Stable - go ahead and release as 9.0.6
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
>



-- 
Best Regards!
Huxing

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



Re: [VOTE] Release Apache Tomcat 8.5.28

2018-02-06 Thread Huxing Zhang
Hi,

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

Unit test passed.
Examples ok.
Our test web application works fine.

On Wed, Feb 7, 2018 at 7:33 AM, Mark Thomas <ma...@apache.org> wrote:
> The proposed Apache Tomcat 8.5.28 release is now available for voting.
>
> The major changes compared to the 8.5.27 release are:
>
> - Fix truncated request input streams when using NIO2 with TLS.
>
> - Improved error handling and reporting for TLS configuration.
>
> - Enhance the JMX support for jdbc-pool in order to expose
>   PooledConnection and JdbcInterceptors.
>
> Along with lots of other bug fixes and improvements.
>
>
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.5.28/
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1171/
> The svn tag is:
> http://svn.apache.org/repos/asf/tomcat/tc8.5.x/tags/TOMCAT_8_5_28/
>
> The proposed 8.5.28 release is:
> [ ] Broken - do not release
> [ ] Stable - go ahead and release as 8.5.28
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
>



-- 
Best Regards!
Huxing

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



Re: [Git migration] Merge strategy

2018-01-22 Thread Huxing Zhang
+1 on Option 1.
Our internal Tomcat fork has basically the same structure, and we use option 1.
I can't find an easy way to implement option 2.

On Tue, Jan 23, 2018 at 5:16 AM, Mark Thomas <ma...@apache.org> wrote:
> The plan when we migrate to git is to migrate to single git repo with
> the following branches:
>
> master - 9.0.x development
> tc8.5  - 8.5.x development
> tc8.0  - 8.0.x development
> tc7.0  - 7.0.x development
>
> We need to decide how we are going to handle a fix that applies to
> multiple versions.
>
> I can see two options:
>
> 1. Make the change in master and cherry-pick as required to earlier
>versions. This is, essentially, what we do now in svn.
>
> 2. Make the change in the earliest applicable version and them merge
>forward. This appears to be the more natural git way of doing things.
>
> These options are based on my fairly limited understanding of git.
> Suggestions for other approaches welcome.
>
> Thoughts? Comments?
>
> Mark
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
>



-- 
Best Regards!
Huxing

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



Re: [VOTE] Release Apache Tomcat 8.5.27

2018-01-22 Thread Huxing Zhang
Hi, 

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

Unit test passed.
Examples ok.
Our test web application works fine.

--
Violeta Georgieva 
2018 Jan 21 (Sun) 22:21
Tomcat Developers List 
Re: [VOTE] Release Apache Tomcat 8.5.27


2018-01-18 22:43 GMT+02:00 Mark Thomas :
>
> The proposed Apache Tomcat 8.5.27 release is now available for voting.
>
> The major changes compared to the 8.5.24 release are:
>
> - Add support for GZIP compression with HTTP/2
>
> - Expand the TLS functionality exposed via the Manager application
>
> - Return a simple, plain text error message if a client attempts to make
>   a plain text HTTP connection to a TLS enabled NIO or NIO2 Connector.
>
> - Add a new system property
>   (org.apache.jasper.runtime.BodyContentImpl.BUFFER_SIZE) to control the
>   size of the buffer used by Jasper when buffering tag bodies.
>
>
> Along with lots of other bug fixes and improvements.
>
>
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.5.27/
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1167/
> The svn tag is:
> http://svn.apache.org/repos/asf/tomcat/tc8.5.x/tags/TOMCAT_8_5_27/
>
> The proposed 8.5.27 release is:
> [ ] Broken - do not release
> [X] Stable - go ahead and release as 8.5.27

+1

Regards,
Violeta

Re: [VOTE] Release Apache Tomcat 7.0.84

2018-01-21 Thread Huxing Zhang
Hi

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

Unit test passed on Java 9.
Examples ok.
Our test web application works fine.

--
Violeta Georgieva 
2018 Jan 19 (Fri) 23:41
Tomcat Developers List 
[VOTE] Release Apache Tomcat 7.0.84


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

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

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

Regards,
Violeta

Re: [VOTE] Release Apache Tomcat 9.0.4

2018-01-21 Thread Huxing Zhang
Hi 

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

Unit test all passed.
Examples ok.
Our test web application works fine.

--
Mark Thomas 
2018 Jan 19 (Fri) 04:14
Tomcat Developers List 
[VOTE] Release Apache Tomcat 9.0.4


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

The major changes compared to the 9.0.2 release are:

- Modify the Default and WebDAV Servlets so that a 405 status code is
  returned for PUT and DELETE requests when disabled via the readonly
  initialisation parameter.

- Add support for GZIP compression with HTTP/2

- Expand the TLS functionality exposed via the Manager application

- Return a simple, plain text error message if a client attempts to make
  a plain text HTTP connection to a TLS enabled NIO or NIO2 Connector.

Along with lots of other bug fixes and improvements.


For full details, see the changelog:
http://svn.apache.org/repos/asf/tomcat/trunk/webapps/docs/changelog.xml

It can be obtained from:
https://dist.apache.org/repos/dist/dev/tomcat/tomcat-9/v9.0.4/
The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-1166/
The svn tag is:
http://svn.apache.org/repos/asf/tomcat/tags/TOMCAT_9_0_4/

The proposed 9.0.4 release is:
[ ] Broken - do not release
[ ] Alpha  - go ahead and release as 9.0.4
[ ] Beta   - go ahead and release as 9.0.4
[ ] Stable - go ahead and release as 9.0.4

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

Re: [VOTE] Release Apache Tomcat 9.0.3

2018-01-16 Thread Huxing Zhang
Hi,

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

Unit test passed, except for one UT failure when running on Java 9 [1], which I 
am planning to investigate in the next few days.
Examples ok.
Our test web application works fine.

svn commit: r1818931 - /tomcat/tc7.0.x/trunk/modules/jdbc-pool/build.properties.default

2017-12-21 Thread huxing
Author: huxing
Date: Thu Dec 21 14:35:57 2017
New Revision: 1818931

URL: http://svn.apache.org/viewvc?rev=1818931=rev
Log:
Update compile source/target to 1.6 for jdbc-pools so that it can be compiled 
by Java 9.

Modified:
tomcat/tc7.0.x/trunk/modules/jdbc-pool/build.properties.default

Modified: tomcat/tc7.0.x/trunk/modules/jdbc-pool/build.properties.default
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/modules/jdbc-pool/build.properties.default?rev=1818931=1818930=1818931=diff
==
--- tomcat/tc7.0.x/trunk/modules/jdbc-pool/build.properties.default (original)
+++ tomcat/tc7.0.x/trunk/modules/jdbc-pool/build.properties.default Thu Dec 21 
14:35:57 2017
@@ -35,8 +35,8 @@ version.suffix=
 # contexts by the various build scripts.
 base.path=${basedir}/includes
 
-compile.source=1.5
-compile.target=1.5
+compile.source=1.6
+compile.target=1.6
 compile.debug=true
 
 # - Settings for Junit test database.



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



svn commit: r1818929 - /tomcat/tc7.0.x/trunk/webapps/docs/config/loader.xml

2017-12-21 Thread huxing
Author: huxing
Date: Thu Dec 21 14:24:43 2017
New Revision: 1818929

URL: http://svn.apache.org/viewvc?rev=1818929=rev
Log:
Add documentation for jarOpenInterval attribute.

Modified:
tomcat/tc7.0.x/trunk/webapps/docs/config/loader.xml

Modified: tomcat/tc7.0.x/trunk/webapps/docs/config/loader.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/config/loader.xml?rev=1818929=1818928=1818929=diff
==
--- tomcat/tc7.0.x/trunk/webapps/docs/config/loader.xml (original)
+++ tomcat/tc7.0.x/trunk/webapps/docs/config/loader.xml Thu Dec 21 14:24:43 2017
@@ -138,6 +138,13 @@
 be searched first. Default value is false.
   
 
+  
+The interval in milliseconds to keep all jar files open if no jar
+  is accessed. The default value is 9 milliseconds.
+  A non-positive interval indicates keeping jars always open.
+
+  
+
 
 
   



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



svn commit: r1818927 - in /tomcat/tc7.0.x/trunk: java/org/apache/catalina/loader/WebappClassLoaderBase.java java/org/apache/catalina/loader/WebappLoader.java java/org/apache/catalina/loader/mbeans-des

2017-12-21 Thread huxing
Author: huxing
Date: Thu Dec 21 14:07:20 2017
New Revision: 1818927

URL: http://svn.apache.org/viewvc?rev=1818927=rev
Log:
Support configure the interval to keep all jars open if no jar is accessed.

Modified:

tomcat/tc7.0.x/trunk/java/org/apache/catalina/loader/WebappClassLoaderBase.java
tomcat/tc7.0.x/trunk/java/org/apache/catalina/loader/WebappLoader.java
tomcat/tc7.0.x/trunk/java/org/apache/catalina/loader/mbeans-descriptors.xml
tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml

Modified: 
tomcat/tc7.0.x/trunk/java/org/apache/catalina/loader/WebappClassLoaderBase.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/loader/WebappClassLoaderBase.java?rev=1818927=1818926=1818927=diff
==
--- 
tomcat/tc7.0.x/trunk/java/org/apache/catalina/loader/WebappClassLoaderBase.java 
(original)
+++ 
tomcat/tc7.0.x/trunk/java/org/apache/catalina/loader/WebappClassLoaderBase.java 
Thu Dec 21 14:07:20 2017
@@ -371,6 +371,10 @@ public abstract class WebappClassLoaderB
  */
 protected long lastJarAccessed = 0L;
 
+/**
+ * The interval in milliseconds that we can keep jar files open.
+ */
+protected int jarOpenInterval = 9;
 
 /**
  * The list of local repositories, in the order they should be searched
@@ -656,6 +660,20 @@ public abstract class WebappClassLoaderB
 
 }
 
+/**
+ * Set the interval to keep all jar files open
+ * @param jarOpenInterval the interval in milliseconds to keep jar files 
open
+ */
+public void setJarOpenInterval(int jarOpenInterval) {
+this.jarOpenInterval = jarOpenInterval;
+}
+
+/**
+ * Return the interval to keep all jar files open if no jar is accessed
+ */
+public int getJarOpenInterval() {
+return jarOpenInterval;
+}
 
 /**
  * @return Returns the antiJARLocking.
@@ -987,6 +1005,7 @@ public abstract class WebappClassLoaderB
 base.contextName = this.contextName;
 base.hasExternalRepositories = this.hasExternalRepositories;
 base.searchExternalFirst = this.searchExternalFirst;
+base.jarOpenInterval = this.jarOpenInterval;
 }
 
 
@@ -2174,10 +2193,10 @@ public abstract class WebappClassLoaderB
  * JAR resources.
  */
 public void closeJARs(boolean force) {
-if (jarFiles.length > 0) {
+if (jarFiles.length > 0 && (force || jarOpenInterval > 0)) {
 synchronized (jarFiles) {
-if (force || (System.currentTimeMillis()
-  > (lastJarAccessed + 9))) {
+if (force || (jarOpenInterval > 0 && 
System.currentTimeMillis()
+> (lastJarAccessed + jarOpenInterval))) {
 for (int i = 0; i < jarFiles.length; i++) {
 try {
 if (jarFiles[i] != null) {

Modified: tomcat/tc7.0.x/trunk/java/org/apache/catalina/loader/WebappLoader.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/loader/WebappLoader.java?rev=1818927=1818926=1818927=diff
==
--- tomcat/tc7.0.x/trunk/java/org/apache/catalina/loader/WebappLoader.java 
(original)
+++ tomcat/tc7.0.x/trunk/java/org/apache/catalina/loader/WebappLoader.java Thu 
Dec 21 14:07:20 2017
@@ -137,6 +137,10 @@ public class WebappLoader extends Lifecy
  */
 private boolean delegate = false;
 
+/**
+ * The interval in milliseconds to keep all jar files open if no jar is 
accessed
+ */
+private int jarOpenInterval = 9;
 
 /**
  * The descriptive information about this Loader implementation.
@@ -282,6 +286,21 @@ public class WebappLoader extends Lifecy
 
 }
 
+/**
+ * The interval to keep all jar files open if no jar is accessed
+ *
+ * @param jarOpenInterval The new interval
+ */
+public void setJarOpenInterval(int jarOpenInterval) {
+this.jarOpenInterval = jarOpenInterval;
+}
+
+/**
+ * Return the interval to keep all jar files open if no jar is accessed
+ */
+public int getJarOpenInterval() {
+return jarOpenInterval;
+}
 
 /**
  * Return descriptive information about this Loader implementation and
@@ -580,6 +599,7 @@ public class WebappLoader extends Lifecy
 try {
 
 classLoader = createClassLoader();
+classLoader.setJarOpenInterval(this.jarOpenInterval);
 classLoader.setResources(container.getResources());
 classLoader.setDelegate(this.delegate);
 classLoader.setSearchExternalFirst(searchExternalFirst);

Modified: 
tomcat/tc7.0.x/trunk/java/org/apache/catalina/loader/mbeans-descriptors.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/load

Re: Migrating to git

2017-12-05 Thread Huxing Zhang
Hi, 

I am +1 on migrating to git. I think this will help people easier to get 
involved.

One quick question to Plan A:
After migration to git, will the previous mirrors, e.g. 
https://github.com/apache/tomcat70, be removed?
 
We maintain an internal repository with selective tomcat versions, which depend 
on these mirrors to merge the latest releases.

--
Mark Thomas 
2017 Dec 6 (Wed) 04:03
Tomcat Developers List 
Migrating to git


Hi all,

I've been doing some experiments to see how we might migrate from our
current svn structure to git. It appears that git svn is able to follow
directory moves so, with that in mind, I'd like to propose the following
outline plan:

Plan A
==

0. Run plan past infra
1. Restructure svn
2. Get infra to re-mirror new structure
3. Validate mirror
4. Pick a date to switch

This assumes that we do want to switch to git. My sense from the most
recent discussion was that we did.

To expand on the point one, the restructuring would look like:

/trunk  -> no change
/tags/TOMCAT_9* -> tags/tc9.0.x/
/tc8.5.x/trunk  -> branches/tc8.5.x
/tc8.5.x/tags/* -> tags/tc8.5.x/
/tc8.0.x/trunk  -> branches/tc8.0.x
/tc8.0.x/tags/* -> tags/tc8.0.x/
/tc7.0.x/trunk  -> branches/tc7.0.x
/tc7.0.x/tags/* -> tags/tc7.0.x/

and then migrate /trunk, /tags and /branches to git, leaving the rest in
place. Most will stay there. Some components may move to git in the future.

Plan B
==

Pick a different component (native, jk) and migrate that first.


If we do want to migrate there will be lots of details to work out such
as how to migrate the "view differences" feature of the migration page
but I'm sure we'll be able to work something out.

Thoughts, comments etc.?

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

2017-12-04 Thread Huxing Zhang
Hi,

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

Unit test passed on JDK6
Examples: ok
Our test web application runs fine.

One thing that I want to confirm is:

I use Java 9 to build the source code, however it failed with the following 
message:

build:
[javac] Compiling 32 source files to 
/Users/huxing/work/apache-tomcat/tomcat7/trunk/output/jdbc-pool/classes
[javac] warning: [options] bootstrap class path not set in conjunction with 
-source 1.5
[javac] error: Source option 1.5 is no longer supported. Use 1.6 or later.
[javac] error: Target option 1.5 is no longer supported. Use 1.6 or later.

BUILD FAILED
/Users/huxing/work/apache-tomcat/tomcat7/trunk/build.xml:1077: The following 
error occurred while executing this line:
/Users/huxing/work/apache-tomcat/tomcat7/trunk/modules/jdbc-pool/build.xml:153: 
Compile failed; see the compiler error output for details.

I've checked the modules/jdbc-pool/build.properties.default, the default 
compile source/target level is 1.5.

Changing compile source/target to 1.6 will solve this issue.

However, the compile source/target of jdbc-pool conforms to the minimal Java 
version tomcat requires in tomcat 8 (1.7), tomcat 8.5 (1.7), and tomcat 9(1.8).

Therefore I think it might be a bug of tomcat 7. 



--
Violeta Georgieva <violet...@apache.org>
2017 Dec 1 (Fri) 03:37
Tomcat Developers List <dev@tomcat.apache.org>
[VOTE] Release Apache Tomcat 7.0.83


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

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

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

Regards,
Violeta

Re: [VOTE] Release Apache Tomcat 8.5.24

2017-11-29 Thread Huxing Zhang
Hi, 

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

Unit test passed.

Examples ok, except for the following one issue:
in example/servlets/index.html  "Servlet 4.0 Early Preview examples" is no 
longer early preview. (Fixed in r1816673)

Our test web application works fine.

--
Mark Thomas 
2017 Nov 27 (Mon) 21:46
Tomcat Developers List 
[VOTE] Release Apache Tomcat 8.5.24


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

The major changes compared to the 8.5.23 release are:

- Java 9 is fully supported

- Fixed a number of HTTP/2 issues

- Fixed numerous JASPIC issues with patches from Lazar

- Update the packaged version of the Tomcat Native Library to
  1.2.16 to pick up the latest Windows binaries built with
  APR 1.6.3 and OpenSSL 1.0.2m


Along with lots of other bug fixes and improvements.


It can be obtained from:
https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.5.24/
The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-1161/
The svn tag is:
http://svn.apache.org/repos/asf/tomcat/tc8.5.x/tags/TOMCAT_8_5_24/

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

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

svn commit: r1816673 - /tomcat/tc8.5.x/trunk/webapps/examples/servlets/index.html

2017-11-29 Thread huxing
Author: huxing
Date: Thu Nov 30 02:08:59 2017
New Revision: 1816673

URL: http://svn.apache.org/viewvc?rev=1816673=rev
Log:
Servlet 4.0 is officially released

Modified:
tomcat/tc8.5.x/trunk/webapps/examples/servlets/index.html

Modified: tomcat/tc8.5.x/trunk/webapps/examples/servlets/index.html
URL: 
http://svn.apache.org/viewvc/tomcat/tc8.5.x/trunk/webapps/examples/servlets/index.html?rev=1816673=1816672=1816673=diff
==
--- tomcat/tc8.5.x/trunk/webapps/examples/servlets/index.html (original)
+++ tomcat/tc8.5.x/trunk/webapps/examples/servlets/index.html Thu Nov 30 
02:08:59 2017
@@ -167,7 +167,7 @@ for clarity.
 
 
 
-  Servlet 4.0 Early Preview examples
+  Servlet 4.0 Server Push examples
 
 
   HTTP/2 server push



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



Re: svn commit: r23327 - in /dev/tomcat/tomcat-8/v8.5.24/bin/embed: apache-tomcat-8.5.24-embed.tar.gz.sha512 apache-tomcat-8.5.24-embed.zip.sha512

2017-11-29 Thread Huxing Zhang
> Log:
> AAdd missing sha512 hashes


AAdd -> Add ?

--
markt 
2017 Nov 30 (Thu) 03:57
dev 
svn commit: r23327 - in /dev/tomcat/tomcat-8/v8.5.24/bin/embed: 
apache-tomcat-8.5.24-embed.tar.gz.sha512 apache-tomcat-8.5.24-embed.zip.sha512


Author: markt
Date: Wed Nov 29 19:57:15 2017
New Revision: 23327

Log:
AAdd missing sha512 hashes

Added:

dev/tomcat/tomcat-8/v8.5.24/bin/embed/apache-tomcat-8.5.24-embed.tar.gz.sha512
dev/tomcat/tomcat-8/v8.5.24/bin/embed/apache-tomcat-8.5.24-embed.zip.sha512

Added: 
dev/tomcat/tomcat-8/v8.5.24/bin/embed/apache-tomcat-8.5.24-embed.tar.gz.sha512
==
--- 
dev/tomcat/tomcat-8/v8.5.24/bin/embed/apache-tomcat-8.5.24-embed.tar.gz.sha512 
(added)
+++ 
dev/tomcat/tomcat-8/v8.5.24/bin/embed/apache-tomcat-8.5.24-embed.tar.gz.sha512 
Wed Nov 29 19:57:15 2017
@@ -0,0 +1 @@
+4c8478908ca844ea1f5b3c4e22d6def183d9e60da626c7070a43379967d9df43dcd8545426a3792a349a8e11ba38e9d4ea9e24cad11f1c130061bd5e2b33cd0e
 *apache-tomcat-8.5.24-embed.tar.gz
\ No newline at end of file

Added: 
dev/tomcat/tomcat-8/v8.5.24/bin/embed/apache-tomcat-8.5.24-embed.zip.sha512
==
--- dev/tomcat/tomcat-8/v8.5.24/bin/embed/apache-tomcat-8.5.24-embed.zip.sha512 
(added)
+++ dev/tomcat/tomcat-8/v8.5.24/bin/embed/apache-tomcat-8.5.24-embed.zip.sha512 
Wed Nov 29 19:57:15 2017
@@ -0,0 +1 @@
+90a3e5297b02ea11ccb4c7cce1bc909f9f8d67b3afc1b3876e3073570c4a7e272a6fb5d686631dd5ebc7bd438943e506761f37b2a6867b871ac7feeeb792fc39
 *apache-tomcat-8.5.24-embed.zip
\ No newline at end of file



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

svn commit: r1816595 - /tomcat/tc7.0.x/trunk/java/org/apache/catalina/loader/WebappClassLoaderBase.java

2017-11-28 Thread huxing
Author: huxing
Date: Wed Nov 29 03:40:32 2017
New Revision: 1816595

URL: http://svn.apache.org/viewvc?rev=1816595=rev
Log:
Fix typo

Modified:

tomcat/tc7.0.x/trunk/java/org/apache/catalina/loader/WebappClassLoaderBase.java

Modified: 
tomcat/tc7.0.x/trunk/java/org/apache/catalina/loader/WebappClassLoaderBase.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/loader/WebappClassLoaderBase.java?rev=1816595=1816594=1816595=diff
==
--- 
tomcat/tc7.0.x/trunk/java/org/apache/catalina/loader/WebappClassLoaderBase.java 
(original)
+++ 
tomcat/tc7.0.x/trunk/java/org/apache/catalina/loader/WebappClassLoaderBase.java 
Wed Nov 29 03:40:32 2017
@@ -3167,7 +3167,7 @@ public abstract class WebappClassLoaderB
 return null;
 
 JarEntry jarEntry = null;
-// Need to skip the leading / to find resoucres in JARs
+// Need to skip the leading / to find resources in JARs
 String jarEntryPath = path.substring(1);
 
 ResourceEntry entry = resourceEntries.get(path);



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



svn commit: r1816594 - /tomcat/tc7.0.x/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java

2017-11-28 Thread huxing
Author: huxing
Date: Wed Nov 29 03:16:29 2017
New Revision: 1816594

URL: http://svn.apache.org/viewvc?rev=1816594=rev
Log:
Use \u00A3 to avoid ide encoding preference

Modified:

tomcat/tc7.0.x/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java

Modified: 
tomcat/tc7.0.x/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java?rev=1816594=1816593=1816594=diff
==
--- 
tomcat/tc7.0.x/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java
 (original)
+++ 
tomcat/tc7.0.x/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java
 Wed Nov 29 03:16:29 2017
@@ -144,7 +144,7 @@ public class TestWebSocketFrameClient ex
 SecurityCollection collection = new SecurityCollection();
 collection.addPattern("/");
 String utf8User = "test";
-String utf8Pass = "123�";
+String utf8Pass = "123\u00A3"; // pound sign
 
 tomcat.addUser(utf8User, utf8Pass);
 tomcat.addRole(utf8User, ROLE);



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



svn commit: r1816593 - /tomcat/tc8.0.x/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java

2017-11-28 Thread huxing
Author: huxing
Date: Wed Nov 29 03:15:01 2017
New Revision: 1816593

URL: http://svn.apache.org/viewvc?rev=1816593=rev
Log:
Use \u00A3 to avoid ide encoding preference

Modified:

tomcat/tc8.0.x/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java

Modified: 
tomcat/tc8.0.x/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc8.0.x/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java?rev=1816593=1816592=1816593=diff
==
--- 
tomcat/tc8.0.x/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java
 (original)
+++ 
tomcat/tc8.0.x/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java
 Wed Nov 29 03:15:01 2017
@@ -145,7 +145,7 @@ public class TestWebSocketFrameClient ex
 SecurityCollection collection = new SecurityCollection();
 collection.addPatternDecoded("/");
 String utf8User = "test";
-String utf8Pass = "123£";
+String utf8Pass = "123\u00A3"; // pound sign
 
 tomcat.addUser(utf8User, utf8Pass);
 tomcat.addRole(utf8User, ROLE);



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



svn commit: r1816592 - /tomcat/tc8.5.x/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java

2017-11-28 Thread huxing
Author: huxing
Date: Wed Nov 29 03:13:40 2017
New Revision: 1816592

URL: http://svn.apache.org/viewvc?rev=1816592=rev
Log:
Use \u00A3 to avoid ide encoding preference

Modified:

tomcat/tc8.5.x/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java

Modified: 
tomcat/tc8.5.x/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc8.5.x/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java?rev=1816592=1816591=1816592=diff
==
--- 
tomcat/tc8.5.x/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java
 (original)
+++ 
tomcat/tc8.5.x/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java
 Wed Nov 29 03:13:40 2017
@@ -145,7 +145,7 @@ public class TestWebSocketFrameClient ex
 SecurityCollection collection = new SecurityCollection();
 collection.addPatternDecoded("/");
 String utf8User = "test";
-String utf8Pass = "123£";
+String utf8Pass = "123\u00A3"; // pound sign
 
 tomcat.addUser(utf8User, utf8Pass);
 tomcat.addRole(utf8User, ROLE);



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



svn commit: r1816591 - /tomcat/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java

2017-11-28 Thread huxing
Author: huxing
Date: Wed Nov 29 03:12:14 2017
New Revision: 1816591

URL: http://svn.apache.org/viewvc?rev=1816591=rev
Log:
Use \u00A3 to avoid ide encoding preference

Modified:
tomcat/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java

Modified: 
tomcat/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java?rev=1816591=1816590=1816591=diff
==
--- tomcat/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java 
(original)
+++ tomcat/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java 
Wed Nov 29 03:12:14 2017
@@ -145,7 +145,7 @@ public class TestWebSocketFrameClient ex
 SecurityCollection collection = new SecurityCollection();
 collection.addPatternDecoded("/");
 String utf8User = "test";
-String utf8Pass = "123£";
+String utf8Pass = "123\u00A3"; // pound sign
 
 tomcat.addUser(utf8User, utf8Pass);
 tomcat.addRole(utf8User, ROLE);



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



Re: svn commit: r1816544 - /tomcat/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java

2017-11-28 Thread Huxing Zhang
> It would be safer to use \u for non-ASCII characters in strings to
> avoid depending on IDE encoding preference.
> (\u00A3 for the pound currency character here.)

I agree. I will take that change.

--
Konstantin Kolinko <knst.koli...@gmail.com>
2017 Nov 29 (Wed) 00:25
Tomcat Developers List <dev@tomcat.apache.org>
Re: svn commit: r1816544 - 
/tomcat/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java


2017-11-28 17:04 GMT+03:00 Martin Grigorov <mgrigo...@apache.org>:
> On Tue, Nov 28, 2017 at 3:52 PM, <hux...@apache.org> wrote:
>
>> Author: huxing
>> Date: Tue Nov 28 13:52:58 2017
>> New Revision: 1816544
>>
>> URL: http://svn.apache.org/viewvc?rev=1816544=rev
>> Log:
>> Change file encoding to UTF-8
>>
>> Modified:
>> tomcat/trunk/test/org/apache/tomcat/websocket/
>> TestWebSocketFrameClient.java
>>
>> Modified: tomcat/trunk/test/org/apache/tomcat/websocket/
>> TestWebSocketFrameClient.java
>> URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/
>> tomcat/websocket/TestWebSocketFrameClient.java?rev=1816544=1816543=
>> 1816544=diff
>> 
>> ==
>> --- 
>> tomcat/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java
>> (original)
>> +++ 
>> tomcat/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java
>> Tue Nov 28 13:52:58 2017
>> @@ -145,7 +145,7 @@ public class TestWebSocketFrameClient ex
>>  SecurityCollection collection = new SecurityCollection();
>>  collection.addPatternDecoded("/");
>>  String utf8User = "test";
>> -String utf8Pass = "123£";
>> +String utf8Pass = "123£";
>>
>
> The old value looked better.

It would be safer to use \u for non-ASCII characters in strings to
avoid depending on IDE encoding preference.
(\u00A3 for the pound currency character here.)

Though it is likely that we have already used UTF-8 chars elsewhere.

>>  tomcat.addUser(utf8User, utf8Pass);
>>  tomcat.addRole(utf8User, ROLE);
>>

Best regards,
Konstantin Kolinko

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

Re: [VOTE] Release Apache Tomcat 8.5.24

2017-11-28 Thread Huxing Zhang
Thanks, I will give it a try.

--
Konstantin Kolinko <knst.koli...@gmail.com>
2017 Nov 29 (Wed) 00:30
Tomcat Developers List <dev@tomcat.apache.org>; Huxing 
<huxing@alibaba-inc.com>
Re: [VOTE] Release Apache Tomcat 8.5.24


2017-11-28 18:08 GMT+03:00 Huxing Zhang <huxing@alibaba-inc.com>:
> Hi,
>
> I am wondering that is there any mirror of either of the following links:
>
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.5.24/

dist/dev has no mirrors, dist/release has many mirrors

> http://svn.apache.org/repos/asf/tomcat/tc8.5.x/tags/TOMCAT_8_5_24/

svn-us.apache.org, svn-eu.apache.org  (usable with https:),
formerly svn.us.apache.org, svn.eu.apache.org (causes certificate name
mismatch warning with https)

Tomcat 8.5 is also mirrored to Git

> Recently the download speed gets unbelievably slow, (sometimes <1KB/s)...


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



Re: [VOTE] Release Apache Tomcat 8.5.24

2017-11-28 Thread Huxing Zhang
Hi, 

I am wondering that is there any mirror of either of the following links:

https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.5.24/
http://svn.apache.org/repos/asf/tomcat/tc8.5.x/tags/TOMCAT_8_5_24/

Recently the download speed gets unbelievably slow, (sometimes <1KB/s)...

--
Mark Thomas 
2017 Nov 27 (Mon) 21:46
Tomcat Developers List 
[VOTE] Release Apache Tomcat 8.5.24


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

The major changes compared to the 8.5.23 release are:

- Java 9 is fully supported

- Fixed a number of HTTP/2 issues

- Fixed numerous JASPIC issues with patches from Lazar

- Update the packaged version of the Tomcat Native Library to
  1.2.16 to pick up the latest Windows binaries built with
  APR 1.6.3 and OpenSSL 1.0.2m


Along with lots of other bug fixes and improvements.


It can be obtained from:
https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.5.24/
The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-1161/
The svn tag is:
http://svn.apache.org/repos/asf/tomcat/tc8.5.x/tags/TOMCAT_8_5_24/

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

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

Re: svn commit: r1816544 - /tomcat/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java

2017-11-28 Thread Huxing Zhang
Hi Martin,

As Mark said, there is something wrong with the text in the mailing list.
I changed the encoding because my laptop (default encoding as UTF-8) complains 
with the following error when compiling this class:

Error:(148, 31) java: unmappable character (0xA3) for encoding UTF-8

--
Mark Thomas <ma...@apache.org>
2017 Nov 28 (Tue) 22:16
Tomcat Developers List <dev@tomcat.apache.org>
Re: svn commit: r1816544 - 
/tomcat/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java


On 28/11/17 14:04, Martin Grigorov wrote:
> On Tue, Nov 28, 2017 at 3:52 PM, <hux...@apache.org> wrote:
> 
>> Author: huxing
>> Date: Tue Nov 28 13:52:58 2017
>> New Revision: 1816544
>>
>> URL: http://svn.apache.org/viewvc?rev=1816544=rev
>> Log:
>> Change file encoding to UTF-8
>>
>> Modified:
>> tomcat/trunk/test/org/apache/tomcat/websocket/
>> TestWebSocketFrameClient.java
>>
>> Modified: tomcat/trunk/test/org/apache/tomcat/websocket/
>> TestWebSocketFrameClient.java
>> URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/
>> tomcat/websocket/TestWebSocketFrameClient.java?rev=1816544=1816543=
>> 1816544=diff
>> 
>> ==
>> --- 
>> tomcat/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java
>> (original)
>> +++ 
>> tomcat/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java
>> Tue Nov 28 13:52:58 2017
>> @@ -145,7 +145,7 @@ public class TestWebSocketFrameClient ex
>>  SecurityCollection collection = new SecurityCollection();
>>  collection.addPatternDecoded("/");
>>  String utf8User = "test";
>> -String utf8Pass = "123£";
>> +String utf8Pass = "123£";
>>
> 
> The old value looked better.

It looks OK on my (UTF-8 by default) system. From memory something in
the svn diff -> mailing list process mangles UTF-8 text.

Mark


> 
> 
>>
>>  tomcat.addUser(utf8User, utf8Pass);
>>  tomcat.addRole(utf8User, ROLE);
>>
>>
>>
>> -
>> 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
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: [VOTE] Release Apache Tomcat 9.0.2

2017-11-28 Thread Huxing Zhang
Hi, 

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

Unit test passed on JDK8, but failed on JDK9:

Testsuite: org.apache.tomcat.util.scan.TestStandardJarScanner
Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.397 sec

Testcase: testWebappClassPath took 0.276 sec
FAILED
Unexpected class loader type: jdk.internal.loader.ClassLoaders$AppClassLoader
junit.framework.AssertionFailedError: Unexpected class loader type: 
jdk.internal.loader.ClassLoaders$AppClassLoader
at 
org.apache.tomcat.util.scan.TestStandardJarScanner.testWebappClassPath(TestStandardJarScanner.java:74)
at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

Testcase: skipsInvalidClasspathURLNoFilePartNoFileScheme took 0.068 sec

This is because jdk.internal.loader.ClassLoaders$AppClassLoader is no longer a 
sub class or URLClassLoader from JDK9, I can't find a easy way to work it 
around except for using reflection.

Examples runs fine under both JDK8 and JDK9.

Our test web application runs fine on JDK8, but failed on JDK9 (it is not a 
tomcat issue.)

--
Mark Thomas 
2017 Nov 26 (Sun) 05:36
Tomcat Developers List 
[VOTE] Release Apache Tomcat 9.0.2


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

The major changes compared to the 9.0.1 release are:

- Java 9 is fully supported

- Fixed numerous JASPIC issues with patches from Lazar

- Update the packaged version of the Tomcat Native Library to
  1.2.16 to pick up the latest Windows binaries built with
  APR 1.6.3 and OpenSSL 1.0.2m

Along with lots of other bug fixes and improvements.


For full details, see the changelog:
http://svn.apache.org/repos/asf/tomcat/trunk/webapps/docs/changelog.xml

It can be obtained from:
https://dist.apache.org/repos/dist/dev/tomcat/tomcat-9/v9.0.2/
The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-1160/
The svn tag is:
http://svn.apache.org/repos/asf/tomcat/tags/TOMCAT_9_0_2/

The proposed 9.0.2 release is:
[ ] Broken - do not release
[ ] Alpha  - go ahead and release as 9.0.2
[ ] Beta   - go ahead and release as 9.0.2
[ ] Stable - go ahead and release as 9.0.2

-
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: r1816544 - /tomcat/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java

2017-11-28 Thread huxing
Author: huxing
Date: Tue Nov 28 13:52:58 2017
New Revision: 1816544

URL: http://svn.apache.org/viewvc?rev=1816544=rev
Log:
Change file encoding to UTF-8

Modified:
tomcat/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java

Modified: 
tomcat/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java?rev=1816544=1816543=1816544=diff
==
--- tomcat/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java 
(original)
+++ tomcat/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java 
Tue Nov 28 13:52:58 2017
@@ -145,7 +145,7 @@ public class TestWebSocketFrameClient ex
 SecurityCollection collection = new SecurityCollection();
 collection.addPatternDecoded("/");
 String utf8User = "test";
-String utf8Pass = "123£";
+String utf8Pass = "123£";
 
 tomcat.addUser(utf8User, utf8Pass);
 tomcat.addRole(utf8User, ROLE);



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



Re: Java 9, modularisation and build systems

2017-10-09 Thread Huxing Zhang
Maven has another advantage that it provides a centralized repository for 
dependencies, which can be easily mirrored.
The current build process for Tomcat requires different repositories such as:
- apache.org(mirrors available)
- archive.apache.org(mirrors unavailable, access unstable)
- maven repo(mirrors available)
- sourceforge.net (mirrors available, access unstable)

which makes it incredibly slow for a clean build of tomcat in countries like 
China, making new comers difficult to start.
--
Mark Thomas 
2017 Oct 6 (Fri) 16:18
Tomcat Developers List 
Java 9, modularisation and build systems


Hi all,

As you have probably seen, I've been working on improving Java 9
support. The current TODO list is:

- module path scanning
- handling multi-release JARs in the JarScanner

I've been looking at the module path scanning and while there are
various approaches, they all make fairly heavy use of Java 9 APIs.
Implementing them via the existing JreCompat approach is going to
require a lot of reflection. That got me thinking about the obvious
alternative: multi-release JARs.

Handling multi-release JARs is going to require some changes / additions
to the build process and source layout. That reminded me of a comment
that Rémy made at TomcatCon in London regarding modularisation and build
tools and whether we wanted to do things differently. If we want to make
changes in that area it probably makes sense to make them now - hence
this e-mail.

Modularisation and build tools are inter-related so I think it makes
sense to discuss them together. Hence this thread.

I'm going to start with what I think is the easy one: Modularisation.

Tomcat is already modular. You can remove some features (JSP, WebSocket,
clustering?, store-config?) simply by removing the JARs. Do we want to
take this further? Nothing immediately springs to mind hence the fairly
open question: what changes could we implement to make Tomcat more
modular and how would those changes benefit our users?

The build tools aspect has, historically, been the area where fairly
strong opinions have been expressed.

The argument against Ant is that it isn't as well known amongst
prospective new contributors as other tools and hence creates a barrier
to contributing that harms the community. The argument for Ant is that
it works, it isn't causing any pain points and it has the flexibility to
handle all aspects of our build.

The usual candidate for an alternative build system is Maven. The
argument for Maven is that it is more widely known and hence easier to
get started with. The argument against is broadly that Maven is very
opinionated and they way Tomcat currently does things is not consistent
with what Maven expects and some things (e.g. the Windows installer) are
well outside the typical Maven build. Therefore switching to Maven would
require a fair amount of effort.

I'd like to suggest a third alternative: Gradle. The argument for Gradle
is that it can boot-strap itself so, unlike Ant, a new user doesn't need
to download the build tool. Gradle can also import Ant build files so we
could start with a simple Gradle script that simply imported the current
Ant script and then migrate slowly over time. The argument against is
that it isn't as widely known as Maven.


My own views are neutral at this point on modularisation. I don't have
any immediate suggestions for changes but I'd like to hear what ideas
others have. On build systems, I'm not convinced that the benefits of
switching to Maven justify the costs. Gradle looks promising and I do
like the boot-strapping feature. If there was consensus to move to
Gradle, I'd be willing to help that process.


Mark

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

svn commit: r1811528 - in /tomcat/site/trunk: docs/whichversion.html xdocs/whichversion.xml

2017-10-08 Thread huxing
Author: huxing
Date: Mon Oct  9 03:49:01 2017
New Revision: 1811528

URL: http://svn.apache.org/viewvc?rev=1811528=rev
Log:
Servlet 4.0 has been finalized.

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

Modified: tomcat/site/trunk/docs/whichversion.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/whichversion.html?rev=1811528=1811527=1811528=diff
==
--- tomcat/site/trunk/docs/whichversion.html (original)
+++ tomcat/site/trunk/docs/whichversion.html Mon Oct  9 03:49:01 2017
@@ -441,10 +441,9 @@ run stably for extended periods of time.
 
 
 Apache Tomcat 9.x is the current focus of development. It
-builds on Tomcat 8.0.x and 8.5.x and implements the current draft of the 
Servlet
-4.0 specification and also the
-JSP 2.3, EL 3.0, WebSocket 1.1
- and JASPIC 1.1  specifications (the versions 
required by
+builds on Tomcat 8.0.x and 8.5.x and implements the Servlet
+4.0, JSP 2.3, EL 3.0, 
WebSocket 1.1
+ and JASPIC 1.1 specifications (the versions 
required by
 Java EE 8 platform). In addition to this, it includes
 the following significant improvements:
 

Modified: tomcat/site/trunk/xdocs/whichversion.xml
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/whichversion.xml?rev=1811528=1811527=1811528=diff
==
--- tomcat/site/trunk/xdocs/whichversion.xml (original)
+++ tomcat/site/trunk/xdocs/whichversion.xml Mon Oct  9 03:49:01 2017
@@ -192,10 +192,9 @@ run stably for extended periods of time.
 
 
 Apache Tomcat 9.x is the current focus of development. It
-builds on Tomcat 8.0.x and 8.5.x and implements the current draft of the 
Servlet
-4.0 specification and also the
-JSP 2.3, EL 3.0, WebSocket 1.1
- and JASPIC 1.1  specifications (the versions 
required by
+builds on Tomcat 8.0.x and 8.5.x and implements the Servlet
+4.0, JSP 2.3, EL 3.0, 
WebSocket 1.1
+ and JASPIC 1.1 specifications (the versions 
required by
 Java EE 8 platform). In addition to this, it includes
 the following significant improvements:
 



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

2017-10-01 Thread Huxing Zhang
Hi

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

Unit test passed.
Test web application works fine.

--
Violeta Georgieva 
2017 Sep 29 (Fri) 21:16
Tomcat Developers List 
[VOTE] Release Apache Tomcat 7.0.82


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

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

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

Regards,
Violeta

Re: [VOTE] Release Apache Tomcat 8.5.23

2017-09-29 Thread Huxing Zhang
Hi,

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

* Unit test passed.
* Test web application works fine.
* Tested clean tomcat running under JDK9: ok, but with following message during 
stop:
29-Sep-2017 20:36:09.474 INFO [Thread-3] 
org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler 
["http-nio-8180"]
29-Sep-2017 20:36:09.532 INFO [Thread-3] 
org.apache.catalina.core.StandardService.stopInternal Stopping service 
[Catalina]
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by 
org.apache.catalina.loader.WebappClassLoaderBase 
(file:/home/admin/tomcat/apache-tomcat80/svn/8.5.23/output/build/lib/catalina.jar)
 to field java.lang.Thread.threadLocals
WARNING: Please consider reporting this to the maintainers of 
org.apache.catalina.loader.WebappClassLoaderBase
WARNING: Use --illegal-access=warn to enable warnings of further illegal 
reflective access operations
WARNING: All illegal access operations will be denied in a future release
* Tested clean tomcat running under JDK9: ok, but with the same warning message 
shown above

--
Mark Thomas 
2017 Sep 28 (Thu) 19:21
Tomcat Developers List 
[VOTE] Release Apache Tomcat 8.5.23


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

The major changes compared to the 8.5.21 release are:

- Fix CVE-2017-12617

- Add ExtractingRoot, a new WebResourceRoot implementation that extracts
  JARs to the work directory for improved performance when deploying
  packed WAR files.

Along with lots of other bug fixes and improvements.


It can be obtained from:
https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.5.23/
The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-1157/
The svn tag is:
http://svn.apache.org/repos/asf/tomcat/tc8.5.x/tags/TOMCAT_8_5_23/

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

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

2017-09-28 Thread Huxing Zhang
Hi,

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

Unit test passed.
Test web application works fine.
Tested clean tomcat running on JDK9: ok
Tested clean tomcat running on JDK9 with security manager: ok
--
Mark Thomas 
2017 Sep 28 (Thu) 02:43
Tomcat Developers List 
[VOTE] Release Apache Tomcat 9.0.1


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

The major changes compared to the 9.0.0.M27 release are:

- Fix CVE-2017-12617

- Servlet 4.0 implementation is complete

- Add the ability to reconfigure TLS connectors at runtime without
  stopping the connector

- Stricter validation of the Host header

Along with lots of other bug fixes and improvements.


For full details, see the changelog:
http://svn.apache.org/repos/asf/tomcat/trunk/webapps/docs/changelog.xml

It can be obtained from:
https://dist.apache.org/repos/dist/dev/tomcat/tomcat-9/v9.0.1/
The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-1156/
The svn tag is:
http://svn.apache.org/repos/asf/tomcat/tags/TOMCAT_9_0_1/

The proposed 9.0.1 release is:
[ ] Broken - do not release
[ ] Alpha  - go ahead and release as 9.0.1
[ ] Beta   - go ahead and release as 9.0.1
[ ] Stable - go ahead and release as 9.0.1

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

Re: [PROPOSAL] Deprecate and eventually remove the o.a.c.servlet4preview package in 8.5.x

2017-09-27 Thread Huxing Zhang
+1 to remove the preview packages.

--
Mark Thomas 
2017 Sep 28 (Thu) 03:08
Tomcat Developers List 
[PROPOSAL] Deprecate and eventually remove the o.a.c.servlet4preview package in 
8.5.x


All,

I'd like to propose removing this for the following reasons:

1. Now the Servlet 4.0 spec is final, users can use Tomcat 9 for Servlet
4.0 features.

2. The preview is not complete and may be out of date in places.

3. I'm not aware of any user feedback so usage seems to be very low.

My proposal is to deprecate it now with the intention to remove it after
a year.

As an alternative is deprecate it now with the intention to remove it 1
year after the first stable 9.0.x release.

Thoughts? Comments? Questions?

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 8.5.22

2017-09-24 Thread Huxing Zhang
Hi,

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

Unit test passed.
Tested on our web application and it works fine.

--
Mark Thomas 
2017 Sep 23 (Sat) 04:34
Tomcat Developers List 
[VOTE] Release Apache Tomcat 8.5.22


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

The major changes compared to the 8.5.21 release are:

- Fix CVE-2017-12617

- Add ExtractingRoot, a new WebResourceRoot implementation that extracts
  JARs to the work directory for improved performance when deploying
  packed WAR files.

Along with lots of other bug fixes and improvements.


It can be obtained from:
https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.5.22/
The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-1155/
The svn tag is:
http://svn.apache.org/repos/asf/tomcat/tc8.5.x/tags/TOMCAT_8_5_22/

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

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

Re: [VOTE] Release Apache Tomcat 9.0.0.M27

2017-09-19 Thread Huxing Zhang
Hi, here is my test result,  although the vote has finished:

The proposed 9.0.0.M27 release is:
[ ] Broken - do not release
[ X ] Alpha - go ahead and release as 9.0.0.M27

Unit test passed.
Our web application works fine.
--
Mark Thomas 
2017 Sep 14 (Thu) 02:49
Tomcat Developers List 
[VOTE] Release Apache Tomcat 9.0.0.M27


The proposed Apache Tomcat 9.0.0.M27 release is now available for voting.

This is a milestone release for the 9.0.x branch. It should be
noted that, as a milestone release:
- Servlet 4.0 is not finalised
- It is not known if there will be a minor maintenance release for
  JSP 2.4, EL 3.1 or WebSocket 1.2

The major changes compared to the 9.0.0.M26 release are:

- Additional capabilities for the CGI Servlet. Based on patches provided
  by jm009.

- Added support for the OpenSSL SSL_CONF API. To support this the
  minimum required Tomcat Native version is 1.2.14.

Along with lots of other bug fixes and improvements.


For full details, see the changelog:
http://svn.apache.org/repos/asf/tomcat/trunk/webapps/docs/changelog.xml

It can be obtained from:
https://dist.apache.org/repos/dist/dev/tomcat/tomcat-9/v9.0.0.M27/
The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-1152/
The svn tag is:
http://svn.apache.org/repos/asf/tomcat/tags/TOMCAT_9_0_0_M27/

The proposed 9.0.0.M27 release is:
[ ] Broken - do not release
[ ] Alpha - go ahead and release as 9.0.0.M27

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

2017-08-14 Thread Huxing Zhang
Hi
The proposed 7.0.81 release is:
[ ] Broken - do not release
[ X ] Stable - go ahead and release as 7.0.81 Stable

Unit test passed.
Our test web application works fine.

--
Violeta Georgieva 
2017 Aug 11 (Fri) 19:14
Tomcat Developers List 
[VOTE] Release Apache Tomcat 7.0.81


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

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

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

Regards,
Violeta

Re: [VOTE] Release Apache Tomcat 8.5.20

2017-08-07 Thread Huxing Zhang
Hi,

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

Unit test passed.
Our test web application works fine.

--
From:Mark Thomas 
Time:2017 Aug 3 (Thu) 06:10
To:Tomcat Developers List 
Subject:[VOTE] Release Apache Tomcat 8.5.20


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

The major changes compared to the 8.5.16 release are:

- Enable TLS connectors to use Java key stores that contain multiple
  keys where each key has a separate password. Based on a patch by Frank
  Taffelt.

- Make asynchronous error handling more robust. In particular ensure
  that onError() is called for any registered AsyncListeners after an
  I/O error on a non-container thread.

- Sync SSL session access for the APR connector to prevent errors when
  accessing the session.


Along with lots of other bug fixes and improvements.


It can be obtained from:
https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.5.20/
The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-1148/
The svn tag is:
http://svn.apache.org/repos/asf/tomcat/tc8.5.x/tags/TOMCAT_8_5_20/

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

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

Re: [VOTE] Release Apache Tomcat 9.0.0.M25

2017-07-25 Thread Huxing Zhang
The proposed 9.0.0.M25 release is:
[ ] Broken - do not release
[ X ] Alpha - go ahead and release as 9.0.0.M25

Unit test passed.
Our test web application runs fine.

--
From:Mark Thomas 
Time:2017 Jul 25 (Tue) 07:19
To:Tomcat Developers List 
Subject:[VOTE] Release Apache Tomcat 9.0.0.M25


The proposed Apache Tomcat 9.0.0.M25 release is now available for voting.

This is a milestone release for the 9.0.x branch. It should be
noted that, as a milestone release:
- Servlet 4.0 is not finalised
- The EGs have not started work on JSP 2.4, EL 3.1 or WebSocket 1.2/2.0

Note that the 9.0.0.M23 and 9.0.0.M24 release votes were cancelled due
to regressions.

The major changes compared to the 9.0.0.M22 release are:

- Correct a regression in 9.0.0.M22 that prevented Tomcat from shutting
  down cleanly.

- Add LoadBalancerDrainingValve, a Valve designed to reduce the amount
  of time required for a node to drain its authenticated users.

- When generating JSP runtime error messages that quote the relevant JSP
  source code, switch from using the results of the JSP page parsing
  process to using the JSR 045 source map data to identify the correct
  part of the JSP source from the stack trace. This significantly
  reduces the memory footprint of Jasper in development mode, provides a
  small performance improvement for error page generation and enables
  source quotes to continue to be provided after a Tomcat restart.

- Add support for a Tomcat specific deployment descriptor,
  /WEB-INF/tomcat-web.xml

- Add ExtractingRoot, a new WebResourceRoot implementation that extracts
  JARs to the work directory for improved performance when deploying
  packed WAR files.

Along with lots of other bug fixes and improvements.


For full details, see the changelog:
http://svn.apache.org/repos/asf/tomcat/trunk/webapps/docs/changelog.xml

It can be obtained from:
https://dist.apache.org/repos/dist/dev/tomcat/tomcat-9/v9.0.0.M25/
The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-1145/
The svn tag is:
http://svn.apache.org/repos/asf/tomcat/tags/TOMCAT_9_0_0_M25/

The proposed 9.0.0.M25 release is:
[ ] Broken - do not release
[ ] Alpha - go ahead and release as 9.0.0.M25

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

Re: [VOTE] Release Apache Tomcat 9.0.0.M24

2017-07-19 Thread Huxing Zhang
The proposed 9.0.0.M24 release is:
[ ] Broken - do not release
[ X ] Alpha - go ahead and release as 9.0.0.M24

Unit test passed.
Our test web application runs fine.
New feature tomcat-web.xml works fine.

--
From:Mark Thomas 
Time:2017 Jul 18 (Tue) 19:43
To:Tomcat Developers List 
Subject:[VOTE] Release Apache Tomcat 9.0.0.M24


The proposed Apache Tomcat 9.0.0.M24 release is now available for voting.

This is a milestone release for the 9.0.x branch. It should be
noted that, as a milestone release:
- Servlet 4.0 is not finalised
- The EGs have not started work on JSP 2.4, EL 3.1 or WebSocket 1.2/2.0

Note that the 9.0.0.M23 release vote was cancelled due to a regression.

The major changes compared to the 9.0.0.M22 release are:

- Correct a regression in 9.0.0.M22 that prevented Tomcat from shutting
  down cleanly.

- Add LoadBalancerDrainingValve, a Valve designed to reduce the amount
  of time required for a node to drain its authenticated users.

- When generating JSP runtime error messages that quote the relevant JSP
  source code, switch from using the results of the JSP page parsing
  process to using the JSR 045 source map data to identify the correct
  part of the JSP source from the stack trace. This significantly
  reduces the memory footprint of Jasper in development mode, provides a
  small performance improvement for error page generation and enables
  source quotes to continue to be provided after a Tomcat restart.

- Add support for a Tomcat specific deployment descriptor,
  /WEB-INF/tomcat-web.xml

Along with lots of other bug fixes and improvements.


For full details, see the changelog:
http://svn.apache.org/repos/asf/tomcat/trunk/webapps/docs/changelog.xml

It can be obtained from:
https://dist.apache.org/repos/dist/dev/tomcat/tomcat-9/v9.0.0.M24/
The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-1143/
The svn tag is:
http://svn.apache.org/repos/asf/tomcat/tags/TOMCAT_9_0_0_M24/

The proposed 9.0.0.M24 release is:
[ ] Broken - do not release
[ ] Alpha - go ahead and release as 9.0.0.M24

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

Incorrect tag name "TONCAT_9_0_0_M23" in github mirror

2017-07-19 Thread Huxing Zhang
Hi,

I've noticed that there is a incorrect tag name "TONCAT_9_0_0_M23"  in github 
mirror:

https://github.com/apache/tomcat/tree/TONCAT_9_0_0_M23

I've checked the svn repo, looks like it has been corrected already:

https://svn.apache.org/viewvc/tomcat/tags/

It seems that the change in svn repo is not synced to github mirror.

Any idea how to fix that?
---
Thanks,
Huxing

svn commit: r1801412 - in /tomcat/site/trunk: docs/presentations.html xdocs/presentations.xml

2017-07-09 Thread huxing
Author: huxing
Date: Mon Jul 10 04:57:26 2017
New Revision: 1801412

URL: http://svn.apache.org/viewvc?rev=1801412=rev
Log:
Add TomcatCon audio recordings links.

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

Modified: tomcat/site/trunk/docs/presentations.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/presentations.html?rev=1801412=1801411=1801412=diff
==
--- tomcat/site/trunk/docs/presentations.html (original)
+++ tomcat/site/trunk/docs/presentations.html Mon Jul 10 04:57:26 2017
@@ -268,57 +268,66 @@ mailing list.
   
 
 State of the Cat - Mark Thomas,
-http://people.apache.org/~markt/presentations/2017-05-16-a-state-of-the-cat.pdf;>slides
+http://people.apache.org/~markt/presentations/2017-05-16-a-state-of-the-cat.pdf;>slides,
+https://feathercast.apache.org/2017/05/30/apachecon-miami-2017-state-of-the-cat-mark-thomas-pivotal-tomcatcon-mark-thomas/;>audio
   
 
   
 
 Seamless Upgrades for Credential Security in Apache Tomcat - Christopher 
Schultz,
 http://people.apache.org/~schultz/ApacheCon%20NA%202017/Seamless%20Upgrades%20for%20Credential%20Security%20in%20Apache%20Tomcat.pdf;>slides,
-http://people.apache.org/~schultz/ApacheCon%20NA%202017/;>sample 
code
+http://people.apache.org/~schultz/ApacheCon%20NA%202017/;>sample 
code,
+https://feathercast.apache.org/2017/05/30/apachecon-miami-2017-seamless-upgrades-for-credential-security-in-apache-tomcat-christopher-schultz/;>audio
   
 
   
 
 Introduction to Tomcat and TLS - Mark Thomas,
-http://people.apache.org/~markt/presentations/2017-05-16-b-tomcat-ssl.pdf;>slides
+http://people.apache.org/~markt/presentations/2017-05-16-b-tomcat-ssl.pdf;>slides,
+https://feathercast.apache.org/2017/05/30/apachecon-miami-2017-apache-tomcat-and-ssl-mark-thomas/;>audio
   
 
   
 
 Let's Encrypt Apache Tomcat - Christopher Schultz,
 http://people.apache.org/~schultz/ApacheCon%20NA%202017/Let's%20Encrypt%20Apache%20Tomcat.pdf">slides,
-http://people.apache.org/~schultz/ApacheCon%20NA%202017/;>sample 
code
+http://people.apache.org/~schultz/ApacheCon%20NA%202017/;>sample 
code,
+https://feathercast.apache.org/2017/05/30/apachecon-miami-2017-lets-encrypt-apache-tomcat-christopher-schultz/;>audio
   
 
   
 
 Securing Tomcat for your environment - Mark Thomas,
-http://people.apache.org/~markt/presentations/2017-05-16-c-securing-tomcat.pdf;>slides
+http://people.apache.org/~markt/presentations/2017-05-16-c-securing-tomcat.pdf;>slides,
+https://feathercast.apache.org/2017/05/30/apachecon-miami-2017-securing-tomcat-for-your-environment-mark-thomas/;>audio
   
 
   
 
 Tomcat and Proxies - Jean-Frederic Clere,
-http://schd.ws/hosted_files/apachecon2017/38/TomcatProxies.pdf;>slides
+http://schd.ws/hosted_files/apachecon2017/38/TomcatProxies.pdf;>slides,
+https://feathercast.apache.org/2017/05/30/apachecon-miami-2017-tomcat-and-proxies-jean-frederic-clere/;>audio
   
 
   
 
 Load balancing - Mark Thomas,
-http://people.apache.org/~markt/presentations/2017-05-17-d-tomcat-load-balancing.pdf;>slides
+http://people.apache.org/~markt/presentations/2017-05-17-d-tomcat-load-balancing.pdf;>slides,
+https://feathercast.apache.org/2017/05/30/apachecon-miami-2017-tomcat-clustering-part-2-load-balancing-mark-thomas/;>audio
   
 
   
 
 Tomcat Clustering - Keiichi Fujino,
-http://events.linuxfoundation.org/sites/events/files/slides/TomcatCluster_3.pdf;>slides
+http://events.linuxfoundation.org/sites/events/files/slides/TomcatCluster_3.pdf;>slides,
+https://feathercast.apache.org/2017/05/30/apachecon-miami-2017-tomcat-clustering-keiichi-fujino/;>audio
   
 
   
 
 The Challenges Tomcat Faces in High Throughput Production System - Huxing 
Zhang,
-http://events.linuxfoundation.org/sites/events/files/slides/TomcatCon2017.pdf;>slides
+http://events.linuxfoundation.org/sites/events/files/slides/TomcatCon2017.pdf;>slides,
+https://feathercast.apache.org/2017/05/30/apachecon-miami-2017-the-challenges-tomcat-faces-in-high-throughput-production-system-and-how-to-solve-it-huxing-zhang/;>audio
   
 
   
@@ -331,48 +340,48 @@ mailing list.
 
 How I Stopped Worrying and Learned to Love Open Source - David Cleary,
 http://events.linuxfoundation.org/sites/events/files/slides/StopWorrying.pdf;>slides,
-https://www.youtube.com/watch?v=FjD268R-obslist=PLbzoR-pLrL6pLDCyPxByWQwYTL-JrF5Rpindex=56;>recording
+https://www.youtube.com/watch?v=FjD268R-obslist=PLbzoR-pLrL6pLDCyPxByWQwYTL-JrF5Rpindex=56;>video
   
 
   
 
 Packaging Tomcat for Linux Distributions - Coty Sutherland,
 http://schd.ws/hosted_files/apachecon2017/f1/packaging-tomcat-for-linux-distributions.pdf;>slides,
-https://

Re: [VOTE] Release Apache Tomcat 8.5.17

2017-07-09 Thread Huxing Zhang
Hi,

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

Unit test passed.
Our test web application works fine.
--
From:Mark Thomas 
Time:2017 Jul 4 (Tue) 16:40
To:Tomcat Developers List 
Subject:[VOTE] Release Apache Tomcat 8.5.17


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

The major changes compared to the 8.5.17 release are:

- Make asynchronous error handling more robust. In particular ensure
  that onError() is called for any registered AsyncListeners after an
  I/O error on a non-container thread.

- Correct a regression in 9.0.0.M22 that prevented Tomcat from shutting
  down cleanly.

- Sync SSL session access for the APR connector to prevent errors when
  accessing the session.


Along with lots of other bug fixes and improvements.


It can be obtained from:
https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.5.17/
The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-1142/
The svn tag is:
http://svn.apache.org/repos/asf/tomcat/tc8.5.x/tags/TOMCAT_8_5_17/

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

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

Re: [VOTE] Release Apache Tomcat 9.0.0.M23

2017-07-06 Thread Huxing Zhang
Hi,

The proposed 9.0.0.M23 release is:
[ ] Broken - do not release
[ X ] Alpha - go ahead and release as 9.0.0.M23

Unit test passed.
Our test web app works fine.

--
From:Mark Thomas 
Time:2017 Jul 4 (Tue) 16:19
To:Tomcat Developers List 
Subject:[VOTE] Release Apache Tomcat 9.0.0.M23


The proposed Apache Tomcat 9.0.0.M23 release is now available for voting.

This is a milestone release for the 9.0.x branch. It should be
noted that, as a milestone release:
- Servlet 4.0 is not finalised
- The EGs have not started work on JSP 2.4, EL 3.1 or WebSocket 1.2/2.0

The major changes compared to the 9.0.0.M22 release are:

- Correct a regression in 9.0.0.M22 that prevented Tomcat from shutting
  down cleanly.

- Add LoadBalancerDrainingValve, a Valve designed to reduce the amount
  of time required for a node to drain its authenticated users.

- When generating JSP runtime error messages that quote the relevant JSP
  source code, switch from using the results of the JSP page parsing
  process to using the JSR 045 source map data to identify the correct
  part of the JSP source from the stack trace. This significantly
  reduces the memory footprint of Jasper in development mode, provides a
  small performance improvement for error page generation and enables
  source quotes to continue to be provided after a Tomcat restart.

Along with lots of other bug fixes and improvements.


For full details, see the changelog:
http://svn.apache.org/repos/asf/tomcat/trunk/webapps/docs/changelog.xml

It can be obtained from:
https://dist.apache.org/repos/dist/dev/tomcat/tomcat-9/v9.0.0.M23/
The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-1141/
The svn tag is:
http://svn.apache.org/repos/asf/tomcat/tags/TOMCAT_9_0_0_M23/

The proposed 9.0.0.M23 release is:
[ ] Broken - do not release
[ ] Alpha - go ahead and release as 9.0.0.M23

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

Re: ApacheCon slides with .odp extension

2017-07-05 Thread Huxing Zhang
Hi Chris,

Works for me, thanks!

--
From:Christopher Schultz <ch...@christopherschultz.net>
Time:2017 Jul 5 (Wed) 23:47
To:dev <dev@tomcat.apache.org>
Subject:Re: ApacheCon slides with .odp extension


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Huxing,

On 6/20/17 10:48 PM, Huxing Zhang wrote:
> These two pdf files are not accessible to me: 
> http://people.apache.org/~schultz/ApacheCon%20NA%202017/Let's%20Encryp
t%20Apache%20Tomcat.pdf
>
> 
http://people.apache.org/~schultz/ApacheCon%20NA%202017/Seamless%20Upgra
des%20for%20Credential%20Security%20in%20Apache%20Tomcat.pdf
> 
> I got 403 FORBIDDEN for the above links.

Apologies for the late reply: the permissions on these files have been
corrected.

I'm also going to be changing the public URLs to the presentations to
be the .pdf versions.

Thanks,
- -chris

> -- 
> From:Christopher Schultz <ch...@christopherschultz.net> Time:2017
> Jun 21 (Wed) 02:05 To:dev <dev@tomcat.apache.org> Subject:Re:
> ApacheCon slides with .odp extension
> 
> 
> Huxing,
> 
> On 6/16/17 1:40 AM, Huxing Zhang wrote:
>> Hi
>> 
>> I have noticed that some of the ApacheCon slides are in .odp
>> format:
>> 
>> 
> http://people.apache.org/~schultz/ApacheCon%20NA%202017/Seamless%20Upg
rades%20for%20Credential%20Security%20in%20Apache%20Tomcat.odp
>>
>
> 
http://people.apache.org/~schultz/ApacheCon%20NA%202017/Let's%20Encrypt%
20Apache%20Tomcat.odp
>> 
>> The .odp format does not work for me because it is for OpenOffice
>> (I
> don't have OpenOffice installed on my Mac OS), and neither Pages
> and Microsoft PowerPoint could open it.
>> 
>> I am wondering that should it be convert it to a more universal
>> format
> like pdf, so that more people can open it without any confusion.
> 
> Sorry about that... I usually convert to PDF as well. Looks like I
> idn't do it in this case. I've published the PDF versions in the
> same directory.
> 
> Thanks, -chris 
> -
>
> 
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
> 
-BEGIN PGP SIGNATURE-
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJZXQoOAAoJEBzwKT+lPKRYkssP/j14YbaWsJoiu+2nNKKTnYRv
Phj40Fw0DjnnuUEocFn9eVzYsC+MO2Rga4jjRTgWpavAEdyuZntC0vD1M9j7NY1Z
w6gZP+F5H3x3VnJgVJBrikPZKxHkivJaFHLWl/zxQEPOeNxPlVuj6M0eBsuditcU
vDvrmGtL/XscWvUaSHgWF7oIZLxJJXx2AqmQojQbUkXweW97J2/TblZaiDH9CfRF
a4NOqWtpeZzvxXSYu2CBVlK91XxmWmYqYha2/SpbCiX1IUDQjEBWFcomk07ba4mg
vBJwt9IR0dOyGQ0jxzgrdjH7H1GxGj6lIcTSlt9yIDVSyViAL/TBFPzLdQPzqAAy
V4RePhhVg+h1VFn1QhxChFgJ0A79hQZwEQTTwuhrVLTa+liBG0OeEm3z+aImYg0f
N1/XMQ4jW22hGu3SaGHCo37AlkEYTewfhNZ6no9aKlvtDjH+yRKJBphbJ0pp3flY
GC4J5u6jkrOrkyBNvFykcbtKMMs2fCBacCRdrmhKdXkqq/ZaJhZGTuoMqjCTZAvM
ij39Nyp4/UnvC3LvjYsAK+fBlBZTLUvKuJrCZDcO6ah9d7ELD/k/UxMPOmwb0ETD
GWYpQQphF2cu4x40041A50weP1WKSeQOV4aoKKbnGahgrWJ3GhC5QzPQBENyO1PY
k3t0e/ua53ASYTt9jZUy
=7eVk
-END PGP SIGNATURE-

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

2017-06-27 Thread Huxing Zhang
Hi,

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

Unit test passed.
Test web application works fine.

--
From:Violeta Georgieva 
Time:2017 Jun 27 (Tue) 01:22
To:Tomcat Developers List 
Subject:[VOTE] Release Apache Tomcat 7.0.79


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

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

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

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



svn commit: r1800009 - in /tomcat/trunk: java/org/apache/coyote/http11/filters/ChunkedOutputFilter.java webapps/docs/changelog.xml

2017-06-26 Thread huxing
Author: huxing
Date: Tue Jun 27 03:23:59 2017
New Revision: 189

URL: http://svn.apache.org/viewvc?rev=189=rev
Log:
Ensure to send a space between trailer field name and field value for HTTP 
responses trailer fields

Modified:
tomcat/trunk/java/org/apache/coyote/http11/filters/ChunkedOutputFilter.java
tomcat/trunk/webapps/docs/changelog.xml

Modified: 
tomcat/trunk/java/org/apache/coyote/http11/filters/ChunkedOutputFilter.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/filters/ChunkedOutputFilter.java?rev=189=188=189=diff
==
--- tomcat/trunk/java/org/apache/coyote/http11/filters/ChunkedOutputFilter.java 
(original)
+++ tomcat/trunk/java/org/apache/coyote/http11/filters/ChunkedOutputFilter.java 
Tue Jun 27 03:23:59 2017
@@ -191,6 +191,7 @@ public class ChunkedOutputFilter impleme
 }
 osw.write(trailerField.getKey());
 osw.write(':');
+osw.write(' ');
 osw.write(trailerField.getValue());
 osw.write("\r\n");
 }

Modified: tomcat/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=189=188=189=diff
==
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Tue Jun 27 03:23:59 2017
@@ -197,6 +197,10 @@
 variable for CGI executables is populated in a consistent way 
regardless
 of how the CGI servlet is mapped to a request. (markt)
   
+  
+Ensure to send a space between trailer field name and field value
+for HTTP responses trailer fields. (huxing)
+  
 
   
   



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



Re: [VOTE] 8.0.x EOL - 30 June 2018

2017-06-26 Thread Huxing Zhang
Hi,

The main reason is RFC6265 is released after IE9, and IE9 is still in our 
supported browser list (though not recommended). 
I'm personally fine with using LegacyCookieProcessor instead of 
RFC6265CookieProcessor for LEGACY issues.
However, it is not easy for an embedded Tomcat in an Spring-boot application to 
switch RFC6265CookieProcessor to LegacyCookieProcessor, unless we change the 
Spring-boot code.
I am thinking of adding an system property, e.g. 
"org.apache.tomcat.util.http.CookieProcessor", to make the process easier.

--
From:Mark Thomas <ma...@apache.org>
Time:2017 Jun 26 (Mon) 17:55
To:Tomcat Developers List <dev@tomcat.apache.org>
Subject:Re: [VOTE] 8.0.x EOL - 30 June 2018


On 26/06/17 03:19, Huxing Zhang wrote:
>> The only thing I can think of is lack of support for the BIO connectors.
>> I have an easy fix for that if there is interest. Anything else?
> 
> Also the RFC6265CookieProcessor.  We've experienced several incompatibility 
> with LegacyCookieProcessor.
> For example,  cookies with leading dot is no longer valid in 
> RFC6265CookieProcessor.

Since RFC6265 is clear that the leading '.' should not be there, I'm
reluctant to introduce a change to allow it. Unsurprisingly, it is IE
that needs the leading '.' in some cases.

We have made exceptions for IE in the past. Do we want to do that here?
LegacyCookieProcessor remains an option for those that need to support
this particular quirk of IE.

Personally, I'd prefer not to introduce a new option but I could be
persuaded to support such a change if there was sufficient demand.

Mark


> --
> From:Mark Thomas <ma...@apache.org>
> Time:2017 Jun 24 (Sat) 23:26
> To:Tomcat Developers List <dev@tomcat.apache.org>
> Subject:Re: [VOTE] 8.0.x EOL - 30 June 2018
> 
> 
> On 23/06/17 23:17, Emmanuel Bourg wrote:
>> Le 23/06/2017 à 21:15, Christopher Schultz a écrit :
>>
>>> The idea was to encourage package repository maintainers to migrate to
>>> Tomcat 8.5. If we never sundown Tomcat 8.0, they'll never move (witness
>>> the presence of Tomcat 6.0 still lurking around half the Internet).
>>
>> As far as Debian is concerned, the migration to Tomcat 8.5 did happen in
>> Debian 9. But Debian 8 users are stuck with Tomcat 8.0.x until June
>> 2020. Tomcat 8.5 isn't a drop-in replacement for Tomcat 8.0
>> unfortunately, so it's a bit difficult to push this upgrade in a stable
>> distribution.
> 
> If 8.5.x was a drop-in replacement would that make a difference?
> 
> And as a follow-up, what would need to change so 8.5.x was viewed a
> drop-in replacement?
> 
> The only thing I can think of is lack of support for the BIO connectors.
> I have an easy fix for that if there is interest. Anything else?
> 
> 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
> 


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

Re: [VOTE] 8.0.x EOL - 30 June 2018

2017-06-25 Thread Huxing Zhang
> The only thing I can think of is lack of support for the BIO connectors.
> I have an easy fix for that if there is interest. Anything else?

Also the RFC6265CookieProcessor.  We've experienced several incompatibility 
with LegacyCookieProcessor.
For example,  cookies with leading dot is no longer valid in 
RFC6265CookieProcessor.
--
From:Mark Thomas 
Time:2017 Jun 24 (Sat) 23:26
To:Tomcat Developers List 
Subject:Re: [VOTE] 8.0.x EOL - 30 June 2018


On 23/06/17 23:17, Emmanuel Bourg wrote:
> Le 23/06/2017 à 21:15, Christopher Schultz a écrit :
> 
>> The idea was to encourage package repository maintainers to migrate to
>> Tomcat 8.5. If we never sundown Tomcat 8.0, they'll never move (witness
>> the presence of Tomcat 6.0 still lurking around half the Internet).
> 
> As far as Debian is concerned, the migration to Tomcat 8.5 did happen in
> Debian 9. But Debian 8 users are stuck with Tomcat 8.0.x until June
> 2020. Tomcat 8.5 isn't a drop-in replacement for Tomcat 8.0
> unfortunately, so it's a bit difficult to push this upgrade in a stable
> distribution.

If 8.5.x was a drop-in replacement would that make a difference?

And as a follow-up, what would need to change so 8.5.x was viewed a
drop-in replacement?

The only thing I can think of is lack of support for the BIO connectors.
I have an easy fix for that if there is interest. Anything else?

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 8.5.16

2017-06-25 Thread Huxing Zhang
Hi, 

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

Unit test passed.
Our test web application works fine.

--
From:Mark Thomas 
Time:2017 Jun 22 (Thu) 05:37
To:Tomcat Developers List 
Subject:[VOTE] Release Apache Tomcat 8.5.16


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

The major changes compared to the 8.5.16 release are:

- Add a new JULI FileHandler configuration for specifying the maximum
  number of days to keep the log files. By default the log files will be
  kept 90 days.

- Improvements to enable the Manager and HostManager to work in the
  default configuration when working under a security manager

- Introduce new API o.a.tomcat.websocket.WsSession#suspend/
  o.a.tomcat.websocket.WsSession#resume that can be used to
  suspend/resume reading of the incoming messages.


It can be obtained from:
https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.5.16/
The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-1138/
The svn tag is:
http://svn.apache.org/repos/asf/tomcat/tc8.5.x/tags/TOMCAT_8_5_16/

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

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

Re: svn commit: r1799653 - /tomcat/trunk/test/org/apache/coyote/http2/TestStream.java

2017-06-23 Thread Huxing Zhang
Mark, thanks for the fix!

> On 23 Jun 2017, at 18:29, ma...@apache.org wrote:
> 
> Author: markt
> Date: Fri Jun 23 10:29:56 2017
> New Revision: 1799653
> 
> URL: http://svn.apache.org/viewvc?rev=1799653=rev
> Log:
> Fixing typo (r1799648) changed response body length so test needed to be 
> updated.
> 
> Modified:
>tomcat/trunk/test/org/apache/coyote/http2/TestStream.java
> 
> Modified: tomcat/trunk/test/org/apache/coyote/http2/TestStream.java
> URL: 
> http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/coyote/http2/TestStream.java?rev=1799653=1799652=1799653=diff
> ==
> --- tomcat/trunk/test/org/apache/coyote/http2/TestStream.java (original)
> +++ tomcat/trunk/test/org/apache/coyote/http2/TestStream.java Fri Jun 23 
> 10:29:56 2017
> @@ -115,7 +115,7 @@ public class TestStream extends Http2Tes
> "3-Header-[content-type]-[text/plain;charset=UTF-8]\n" +
> "3-Header-[date]-[Wed, 11 Nov 2015 19:18:42 GMT]\n" +
> "3-HeadersEnd\n" +
> -"3-Body-43\n" +
> +"3-Body-44\n" +
> "3-HeadersStart\n" +
> "3-Header-[x-trailer-2]-[Trailer value two]\n" +
> "3-Header-[x-trailer-1]-[Trailer value one]\n" +
> 
> 
> 
> -
> 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: r1799648 - /tomcat/trunk/webapps/examples/WEB-INF/classes/trailers/ResponseTrailers.java

2017-06-23 Thread huxing
Author: huxing
Date: Fri Jun 23 06:33:17 2017
New Revision: 1799648

URL: http://svn.apache.org/viewvc?rev=1799648=rev
Log:
Fix typo in trailer fileds example

Modified:
tomcat/trunk/webapps/examples/WEB-INF/classes/trailers/ResponseTrailers.java

Modified: 
tomcat/trunk/webapps/examples/WEB-INF/classes/trailers/ResponseTrailers.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/classes/trailers/ResponseTrailers.java?rev=1799648=1799647=1799648=diff
==
--- 
tomcat/trunk/webapps/examples/WEB-INF/classes/trailers/ResponseTrailers.java 
(original)
+++ 
tomcat/trunk/webapps/examples/WEB-INF/classes/trailers/ResponseTrailers.java 
Fri Jun 23 06:33:17 2017
@@ -47,7 +47,7 @@ public class ResponseTrailers extends Ht
 
 PrintWriter pw  = resp.getWriter();
 
-pw.print("This reponse should include trailer fields.");
+pw.print("This response should include trailer fields.");
 }
 
 



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



Re: [VOTE] 8.0.x EOL - 30 June 2018

2017-06-23 Thread Huxing Zhang
[ X ] +1 We should announce 8.0.x EOL for 30 June 2018

--
From:Mark Thomas 
Time:2017 Jun 22 (Thu) 23:18
To:Tomcat Developers List 
Subject:[VOTE] 8.0.x EOL - 30 June 2018


We had a couple of threads discussing this. I think it is time for a vote.

[ ] +1 We should announce 8.0.x EOL for 30 June 2018
[ ] -1 We should announce 8.0.x EOL for [insert date here]
[ ] -1 We should not announce 8.0.x EOL at this time

Thanks,

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 9.0.0.M22

2017-06-23 Thread Huxing Zhang
Hi,

The proposed 9.0.0.M22 release is:
[ ] Broken - do not release
[ X ] Alpha - go ahead and release as 9.0.0.M22

Unit test passed.
Our test web application works fine.

1. There is a typo in trailers.ResponseTrailers, I will fix that later.
2. Actually I have a concern of the trailer field implementation. Should we add 
an extra whitespace between the trailer field name and trailer field, just to 
keep align with the head field format?

In rfc7230 section 4.1.2 says the white space is optional.
header-field   = field-name ":" OWS field-value OWS

But right now the format is inconsistent between header and trailer field.

Examples: 

Escape character is '^]'.
GET /examples/servlets/trailers/response HTTP/1.1
Host: hsf.taobao.net:8180
User-Agent: curl/7.47.0
Accept: */*

HTTP/1.1 200
Content-Type: text/plain;charset=UTF-8
Transfer-Encoding: chunked
Date: Fri, 23 Jun 2017 05:49:14 GMT

2b
This reponse should include trailer fields.
0
x-trailer-2:Trailer value two
x-trailer-1:Trailer value one

BTW, Jetty[1] has an white space between trailer field name and value. 
https://webtide.com/http-trailers-in-jetty/

--
From:Mark Thomas 
Time:2017 Jun 21 (Wed) 22:18
To:Tomcat Developers List 
Subject:[VOTE] Release Apache Tomcat 9.0.0.M22


The proposed Apache Tomcat 9.0.0.M22 release is now available for voting.

This is a milestone release for the 9.0.x branch. It should be
noted that, as a milestone release:
- Servlet 4.0 is not finalised
- The EGs have not started work on JSP 2.4, EL 3.1 or WebSocket 1.2/2.0

The major changes compared to the 9.0.0.M21 release are:

- Add a new JULI FileHandler configuration for specifying the maximum
  number of days to keep the log files. By default the log files will be
  kept 90 days.

- Update the Servlet 4.0 implementation to add support for setting
  trailer fields for HTTP responses.

- When pre-compiling with JspC, report all compilation errors rather
  than stopping after the first error.

Along with lots of other bug fixes and improvements

For full details, see the changelog:
http://svn.apache.org/repos/asf/tomcat/trunk/webapps/docs/changelog.xml

It can be obtained from:
https://dist.apache.org/repos/dist/dev/tomcat/tomcat-9/v9.0.0.M22/
The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-1137/
The svn tag is:
http://svn.apache.org/repos/asf/tomcat/tags/TOMCAT_9_0_0_M22/

The proposed 9.0.0.M22 release is:
[ ] Broken - do not release
[ ] Alpha - go ahead and release as 9.0.0.M22

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

svn commit: r1799384 - in /tomcat/site/trunk: docs/presentations.html xdocs/presentations.xml

2017-06-20 Thread huxing
Author: huxing
Date: Wed Jun 21 03:06:38 2017
New Revision: 1799384

URL: http://svn.apache.org/viewvc?rev=1799384=rev
Log:
Add more TomcatCon slides and recordings

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

Modified: tomcat/site/trunk/docs/presentations.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/presentations.html?rev=1799384=1799383=1799384=diff
==
--- tomcat/site/trunk/docs/presentations.html (original)
+++ tomcat/site/trunk/docs/presentations.html Wed Jun 21 03:06:38 2017
@@ -310,13 +310,72 @@ mailing list.
 
   
 
+Tomcat and Proxies - Jean-Frederic Clere,
+http://schd.ws/hosted_files/apachecon2017/38/TomcatProxies.pdf;>slides
+  
+
+  
+
 Load balancing - Mark Thomas,
 http://people.apache.org/~markt/presentations/2017-05-17-d-tomcat-load-balancing.pdf;>slides
   
 
   
 
+Tomcat Clustering - Keiichi Fujino,
+http://events.linuxfoundation.org/sites/events/files/slides/TomcatCluster_3.pdf;>slides
+  
+
+  
+
+The Challenges Tomcat Faces in High Throughput Production System - Huxing 
Zhang,
+http://events.linuxfoundation.org/sites/events/files/slides/TomcatCon2017.pdf;>slides
+  
+
+  
+
+Using OpenSSL to Boost JSSE in Tomcat - Jean-Frederic Clere,
+http://schd.ws/hosted_files/apachecon2017/93/TomcatOpenSSL.pdf;>slides
+  
+
+  
+
+How I Stopped Worrying and Learned to Love Open Source - David Cleary,
+http://events.linuxfoundation.org/sites/events/files/slides/StopWorrying.pdf;>slides,
+https://www.youtube.com/watch?v=FjD268R-obslist=PLbzoR-pLrL6pLDCyPxByWQwYTL-JrF5Rpindex=56;>recording
+  
+
+  
+
+Packaging Tomcat for Linux Distributions - Coty Sutherland,
+http://schd.ws/hosted_files/apachecon2017/f1/packaging-tomcat-for-linux-distributions.pdf;>slides,
+https://www.youtube.com/watch?v=OKs926hLIOolist=PLbzoR-pLrL6pLDCyPxByWQwYTL-JrF5Rpindex=55;>recording
+  
+
+  
+
+Introduction to Spring Boot - Rossen Stoyanchev,
+https://www.youtube.com/watch?v=Qk7AcXgv_lklist=PLbzoR-pLrL6pLDCyPxByWQwYTL-JrF5Rpindex=54;>recording
+  
+
+  
+
+ASF Loves Tomcat and JavaEE: From Meecrowave to TomEE - Romain Manni-Bucau,
+http://events.linuxfoundation.org/sites/events/files/slides/ASF%20loves%20Tomcat%20and%20EE-%20Meecrowave%20to%20TomEE.pdf;>slides,
+https://www.youtube.com/watch?v=IQEGsSvAkIUlist=PLbzoR-pLrL6pLDCyPxByWQwYTL-JrF5Rpindex=53;>recording
+  
+
+  
+
+Jwala - Apache Tomcat and HTTPD Enterprise Manager - Steven Ger  
Arvindo Kinny,
+http://schd.ws/hosted_files/apachecon2017/56/jwala-apachecon.pdf;>slides,
+https://www.youtube.com/watch?v=LfXCrol8gHElist=PLbzoR-pLrL6pLDCyPxByWQwYTL-JrF5Rpindex=52;>recording
+  
+
+  
+
 From a Cluster to the Cloud - Jean-Frederic Clere,
+http://schd.ws/hosted_files/apachecon2017/c6/clusterCloud.pdf;>slides,
 https://www.youtube.com/watch?v=9PN-JZje6wsindex=51list=PLbzoR-pLrL6pLDCyPxByWQwYTL-JrF5Rp;>recording
   
 

Modified: tomcat/site/trunk/xdocs/presentations.xml
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/presentations.xml?rev=1799384=1799383=1799384=diff
==
--- tomcat/site/trunk/xdocs/presentations.xml (original)
+++ tomcat/site/trunk/xdocs/presentations.xml Wed Jun 21 03:06:38 2017
@@ -60,11 +60,52 @@ mailing list.
 http://people.apache.org/~markt/presentations/2017-05-16-c-securing-tomcat.pdf;>slides
   
   
+Tomcat and Proxies - Jean-Frederic Clere,
+http://schd.ws/hosted_files/apachecon2017/38/TomcatProxies.pdf;>slides
+  
+  
 Load balancing - Mark Thomas,
 http://people.apache.org/~markt/presentations/2017-05-17-d-tomcat-load-balancing.pdf;>slides
   
   
+Tomcat Clustering - Keiichi Fujino,
+http://events.linuxfoundation.org/sites/events/files/slides/TomcatCluster_3.pdf;>slides
+  
+  
+The Challenges Tomcat Faces in High Throughput Production System - Huxing 
Zhang,
+http://events.linuxfoundation.org/sites/events/files/slides/TomcatCon2017.pdf;>slides
+  
+  
+Using OpenSSL to Boost JSSE in Tomcat - Jean-Frederic Clere,
+http://schd.ws/hosted_files/apachecon2017/93/TomcatOpenSSL.pdf;>slides
+  
+  
+How I Stopped Worrying and Learned to Love Open Source - David Cleary,
+http://events.linuxfoundation.org/sites/events/files/slides/StopWorrying.pdf;>slides,
+https://www.youtube.com/watch?v=FjD268R-obslist=PLbzoR-pLrL6pLDCyPxByWQwYTL-JrF5Rpindex=56;>recording
+  
+  
+Packaging Tomcat for Linux Distributions - Coty Sutherland,
+http://schd.ws/hosted_files/apachecon2017/f1/packaging-tomcat-for-linux-distributions.pdf;>slides,
+https://www.youtube.com/watch?v=OKs926hLIOolist=PLbzoR-pLrL6pLDCyPxByWQwYTL-JrF5Rpindex=55;>recording
+  
+  
+Introduction to Spring Boot - 

Re: ApacheCon slides with .odp extension

2017-06-20 Thread Huxing Zhang
Chris,

These two pdf files are not accessible to me:
http://people.apache.org/~schultz/ApacheCon%20NA%202017/Let's%20Encrypt%20Apache%20Tomcat.pdf
http://people.apache.org/~schultz/ApacheCon%20NA%202017/Seamless%20Upgrades%20for%20Credential%20Security%20in%20Apache%20Tomcat.pdf

I got 403 FORBIDDEN for the above links.

--
From:Christopher Schultz <ch...@christopherschultz.net>
Time:2017 Jun 21 (Wed) 02:05
To:dev <dev@tomcat.apache.org>
Subject:Re: ApacheCon slides with .odp extension


Huxing,

On 6/16/17 1:40 AM, Huxing Zhang wrote:
> Hi
>
> I have noticed that some of the ApacheCon slides are in .odp format:
>
>
http://people.apache.org/~schultz/ApacheCon%20NA%202017/Seamless%20Upgrades%20for%20Credential%20Security%20in%20Apache%20Tomcat.odp
>
http://people.apache.org/~schultz/ApacheCon%20NA%202017/Let's%20Encrypt%20Apache%20Tomcat.odp
>
> The .odp format does not work for me because it is for OpenOffice (I
don't have OpenOffice installed on my Mac OS), and neither Pages and
Microsoft PowerPoint could open it.
>
> I am wondering that should it be convert it to a more universal format
like pdf, so that more people can open it without any confusion.

Sorry about that... I usually convert to PDF as well. Looks like I idn't
do it in this case. I've published the PDF versions in the same directory.

Thanks,
-chris

ApacheCon slides with .odp extension

2017-06-15 Thread Huxing Zhang
Hi

I have noticed that some of the ApacheCon slides are in .odp format:

http://people.apache.org/~schultz/ApacheCon%20NA%202017/Seamless%20Upgrades%20for%20Credential%20Security%20in%20Apache%20Tomcat.odp
http://people.apache.org/~schultz/ApacheCon%20NA%202017/Let's%20Encrypt%20Apache%20Tomcat.odp

The .odp format does not work for me because it is for OpenOffice (I don't have 
OpenOffice installed on my Mac OS), and neither Pages and Microsoft PowerPoint 
could open it.

I am wondering that should it be convert it to a more universal format like 
pdf, so that more people can open it without any confusion.

Thanks,
Huxing

Re: [Bug 61105] Roll log files by default

2017-06-08 Thread Huxing Zhang
Hi,

> There was no concern expressed about the log files that are currently not
> rolled (generally, I suspect, because well written apps won;t trigger content
> to those files).

We do have concerns about rotate the output to stdout/stderr.
In most of our cases, this is due to logging framework conflict between log4j 
and logback in a web application.
The default behavior is that all the logging content are eventually gone to 
catalina.out.
Most of the users even won't be aware of it, until being alerted by running out 
of the disk space (The web application may run for months).

To avoid this, we actually have implemented a feature in Tomcat to rotate 
catalina.out on a daily basis.
Under the hood we use a customized PrintStream to replace 
System.out/System.err, capture the content, and output to JULI.
Since it is rotated by day, it make us easier to keep the latest N files.

I know the best solution will be solving the conflict, but according to our 
experience, most of the user don't know there is a conflict.

In there any interest in adding this feature to Tomcat? 

--
From:bugzilla 
Time:2017 Jun 6 (Tue) 03:45
To:dev 
Subject:[Bug 61105] Roll log files by default


https://bz.apache.org/bugzilla/show_bug.cgi?id=61105

--- Comment #2 from Mark Thomas  ---
The conversation at TomcatCon was around putting a (relatively large) limit on
the number of files that are kept by default. Picking a number of of thin air,
how does 90 days sound?

There was no concern expressed about the log files that are currently not
rolled (generally, I suspect, because well written apps won;t trigger content
to those files).

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

2017-05-08 Thread Huxing Zhang
The proposed 8.5.15 release is:
[ ] Broken - do not release
[ X ] Stable - go ahead and release as 8.5.15

Test cases: OK.
Our test web application works fine.

--
From:Mark Thomas 
Time:2017 May 5 (Fri) 19:39
To:Tomcat Developers List 
Subject:Re: [VOTE] Release Apache Tomcat 8.5.15


On 05/05/17 12:38, Mark Thomas wrote:
> The proposed Apache Tomcat 8.5.15 release is now available for voting.
>
> The major changes compared to the 8.5.13 release are:
>
> - Various improvements to the handling of static custom error pages
>
> - Update to Eclipse JDT Compiler 4.6.3
>
> - Review those places where Tomcat re-encodes a URI or URI component
>   and ensure that that correct encoding is consistently applied.
>
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.5.15/
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1134/
> The svn tag is:
> http://svn.apache.org/repos/asf/tomcat/tc8.5.x/tags/TOMCAT_8_5_15/
>
> The proposed 8.5.15 release is:
> [ ] Broken - do not release
> [X] Stable - go ahead and release as 8.5.15

Tests passed for me with NIO, NIO2, APR/native (with 1.2.12) on 64 bit
Windows, Linux and OSX.

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 9.0.0.M21

2017-05-08 Thread Huxing Zhang
The proposed 9.0.0.M21 release is:
[ ] Broken - do not release
[ X ] Alpha - go ahead and release as 9.0.0.M21

Test cases OK.
Our test web application works fine.
--
From:Mark Thomas 
Time:2017 May 5 (Fri) 17:03
To:Tomcat Developers List 
Subject:[VOTE] Release Apache Tomcat 9.0.0.M21


The proposed Apache Tomcat 9.0.0.M21 release is now available for voting.

This is a milestone release for the 9.0.x branch. It should be
noted that, as a milestone release:
- Servlet 4.0 is not finalised
- The EGs have not started work on JSP 2.4, EL 3.1 or WebSocket 1.2/2.0

The major changes compared to the 9.0.0.M20 release are:

- Update the default URIEncoding for a Connector to UTF-8 as required
  by the Servlet 4.0 specification.

- Various improvements to the handling of static custom error pages

- Update to Eclipse JDT Compiler 4.6.3

Along with lots of other bug fixes and improvements

For full details, see the changelog:
http://svn.apache.org/repos/asf/tomcat/trunk/webapps/docs/changelog.xml

It can be obtained from:
https://dist.apache.org/repos/dist/dev/tomcat/tomcat-9/v9.0.0.M21/
The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-1133/
The svn tag is:
http://svn.apache.org/repos/asf/tomcat/tags/TOMCAT_9_0_0_M21/

The proposed 9.0.0.M21 release is:
[ ] Broken - do not release
[ ] Alpha - go ahead and release as 9.0.0.M21

-
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: [ANN] New committer: Michael Osipov

2017-05-08 Thread Huxing Zhang
Congratulations!

--
From:Mark Thomas 
Time:2017 May 8 (Mon) 16:08
To:Tomcat Users List 
Cc:Tomcat Developers List 
Subject:[ANN] New committer: Michael Osipov


On behalf of the Tomcat committers I am pleased to announce that
Michael Osipov (michaelo) has been voted in as a new Tomcat committer.

Please join me in welcoming him.

Regards,

Mark

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

Re: [VOTE] Release Apache Tomcat 8.5.14

2017-04-14 Thread Huxing Zhang
The proposed 8.5.14 release is:
[ ] Broken - do not release
[ X ] Stable - go ahead and release as 8.5.14

Test case: ok
Our test web application works fine

--
From:Mark Thomas 
Time:2017 Apr 13 (Thu) 21:13
To:Tomcat Developers List 
Subject:[VOTE] Release Apache Tomcat 8.5.14


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

The major changes compared to the 8.5.13 release are:

- Correct a regression that broke JMX operations (including the Manager
  web application) if the operation took parameters

- Add JMX support for Tribes components

- Calls to isReady() no longer throw exceptions after timeouts for async
  servlets


It can be obtained from:
https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.5.14/
The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-1132/
The svn tag is:
http://svn.apache.org/repos/asf/tomcat/tc8.5.x/tags/TOMCAT_8_5_14/

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

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

Re: [VOTE] Release Apache Tomcat 9.0.0.M20

2017-04-14 Thread Huxing Zhang
Hi,

The proposed 9.0.0.M20 release is:
[ ] Broken - do not release
[ X ] Alpha - go ahead and release as 9.0.0.M20

Test cases: ok.
Our test web app works fine.

--
From:Mark Thomas 
Time:2017 Apr 13 (Thu) 04:20
To:Tomcat Developers List 
Subject:[VOTE] Release Apache Tomcat 9.0.0.M20


The proposed Apache Tomcat 9.0.0.M20 release is now available for voting.

This is a milestone release for the 9.0.x branch. It should be
noted that, as a milestone release:
- Servlet 4.0 is not finalised
- The EGs have not started work on JSP 2.4, EL 3.1 or WebSocket 1.2/2.0

The major changes compared to the 9.0.0.M19 release are:

- Correct a regression that broke JMX operations (including the Manager
  web application) if the operation took parameters

- Add JMX support for Tribes components

- Calls to isReady() no longer throw exceptions after timeouts for async
  servlets


Along with lots of other bug fixes and improvements

For full details, see the changelog:
http://svn.apache.org/repos/asf/tomcat/trunk/webapps/docs/changelog.xml

It can be obtained from:
https://dist.apache.org/repos/dist/dev/tomcat/tomcat-9/v9.0.0.M20/
The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-1131/
The svn tag is:
http://svn.apache.org/repos/asf/tomcat/tags/TOMCAT_9_0_0_M20/

The proposed 9.0.0.M20 release is:
[ ] Broken - do not release
[ ] Alpha - go ahead and release as 9.0.0.M20

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

2017-03-15 Thread Huxing Zhang
Hi,
 
The proposed 7.0.76 release is:
[  ] Broken - do not release
[ X ] Stable - go ahead and release as 7.0.76 Stable

Test cases all passed.
Our test webapp runs fine.
--
From:Mark Thomas 
Time:2017 Mar 9 (Thu) 22:11
To:Tomcat Developers List 
Subject:[VOTE] Release Apache Tomcat 7.0.76


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

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

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

Regards,
Violeta


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

  1   2   >