Re: [VOTE] Release Apache Tomcat Native 1.1.21
On 07/27/2011 02:04 PM, Mladen Turk wrote: On 07/27/2011 11:20 AM, jean-frederic clere wrote: Win32/Win64 binaries will be available at: http://tomcat.apache.org/dev/dist/tomcat-connectors/native/1.1.21/binaries/ Think we should stop shipping anything that is not voted for. You should have call for a vote after the binaries are uploaded. Otherwise we would need a new vote for the binaries. Please vote now. I have added the binaries. Cheers Jean-Frederic - 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.1.21
On 27/07/2011 10:20, jean-frederic clere wrote: > Hi, > > Native 1.1.21 is available for testing. > Compared with 1.1.21 and earlier versions it fixes some bugs. > > If you want to take a look, the final source distribution can be > downloaded from: > http://tomcat.apache.org/dev/dist/tomcat-connectors/native/1.1.21/source > (Will be visible after the server sync is done) > > Win32/Win64 binaries will be available at: > http://tomcat.apache.org/dev/dist/tomcat-connectors/native/1.1.21/binaries/ > > So here's the vote. > It will be closed in about 72 hours > (or sooner if enough votes are encountered) > > > Apache Tomcat Native 1.1.21 is: > > [ ] Stable - no major issues, no regressions > [ ] Beta - at least one significant issue -- tell us what it is > [ ] Alpha - multiple significant issues -- tell us what they are I vote Broken. Compared to the 1.1.20 release, the following files are missing. jni\native\build-outputs.mk jni\native\configure jni\native\tcnative.spec jni\native\build\apr_common.m4 jni\native\build\config.guess jni\native\build\config.sub jni\native\build\find_apr.m4 jni\native\build\install.sh I don't see anything in the changelog to explain why they are missing and both jni\native\BUILDING and the documentation are written on the basis that they are present. Mark - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: [VOTE] Release Apache Tomcat Native 1.1.21
On 07/28/2011 10:10 AM, Mark Thomas wrote: On 27/07/2011 10:20, jean-frederic clere wrote: Hi, Native 1.1.21 is available for testing. Compared with 1.1.21 and earlier versions it fixes some bugs. If you want to take a look, the final source distribution can be downloaded from: http://tomcat.apache.org/dev/dist/tomcat-connectors/native/1.1.21/source (Will be visible after the server sync is done) Win32/Win64 binaries will be available at: http://tomcat.apache.org/dev/dist/tomcat-connectors/native/1.1.21/binaries/ So here's the vote. It will be closed in about 72 hours (or sooner if enough votes are encountered) Apache Tomcat Native 1.1.21 is: [ ] Stable - no major issues, no regressions [ ] Beta - at least one significant issue -- tell us what it is [ ] Alpha - multiple significant issues -- tell us what they are I vote Broken. Compared to the 1.1.20 release, the following files are missing. jni\native\build-outputs.mk jni\native\configure jni\native\tcnative.spec jni\native\build\apr_common.m4 jni\native\build\config.guess jni\native\build\config.sub jni\native\build\find_apr.m4 jni\native\build\install.sh I don't see anything in the changelog to explain why they are missing and both jni\native\BUILDING and the documentation are written on the basis that they are present. I think that packaging failed :-( I will arrange the jnirelease.sh so that it breaks if something goes wrong and redo the tag and release. Cheers Jean-Frederic - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[GUMP@vmgump]: Project tomcat-trunk-test (in module tomcat-trunk) 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-trunk-test has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 2 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - tomcat-trunk-test : Tomcat 7.x, a web server implementing Java Servlet 3.0, ... Full details are available at: http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Dependency on tomcat-trunk-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-trunk-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-trunk/output/build/logs The following work was performed: http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-test/gump_work/build_tomcat-trunk_tomcat-trunk-test.html Work Name: build_tomcat-trunk_tomcat-trunk-test (Type: Build) Work ended in a state of : Failed Elapsed: 14 mins 9 secs Command Line: /usr/lib/jvm/java-6-openjdk/bin/java -Djava.awt.headless=true -Dbuild.sysclasspath=only org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml -Djunit.jar=/srv/gump/public/workspace/junit/dist/junit-28072011.jar -Dcommons-daemon.native.src.tgz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-28072011-native-src.tar.gz -Dtomcat-native.tar.gz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-28072011-native-src.tar.gz -Dexamples.sources.skip=true -Dtomcat-dbcp.home=/srv/gump/public/workspace/tomcat-trunk/tomcat-deps -Djdt.jar=/srv/gump/packages/eclipse/plugins/org.eclipse.jdt.core_3.4.2/jdtcore.jar -Dcommons-daemon.jar=/srv/gump/public/workspace/apache-commons/daemon/dist/commons-daemon-28072011.jar -Dtomcat-dbcp-src.jar=/srv/gump/public/workspace/tomcat-trunk/tomcat-deps/tomcat-dbcp-src.jar -Dcommons-pool.home=/srv/gump/public/workspace/commons-pool-1.x -Dcommons-dbcp.home=/srv/gump/public/worksp ace/commons-dbcp-1.x -Dcheckstyle.jar=/srv/gump/public/workspace/checkstyle/target/checkstyle-*[0-9T].jar -Dtomcat-dbcp.jar=/srv/gump/public/workspace/tomcat-trunk/tomcat-deps/tomcat-dbcp-28072011.jar test [Working Directory: /srv/gump/public/workspace/tomcat-trunk] CLASSPATH: /usr/lib/jvm/java-6-openjdk/lib/tools.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/webapps/examples/WEB-INF/classes:/srv/gump/public/workspace/tomcat-trunk/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-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/packages/junit3.8.1/junit.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/bin/bootstrap.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/bin/tomcat-juli.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/annotations-api.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/servlet-api.jar:/srv /gump/public/workspace/tomcat-trunk/output/build/lib/jsp-api.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/el-api.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/catalina.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/catalina-ant.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/tomcat-coyote.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/jasper.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/jasper-el.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/catalina-tribes.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/catalina-ha.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/tomcat-api.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/tomcat-util.jar:/srv/gump/packages/javamail-1.4/mail.jar:/srv/gump/packages/javamail-1.4/lib/mailapi.jar:/srv/gump/packages/jaf-1.1ea/activation.jar:/srv/gump/packages/eclipse/plugins/org.eclipse.jdt.core_3.4.2/jdtcore. jar:/srv/gump/public/workspace/tomcat-trunk/tomcat-deps/tomcat-dbcp-28072011
Re: [VOTE] Release Apache Tomcat Native 1.1.21
On 28/07/2011 10:04, jean-frederic clere wrote: > On 07/28/2011 10:10 AM, Mark Thomas wrote: >> On 27/07/2011 10:20, jean-frederic clere wrote: >>> Hi, >>> >>> Native 1.1.21 is available for testing. >>> Compared with 1.1.21 and earlier versions it fixes some bugs. >>> >>> If you want to take a look, the final source distribution can be >>> downloaded from: >>> http://tomcat.apache.org/dev/dist/tomcat-connectors/native/1.1.21/source >>> (Will be visible after the server sync is done) >>> >>> Win32/Win64 binaries will be available at: >>> http://tomcat.apache.org/dev/dist/tomcat-connectors/native/1.1.21/binaries/ >>> >>> >>> So here's the vote. >>> It will be closed in about 72 hours >>> (or sooner if enough votes are encountered) >>> >>> >>> Apache Tomcat Native 1.1.21 is: >>> >>> [ ] Stable - no major issues, no regressions >>> [ ] Beta - at least one significant issue -- tell us what it is >>> [ ] Alpha - multiple significant issues -- tell us what they are >> >> I vote Broken. Compared to the 1.1.20 release, the following files are >> missing. >> jni\native\build-outputs.mk >> jni\native\configure >> jni\native\tcnative.spec >> jni\native\build\apr_common.m4 >> jni\native\build\config.guess >> jni\native\build\config.sub >> jni\native\build\find_apr.m4 >> jni\native\build\install.sh >> >> I don't see anything in the changelog to explain why they are missing >> and both jni\native\BUILDING and the documentation are written on the >> basis that they are present. > > I think that packaging failed :-( > I will arrange the jnirelease.sh so that it breaks if something goes > wrong and redo the tag and release. Tx. Give me five minutes to fix some typos I spotted. Mark - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1151774 - /tomcat/native/branches/1.1.x/xdocs/miscellaneous/changelog.xml
Author: markt Date: Thu Jul 28 09:34:27 2011 New Revision: 1151774 URL: http://svn.apache.org/viewvc?rev=1151774&view=rev Log: Fix typo Modified: tomcat/native/branches/1.1.x/xdocs/miscellaneous/changelog.xml Modified: tomcat/native/branches/1.1.x/xdocs/miscellaneous/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/native/branches/1.1.x/xdocs/miscellaneous/changelog.xml?rev=1151774&r1=1151773&r2=1151774&view=diff == --- tomcat/native/branches/1.1.x/xdocs/miscellaneous/changelog.xml (original) +++ tomcat/native/branches/1.1.x/xdocs/miscellaneous/changelog.xml Thu Jul 28 09:34:27 2011 @@ -48,7 +48,7 @@ 51437: Try loading certificate in DER format if PEM was invalid. (mturk) - 49557: index erro in the loop to get the env info in the proc.create function. (kkolinko, jfclere) + 49557: index error in the loop to get the env info in the proc.create function. (kkolinko, jfclere) 49851: JNI Registry.deleteKey and Registry.deleteValue corrupt Windows registry. (jfclere) - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1151775 - /tomcat/native/trunk/xdocs/miscellaneous/changelog-1.1.x.xml
Author: markt Date: Thu Jul 28 09:35:26 2011 New Revision: 1151775 URL: http://svn.apache.org/viewvc?rev=1151775&view=rev Log: Fix typo Modified: tomcat/native/trunk/xdocs/miscellaneous/changelog-1.1.x.xml Modified: tomcat/native/trunk/xdocs/miscellaneous/changelog-1.1.x.xml URL: http://svn.apache.org/viewvc/tomcat/native/trunk/xdocs/miscellaneous/changelog-1.1.x.xml?rev=1151775&r1=1151774&r2=1151775&view=diff == --- tomcat/native/trunk/xdocs/miscellaneous/changelog-1.1.x.xml (original) +++ tomcat/native/trunk/xdocs/miscellaneous/changelog-1.1.x.xml Thu Jul 28 09:35:26 2011 @@ -45,7 +45,7 @@ 51437: Try loading certificate in DER format if PEM was invalid. (mturk) - 49557: index erro in the loop to get the env info in the proc.create function. (kkolinko, jfclere) + 49557: index error in the loop to get the env info in the proc.create function. (kkolinko, jfclere) 49851: JNI Registry.deleteKey and Registry.deleteValue corrupt Windows registry. (jfclere) - 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.1.21
On 28/07/2011 10:04, jean-frederic clere wrote: > On 07/28/2011 10:10 AM, Mark Thomas wrote: >> On 27/07/2011 10:20, jean-frederic clere wrote: >>> Hi, >>> >>> Native 1.1.21 is available for testing. >>> Compared with 1.1.21 and earlier versions it fixes some bugs. >>> >>> If you want to take a look, the final source distribution can be >>> downloaded from: >>> http://tomcat.apache.org/dev/dist/tomcat-connectors/native/1.1.21/source >>> (Will be visible after the server sync is done) >>> >>> Win32/Win64 binaries will be available at: >>> http://tomcat.apache.org/dev/dist/tomcat-connectors/native/1.1.21/binaries/ >>> >>> >>> So here's the vote. >>> It will be closed in about 72 hours >>> (or sooner if enough votes are encountered) >>> >>> >>> Apache Tomcat Native 1.1.21 is: >>> >>> [ ] Stable - no major issues, no regressions >>> [ ] Beta - at least one significant issue -- tell us what it is >>> [ ] Alpha - multiple significant issues -- tell us what they are >> >> I vote Broken. Compared to the 1.1.20 release, the following files are >> missing. >> jni\native\build-outputs.mk >> jni\native\configure >> jni\native\tcnative.spec >> jni\native\build\apr_common.m4 >> jni\native\build\config.guess >> jni\native\build\config.sub >> jni\native\build\find_apr.m4 >> jni\native\build\install.sh >> >> I don't see anything in the changelog to explain why they are missing >> and both jni\native\BUILDING and the documentation are written on the >> basis that they are present. > > I think that packaging failed :-( > I will arrange the jnirelease.sh so that it breaks if something goes > wrong and redo the tag and release. I was able to get the library to build by running buildconf locally. The JSP TCK passes when running with HTTP APR with 1.2.21 and I am currently running the Servlet TCK. Mark - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: [GUMP@vmgump]: Project tomcat-trunk-test (in module tomcat-trunk) failed
2011/7/28 Bill Barker : > Project tomcat-trunk-test has an issue affecting its community integration. > This issue affects 1 projects, > and has been outstanding for 2 runs. > The current state of this project is 'Failed', with reason 'Build Failed'. > For reference only, the following projects are affected by this: > - tomcat-trunk-test : Tomcat 7.x, a web server implementing Java Servlet > 3.0, > ... > > Full details are available at: > > http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-test/index.html > >(...) Test org.apache.tomcat.util.net.TestCustomSsl FAILED Only BIO connector was tested. Link the log file of the failed test: http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-test/gump_file/TEST-org.apache.tomcat.util.net.TestCustomSsl.BIO.txt.html Quoting from that log: [[[ Testsuite: org.apache.tomcat.util.net.TestCustomSsl Tests run: 3, Failures: 0, Errors: 1, Time elapsed: 8.154 sec (...) Testcase: testCustomSslImplementation took 4.411 sec Testcase: testCustomTrustManager1 took 1.468 sec Caused an ERROR Received fatal alert: unexpected_message javax.net.ssl.SSLException: Received fatal alert: unexpected_message at sun.security.ssl.Alerts.getSSLException(Alerts.java:208) at sun.security.ssl.Alerts.getSSLException(Alerts.java:154) at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1731) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:974) at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:775) at sun.security.ssl.AppInputStream.read(AppInputStream.java:94) at java.io.BufferedInputStream.fill(BufferedInputStream.java:235) at java.io.BufferedInputStream.read1(BufferedInputStream.java:275) at java.io.BufferedInputStream.read(BufferedInputStream.java:334) at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:688) at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:633) at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:653) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1162) at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:397) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338) at org.apache.catalina.startup.TomcatBaseTest.getUrl(TomcatBaseTest.java:252) at org.apache.catalina.startup.TomcatBaseTest.getUrl(TomcatBaseTest.java:226) at org.apache.tomcat.util.net.TestCustomSsl.doTestCustomTrustManager(TestCustomSsl.java:135) at org.apache.tomcat.util.net.TestCustomSsl.testCustomTrustManager1(TestCustomSsl.java:83) Testcase: testCustomTrustManager2 took 2.24 sec ]]] I have not investigated the cause. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: [GUMP@vmgump]: Project tomcat-trunk-test (in module tomcat-trunk) failed
On 28/07/2011 10:58, Konstantin Kolinko wrote: > 2011/7/28 Bill Barker : >> Project tomcat-trunk-test has an issue affecting its community integration. >> This issue affects 1 projects, >> and has been outstanding for 2 runs. >> The current state of this project is 'Failed', with reason 'Build Failed'. >> For reference only, the following projects are affected by this: >>- tomcat-trunk-test : Tomcat 7.x, a web server implementing Java Servlet >> 3.0, >>... >> >> Full details are available at: >> >> http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-test/index.html >> >> (...) > > Test org.apache.tomcat.util.net.TestCustomSsl FAILED > > Only BIO connector was tested. > Link the log file of the failed test: > > http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-test/gump_file/TEST-org.apache.tomcat.util.net.TestCustomSsl.BIO.txt.html > > Quoting from that log: > > [[[ > Testsuite: org.apache.tomcat.util.net.TestCustomSsl > Tests run: 3, Failures: 0, Errors: 1, Time elapsed: 8.154 sec > (...) > Testcase: testCustomSslImplementation took 4.411 sec > Testcase: testCustomTrustManager1 took 1.468 sec > Caused an ERROR > Received fatal alert: unexpected_message > javax.net.ssl.SSLException: Received fatal alert: unexpected_message > at sun.security.ssl.Alerts.getSSLException(Alerts.java:208) > at sun.security.ssl.Alerts.getSSLException(Alerts.java:154) > at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1731) > at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:974) > at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:775) > at sun.security.ssl.AppInputStream.read(AppInputStream.java:94) > at java.io.BufferedInputStream.fill(BufferedInputStream.java:235) > at java.io.BufferedInputStream.read1(BufferedInputStream.java:275) > at java.io.BufferedInputStream.read(BufferedInputStream.java:334) > at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:688) > at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:633) > at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:653) > at > sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1162) > at > java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:397) > at > sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338) > at > org.apache.catalina.startup.TomcatBaseTest.getUrl(TomcatBaseTest.java:252) > at > org.apache.catalina.startup.TomcatBaseTest.getUrl(TomcatBaseTest.java:226) > at > org.apache.tomcat.util.net.TestCustomSsl.doTestCustomTrustManager(TestCustomSsl.java:135) > at > org.apache.tomcat.util.net.TestCustomSsl.testCustomTrustManager1(TestCustomSsl.java:83) > > Testcase: testCustomTrustManager2 took 2.24 sec > ]]] > > > I have not investigated the cause. I suspect the SSL change I put in to work around the SSL with APR failure. I'll see about making that change APR specific. Mark - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: [GUMP@vmgump]: Project tomcat-trunk-test (in module tomcat-trunk) failed
I found this test error last night too. There are 3 tests in the Testfile. The second fails 90% of executions. If the first test (sorry can't check the name now) is set to ignore the second (now failing test) succeed every on run. 2011/7/28 Mark Thomas > On 28/07/2011 10:58, Konstantin Kolinko wrote: > > 2011/7/28 Bill Barker : > >> Project tomcat-trunk-test has an issue affecting its community > integration. > >> This issue affects 1 projects, > >> and has been outstanding for 2 runs. > >> The current state of this project is 'Failed', with reason 'Build > Failed'. > >> For reference only, the following projects are affected by this: > >>- tomcat-trunk-test : Tomcat 7.x, a web server implementing Java > Servlet 3.0, > >>... > >> > >> Full details are available at: > >> > http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-test/index.html > >> > >> (...) > > > > Test org.apache.tomcat.util.net.TestCustomSsl FAILED > > > > Only BIO connector was tested. > > Link the log file of the failed test: > > > > > http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-test/gump_file/TEST-org.apache.tomcat.util.net.TestCustomSsl.BIO.txt.html > > > > Quoting from that log: > > > > [[[ > > Testsuite: org.apache.tomcat.util.net.TestCustomSsl > > Tests run: 3, Failures: 0, Errors: 1, Time elapsed: 8.154 sec > > (...) > > Testcase: testCustomSslImplementation took 4.411 sec > > Testcase: testCustomTrustManager1 took 1.468 sec > > Caused an ERROR > > Received fatal alert: unexpected_message > > javax.net.ssl.SSLException: Received fatal alert: unexpected_message > > at sun.security.ssl.Alerts.getSSLException(Alerts.java:208) > > at sun.security.ssl.Alerts.getSSLException(Alerts.java:154) > > at > sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1731) > > at > sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:974) > > at > sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:775) > > at sun.security.ssl.AppInputStream.read(AppInputStream.java:94) > > at java.io.BufferedInputStream.fill(BufferedInputStream.java:235) > > at java.io.BufferedInputStream.read1(BufferedInputStream.java:275) > > at java.io.BufferedInputStream.read(BufferedInputStream.java:334) > > at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:688) > > at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:633) > > at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:653) > > at > sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1162) > > at > java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:397) > > at > sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338) > > at > org.apache.catalina.startup.TomcatBaseTest.getUrl(TomcatBaseTest.java:252) > > at > org.apache.catalina.startup.TomcatBaseTest.getUrl(TomcatBaseTest.java:226) > > at > org.apache.tomcat.util.net.TestCustomSsl.doTestCustomTrustManager(TestCustomSsl.java:135) > > at > org.apache.tomcat.util.net.TestCustomSsl.testCustomTrustManager1(TestCustomSsl.java:83) > > > > Testcase: testCustomTrustManager2 took 2.24 sec > > ]]] > > > > > > I have not investigated the cause. > > I suspect the SSL change I put in to work around the SSL with APR > failure. I'll see about making that change APR specific. > > Mark > > > > - > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org > >
Re: [VOTE] Release Apache Tomcat Native 1.1.21
On 28/07/2011 10:39, Mark Thomas wrote: > On 28/07/2011 10:04, jean-frederic clere wrote: >> On 07/28/2011 10:10 AM, Mark Thomas wrote: >>> On 27/07/2011 10:20, jean-frederic clere wrote: Hi, Native 1.1.21 is available for testing. Compared with 1.1.21 and earlier versions it fixes some bugs. If you want to take a look, the final source distribution can be downloaded from: http://tomcat.apache.org/dev/dist/tomcat-connectors/native/1.1.21/source (Will be visible after the server sync is done) Win32/Win64 binaries will be available at: http://tomcat.apache.org/dev/dist/tomcat-connectors/native/1.1.21/binaries/ So here's the vote. It will be closed in about 72 hours (or sooner if enough votes are encountered) Apache Tomcat Native 1.1.21 is: [ ] Stable - no major issues, no regressions [ ] Beta - at least one significant issue -- tell us what it is [ ] Alpha - multiple significant issues -- tell us what they are >>> >>> I vote Broken. Compared to the 1.1.20 release, the following files are >>> missing. >>> jni\native\build-outputs.mk >>> jni\native\configure >>> jni\native\tcnative.spec >>> jni\native\build\apr_common.m4 >>> jni\native\build\config.guess >>> jni\native\build\config.sub >>> jni\native\build\find_apr.m4 >>> jni\native\build\install.sh >>> >>> I don't see anything in the changelog to explain why they are missing >>> and both jni\native\BUILDING and the documentation are written on the >>> basis that they are present. >> >> I think that packaging failed :-( >> I will arrange the jnirelease.sh so that it breaks if something goes >> wrong and redo the tag and release. > > I was able to get the library to build by running buildconf locally. The > JSP TCK passes when running with HTTP APR with 1.2.21 and I am currently > running the Servlet TCK. That passes too for: - HTTP - HTTP + mod_proxy_http - AJP + mod_jk - AJP + mod_proxy_ajp Mark - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1151810 - /tomcat/native/branches/1.1.x/jnirelease.sh
Author: jfclere Date: Thu Jul 28 12:19:04 2011 New Revision: 1151810 URL: http://svn.apache.org/viewvc?rev=1151810&view=rev Log: Arrange the script to make sure I am not doing again a broken release... Modified: tomcat/native/branches/1.1.x/jnirelease.sh Modified: tomcat/native/branches/1.1.x/jnirelease.sh URL: http://svn.apache.org/viewvc/tomcat/native/branches/1.1.x/jnirelease.sh?rev=1151810&r1=1151809&r2=1151810&view=diff == --- tomcat/native/branches/1.1.x/jnirelease.sh (original) +++ tomcat/native/branches/1.1.x/jnirelease.sh Thu Jul 28 12:19:04 2011 @@ -79,7 +79,18 @@ for i in w3m elinks links do EXPTOOL="`which $i 2>/dev/null || type $i 2>&1`" if [ -x "$EXPTOOL" ]; then -EXPOPTS="`eval echo \"\$$i_opts\"`" +case ${i} in + w3m) +EXPOPTS="${w3m_opts}" +;; + elinks) +EXPOPTS="${elinks_opts}" +;; + links) +EXPOPTS="${links_opts}" +;; +esac +echo "Using: ${EXPTOOL} ${EXPOPTS} ..." break fi done @@ -91,6 +102,15 @@ if [ ! -x "$EXPTOOL" ]; then exit 1 fi PERL="`which perl 2>/dev/null || type perl 2>&1`" +if [ -x "$PERL" ]; then + echo "Using $PERL" +else + echo "" + echo "Cannot find perl" + echo "Make sure you have perl in the PATH" + echo "" + exit 1 +fi echo $JKJNIEXT | egrep -e 'x$' > /dev/null 2>&1 if [ $? -eq 0 ]; then USE_BRANCH=1 @@ -121,7 +141,9 @@ for i in native java xdocs examples test do svn export ${JKJNISVN}/${i} ${JKJNIDIST}/jni/${i} if [ $? -ne 0 ]; then +echo "" echo "svn export ${i} failed" +echo "" exit 1 fi done @@ -130,6 +152,12 @@ top="`pwd`" cd ${JKJNIDIST}/jni/xdocs ant $EXPTOOL $EXPOPTS ../build/docs/miscellaneous/printer/changelog.html > ../../CHANGELOG.txt 2>/dev/null +if [ $? -ne 0 ]; then +echo "" +echo "$EXPTOOL $EXPOPTS ../build/docs/miscellaneous/printer/changelog.html failed" +echo "" +exit 1 +fi cd "$top" rm -rf ${JKJNIDIST}/jni/xdocs mv ${JKJNIDIST}/jni/build/docs ${JKJNIDIST}/jni/docs @@ -137,14 +165,20 @@ rm -rf ${JKJNIDIST}/jni/build for i in KEYS LICENSE NOTICE README.txt do svn cat ${JKJNISVN}/${i} > ${JKJNIDIST}/${i} +if [ $? -ne 0 ]; then +echo "" +echo "svn cat ${JKJNISVN}/${i} failed" +echo "" +exit 1 +fi done # # Prebuild cd ${JKJNIDIST}/jni/native -./buildconf --with-apr=$apr_src_dir +./buildconf --with-apr=$apr_src_dir || exit 1 cd "$top" # Create source distribution -tar -cf - ${JKJNIDIST} | gzip -c9 > ${JKJNIDIST}.tar.gz +tar -cf - ${JKJNIDIST} | gzip -c9 > ${JKJNIDIST}.tar.gz || exit 1 # # Create Win32 source distribution JKWINDIST=tomcat-native-${JKJNIVER}-win32-src @@ -154,14 +188,28 @@ for i in native java xdocs examples test do svn export --native-eol CRLF ${JKJNISVN}/${i} ${JKWINDIST}/jni/${i} if [ $? -ne 0 ]; then +echo "" echo "svn export ${i} failed" +echo "" exit 1 fi done top="`pwd`" cd ${JKWINDIST}/jni/xdocs ant +if [ $? -ne 0 ]; then +echo "" +echo "ant (building docs failed)" +echo "" +exit 1 +fi $EXPTOOL $EXPOPTS ../build/docs/miscellaneous/printer/changelog.html > ../../CHANGELOG.txt 2>/dev/null +if [ $? -ne 0 ]; then +echo "" +echo "$EXPTOOL $EXPOPTS ../build/docs/miscellaneous/printer/changelog.html failed" +echo "" +exit 1 +fi cd "$top" rm -rf ${JKWINDIST}/jni/xdocs @@ -170,12 +218,7 @@ rm -rf ${JKWINDIST}/jni/build for i in KEYS LICENSE NOTICE README.txt do svn cat ${JKJNISVN}/${i} > ${JKWINDIST}/${i} -if [ -x "$PERL" ]; then -$PERL ${JKWINDIST}/jni/native/build/lineends.pl --cr ${JKWINDIST}/${i} -fi +$PERL ${JKWINDIST}/jni/native/build/lineends.pl --cr ${JKWINDIST}/${i} done -if [ -x "$PERL" ]; then -$PERL ${JKWINDIST}/jni/native/build/lineends.pl --cr ${JKWINDIST}/CHANGELOG.txt -fi +$PERL ${JKWINDIST}/jni/native/build/lineends.pl --cr ${JKWINDIST}/CHANGELOG.txt zip -9rqyo ${JKWINDIST}.zip ${JKWINDIST} - - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1151818 - /tomcat/native/branches/1.1.x/xdocs/miscellaneous/changelog.xml
Author: jfclere Date: Thu Jul 28 12:26:38 2011 New Revision: 1151818 URL: http://svn.apache.org/viewvc?rev=1151818&view=rev Log: Add the 2 changes for the release. Modified: tomcat/native/branches/1.1.x/xdocs/miscellaneous/changelog.xml Modified: tomcat/native/branches/1.1.x/xdocs/miscellaneous/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/native/branches/1.1.x/xdocs/miscellaneous/changelog.xml?rev=1151818&r1=1151817&r2=1151818&view=diff == --- tomcat/native/branches/1.1.x/xdocs/miscellaneous/changelog.xml (original) +++ tomcat/native/branches/1.1.x/xdocs/miscellaneous/changelog.xml Thu Jul 28 12:26:38 2011 @@ -36,7 +36,17 @@ new documentation project for Tomcat Native was started. - + + + + Arrange release packaging script. (jfclere). + + + Fix typos in the changelog. (markt). + + + + 50394: InternalAprInputBuffer.fill() doesn't deal correctly with EOF. (jfclere) - 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.1.21
On 28/07/2011 10:04, jean-frederic clere wrote: > On 07/28/2011 10:10 AM, Mark Thomas wrote: >> On 27/07/2011 10:20, jean-frederic clere wrote: >>> Hi, >>> >>> Native 1.1.21 is available for testing. >>> Compared with 1.1.21 and earlier versions it fixes some bugs. >>> >>> If you want to take a look, the final source distribution can be >>> downloaded from: >>> http://tomcat.apache.org/dev/dist/tomcat-connectors/native/1.1.21/source >>> (Will be visible after the server sync is done) >>> >>> Win32/Win64 binaries will be available at: >>> http://tomcat.apache.org/dev/dist/tomcat-connectors/native/1.1.21/binaries/ >>> >>> >>> So here's the vote. >>> It will be closed in about 72 hours >>> (or sooner if enough votes are encountered) >>> >>> >>> Apache Tomcat Native 1.1.21 is: >>> >>> [ ] Stable - no major issues, no regressions >>> [ ] Beta - at least one significant issue -- tell us what it is >>> [ ] Alpha - multiple significant issues -- tell us what they are >> >> I vote Broken. Compared to the 1.1.20 release, the following files are >> missing. >> jni\native\build-outputs.mk >> jni\native\configure >> jni\native\tcnative.spec >> jni\native\build\apr_common.m4 >> jni\native\build\config.guess >> jni\native\build\config.sub >> jni\native\build\find_apr.m4 >> jni\native\build\install.sh >> >> I don't see anything in the changelog to explain why they are missing >> and both jni\native\BUILDING and the documentation are written on the >> basis that they are present. > > I think that packaging failed :-( > I will arrange the jnirelease.sh so that it breaks if something goes > wrong and redo the tag and release. I also spotted that the version number inside the windows binary still said 1.2.20. Mark - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: [VOTE] Release Apache Tomcat Native 1.1.21
On 07/28/2011 01:22 PM, Mark Thomas wrote: On 28/07/2011 10:39, Mark Thomas wrote: On 28/07/2011 10:04, jean-frederic clere wrote: On 07/28/2011 10:10 AM, Mark Thomas wrote: On 27/07/2011 10:20, jean-frederic clere wrote: Hi, Native 1.1.21 is available for testing. Compared with 1.1.21 and earlier versions it fixes some bugs. If you want to take a look, the final source distribution can be downloaded from: http://tomcat.apache.org/dev/dist/tomcat-connectors/native/1.1.21/source (Will be visible after the server sync is done) Win32/Win64 binaries will be available at: http://tomcat.apache.org/dev/dist/tomcat-connectors/native/1.1.21/binaries/ So here's the vote. It will be closed in about 72 hours (or sooner if enough votes are encountered) Apache Tomcat Native 1.1.21 is: [ ] Stable - no major issues, no regressions [ ] Beta - at least one significant issue -- tell us what it is [ ] Alpha - multiple significant issues -- tell us what they are I vote Broken. Compared to the 1.1.20 release, the following files are missing. jni\native\build-outputs.mk jni\native\configure jni\native\tcnative.spec jni\native\build\apr_common.m4 jni\native\build\config.guess jni\native\build\config.sub jni\native\build\find_apr.m4 jni\native\build\install.sh I don't see anything in the changelog to explain why they are missing and both jni\native\BUILDING and the documentation are written on the basis that they are present. I think that packaging failed :-( I will arrange the jnirelease.sh so that it breaks if something goes wrong and redo the tag and release. I was able to get the library to build by running buildconf locally. The JSP TCK passes when running with HTTP APR with 1.2.21 and I am currently running the Servlet TCK. That passes too for: - HTTP - HTTP + mod_proxy_http - AJP + mod_jk - AJP + mod_proxy_ajp Cool so I will tag in a while, Cheers Jean-Frederic - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1151825 - /tomcat/trunk/test/org/apache/tomcat/util/net/TestCustomSsl.java
Author: markt Date: Thu Jul 28 12:50:04 2011 New Revision: 1151825 URL: http://svn.apache.org/viewvc?rev=1151825&view=rev Log: Catch less specific exception to deal with intermittent failures with OpenJDK Modified: tomcat/trunk/test/org/apache/tomcat/util/net/TestCustomSsl.java Modified: tomcat/trunk/test/org/apache/tomcat/util/net/TestCustomSsl.java URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/tomcat/util/net/TestCustomSsl.java?rev=1151825&r1=1151824&r2=1151825&view=diff == --- tomcat/trunk/test/org/apache/tomcat/util/net/TestCustomSsl.java (original) +++ tomcat/trunk/test/org/apache/tomcat/util/net/TestCustomSsl.java Thu Jul 28 12:50:04 2011 @@ -19,7 +19,7 @@ package org.apache.tomcat.util.net; import java.io.File; import java.net.SocketException; -import javax.net.ssl.SSLHandshakeException; +import javax.net.ssl.SSLException; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; @@ -139,7 +139,7 @@ public class TestCustomSsl extends Tomca fail(se.getMessage()); se.printStackTrace(); } -} catch (SSLHandshakeException he) { +} catch (SSLException he) { if (serverTrustAll) { fail(he.getMessage()); he.printStackTrace(); - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1151841 - in /tomcat/native/branches/1.1.x/native: include/tcn_version.h os/win32/libtcnative.rc
Author: jfclere Date: Thu Jul 28 13:45:28 2011 New Revision: 1151841 URL: http://svn.apache.org/viewvc?rev=1151841&view=rev Log: Advance version to 1.1.22 (release). Modified: tomcat/native/branches/1.1.x/native/include/tcn_version.h tomcat/native/branches/1.1.x/native/os/win32/libtcnative.rc Modified: tomcat/native/branches/1.1.x/native/include/tcn_version.h URL: http://svn.apache.org/viewvc/tomcat/native/branches/1.1.x/native/include/tcn_version.h?rev=1151841&r1=1151840&r2=1151841&view=diff == --- tomcat/native/branches/1.1.x/native/include/tcn_version.h (original) +++ tomcat/native/branches/1.1.x/native/include/tcn_version.h Thu Jul 28 13:45:28 2011 @@ -69,13 +69,13 @@ extern "C" { #define TCN_MINOR_VERSION 1 /** patch level */ -#define TCN_PATCH_VERSION 21 +#define TCN_PATCH_VERSION 22 /** * This symbol is defined for internal, "development" copies of TCN. This * symbol will be #undef'd for releases. */ -#define TCN_IS_DEV_VERSION 1 +#define TCN_IS_DEV_VERSION 0 /** The formatted string of APU's version */ Modified: tomcat/native/branches/1.1.x/native/os/win32/libtcnative.rc URL: http://svn.apache.org/viewvc/tomcat/native/branches/1.1.x/native/os/win32/libtcnative.rc?rev=1151841&r1=1151840&r2=1151841&view=diff == --- tomcat/native/branches/1.1.x/native/os/win32/libtcnative.rc (original) +++ tomcat/native/branches/1.1.x/native/os/win32/libtcnative.rc Thu Jul 28 13:45:28 2011 @@ -20,7 +20,7 @@ LANGUAGE 0x9,0x1 "See the License for the specific language governing " \ "permissions and limitations under the License." -#define TCN_VERSION "1.1.21" +#define TCN_VERSION "1.1.22" 1000 ICON "apache.ico" 1001 DIALOGEX 0, 0, 252, 51 @@ -36,8 +36,8 @@ BEGIN END 1 VERSIONINFO - FILEVERSION 1,1,21,0 - PRODUCTVERSION 1,1,21,0 + FILEVERSION 1,1,22,0 + PRODUCTVERSION 1,1,22,0 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L - 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.1.21
On 7/27/2011 1:16 PM, jean-frederic clere wrote: > > Well does it make sense to vote for a binary? IMHO, not as a 'release vote'. Testing it, is great, but testing isn't the purpose of release voting. Mladen attests he's compiled from the asf source, then the binary corresponds to the ASF release. Unless of course you want to start comparing binary objects or the disassembled packages. Committers have earned our trust. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 51575] New: Additional = might prevent catalina.policy from loading in catalina.sh
https://issues.apache.org/bugzilla/show_bug.cgi?id=51575 Bug #: 51575 Summary: Additional = might prevent catalina.policy from loading in catalina.sh Product: Tomcat 7 Version: 7.0.19 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Catalina AssignedTo: dev@tomcat.apache.org ReportedBy: code.p...@verizon.net Classification: Unclassified OS: RHEL 5.5 Java: JRE 1.6u26 catalina.sh has three occurrences of following line containing two equal signs which might prevent catalina.policy file from being loaded when using -security -Djava.security.policy=="$CATALINA_BASE"/conf/catalina.policy I believe the line should be: -Djava.security.policy="$CATALINA_BASE"/conf/catalina.policy -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 51575] Additional = might prevent catalina.policy from loading in catalina.sh
https://issues.apache.org/bugzilla/show_bug.cgi?id=51575 Tim Funk changed: What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID --- Comment #1 from Tim Funk 2011-07-28 15:40:04 UTC --- Can't find bug ref ... but its been discussed multiple times ... most recently .. http://markmail.org/message/qolahb6syr5s4nkb -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1151930 - in /tomcat/trunk: java/org/apache/tomcat/util/net/AprEndpoint.java webapps/docs/changelog.xml
Author: markt Date: Thu Jul 28 17:12:42 2011 New Revision: 1151930 URL: http://svn.apache.org/viewvc?rev=1151930&view=rev Log: Improve error handling for APR connector if sendfile fails Modified: tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java tomcat/trunk/webapps/docs/changelog.xml Modified: tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java?rev=1151930&r1=1151929&r2=1151930&view=diff == --- tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java Thu Jul 28 17:12:42 2011 @@ -1448,6 +1448,13 @@ public class AprEndpoint extends Abstrac // Initialize fd from data given try { data.fdpool = Socket.pool(data.socket); +} catch (Exception e) { +// Pool not created so no need to destroy it. +log.error(sm.getString("endpoint.sendfile.error"), e); +data.socket = 0; +return false; +} +try { data.fd = File.open (data.fileName, File.APR_FOPEN_READ | File.APR_FOPEN_SENDFILE_ENABLED | File.APR_FOPEN_BINARY, @@ -1482,6 +1489,8 @@ public class AprEndpoint extends Abstrac } } catch (Exception e) { log.error(sm.getString("endpoint.sendfile.error"), e); +Pool.destroy(data.fdpool); +data.socket = 0; return false; } // Add socket to the list. Newly added sockets will wait Modified: tomcat/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1151930&r1=1151929&r2=1151930&view=diff == --- tomcat/trunk/webapps/docs/changelog.xml (original) +++ tomcat/trunk/webapps/docs/changelog.xml Thu Jul 28 17:12:42 2011 @@ -120,6 +120,10 @@ 51557: Ignore HTTP headers that do not comply with RFC 2616 and use header names that are not tokens. (markt) + +Improve error handling for HTTP APR if an error occurs while using +sendfile. (markt) + - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 51575] Additional = might prevent catalina.policy from loading in catalina.sh
https://issues.apache.org/bugzilla/show_bug.cgi?id=51575 Konstantin Kolinko changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #2 from Konstantin Kolinko 2011-07-28 18:08:19 UTC --- *** This bug has been marked as a duplicate of bug 20859 *** -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 20859] Double '=' in cataline.sh. (-Djava.securty.policy=="$CATA...)
https://issues.apache.org/bugzilla/show_bug.cgi?id=20859 Konstantin Kolinko changed: What|Removed |Added CC||code.p...@verizon.net --- Comment #4 from Konstantin Kolinko 2011-07-28 18:08:19 UTC --- *** Bug 51575 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 28691] small typo at bin/catalina.[bat|sh]
https://issues.apache.org/bugzilla/show_bug.cgi?id=28691 Konstantin Kolinko changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #6 from Konstantin Kolinko 2011-07-28 18:09:34 UTC --- *** This bug has been marked as a duplicate of bug 20859 *** -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 20859] Double '=' in cataline.sh. (-Djava.securty.policy=="$CATA...)
https://issues.apache.org/bugzilla/show_bug.cgi?id=20859 Konstantin Kolinko changed: What|Removed |Added CC||p...@objektpark.de --- Comment #5 from Konstantin Kolinko 2011-07-28 18:09:34 UTC --- *** Bug 28691 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1151953 - in /tomcat/trunk: java/org/apache/coyote/AbstractProtocol.java java/org/apache/coyote/http11/Http11AprProcessor.java java/org/apache/tomcat/util/net/AbstractEndpoint.java webapp
Author: markt Date: Thu Jul 28 18:16:39 2011 New Revision: 1151953 URL: http://svn.apache.org/viewvc?rev=1151953&view=rev Log: Ensure APR socket is not added to multiple pollers. Modified: tomcat/trunk/java/org/apache/coyote/AbstractProtocol.java tomcat/trunk/java/org/apache/coyote/http11/Http11AprProcessor.java tomcat/trunk/java/org/apache/tomcat/util/net/AbstractEndpoint.java tomcat/trunk/webapps/docs/changelog.xml Modified: tomcat/trunk/java/org/apache/coyote/AbstractProtocol.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/AbstractProtocol.java?rev=1151953&r1=1151952&r2=1151953&view=diff == --- tomcat/trunk/java/org/apache/coyote/AbstractProtocol.java (original) +++ tomcat/trunk/java/org/apache/coyote/AbstractProtocol.java Thu Jul 28 18:16:39 2011 @@ -525,10 +525,15 @@ public abstract class AbstractProtocol i // socket associated with the processor. Exact requirements // depend on type of long poll longPoll(socket, processor); -} else if (state == SocketState.OPEN){ +} else if (state == SocketState.OPEN) { // In keep-alive but between requests. OK to recycle // processor. Continue to poll for the next request. release(socket, processor, false, true); +} else if (state == SocketState.SENDFILE) { +// Sendfile in progress. If it fails, the socket will be +// closed. If it works, the socket will be re-added to the +// poller +release(socket, processor, false, false); } else { // Connection closed. OK to recycle the processor. release(socket, processor, true, false); Modified: tomcat/trunk/java/org/apache/coyote/http11/Http11AprProcessor.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/Http11AprProcessor.java?rev=1151953&r1=1151952&r2=1151953&view=diff == --- tomcat/trunk/java/org/apache/coyote/http11/Http11AprProcessor.java (original) +++ tomcat/trunk/java/org/apache/coyote/http11/Http11AprProcessor.java Thu Jul 28 18:16:39 2011 @@ -185,6 +185,7 @@ public class Http11AprProcessor extends boolean keptAlive = false; boolean openSocket = false; +boolean sendfileInProgress = false; while (!error && keepAlive && !comet && !isAsync() && !endpoint.isPaused()) { @@ -305,17 +306,19 @@ public class Http11AprProcessor extends sendfileData.socket = socketRef; sendfileData.keepAlive = keepAlive; if (!((AprEndpoint)endpoint).getSendfile().add(sendfileData)) { +// Didn't send all of the data to sendfile. if (sendfileData.socket == 0) { -// Didn't send all the data but the socket is no longer -// set. Something went wrong. Close the connection. -// Too late to set status code. +// The socket is no longer set. Something went wrong. +// Close the connection. Too late to set status code. if (log.isDebugEnabled()) { log.debug(sm.getString( "http11processor.sendfile.error")); } error = true; } else { -openSocket = true; +// The sendfile Poller will add the socket to the main +// Poller once sendfile processing is complete +sendfileInProgress = true; } break; } @@ -332,7 +335,11 @@ public class Http11AprProcessor extends } else if (comet || isAsync()) { return SocketState.LONG; } else { -return (openSocket) ? SocketState.OPEN : SocketState.CLOSED; +if (sendfileInProgress) { +return SocketState.SENDFILE; +} else { +return (openSocket) ? SocketState.OPEN : SocketState.CLOSED; +} } } Modified: tomcat/trunk/java/org/apache/tomcat/util/net/AbstractEndpoint.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/AbstractEndpoint.java?rev=1151953&r1=1151952&r2=1151953&view=diff == --- tomcat/trunk/java/org/apache/tomcat/util/net/AbstractEndpoint.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/net/AbstractEndpoint.java Thu Jul 28 18:16:39 2011 @@ -54,7 +54,7 @@ public abstra
Re: [VOTE] Release Apache Tomcat Native 1.1.21
> Native 1.1.21 is available for testing. > Compared with 1.1.21 and earlier versions it fixes some bugs. > > If you want to take a look, the final source distribution can be > downloaded from: > http://tomcat.apache.org/dev/dist/tomcat-connectors/native/1.1.21/source > (Will be visible after the server sync is done) > > Win32/Win64 binaries will be available at: > http://tomcat.apache.org/dev/dist/tomcat-connectors/native/1.1.21/binaries/ > > So here's the vote. > It will be closed in about 72 hours > (or sooner if enough votes are encountered) There is no configure available into jni/native this time ? - 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.1.21
>> So here's the vote. >> It will be closed in about 72 hours >> (or sooner if enough votes are encountered) > > There is no configure available into jni/native this time ? I mention that because buildconf require APR source directory whereas I used to build it (on OSX/ or Linux) against provided APR, i.e. like this : CFLAGS='-arch i386 -arch x86_64' APXSLDFLAGS='-arch i386 -arch x86_64' ./configure --with-apr=/usr --with-ssl=/usr --with-java-home=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home - 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.1.21
On 28.07.2011 21:23, Henri Gomez wrote: >>> So here's the vote. >>> It will be closed in about 72 hours >>> (or sooner if enough votes are encountered) >> >> There is no configure available into jni/native this time ? > > I mention that because buildconf require APR source directory whereas > I used to build it (on OSX/ or Linux) against provided APR, i.e. like > this : > > CFLAGS='-arch i386 -arch x86_64' APXSLDFLAGS='-arch i386 -arch x86_64' > ./configure --with-apr=/usr --with-ssl=/usr > --with-java-home=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home That was already reported earlier in this thread. JFC is preparing a new Tarball. Regards, Rainer - 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.1.21
On 07/28/2011 11:24 PM, Rainer Jung wrote: On 28.07.2011 21:23, Henri Gomez wrote: So here's the vote. It will be closed in about 72 hours (or sooner if enough votes are encountered) There is no configure available into jni/native this time ? I mention that because buildconf require APR source directory whereas I used to build it (on OSX/ or Linux) against provided APR, i.e. like this : CFLAGS='-arch i386 -arch x86_64' APXSLDFLAGS='-arch i386 -arch x86_64' ./configure --with-apr=/usr --with-ssl=/usr --with-java-home=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home That was already reported earlier in this thread. JFC is preparing a new Tarball. Yep I will retagged and reroll the release tomorrow morning, my tests now looks ok :D Cheers Jean-Frederic - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1152015 - /tomcat/native/branches/1.1.x/jnirelease.sh
Author: jfclere Date: Thu Jul 28 21:57:10 2011 New Revision: 1152015 URL: http://svn.apache.org/viewvc?rev=1152015&view=rev Log: Add comment... that was the problem in windoze version of tcnative-1.dll Modified: tomcat/native/branches/1.1.x/jnirelease.sh Modified: tomcat/native/branches/1.1.x/jnirelease.sh URL: http://svn.apache.org/viewvc/tomcat/native/branches/1.1.x/jnirelease.sh?rev=1152015&r1=1152014&r2=1152015&view=diff == --- tomcat/native/branches/1.1.x/jnirelease.sh (original) +++ tomcat/native/branches/1.1.x/jnirelease.sh Thu Jul 28 21:57:10 2011 @@ -15,6 +15,12 @@ # See the License for the specific language governing permissions and # limitations under the License. # + +# +# BEFORE releasing don't forget to edit and commit +#native/include/tcn_version.h +#native/os/win32/libtcnative.rc + # Default place to look for apr source. Can be overridden with # --with-apr=[directory] apr_src_dir=`pwd`/srclib/apr - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1152017 - /tomcat/native/tags/TOMCAT_NATIVE_1_1_22/
Author: jfclere Date: Thu Jul 28 22:00:02 2011 New Revision: 1152017 URL: http://svn.apache.org/viewvc?rev=1152017&view=rev Log: release 1.1.22 Added: tomcat/native/tags/TOMCAT_NATIVE_1_1_22/ (props changed) - copied from r1152016, tomcat/native/branches/1.1.x/ Propchange: tomcat/native/tags/TOMCAT_NATIVE_1_1_22/ -- --- svn:ignore (added) +++ svn:ignore Thu Jul 28 22:00:02 2011 @@ -0,0 +1 @@ +dist Propchange: tomcat/native/tags/TOMCAT_NATIVE_1_1_22/ -- svn:mergeinfo = /tomcat/native/trunk:815411 - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 51580] New: Severe error deploying WAR application (ExpandWar error)
https://issues.apache.org/bugzilla/show_bug.cgi?id=51580 Bug #: 51580 Summary: Severe error deploying WAR application (ExpandWar error) Product: Tomcat 7 Version: 7.0.19 Platform: PC Status: NEW Severity: major Priority: P2 Component: Catalina AssignedTo: dev@tomcat.apache.org ReportedBy: cle...@gmail.com Classification: Unclassified Created attachment 27330 --> https://issues.apache.org/bugzilla/attachment.cgi?id=27330 Catalina log file with the error. When trying to deploy a WAR application (50MB approx) I get: "SEVERE: Error deploying web application archive gestaoApolices.war java.lang.NullPointerException" Complete stacktrace is attached. I've seen in the sources that this might be related with the correction of "Bugzilla 33636" Let me know if the war file is needed, in case you're not able to reproduce the problem. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: [VOTE] Release Apache Tomcat Native 1.1.21
> Yep I will retagged and reroll the release tomorrow morning, my tests now > looks ok :D I get the source from the tags and tried to build them on OS/X 10.7 Lion. 2 changes : 1) Java 6 headers are now here : /System/Library/Frameworks/JavaVM.framework/Versions/A/Headers 2) tcnative lib is now created as libtcnative-1.0.dylib instead of expected libtcnative-1.0.1.22.dylib (XCode 4.1 effect ?) I updated my blog post accordingly : http://blog.hgomez.net/2011/07/13/building-universal-apache-tomcat-native-library-on-osx/ Cheers - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 51580] Severe error deploying WAR application (ExpandWar error)
https://issues.apache.org/bugzilla/show_bug.cgi?id=51580 Cleon changed: What|Removed |Added OS/Version||All --- Comment #1 from Cleon 2011-07-28 23:18:19 UTC --- I've just find out that the problem was in a specific file within the WAR: "Cliente-TextExtractRules-Açoreana.properties" The file name has Portuguese accented char "ç". After replace the char by "c" in that file, the deployment was done ok. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 51581] New: APR wrapper compilation error
https://issues.apache.org/bugzilla/show_bug.cgi?id=51581 Bug #: 51581 Summary: APR wrapper compilation error Product: Tomcat 7 Version: 7.0.19 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Connectors AssignedTo: dev@tomcat.apache.org ReportedBy: zhangyu1...@yahoo.com Classification: Unclassified CFLAGS='-m64' ./configure --with-apr=/usr/local/apr --with-ssl=/usr/local/ssl --with-java-home=/usr/local/jdk /usr/bin/ld: /usr/local/ssl/lib/libssl.a(s2_meth.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/local/ssl/lib/libssl.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[1]: *** [libtcnative-1.la] error 1 make: *** [all-recursive] error 1 use CFLAGS='-m64 -fPIC' ./configure --with-apr=/usr/local/apr --with-ssl=/usr/local/ssl --with-java-home=/usr/local/jdk still give me same error -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 51581] APR wrapper compilation error
https://issues.apache.org/bugzilla/show_bug.cgi?id=51581 zhangyu1...@yahoo.com changed: What|Removed |Added CC||zhangyu1...@yahoo.com -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: [VOTE] Release Apache Tomcat Native 1.1.21
On 07/28/2011 09:23 PM, Henri Gomez wrote: So here's the vote. It will be closed in about 72 hours (or sooner if enough votes are encountered) There is no configure available into jni/native this time ? I mention that because buildconf require APR source directory whereas I used to build it (on OSX/ or Linux) against provided APR, i.e. like this : CFLAGS='-arch i386 -arch x86_64' APXSLDFLAGS='-arch i386 -arch x86_64' ./configure --with-apr=/usr --with-ssl=/usr --with-java-home=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home Hm are you sure you need both -arch i386 and -arch x86_64? - I think -arch x86_64 should be enought on macosx. Cheers Jean-Frederic - 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.1.21
On 07/29/2011 01:09 AM, Henri Gomez wrote: Yep I will retagged and reroll the release tomorrow morning, my tests now looks ok :D I get the source from the tags and tried to build them on OS/X 10.7 Lion. Does the JVM there supports the -d32 now? Cheers Jean-Frederic - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org