svn commit: r1784476 - in /tomcat/site/trunk: docs/native-doc/ docs/native-doc/miscellaneous/ docs/native-doc/news/ xdocs/
Author: markt Date: Sun Feb 26 19:28:10 2017 New Revision: 1784476 URL: http://svn.apache.org/viewvc?rev=1784476&view=rev Log: Update website for Tomcat Native 1.2.12 release Modified: tomcat/site/trunk/docs/native-doc/index.html tomcat/site/trunk/docs/native-doc/miscellaneous/changelog.html tomcat/site/trunk/docs/native-doc/news/2008.html tomcat/site/trunk/docs/native-doc/news/2009.html tomcat/site/trunk/docs/native-doc/news/2010.html tomcat/site/trunk/docs/native-doc/news/2011.html tomcat/site/trunk/docs/native-doc/news/2012.html tomcat/site/trunk/docs/native-doc/news/2013.html tomcat/site/trunk/docs/native-doc/news/2014.html tomcat/site/trunk/docs/native-doc/news/2015.html tomcat/site/trunk/docs/native-doc/news/2016.html tomcat/site/trunk/xdocs/download-native.xml tomcat/site/trunk/xdocs/index.xml tomcat/site/trunk/xdocs/oldnews.xml Modified: tomcat/site/trunk/docs/native-doc/index.html URL: http://svn.apache.org/viewvc/tomcat/site/trunk/docs/native-doc/index.html?rev=1784476&r1=1784475&r2=1784476&view=diff == --- tomcat/site/trunk/docs/native-doc/index.html (original) +++ tomcat/site/trunk/docs/native-doc/index.html Sun Feb 26 19:28:10 2017 @@ -109,23 +109,20 @@ list of changes. Windows - Download the windows sources of tc-native and extract them. + Download the Windows sources of tc-native and extract them. -Download OpenSSL sources (See http://www.openssl.org/related/binaries.html";>Binary Distributions) -OpenSSL is a crypto software so check if you are allowed to download it. If not you can still use tc-native without SSL. + Obtain the Windows sources for + http://apr.apache.org/download.cgi";>APR and + https://www.openssl.org/source/";>OpenSSL. Apply the patches from + native/srclib and build APR and OpenSSL for your platform (X86 or X64). -Download APR sources for Windows. (See http://apr.apache.org/download.cgi";>Download) -Extract them in jni and rename the apr-1.x.y directory to apr. +Build with nmake -f NMAKEMakefile WITH_APR=... WITH_OPENSSL=... APR_DECLARE_STATIC=1 -Use MS Visual Studio to open the workspace of the APR sources and build the library (libapr). - - -Use MS Visual Studio to open the workspace of the tc-native sources, adjust the OpenSSL includes and libraries location -change the name of the libraries libeay32 and libssleay to libeay32MT and libssleayMT and build the tcn-native library. -That should create a tcnative-1.dll. +More detailed instructions including the steps to create a standard release +distribution are provided on the https://cwiki.apache.org/confluence/display/TOMCAT/Building+the+Tomcat+Native+Connector+binaries+for+Windows";>Wiki. @@ -187,5 +184,5 @@ INFO: Initializing Coyote HTTP/1.1 on ht -Copyright © 2008-2016, The Apache Software Foundation +Copyright © 2008-2017, The Apache Software Foundation \ No newline at end of file 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=1784476&r1=1784475&r2=1784476&view=diff == --- tomcat/site/trunk/docs/native-doc/miscellaneous/changelog.html (original) +++ tomcat/site/trunk/docs/native-doc/miscellaneous/changelog.html Sun Feb 26 19:28:10 2017 @@ -3,9 +3,63 @@ This is the Changelog for Tomcat Native 1.2. +Changes in 1.2.12 + + + Correct a regression in the fix for http://issues.apache.org/bugzilla/show_bug.cgi?id=59797";>59797 that triggered a JVM + crash on shutdown in some Tomcat unit tests when using the APR/native + connector. (markt) + + +Changes in 1.2.11 + + + http://issues.apache.org/bugzilla/show_bug.cgi?id=52627";>52627: Prevent a crash in File.infoGet() caused by + the use of uninitialised variables. Based on patch by Ilya Maykov. (markt) + + + http://issues.apache.org/bugzilla/show_bug.cgi?id=55113";>55113: Document the process for creating a static tc-native + library with a FIPS-enabled OpenSSL and update the nmake make file to + support the process. (markt) + + + http://issues.apache.org/bugzilla/show_bug.cgi?id=55114";>55114: Clean up building instructions for the native component + and expand the instructions for building for Windows platforms. (markt) + + + http://issues.apache.org/bugzilla/show_bug.cgi?id=55938";>55938: Resolve remaining clang-analyzer warnings. Note that the + use of -1 to indicate the full array in + File.(read|write)[Full] has been removed since it was only + partially implemented and the implementation was faulty. (markt) + + + http://issues.apache.org/bugzilla/show_bug.cgi?id=58082";>58
svn commit: r1784481 - in /tomcat/site/trunk/docs: download-native.html index.html oldnews.html
Author: markt Date: Sun Feb 26 20:04:46 2017 New Revision: 1784481 URL: http://svn.apache.org/viewvc?rev=1784481&view=rev Log: Update published docs on main part of website Modified: tomcat/site/trunk/docs/download-native.html tomcat/site/trunk/docs/index.html tomcat/site/trunk/docs/oldnews.html Modified: tomcat/site/trunk/docs/download-native.html URL: http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-native.html?rev=1784481&r1=1784480&r2=1784481&view=diff == --- tomcat/site/trunk/docs/download-native.html (original) +++ tomcat/site/trunk/docs/download-native.html Sun Feb 26 20:04:46 2017 @@ -293,14 +293,14 @@ - -Native 1.2.10 Source Release tar.gz (e.g. Unix, Linux, Mac OS) + +Native 1.2.12 Source Release tar.gz (e.g. Unix, Linux, Mac OS) -[https://www.apache.org/dist/tomcat/tomcat-connectors/native/1.2.10/source/tomcat-native-1.2.10-src.tar.gz.asc";>PGP], -[https://www.apache.org/dist/tomcat/tomcat-connectors/native/1.2.10/source/tomcat-native-1.2.10-src.tar.gz.md5";>MD5], -[https://www.apache.org/dist/tomcat/tomcat-connectors/native/1.2.10/source/tomcat-native-1.2.10-src.tar.gz.sha1";>SHA1] +[https://www.apache.org/dist/tomcat/tomcat-connectors/native/1.2.12/source/tomcat-native-1.2.12-src.tar.gz.asc";>PGP], +[https://www.apache.org/dist/tomcat/tomcat-connectors/native/1.2.12/source/tomcat-native-1.2.12-src.tar.gz.md5";>MD5], +[https://www.apache.org/dist/tomcat/tomcat-connectors/native/1.2.12/source/tomcat-native-1.2.12-src.tar.gz.sha1";>SHA1] @@ -309,14 +309,14 @@ - -Native 1.2.10 Source Release zip (e.g. Windows) + +Native 1.2.12 Source Release zip (e.g. Windows) -[https://www.apache.org/dist/tomcat/tomcat-connectors/native/1.2.10/source/tomcat-native-1.2.10-win32-src.zip.asc";>PGP], -[https://www.apache.org/dist/tomcat/tomcat-connectors/native/1.2.10/source/tomcat-native-1.2.10-win32-src.zip.md5";>MD5], -[https://www.apache.org/dist/tomcat/tomcat-connectors/native/1.2.10/source/tomcat-native-1.2.10-win32-src.zip.sha1";>SHA1] +[https://www.apache.org/dist/tomcat/tomcat-connectors/native/1.2.12/source/tomcat-native-1.2.12-win32-src.zip.asc";>PGP], +[https://www.apache.org/dist/tomcat/tomcat-connectors/native/1.2.12/source/tomcat-native-1.2.12-win32-src.zip.md5";>MD5], +[https://www.apache.org/dist/tomcat/tomcat-connectors/native/1.2.12/source/tomcat-native-1.2.12-win32-src.zip.sha1";>SHA1] @@ -331,7 +331,7 @@ You can find binaries release too. You may download them from - HERE + HERE @@ -360,14 +360,14 @@ - - Native 1.2.10 Windows Binaries zip (recommended) + + Native 1.2.12 Windows Binaries zip (recommended) - [https://www.apache.org/dist/tomcat/tomcat-connectors/native/1.2.10/binaries/tomcat-native-1.2.10-win32-bin.zip.asc";>PGP], - [https://www.apache.org/dist/tomcat/tomcat-connectors/native/1.2.10/binaries/tomcat-native-1.2.10-win32-bin.zip.md5";>MD5], - [https://www.apache.org/dist/tomcat/tomcat-connectors/native/1.2.10/binaries/tomcat-native-1.2.10-win32-bin.zip.sha1";>SHA1] + [https://www.apache.org/dist/tomcat/tomcat-connectors/native/1.2.12/binaries/tomcat-native-1.2.12-win32-bin.zip.asc";>PGP], + [https://www.apache.org/dist/tomcat/tomcat-connectors/native/1.2.12/binaries/tomcat-native-1.2.12-win32-bin.zip.md5";>MD5], + [https://www.apache.org/dist/tomcat/tomcat-connectors/native/1.2.12/binaries/tomcat-native-1.2.12-win32-bin.zip.sha1";>SHA1] @@ -376,15 +376,15 @@ - - Native 1.2.10 Windows OCSP-enabled Binaries zip + + Native 1.2.12 Windows OCSP-enabled Binaries zip - [https://www.apache.org/dist/tomcat/tomcat-connectors/native/1.2.10/binaries/tomcat-native-1.2.10-ocsp-win32-bin.zip.asc";>PGP], - [https://www.apache.org/dist/tomcat/tomcat-connectors/native/1.2.10/binaries/tomcat-native-1.2.10-ocsp-win32-bin.zip.md5";>MD5], - [https://www.apache.org/dist/tomcat/tomcat-connectors/native/1.2.10/binaries/tomcat-native-1.2.10-ocsp-win32-bin.zip.sha1";>SHA1] + [https://www.apache.org/dist/tomcat/tomcat-connectors/native/1.2.12/binaries/tomcat-native-1.2.12-ocsp-win32-bin.zip.asc";>PG
svn commit: r18473 - /release/tomcat/tomcat-connectors/native/1.2.10/
Author: markt Date: Sun Feb 26 20:07:40 2017 New Revision: 18473 Log: Drop Tomcat Native 1.2.10 from mirrors Removed: release/tomcat/tomcat-connectors/native/1.2.10/ - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[ANN] Apache Tomcat Native 1.2.12 released
The Apache Tomcat team announces the immediate availability of Apache Tomcat Native 1.2.12 stable. The key features of this release are: - Windows binaries built with APR 1.5.2 and OpenSSL 1.0.2k. - Better documentation for building on Windows including with FIPS enabled OpenSSL. Note that users should now be using 1.2.x in preference to 1.1.x. 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
[GUMP@vmgump-vm3]: Project tomcat-tc8.0.x-test-nio2 (in module tomcat-8.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-tc8.0.x-test-nio2 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-tc8.0.x-test-nio2 : Tomcat 8.x, a web server implementing the Java Servlet 3.1, ... Full details are available at: http://vmgump-vm3.apache.org/tomcat-8.0.x/tomcat-tc8.0.x-test-nio2/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -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. -INFO- Failed with reason build failed -INFO- Project Reports in: /srv/gump/public/workspace/tomcat-8.0.x/output/logs-NIO2 -INFO- Project Reports in: /srv/gump/public/workspace/tomcat-8.0.x/output/test-tmp-NIO2/logs -WARNING- No directory [/srv/gump/public/workspace/tomcat-8.0.x/output/test-tmp-NIO2/logs] The following work was performed: http://vmgump-vm3.apache.org/tomcat-8.0.x/tomcat-tc8.0.x-test-nio2/gump_work/build_tomcat-8.0.x_tomcat-tc8.0.x-test-nio2.html Work Name: build_tomcat-8.0.x_tomcat-tc8.0.x-test-nio2 (Type: Build) Work ended in a state of : Failed Elapsed: 20 mins 6 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-8.0.x/tomcat-build-libs -Dexecute.test.nio2=true -Dtest.temp=output/test-tmp-NIO2 -Djunit.jar=/srv/gump/public/workspace/junit/target/junit-4.13-SNAPSHOT.jar -Dtest.accesslog=true -Dobjenesis.jar=/srv/gump/public/workspace/objenesis/main/target/objenesis-2.6-SNAPSHOT.jar -Dexamples.sources.skip=true -Dcommons-daemon.jar=/srv/gump/public/workspace/apache-commons/daemon/dist/commons-daemon-20170227.jar -Dtest.openssl.path=/srv/gump/public/workspace/openssl-1.0.2/dest-20170227/bin/openssl -Dexecute.test.nio=false -Dhamcrest.jar=/srv/gump/packages/hamcrest/hamcrest-core-1.3.jar -Dexecute.test.apr=false -Dexecute.test.bio=false -Dcommons-daemon.native.src.tgz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-20170227-native-src.tar.gz -Dtest.repor ts=output/logs-NIO2 -Dtomcat-native.tar.gz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-20170227-native-src.tar.gz -Djdt.jar=/srv/gump/packages/eclipse/plugins/R-4.5-201506032000/ecj-4.5.jar -Dtest.relaxTiming=true -Dtest.excludePerformance=true -Djava.net.preferIPv4Stack=/srv/gump/public/workspace/tomcat-8.0.x/true -Deasymock.jar=/srv/gump/public/workspace/easymock/core/target/easymock-3.5-SNAPSHOT.jar -Dcglib.jar=/srv/gump/packages/cglib/cglib-nodep-2.2.jar test [Working Directory: /srv/gump/public/workspace/tomcat-8.0.x] CLASSPATH: /usr/lib/jvm/java-8-oracle/lib/tools.jar:/srv/gump/public/workspace/tomcat-8.0.x/output/build/webapps/examples/WEB-INF/classes:/srv/gump/public/workspace/tomcat-8.0.x/output/testclasses:/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/public/workspace/tomcat-8.0.x/output/build/bin/bootstrap.jar:/srv/gump/public/workspace/tomcat-8.0.x/output/build/bin/tomcat-juli.jar:/srv/gump/public/workspace/tomcat-8.0.x/output/build/lib/annotations-api.jar:/srv/gump/public/workspace/tomcat-8.0.x/output/build/lib/servlet-api.ja r:/srv/gump/public/workspace/tomcat-8.0.x/output/build/lib/jsp-api.jar:/srv/gump/public/workspace/tomcat-8.0.x/output/build/lib/el-api.jar:/srv/gump/public/workspace/tomcat-8.0.x/output/build/lib/websocket-api.jar:/srv/gump/public/workspace/tomcat-8.0.x/output/build/lib/catalina.jar:/srv/gump/public/workspace/tomcat-8.0.x/output/build/lib/catalina-ant.jar:/srv/gump/public/workspace/tomcat-8.0.x/output/build/lib/catalina-storeconfig.jar:/srv/gump/public/workspace/tomcat-8.0.x/output/build/lib/tomcat-coyote.jar:/srv/gump/public/workspace/tomcat-8.0.x/output/build/lib/jasper.jar:/srv/gump/public/workspace/tomcat-8.0.x/output/build/lib/jasper-el.jar:/srv/gump/public/workspace/tomcat-8.0.x/output/build/lib/catalina-tribes.jar:/srv/gum
Need a clarification on logic inside RequestInfo class in Tomcat 7.0.75
Hi all, I have gone through the the jira[1] and find out that the corresponding fix as given here[2]. But in the jira it says that "make sure the start time isn't zero before doing the subtraction". But in the logic it is implemented as follows , long startTime = req.getStartTime(); if (getStage() == org.apache.coyote.Constants.STAGE_ENDED || startTime < 0) { return 0; } else { return (System.currentTimeMillis() - startTime); } According to this implementation, it does the subtraction even the startTime is 0. Is it a bug ?? Am I missed something here ? [1] - https://bz.apache.org/bugzilla/show_bug.cgi?id=60123 [2] - https://github.com/apache/tomcat70/blob/TOMCAT_7_0_75/java/org/apache/coyote/RequestInfo.java#L129 Thanks, Nisala -- *Best Regards,Nisala Niroshana Nanayakkara,* *Bsc. Eng Graduate | Department of Computer Science & Engineering | University of Moratuwa | Sri Lanka* *Software Engineer | WSO2 Lanka(pvt) Ltd * *Mobile | +94717600022*