svn commit: r1634806 - /tomcat/trunk/webapps/docs/changelog.xml

2014-10-28 Thread markt
Author: markt
Date: Tue Oct 28 07:53:06 2014
New Revision: 1634806

URL: http://svn.apache.org/r1634806
Log:
Whitespace police

Modified:
tomcat/trunk/webapps/docs/changelog.xml

Modified: tomcat/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1634806r1=1634805r2=1634806view=diff
==
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Tue Oct 28 07:53:06 2014
@@ -354,7 +354,7 @@
   /update
   scode
 In Tomcat tests: log name of the current test method at start time.
-(kkolinko) 
+(kkolinko)
   /scode
 /changelog
   /subsection



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



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

2014-10-28 Thread Bill Barker
To whom it may engage...

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

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


Full details are available at:

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

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Dependency on checkstyle exists, no need to add for property 
checkstyle.jar.
 -INFO- Failed with reason build failed



The following work was performed:
http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-validate/gump_work/build_tomcat-trunk_tomcat-trunk-validate.html
Work Name: build_tomcat-trunk_tomcat-trunk-validate (Type: Build)
Work ended in a state of : Failed
Elapsed: 23 secs
Command Line: /usr/lib/jvm/java-7-oracle/bin/java -Djava.awt.headless=true 
-Dbuild.sysclasspath=only org.apache.tools.ant.Main 
-Dgump.merge=/srv/gump/public/gump/work/merge.xml 
-Dcheckstyle.jar=/srv/gump/public/workspace/checkstyle/target/checkstyle-6.1-SNAPSHOT.jar
 -Dexecute.validate=true validate 
[Working Directory: /srv/gump/public/workspace/tomcat-trunk]
CLASSPATH: 
/usr/lib/jvm/java-7-oracle/lib/tools.jar:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit4.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/packages/antlr/antlr-3.1.3.jar:/srv/gump/public/workspace/checkstyle/target/checkstyle-6.1-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/beanutils/dist/commons-beanutils-20141028.jar:/srv/gump/public/workspace/apache-commons/cli/target/commons-cli-1.3-SNAPSHOT.jar:/srv/gump/public/workspace/commons-collections-3.x/target/commons-collections-3.3-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/exec/target/comm
 
ons-exec-1.3-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-20141028.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-api-20141028.jar:/srv/gump/public/workspace/apache-commons/validator/dist/commons-validator-20141028.jar:/srv/gump/public/workspace/google-guava/guava/target/guava-19.0-SNAPSHOT.jar
-
Buildfile: /srv/gump/public/workspace/tomcat-trunk/build.xml

build-prepare:
   [delete] Deleting directory 
/srv/gump/public/workspace/tomcat-trunk/output/build/temp
[mkdir] Created dir: 
/srv/gump/public/workspace/tomcat-trunk/output/build/temp

compile-prepare:

download-validate:

testexist:
 [echo] Testing  for 
/srv/gump/public/workspace/checkstyle/target/checkstyle-6.1-SNAPSHOT.jar

setproxy:

downloadzip:

validate:
[mkdir] Created dir: 
/srv/gump/public/workspace/tomcat-trunk/output/res/checkstyle
[checkstyle] Running Checkstyle 6.1-SNAPSHOT on 2916 files
[checkstyle] 
/srv/gump/public/workspace/tomcat-trunk/webapps/docs/changelog.xml:357: Line 
matches the illegal pattern '\s+$'.

BUILD FAILED
/srv/gump/public/workspace/tomcat-trunk/build.xml:542: Got 1 errors and 0 
warnings.

Total time: 23 seconds
-

To subscribe to this information via syndicated feeds:
- RSS: 
http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-validate/rss.xml
- Atom: 
http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-validate/atom.xml

== Gump Tracking Only ===
Produced by Apache Gump(TM) version 2.3.
Gump Run 20141028060050, vmgump.apache.org:vmgump:20141028060050
Gump E-mail Identifier (unique within run) #1.

--
Apache Gump
http://gump.apache.org/ [Instance: vmgump]

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



[Bug 57157] New: out.setWriteListener in runnable of AsyncContext.start(runnable) cause response failed

2014-10-28 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=57157

Bug ID: 57157
   Summary: out.setWriteListener in runnable of
AsyncContext.start(runnable) cause response failed
   Product: Tomcat 8
   Version: 8.0.14
  Hardware: PC
OS: Linux
Status: NEW
  Severity: normal
  Priority: P2
 Component: Catalina
  Assignee: dev@tomcat.apache.org
  Reporter: zenzhong8...@gmail.com

Created attachment 32157
  -- https://issues.apache.org/bugzilla/attachment.cgi?id=32157action=edit
related java code files

stack trace:
28-Oct-2014 11:56:26.891 SEVERE [http-nio-8080-exec-5]
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun 
 java.lang.NullPointerException
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1538)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1523)
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:744)

related code:
TextReadListener
public synchronized void onAllDataRead() throws IOException {
logger.debug(onAllDataRead, new Exception(onAllDataRead));
final String text = (buf != null ? buf.toString(UTF-8) : );
logger.debug(onAllDataRead text={}, text);
HttpServletRequest req = (HttpServletRequest) asyncCtx.getRequest();
logger.debug(onAllDataRead uri={}, User-Agent={}, params={},
req.getRequestURI(),
req.getHeader(User-Agent), req.getParameterMap());
final ServletOutputStream out =
asyncCtx.getResponse().getOutputStream();
asyncCtx.start(new Runnable() {
@Override
public void run() {
try {
logger.debug(start sleep);
TimeUnit.SECONDS.sleep(1);
logger.debug(sleep finished, start writing);
WriteListener writeListener = new TextWriteListener((test
+ text).getBytes(UTF-8), asyncCtx,
out);
out.setWriteListener(writeListener);
} catch (Throwable e) {
logger.error(impossible ex, e);
}
}
});
}

If I just invoke out.setWriteListener in onAllDataRead method (not in
asyncCtx.start), then that's ok.

Detailed java code is in attachment

-- 
You are receiving this mail because:
You are the assignee for the bug.

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



[Bug 57157] out.setWriteListener in runnable of AsyncContext.start(runnable) cause response failed

2014-10-28 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=57157

Zen Zhong zenzhong8...@gmail.com changed:

   What|Removed |Added

 CC||zenzhong8...@gmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.

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



[Bug 57158] Make ReadListener and WriteListener be executed in I/O thread pool[s]

2014-10-28 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=57158

Zen Zhong zenzhong8...@gmail.com changed:

   What|Removed |Added

 CC||zenzhong8...@gmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.

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



[Bug 57158] New: Make ReadListener and WriteListener be executed in I/O thread pool[s]

2014-10-28 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=57158

Bug ID: 57158
   Summary: Make ReadListener and WriteListener be executed in I/O
thread pool[s]
   Product: Tomcat 8
   Version: 8.0.14
  Hardware: PC
OS: Linux
Status: NEW
  Severity: enhancement
  Priority: P2
 Component: Catalina
  Assignee: dev@tomcat.apache.org
  Reporter: zenzhong8...@gmail.com

Servlet.service / ReadListener / WriteListener are executed in the same thread
pool, there may be performance issue when ReadListener / WriteListener is used
and tomcat is on high load.

Related log:
2014-10-28 15:58:04,497 DEBUG [http-nio-8080-exec-1] EchoAsyncServlet3: test
java.lang.Exception: test
at EchoAsyncServlet3.service(EchoAsyncServlet3.java:16)
[EchoAsyncServlet3.class:na]

2014-10-28 15:58:04,501 DEBUG [http-nio-8080-exec-1] TextReadListener:
onAllDataRead
java.lang.Exception: onAllDataRead
at TextReadListener.onAllDataRead(TextReadListener.java:43)
[TextReadListener.class:na]
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:570)
[catalina.jar:8.0.14]

2014-10-28 15:58:04,501 DEBUG [http-nio-8080-exec-1] TextReadListener:
onAllDataRead text=
2014-10-28 15:58:04,502 DEBUG [http-nio-8080-exec-1] TextReadListener:
onAllDataRead uri=/chatdemo/echo_async3, User-Agent=curl/7.32.0, params={}
2014-10-28 15:58:04,502 DEBUG [http-nio-8080-exec-1] TextReadListener: start
sleep
2014-10-28 15:58:05,502 DEBUG [http-nio-8080-exec-1] TextReadListener: sleep
finished, start writing
2014-10-28 15:58:05,506 DEBUG [http-nio-8080-exec-1] TextWriteListener:
onWritePossible
java.lang.Exception: onWritePossible
at TextWriteListener.onWritePossible(TextWriteListener.java:39)
[TextWriteListener.class:na]
at org.apache.coyote.Response.onWritePossible(Response.java:630)
[tomcat-coyote.jar:8.0.14]
at
org.apache.coyote.http11.AbstractHttp11Processor.asyncDispatch(AbstractHttp11Processor.java:1675)
[tomcat-coyote.jar:8.0.14]

-- 
You are receiving this mail because:
You are the assignee for the bug.

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



[Bug 57158] Make ReadListener and WriteListener be executed in I/O thread pool[s]

2014-10-28 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=57158

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

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |WONTFIX

--- Comment #1 from Mark Thomas ma...@apache.org ---
This is as designed. Size your thread pool appropriately for your load.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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



svn commit: r1634854 - /tomcat/trunk/test/org/apache/tomcat/websocket/TestWsWebSocketContainer.java

2014-10-28 Thread kkolinko
Author: kkolinko
Date: Tue Oct 28 12:06:07 2014
New Revision: 1634854

URL: http://svn.apache.org/r1634854
Log:
For https://issues.apache.org/bugzilla/show_bug.cgi?id=57154
Temporary workaround to avoid hitting BZ 57154 at Buildbot

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

Modified: 
tomcat/trunk/test/org/apache/tomcat/websocket/TestWsWebSocketContainer.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/tomcat/websocket/TestWsWebSocketContainer.java?rev=1634854r1=1634853r2=1634854view=diff
==
--- tomcat/trunk/test/org/apache/tomcat/websocket/TestWsWebSocketContainer.java 
(original)
+++ tomcat/trunk/test/org/apache/tomcat/websocket/TestWsWebSocketContainer.java 
Tue Oct 28 12:06:07 2014
@@ -409,8 +409,12 @@ public class TestWsWebSocketContainer ex
 Tomcat tomcat = getTomcatInstance();
 
 // Must have a real docBase - just use temp
-Context ctx =
-tomcat.addContext(, System.getProperty(java.io.tmpdir));
+// Context ctx =
+//tomcat.addContext(, System.getProperty(java.io.tmpdir));
+// FIXME: Using docBase = appBase. A temporary workaround to avoid
+// using the system temporary directory as docBase, until either
+// BZ 57154 is fixed or there is better API from BZ 57155
+Context ctx = tomcat.addContext(, );
 ctx.addApplicationListener(ConstantTxConfig.class.getName());
 Tomcat.addServlet(ctx, default, new DefaultServlet());
 ctx.addServletMapping(/, default);



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



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

2014-10-28 Thread kkolinko
Author: kkolinko
Date: Tue Oct 28 15:07:53 2014
New Revision: 1634890

URL: http://svn.apache.org/r1634890
Log:
Update comment on proposed patch.
The javadocs display Tomcat version. So the diff between versions will be 
larger than I expected.

Modified:
tomcat/tc6.0.x/trunk/STATUS.txt

Modified: tomcat/tc6.0.x/trunk/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=1634890r1=1634889r2=1634890view=diff
==
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Tue Oct 28 15:07:53 2014
@@ -107,11 +107,10 @@ PATCHES PROPOSED TO BACKPORT:
   comments and enable charset header.
 
   Motivation:
-  Timestamp comments: Those comments result in one changed line per each
-  HTML file, which makes the diff between different versions of
-  documentation unnecessary huge. I expect that the effect will be
-  noticeable when publishing documentation for version (next+1). The diff
-  between versions (next) and (next+1) will be smaller and easier to review.
+  Timestamp comments: It makes diff between javadoc versions smaller. The
+  diff between versions will still change almost every file, because of
+  Tomcat version (6.0.41) in title of the pages, but the change will be a
+  bit smaller.
 
   Charset header: The rest of Tomcat 6 documentation already has META
   header with charset information in generated HTML. This enables it for



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



[Bug 55383] Improve markup and design of Tomcat's HTML pages

2014-10-28 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55383

Alex Bretet bre...@gmail.com changed:

   What|Removed |Added

 CC||bre...@gmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.

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



Re: [VOTE][RESULT] Release Apache Tomcat Native 1.1.32

2014-10-28 Thread Konstantin Kolinko
2014-10-23 18:26 GMT+04:00 Mark Thomas ma...@apache.org:
 The following votes were cast:

 Binding:
  +1: markt, kkolinko, schultz

 Non-binding:
  +1: Ognjen Blagojevic

 The vote therefore passes.

 I'll start the process of moving the bits around shortly and announce
 once the mirrors catch up.


Reminder: There have been no announcement and no update for the web
site for this release yet.

Best regards,
Konstantin Kolinko

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



Re: [VOTE][RESULT] Release Apache Tomcat Native 1.1.32

2014-10-28 Thread Mark Thomas
On 28/10/2014 18:29, Konstantin Kolinko wrote:
 2014-10-23 18:26 GMT+04:00 Mark Thomas ma...@apache.org:
 The following votes were cast:

 Binding:
  +1: markt, kkolinko, schultz

 Non-binding:
  +1: Ognjen Blagojevic

 The vote therefore passes.

 I'll start the process of moving the bits around shortly and announce
 once the mirrors catch up.
 
 
 Reminder: There have been no announcement and no update for the web
 site for this release yet.

I know. I keep meaning to do it and keep getting distracted. I'll try
and do it (again) in the next few hours.

Mark



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



svn commit: r1634977 - in /tomcat/native/branches/1.1.x/xdocs: index.xml news/2014.xml

2014-10-28 Thread markt
Author: markt
Date: Tue Oct 28 20:45:39 2014
New Revision: 1634977

URL: http://svn.apache.org/r1634977
Log:
Update with 1.1.32 release info

Modified:
tomcat/native/branches/1.1.x/xdocs/index.xml
tomcat/native/branches/1.1.x/xdocs/news/2014.xml

Modified: tomcat/native/branches/1.1.x/xdocs/index.xml
URL: 
http://svn.apache.org/viewvc/tomcat/native/branches/1.1.x/xdocs/index.xml?rev=1634977r1=1634976r2=1634977view=diff
==
--- tomcat/native/branches/1.1.x/xdocs/index.xml (original)
+++ tomcat/native/branches/1.1.x/xdocs/index.xml Tue Oct 28 20:45:39 2014
@@ -64,8 +64,8 @@ manual is described in more detail below
 section name=Headlines
 ul
 
-lia href=news/2014.html#20140707.17 July 2014 - bTC-Native-1.1.31 
released/b/a
-pThe Apache Tomcat team is proud to announce the immediate availability of 
Tomcat Native 1.1.31 Stable.
+lia href=news/2014.html#20141023.123 October 2014 - bTC-Native-1.1.32 
released/b/a
+pThe Apache Tomcat team is proud to announce the immediate availability of 
Tomcat Native 1.1.32 Stable.
 /p
 p
  The sources and the binaries for selected platforms are available from the

Modified: tomcat/native/branches/1.1.x/xdocs/news/2014.xml
URL: 
http://svn.apache.org/viewvc/tomcat/native/branches/1.1.x/xdocs/news/2014.xml?rev=1634977r1=1634976r2=1634977view=diff
==
--- tomcat/native/branches/1.1.x/xdocs/news/2014.xml (original)
+++ tomcat/native/branches/1.1.x/xdocs/news/2014.xml Tue Oct 28 20:45:39 2014
@@ -29,6 +29,12 @@
 body
 
 section name=2014 News amp; Status
+ subsection anchor=20141023.1 name=23 October 2014 - TC-Native-1.1.32 
released
+  pThe Apache Tomcat team is proud to announce the immediate availability
+  of Tomcat Native 1.1.32. This release add support for TLSv1.1 and TLSv1.2 and
+  includes Windows binaries built with OpenSSL 1.0.1j and APR 1.5.1.
+  /p
+ /subsection
  subsection anchor=20140707.1 name=7 July 2014 - TC-Native-1.1.31 
released
   pThe Apache Tomcat team is proud to announce the immediate availability
   of Tomcat Native 1.1.31. This is a bug fixing release and includes Windows



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



svn commit: r1634980 - in /tomcat/site/trunk: docs/index.html docs/native-doc/index.html docs/native-doc/miscellaneous/changelog.html docs/native-doc/news/2014.html docs/oldnews.html xdocs/index.xml x

2014-10-28 Thread markt
Author: markt
Date: Tue Oct 28 20:48:33 2014
New Revision: 1634980

URL: http://svn.apache.org/r1634980
Log:
Update site for tc-native 1.1.32 release

Modified:
tomcat/site/trunk/docs/index.html
tomcat/site/trunk/docs/native-doc/index.html
tomcat/site/trunk/docs/native-doc/miscellaneous/changelog.html
tomcat/site/trunk/docs/native-doc/news/2014.html
tomcat/site/trunk/docs/oldnews.html
tomcat/site/trunk/xdocs/index.xml
tomcat/site/trunk/xdocs/oldnews.xml

Modified: tomcat/site/trunk/docs/index.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/index.html?rev=1634980r1=1634979r2=1634980view=diff
==
--- tomcat/site/trunk/docs/index.html (original)
+++ tomcat/site/trunk/docs/index.html Tue Oct 28 20:48:33 2014
@@ -224,6 +224,31 @@ project logo are trademarks of the Apach
 
 
 /div
+h3 id=Tomcat_Native_1.1.32_Released
+span style=float: right;2014-10-23/span Tomcat Native 1.1.32 
Released/h3
+div class=text
+
+p
+The Apache Tomcat Project is proud to announce the release of version 1.1.32 of
+Tomcat Native. The notable changes since 1.1.31 include:
+/p
+
+ul
+  
+liAdded support for TLSv1.1 and TLSv1.2/li
+  
+liWindows binaries are linked with OpenSSL 1.0.1j and APR 1.5.1/li
+
+/ul
+
+p style=text-align: center;
+
+a href=download-native.cgiDownload/a |
+a href=native-doc/miscellaneous/changelog.htmlChangeLog for 1.1.31/a
+
+/p
+
+/div
 h3 id=Tomcat_7.0.56_Released
 span style=float: right;2014-10-06/span Tomcat 7.0.56 Released/h3
 div class=text
@@ -295,33 +320,6 @@ Full details of these changes, and all t
 /p
 
 /div
-h3 id=Tomcat_Native_1.1.31_Released
-span style=float: right;2014-07-07/span Tomcat Native 1.1.31 
Released/h3
-div class=text
-
-p
-The Apache Tomcat Project is proud to announce the release of version 1.1.31 of
-Tomcat Native. The notable changes since 1.1.30 include:
-/p
-
-ul
-  
-liWindows binaries are linked with OpenSSL 1.0.1h. This provides a fix
-   for a href=http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0224; 
rel=nofollowCVE-2014-0224/a, an OpenSSL MITM vulnerability.
-   (a 
href=https://issues.apache.org/bugzilla/show_bug.cgi?id=56596;56596/a)/li
-  
-liResolve an issue when using FIPS mode. (a 
href=https://issues.apache.org/bugzilla/show_bug.cgi?id=56396;56396/a)/li
-
-/ul
-
-p style=text-align: center;
-
-a href=download-native.cgiDownload/a |
-a href=native-doc/miscellaneous/changelog.htmlChangeLog for 1.1.31/a
-
-/p
-
-/div
 h3 id=Tomcat_6.0.41_Released
 span style=float: right;2014-05-23/span Tomcat 6.0.41 Released/h3
 div class=text

Modified: tomcat/site/trunk/docs/native-doc/index.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/native-doc/index.html?rev=1634980r1=1634979r2=1634980view=diff
==
--- tomcat/site/trunk/docs/native-doc/index.html (original)
+++ tomcat/site/trunk/docs/native-doc/index.html Tue Oct 28 20:48:33 2014
@@ -32,8 +32,8 @@ manual is described in more detail below
 /divh3 id=HeadlinesHeadlines/h3div class=text
 ul
 
-lia href=news/2014.html#20140707.17 July 2014 - bTC-Native-1.1.31 
released/b/a
-pThe Apache Tomcat team is proud to announce the immediate availability of 
Tomcat Native 1.1.31 Stable.
+lia href=news/2014.html#20141023.123 October 2014 - bTC-Native-1.1.32 
released/b/a
+pThe Apache Tomcat team is proud to announce the immediate availability of 
Tomcat Native 1.1.32 Stable.
 /p
 p
  The sources and the binaries for selected platforms are available from the

Modified: tomcat/site/trunk/docs/native-doc/miscellaneous/changelog.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/native-doc/miscellaneous/changelog.html?rev=1634980r1=1634979r2=1634980view=diff
==
--- tomcat/site/trunk/docs/native-doc/miscellaneous/changelog.html (original)
+++ tomcat/site/trunk/docs/native-doc/miscellaneous/changelog.html Tue Oct 28 
20:48:33 2014
@@ -6,6 +6,19 @@
   It should contain fixes made only after December 19th 2007, when the
   new documentation project for Tomcat Native was started.
   /p
+/divh3 id=Changes_between_1.1.31_and_1.1.32Changes between 1.1.31 and 
1.1.32/h3div class=text
+  ul class=changelog
+liimg alt=Fix:  class=icon src=../images/fix.gif
+  a 
href=http://issues.apache.org/bugzilla/show_bug.cgi?id=53952;53952/a: Add 
support for TLSv1.2 and TLSv1.1.
+  Patch provided by Marcel Å ebek. (schultz)
+/li
+liimg alt=Fix:  class=icon src=../images/fix.gif
+  a 
href=http://issues.apache.org/bugzilla/show_bug.cgi?id=56844;56844/a: Use 
OpenSSL 1.0.1j with Windows binaries. (markt)
+/li
+liimg alt=Update:  class=icon src=../images/update.gif
+  Use APR 1.5.1 with Windows binaries (markt)
+/li
+  /ul
 /divh3 id=Changes_between_1.1.30_and_1.1.31Changes between 1.1.30 and 
1.1.31/h3div class=text
   ul 

svn commit: r1634981 - in /tomcat/site/trunk: docs/download-native.html docs/index.html xdocs/download-native.xml xdocs/index.xml

2014-10-28 Thread markt
Author: markt
Date: Tue Oct 28 20:50:45 2014
New Revision: 1634981

URL: http://svn.apache.org/r1634981
Log:
Missed downlod page and changelog ref in update for 1.1.32 release

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

Modified: tomcat/site/trunk/docs/download-native.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-native.html?rev=1634981r1=1634980r2=1634981view=diff
==
--- tomcat/site/trunk/docs/download-native.html (original)
+++ tomcat/site/trunk/docs/download-native.html Tue Oct 28 20:50:45 2014
@@ -265,14 +265,14 @@
 
 li class=download
   
-a 
href=[preferred]tomcat/tomcat-connectors/native/1.1.31/source/tomcat-native-1.1.31-src.tar.gz
 rel=nofollow
-Native 1.1.31 Source Release tar.gz/a (e.g. Unix, Linux, Mac 
OS)
+a 
href=[preferred]tomcat/tomcat-connectors/native/1.1.32/source/tomcat-native-1.1.32-src.tar.gz
 rel=nofollow
+Native 1.1.32 Source Release tar.gz/a (e.g. Unix, Linux, Mac 
OS)
 ul class=attributes
   
 li
-[a 
href=https://www.apache.org/dist/tomcat/tomcat-connectors/native/1.1.31/source/tomcat-native-1.1.31-src.tar.gz.asc;PGP/a],
-[a 
href=https://www.apache.org/dist/tomcat/tomcat-connectors/native/1.1.31/source/tomcat-native-1.1.31-src.tar.gz.md5;MD5/a],
-[a 
href=https://www.apache.org/dist/tomcat/tomcat-connectors/native/1.1.31/source/tomcat-native-1.1.31-src.tar.gz.sha1;SHA1/a]
+[a 
href=https://www.apache.org/dist/tomcat/tomcat-connectors/native/1.1.32/source/tomcat-native-1.1.32-src.tar.gz.asc;PGP/a],
+[a 
href=https://www.apache.org/dist/tomcat/tomcat-connectors/native/1.1.32/source/tomcat-native-1.1.32-src.tar.gz.md5;MD5/a],
+[a 
href=https://www.apache.org/dist/tomcat/tomcat-connectors/native/1.1.32/source/tomcat-native-1.1.32-src.tar.gz.sha1;SHA1/a]
   /li
 
 /ul
@@ -281,14 +281,14 @@
 
 li class=download
   
-a 
href=[preferred]tomcat/tomcat-connectors/native/1.1.31/source/tomcat-native-1.1.31-win32-src.zip
 rel=nofollow
-Native 1.1.31 Source Release zip/a (e.g. Windows)
+a 
href=[preferred]tomcat/tomcat-connectors/native/1.1.32/source/tomcat-native-1.1.32-win32-src.zip
 rel=nofollow
+Native 1.1.32 Source Release zip/a (e.g. Windows)
 ul class=attributes
   
 li
-[a 
href=https://www.apache.org/dist/tomcat/tomcat-connectors/native/1.1.31/source/tomcat-native-1.1.31-win32-src.zip.asc;PGP/a],
-[a 
href=https://www.apache.org/dist/tomcat/tomcat-connectors/native/1.1.31/source/tomcat-native-1.1.31-win32-src.zip.md5;MD5/a],
-[a 
href=https://www.apache.org/dist/tomcat/tomcat-connectors/native/1.1.31/source/tomcat-native-1.1.31-win32-src.zip.sha1;SHA1/a]
+[a 
href=https://www.apache.org/dist/tomcat/tomcat-connectors/native/1.1.32/source/tomcat-native-1.1.32-win32-src.zip.asc;PGP/a],
+[a 
href=https://www.apache.org/dist/tomcat/tomcat-connectors/native/1.1.32/source/tomcat-native-1.1.32-win32-src.zip.md5;MD5/a],
+[a 
href=https://www.apache.org/dist/tomcat/tomcat-connectors/native/1.1.32/source/tomcat-native-1.1.32-win32-src.zip.sha1;SHA1/a]
   /li
 
 /ul
@@ -303,7 +303,7 @@
 
 pYou can find binaries release too.
 You may download them from
-  a href=[preferred]tomcat/tomcat-connectors/native/1.1.31/binaries 
rel=nofollowHERE/a
+  a href=[preferred]tomcat/tomcat-connectors/native/1.1.32/binaries 
rel=nofollowHERE/a
 
 /p
 
@@ -333,14 +333,14 @@
   
 li class=download
 
-a 
href=[preferred]tomcat/tomcat-connectors/native/1.1.31/binaries/tomcat-native-1.1.31-win32-bin.zip
 rel=nofollow
-  Native 1.1.31 Windows Binaries zip/a (recommended)
+a 
href=[preferred]tomcat/tomcat-connectors/native/1.1.32/binaries/tomcat-native-1.1.32-win32-bin.zip
 rel=nofollow
+  Native 1.1.32 Windows Binaries zip/a (recommended)
   ul class=attributes
 
 li
-  [a 
href=https://www.apache.org/dist/tomcat/tomcat-connectors/native/1.1.31/binaries/tomcat-native-1.1.31-win32-bin.zip.asc;PGP/a],
-  [a 
href=https://www.apache.org/dist/tomcat/tomcat-connectors/native/1.1.31/binaries/tomcat-native-1.1.31-win32-bin.zip.md5;MD5/a],
-  [a 
href=https://www.apache.org/dist/tomcat/tomcat-connectors/native/1.1.31/binaries/tomcat-native-1.1.31-win32-bin.zip.sha1;SHA1/a]
+  [a 

Re: Array handling in ELSupport.coerceToType() (Re: r1633806, r1607906)

2014-10-28 Thread Mark Thomas
On 26/10/2014 22:40, Konstantin Kolinko wrote:
 Hi!
 
 This is a comment on the following commits:
 
 URL: http://svn.apache.org/r1633806
 Log:
 When coercing an object to a given type, only attempt coercion to an
 array if both the object type and the target type are an array type.
 
 URL: http://svn.apache.org/r1607906
 Log:
 Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56652
 Add support for method parameters that use arrays and varargs to
 ELProcessor.defineFunction()
 
 
 Issues:
 
 1) General issue:
 In r1607906 there was added a conversion support for arrays into
 ELSupport.coerceToType() and r1633806 fixed a bug in it.
 
 My understanding is that the method ELSupport.coerceToType()
 implements conversion rules from EL specification chapter Type
 Conversion (ch.1.23 in EL 3.0).
 
 My concern is that EL specification does not specify such conversion
 for array elements.
 
 As such, the varargs support fix needs a different implementation that
 does not change the ELSupport.coerceToType() method.

It is a grey area. Those coercion rules get used in multiple places and
some parts of the EL spec explicitly or implicitly require array support.

Unless we get a complaint that this feature actually breaks something
(which I view as unlikely) I'm of the view we treat this as a Tomcat
specific extension and leave it in. Meanwhile when the EL.next EG starts
up, I'll raise the issue of array support for coercion.

 2) Technical issue:
 The ELSupport.coerceToArray() method does not support arrays of
 primitives.  It class-casts its argument (Object[]) obj,  but that
 will fail for arrays of primitives.  The correct way is to use the
 following method to access array elements:
 java.lang.reflect.Array.get(Object, int): Object

Fair point. I'll take a look at a fix.


 3) Bikeshed:
 Maybe mention BZ 56425#c6 in changelog for r1607906.

Feel free to paint that particular bikeshed if you wish.

 I noted another unrelated difference vs specification in
 coerceToType() method - filed BZ 57148.

Thanks.

Mark

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



[ANN] Apache Tomcat Native 1.1.32 released

2014-10-28 Thread Mark Thomas
The Apache Tomcat team announces the immediate availability of Apache
Tomcat Native 1.1.32 stable.

The key features of this release are:
- Add support for TLSv1.1 and TLSv1.2
- Link Windows binaries with OpenSSL 1.0.1i and APR 1.5.1

Please refer to the change log for the complete list of changes:
http://tomcat.apache.org/native-doc/miscellaneous/changelog.html

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

The Apache Tomcat Native Library provides portable API for features
not found in contemporary JDK's. It uses Apache Portable Runtime as
operating system abstraction layer and OpenSSL for SSL networking and
allows optimal performance in production environments.


Thank you,
-- 
The Apache Tomcat Team

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



[Bug 56844] Update to OpenSSL 1.0.1j

2014-10-28 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56844

Konstantin Kolinko knst.koli...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #4 from Konstantin Kolinko knst.koli...@gmail.com ---
Tomcat Native 1.1.32 release uses OpenSSL 1.0.1j. This issue is thereby fixed.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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



Re: [ANN] Apache Tomcat Native 1.1.32 released

2014-10-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

All,

A few notes:

1. Some mirrors have not yet updated and still say 1.1.31 is the
latest. To download 1.1.32, choose alternative mirrors until you find
one that says 1.1.32.

2. The Microsoft Windows binaries of Tomcat Native 1.1.32 are
statically-linked against and include the CLI OpenSSL version 1.0.1j
instead of 1.0.1i as claimed below. At some point during the
excitement last week, two separate versions of OpenSSL were released
in rapid succession, and i and j are next to each other in the
alphabet and on an English keyboard, plus they look an awful lot alike
so it's not a surprise that Mark had a typo in his release announcement.

For announcers: I'm not sure I have post-karma for announce@, so
please update the release announcement if my message isn't echoed to
those lists.

Thanks,
- -chris

On 10/28/14 5:28 PM, Mark Thomas wrote:
 The Apache Tomcat team announces the immediate availability of
 Apache Tomcat Native 1.1.32 stable.
 
 The key features of this release are: - Add support for TLSv1.1 and
 TLSv1.2 - Link Windows binaries with OpenSSL 1.0.1i and APR 1.5.1
 
 Please refer to the change log for the complete list of changes: 
 http://tomcat.apache.org/native-doc/miscellaneous/changelog.html
 
 Downloads: http://tomcat.apache.org/download-native.cgi
 
 The Apache Tomcat Native Library provides portable API for
 features not found in contemporary JDK's. It uses Apache Portable
 Runtime as operating system abstraction layer and OpenSSL for SSL
 networking and allows optimal performance in production
 environments.
 
 
 Thank you,
 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJUUCQaAAoJEBzwKT+lPKRYD5AP+gIlpP4wJJupTjNAEZ4Og+wz
pAB35Ti/5CqhYOoT6AHBhc3daj8mQCthQWUicE1YgdM/4WhNW6NUKstl72D9ssXj
uWHVPdwZALC4Gmb6sDVLRqc+0sTwSiQue8VwoOpSbYwO2G9pD68NOBp/eV8mgXx1
p7t3O7o1IToiAz7krYJuiEF98NbCWcuAEkZK2UiAI6eYyROzO4TB26R60QddBXcA
Wlzb4Mat2im0geAPPt+FgJBhSnhb1E0zPRnUPDy+sZY0m2E9yZjXdelgZDS1XA/Z
5uEkFlxs07hv7y4lLVfbOOUGuxBlKK/DwIw8ccSblHWClE0fNAUV8f8Rzp/r2555
HZHvo2QAoTQRZ4sZ820/Gv7KMSRmz44tKZKt+zF5A2EEfe2V+mqVCmTQQ6Pld+Xe
yhk/X/R42ZQkbJWvcdPlwibacyJ/MjDY0GNiLIHmFWplpvjoc43rx7z+bXbUt1sT
FVVfHRJMQfFCDS+qHsRwkLFgFr3CPrcTvHAHKUkBRHRZzGY6aQQ3tl6bj76LAMAy
dLa5ZCNLXwlEPJbIwdX0tIsWDiBYrvKpGwO7QVKaLsu0PhAZLhGoaCjI2P5xjheK
+UcxqRpjVXWzOTOu8QsGb5yztj1bHKtSmsabltwm4iwx6sD9H6ypNdwK7xe67Cnc
GJzPs8qQgOC5fFRJWl30
=+syj
-END PGP SIGNATURE-

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



Re: [ANN] Apache Tomcat Native 1.1.32 released

2014-10-28 Thread Konstantin Kolinko
2014-10-29 2:17 GMT+03:00 Christopher Schultz ch...@christopherschultz.net:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256

 All,

 A few notes:

 1. Some mirrors have not yet updated and still say 1.1.31 is the
 latest. To download 1.1.32, choose alternative mirrors until you find
 one that says 1.1.32.

The binaries were published ~5 days ago (r6825). You should be very
lucky to find a mirror that does not have them.

 2. The Microsoft Windows binaries of Tomcat Native 1.1.32 are
 statically-linked against and include the CLI OpenSSL version 1.0.1j
 instead of 1.0.1i as claimed below. At some point during the
 excitement last week, two separate versions of OpenSSL were released
 in rapid succession, and i and j are next to each other in the
 alphabet and on an English keyboard, plus they look an awful lot alike
 so it's not a surprise that Mark had a typo in his release announcement.

Just a typo in e-mail. The announcement at the web site is OK.

Best regards,
Konstantin Kolinko

 On 10/28/14 5:28 PM, Mark Thomas wrote:
 The Apache Tomcat team announces the immediate availability of
 Apache Tomcat Native 1.1.32 stable.

 The key features of this release are: - Add support for TLSv1.1 and
 TLSv1.2 - Link Windows binaries with OpenSSL 1.0.1i and APR 1.5.1

 Please refer to the change log for the complete list of changes:
 http://tomcat.apache.org/native-doc/miscellaneous/changelog.html

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

 The Apache Tomcat Native Library provides portable API for
 features not found in contemporary JDK's. It uses Apache Portable
 Runtime as operating system abstraction layer and OpenSSL for SSL
 networking and allows optimal performance in production
 environments.


 Thank you,


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



Re: [ANN] Apache Tomcat Native 1.1.32 released

2014-10-28 Thread Christopher Schultz
Konstantin,

On 10/28/14 7:33 PM, Konstantin Kolinko wrote:
 2014-10-29 2:17 GMT+03:00 Christopher Schultz ch...@christopherschultz.net:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256

 All,

 A few notes:

 1. Some mirrors have not yet updated and still say 1.1.31 is the
 latest. To download 1.1.32, choose alternative mirrors until you find
 one that says 1.1.32.
 
 The binaries were published ~5 days ago (r6825). You should be very
 lucky to find a mirror that does not have them.

Many that I try are still out of date. As of right now:
http://tomcat.apache.org/download-native.cgi?Preferred=http%3A%2F%2Fwww.carfab.com%2Fapachesoftware%2F

http://tomcat.apache.org/download-native.cgi?Preferred=http%3A%2F%2Fsupergsego.com%2Fapache%2F

More of them were outdated earlier today when I checked.  Not every
mirror updates every hour...

 2. The Microsoft Windows binaries of Tomcat Native 1.1.32 are
 statically-linked against and include the CLI OpenSSL version 1.0.1j
 instead of 1.0.1i as claimed below. At some point during the
 excitement last week, two separate versions of OpenSSL were released
 in rapid succession, and i and j are next to each other in the
 alphabet and on an English keyboard, plus they look an awful lot alike
 so it's not a surprise that Mark had a typo in his release announcement.
 
 Just a typo in e-mail. The announcement at the web site is OK.

For those reading the email announcement, I just wanted to be clear.

Thanks,
-chris



signature.asc
Description: OpenPGP digital signature