Re: [VOTE] Release Apache Tomcat Connectors 1.2.36
On 05/09/2012 04:25 PM, Mladen Turk wrote: The VOTE will remain open for at least 48 hours. The Apache Tomcat Connectors 1.2.36 is [X] Stable, go ahead and release [ ] Broken because of ... Just FTR. [1] http://people.apache.org/~mturk/tomcat-connectors/jk-1.2.36/ Regards -- ^TM - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[jira] [Created] (MTOMCAT-151) Empty password prevents preemptive authentication headers from being sent
Peter lynch created MTOMCAT-151: --- Summary: Empty password prevents preemptive authentication headers from being sent Key: MTOMCAT-151 URL: https://issues.apache.org/jira/browse/MTOMCAT-151 Project: Apache Tomcat Maven Plugin Issue Type: Bug Components: commons-lib Affects Versions: 2.0-beta-1, 2.0 Reporter: Peter lynch Assignee: Olivier Lamy (*$^¨%`£) Default username for auth is *admin*, default password is "" ( empty string ). Problem is when password is empty string, TomcatManager.java does not send auth headers, so deploy and deploy-only goals fail with 401 after appearing to upload the war successfully. Seems to have been introduced by [this|http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/deployer/TomcatManager.java?r1=1178619&r2=1212685&pathrev=1301824&diff_format=h]. The line in question is 171 of which decides what to do about auth. {noformat} if ( StringUtils.isNotEmpty( username ) && StringUtils.isNotEmpty( password ) ) {noformat} Workaround: set a non-empty password for the user accessing /manager/text. Expected: blank password to trigger preemptive auth headers. {noformat:title=Proof that TomcatManager didn't send auth headers pre-emptively for empty password(default)} > mvn -Pstaging tomcat7:deploy-only > -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog > -Dorg.apache.commons.logging.simplelog.showdatetime=true > -Dorg.apache.commons.logging.simplelog.log.org.apache.http=DEBUG > -Dorg.apache.commons.logging.simplelog.log.org.apache.http.wire=INFO [INFO] Scanning for projects... [INFO] [INFO] [INFO] Building My WAR 1.0-SNAPSHOT [INFO] [INFO] [INFO] --- tomcat7-maven-plugin:2.0-SNAPSHOT:deploy-only (default-cli) @ my-webapp --- [INFO] Deploying war to http://172.16.2.16:18080/my-webapp 2012/05/11 11:16:21:623 NDT [DEBUG] PoolingClientConnectionManager - Connection request: [route: {}->http://172.16.2.16:18080][total kept alive: 0; route allocated: 0 of 2; total allocated: 0 of 5] 2012/05/11 11:16:21:650 NDT [DEBUG] PoolingClientConnectionManager - Connection leased: [id: 0][route: {}->http://172.16.2.16:18080][total kept alive: 0; route allocated: 1 of 2; total allocated: 1 of 5] 2012/05/11 11:16:21:655 NDT [DEBUG] DefaultClientConnectionOperator - Connecting to 172.16.2.16:18080 2012/05/11 11:16:21:761 NDT [DEBUG] RequestAddCookies - CookieSpec selected: best-match 2012/05/11 11:16:21:775 NDT [DEBUG] RequestAuthCache - Auth cache not set in the context 2012/05/11 11:16:21:776 NDT [DEBUG] RequestTargetAuthentication - Target auth state: UNCHALLENGED 2012/05/11 11:16:21:777 NDT [DEBUG] RequestProxyAuthentication - Proxy auth state: UNCHALLENGED 2012/05/11 11:16:21:777 NDT [DEBUG] DefaultHttpClient - Attempt 1 to execute request 2012/05/11 11:16:21:777 NDT [DEBUG] DefaultClientConnection - Sending request: PUT /manager/text/deploy?path=%2Fmy-webapp&update=true HTTP/1.1 2012/05/11 11:16:21:779 NDT [DEBUG] headers - >> PUT /manager/text/deploy?path=%2Fmy-webapp&update=true HTTP/1.1 2012/05/11 11:16:21:780 NDT [DEBUG] headers - >> User-Agent: Apache Tomcat Maven Plugin/2.0-SNAPSHOT 2012/05/11 11:16:21:780 NDT [DEBUG] headers - >> Content-Length: 13269693 2012/05/11 11:16:21:780 NDT [DEBUG] headers - >> Host: 172.16.2.16:18080 2012/05/11 11:16:21:780 NDT [DEBUG] headers - >> Connection: Keep-Alive Uploading: http://172.16.2.16:18080/manager/text/deploy?path=%2Fmy-webapp&update=true Uploaded: http://172.16.2.16:18080/manager/text/deploy?path=%2Fmy-webapp&update=true (12959 KB at 215.5 KB/sec) 2012/05/11 11:17:21:919 NDT [DEBUG] DefaultClientConnection - Receiving response: HTTP/1.1 401 Unauthorized 2012/05/11 11:17:21:920 NDT [DEBUG] headers - << HTTP/1.1 401 Unauthorized 2012/05/11 11:17:21:920 NDT [DEBUG] headers - << Server: Apache-Coyote/1.1 2012/05/11 11:17:21:920 NDT [DEBUG] headers - << Cache-Control: private 2012/05/11 11:17:21:920 NDT [DEBUG] headers - << Expires: Wed, 31 Dec 1969 18:00:00 CST 2012/05/11 11:17:21:920 NDT [DEBUG] headers - << WWW-Authenticate: Basic realm="Tomcat Manager Application" 2012/05/11 11:17:21:920 NDT [DEBUG] headers - << Set-Cookie: JSESSIONID=6AEFCEADD39F891A0CFED0AD73EE512F; Path=/manager/; HttpOnly 2012/05/11 11:17:21:920 NDT [DEBUG] headers - << Content-Type: text/html;charset=ISO-8859-1 2012/05/11 11:17:21:920 NDT [DEBUG] headers - << Transfer-Encoding: chunked 2012/05/11 11:17:21:920 NDT [DEBUG] headers - << Date: Fri, 11 May 2012 13:46:21 GMT 2012/05/11 11:17:21:927 NDT [DEBUG] ResponseProcessCookies - Cookie accepted: "[version: 0][name: JSESSIONID][valu
[jira] [Updated] (MTOMCAT-151) Empty password prevents preemptive authentication headers from being sent
[ https://issues.apache.org/jira/browse/MTOMCAT-151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Olivier Lamy (*$^¨%`£) updated MTOMCAT-151: --- Affects Version/s: (was: 2.0) Fix Version/s: 2.0 > Empty password prevents preemptive authentication headers from being sent > - > > Key: MTOMCAT-151 > URL: https://issues.apache.org/jira/browse/MTOMCAT-151 > Project: Apache Tomcat Maven Plugin > Issue Type: Bug > Components: commons-lib >Affects Versions: 2.0-beta-1 >Reporter: Peter lynch >Assignee: Olivier Lamy (*$^¨%`£) > Fix For: 2.0 > > > Default username for auth is *admin*, default password is "" ( empty string ). > Problem is when password is empty string, TomcatManager.java does not send > auth headers, so deploy and deploy-only goals fail with 401 after appearing > to upload the war successfully. > Seems to have been introduced by > [this|http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/deployer/TomcatManager.java?r1=1178619&r2=1212685&pathrev=1301824&diff_format=h]. > The line in question is 171 of which decides what to do about auth. > {noformat} > if ( StringUtils.isNotEmpty( username ) && StringUtils.isNotEmpty( password ) > ) > {noformat} > Workaround: set a non-empty password for the user accessing /manager/text. > Expected: blank password to trigger preemptive auth headers. > {noformat:title=Proof that TomcatManager didn't send auth headers > pre-emptively for empty password(default)} > > mvn -Pstaging tomcat7:deploy-only > > -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog > > -Dorg.apache.commons.logging.simplelog.showdatetime=true > > -Dorg.apache.commons.logging.simplelog.log.org.apache.http=DEBUG > > -Dorg.apache.commons.logging.simplelog.log.org.apache.http.wire=INFO > [INFO] Scanning for projects... > [INFO] > > [INFO] > > [INFO] Building My WAR 1.0-SNAPSHOT > [INFO] > > [INFO] > [INFO] --- tomcat7-maven-plugin:2.0-SNAPSHOT:deploy-only (default-cli) @ > my-webapp --- > [INFO] Deploying war to http://172.16.2.16:18080/my-webapp > 2012/05/11 11:16:21:623 NDT [DEBUG] PoolingClientConnectionManager - > Connection request: [route: {}->http://172.16.2.16:18080][total kept alive: > 0; route allocated: 0 of 2; total allocated: 0 of 5] > 2012/05/11 11:16:21:650 NDT [DEBUG] PoolingClientConnectionManager - > Connection leased: [id: 0][route: {}->http://172.16.2.16:18080][total kept > alive: 0; route allocated: 1 of 2; total allocated: 1 of 5] > 2012/05/11 11:16:21:655 NDT [DEBUG] DefaultClientConnectionOperator - > Connecting to 172.16.2.16:18080 > 2012/05/11 11:16:21:761 NDT [DEBUG] RequestAddCookies - CookieSpec selected: > best-match > 2012/05/11 11:16:21:775 NDT [DEBUG] RequestAuthCache - Auth cache not set in > the context > 2012/05/11 11:16:21:776 NDT [DEBUG] RequestTargetAuthentication - Target auth > state: UNCHALLENGED > 2012/05/11 11:16:21:777 NDT [DEBUG] RequestProxyAuthentication - Proxy auth > state: UNCHALLENGED > 2012/05/11 11:16:21:777 NDT [DEBUG] DefaultHttpClient - Attempt 1 to execute > request > 2012/05/11 11:16:21:777 NDT [DEBUG] DefaultClientConnection - Sending > request: PUT /manager/text/deploy?path=%2Fmy-webapp&update=true HTTP/1.1 > 2012/05/11 11:16:21:779 NDT [DEBUG] headers - >> PUT > /manager/text/deploy?path=%2Fmy-webapp&update=true HTTP/1.1 > 2012/05/11 11:16:21:780 NDT [DEBUG] headers - >> User-Agent: Apache Tomcat > Maven Plugin/2.0-SNAPSHOT > 2012/05/11 11:16:21:780 NDT [DEBUG] headers - >> Content-Length: 13269693 > 2012/05/11 11:16:21:780 NDT [DEBUG] headers - >> Host: 172.16.2.16:18080 > 2012/05/11 11:16:21:780 NDT [DEBUG] headers - >> Connection: Keep-Alive > Uploading: > http://172.16.2.16:18080/manager/text/deploy?path=%2Fmy-webapp&update=true > Uploaded: > http://172.16.2.16:18080/manager/text/deploy?path=%2Fmy-webapp&update=true > (12959 KB at 215.5 KB/sec) > 2012/05/11 11:17:21:919 NDT [DEBUG] DefaultClientConnection - Receiving > response: HTTP/1.1 401 Unauthorized > 2012/05/11 11:17:21:920 NDT [DEBUG] headers - << HTTP/1.1 401 Unauthorized > 2012/05/11 11:17:21:920 NDT [DEBUG] headers - << Server: Apache-Coyote/1.1 > 2012/05/11 11:17:21:920 NDT [DEBUG] headers - << Cache-Control: private > 2012/05/11 11:17:21:920 NDT [DEBUG] headers - << Expires: Wed, 31 Dec 1969 > 18:00:00 CST > 2012/05/11 11:17:21:920 NDT [DEBUG] headers - << WWW-Authenticate: Basic > realm="Tomcat Manager Application" > 2012/05/11 11:17:21:920 NDT [DEBUG] headers - << Set
svn commit: r1337356 - /tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/deployer/TomcatManager.java
Author: olamy Date: Fri May 11 20:13:21 2012 New Revision: 1337356 URL: http://svn.apache.org/viewvc?rev=1337356&view=rev Log: [MTOMCAT-151] Empty password prevents preemptive authentication headers from being sent Modified: tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/deployer/TomcatManager.java Modified: tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/deployer/TomcatManager.java URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/deployer/TomcatManager.java?rev=1337356&r1=1337355&r2=1337356&view=diff == --- tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/deployer/TomcatManager.java (original) +++ tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/deployer/TomcatManager.java Fri May 11 20:13:21 2012 @@ -168,7 +168,7 @@ public class TomcatManager PoolingClientConnectionManager poolingClientConnectionManager = new PoolingClientConnectionManager(); poolingClientConnectionManager.setMaxTotal( 5 ); this.httpClient = new DefaultHttpClient( poolingClientConnectionManager ); -if ( StringUtils.isNotEmpty( username ) && StringUtils.isNotEmpty( password ) ) +if ( StringUtils.isNotEmpty( username ) ) { Credentials creds = new UsernamePasswordCredentials( username, password ); - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[jira] [Closed] (MTOMCAT-151) Empty password prevents preemptive authentication headers from being sent
[ https://issues.apache.org/jira/browse/MTOMCAT-151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Olivier Lamy (*$^¨%`£) closed MTOMCAT-151. -- Resolution: Fixed Fixed. Thanks for report (even if I'm not sure empty password is a good idea :-) ). > Empty password prevents preemptive authentication headers from being sent > - > > Key: MTOMCAT-151 > URL: https://issues.apache.org/jira/browse/MTOMCAT-151 > Project: Apache Tomcat Maven Plugin > Issue Type: Bug > Components: commons-lib >Affects Versions: 2.0-beta-1 >Reporter: Peter lynch >Assignee: Olivier Lamy (*$^¨%`£) > Fix For: 2.0 > > > Default username for auth is *admin*, default password is "" ( empty string ). > Problem is when password is empty string, TomcatManager.java does not send > auth headers, so deploy and deploy-only goals fail with 401 after appearing > to upload the war successfully. > Seems to have been introduced by > [this|http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/deployer/TomcatManager.java?r1=1178619&r2=1212685&pathrev=1301824&diff_format=h]. > The line in question is 171 of which decides what to do about auth. > {noformat} > if ( StringUtils.isNotEmpty( username ) && StringUtils.isNotEmpty( password ) > ) > {noformat} > Workaround: set a non-empty password for the user accessing /manager/text. > Expected: blank password to trigger preemptive auth headers. > {noformat:title=Proof that TomcatManager didn't send auth headers > pre-emptively for empty password(default)} > > mvn -Pstaging tomcat7:deploy-only > > -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog > > -Dorg.apache.commons.logging.simplelog.showdatetime=true > > -Dorg.apache.commons.logging.simplelog.log.org.apache.http=DEBUG > > -Dorg.apache.commons.logging.simplelog.log.org.apache.http.wire=INFO > [INFO] Scanning for projects... > [INFO] > > [INFO] > > [INFO] Building My WAR 1.0-SNAPSHOT > [INFO] > > [INFO] > [INFO] --- tomcat7-maven-plugin:2.0-SNAPSHOT:deploy-only (default-cli) @ > my-webapp --- > [INFO] Deploying war to http://172.16.2.16:18080/my-webapp > 2012/05/11 11:16:21:623 NDT [DEBUG] PoolingClientConnectionManager - > Connection request: [route: {}->http://172.16.2.16:18080][total kept alive: > 0; route allocated: 0 of 2; total allocated: 0 of 5] > 2012/05/11 11:16:21:650 NDT [DEBUG] PoolingClientConnectionManager - > Connection leased: [id: 0][route: {}->http://172.16.2.16:18080][total kept > alive: 0; route allocated: 1 of 2; total allocated: 1 of 5] > 2012/05/11 11:16:21:655 NDT [DEBUG] DefaultClientConnectionOperator - > Connecting to 172.16.2.16:18080 > 2012/05/11 11:16:21:761 NDT [DEBUG] RequestAddCookies - CookieSpec selected: > best-match > 2012/05/11 11:16:21:775 NDT [DEBUG] RequestAuthCache - Auth cache not set in > the context > 2012/05/11 11:16:21:776 NDT [DEBUG] RequestTargetAuthentication - Target auth > state: UNCHALLENGED > 2012/05/11 11:16:21:777 NDT [DEBUG] RequestProxyAuthentication - Proxy auth > state: UNCHALLENGED > 2012/05/11 11:16:21:777 NDT [DEBUG] DefaultHttpClient - Attempt 1 to execute > request > 2012/05/11 11:16:21:777 NDT [DEBUG] DefaultClientConnection - Sending > request: PUT /manager/text/deploy?path=%2Fmy-webapp&update=true HTTP/1.1 > 2012/05/11 11:16:21:779 NDT [DEBUG] headers - >> PUT > /manager/text/deploy?path=%2Fmy-webapp&update=true HTTP/1.1 > 2012/05/11 11:16:21:780 NDT [DEBUG] headers - >> User-Agent: Apache Tomcat > Maven Plugin/2.0-SNAPSHOT > 2012/05/11 11:16:21:780 NDT [DEBUG] headers - >> Content-Length: 13269693 > 2012/05/11 11:16:21:780 NDT [DEBUG] headers - >> Host: 172.16.2.16:18080 > 2012/05/11 11:16:21:780 NDT [DEBUG] headers - >> Connection: Keep-Alive > Uploading: > http://172.16.2.16:18080/manager/text/deploy?path=%2Fmy-webapp&update=true > Uploaded: > http://172.16.2.16:18080/manager/text/deploy?path=%2Fmy-webapp&update=true > (12959 KB at 215.5 KB/sec) > 2012/05/11 11:17:21:919 NDT [DEBUG] DefaultClientConnection - Receiving > response: HTTP/1.1 401 Unauthorized > 2012/05/11 11:17:21:920 NDT [DEBUG] headers - << HTTP/1.1 401 Unauthorized > 2012/05/11 11:17:21:920 NDT [DEBUG] headers - << Server: Apache-Coyote/1.1 > 2012/05/11 11:17:21:920 NDT [DEBUG] headers - << Cache-Control: private > 2012/05/11 11:17:21:920 NDT [DEBUG] headers - << Expires: Wed, 31 Dec 1969 > 18:00:00 CST > 2012/05/11 11:17:21:920 NDT [DEBUG] headers - << WWW-Authenticate: Basic > realm="Tomcat Manager Application" >
[jira] [Commented] (MTOMCAT-151) Empty password prevents preemptive authentication headers from being sent
[ https://issues.apache.org/jira/browse/MTOMCAT-151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13273601#comment-13273601 ] Hudson commented on MTOMCAT-151: Integrated in TomcatMavenPlugin-mvn3.x #149 (See [https://builds.apache.org/job/TomcatMavenPlugin-mvn3.x/149/]) [MTOMCAT-151] Empty password prevents preemptive authentication headers from being sent (Revision 1337356) Result = SUCCESS olamy : http://svn.apache.org/viewvc/?view=rev&rev=1337356 Files : * /tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/deployer/TomcatManager.java > Empty password prevents preemptive authentication headers from being sent > - > > Key: MTOMCAT-151 > URL: https://issues.apache.org/jira/browse/MTOMCAT-151 > Project: Apache Tomcat Maven Plugin > Issue Type: Bug > Components: commons-lib >Affects Versions: 2.0-beta-1 >Reporter: Peter lynch >Assignee: Olivier Lamy (*$^¨%`£) > Fix For: 2.0 > > > Default username for auth is *admin*, default password is "" ( empty string ). > Problem is when password is empty string, TomcatManager.java does not send > auth headers, so deploy and deploy-only goals fail with 401 after appearing > to upload the war successfully. > Seems to have been introduced by > [this|http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/deployer/TomcatManager.java?r1=1178619&r2=1212685&pathrev=1301824&diff_format=h]. > The line in question is 171 of which decides what to do about auth. > {noformat} > if ( StringUtils.isNotEmpty( username ) && StringUtils.isNotEmpty( password ) > ) > {noformat} > Workaround: set a non-empty password for the user accessing /manager/text. > Expected: blank password to trigger preemptive auth headers. > {noformat:title=Proof that TomcatManager didn't send auth headers > pre-emptively for empty password(default)} > > mvn -Pstaging tomcat7:deploy-only > > -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog > > -Dorg.apache.commons.logging.simplelog.showdatetime=true > > -Dorg.apache.commons.logging.simplelog.log.org.apache.http=DEBUG > > -Dorg.apache.commons.logging.simplelog.log.org.apache.http.wire=INFO > [INFO] Scanning for projects... > [INFO] > > [INFO] > > [INFO] Building My WAR 1.0-SNAPSHOT > [INFO] > > [INFO] > [INFO] --- tomcat7-maven-plugin:2.0-SNAPSHOT:deploy-only (default-cli) @ > my-webapp --- > [INFO] Deploying war to http://172.16.2.16:18080/my-webapp > 2012/05/11 11:16:21:623 NDT [DEBUG] PoolingClientConnectionManager - > Connection request: [route: {}->http://172.16.2.16:18080][total kept alive: > 0; route allocated: 0 of 2; total allocated: 0 of 5] > 2012/05/11 11:16:21:650 NDT [DEBUG] PoolingClientConnectionManager - > Connection leased: [id: 0][route: {}->http://172.16.2.16:18080][total kept > alive: 0; route allocated: 1 of 2; total allocated: 1 of 5] > 2012/05/11 11:16:21:655 NDT [DEBUG] DefaultClientConnectionOperator - > Connecting to 172.16.2.16:18080 > 2012/05/11 11:16:21:761 NDT [DEBUG] RequestAddCookies - CookieSpec selected: > best-match > 2012/05/11 11:16:21:775 NDT [DEBUG] RequestAuthCache - Auth cache not set in > the context > 2012/05/11 11:16:21:776 NDT [DEBUG] RequestTargetAuthentication - Target auth > state: UNCHALLENGED > 2012/05/11 11:16:21:777 NDT [DEBUG] RequestProxyAuthentication - Proxy auth > state: UNCHALLENGED > 2012/05/11 11:16:21:777 NDT [DEBUG] DefaultHttpClient - Attempt 1 to execute > request > 2012/05/11 11:16:21:777 NDT [DEBUG] DefaultClientConnection - Sending > request: PUT /manager/text/deploy?path=%2Fmy-webapp&update=true HTTP/1.1 > 2012/05/11 11:16:21:779 NDT [DEBUG] headers - >> PUT > /manager/text/deploy?path=%2Fmy-webapp&update=true HTTP/1.1 > 2012/05/11 11:16:21:780 NDT [DEBUG] headers - >> User-Agent: Apache Tomcat > Maven Plugin/2.0-SNAPSHOT > 2012/05/11 11:16:21:780 NDT [DEBUG] headers - >> Content-Length: 13269693 > 2012/05/11 11:16:21:780 NDT [DEBUG] headers - >> Host: 172.16.2.16:18080 > 2012/05/11 11:16:21:780 NDT [DEBUG] headers - >> Connection: Keep-Alive > Uploading: > http://172.16.2.16:18080/manager/text/deploy?path=%2Fmy-webapp&update=true > Uploaded: > http://172.16.2.16:18080/manager/text/deploy?path=%2Fmy-webapp&update=true > (12959 KB at 215.5 KB/sec) > 2012/05/11 11:17:21:919 NDT [DEBUG] DefaultClientConnection - Receiving > response: HTTP/1.1 401 Unauthorized > 2012/05/11 11:17:21:920 NDT [DEBUG] headers - << HTTP/1.1 401 Unaut
RE: [VOTE] Release Apache Tomcat Connectors 1.2.36
The Apache Tomcat Connectors 1.2.36 is [X] Stable, go ahead and release [ ] Broken because of ... Filip > -Original Message- > From: Mladen Turk [mailto:mt...@apache.org] > Sent: Friday, May 11, 2012 3:27 AM > To: dev@tomcat.apache.org > Subject: Re: [VOTE] Release Apache Tomcat Connectors 1.2.36 > > On 05/09/2012 04:25 PM, Mladen Turk wrote: > > > > The VOTE will remain open for at least 48 hours. > > > > The Apache Tomcat Connectors 1.2.36 is > > [X] Stable, go ahead and release > > [ ] Broken because of ... > > > > Just FTR. > > > > > [1] http://people.apache.org/~mturk/tomcat-connectors/jk-1.2.36/ > > > > > > Regards > -- > ^TM > > - > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1337419 - in /tomcat/trunk/webapps/docs/config: ajp.xml http.xml
Author: kkolinko Date: Fri May 11 23:51:05 2012 New Revision: 1337419 URL: http://svn.apache.org/viewvc?rev=1337419&view=rev Log: Correct typo in a link (followup to r1336889) Modified: tomcat/trunk/webapps/docs/config/ajp.xml tomcat/trunk/webapps/docs/config/http.xml Modified: tomcat/trunk/webapps/docs/config/ajp.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/ajp.xml?rev=1337419&r1=1337418&r2=1337419&view=diff == --- tomcat/trunk/webapps/docs/config/ajp.xml (original) +++ tomcat/trunk/webapps/docs/config/ajp.xml Fri May 11 23:51:05 2012 @@ -345,7 +345,7 @@ falls below this value. The operating system may still accept connections based on the acceptCount setting. Default value varies by connector type. For BIO the default is the value of - maxThreads unless an Executor + maxThreads unless an Executor is used in which case the default will be the value of maxThreads from the executor. For NIO the default is 1. For APR/native, the default is 8192. Modified: tomcat/trunk/webapps/docs/config/http.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/http.xml?rev=1337419&r1=1337418&r2=1337419&view=diff == --- tomcat/trunk/webapps/docs/config/http.xml (original) +++ tomcat/trunk/webapps/docs/config/http.xml Fri May 11 23:51:05 2012 @@ -380,7 +380,7 @@ falls below this value. The operating system may still accept connections based on the acceptCount setting. Default value varies by connector type. For BIO the default is the value of - maxThreads unless an Executor + maxThreads unless an Executor is used in which case the default will be the value of maxThreads from the executor. For NIO the default is 1. For APR/native, the default is 8192. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: [VOTE] Release Apache Tomcat Connectors 1.2.36
On 9 May 2012 15:25, Mladen Turk wrote: > Hi, > > Apache Tomcat Connectors 1.2.36 release candidate is ready > for vote at [1]. This version solves shared memorz regression(s) > found in released version 1.2.35 and allows )again= compiling > against old httpd 1.3.x. > > > The VOTE will remain open for at least 48 hours. Just curious - why only 48 hours? The normal rule is a minimum of 72 hours. > The Apache Tomcat Connectors 1.2.36 is > [ ] Stable, go ahead and release > [ ] Broken because of ... > > > > [1] http://people.apache.org/~mturk/tomcat-connectors/jk-1.2.36/ > > > Regards > -- > ^TM > > - > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org > - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1337420 - in /tomcat/tc7.0.x/trunk: ./ webapps/docs/config/ajp.xml webapps/docs/config/http.xml
Author: kkolinko Date: Fri May 11 23:54:25 2012 New Revision: 1337420 URL: http://svn.apache.org/viewvc?rev=1337420&view=rev Log: Merged revision 1337419 from tomcat/trunk: Correct typo in a link (followup to r1336889) Modified: tomcat/tc7.0.x/trunk/ (props changed) tomcat/tc7.0.x/trunk/webapps/docs/config/ajp.xml tomcat/tc7.0.x/trunk/webapps/docs/config/http.xml Propchange: tomcat/tc7.0.x/trunk/ -- Merged /tomcat/trunk:r1337419 Modified: tomcat/tc7.0.x/trunk/webapps/docs/config/ajp.xml URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/config/ajp.xml?rev=1337420&r1=1337419&r2=1337420&view=diff == --- tomcat/tc7.0.x/trunk/webapps/docs/config/ajp.xml (original) +++ tomcat/tc7.0.x/trunk/webapps/docs/config/ajp.xml Fri May 11 23:54:25 2012 @@ -345,7 +345,7 @@ falls below this value. The operating system may still accept connections based on the acceptCount setting. Default value varies by connector type. For BIO the default is the value of - maxThreads unless an Executor + maxThreads unless an Executor is used in which case the default will be the value of maxThreads from the executor. For NIO the default is 1. For APR/native, the default is 8192. Modified: tomcat/tc7.0.x/trunk/webapps/docs/config/http.xml URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/config/http.xml?rev=1337420&r1=1337419&r2=1337420&view=diff == --- tomcat/tc7.0.x/trunk/webapps/docs/config/http.xml (original) +++ tomcat/tc7.0.x/trunk/webapps/docs/config/http.xml Fri May 11 23:54:25 2012 @@ -380,7 +380,7 @@ falls below this value. The operating system may still accept connections based on the acceptCount setting. Default value varies by connector type. For BIO the default is the value of - maxThreads unless an Executor + maxThreads unless an Executor is used in which case the default will be the value of maxThreads from the executor. For NIO the default is 1. For APR/native, the default is 8192. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1337426 - /tomcat/trunk/test/org/apache/catalina/comet/TestCometProcessor.java
Author: kkolinko Date: Sat May 12 01:25:19 2012 New Revision: 1337426 URL: http://svn.apache.org/viewvc?rev=1337426&view=rev Log: In TestCometProcessor: add diagnostic message that reports whether END event has ever been received. Modified: tomcat/trunk/test/org/apache/catalina/comet/TestCometProcessor.java Modified: tomcat/trunk/test/org/apache/catalina/comet/TestCometProcessor.java URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/comet/TestCometProcessor.java?rev=1337426&r1=1337425&r2=1337426&view=diff == --- tomcat/trunk/test/org/apache/catalina/comet/TestCometProcessor.java (original) +++ tomcat/trunk/test/org/apache/catalina/comet/TestCometProcessor.java Sat May 12 01:25:19 2012 @@ -309,12 +309,14 @@ public class TestCometProcessor extends // Last message: [Client: END] // Last response line: [0] (empty chunk) // Last comet event: [END] +// END event occurred: [true] status.append("Status:"); status.append("\nWriterThread exception: " + writeThread.getException()); status.append("\nReaderThread exception: " + readThread.getException()); status.append("\nLast message: [" + lastMessage + "]"); status.append("\nLast response line: [" + lastResponseLine + "]"); status.append("\nLast comet event: [" + servlet.getLastEvent() + "]"); +status.append("\nEND event occurred: [" + servlet.getEndEventOccurred() + "]"); if (writeThread.getException() == null || !lastMessage.contains("Client: END") || !EventType.END.equals(servlet.getLastEvent())) { @@ -351,10 +353,16 @@ public class TestCometProcessor extends private volatile EventType lastEvent; +private volatile boolean endEventOccurred = false; + public EventType getLastEvent() { return lastEvent; } +public boolean getEndEventOccurred() { +return endEventOccurred; +} + @Override public void init() throws ServletException { failOnBegin = Boolean.valueOf(getServletConfig().getInitParameter( @@ -397,6 +405,7 @@ public class TestCometProcessor extends String msg = "READ: " + count + " bytes"; response.getWriter().print("Client: " + msg + "\r\n"); } else if (event.getEventType() == EventType.END) { +endEventOccurred = true; if (failOnEnd) { throw new IOException("Fail on end"); } - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[GUMP@vmgump]: Project tomcat-tc7.0.x-test (in module tomcat-7.0.x) failed
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at gene...@gump.apache.org. Project tomcat-tc7.0.x-test 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-tc7.0.x-test : Tomcat 7.x, a web server implementing Java Servlet 3.0, ... Full details are available at: http://vmgump.apache.org/gump/public/tomcat-7.0.x/tomcat-tc7.0.x-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Dependency on tomcat-tc7.0.x-dbcp exists, no need to add for property tomcat-dbcp-src.jar. -DEBUG- Dependency on commons-daemon exists, no need to add for property commons-daemon.native.src.tgz. -DEBUG- Dependency on commons-daemon exists, no need to add for property tomcat-native.tar.gz. -DEBUG- Dependency on tomcat-tc7.0.x-dbcp exists, no need to add for property tomcat-dbcp.home. -INFO- Failed with reason build failed -INFO- Project Reports in: /srv/gump/public/workspace/tomcat-7.0.x/output/build/logs The following work was performed: http://vmgump.apache.org/gump/public/tomcat-7.0.x/tomcat-tc7.0.x-test/gump_work/build_tomcat-7.0.x_tomcat-tc7.0.x-test.html Work Name: build_tomcat-7.0.x_tomcat-tc7.0.x-test (Type: Build) Work ended in a state of : Failed Elapsed: 22 mins 26 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-12052012.jar -Dcommons-daemon.native.src.tgz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-12052012-native-src.tar.gz -Dtomcat-native.tar.gz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-12052012-native-src.tar.gz -Dexamples.sources.skip=true -Dtomcat-dbcp.home=/srv/gump/public/workspace/tomcat-7.0.x/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-12052012.jar -Dtomcat-dbcp-src.jar=/srv/gump/public/workspace/tomcat-7.0.x/tomcat-deps/tomcat-dbcp-src.jar -Dtest.accesslog=true -Dcommons-pool.home=/srv/gump/public/workspace/commons-pool-1.x -Dcommons-dbcp.home=/ srv/gump/public/workspace/commons-dbcp-1.x -Dtomcat-dbcp.jar=/srv/gump/public/workspace/tomcat-7.0.x/tomcat-deps/tomcat-dbcp-12052012.jar test [Working Directory: /srv/gump/public/workspace/tomcat-7.0.x] CLASSPATH: /usr/lib/jvm/java-6-openjdk/lib/tools.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/webapps/examples/WEB-INF/classes:/srv/gump/public/workspace/tomcat-7.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-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-7.0.x/output/build/bin/bootstrap.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/bin/tomcat-juli.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/annotations-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/servlet-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/outp ut/build/lib/jsp-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/el-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/catalina.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/catalina-ant.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/tomcat-coyote.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/jasper.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/jasper-el.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/catalina-tribes.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/catalina-ha.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/tomcat-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/tomcat-util.jar:/srv/gump/packages/eclipse/plugins/org.eclipse.jdt.core_3.4.2/jdtcore.jar:/srv/gump/public/workspace/tomcat-7.0.x/tomcat-deps/tomcat-dbcp-12052012.jar:/srv/gump/public/workspace/apache-commons/daemon/dist/commons-daemon-12052012.jar:/srv/gump/ public/workspace/junit/dist/junit-12052012.jar - [junit] May 12, 2012 5:02:45 AM org.apache.catalina.startup.Conte