svn commit: r1758608 - in /tomcat/site/trunk: docs/whoweare.html xdocs/whoweare.xml

2016-08-31 Thread huxing
Author: huxing
Date: Wed Aug 31 14:04:33 2016
New Revision: 1758608

URL: http://svn.apache.org/viewvc?rev=1758608&view=rev
Log:
Add Huxing Zhang to comitters list

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

Modified: tomcat/site/trunk/docs/whoweare.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/whoweare.html?rev=1758608&r1=1758607&r2=1758608&view=diff
==
--- tomcat/site/trunk/docs/whoweare.html (original)
+++ tomcat/site/trunk/docs/whoweare.html Wed Aug 31 14:04:33 2016
@@ -437,6 +437,12 @@ A complete list of all the Apache Commit
 
 
 
+
+
+Huxing Zhang (huxing at apache.org)
+
+
+
 
 Emeritus PMC members
 

Modified: tomcat/site/trunk/xdocs/whoweare.xml
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/whoweare.xml?rev=1758608&r1=1758607&r2=1758608&view=diff
==
--- tomcat/site/trunk/xdocs/whoweare.xml (original)
+++ tomcat/site/trunk/xdocs/whoweare.xml Wed Aug 31 14:04:33 2016
@@ -135,6 +135,9 @@ A complete list of all the Apache Commit
 
 Tim Whittington (timw at apache.org)
 
+
+Huxing Zhang (huxing at apache.org)
+
 
 
 



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



svn commit: r1763863 - /tomcat/trunk/java/org/apache/catalina/WebResourceRoot.java

2016-10-08 Thread huxing
Author: huxing
Date: Sat Oct  8 08:00:23 2016
New Revision: 1763863

URL: http://svn.apache.org/viewvc?rev=1763863&view=rev
Log:
Fix typo

Modified:
tomcat/trunk/java/org/apache/catalina/WebResourceRoot.java

Modified: tomcat/trunk/java/org/apache/catalina/WebResourceRoot.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/WebResourceRoot.java?rev=1763863&r1=1763862&r2=1763863&view=diff
==
--- tomcat/trunk/java/org/apache/catalina/WebResourceRoot.java (original)
+++ tomcat/trunk/java/org/apache/catalina/WebResourceRoot.java Sat Oct  8 
08:00:23 2016
@@ -76,7 +76,7 @@ import java.util.Set;
  * including:
  * - which ResourceSet to write to
  * - unexpected behaviour when deleting a resource from one ResourceSet since
- *   that may unmask a resource in a lower priority ResouceSet so what was a
+ *   that may unmask a resource in a lower priority ResourceSet so what was a
  *   delete looks like a replace with the user having no idea where the 'new'
  *   resource came from
  * - how to handle PUT when the target is read-only but it could be written to



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



svn commit: r1763864 - /tomcat/tc8.5.x/trunk/java/org/apache/catalina/WebResourceRoot.java

2016-10-08 Thread huxing
Author: huxing
Date: Sat Oct  8 08:08:57 2016
New Revision: 1763864

URL: http://svn.apache.org/viewvc?rev=1763864&view=rev
Log:
Fix typo

Modified:
tomcat/tc8.5.x/trunk/java/org/apache/catalina/WebResourceRoot.java

Modified: tomcat/tc8.5.x/trunk/java/org/apache/catalina/WebResourceRoot.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc8.5.x/trunk/java/org/apache/catalina/WebResourceRoot.java?rev=1763864&r1=1763863&r2=1763864&view=diff
==
--- tomcat/tc8.5.x/trunk/java/org/apache/catalina/WebResourceRoot.java 
(original)
+++ tomcat/tc8.5.x/trunk/java/org/apache/catalina/WebResourceRoot.java Sat Oct  
8 08:08:57 2016
@@ -76,7 +76,7 @@ import java.util.Set;
  * including:
  * - which ResourceSet to write to
  * - unexpected behaviour when deleting a resource from one ResourceSet since
- *   that may unmask a resource in a lower priority ResouceSet so what was a
+ *   that may unmask a resource in a lower priority ResourceSet so what was a
  *   delete looks like a replace with the user having no idea where the 'new'
  *   resource came from
  * - how to handle PUT when the target is read-only but it could be written to



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



svn commit: r1763868 - /tomcat/tc8.0.x/trunk/java/org/apache/catalina/WebResourceRoot.java

2016-10-08 Thread huxing
Author: huxing
Date: Sat Oct  8 08:16:22 2016
New Revision: 1763868

URL: http://svn.apache.org/viewvc?rev=1763868&view=rev
Log:
Fix typo

Modified:
tomcat/tc8.0.x/trunk/java/org/apache/catalina/WebResourceRoot.java

Modified: tomcat/tc8.0.x/trunk/java/org/apache/catalina/WebResourceRoot.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc8.0.x/trunk/java/org/apache/catalina/WebResourceRoot.java?rev=1763868&r1=1763867&r2=1763868&view=diff
==
--- tomcat/tc8.0.x/trunk/java/org/apache/catalina/WebResourceRoot.java 
(original)
+++ tomcat/tc8.0.x/trunk/java/org/apache/catalina/WebResourceRoot.java Sat Oct  
8 08:16:22 2016
@@ -76,7 +76,7 @@ import java.util.Set;
  * including:
  * - which ResourceSet to write to
  * - unexpected behaviour when deleting a resource from one ResourceSet since
- *   that may unmask a resource in a lower priority ResouceSet so what was a
+ *   that may unmask a resource in a lower priority ResourceSet so what was a
  *   delete looks like a replace with the user having no idea where the 'new'
  *   resource came from
  * - how to handle PUT when the target is read-only but it could be written to



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



svn commit: r1786292 - /tomcat/trunk/webapps/examples/WEB-INF/classes/http2/SimpleImagePush.java

2017-03-09 Thread huxing
Author: huxing
Date: Fri Mar 10 06:58:07 2017
New Revision: 1786292

URL: http://svn.apache.org/viewvc?rev=1786292&view=rev
Log:
Fix NPE for the server push example if HTTP/2 is not supported.

Modified:
tomcat/trunk/webapps/examples/WEB-INF/classes/http2/SimpleImagePush.java

Modified: 
tomcat/trunk/webapps/examples/WEB-INF/classes/http2/SimpleImagePush.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/classes/http2/SimpleImagePush.java?rev=1786292&r1=1786291&r2=1786292&view=diff
==
--- tomcat/trunk/webapps/examples/WEB-INF/classes/http2/SimpleImagePush.java 
(original)
+++ tomcat/trunk/webapps/examples/WEB-INF/classes/http2/SimpleImagePush.java 
Fri Mar 10 06:58:07 2017
@@ -33,18 +33,27 @@ public class SimpleImagePush extends Htt
 protected void doGet(HttpServletRequest req, HttpServletResponse resp)
 throws ServletException, IOException {
 
-PushBuilder pb = req.getPushBuilder().path("servlets/images/code.gif");
-pb.push();
-
 resp.setCharacterEncoding("UTF-8");
 resp.setContentType("text/html");
 PrintWriter pw = resp.getWriter();
-pw.println("");
-pw.println("");
-pw.println("The following image was provided via a push 
request.");
-pw.println("");
-pw.println("");
-pw.println("");
-pw.flush();
+
+PushBuilder pb = req.getPushBuilder();
+if (pb != null) {
+pb.path("servlets/images/code.gif");
+pb.push();
+pw.println("");
+pw.println("");
+pw.println("The following image was provided via a push 
request.");
+pw.println("");
+pw.println("");
+pw.println("");
+pw.flush();
+} else {
+pw.println("");
+pw.println("");
+pw.println("Server push requests are not supported by this 
protocol.");
+pw.println("");
+pw.println("");
+}
 }
 }



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



svn commit: r1786293 - /tomcat/tc8.5.x/trunk/webapps/examples/WEB-INF/classes/http2/SimpleImagePush.java

2017-03-09 Thread huxing
Author: huxing
Date: Fri Mar 10 07:11:19 2017
New Revision: 1786293

URL: http://svn.apache.org/viewvc?rev=1786293&view=rev
Log:
Fix NPE for the server push example if HTTP/2 is not supported.

Modified:

tomcat/tc8.5.x/trunk/webapps/examples/WEB-INF/classes/http2/SimpleImagePush.java

Modified: 
tomcat/tc8.5.x/trunk/webapps/examples/WEB-INF/classes/http2/SimpleImagePush.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc8.5.x/trunk/webapps/examples/WEB-INF/classes/http2/SimpleImagePush.java?rev=1786293&r1=1786292&r2=1786293&view=diff
==
--- 
tomcat/tc8.5.x/trunk/webapps/examples/WEB-INF/classes/http2/SimpleImagePush.java
 (original)
+++ 
tomcat/tc8.5.x/trunk/webapps/examples/WEB-INF/classes/http2/SimpleImagePush.java
 Fri Mar 10 07:11:19 2017
@@ -34,19 +34,29 @@ public class SimpleImagePush extends Htt
 protected void doGet(HttpServletRequest req, HttpServletResponse resp)
 throws ServletException, IOException {
 
-PushBuilder pb = 
((org.apache.catalina.servlet4preview.http.HttpServletRequest)
-req).getPushBuilder().path("servlets/images/code.gif");
-pb.push();
-
 resp.setCharacterEncoding("UTF-8");
 resp.setContentType("text/html");
 PrintWriter pw = resp.getWriter();
-pw.println("");
-pw.println("");
-pw.println("The following image was provided via a push 
request.");
-pw.println("");
-pw.println("");
-pw.println("");
-pw.flush();
+
+PushBuilder pb = 
((org.apache.catalina.servlet4preview.http.HttpServletRequest)
+req).getPushBuilder();
+
+if (pb != null) {
+pb.path("servlets/images/code.gif");
+pb.push();
+pw.println("");
+pw.println("");
+pw.println("The following image was provided via a push 
request.");
+pw.println("");
+pw.println("");
+pw.println("");
+pw.flush();
+} else {
+pw.println("");
+pw.println("");
+pw.println("Server push requests are not supported by this 
protocol.");
+pw.println("");
+pw.println("");
+}
 }
 }



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



svn commit: r1786849 - /tomcat/tc8.5.x/trunk/java/org/apache/catalina/startup/ContextConfig.java

2017-03-14 Thread huxing
Author: huxing
Date: Tue Mar 14 08:10:48 2017
New Revision: 1786849

URL: http://svn.apache.org/viewvc?rev=1786849&view=rev
Log:
Remove unnecessary semicolon

Modified:
tomcat/tc8.5.x/trunk/java/org/apache/catalina/startup/ContextConfig.java

Modified: 
tomcat/tc8.5.x/trunk/java/org/apache/catalina/startup/ContextConfig.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc8.5.x/trunk/java/org/apache/catalina/startup/ContextConfig.java?rev=1786849&r1=1786848&r2=1786849&view=diff
==
--- tomcat/tc8.5.x/trunk/java/org/apache/catalina/startup/ContextConfig.java 
(original)
+++ tomcat/tc8.5.x/trunk/java/org/apache/catalina/startup/ContextConfig.java 
Tue Mar 14 08:10:48 2017
@@ -142,7 +142,7 @@ public class ContextConfig implements Li
 // Load our mapping properties for the standard authenticators
 Properties props = new Properties();
 try (InputStream is = 
ContextConfig.class.getClassLoader().getResourceAsStream(
-"org/apache/catalina/startup/Authenticators.properties");) {
+"org/apache/catalina/startup/Authenticators.properties")) {
 if (is != null) {
 props.load(is);
 }



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



svn commit: r1786850 - /tomcat/tc8.0.x/trunk/java/org/apache/catalina/startup/ContextConfig.java

2017-03-14 Thread huxing
Author: huxing
Date: Tue Mar 14 08:12:08 2017
New Revision: 1786850

URL: http://svn.apache.org/viewvc?rev=1786850&view=rev
Log:
Remove unnecessary semicolon

Modified:
tomcat/tc8.0.x/trunk/java/org/apache/catalina/startup/ContextConfig.java

Modified: 
tomcat/tc8.0.x/trunk/java/org/apache/catalina/startup/ContextConfig.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc8.0.x/trunk/java/org/apache/catalina/startup/ContextConfig.java?rev=1786850&r1=1786849&r2=1786850&view=diff
==
--- tomcat/tc8.0.x/trunk/java/org/apache/catalina/startup/ContextConfig.java 
(original)
+++ tomcat/tc8.0.x/trunk/java/org/apache/catalina/startup/ContextConfig.java 
Tue Mar 14 08:12:08 2017
@@ -142,7 +142,7 @@ public class ContextConfig implements Li
 // Load our mapping properties for the standard authenticators
 Properties props = new Properties();
 try (InputStream is = 
ContextConfig.class.getClassLoader().getResourceAsStream(
-"org/apache/catalina/startup/Authenticators.properties");) {
+"org/apache/catalina/startup/Authenticators.properties")) {
 if (is != null) {
 props.load(is);
 }



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



svn commit: r1786852 - /tomcat/trunk/java/org/apache/catalina/startup/ContextConfig.java

2017-03-14 Thread huxing
Author: huxing
Date: Tue Mar 14 08:15:04 2017
New Revision: 1786852

URL: http://svn.apache.org/viewvc?rev=1786852&view=rev
Log:
Remove unnecessary semicolon

Modified:
tomcat/trunk/java/org/apache/catalina/startup/ContextConfig.java

Modified: tomcat/trunk/java/org/apache/catalina/startup/ContextConfig.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/startup/ContextConfig.java?rev=1786852&r1=1786851&r2=1786852&view=diff
==
--- tomcat/trunk/java/org/apache/catalina/startup/ContextConfig.java (original)
+++ tomcat/trunk/java/org/apache/catalina/startup/ContextConfig.java Tue Mar 14 
08:15:04 2017
@@ -142,7 +142,7 @@ public class ContextConfig implements Li
 // Load our mapping properties for the standard authenticators
 Properties props = new Properties();
 try (InputStream is = 
ContextConfig.class.getClassLoader().getResourceAsStream(
-"org/apache/catalina/startup/Authenticators.properties");) {
+"org/apache/catalina/startup/Authenticators.properties")) {
 if (is != null) {
 props.load(is);
 }



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



svn commit: r1777552 - /tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java

2017-01-06 Thread huxing
Author: huxing
Date: Fri Jan  6 09:50:30 2017
New Revision: 1777552

URL: http://svn.apache.org/viewvc?rev=1777552&view=rev
Log:
Fix javadoc, there is no poller thread in NIO2.

Modified:
tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java

Modified: tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java?rev=1777552&r1=1777551&r2=1777552&view=diff
==
--- tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java Fri Jan  6 
09:50:30 2017
@@ -161,7 +161,7 @@ public class Nio2Endpoint extends Abstra
 
 
 /**
- * Start the NIO endpoint, creating acceptor, poller threads.
+ * Start the NIO2 endpoint, creating acceptor.
  */
 @Override
 public void startInternal() throws Exception {



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



svn commit: r1777554 - /tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java

2017-01-06 Thread huxing
Author: huxing
Date: Fri Jan  6 09:53:38 2017
New Revision: 1777554

URL: http://svn.apache.org/viewvc?rev=1777554&view=rev
Log:
Fix javadoc, there is no poller thread in NIO2.

Modified:
tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java

Modified: tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java?rev=1777554&r1=1777553&r2=1777554&view=diff
==
--- tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java 
(original)
+++ tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java Fri 
Jan  6 09:53:38 2017
@@ -165,7 +165,7 @@ public class Nio2Endpoint extends Abstra
 
 
 /**
- * Start the NIO endpoint, creating acceptor, poller threads.
+ * Start the NIO2 endpoint, creating acceptor.
  */
 @Override
 public void startInternal() throws Exception {



-
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&view=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&r1=1811527&r2=1811528&view=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&r1=1811527&r2=1811528&view=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



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&view=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&r1=1816543&r2=1816544&view=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



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&view=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&r1=1816590&r2=1816591&view=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



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&view=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&r1=1816591&r2=1816592&view=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: 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&view=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&r1=1816592&r2=1816593&view=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: 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&view=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&r1=1816593&r2=1816594&view=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: 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&view=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&r1=1816594&r2=1816595&view=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: 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&view=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&r1=1816672&r2=1816673&view=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



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&view=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&r1=1818926&r2=1818927&view=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&r1=1818926&r2=1818927&view=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/v

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&view=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&r1=1818928&r2=1818929&view=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: 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&view=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&r1=1818930&r2=1818931&view=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: 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&view=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&r1=1849901&r2=1849902&view=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&r1=1849901&r2=1849902&view=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



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&view=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&r1=1853775&r2=1853776&view=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&r1=1853775&r2=1853776&view=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: 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&view=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&r1=1853776&r2=1853777&view=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&r1=1853776&r2=1853777&view=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: 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&view=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&r1=1853777&r2=1853778&view=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&r1=1853777&r2=1853778&view=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: 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&view=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&r1=1853779&r2=1853780&view=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&r1=1853779&r2=1853780&view=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



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&view=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&r1=1853780&r2=1853781&view=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&r1=1853780&r2=1853781&view=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: 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&view=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&r1=1905144&r2=1905145&view=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&r1=1905144&r2=1905145&view=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



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&view=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&r1=1905390&r2=1905391&view=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&r1=1905390&r2=1905391&view=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: 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&view=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&r1=1914735&r2=1914736&view=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&r1=1914735&r2=1914736&view=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&r1=1914735&r2=1914736&view=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



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&view=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&r1=1799383&r2=1799384&view=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-obs&list=PLbzoR-pLrL6pLDCyPxByWQwYTL-JrF5Rp&index=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=OKs926hLIOo&list=PLbzoR-pLrL6pLDCyPxByWQwYTL-JrF5Rp&index=55";>recording
+  
+
+  
+
+Introduction to Spring Boot - Rossen Stoyanchev,
+https://www.youtube.com/watch?v=Qk7AcXgv_lk&list=PLbzoR-pLrL6pLDCyPxByWQwYTL-JrF5Rp&index=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=IQEGsSvAkIU&list=PLbzoR-pLrL6pLDCyPxByWQwYTL-JrF5Rp&index=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=LfXCrol8gHE&list=PLbzoR-pLrL6pLDCyPxByWQwYTL-JrF5Rp&index=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-JZje6ws&index=51&list=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&r1=1799383&r2=1799384&view=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-obs&list=PLbzoR-pLrL6pLDCyPxByWQwYTL-JrF5Rp&index=56";>recording
+  
+  
+Packaging Tomcat for Linux Distributions - C

svn commit: r1799648 - /tomcat/trunk/webapps/examples/WEB-INF/classes/trailers/ResponseTrailers.java

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

URL: http://svn.apache.org/viewvc?rev=1799648&view=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&r1=1799647&r2=1799648&view=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



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&view=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&r1=188&r2=189&view=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&r1=188&r2=189&view=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



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&view=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&r1=1801411&r2=1801412&view=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-obs&list=PLbzoR-pLrL6pLDCyPxByWQwYTL-JrF5Rp&index=56";>recording
+https://www.youtube.com/watch?v=FjD268R-obs&list=PLbzoR-p

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

2025-03-02 Thread huxing
Author: huxing
Date: Sun Mar  2 13:12:23 2025
New Revision: 1924133

URL: http://svn.apache.org/viewvc?rev=1924133&view=rev
Log:
Add CoC Asia 2024 slides and videoes

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=1924133&r1=1924132&r2=1924133&view=diff
==
--- tomcat/site/trunk/docs/presentations.html (original)
+++ tomcat/site/trunk/docs/presentations.html Sun Mar  2 13:12:23 2025
@@ -29,6 +29,25 @@ li.targeted {
   transition:ease-in-out 1s;
 }
 
+Community Over 
Code Asia 2024
+
+  
+Boosting Tomcat Performance with Virtual Threads - Han Li,
+slides,
+https://youtu.be/a4IRX9ijamA?si=JpXE1CXvQp5oIxvs";>video 
(Chinese)
+  
+  
+Implement automatic observability of Tomcat applications under GraalVM 
static compilation - Zihao Rao,
+slides,
+https://youtu.be/cWyz3CjmAbo?si=tVNDaEduQ5FIFfP4";>video 
(Chinese)
+  
+  
+Zero code instrumentation for All-Release Apache Tomcat observability - 
Ziming Liu,
+slides,
+https://youtu.be/OWrWxMhsxqo?si=9-QJTyC0pdCubnmr";>video 
(Chinese)
+  
+
+
 Community 
Over Code Europe 2024
 
   

Modified: tomcat/site/trunk/xdocs/presentations.xml
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/presentations.xml?rev=1924133&r1=1924132&r2=1924133&view=diff
==
--- tomcat/site/trunk/xdocs/presentations.xml (original)
+++ tomcat/site/trunk/xdocs/presentations.xml Sun Mar  2 13:12:23 2025
@@ -37,6 +37,25 @@ li.targeted {
   transition:ease-in-out 1s;
 }
 
+
+
+  
+Boosting Tomcat Performance with Virtual Threads - Han Li,
+slides,
+https://youtu.be/a4IRX9ijamA?si=JpXE1CXvQp5oIxvs";>video 
(Chinese)
+  
+  
+Implement automatic observability of Tomcat applications under GraalVM 
static compilation - Zihao Rao,
+slides,
+https://youtu.be/cWyz3CjmAbo?si=tVNDaEduQ5FIFfP4";>video 
(Chinese)
+  
+  
+Zero code instrumentation for All-Release Apache Tomcat observability - 
Ziming Liu,
+slides,
+https://youtu.be/OWrWxMhsxqo?si=9-QJTyC0pdCubnmr";>video 
(Chinese)
+  
+
+
 
 
   



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



svn commit: r1924134 - /tomcat/site/trunk/docs/presentations/

2025-03-02 Thread huxing
Author: huxing
Date: Sun Mar  2 13:14:42 2025
New Revision: 1924134

URL: http://svn.apache.org/viewvc?rev=1924134&view=rev
Log:
Add slides pdf files for CoC Asia 2024

Added:

tomcat/site/trunk/docs/presentations/2024-07-28-cocasia-Han-Li-Boosting-Tomcat-Performance-with-Virtual-Threads.pdf
   (with props)

tomcat/site/trunk/docs/presentations/2024-07-28-cocasia-Zihao-Rao-Implement-automatic-observability-of-Tomcat-applications-under-GraalVM-static-compilation.pdf
   (with props)

tomcat/site/trunk/docs/presentations/2024-07-28-cocasia-Ziming-Liu-Zero-Code-Instrumentation-For-All-Release-Apache-Tomcat-Observability.pdf
   (with props)

Added: 
tomcat/site/trunk/docs/presentations/2024-07-28-cocasia-Han-Li-Boosting-Tomcat-Performance-with-Virtual-Threads.pdf
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/presentations/2024-07-28-cocasia-Han-Li-Boosting-Tomcat-Performance-with-Virtual-Threads.pdf?rev=1924134&view=auto
==
Binary file - no diff available.

Propchange: 
tomcat/site/trunk/docs/presentations/2024-07-28-cocasia-Han-Li-Boosting-Tomcat-Performance-with-Virtual-Threads.pdf
--
svn:mime-type = application/octet-stream

Added: 
tomcat/site/trunk/docs/presentations/2024-07-28-cocasia-Zihao-Rao-Implement-automatic-observability-of-Tomcat-applications-under-GraalVM-static-compilation.pdf
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/presentations/2024-07-28-cocasia-Zihao-Rao-Implement-automatic-observability-of-Tomcat-applications-under-GraalVM-static-compilation.pdf?rev=1924134&view=auto
==
Binary file - no diff available.

Propchange: 
tomcat/site/trunk/docs/presentations/2024-07-28-cocasia-Zihao-Rao-Implement-automatic-observability-of-Tomcat-applications-under-GraalVM-static-compilation.pdf
--
svn:mime-type = application/octet-stream

Added: 
tomcat/site/trunk/docs/presentations/2024-07-28-cocasia-Ziming-Liu-Zero-Code-Instrumentation-For-All-Release-Apache-Tomcat-Observability.pdf
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/presentations/2024-07-28-cocasia-Ziming-Liu-Zero-Code-Instrumentation-For-All-Release-Apache-Tomcat-Observability.pdf?rev=1924134&view=auto
==
Binary file - no diff available.

Propchange: 
tomcat/site/trunk/docs/presentations/2024-07-28-cocasia-Ziming-Liu-Zero-Code-Instrumentation-For-All-Release-Apache-Tomcat-Observability.pdf
--
svn:mime-type = application/octet-stream



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



Re: svn commit: r1712361 - /tomcat/trunk/build.properties.default

2015-11-03 Thread Huxing Zhang
Hi Mark, 

This options has already been defined in build.property.default with default 
value set to be false.
I think it is a duplication.

see the last line in 
http://svn.apache.org/repos/asf/tomcat/trunk/build.properties.default
# - JVM settings for unit tests
java.net.preferIPv4Stack=false

Thanks,
Huxing Zhang

--
From:markt 
Send Time:2015年11月4日(星期三) 02:11
To:dev 
Subject:svn commit: r1712361 - /tomcat/trunk/build.properties.default


Author: markt
Date: Tue Nov  3 18:11:13 2015
New Revision: 1712361

URL: http://svn.apache.org/viewvc?rev=1712361&view=rev
Log:
Add note about needing IPv4 on latest OSX for multicast tests to work

Modified:
tomcat/trunk/build.properties.default

Modified: tomcat/trunk/build.properties.default
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/build.properties.default?rev=1712361&r1=1712360&r2=1712361&view=diff
==
--- tomcat/trunk/build.properties.default (original)
+++ tomcat/trunk/build.properties.default Tue Nov  3 18:11:13 2015
@@ -50,6 +50,10 @@ test.threads=1
 # Note the Cobertura code coverage tool is GPLv2 licensed
 test.cobertura=false
 
+# Some platforms (e.g. OSX El Capitan) require IPv4 to be the default for the
+# multicast tests to work
+#java.net.preferIPv4Stack=true
+
 # Location of GPG executable (used only for releases)
 gpg.exec=/path/to/gpg
 



-
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: Tomcat Native 1.2.2

2015-11-04 Thread Huxing Zhang
Hi All,

I have trouble running tcnative test under Mac OSX(EI Capitan).

I used the jdk8,  apr 1.5.2, openssl 1.0.2d(OpenSSL 1.0.2d 9 Jul 2015) to build 
the tcnative code in trunk.

I followed the instructions described in native/BUILDING:

Step by step build output is:
1) sh buildconf --with-apr=/Users/wangtao/work/apache-tomcat/apr/apr-1.5.2

Looking for apr source in /Users/wangtao/work/apache-tomcat/apr/apr-1.5.2
Creating configure ...
Generating 'make' outputs ...
rebuilding rpm spec file
Using version '1.2.2' and release '1' in RPM spec file

2) ./configure --with-apr=/usr/local/apr --with-ssl=/usr/local/openssl
checking build system type... x86_64-apple-darwin15.0.0
checking host system type... x86_64-apple-darwin15.0.0
checking target system type... x86_64-apple-darwin15.0.0
checking for a BSD-compatible install... /usr/bin/install -c
checking for working mkdir -p... yes
Tomcat Native Version: 1.2.2
checking for chosen layout... tcnative
checking for APR... yes
configure: APR 1.5.2 detected.
  setting CC to "gcc"
  setting CPP to "gcc -E"
  adding "-I/Users/wangtao/.jenv/candidates/java/1.8.0_51/include" to 
TCNATIVE_PRIV_INCLUDES
checking for JDK os include directory...  darwin
  adding "-I/Users/wangtao/.jenv/candidates/java/1.8.0_51/include/darwin" to 
TCNATIVE_PRIV_INCLUDES
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for OpenSSL library... using openssl from /usr/local/openssl/lib and 
/usr/local/openssl/include
checking OpenSSL library version >= 1.0.2... ok
checking for OpenSSL DSA support... yes
  adding "-I/usr/local/openssl/include" to TCNATIVE_PRIV_INCLUDES
  setting TCNATIVE_LDFLAGS to "-L/usr/local/openssl/lib -lssl -lcrypto"
  adding "-DHAVE_OPENSSL" to CFLAGS
  setting TCNATIVE_LIBS to ""
  setting TCNATIVE_LIBS to " /usr/local/apr/lib/libapr-1.la -lpthread"
checking for apr_pollset_wakeup in -lapr-1... yes
  adding "-DHAVE_POLLSET_WAKEUP" to CFLAGS
configure: creating ./config.status
config.status: creating tcnative.pc
config.status: creating Makefile
config.status: executing default commands

3) make
/bin/sh /usr/local/apr/build-1/libtool --silent --mode=compile gcc -g -O2   
-DHAVE_CONFIG_H  -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10   -g -O2 
-DHAVE_OPENSSL -DHAVE_POLLSET_WAKEUP   
-I/Users/wangtao/work/apache-tomcat/tcnative/trunk/native/include 
-I/Users/wangtao/.jenv/candidates/java/1.8.0_51/include 
-I/Users/wangtao/.jenv/candidates/java/1.8.0_51/include/darwin 
-I/usr/local/openssl/include  -I/usr/local/apr/include/apr-1   -o 
src/address.lo -c src/address.c && touch src/address.lo
/bin/sh /usr/local/apr/build-1/libtool --silent --mode=compile gcc -g -O2   
-DHAVE_CONFIG_H  -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10   -g -O2 
-DHAVE_OPENSSL -DHAVE_POLLSET_WAKEUP   
-I/Users/wangtao/work/apache-tomcat/tcnative/trunk/native/include 
-I/Users/wangtao/.jenv/candidates/java/1.8.0_51/include 
-I/Users/wangtao/.jenv/candidates/java/1.8.0_51/include/darwin 
-I/usr/local/openssl/include  -I/usr/local/apr/include/apr-1   -o src/bb.lo -c 
src/bb.c && touch src/bb.lo
/bin/sh /usr/local/apr/build-1/libtool --silent --mode=compile gcc -g -O2   
-DHAVE_CONFIG_H  -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10   -g -O2 
-DHAVE_OPENSSL -DHAVE_POLLSET_WAKEUP   
-I/Users/wangtao/work/apache-tomcat/tcnative/trunk/native/include 
-I/Users/wangtao/.jenv/candidates/java/1.8.0_51/include 
-I/Users/wangtao/.jenv/candidates/java/1.8.0_51/include/darwin 
-I/usr/local/openssl/include  -I/usr/local/apr/include/apr-1   -o src/dir.lo -c 
src/dir.c && touch src/dir.lo
/bin/sh /usr/local/apr/build-1/libtool --silent --mode=compile gcc -g -O2   
-DHAVE_CONFIG_H  -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10   -g -O2 
-DHAVE_OPENSSL -DHAVE_POLLSET_WAKEUP   
-I/Users/wangtao/work/apache-tomcat/tcnative/trunk/native/include 
-I/Users/wangtao/.jenv/candidates/java/1.8.0_51/include 
-I/Users/wangtao/.jenv/candidates/java/1.8.0_51/include/darwin 
-I/usr/local/openssl/include  -I/usr/local/apr/include/apr-1   -o src/error.lo 
-c src/error.c && touch src/error.lo
/bin/sh /usr/local/apr/build-1/libtool --silent --mode=compile gcc -g -O2   
-DHAVE_CONFIG_H  -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10   -g -O2 
-DHAVE_OPENSSL -DHAVE_POLLSET_WAKEUP   
-I/Users/wangtao/work/apache-tomcat/tcnative/trunk/native/include 
-I/Users/wangtao/.jenv/candidates/java/1.8.0_51/include 
-I/Users/wangtao/.jenv/candidates/java/1.8.0_51/include/darwin 
-I/usr/local/openssl/include  -I/usr/local/apr/include/apr-1   -o src/file.lo 
-c src/file.c && touch src/file.lo
/bin/sh /usr/local/apr/build-1/libtool --silent --mode=compile gcc -g -O2  

Re: svn commit: r1712571 - in /tomcat/tc6.0.x/trunk: STATUS.txt extras.xml webapps/docs/changelog.xml

2015-11-04 Thread Huxing Zhang
Hi kkolinko,

There seems to be a typo in the commit:

+None. Tomcat 6 is Commit-Than-Review since 2015-11-02.

Commit-Than-Review should be Commit-Then-Review.
--
From:kkolinko 
Send Time:2015年11月4日(星期三) 23:55
To:dev 
Subject:svn commit: r1712571 - in /tomcat/tc6.0.x/trunk: STATUS.txt extras.xml 
webapps/docs/changelog.xml


Author: kkolinko
Date: Wed Nov  4 15:55:02 2015
New Revision: 1712571

URL: http://svn.apache.org/viewvc?rev=1712571&view=rev
Log:
Ensure LogFactoryImpl is excluded from extras/tomcat-juli-adapters jar.
Reported by Benjamin Gandon on the dev list
Mail thread: http://tomcat.markmail.org/thread/7iygcau3vja4cbui

It it true that 6.0.44/extras/tomcat-juli-adapters.jar did not include 
LogFactoryImpl.class,
but it erroneously included its inner classes - LogFactoryImpl$1, *$2, *$3.

I am aligning  patterns with Tomcat 7. (Actually Tomcat 7 ones are 
used both for .jar and -src.jar, thus they end with * instead of explicit 
*.class)

Modified:
tomcat/tc6.0.x/trunk/STATUS.txt
tomcat/tc6.0.x/trunk/extras.xml
tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml

Modified: tomcat/tc6.0.x/trunk/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=1712571&r1=1712570&r2=1712571&view=diff
==
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Wed Nov  4 15:55:02 2015
@@ -28,14 +28,7 @@ None
 PATCHES PROPOSED TO BACKPORT:
   [ New proposals should be added at the end of the list ]
 
-* Ensure LogFactoryImpl is excluded from extras/tomcat-juli-adapters jar.
-  Reported by Benjamin Gandon on the dev list
-  Mail thread: http://tomcat.markmail.org/thread/7iygcau3vja4cbui
-  https://svn.apache.org/r1707054
-  - to be applied to extras.xml line 220
-  +1: kkolinko, markt
-  -1:
-
+None. Tomcat 6 is Commit-Than-Review since 2015-11-02.
   
 PATCHES/ISSUES THAT ARE STALLED:
 

Modified: tomcat/tc6.0.x/trunk/extras.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/extras.xml?rev=1712571&r1=1712570&r2=1712571&view=diff
==
--- tomcat/tc6.0.x/trunk/extras.xml (original)
+++ tomcat/tc6.0.x/trunk/extras.xml Wed Nov  4 15:55:02 2015
@@ -215,9 +215,9 @@
 
   
-
-
-
+
+
+
 
 
 

Modified: tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml?rev=1712571&r1=1712570&r2=1712571&view=diff
==
--- tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml Wed Nov  4 15:55:02 2015
@@ -112,6 +112,15 @@
   
 
   
+  
+
+  
+Ensure JULI adapters JAR in Tomcat extras package does not include
+the LogFactoryImpl[$*] classes. Based on patch provided by
+Benjamin Gandon. (kkolinko)
+  
+
+  
 
 
   



-
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: Tomcat Native 1.2.2

2015-11-05 Thread Huxing Zhang
Hi All,

I have solved the problem building tcnative on Mac OSX.

The message worth noticing is:
ld: warning: ld: warning: ignoring file /usr/local/openssl/lib/libcrypto.a, 
file was built for archive which is not the architecture being linked (x86_64): 
/usr/local/openssl/lib/libcrypto.aignoring file 
/usr/local/openssl/lib/libssl.a, file was built for archive which is not the 
architecture being linked (x86_64): /usr/local/openssl/lib/libssl.a

The root cause is openssl is not correctly compiled with the right architecture.

Recompile openssl with the following configuration will solve this problem.

cd $openssl_source_dir
./Configure darwin64-x86_64-cc --prefix=/usr/local/openssl shared
make
make install

I am sorry for posting such an email in dev list.

Best regards,
Huxing

--
From:Huxing Zhang 
Time:2015 Nov 4 (Wed) 17:37
To:Tomcat Developers List 
Subject:Re: Tomcat Native 1.2.2


Hi All,

I have trouble running tcnative test under Mac OSX(EI Capitan).

I used the jdk8,  apr 1.5.2, openssl 1.0.2d(OpenSSL 1.0.2d 9 Jul 2015) to build 
the tcnative code in trunk.

I followed the instructions described in native/BUILDING:

Step by step build output is:
1) sh buildconf --with-apr=/Users/wangtao/work/apache-tomcat/apr/apr-1.5.2

Looking for apr source in /Users/wangtao/work/apache-tomcat/apr/apr-1.5.2
Creating configure ...
Generating 'make' outputs ...
rebuilding rpm spec file
Using version '1.2.2' and release '1' in RPM spec file

2) ./configure --with-apr=/usr/local/apr --with-ssl=/usr/local/openssl
checking build system type... x86_64-apple-darwin15.0.0
checking host system type... x86_64-apple-darwin15.0.0
checking target system type... x86_64-apple-darwin15.0.0
checking for a BSD-compatible install... /usr/bin/install -c
checking for working mkdir -p... yes
Tomcat Native Version: 1.2.2
checking for chosen layout... tcnative
checking for APR... yes
configure: APR 1.5.2 detected.
  setting CC to "gcc"
  setting CPP to "gcc -E"
  adding "-I/Users/wangtao/.jenv/candidates/java/1.8.0_51/include" to 
TCNATIVE_PRIV_INCLUDES
checking for JDK os include directory...  darwin
  adding "-I/Users/wangtao/.jenv/candidates/java/1.8.0_51/include/darwin" to 
TCNATIVE_PRIV_INCLUDES
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for OpenSSL library... using openssl from /usr/local/openssl/lib and 
/usr/local/openssl/include
checking OpenSSL library version >= 1.0.2... ok
checking for OpenSSL DSA support... yes
  adding "-I/usr/local/openssl/include" to TCNATIVE_PRIV_INCLUDES
  setting TCNATIVE_LDFLAGS to "-L/usr/local/openssl/lib -lssl -lcrypto"
  adding "-DHAVE_OPENSSL" to CFLAGS
  setting TCNATIVE_LIBS to ""
  setting TCNATIVE_LIBS to " /usr/local/apr/lib/libapr-1.la -lpthread"
checking for apr_pollset_wakeup in -lapr-1... yes
  adding "-DHAVE_POLLSET_WAKEUP" to CFLAGS
configure: creating ./config.status
config.status: creating tcnative.pc
config.status: creating Makefile
config.status: executing default commands

3) make
/bin/sh /usr/local/apr/build-1/libtool --silent --mode=compile gcc -g -O2   
-DHAVE_CONFIG_H  -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10   -g -O2 
-DHAVE_OPENSSL -DHAVE_POLLSET_WAKEUP   
-I/Users/wangtao/work/apache-tomcat/tcnative/trunk/native/include 
-I/Users/wangtao/.jenv/candidates/java/1.8.0_51/include 
-I/Users/wangtao/.jenv/candidates/java/1.8.0_51/include/darwin 
-I/usr/local/openssl/include  -I/usr/local/apr/include/apr-1   -o 
src/address.lo -c src/address.c && touch src/address.lo
/bin/sh /usr/local/apr/build-1/libtool --silent --mode=compile gcc -g -O2   
-DHAVE_CONFIG_H  -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10   -g -O2 
-DHAVE_OPENSSL -DHAVE_POLLSET_WAKEUP   
-I/Users/wangtao/work/apache-tomcat/tcnative/trunk/native/include 
-I/Users/wangtao/.jenv/candidates/java/1.8.0_51/include 
-I/Users/wangtao/.jenv/candidates/java/1.8.0_51/include/darwin 
-I/usr/local/openssl/include  -I/usr/local/apr/include/apr-1   -o src/bb.lo -c 
src/bb.c && touch src/bb.lo
/bin/sh /usr/local/apr/build-1/libtool --silent --mode=compile gcc -g -O2   
-DHAVE_CONFIG_H  -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10   -g -O2 
-DHAVE_OPENSSL -DHAVE_POLLSET_WAKEUP   
-I/Users/wangtao/work/apache-tomcat/tcnative/trunk/native/include 
-I/Users/wangtao/.jenv/candidates/java/1.8.0_51/include 
-I/Users/wangtao/.jenv/candidates/java/1.8.0_51/include/darwin 
-I/usr/local/openssl/include  -I/usr/local/apr/include/apr-1   -

Re: svn commit: r1712529 - in /tomcat/tc8.0.x/trunk/java/org/apache: catalina/connector/ catalina/core/ coyote/ coyote/ajp/ coyote/http11/

2015-11-05 Thread Huxing Zhang
Hi Mark,

Unit test failed because of this commit. Full details can be found in [1].

Test case failure exception stack trace:

Testcase: testZeroLengthRequestBodyPostA took 3.038 sec
FAILED
expected:<200> but was:<500>
junit.framework.AssertionFailedError: expected:<200> but was:<500>
at 
org.apache.coyote.ajp.TestAbstractAjpProcessor.validateResponseHeaders(TestAbstractAjpProcessor.java:830)
at 
org.apache.coyote.ajp.TestAbstractAjpProcessor.doTestZeroLengthRequestBody(TestAbstractAjpProcessor.java:743)
at 
org.apache.coyote.ajp.TestAbstractAjpProcessor.testZeroLengthRequestBodyPostA(TestAbstractAjpProcessor.java:706)

06-Nov-2015 10:44:32.685 SEVERE [ajp-apr-127.0.0.1-auto-7-exec-1] 
org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for 
servlet [ReadBody] in context with path [] threw exception
 java.lang.UnsupportedOperationException: The Comet protocol is not supported 
by this connector
at 
org.apache.coyote.ajp.AbstractAjpProcessor.action(AbstractAjpProcessor.java:622)
at org.apache.coyote.Request.action(Request.java:380)
at 
org.apache.catalina.connector.InputBuffer.available(InputBuffer.java:249)
at 
org.apache.catalina.connector.CoyoteInputStream.available(CoyoteInputStream.java:124)
at 
org.apache.coyote.ajp.TestAbstractAjpProcessor$ReadBodyServlet.doRequest(TestAbstractAjpProcessor.java:968)
at 
org.apache.coyote.ajp.TestAbstractAjpProcessor$ReadBodyServlet.doPost(TestAbstractAjpProcessor.java:955)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
at 
org.apache.coyote.ajp.AbstractAjpProcessor.process(AbstractAjpProcessor.java:849)
at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:673)
at 
org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2437)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at 
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)

If protocol is AJP, AbstractAjpProcessor.action will throw 
UnsupportedOperationException.

In org.apache.catalina.connector.InputBuffer#avaliable(), readForAvailable is 
not enough to avoid IS_COMET action.
I think we should also check the protocol, since IS_COMET only support HTTP.

The only way to I can figure out is to use 
Thread.currentThread.getName().isStartsWith("http"), but maybe there is 
something better.

[1] 
http://vmgump.apache.org/gump/public/tomcat-8.0.x/tomcat-tc8.0.x-test-bio/index.html

Thanks,
Huxing Zhang
--
From:markt 
Time:2015 Nov 4 (Wed) 18:55
To:dev 
Subject:svn commit: r1712529 - in /tomcat/tc8.0.x/trunk/java/org/apache: 
catalina/connector/ catalina/core/ coyote/ coyote/ajp/ coyote/http11/


Author: markt
Date: Wed Nov  4 10:55:12 2015
New Revision: 1712529

URL: http://svn.apache.org/viewvc?rev=1712529&view=rev
Log:
Follow-up to r1712081.
Comet is not-blocking too, so it also needs to trigger a read on a call to 
available() if no bytes are in the buffer

Modified:
tomcat/tc8.0.x/trunk/java/org/apache/catalina/connector/CoyoteAdapter.java
tomcat/tc8.0.x/trunk/java/org/apache/catalina/connector/InputBuffer.java
tomcat/tc8.0.x/trunk/java/org/apache/catalina/core/StandardWrapperValve.java
tomcat/tc8.0.x/trunk/java/org/apache/coyote/ActionCode.java
tomcat/tc8.0.x/trunk/java/org/apache/coyote/ajp/AbstractAjpProcessor.java

tomcat/tc8.0.x/trunk/java/org/apache/coyote/http11/AbstractHttp11Processor.java

Modified: 
tomcat/tc8.0.x/trunk/java/org/apache/catalina/connector/CoyoteAdapter.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc8.0.x/trunk/java/org/apache/catalina/connector/CoyoteAdapter.java?rev=1

Re: [VOTE] Release Apache Tomcat Native 1.2.2

2015-11-08 Thread Huxing Zhang
+1 to release.

Tested on Mac OSX(EI Captitan) and RHEL 6.2 64-bits, results are as follows:

* tcnative 1.2.2 build successful with APR 1.5.2 and openssl 1.0.2d 9 Jul 2015
* ant test success
* ant run-echo success
* tomcat 9 (r1712528): all APR test cases pass
* tomcat 8 (r1712899): all APR test cases pass except the following:
Failed test: TEST-org.apache.coyote.ajp.TestAbstractAjpProcessor.APR.txt
This is due to r1712529 and is not related to tcnative.
* tomcat 7 (r1712904): all APR test cases passes

Suggestion:
There is one typo observed in native/BUILDING:

- For MAC OS X you must manually add a link
cd ${tcnative installdir}
ln -d libtcnative-1.dylib libtcnative-1.jnilib  ==> should be ln -s 
libtcnative-1.dylib libtcnative-1.jnilib

Best Regards,
Huxing
--
From:Mark Thomas 
Time:2015 Nov 5 (Thu) 04:15
To:Tomcat Developers List 
Subject:[VOTE] Release Apache Tomcat Native 1.2.2


OK. Here we go again :)

Thanks to everyone who has helped test 1.2.x so far. I'm hopeful that
this one will be good enough for the 9.0.0 RCs and - fingers crossed -
to replace 1.1.x as well.

Version 1.2.2 includes the following changes:
- Forward port some OpenSSL I/O changes from 1.1.x that fixed a
  number of unit tests failures

The proposed release artefacts can be found at [1],
and the build was done using tag [2].

The Apache Tomcat Native 1.2.2 is
 [ ] Stable, go ahead and release
 [ ] Broken because of ...

Thanks,

Mark


[1]
https://dist.apache.org/repos/dist/dev/tomcat/tomcat-connectors/native/1.2.2/
[2] https://svn.apache.org/repos/asf/tomcat/native/tags/TOMCAT_NATIVE_1_2_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



Re: Tomcat Native 1.2.2

2015-11-09 Thread Huxing Zhang
Hi Christopher,

Thanks for your comments.
I used to compile openssl under linux, when I switched my OS to Mac OSX, the 
openssl building env was not completely clean, which lead to the problem.
Will use brew to update openssl later on.

Thanks,
Huxing
--
From:Christopher Schultz 
Time:2015 Nov 6 (Fri) 20:18
To:Tomcat Developers List 
Subject:Re: Tomcat Native 1.2.2


Huxing,

On 11/5/15 7:08 PM, Huxing Zhang wrote:
> Hi All,
> 
> I have solved the problem building tcnative on Mac OSX.
> 
> The message worth noticing is:
> ld: warning: ld: warning: ignoring file /usr/local/openssl/lib/libcrypto.a, 
> file was built for archive which is not the architecture being linked 
> (x86_64): /usr/local/openssl/lib/libcrypto.aignoring file 
> /usr/local/openssl/lib/libssl.a, file was built for archive which is not the 
> architecture being linked (x86_64): /usr/local/openssl/lib/libssl.a

I'm sorry I hadn't noticed that before. It's obviously the problem.

> The root cause is openssl is not correctly compiled with the right 
> architecture.
> 
> Recompile openssl with the following configuration will solve this problem.

That openssl is one that you must have provided yourself in the past...
Mac OS has been 64-bit-only for quite a while, now, and the OpenSSL
binaries shipped with Mac OS X are dual-architecture:

$ file /usr/lib/libssl.dylib
/usr/lib/libssl.dylib: Mach-O universal binary with 2 architectures
/usr/lib/libssl.dylib (for architecture i386): Mach-O dynamically linked
shared library i386
/usr/lib/libssl.dylib (for architecture x86_64): Mach-O 64-bit
dynamically linked shared library x86_64

On Mac OS X, consider using something like Brew for things like newer
versions of OpenSSL.

-chris

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

2015-11-15 Thread Huxing Zhang
Hi, 

I have tested tomcat 9.0.0.M1 on Mac OSX EI Capitan.

The svn link seems broken to me:
http://svn.apache.org/repos/asf/tomcattags/TOMCAT_9_0_0_M1/ 

Instead, the following url is accessible:
http://svn.apache.org/repos/asf/tomcat/tags/TOMCAT_9_0_0_M1/

Environment:
Mac OSX, jdk 1.8.0_51, apr 1.5.2, tcnative 1.2.2, OpenSSL 1.0.2d 9 Jul 2015

Test Results:
All NIO/NIO2/APR test cases have successfully passed.

Test https + apr with openssl generated self-signed certificate: ok
Smoking test on servlet/jsp/websocket examples: ok
HTTP/2 server push feature on Chrome: ok

Test https + nio/nio2 with 
sslImplementationName="org.apache.tomcat.util.net.openssl.OpenSSLImplementation"
 defined in connector
Smoking test on servlet/jsp/websocket examples: ok
HTTP/2 server push feature on Chrome: ok

Observations:
* lack of documentation of  element, should be in 
config/http.html#Nested_Components
* deprecated documentation found on docs/ssl-howto.html:
Right now the doc says:
The APR connector uses different attributes for many SSL settings, particularly 
keys and certificates. An example of an APR configuration is:


Since SSL configuration attributes in the Connector element is deprecated, it 
should be replaced by configurations in SSLHostConfig element. At least, it 
should be marked as deprecated.  
* ${catalina.base} directory appears after running unit test case, it also 
appeared in trunk, but never in tomcat8/tomcat7 trunk. I haven't looked into 
it, but I guess there is some test which forgot to set the catalina.base system 
property.
* in docs/ssl-howto.html, it might be better to provide an example of 
generating self-signed certificate using openssl, what I am using is:
/usr/local/openssl/bin/openssl req -x509 -newkey rsa:2048 -keyout key.pem -out 
cert.pem -days 365
* the documentation of docs/config/http.html#SSL_Support_-_SSLHostConfig looks 
a little confused, it might be better to separate JSSE only and Openssl only 
attributes.

Overall my conclusion is:
[ X ] Alpha - go ahead and release as 9.0.0.M1
 
--
From:Mark Thomas 
Time:2015 Nov 13 (Fri) 08:13
To:dev@tomcat.apache.org 
Subject:[VOTE] Release Apache Tomcat 9.0.0.M1


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

This is the first 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 8.0.x branch are:
- Requires Java 8
- BIO, Comet and Windows Itanium support have been removed
- Support for TLS virtual hosting, ALPN, HTTP/2 and OpenSSL with
  NIO/NIO2 has been added
- Lots of internal refactoring to support the above changes

For full details, see the changelog:
http://svn.us.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.M1/
The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-1054/
The svn tag is:
http://svn.apache.org/repos/asf/tomcattags/TOMCAT_9_0_0_M1/

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

-
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



A step by step guide to try out the HTTP/2 feature in tomcat9

2015-11-16 Thread Huxing Zhang
Following is a step by step guide for those who are interested in trying out 
the HTTP/2 feature in tomcat9,
Please correct me if anything is wrong.

Prerequisite:
* JDK8: suppose you've already installed
* tomcat 9.0.0.M1: 
Please download from 
https://dist.apache.org/repos/dist/dev/tomcat/tomcat-9/v9.0.0.M1/ 
(a release candidate which is calling for votes.)
* openssl 1.0.2d:
For Unix:
1) build from source code:
wget https://www.openssl.org/source/openssl-1.0.2d.tar.gz
tar -xf openssl-1.0.2d.tar.gz
cd openssl-1.0.2d
./config -fPIC --prefix=/path/to/openssl/
make
(sudo) make install

For Mac OSX
1) build from source code:
wget https://www.openssl.org/source/openssl-1.0.2d.tar.gz
tar -xf openssl-1.0.2d.tar.gz
cd openssl-1.0.2d
./Configure darwin64-x86_64-cc --prefix=/path/to/openssl shared
make
(sudo) make install
2) obtain from brew (recommended, but not tried yet)

* apr 1.4.0+ (latest version is 1.5.2)
build apr 1.5.2 from scratch if not installed:
download source code from https://apr.apache.org/download.cgi
tar -xf apr-1.5.2.tar.gz
cd apr-1.5.2
./configure
make
(sudo) make install
* tomcat native 1.2.2 (require apr 1.4.0+)
For Windows: 
please download the binary release from 
http://tomcat.apache.org/download-native.cgi
or build from source code(not tried yet)

For Unix/Mac OSX
download the source code from: http://tomcat.apache.org/download-native.cgi 
tar -xf tomcat-native-1.2.2-src.tar.gz
cd tomcat-native-1.2.2-src/native
./configure --with-apr=/path/to/apr --with-ssl=/path/to/openssl
make
(sudo) make install

* Genearte self-signed certificate:
/path/to/openssl req -x509 -newkey rsa:2048 -keyout /var/tmp/private-key.pem 
-out /var/tmp/cert.pem -days 365
(with passphrase: tomcat)

Tomcat side configurations(APR connector)
1. configure setenv.sh
CATALINA_OPTS="$CATALINA_OPTS -Djava.library.path=/path/to/your/tcnative/lib"
2. configure server.xml






3. start tomcat
4. visit https://localhost:8443/examples/servlets/serverpush/simpleimage 
You should see the image if everything is all right.

Tomcat side configurations(NIO/NIO2 connector, take NIO2 as an example)
1. configure server.xml
 





2. start tomcat
3. visit https://localhost:8443/examples/servlets/serverpush/simpleimage
You should see the image if everything is all right.

NOTES:
* HTTP/2 is not supported for non-secured protocol currently.
* HTTP/2 is not supported for JSSE implementation currently.

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



Re: A step by step guide to try out the HTTP/2 feature in tomcat9

2015-11-16 Thread Huxing Zhang
Chris,

>> NOTES:
>> * HTTP/2 is not supported for non-secured protocol currently.

> I'm no expert, but I thought that h2c was supported.

Actually I tried to configure HTTP/2 in non-secured connector, the 
configuration I tried in server.xml is as follows:





When tomcat started, I observed the following log:
17-Nov-2015 08:35:20.149 INFO [main] 
org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The 
["http-apr-8080"] connector has been configured to support HTTP upgrade to [h2c]

However, when I tried the server push example:
http://localhost:8080/examples/servlets/serverpush/simpleimage

The following error occurred:

java.lang.UnsupportedOperationException: Server push requests are not supported 
by the HTTP/1.1 protocol

org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:937)
org.apache.coyote.Request.action(Request.java:392)
http2.SimpleImagePush.doGet(SimpleImagePush.java:37)
javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)

org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)

Am I missing something?

Best Regards,
Huxing
--
From:Christopher Schultz 
Time:2015 Nov 17 (Tue) 06:44
To:Tomcat Developers List 
Subject:Re: A step by step guide to try out the HTTP/2 feature in tomcat9


Huxing,

On 11/16/15 3:14 AM, Huxing Zhang wrote:
> Following is a step by step guide for those who are interested in trying out 
> the HTTP/2 feature in tomcat9,
> Please correct me if anything is wrong.
> 
> Prerequisite:
> * JDK8: suppose you've already installed
> * tomcat 9.0.0.M1: 
> Please download from 
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-9/v9.0.0.M1/ 
> (a release candidate which is calling for votes.)
> * openssl 1.0.2d:
> For Unix:
> 1) build from source code:
> wget https://www.openssl.org/source/openssl-1.0.2d.tar.gz
> tar -xf openssl-1.0.2d.tar.gz
> cd openssl-1.0.2d
> ./config -fPIC --prefix=/path/to/openssl/
> make
> (sudo) make install
> 
> For Mac OSX
> 1) build from source code:
> wget https://www.openssl.org/source/openssl-1.0.2d.tar.gz
> tar -xf openssl-1.0.2d.tar.gz
> cd openssl-1.0.2d
> ./Configure darwin64-x86_64-cc --prefix=/path/to/openssl shared
> make
> (sudo) make install
> 2) obtain from brew (recommended, but not tried yet)

+1 for brew, though it wants to install a bunch of things that might
surprise you (I originally used to install gpg, I think). It *does*
allow you to install any number of OpenSSL versions side-by-side,
though. If you use brew to install multiple OpenSSLs, you'll want to
specify which one you are using when building tcnative. You'll want to
point --with-ssl at /usr/local/Cellar/openssl/[version]

Current version of OpenSSL available through Brew is 1.0.2d.

> * apr 1.4.0+ (latest version is 1.5.2)
> build apr 1.5.2 from scratch if not installed:
> download source code from https://apr.apache.org/download.cgi
> tar -xf apr-1.5.2.tar.gz
> cd apr-1.5.2
> ./configure
> make
> (sudo) make install
> * tomcat native 1.2.2 (require apr 1.4.0+)
> For Windows: 
> please download the binary release from 
> http://tomcat.apache.org/download-native.cgi
> or build from source code(not tried yet)
> 
> For Unix/Mac OSX
> download the source code from: http://tomcat.apache.org/download-native.cgi 
> tar -xf tomcat-native-1.2.2-src.tar.gz
> cd tomcat-native-1.2.2-src/native
> ./configure --with-apr=/path/to/apr --with-ssl=/path/to/openssl
> make
> (sudo) make install
> 
> * Genearte self-signed certificate:
> /path/to/openssl req -x509 -newkey rsa:2048 -keyout /var/tmp/private-key.pem 
> -out /var/tmp/cert.pem -days 365
> (with passphrase: tomcat)
> 
> Tomcat side configurations(APR connector)
> 1. configure setenv.sh
> CATALINA_OPTS="$CATALINA_OPTS -Djava.library.path=/path/to/your/tcnative/lib"
> 2. configure server.xml
>  protocol="org.apache.coyote.http11.Http11Nio2Protocol"
>maxThreads="150" SSLEnabled="true">
> 
> 
>   certificateFile="/var/tmp/cert.pem"
>  certificateKeyPassword="tomcat"
>  type="RSA" />
> 
> 
> 3. start tomcat
> 4. visit https://localhost:8443/examples/servlets/serverpush/simpleimage 
> You should see the image if everything is all right.
> 
> Tomcat side configurations(NIO/NIO2 connector, take NIO2 as an exa

Re: A step by step guide to try out the HTTP/2 feature in tomcat9

2015-11-17 Thread Huxing Zhang
Mark,

Thanks for pointing me out, and I will have a try on h2c using curl.

Huxing

--
From:Mark Thomas 
Time:2015 Nov 17 (Tue) 15:24
To:Tomcat Developers List 
Subject:Re: A step by step guide to try out the HTTP/2 feature in tomcat9


On 17 November 2015 00:49:00 GMT+00:00, Huxing Zhang 
 wrote:
>Chris,
>
>>> NOTES:
>>> * HTTP/2 is not supported for non-secured protocol currently.
>
>> I'm no expert, but I thought that h2c was supported.
>
>Actually I tried to configure HTTP/2 in non-secured connector, the
>configuration I tried in server.xml is as follows:
>
>protocol="org.apache.coyote.http11.Http11AprProtocol"
>   connectionTimeout="2"
>   redirectPort="8443" >
>  
>
>
>When tomcat started, I observed the following log:
>17-Nov-2015 08:35:20.149 INFO [main]
>org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol
>The ["http-apr-8080"] connector has been configured to support HTTP
>upgrade to [h2c]
>
>However, when I tried the server push example:
>http://localhost:8080/examples/servlets/serverpush/simpleimage
>
>The following error occurred:
>
>java.lang.UnsupportedOperationException: Server push requests are not
>supported by the HTTP/1.1 protocol
> org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:937)
> org.apache.coyote.Request.action(Request.java:392)
> http2.SimpleImagePush.doGet(SimpleImagePush.java:37)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
>
>Am I missing something?
>
>Best Regards,
>Huxing
>--
>From:Christopher Schultz 
>Time:2015 Nov 17 (Tue) 06:44
>To:Tomcat Developers List 
>Subject:Re: A step by step guide to try out the HTTP/2 feature in
>tomcat9
>
>
>Huxing,
>
>On 11/16/15 3:14 AM, Huxing Zhang wrote:
>> Following is a step by step guide for those who are interested in
>trying out the HTTP/2 feature in tomcat9,
>> Please correct me if anything is wrong.
>> 
>> Prerequisite:
>> * JDK8: suppose you've already installed
>> * tomcat 9.0.0.M1: 
>> Please download from
>https://dist.apache.org/repos/dist/dev/tomcat/tomcat-9/v9.0.0.M1/ 
>> (a release candidate which is calling for votes.)
>> * openssl 1.0.2d:
>> For Unix:
>> 1) build from source code:
>> wget https://www.openssl.org/source/openssl-1.0.2d.tar.gz
>> tar -xf openssl-1.0.2d.tar.gz
>> cd openssl-1.0.2d
>> ./config -fPIC --prefix=/path/to/openssl/
>> make
>> (sudo) make install
>> 
>> For Mac OSX
>> 1) build from source code:
>> wget https://www.openssl.org/source/openssl-1.0.2d.tar.gz
>> tar -xf openssl-1.0.2d.tar.gz
>> cd openssl-1.0.2d
>> ./Configure darwin64-x86_64-cc --prefix=/path/to/openssl shared
>> make
>> (sudo) make install
>> 2) obtain from brew (recommended, but not tried yet)
>
>+1 for brew, though it wants to install a bunch of things that might
>surprise you (I originally used to install gpg, I think). It *does*
>allow you to install any number of OpenSSL versions side-by-side,
>though. If you use brew to install multiple OpenSSLs, you'll want to
>specify which one you are using when building tcnative. You'll want to
>point --with-ssl at /usr/local/Cellar/openssl/[version]
>
>Current version of OpenSSL available through Brew is 1.0.2d.
>
>> * apr 1.4.0+ (latest version is 1.5.2)
>> build apr 1.5.2 from scratch if not installed:
>> download source code from https://apr.apache.org/download.cgi
>> tar -xf apr-1.5.2.tar.gz
>> cd apr-1.5.2
>> ./configure
>> make
>> (sudo) make install
>> * tomcat native 1.2.2 (require apr 1.4.0+)
>> For Windows: 
>> please download the binary release from
>http://tomcat.apache.org/download-native.cgi
>> or build from source code(not tried yet)
>> 
>> For Unix/Mac OSX
>> download the source code from:
>http://tomcat.apache.org/download-native.cgi 
>> tar -xf tomcat-native-1.2.2-src.tar.gz
>> cd tomcat-native-1.2.2-src/native
>> ./configure --with-apr=/path/to/apr --with-ssl=/path/to/openssl
>> make
>> (sudo) make install
>> 
>> * Genearte self-signed certificate:
>> /path/to/openssl req -x509 -newkey rsa:2048 -keyout
>/var/tm

Re: svn commit: r1715633 - in /tomcat/trunk: modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/ClassLoaderUtil.java webapps/docs/changelog.xml

2015-11-22 Thread Huxing Zhang
Hi fschumacher,

Just a friendly reminder that I had a discussion with kkolinko about this 
before.
I seems that it is better to explicitly define the default value rather than 
the Boolean.getBoolean syntactic sugar.

 private static final boolean onlyAttemptFirstLoader =
-
Boolean.getBoolean(System.getProperty("org.apache.tomcat.jdbc.pool.onlyAttemptCurrentClassLoader",
 "false"));
+
Boolean.getBoolean("org.apache.tomcat.jdbc.pool.onlyAttemptCurrentClassLoader");

Details can be found here: 
https://bz.apache.org/bugzilla/show_bug.cgi?id=58564

--
From:fschumacher 
Time:2015 Nov 22 (Sun) 23:29
To:dev 
Subject:svn commit: r1715633 - in /tomcat/trunk: 
modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/ClassLoaderUtil.java
 webapps/docs/changelog.xml


Author: fschumacher
Date: Sun Nov 22 15:28:55 2015
New Revision: 1715633

URL: http://svn.apache.org/viewvc?rev=1715633&view=rev
Log:
Correct evaluation of system property 
org.apache.tomcat.jdbc.pool.onlyAttemptCurrentClassLoader.
It was basically ignored before. Reported by coverity scan.

Modified:

tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/ClassLoaderUtil.java
tomcat/trunk/webapps/docs/changelog.xml

Modified: 
tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/ClassLoaderUtil.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/ClassLoaderUtil.java?rev=1715633&r1=1715632&r2=1715633&view=diff
==
--- 
tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/ClassLoaderUtil.java
 (original)
+++ 
tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/ClassLoaderUtil.java
 Sun Nov 22 15:28:55 2015
@@ -24,7 +24,7 @@ public class ClassLoaderUtil {
 private static final Log log = LogFactory.getLog(ClassLoaderUtil.class);
 
 private static final boolean onlyAttemptFirstLoader =
-
Boolean.getBoolean(System.getProperty("org.apache.tomcat.jdbc.pool.onlyAttemptCurrentClassLoader",
 "false"));
+
Boolean.getBoolean("org.apache.tomcat.jdbc.pool.onlyAttemptCurrentClassLoader");
 
 public static Class loadClass(String className, ClassLoader... 
classLoaders) throws ClassNotFoundException {
 ClassNotFoundException last = null;

Modified: tomcat/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1715633&r1=1715632&r2=1715633&view=diff
==
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Sun Nov 22 15:28:55 2015
@@ -95,6 +95,14 @@
   
 
   
+  
+
+  
+Correct evaluation of system property 
org.apache.tomcat.jdbc.pool.onlyAttemptCurrentClassLoader.
+It was basically ignored before. Reported by coverity scan. 
(fschumacher)
+  
+
+  
 
 
   



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

2015-11-22 Thread Huxing Zhang
+1 for non-binding.

Testing environment:
RHEL 6.2, JDK 1.7.0_67, tcnative 1.2.2, apr 1.5.2

Test results:
All the test cases of BIO/NIO/NIO2/APR has successfully passed.

Best Regards,
Huxing Zhang
--
From:Mark Thomas 
Time:2015 Nov 20 (Fri) 18:00
To:dev@tomcat.apache.org 
Subject:[VOTE] Release Apache Tomcat 8.0.29


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

The main changes since 8.0.28 are:

- Add an option to control (per context) quoting of EL expressions in
  JSP attributes

- Correct a regression in the fix for 56777 that added support for
  URIs in config file locations

- Add a new RestCsrfPreventionFilter that provides basic CSRF
  protection for REST APIs

-  Use instance manager for WebSocket server endpoint instances


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

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

-
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: Today's Tomcat 9 HTTP/2 webinar is now available on YouTube

2015-11-24 Thread Huxing Zhang
For those who can't access youtube, you can find the video on youku.com:

http://v.youku.com/v_show/id_XMTM5NTU3Mjk2MA==.html

--
From:Mark Thomas 
Time:2015 Nov 25 (Wed) 07:11
To:us...@tomcat.apache.org 
Subject:Today's Tomcat 9 HTTP/2 webinar is now available on YouTube


All,

As promised, today's webinar "Apache Tomcat 9: HTTP/2 Quick Start" is
now available on the Apache Tomcat YouTube channel:

https://www.youtube.com/channel/UCpqpJ0-G1lYfUBQ6_36Au_g

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

2015-12-03 Thread Huxing Zhang
+1 for non-binding.

Testing environment:
RHEL 6.2, JDK 1.7.0_67, tcnative 1.2.2, apr 1.5.2

Test results:
All the test cases of BIO/NIO/NIO2/APR has successfully passed.

Best,
Huxing Zhang

--
From:Rémy Maucherat 
Time:2015 Dec 3 (Thu) 19:51
To:Tomcat Developers List 
Subject:Re: [VOTE] Release Apache Tomcat 8.0.30


2015-12-02 0:02 GMT+01:00 Mark Thomas :

> The proposed 8.0.30 release is:
> [ ] Broken - do not release
> [X] Stable - go ahead and release as 8.0.30
>
> Rémy

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



Re: svn commit: r1718302 - in /tomcat/site/trunk: ./ docs/ xdocs/

2015-12-07 Thread Huxing Zhang
Hi,

There is a typo in commit message.

Log:
Updates (excluding docs) for 8.0.309 release

should be 8.0.30?

--
From:markt 
Time:2015 Dec 7 (Mon) 19:18
To:dev 
Subject:svn commit: r1718302 - in /tomcat/site/trunk: ./ docs/ xdocs/


Author: markt
Date: Mon Dec  7 11:13:34 2015
New Revision: 1718302

URL: http://svn.apache.org/viewvc?rev=1718302&view=rev
Log:
Updates (excluding docs) for 8.0.309 release

Modified:
tomcat/site/trunk/build.properties.default
tomcat/site/trunk/docs/download-80.html
tomcat/site/trunk/docs/index.html
tomcat/site/trunk/docs/migration-8.html
tomcat/site/trunk/docs/oldnews.html
tomcat/site/trunk/docs/whichversion.html
tomcat/site/trunk/xdocs/download-80.xml
tomcat/site/trunk/xdocs/index.xml
tomcat/site/trunk/xdocs/migration-8.xml
tomcat/site/trunk/xdocs/oldnews.xml
tomcat/site/trunk/xdocs/whichversion.xml

Modified: tomcat/site/trunk/build.properties.default
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/build.properties.default?rev=1718302&r1=1718301&r2=1718302&view=diff
==
--- tomcat/site/trunk/build.properties.default (original)
+++ tomcat/site/trunk/build.properties.default Mon Dec  7 11:13:34 2015
@@ -38,7 +38,7 @@ tomcat.loc=http://www.apache.org/dist/to
 # - Tomcat versions -
 tomcat60=6.0.43
 tomcat70=7.0.65
-tomcat80=8.0.29
+tomcat80=8.0.30
 tomcat90=9.0.0.M1
 
 # - Download destination -

Modified: tomcat/site/trunk/docs/download-80.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-80.html?rev=1718302&r1=1718301&r2=1718302&view=diff
==
--- tomcat/site/trunk/docs/download-80.html (original)
+++ tomcat/site/trunk/docs/download-80.html Mon Dec  7 11:13:34 2015
@@ -215,7 +215,7 @@
 Quick Navigation
 
 
-[define v]8.0.29[end]
+[define v]8.0.30[end]
 https://www.apache.org/dist/tomcat/tomcat-8/KEYS";>KEYS |
 [v] |
 Browse |

Modified: tomcat/site/trunk/docs/index.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/index.html?rev=1718302&r1=1718301&r2=1718302&view=diff
==
--- tomcat/site/trunk/docs/index.html (original)
+++ tomcat/site/trunk/docs/index.html Mon Dec  7 11:13:34 2015
@@ -237,39 +237,32 @@ project logo are trademarks of the Apach
 
 
 
-
-2015-11-24 Tomcat 8.0.29 Released
+
+2015-12-06 Tomcat 8.0.30 Released
 
 
 
-The Apache Tomcat Project is proud to announce the release of version 8.0.29
-of Apache Tomcat. Apache Tomcat 8.0.29 includes fixes for issues identified in
-8.0.28 as well as other enhancements and changes. The notable changes since
-8.0.28 include:
+The Apache Tomcat Project is proud to announce the release of version 8.0.30
+of Apache Tomcat. Apache Tomcat 8.0.30 includes fixes for issues identified in
+8.0.29 as well as other enhancements and changes. The notable changes since
+8.0.29 include:
 
 
 
-Add an option to control (per context) quoting of EL expressions in JSP
-attributes.
+Location headers for redirects now use relative URIs. This can be 
controlled
+per Context with the useRelativeRedirects attribute.
 
-Correct a regression in the fix for 56777 that added support for URIs in
-config file locations.
+Correct a regression in 8.0.29 that broke redirects for context roots.
 
-Add a new RestCsrfPreventionFilter that provides basic CSRF protection for
-REST APIs.
-
-Use instance manager for WebSocket server endpoint instances.
+Restore the default setting of quoteAttributeEL in Jasper to true to align
+with 8.0.26/7.0.64 and earlier as well as other JSP implementations.
 
 
 
 
-Note: Due to issues with the code signing service, the Windows Installer has
-not been signed for this release.
-
-
 
 Full details of these changes, and all the other changes, are available in the
-Tomcat 8
+Tomcat 8
 changelog.
 
 

Modified: tomcat/site/trunk/docs/migration-8.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/migration-8.html?rev=1718302&r1=1718301&r2=1718302&view=diff
==
--- tomcat/site/trunk/docs/migration-8.html (original)
+++ tomcat/site/trunk/docs/migration-8.html Mon Dec  7 11:13:34 2015
@@ -732,7 +732,8 @@ of Apache Tomcat.
   "8.0.26":"1696400",
   "8.0.27":"1704937",
   "8.0.28":"1707356",
-  "8.0.29":"1715254"
+  "8.0.29":"1715254",
+  "8.0.30":"1717548"
 };
 
 formSubmit.action = 
"http://svn.apache.org/viewvc/tomcat/tc8.0.x/trunk/"; +
@@ -785,8 +786,9 @@ of Apache Tomcat.
 8.0.24
 8.0.26
 8.0.27
-8.0.28
-8.0.29
+8.0.28
+8.0.29
+8.0.30
 , new version:
 
 8.0.0-RC1
@@ -812,7 +814,8 @@ of Apache Tomcat.
 8.0.26

Re: [VOTE] Release Apache Tomcat 7.0.67

2015-12-08 Thread Huxing Zhang
+1 (non-binding) to release.

Testing environment:
RHEL 6.2, JDK 1.6.0_22(with jdk.7.home point to 1.7.0_67), tcnative 1.2.2, apr 
1.5.2

Test results:
All the test cases of BIO/NIO/APR has successfully passed.
Smoking test based on built-in examples: successful.

Best,
Huxing Zhang

--
From:Violeta Georgieva 
Time:2015 Dec 7 (Mon) 23:15
To:Tomcat Developers List 
Subject:[VOTE] Release Apache Tomcat 7.0.67


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

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

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

Regards,
Violeta

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



Re: [VOTE] Release Apache Tomcat Native 1.2.3

2015-12-13 Thread Huxing Zhang
+1 (non-binding) to release.

Testing environment:
RHEL 6.2, JDK 1.6.0_22, 1.7.0_67, jdk 1.8.0_51, apr 1.5.2, OpenSSL 1.0.2d 9 Jul 
2015

Test results:
* tcnative 1.2.3 binary build: success
* Apr test cases run on Tomcat 7.0.67: success 
* Apr test cases run on Tomcat 8.0.30: success 
* Apr test cases run on Tomcat 9 trunk(r1718838): success 

Best,
Huxing Zhang
--
From:Konstantin Kolinko 
Time:2015 Dec 12 (Sat) 15:09
To:Tomcat Developers List 
Subject:Re: [VOTE] Release Apache Tomcat Native 1.2.3


2015-12-09 23:37 GMT+03:00 Mark Thomas :
> Version 1.2.3 includes the following changes:
>
> - Java keystore support
>
> - Various fixes to align the Java and native APIs
>
> - Various fixes if building without OpenSSL
>
> The proposed release artefacts can be found at [1],
> and the build was done using tag [2].
>
> The Apache Tomcat Native 1.2.3 is
>  [x] Stable, go ahead and release
>  [ ] Broken because of ...


Testsuite run with APR connector - OK
for Tomcat 7, Tomcat 8, Tomcat 9 (trunk @2 days ago)
with 32-bit Java 6/7/8 on Windows 7.

Best regards,
Konstantin Kolinko

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



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: Slides for ApacheCon EU Roadshow 2018

2018-06-30 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&index=15&list=PLU2OcwpQkYCyuV8Fza7dVAEg5FW2Pzg-8&t=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



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



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



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

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



Found 6.0.45 and 6.0.44 release announcement in tomcat.apache.org

2016-03-21 Thread Huxing Zhang
Hi All,

I found that there are two release announcement, 6.0.45(2016-02-11) and 
6.0.44(2015-05-12) in the following url:
http://tomcat.apache.org/

Is that expected?

Thanks,
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.0

2016-03-22 Thread Huxing Zhang
Hi, 

I have following observations:

0. in NOTICE it sill mentions the following XML schemas, which I think should 
be removed.
 - javaee_8.xsd
 - web-app_4_0.xsd
 - web-common_4_0.xsd
 - web-fragment_4_0.xsd

1. When uncomment the SSL/TLS HTTP/1.1 Connector on port 8443 with HTTP/2 and 
start tomcat, there is NoSuchMethodException in catalina.out
details are described in:
https://bz.apache.org/bugzilla/show_bug.cgi?id=59209 

2. Server push examples failed, details are described in:
https://bz.apache.org/bugzilla/show_bug.cgi?id=59210

3. The following test case is constantly failing in my environment (RHEL 6.2 
and Mac OS X).
I have checked with tomcat 9.0.0.M3 and there is no such problem.

in TEST-org.apache.coyote.http11.TestHttp11Processor.NIO.txt:

Testcase: testNon2xxResponseWithExpectation took 3.082 sec
Caused an ERROR
Unexpected end of file from server
java.net.SocketException: Unexpected end of file from server
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:772)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:633)
at 
sun.net.www.protocol.http.HttpURLConnection.expect100Continue(HttpURLConnection.java:1020)
at 
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1105)
at 
org.apache.catalina.startup.TomcatBaseTest.postUrl(TomcatBaseTest.java:759)
at 
org.apache.catalina.startup.TomcatBaseTest.postUrl(TomcatBaseTest.java:722)
at 
org.apache.coyote.http11.TestHttp11Processor.doTestNon2xxResponseAndExpectation(TestHttp11Processor.java:584)
at 
org.apache.coyote.http11.TestHttp11Processor.testNon2xxResponseWithExpectation(TestHttp11Processor.java:548)

Any ideas? 

Other test cases are all passed with openssl 1.0.2g and tcnative 1.2.5 under 
RHEL 6.2  / Mac OS X
Other examples are all OK.

--
From:Mark Thomas 
Time:2016 Mar 18 (Fri) 04:00
To:dev@tomcat.apache.org 
Subject:[VOTE] Release Apache Tomcat 8.5.0


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

This is the first release of the 8.5.x branch. The release is, in essence:
- Based on a copy of the 9.0.0.M4 tag
- All 9.0.x changes to the specification APIs have been reverted. The
  specification APIs should match 8.0.x exactly
- Java 8 specific code has been re-written for Java 7
- Tomcat and specification versions have been set

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

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

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

2016-03-22 Thread Huxing Zhang
Hi Violeta,

I'm using JDK 1.7.0_79 on Mac OS X.
The test case passed on JDK 1.7.0_80.

--
From:Violeta Georgieva 
Time:2016 Mar 22 (Tue) 19:32
To:Tomcat Developers List , 张乎兴(望陶) 

Subject:Re: [VOTE] Release Apache Tomcat 8.5.0




2016-03-22 13:31 GMT+02:00 Violeta Georgieva :
>
> Hi,
>
> 2016-03-22 9:25 GMT+02:00 Huxing Zhang :
> >
> > Hi,
> >
> > I have following observations:
> >
> > 0. in NOTICE it sill mentions the following XML schemas, which I think 
> > should be removed.
> >  - javaee_8.xsd
> >  - web-app_4_0.xsd
> >  - web-common_4_0.xsd
> >  - web-fragment_4_0.xsd
> >
> > 1. When uncomment the SSL/TLS HTTP/1.1 Connector on port 8443 with HTTP/2 
> > and start tomcat, there is NoSuchMethodException in catalina.out
> > details are described in:
> > https://bz.apache.org/bugzilla/show_bug.cgi?id=59209
> >
> > 2. Server push examples failed, details are described in:
> > https://bz.apache.org/bugzilla/show_bug.cgi?id=59210
> >
> > 3. The following test case is constantly failing in my environment (RHEL 
> > 6.2 and Mac OS X).
> > I have checked with tomcat 9.0.0.M3 and there is no such problem.
>
> This is fixed with r1736178

I meant the problem with the server push, not the test.

>
> > in TEST-org.apache.coyote.http11.TestHttp11Processor.NIO.txt:
> >
> > Testcase: testNon2xxResponseWithExpectation took 3.082 sec
> > Caused an ERROR
> > Unexpected end of file from server
> > java.net.SocketException: Unexpected end of file from server
> > at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:772)
> > at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:633)
> > at 
> > sun.net.www.protocol.http.HttpURLConnection.expect100Continue(HttpURLConnection.java:1020)
> > at 
> > sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1105)
> > at 
> > org.apache.catalina.startup.TomcatBaseTest.postUrl(TomcatBaseTest.java:759)
> > at 
> > org.apache.catalina.startup.TomcatBaseTest.postUrl(TomcatBaseTest.java:722)
> > at 
> > org.apache.coyote.http11.TestHttp11Processor.doTestNon2xxResponseAndExpectation(TestHttp11Processor.java:584)
> > at 
> > org.apache.coyote.http11.TestHttp11Processor.testNon2xxResponseWithExpectation(TestHttp11Processor.java:548)
> >
> > Any ideas?
> >
>
> I cannot reproduce this with Windows 7 and jdk1.7.0_80
>
> Can you specify the concrete JDK version that you are using?
>
> Regards,
> Violeta
>
> > Other test cases are all passed with openssl 1.0.2g and tcnative 1.2.5 
> > under RHEL 6.2  / Mac OS X
> > Other examples are all OK.
> >
> > --
> > From:Mark Thomas 
> > Time:2016 Mar 18 (Fri) 04:00
> > To:dev@tomcat.apache.org 
> > Subject:[VOTE] Release Apache Tomcat 8.5.0
> >
> >
> > The proposed Apache Tomcat 8.5.0 release is now available for voting.
> >
> > This is the first release of the 8.5.x branch. The release is, in essence:
> > - Based on a copy of the 9.0.0.M4 tag
> > - All 9.0.x changes to the specification APIs have been reverted. The
> >   specification APIs should match 8.0.x exactly
> > - Java 8 specific code has been re-written for Java 7
> > - Tomcat and specification versions have been set
> >
> > It can be obtained from:
> > https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.5.0/
> > The Maven staging repo is:
> > https://repository.apache.org/content/repositories/orgapachetomcat-1066/
> > The svn tag is:
> > http://svn.apache.org/repos/asf/tomcat/tc8.5.x/tags/TOMCAT_8_5_0/
> >
> > The proposed 8.5.0 release is:
> > [ ] Broken - do not release
> > [ ] Alpha  - go ahead and release as 8.5.0
> > [ ] Beta   - go ahead and release as 8.5.0
> > [ ] Stable - go ahead and release as 8.5.0
> >
> > -
> > 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 8.0.33

2016-03-24 Thread Huxing Zhang
The proposed 8.0.33 release is:
[ x ] Stable - go ahead and release as 8.0.33

--
From:Mark Thomas 
Time:2016 Mar 19 (Sat) 04:55
To:dev@tomcat.apache.org 
Subject:[VOTE] Release Apache Tomcat 8.0.33


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

The main changes since 8.0.32 are:

- Correct a false positive warning for ThreadLocal related memory
  leaks when the key class but not the value class has been loaded
  by the web application class loader.

- Improve the performance of
  javax.servlet.jsp.el.ScopedAttributeELResolver when resolving
  attributes that do not exist.

- Update the packaged version of the Tomcat Native Library to 1.2.5
  to pick up the Windows binaries that are based on OpenSSL 1.0.2g
  and APR 1.5.1.

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

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

-
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



tomcat 9.0.x/8.5.x github mirror

2016-03-30 Thread Huxing Zhang
Hi, 

I am wondering that is there any plan on setting up github mirror for tomcat 
9.0.x/8.5.x branch?

If so, what is the ETA of it?

Thanks,
Huxing

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



Re: tomcat 9.0.x/8.5.x github mirror

2016-03-30 Thread Huxing Zhang
Sorry, 9.0.x mirror is already there, I mean the 8.5.x mirror.

--
From:Huxing Zhang
Time:2016 Mar 31 (Thu) 11:03
To:dev 
Subject:tomcat 9.0.x/8.5.x github mirror


Hi, 

I am wondering that is there any plan on setting up github mirror for tomcat 
9.0.x/8.5.x branch?

If so, what is the ETA of it?

Thanks,
Huxing

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



Re: tomcat 9.0.x/8.5.x github mirror

2016-04-06 Thread Huxing Zhang
Hi Mark,

I have confirmed the availability of 8.5.x github mirror.

Thanks!

--
From:Mark Thomas 
Time:2016 Apr 2 (Sat) 22:37
To:Tomcat Developers List 
Subject:Re: tomcat 9.0.x/8.5.x github mirror


On 31/03/2016 04:08, Huxing Zhang wrote:
> Sorry, 9.0.x mirror is already there, I mean the 8.5.x mirror.

It was on the TODO list but I hadn't got around to it. The request just
went in. Follow progress at:
https://issues.apache.org/jira/browse/INFRA-11587

Mark


> 
> --
> From:Huxing Zhang
> Time:2016 Mar 31 (Thu) 11:03
> To:dev 
> Subject:tomcat 9.0.x/8.5.x github mirror
> 
> 
> Hi, 
> 
> I am wondering that is there any plan on setting up github mirror for tomcat 
> 9.0.x/8.5.x branch?
> 
> If so, what is the ETA of it?
> 
> Thanks,
> Huxing
> 
> -
> 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: [GUMP@vmgump]: Project tomcat-tc7.0.x-test-apr (in module tomcat-7.0.x) failed

2016-04-08 Thread Huxing Zhang
Hi,

I got the same failure as the CI build report.

http://vmgump.apache.org/gump/public/tomcat-7.0.x/tomcat-tc7.0.x-test-apr/gump_file/TEST-org.apache.tomcat.websocket.server.TestClose.APR.txt.html

Rx: NORMAL_CLOSURE
junit.framework.AssertionFailedError: Rx: NORMAL_CLOSURE
at 
org.apache.tomcat.websocket.server.TestClose.awaitOnClose(TestClose.java:107)
at 
org.apache.tomcat.websocket.server.TestClose.awaitOnClose(TestClose.java:100)
at 
org.apache.tomcat.websocket.server.TestClose.testWsCloseThenTcpResetWhenOnMessageSends(TestClose.java:267)
 

This is described in: 
https://bz.apache.org/bugzilla/show_bug.cgi?id=59254


Testcase: testTcpResetWhenOnMessageSends took 5.165 sec
FAILED
onError not called
junit.framework.AssertionFailedError: onError not called
at 
org.apache.tomcat.websocket.server.TestClose.awaitLatch(TestClose.java:86)
at 
org.apache.tomcat.websocket.server.TestClose.awaitOnError(TestClose.java:112)
at 
org.apache.tomcat.websocket.server.TestClose.testTcpResetInOnMessage(TestClose.java:213)
at 
org.apache.tomcat.websocket.server.TestClose.testTcpResetWhenOnMessageSends(TestClose.java:228)

I have not investigated this failure yet.

--
From:Bill Barker 
Time:2016 Apr 8 (Fri) 16:45
To:dev 
Subject:[GUMP@vmgump]: Project tomcat-tc7.0.x-test-apr (in module tomcat-7.0.x) 
failed


To whom it may engage...

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

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


Full details are available at:

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

That said, some information snippets are provided here.

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



The following work was performed:
http://vmgump.apache.org/gump/public/tomcat-7.0.x/tomcat-tc7.0.x-test-apr/gump_work/build_tomcat-7.0.x_tomcat-tc7.0.x-test-apr.html
Work Name: build_tomcat-7.0.x_tomcat-tc7.0.x-test-apr (Type: Build)
Work ended in a state of : Failed
Elapsed: 31 mins 53 secs
Command Line: /usr/lib/jvm/java-8-oracle/bin/java -Djava.awt.headless=true 
-Dbuild.sysclasspath=only org.apache.tools.ant.Main 
-Dgump.merge=/srv/gump/public/gump/work/merge.xml 
-Dbase.path=/srv/gump/public/workspace/tomcat-7.0.x/tomcat-build-libs 
-Dcommons-pool.home=/srv/gump/public/workspace/commons-pool-1.x 
-Dtest.temp=output/test-tmp-APR 
-Djunit.jar=/srv/gump/public/workspace/junit/target/junit-4.13-SNAPSHOT.jar 
-Dobjenesis.jar=/srv/gump/public/workspace/objenesis/main/target/objenesis-2.3-SNAPSHOT.jar
 -Dexamples.sources.skip=true 
-Dcommons-daemon.jar=/srv/gump/public/workspace/apache-commons/daemon/dist/commons-daemon-20160408.jar
 
-Dtomcat-dbcp-src.jar=/srv/gump/public/workspace/tomcat-7.0.x/tomcat-deps/tomcat-dbcp-src.jar
 -Dtomcat-dbcp.home=/srv/gump/public/workspace/tomcat-7.0.x/tomcat-deps 
-Dtest.excludePerformance=true 
-Dhamcrest.jar=/srv/gump/packages/hamcrest/hamcrest-core-1.3.jar 
-Dcommons-dbcp.home=/srv/gump/public/workspace/commons-dbcp-1.x 
-Dexecute.test.apr=true -Dexec
 ute.test.bio=false 
-Dcommons-daemon.native.src.tgz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-20160408-native-src.tar.gz
 -Dtest.reports=output/logs-APR 
-Dtomcat-native.tar.gz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-20160408-native-src.tar.gz
 -Djdt.jar=/srv/gump/packages/eclipse/plugins/R-4.5-201506032000/ecj-4.5.jar 
-Dtest.apr.loc=/srv/gump/public/workspace/tomcat-native-12/dest-20160408/lib 
-Dexecute.test.nio=false -Dtest.accesslog=true 
-Dtomcat-dbcp.jar=/srv/gump/public/workspace/tomcat-7.0.x/tomcat-deps/tomcat-dbcp-20160408.jar
 
-Deasymock.jar=/srv/gump/public/workspace/easymock/core/target/easymock-3.5-SNAPSHOT.jar
 -Dcglib.jar=/srv/gump/packages/cglib/cglib-node

Re: [VOTE] Release Apache Tomcat 7.0.69

2016-04-14 Thread Huxing Zhang
The proposed 7.0.69 release is:
[ x ] Stable - go ahead and release as 7.0.69 Stable

--
From:Violeta Georgieva 
Time:2016 Apr 11 (Mon) 18:55
To:Tomcat Developers List 
Subject:[VOTE] Release Apache Tomcat 7.0.69


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

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

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

Regards,
Violeta

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



Adding tomcat to HTTP/2 implementation list

2016-04-18 Thread Huxing Zhang
Hi, 

I am planing to add tomcat to the list of known HTTP/2 implementation:
https://github.com/http2/http2-spec/wiki/Implementations

Before committing, I would like to confirm with you guys:

Name: Apache Tomcat 8.5+(http://tomcat.apache.org/)
Language:   Java
role(s): Server
negotiation(s): ALPN, Upgrade
protocol id(s): h2, h2c

The main concern is whether direct negotiation is supported or not. 
IMO the direct negotiation is not supported.

Is that information correct?

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



Re: Adding tomcat to HTTP/2 implementation list

2016-04-19 Thread Huxing Zhang
Hi, 

I have updated the wiki page:
https://github.com/http2/http2-spec/wiki/Implementations.

--
From:Mark Thomas 
Time:2016 Apr 19 (Tue) 17:49
To:Tomcat Developers List 
Subject:Re: Adding tomcat to HTTP/2 implementation list


On 19/04/2016 03:53, Huxing Zhang wrote:
> Hi, 
> 
> I am planing to add tomcat to the list of known HTTP/2 implementation:
> https://github.com/http2/http2-spec/wiki/Implementations
> 
> Before committing, I would like to confirm with you guys:
> 
> Name: Apache Tomcat 8.5+(http://tomcat.apache.org/)
> Language: Java
> role(s): Server
> negotiation(s): ALPN, Upgrade
> protocol id(s): h2, h2c
> 
> The main concern is whether direct negotiation is supported or not. 
> IMO the direct negotiation is not supported.
> 
> Is that information correct?

Yes, that is correct.

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

2016-05-10 Thread Huxing Zhang
Hi, 

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

* The unit test has all passed in my environment.
* Tested the direct HTTP/2 connection support using h2load, it works fine now!

Thanks for the hard work!

--
From:Mark Thomas 
Time:2016 May 10 (Tue) 20:51
To:dev@tomcat.apache.org 
Subject:[VOTE] Release Apache Tomcat 9.0.0.M5


The proposed Apache Tomcat 9.0.0.M5 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.M4 branch are:
- Add direct HTTP/2 connection support
- Update the implementation of the the proposed Servlet 4.0 API to
  provide mapping type information for the current request to reflect
  discussions within the EG.
- Update the packaged version of the Tomcat Native Library to 1.2.7 to
  pick up the Windows binaries that are based on OpenSSL 1.0.2h and
  APR 1.5.2.


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.M5/
The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-1076/
The svn tag is:
http://svn.apache.org/repos/asf/tomcat/tags/TOMCAT_9_0_0_M5/

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


-
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: Using modern development tools for friendlier environment for newcomers

2016-06-07 Thread Huxing Zhang
+1 for migrating from svn to git.

--
From:Mark Thomas 
Time:2016 Jun 7 (Tue) 17:33
To:Tomcat Developers List 
Subject:Re: Using modern development tools for friendlier environment for 
newcomers


On 07/06/2016 10:17, Martin Grigorov wrote:
> Hi devs,
> 
> Recently a colleague of mine asked me what it takes to become an Apache
> committer.
> I've explained him that he has to choose a project that is interesting to
> him and start participating in the mailing lists (helping others at users@,
> giving opinion and testing releases at dev@), providing patches for open
> issues, etc.
> Few days later he came back with the following questions:
> 
> 1) Why Tomcat still uses SVN?
> I've told him that this is the SCM tool most of the committers have
> experience with and there were some discussions to move to Git several
> months back.
> I've recommended him to use GitHub's Pull Requests for the time being - PRs
> are monitored and merged if approved. Even if Tomcat was using Git, Apache
> Infra doesn't provide tool with Pull Request support (GitLab, Gerrit, or
> similar) anyway so there is no big difference from a contributor point of
> view.

If I recall correctly, the consensus last time around was that there was
merit in exploring the options for using git further with a view to
migrating if the majority were convinced there was a benefit to the move.

There is an outstanding task (I need to chase it up) for the infra team
to look at if we could move to a single git repo for multiple branches
or would need multiple repos.

> 2) Why Tomcat uses Bugzilla?
> It is archaic and its UI is unfriendly - he said.
> To be honest I didn't have a good answer here. I also don't like Bugzilla.
> Everybody knows how to use JIRA! It is hard to explain that Apache JIRA
> runs on Tomcat, but Tomcat project itself uses Perl software for issue
> tracking (no matter how good Bugzilla is).

My personal view is Jira is overly complex and horribly slow. Bugzilla
just works. We don't need any of the extra features Jira offers. Do we
want any of them? None come to mind. Others may have a different view.

> I know that SVN, Git, JIRA, Bugzilla are just tools. We can do our work
> with any of them.
> Maybe there are more (and more important!) reasons why my colleague didn't
> start contributing to Tomcat yet but I also agree with him that by moving
> to more modern tools Tomcat will become easier and friendlier for newcomers.

The Tomcat community tends to change development technology when it can
see some direct benefit from the change. It doesn't change just to use
the latest shiny new toy.

git does have some benefits but also some potential complications. My
view is we are around the tipping point for svn -> git.

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

2016-06-11 Thread Huxing Zhang
Hi

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

No test cases failure.
Examples ok.
Our test app works fine.

--
From:Mark Thomas 
Time:2016 Jun 8 (Wed) 00:02
To:dev@tomcat.apache.org 
Subject:[VOTE] Release Apache Tomcat 9.0.0.M8


The proposed Apache Tomcat 9.0.0.M8 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.M6 release are:
- Improvements to memory leak detection and prevention including the
  change RMI memory leaks are now correctly treated as application bugs
  rather than a JRE bug
- Fix a couple of memory leaks found in Tomcat
- The HTTP Server header is no longer set by default

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.M8/
The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-1085/
The svn tag is:
http://svn.apache.org/repos/asf/tomcat/tags/TOMCAT_9_0_0_M8/

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

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

2016-06-11 Thread Huxing Zhang
The proposed 8.5.3 release is:
[ ] Broken - do not release
[ ] Alpha  - go ahead and release as 8.5.3
[ ] Beta   - go ahead and release as 8.5.3
[ X ] Stable - go ahead and release as 8.5.3

No test case failure.
Examples ok.

Some suggestions:
* Add tomcat 8.5.x to http://wiki.apache.org/tomcat/TomcatVersions
* Add HTTP/2 support to docs/config/http.html
* Add direct HTTP/2 connection support to 
https://github.com/http2/http2-spec/wiki/Implementations (DONE)

--
From:Mark Thomas 
Time:2016 Jun 9 (Thu) 20:13
To:dev@tomcat.apache.org 
Subject:[VOTE] Release Apache Tomcat 8.5.3


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

The major changes compared to the 8.5.2 release are:

- Ensure error will not be thrown during deployment when scanning jar
  files with no or invalid MANIFEST.MF files.

- Improvements to memory leak detection and prevention

- The HTTP Server header is no longer set by default

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

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

-
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: Timescale for 8.0.x EOL

2016-06-13 Thread Huxing Zhang
Looks good. +1

--
From:Mark Thomas 
Time:2016 Jun 13 (Mon) 23:47
To:dev@tomcat.apache.org 
Subject:Timescale for 8.0.x EOL


Now we have a stable release of 8.5.x, I'd like to finialise the end of
life date for 8.0.x so we can publish it.

We originally said we'd do parallel releases for 6 months. That gives an
EOL date of 30 September 2016 for 8.0.x which seems reasonable to me.

Any objections to that date or suggestions for a better one?

Thanks,

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

2016-07-08 Thread Huxing Zhang
Hi:

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

No test cases failure.
Examples ok.
Our test app works fine.
--
From:Mark Thomas 
Time:2016 Jul 5 (Tue) 03:03
To:dev@tomcat.apache.org 
Subject:[VOTE] Release Apache Tomcat 9.0.0.M9


The proposed Apache Tomcat 9.0.0.M9 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.M8 release are:

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.M9/
The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-1089/
The svn tag is:
http://svn.apache.org/repos/asf/tomcat/tags/TOMCAT_9_0_0_M9/

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

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

2016-07-11 Thread Huxing Zhang
Hi

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

No test case failure.
Examples ok.
Our test app works fine.
--
From:Mark Thomas 
Time:2016 Jul 6 (Wed) 17:42
To:dev@tomcat.apache.org 
Subject:[VOTE] Release Apache Tomcat 8.5.4


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

The major changes compared to the 8.5.3 release are:

- Correct a regression in the embedded packaging

- Add the ability to control the degree of concurrency when processing
  HTTP/2 connections

- Update to Tomcat Native 1.2.8


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

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

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

2016-09-02 Thread Huxing Zhang
The proposed 9.0.0.M10 release is:
[ ] Broken - do not release
[ X ] Alpha - go ahead and release as 9.0.0.M10

No test case failure except the following:

   [concat] Testsuites with failed tests:
   [concat] 
TEST-org.apache.tomcat.util.net.openssl.ciphers.TestOpenSSLCipherConfigurationParser.APR.txt
   [concat] 
TEST-org.apache.tomcat.util.net.openssl.ciphers.TestOpenSSLCipherConfigurationParser.NIO.txt
   [concat] 
TEST-org.apache.tomcat.util.net.openssl.ciphers.TestOpenSSLCipherConfigurationParser.NIO2.txt

Example failure are:
test-apr:
[junit] Running 
org.apache.tomcat.util.net.openssl.ciphers.TestOpenSSLCipherConfigurationParser
[junit] Error in cipher list
[junit] 139694456104704:error:1410D0B9:SSL 
routines:SSL_CTX_set_cipher_list:no cipher match:ssl/ssl_lib.c:2018:
[junit]
[junit] Error in cipher list
[junit] 140604037801728:error:1410D0B9:SSL 
routines:SSL_CTX_set_cipher_list:no cipher match:ssl/ssl_lib.c:2018:

I'v tested with openssl 1.0.2h and 1.1.0, and 1.1.1-dev, all failed, I saw the 
similar failure in gump: 
http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-test-apr/gump_work/build_tomcat-trunk_tomcat-trunk-test-apr.txt

Examples ok.
Our test app works fine.

--
From:Mark Thomas 
Time:2016 Sep 1 (Thu) 00:22
To:dev@tomcat.apache.org 
Subject:[VOTE] Release Apache Tomcat 9.0.0.M10


The proposed Apache Tomcat 9.0.0.M10 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.M9 release are:

- limited support for wildcard Host names and aliases

- fix regressions in JSSE TLS handshake

- treat paths used to obtain a request dispatcher as encoded
  (configurable)

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.M10/
The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-1091/
The svn tag is:
http://svn.apache.org/repos/asf/tomcat/tags/TOMCAT_9_0_0_M10/

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

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

2016-09-02 Thread Huxing Zhang
The proposed 8.5.5 release is:
[ ] Broken - do not release
[ ] Alpha  - go ahead and release as 8.5.5
[ ] Beta   - go ahead and release as 8.5.5
[ X ] Stable - go ahead and release as 8.5.5

No test failure.
Examples ok.
Our test app works fine.

--
From:Mark Thomas 
Time:2016 Sep 1 (Thu) 04:48
To:dev@tomcat.apache.org 
Subject:[VOTE] Release Apache Tomcat 8.5.5


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

The major changes compared to the 8.5.4 release are:


- limited support for wildcard Host names and aliases

- fix regressions in JSSE TLS handshake

- treat paths used to obtain a request dispatcher as encoded
  (configurable)


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

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

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

2016-09-02 Thread Huxing Zhang
The proposed 8.0.37 release is:
[ ] Broken - do not release
[ X ] Stable - go ahead and release as 8.0.37

No test failure.
Examples ok.
Our test app works fine.
--
From:Mark Thomas 
Time:2016 Sep 1 (Thu) 18:57
To:dev@tomcat.apache.org 
Subject:[VOTE] Release Apache Tomcat 8.0.37


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

The main changes since 8.0.36 are:

- treat paths used to obtain a request dispatcher as encoded
  (configurable)

- update the packaged version of the Tomcat Native Library to 1.2.8

- various jdbc-pool fixes

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

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

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

2016-09-18 Thread Huxing Zhang
The proposed 7.0.72 release is:
[ ] Broken - do not release
[ X ] Stable - go ahead and release as 7.0.72 Stable

Test cases ok.
Examples ok.
Our test app works fine.

--
From:Violeta Georgieva 
Time:2016 Sep 14 (Wed) 21:02
To:Tomcat Developers List 
Subject:[VOTE] Release Apache Tomcat 7.0.72


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

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

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

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



Re: [PATCH] - rat-output.xml tweaks for tc8.0.x tc8.5.x trunk

2016-09-22 Thread Huxing Zhang
Hi Gavin,

Please file the patch to trunk, and it will be backported to 8.5.x, 8.x if 
possible.

--
From:Gavin McDonald 
Time:2016 Sep 23 (Fri) 07:17
To:Tomcat Developers List 
Subject:RE: [PATCH] - rat-output.xml tweaks for tc8.0.x tc8.5.x trunk




> -Original Message-
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Sent: Friday, September 23, 2016 3:25 AM
> To: Tomcat Developers List 
> Subject: Re: [PATCH] - rat-output.xml tweaks for tc8.0.x tc8.5.x trunk
> 
> Gavin,
> 
> On 9/22/16 1:03 AM, Gavin McDonald wrote:
> > Please find attached 3 patches for tweaks to the rat-excludes file in
> > trunk and the 8.0 and 8.5 branches.
> >
> > RAT tests are currently producing invalid xml reports due to files
> > that should be excluded (and therefore xml parser cant convert to html
> > for pretty reports etc)
> >
> > HTH
> >
> > Gav...
> 
> The attachment(s) must have been stripped. 

Yeah I noticed :(

> Would you like to file a BZ issue
> and attach to that?

Sure, not sure what component to put it under. Ideas ?

The patches affect versions 8, 8.5 and trunk , which version do you want me to 
use?

Thanks

Gav...

> 
> -chris



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

2016-10-07 Thread Huxing Zhang
Hi, 

Although it is a bit late, the tc native 1.2.10 example fails with openssl 
1.0.2j, following is the output:

Buildfile: /home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/build.xml

clean:
   [delete] Deleting directory 
/home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/dist

env:
 [echo] java.home = /opt/taobao/jdk1.8.0_65/jre
 [echo] user.home = /home/admin
 [echo] tc.library.path = 
/home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/native/.libs
 [echo]

prepare:
[mkdir] Created dir: 
/home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/dist

compile:
[mkdir] Created dir: 
/home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/dist/classes
[mkdir] Created dir: 
/home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/dist/classes/java
[mkdir] Created dir: 
/home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/dist/src
[mkdir] Created dir: 
/home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/dist/src/java
 [copy] Copying 37 files to 
/home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/dist/src/java
[javac] /home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/build.xml:220: 
warning: 'includeantruntime' was not set, defaulting to 
build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 36 source files to 
/home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/dist/classes/java
 [copy] Copying 1 file to 
/home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/dist/classes/java

jar:
  [jar] Building jar: 
/home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/dist/tomcat-native-1.2.10.jar

env:
 [echo] java.home = /opt/taobao/jdk1.8.0_65/jre
 [echo] user.home = /home/admin
 [echo] tc.library.path = 
/home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/native/.libs
 [echo]

prepare:

compile:
[javac] /home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/build.xml:220: 
warning: 'includeantruntime' was not set, defaulting to 
build.sysclasspath=last; set to false for repeatable builds

compile-examples:
[mkdir] Created dir: 
/home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/dist/classes/examples
[mkdir] Created dir: 
/home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/dist/src/examples
 [copy] Copying 6 files to 
/home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/dist/src/examples
[javac] /home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/build.xml:346: 
warning: 'includeantruntime' was not set, defaulting to 
build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 3 source files to 
/home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/dist/classes/examples
 [copy] Copying 3 files to 
/home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/dist/classes/examples

run-echo:
 [echo] Running Tomcat Native Echo example ...
 [java] Exception in thread "main" java.lang.UnsatisfiedLinkError: 
/home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/native/.libs/libtcnative-1.so.0.2.10:
 
/home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/native/.libs/libtcnative-1.so.0.2.10:
 undefined symbol: get_rfc3526_prime_8192
 [java] at java.lang.ClassLoader$NativeLibrary.load(Native Method)
 [java] at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1938)
 [java] at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1854)
 [java] at java.lang.Runtime.loadLibrary0(Runtime.java:870)
 [java] at java.lang.System.loadLibrary(System.java:1122)
 [java] at org.apache.tomcat.jni.Library.(Unknown Source)
 [java] at org.apache.tomcat.jni.Library.initialize(Unknown Source)
 [java] at org.apache.tomcat.jni.Echo.main(Unknown Source)
 [java] Java Result: 1

BUILD SUCCESSFUL
Total time: 3 seconds

On the other hand, tc-native + openssl 1.1.0 works fine.

Any ideas?

--
From:Mark Thomas 
Time:2016 Sep 27 (Tue) 00:18
To:dev@tomcat.apache.org 
Subject:[VOTE] Release Apache Tomcat Native 1.2.10


Version 1.2.10 includes the following change:

- Update minimum recommended OpenSSL version to 1.0.2j
- Windows binaries built with OpenSSL 1.0.2j

The proposed release artefacts can be found at [1],
and the build was done using tag [2].

The Apache Tomcat Native 1.2.10 is
 [ ] Stable, go ahead and release
 [ ] Broken because of ...

Thanks,

Mark


[1]
https://dist.apache.org/repos/dist/dev/tomcat/tomcat-connectors/native/1.2.10/
[2] https://svn.apache.org/repos/asf/tomcat/native/tags/TOMCAT_NATIVE_1_2_10

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

2016-10-08 Thread Huxing Zhang
The proposed 9.0.0.M11 release is:
[ ] Broken - do not release
[ X ] Alpha - go ahead and release as 9.0.0.M11

--
From:Mark Thomas 
Time:2016 Oct 7 (Fri) 03:52
To:dev@tomcat.apache.org 
Subject:[VOTE] Release Apache Tomcat 9.0.0.M11


The proposed Apache Tomcat 9.0.0.M11 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.M10 release are:

- Refactoring the non-container thread Async complete()/dispatch()
  handling to remove the possibility of deadlock

- Update the packaged version of the Tomcat Native Library to
  1.2.10 to pick up the latest Windows binaries built with
  OpenSSL 1.0.2j

- Improved UTF-8 handling for the RewriteValve

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.M11/
The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-1096/
The svn tag is:
http://svn.apache.org/repos/asf/tomcat/tags/TOMCAT_9_0_0_M11/

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

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

Re: [VOTE] Release Apache Tomcat Native 1.2.10

2016-10-09 Thread Huxing Zhang
Hi Rainer,

Thanks for your hint, I think I've found out the root cause.

When I first compile openssl 1.1.0, the binaries have been installed to 
/usr/local/openssl, the libcrypto.so.1.1 has been installed to 
/usr/local/openssl/lib/.

After I re-installed openssl 1.0.2j, the files in /usr/local/openssl has been 
replaced, however the libcrypto.so.1.1 is still there, because openssl 1.0.x 
did not produce that file.

So when I recompile tc-native 1.2.10, with --with-ssl=/usr/local/openssl 
(1.0.2j), the libcrypto.so.1.1 is referenced, where get_rfc3526_prime_8192 is 
not exist.

Following is the output:

$objdump -p 
/home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/native/.libs/libtcnative-1.so.0.2.10

/home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/native/.libs/libtcnative-1.so.0.2.10:
 file format elf64-x86-64

Program Header:
LOAD off0x vaddr 0x paddr 
0x align 2**21
 filesz 0x00028244 memsz 0x00028244 flags r-x
LOAD off0x00028248 vaddr 0x00228248 paddr 
0x00228248 align 2**21
 filesz 0x1450 memsz 0x1b50 flags rw-
 DYNAMIC off0x000282c8 vaddr 0x002282c8 paddr 
0x002282c8 align 2**3
 filesz 0x0200 memsz 0x0200 flags rw-
NOTE off0x0190 vaddr 0x0190 paddr 
0x0190 align 2**2
 filesz 0x0024 memsz 0x0024 flags r--
EH_FRAME off0x00023594 vaddr 0x00023594 paddr 
0x00023594 align 2**2
 filesz 0x0dbc memsz 0x0dbc flags r--
   STACK off0x vaddr 0x paddr 
0x align 2**3
 filesz 0x memsz 0x flags rw-

Dynamic Section:
  NEEDED   libssl.so.1.1
  NEEDED   libcrypto.so.1.1
  NEEDED   libapr-1.so.0
  NEEDED   librt.so.1
  NEEDED   libcrypt.so.1
  NEEDED   libpthread.so.0
  NEEDED   libc.so.6
  SONAME   libtcnative-1.so.0
  RPATH/usr/local/apr/lib:/usr/local/openssl/lib
  INIT 0xf2e0
  FINI 0x000225a8
  GNU_HASH 0x01b8
  STRTAB   0x5cf0
  SYMTAB   0x0de8
  STRSZ0x5b7e
  SYMENT   0x0018
  PLTGOT   0x00228588
  PLTRELSZ 0x2c58
  PLTREL   0x0007
  JMPREL   0xc688
  RELA 0xbf98
  RELASZ   0x06f0
  RELAENT  0x0018
  VERNEED  0xbf08
  VERNEEDNUM   0x0004
  VERSYM   0xb86e
  RELACOUNT0x0024

Version References:
  required from libpthread.so.0:
0x09691a75 0x00 05 GLIBC_2.2.5
  required from libc.so.6:
0x0d696913 0x00 06 GLIBC_2.3
0x09691a75 0x00 04 GLIBC_2.2.5
  required from libssl.so.1.1:
0x066d1f10 0x00 03 OPENSSL_1_1_0
  required from libcrypto.so.1.1:
0x066d1f10 0x00 02 OPENSSL_1_1_0

$nm /usr/local/openssl/lib/libcrypto.so.1.1 |  grep get_rfc3526_prime_8192
000a4830 T BN_get_rfc3526_prime_8192

The solution will be cleaning up the /usr/local/openssl and re-compile 
tc-native, and everything works fine.

--
From:Rainer Jung 
Time:2016 Oct 8 (Sat) 19:47
To:Tomcat Developers List 
Subject:Re: [VOTE] Release Apache Tomcat Native 1.2.10


Hi,

Am 08.10.2016 um 05:08 schrieb Huxing Zhang:
...

>  [echo] tc.library.path = 
> /home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/native/.libs

>  [echo] Running Tomcat Native Echo example ...
>  [java] Exception in thread "main" java.lang.UnsatisfiedLinkError: 
> /home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/native/.libs/libtcnative-1.so.0.2.10:
>  
> /home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/native/.libs/libtcnative-1.so.0.2.10:
>  undefined symbol: get_rfc3526_prime_8192
>  [java] at java.lang.ClassLoader$NativeLibrary.load(Native Method)
>  [java] at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1938)
>  [java] at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1854)
>  [java] at java.lang.Runtime.loadLibrary0(Runtime.java:870)
>  [java] at java.lang.System.loadLibrary(System.java:1122)
>  [java] at org.apache.tomcat.jni.Library.(Unknown Source)
>  [java] at org.apache.tomcat.jni.Library.initialize(Unknown Source)
>  [java] at org.apache.tomcat.jni.Echo.main(Unknown Source)
>  [java] Java Result: 1

The symbol get_rfc3526_prime_8192 is part of Op

Re: [VOTE] Release Apache Tomcat Native 1.2.10

2016-10-09 Thread Huxing Zhang
Hi Rainer,

Thanks for the detailed explanation, it is quite helpful.
I've added the clean up code in my building script, it should never happen 
again :)

Thanks,
Huxing
--
From:Rainer Jung 
Time:2016 Oct 9 (Sun) 19:26
To:Tomcat Developers List 
Subject:Re: [VOTE] Release Apache Tomcat Native 1.2.10


Am 09.10.2016 um 12:04 schrieb Huxing Zhang:
> Hi Rainer,
>
> Thanks for your hint, I think I've found out the root cause.
>
> When I first compile openssl 1.1.0, the binaries have been installed to 
> /usr/local/openssl, the libcrypto.so.1.1 has been installed to 
> /usr/local/openssl/lib/.
>
> After I re-installed openssl 1.0.2j, the files in /usr/local/openssl has been 
> replaced, however the libcrypto.so.1.1 is still there, because openssl 1.0.x 
> did not produce that file.
>
> So when I recompile tc-native 1.2.10, with --with-ssl=/usr/local/openssl 
> (1.0.2j), the libcrypto.so.1.1 is referenced, where get_rfc3526_prime_8192 is 
> not exist.
>
> Following is the output:
>
> $objdump -p 
> /home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/native/.libs/libtcnative-1.so.0.2.10
>
> /home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/native/.libs/libtcnative-1.so.0.2.10:
>  file format elf64-x86-64
>
> Program Header:
> LOAD off0x vaddr 0x paddr 
> 0x align 2**21
>  filesz 0x00028244 memsz 0x00028244 flags r-x
> LOAD off0x00028248 vaddr 0x00228248 paddr 
> 0x00228248 align 2**21
>  filesz 0x1450 memsz 0x1b50 flags rw-
>  DYNAMIC off0x000282c8 vaddr 0x002282c8 paddr 
> 0x002282c8 align 2**3
>  filesz 0x0200 memsz 0x0200 flags rw-
> NOTE off0x0190 vaddr 0x0190 paddr 
> 0x0190 align 2**2
>  filesz 0x0024 memsz 0x0024 flags r--
> EH_FRAME off0x00023594 vaddr 0x00023594 paddr 
> 0x00023594 align 2**2
>  filesz 0x0dbc memsz 0x0dbc flags r--
>STACK off0x vaddr 0x paddr 
> 0x align 2**3
>  filesz 0x memsz 0x flags rw-
>
> Dynamic Section:
>   NEEDED   libssl.so.1.1
>   NEEDED   libcrypto.so.1.1
>   NEEDED   libapr-1.so.0
>   NEEDED   librt.so.1
>   NEEDED   libcrypt.so.1
>   NEEDED   libpthread.so.0
>   NEEDED   libc.so.6
>   SONAME   libtcnative-1.so.0
>   RPATH/usr/local/apr/lib:/usr/local/openssl/lib
>   INIT 0xf2e0
>   FINI 0x000225a8
>   GNU_HASH 0x01b8
>   STRTAB   0x5cf0
>   SYMTAB   0x0de8
>   STRSZ0x5b7e
>   SYMENT   0x0018
>   PLTGOT   0x00228588
>   PLTRELSZ 0x2c58
>   PLTREL   0x0007
>   JMPREL   0xc688
>   RELA 0xbf98
>   RELASZ   0x06f0
>   RELAENT  0x0018
>   VERNEED  0xbf08
>   VERNEEDNUM   0x0004
>   VERSYM   0xb86e
>   RELACOUNT0x0024
>
> Version References:
>   required from libpthread.so.0:
> 0x09691a75 0x00 05 GLIBC_2.2.5
>   required from libc.so.6:
> 0x0d696913 0x00 06 GLIBC_2.3
> 0x09691a75 0x00 04 GLIBC_2.2.5
>   required from libssl.so.1.1:
> 0x066d1f10 0x00 03 OPENSSL_1_1_0
>   required from libcrypto.so.1.1:
> 0x066d1f10 0x00 02 OPENSSL_1_1_0
>
> $nm /usr/local/openssl/lib/libcrypto.so.1.1 |  grep get_rfc3526_prime_8192
> 000a4830 T BN_get_rfc3526_prime_8192
>
> The solution will be cleaning up the /usr/local/openssl and re-compile 
> tc-native, and everything works fine.

Yes, that looks plausible. Glad that you fixed it.

Just one more explanation, how it comes your build rerefrences the *.1.1 
OpenSSL libraries:

When the link step runs during the build, it does not yet know about the 
version. Al it gets is the -lssl and -lcrypto flags. That means it will 
look for files libssl.so and libcrypto.so in the linker search path, 
including LD_LIBRARY_PATH at the time of linking and including any path 
given with "-L" flag.

These files libssl.so and libcrypto.so internally contain their 
so-called SONAME. This SONAME is also part of the &q

Re: [VOTE] Release Apache Tomcat 8.5.6

2016-10-09 Thread Huxing Zhang
The proposed 8.5.6 release is:
[ ] Broken - do not release
[ ] Alpha  - go ahead and release as 8.5.6
[ ] Beta   - go ahead and release as 8.5.6
[ X ] Stable - go ahead and release as 8.5.6

--
From:Mark Thomas 
Time:2016 Oct 7 (Fri) 04:34
To:dev@tomcat.apache.org 
Subject:[VOTE] Release Apache Tomcat 8.5.6


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

The major changes compared to the 8.5.5 release are:

- Refactoring the non-container thread Async complete()/dispatch()
  handling to remove the possibility of deadlock

- Update the packaged version of the Tomcat Native Library to
  1.2.10 to pick up the latest Windows binaries built with
  OpenSSL 1.0.2j

- Improved UTF-8 handling for the RewriteValve


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

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

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

2016-10-09 Thread Huxing Zhang
The proposed 8.0.38 release is:
[ ] Broken - do not release
[ X ] Stable - go ahead and release as 8.0.38

--
From:Mark Thomas 
Time:2016 Oct 7 (Fri) 05:19
To:dev@tomcat.apache.org 
Subject:[VOTE] Release Apache Tomcat 8.0.38


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

The main changes since 8.0.37 are:

- Refactoring the non-container thread Async complete()/dispatch()
  handling to remove the possibility of deadlock

- Update the packaged version of the Tomcat Native Library to
  1.2.10 to pick up the latest Windows binaries built with
  OpenSSL 1.0.2j

- Improved UTF-8 handling for the RewriteValve


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

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

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

2017-03-09 Thread Huxing Zhang
The proposed 9.0.0.M18 release is:
[ ] Broken - do not release
[ X ] Alpha - go ahead and release as 9.0.0.M18

Test cases all passed.
Our test web app works fine.

One exception. The server push example will be failing by throwing an NPE if 
HTTP/2 is not supported.

Stack trace is:
java.lang.NullPointerException
  http2.SimpleImagePush.doGet(SimpleImagePush.java:36)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
  org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
  
org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
 

This issue has been fixed in revision 1786292.

--
From:Mark Thomas 
Time:2017 Mar 8 (Wed) 23:56
To:dev@tomcat.apache.org 
Subject:[VOTE] Release Apache Tomcat 9.0.0.M18


The proposed Apache Tomcat 9.0.0.M18 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.M17 release are:

- Updates to the early access version of the Serlet 4.0 API to align it
  with the most recent discussions in the Servlet EG

- Support for Java 9 during annotation scanning

- Enable ALPN (and hence HTTP/2) for NIO and NIO2 connectors when using
  JSSE for TLS on Java 9

- Update Tomcat Native to 1.2.12 to pick up the latest Windows binaries
  built with OpenSSL 1.0.2k

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.M18/
The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-1120/
The svn tag is:
http://svn.apache.org/repos/asf/tomcat/tags/TOMCAT_9_0_0_M18/

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

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

2017-03-10 Thread Huxing Zhang
The proposed 8.5.12 release is:
[ ] Broken - do not release
[ X ] Stable - go ahead and release as 8.5.12

Test cases all passed.
Our test web app works fine.

One exception. The server push example will be failing by throwing an NPE if 
HTTP/2 is not supported.

Stack trace is:
java.lang.NullPointerException
  http2.SimpleImagePush.doGet(SimpleImagePush.java:36)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
  org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
  
org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
 

This issue has been fixed in revision 1786293.

--
From:Mark Thomas 
Time:2017 Mar 9 (Thu) 02:56
To:dev@tomcat.apache.org 
Subject:[VOTE] Release Apache Tomcat 8.5.12


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

The major changes compared to the 8.5.11 release are:

- Updates to the early access version of the Serlet 4.0 API to align it
  with the most recent discussions in the Servlet EG

- Support for Java 9 during annotation scanning

- Update Tomcat Native to 1.2.12 to pick up the latest Windows binaries
  built with OpenSSL 1.0.2k

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

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

-
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

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

  1   2   >