[Tomcat Wiki] Update of "TomcatTrackUs09 Sessions" by JeanFredericClere
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification. The following page has been changed by JeanFredericClere: http://wiki.apache.org/tomcat/TomcatTrackUs09_Sessions The comment on the change is: 517 New page: Here are the pre-selected (by the planners) sessions for the tomcat track: ** Becoming a Tomcat super user [acus2009 455] by Mark Thomas Presentation â 60 minutes Description Have you ever wanted to to do more than just download Tomcat and install some web applications? Do you want to learn more about Tomcat internals and how everything fits together? Do you want to be able to apply patches for bugs to your Tomcat installation without having to wait for the next release? If you answered yes to any of the above questions then this presentation is for you. Starting with how the Tomcat subversion repository is structured, this presentation will show you how to build each of the major Tomcat versions from source, how to use your local build to generate binary patches for specific bugs and how to extend Tomcat functionality for your environment. After an overview of the Tomcat request processing architecture, a request will be examined as it passes through Tomcat using remote debugging. Key classes and decision points will be highlighted to provide attendees with potential starting points when debugging their own issues. To finish the presentation, and to give a practical example of how the knowledge gained may be put to use, a current bug will be examined, the root cause identified and a patch to fix it generated. Presenter Bio Mark has been using and developing Tomcat for over five years. He first got involved in the development of Tomcat when he needed better control over the SSL configuration than was available at the time. After fixing that first bug, he started working his way through the remaining Tomcat bugs and is still going. Along the way Mark has become a Tomcat committer and PMC member, volunteered to be the Tomcat 4 release manager, created the Tomcat security pages, become a member of the ASF and joined the Apache Security Committee. He also helps maintain the ASF's Bugzilla instances. Mark has a MEng in Electronic and Electrical Engineering from the University of Birmingham, UK and is currently a Senior Software Engineer with the Covalent Products Division of SpringSource. ** Introduction to Apache Tomcat 7 [acus2009 457] by Mark Thomas Presentation â 60 minutes Description In addition to implementing version 3.0 of the Servlet 3.0 specification, Apache Tomcat 7 has a number of new features and improvements to old favourites. This presentation will provide both system administrators and web application developers with the information they need to get the most out of Tomcat 7. The topics covered will include: - an brief overview of Servlet 3.0 features with an emphasis on configuration - improvements to management and monitoring via JMX - security enhancements to the Manager application - logging enhancements Presenter Bio Mark has been using and developing Tomcat for over five years. He first got involved in the development of Tomcat when he needed better control over the SSL configuration than was available at the time. After fixing that first bug, he started working his way through the remaining Tomcat bugs and is still going. Along the way Mark has become a Tomcat committer and PMC member, volunteered to be the Tomcat 4 release manager, created the Tomcat security pages, become a member of the ASF and joined the Apache Security Committee. He also helps maintain the ASF's Bugzilla instances. Mark has a MEng in Electronic and Electrical Engineering from the University of Birmingham, UK and is currently a Senior Software Engineer with the Covalent Products Division of SpringSource. ** Large Scale Tomcat Deployments [acus2009 516] by Filip Hanik Presentation â 60 minutes Description Provisioning open source software in large server farms can prove to be a real challenge. A lot of software products, Apache Tomcat included, don't come with any tools or frameworks to manage this process. In this session we will dig into the undocumented possibilities that Apache Tomcat offers that makes Apache Tomcat one of the most flexible and powerful application servers in the world when it comes to provisioning. Tomcat offers very unique, but unfortunately undocumented capabilities in this respect. The presentation is focused on managing installations, configurations, upgrades and even downgrades in a way that little or even no configuration and migration efforts have to take place. Using this strategy will save your organization countless hours in managing your
[Tomcat Wiki] Update of "TomcatTrackUs09 Sessions" by JeanFredericClere
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification. The following page has been changed by JeanFredericClere: http://wiki.apache.org/tomcat/TomcatTrackUs09_Sessions -- Here are the pre-selected (by the planners) sessions for the tomcat track: + ** Becoming a Tomcat super user [acus2009 455] by Mark Thomas @@ -10, +11 @@ Have you ever wanted to to do more than just download Tomcat and install some web applications? Do you want to learn more about Tomcat internals and how everything fits together? Do you want to be able to apply patches for bugs to your Tomcat installation without having to wait for the next release? If you answered yes to any of the above questions then this presentation is for you. Starting with how the Tomcat subversion repository is structured, this presentation will show you how to build each of the major Tomcat versions from source, how to use your local build to generate binary patches for specific bugs and how to extend Tomcat functionality for your environment. After an overview of the Tomcat request processing architecture, a request will be examined as it passes through Tomcat using remote debugging. Key classes and decision points will be highlighted to provide attendees with potential starting points when debugging their own issues. To finish the presentation, a nd to give a practical example of how the knowledge gained may be put to use, a current bug will be examined, the root cause identified and a patch to fix it generated. Presenter Bio Mark has been using and developing Tomcat for over five years. He first got involved in the development of Tomcat when he needed better control over the SSL configuration than was available at the time. After fixing that first bug, he started working his way through the remaining Tomcat bugs and is still going. Along the way Mark has become a Tomcat committer and PMC member, volunteered to be the Tomcat 4 release manager, created the Tomcat security pages, become a member of the ASF and joined the Apache Security Committee. He also helps maintain the ASF's Bugzilla instances. Mark has a MEng in Electronic and Electrical Engineering from the University of Birmingham, UK and is currently a Senior Software Engineer with the Covalent Products Division of SpringSource. + ** Introduction to Apache Tomcat 7 [acus2009 457] by Mark Thomas @@ -17, +19 @@ Presentation â 60 minutes Description In addition to implementing version 3.0 of the Servlet 3.0 specification, Apache Tomcat 7 has a number of new features and improvements to old favourites. This presentation will provide both system administrators and web application developers with the information they need to get the most out of Tomcat 7. The topics covered will include: - an brief overview of Servlet 3.0 features with an emphasis on configuration - improvements to management and monitoring via JMX - security enhancements to the Manager application - logging enhancements + - Presenter Bio - Mark has been using and developing Tomcat for over five years. He first got involved in the development of Tomcat when he needed better control over the SSL configuration than was available at the time. After fixing that first bug, he started working his way through the remaining Tomcat bugs and is still going. Along the way Mark has become a Tomcat committer and PMC member, volunteered to be the Tomcat 4 release manager, created the Tomcat security pages, become a member of the ASF and joined the Apache Security Committee. He also helps maintain the ASF's Bugzilla instances. Mark has a MEng in Electronic and Electrical Engineering from the University of Birmingham, UK and is currently a Senior Software Engineer with the Covalent Products Division of SpringSource. ** Large Scale Tomcat Deployments [acus2009 516] by Filip Hanik @@ -28, +29 @@ Provisioning open source software in large server farms can prove to be a real challenge. A lot of software products, Apache Tomcat included, don't come with any tools or frameworks to manage this process. In this session we will dig into the undocumented possibilities that Apache Tomcat offers that makes Apache Tomcat one of the most flexible and powerful application servers in the world when it comes to provisioning. Tomcat offers very unique, but unfortunately undocumented capabilities in this respect. The presentation is focused on managing installations, configurations, upgrades and even downgrades in a way that little or even no configuration and migration efforts have to take place. Using this strategy will save your o
[Tomcat Wiki] Update of "TomcatTrackUs09 Sessions" by JeanFredericClere
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification. The following page has been changed by JeanFredericClere: http://wiki.apache.org/tomcat/TomcatTrackUs09_Sessions -- Description Apache Tomcat 7.0 is a Servlet container for the Servlet 3.0 specification. One of the more exiciting features in this new specification is the standard support for asynchronous servlet processing. In this session we will take a look at the asynchronous servlet API, the reasoning behind, its benefits and short falls. We will also take a look at the extensions and different methods Apache Tomcat 7 provides to meet some of these short falls. + ** + Here are the not-selected (by the planners) sessions that could go in the tomcat track: + ** + mod_proxy versus mod_jk. Clustering with HTTP Server as front-end. [acus2009 440] + by Jean-Frederic Clere + + Presentation â 60 minutes + Description + There is often the question among users what should I use: mod_proxy or mod_jk? Mod_jk looks a kind of toolbox for integrating Tomcat application in web server and mod_proxy looks more than a straight forward loadbalancer. This presentation will try to help to choose the best module depending on the application structure. The goal of the two reverse proxy modules are different therefore they will continue existing and exchanging features. Now everyone will be able to choose the technology that fits their needs. + Presenter Bio + Jean-Frederic has spent more than 20 years writing client/server software. He is committer in APR, Jakarta, Httpd and Tomcat and he likes complex projects where different languages and machines are involved. Borne in France, Jean-Frederic lived in Barcelona (Spain) for 14 years. Since May 2006 he lives in Neuchatel (Switzerland) where he works for RedHat in the JBoss division. + + ** + Using Tomcat-Native with Comet/Asynch call in Servlet 3.0 [acus2009 441] + by Jean-Frederic Clere + + Presentation â 60 minutes + Description + Browsers and web servers are standards and the need for instantaneous data exchange has grown. AJAX for example allows web clients to communicate "asynchronously" withremote web servers. Comet is a Tomcat 6 feature that goes beyond AJAX and allow real asynchronous unidirectional and bi-directional connections between client and server using the HTTPprotocol and Servlets. Servlet 3.0 SPEC's are also providing asynchronous calls see what is possible do with them. Tomcat-Native is a Tomcat sub-project that provides a non-blocking and very efficient SSL connections. Tomcat-Native relies on the APR (Apache Portable Runtime) for Socket input/output and use OpenSSL to make the cryptographic layers. Comparison of the performance of Tomcat, Tomcat + APR and httpd. + ** + - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Tomcat Wiki] Update of "TomcatTrackUs09 Sessions" by JeanFredericClere
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification. The following page has been changed by JeanFredericClere: http://wiki.apache.org/tomcat/TomcatTrackUs09_Sessions -- Apache Tomcat 7.0 is a Servlet container for the Servlet 3.0 specification. One of the more exiciting features in this new specification is the standard support for asynchronous servlet processing. In this session we will take a look at the asynchronous servlet API, the reasoning behind, its benefits and short falls. We will also take a look at the extensions and different methods Apache Tomcat 7 provides to meet some of these short falls. ** + Here are the not-selected (by the planners) sessions that could go in the tomcat track: ** + mod_proxy versus mod_jk. Clustering with HTTP Server as front-end. [acus2009 440] by Jean-Frederic Clere @@ -65, +67 @@ Presentation â 60 minutes Description Browsers and web servers are standards and the need for instantaneous data exchange has grown. AJAX for example allows web clients to communicate "asynchronously" withremote web servers. Comet is a Tomcat 6 feature that goes beyond AJAX and allow real asynchronous unidirectional and bi-directional connections between client and server using the HTTPprotocol and Servlets. Servlet 3.0 SPEC's are also providing asynchronous calls see what is possible do with them. Tomcat-Native is a Tomcat sub-project that provides a non-blocking and very efficient SSL connections. Tomcat-Native relies on the APR (Apache Portable Runtime) for Socket input/output and use OpenSSL to make the cryptographic layers. Comparison of the performance of Tomcat, Tomcat + APR and httpd. + ** + Solutions & Troubleshooting methodologies - For most commonly occurring issues of Apache & Tomcat [acus2009 511] + by Ravi Saraswathi + Presentation â 60 minutes + Description + The session describes trouble shooting methods and solutions of several commonly occurring issues of web applications deployed on Apache and Tomcat. The session focuses on common causes and step-by-step instructions to resolve the problems. Some of the issues that are included in the presentation are: Application Server Hang & Core Dump, Java Virtual Machine and Memory issues (JVM Crash with no Core Dump, Out of Memory/Memory Leak), Too Many Open Files, JDBC-Database connectivity and Drivers issues, Load Balancing Issues(Apache & Tomcat connectivity with multiple hosts), SSL Trouble Shooting, High/Low CPU utilization, Slow application response, Server Core Dump, Irrecoverable Stack overflow and HTTP Session and Replication Failure. The troubleshooting methodology and solutions described in presentation will help system administrators and programmers to reduce the time spent on diagnosing problems to get to the root cause and to correct the issue. The presentation focuses on support patterns to resolve the most common problems, system behaviors, and issues. Instructions on how to resolve the issues will also be included in the presentation. The last part of the session focuses on best ways to monitor Java applications by using Open Source tools to get pre-notifications for some of the above issues. + Presenter Bio + Ravi is an Architect and with more than 15 years of global, professional experience. Prior to his current assignment at AOL-Time Warner, Ravi was a senior business consultant with BEA Systems. Ravi worked at BEA Systems on WebLogic and AquaLogic product line Ravi also worked with several Java webserver and application containers. His interests include Open source containers, Java, infrastructure architecture, trouble shooting methodologies and software design. Ravi has spoken number of WebLogic conferences and Java user group meetings + + ** + Advanced Reverse Proxy Load Balancing in Apache HTTP Server 2.2 [acus2009 418] + by Jim Jagielski Panel,Developer,Experienced,NONE,Apache HTTP Server + + Presentation â 60 minutes + Description + One of the main new features in Apache 2.2 is the enhancement of the proxy module, allowing Apache to proxy not only HTTP as before, but also AJP. Coupled with the dynamic load balancing capability also new in 2.2, see why Apache is now an even more capable reverse proxy, and see why mod_jk may no longer be required. Included are helpful real-world hints in configuration for high-availability failover environments. + Presenter Bio + Jim's been active on the 'Net since the early 80's, starting as editor of the A/UX FAQ. He worked on the NCSA server and joined the Apache
[Tomcat Wiki] Trivial Update of "TomcatTrackUs09 Sessions" by JeanFredericClere
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification. The following page has been changed by JeanFredericClere: http://wiki.apache.org/tomcat/TomcatTrackUs09_Sessions -- ** - Here are the not-selected (by the planners) sessions that could go in the tomcat track: + Here are the not-selected (by the planners) sessions that could go in the tomcat track: ** mod_proxy versus mod_jk. Clustering with HTTP Server as front-end. [acus2009 440] @@ -79, +79 @@ Ravi is an Architect and with more than 15 years of global, professional experience. Prior to his current assignment at AOL-Time Warner, Ravi was a senior business consultant with BEA Systems. Ravi worked at BEA Systems on WebLogic and AquaLogic product line Ravi also worked with several Java webserver and application containers. His interests include Open source containers, Java, infrastructure architecture, trouble shooting methodologies and software design. Ravi has spoken number of WebLogic conferences and Java user group meetings ** - Advanced Reverse Proxy Load Balancing in Apache HTTP Server 2.2 [acus2009 418] + Advanced Reverse Proxy Load Balancing in Apache HTTP Server 2.2 [acus2009 418] by Jim Jagielski Panel,Developer,Experienced,NONE,Apache HTTP Server Presentation â 60 minutes - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r783696 - in /tomcat/trunk: build.properties.default build.xml
Author: markt Date: Thu Jun 11 08:48:17 2009 New Revision: 783696 URL: http://svn.apache.org/viewvc?rev=783696&view=rev Log: DBCP no longer requires commons-collections. Removed used lib from build. Modified: tomcat/trunk/build.properties.default tomcat/trunk/build.xml Modified: tomcat/trunk/build.properties.default URL: http://svn.apache.org/viewvc/tomcat/trunk/build.properties.default?rev=783696&r1=783695&r2=783696&view=diff == --- tomcat/trunk/build.properties.default (original) +++ tomcat/trunk/build.properties.default Thu Jun 11 08:48:17 2009 @@ -77,13 +77,6 @@ commons-pool.home=${base.path}/commons-pool-1.4-src commons-pool-src.loc=${base-commons.loc}/pool/source/commons-pool-1.4-src.tar.gz -# - Commons Collections, version 2.0 or later - -commons-collections.home=${base.path}/commons-collections-3.2-src -commons-collections.lib=${commons-collections.home} -commons-collections.jar=${commons-collections.lib}/commons-collections-3.2.jar -commons-collections.loc=${base-jakarta.loc}/commons/collections/binaries/commons-collections-3.2.tar.gz -commons-collections-src.loc=${base-commons.loc}/collections/source/commons-collections-3.2-src.tar.gz - # - NSIS, version 2.0 or later - nsis.home=${base.path}/nsis-2.44 nsis.exe=${nsis.home}/makensis.exe Modified: tomcat/trunk/build.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/build.xml?rev=783696&r1=783695&r2=783696&view=diff == --- tomcat/trunk/build.xml (original) +++ tomcat/trunk/build.xml Thu Jun 11 08:48:17 2009 @@ -741,10 +741,6 @@ - - - - - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r783697 - /tomcat/trunk/build.properties.default
Author: markt Date: Thu Jun 11 08:50:00 2009 New Revision: 783697 URL: http://svn.apache.org/viewvc?rev=783697&view=rev Log: Update commons pool to 1.5. Pool 1.5 fixes a number of concurrency bugs and introduces fair allocation so the first thread to ask for an object from the pool is the first thread to get it. Modified: tomcat/trunk/build.properties.default Modified: tomcat/trunk/build.properties.default URL: http://svn.apache.org/viewvc/tomcat/trunk/build.properties.default?rev=783697&r1=783696&r2=783697&view=diff == --- tomcat/trunk/build.properties.default (original) +++ tomcat/trunk/build.properties.default Thu Jun 11 08:50:00 2009 @@ -74,8 +74,8 @@ commons-dbcp-src.loc=http://people.apache.org/~markt/dev/commons-dbcp-r734404-src.tar.gz # - Commons Pool, version 1.1 or later - -commons-pool.home=${base.path}/commons-pool-1.4-src -commons-pool-src.loc=${base-commons.loc}/pool/source/commons-pool-1.4-src.tar.gz +commons-pool.home=${base.path}/commons-pool-1.5-src +commons-pool-src.loc=${base-commons.loc}/pool/source/commons-pool-1.5-src.tar.gz # - NSIS, version 2.0 or later - nsis.home=${base.path}/nsis-2.44 - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r783700 - /tomcat/tc6.0.x/trunk/STATUS.txt
Author: markt Date: Thu Jun 11 08:53:13 2009 New Revision: 783700 URL: http://svn.apache.org/viewvc?rev=783700&view=rev Log: Proposals Modified: tomcat/tc6.0.x/trunk/STATUS.txt Modified: tomcat/tc6.0.x/trunk/STATUS.txt URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=783700&r1=783699&r2=783700&view=diff == --- tomcat/tc6.0.x/trunk/STATUS.txt (original) +++ tomcat/tc6.0.x/trunk/STATUS.txt Thu Jun 11 08:53:13 2009 @@ -140,3 +140,12 @@ +1: fhanik -1: +* Remove commons-collections from the build. It is unused. + http://svn.apache.org/viewvc?rev=783696&view=rev + +1: markt + -1: + +* Update commons-pool to 1.5. + http://svn.apache.org/viewvc?rev=783697&view=rev + +1: markt + -1: - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Tomcat Wiki] Update of "TomcatTrackUs09 Sessions" by JeanFredericClere
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification. The following page has been changed by JeanFredericClere: http://wiki.apache.org/tomcat/TomcatTrackUs09_Sessions -- One of the main new features in Apache 2.2 is the enhancement of the proxy module, allowing Apache to proxy not only HTTP as before, but also AJP. Coupled with the dynamic load balancing capability also new in 2.2, see why Apache is now an even more capable reverse proxy, and see why mod_jk may no longer be required. Included are helpful real-world hints in configuration for high-availability failover environments. Presenter Bio Jim's been active on the 'Net since the early 80's, starting as editor of the A/UX FAQ. He worked on the NCSA server and joined the Apache Group (as it was called back then) at a very early stage. He actively contributes on HTTPD, APR and Tomcat, but also hacks on other projects (ASF and others) as well in addition to mentoring many ASF incubator podlings. In addition to being a charter and core member of the ASF Jim serves as Director and Chairman for the foundation. His real job is as Chief Architect and Principal Software Engineer for the Covalent Products Division of SpringSource. Previously, Jim served at CTO for Covalent Technologies, which was acquired by SpringSource in early 2008. + Note: + '''The httpd track may use it''' ** Improving mod_proxy : Example of an "home made" balancer: Mod_cluster [acus2009 439] - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Tomcat Wiki] Update of "TomcatTrackUs09 PMC Sessions" by JeanFredericClere
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification. The following page has been changed by JeanFredericClere: http://wiki.apache.org/tomcat/TomcatTrackUs09_PMC_Sessions New page: TomcatTrackUs09 Sessions Here are the proposals for the PMC (extracted for an email discussion): jfclere: Of course if we want to have a day of Tomcat we have to build a track that: 1 - Have an introduction (something like what Mladen (See below mturk) proposed). 2 - Have more details presentation on the new tech (Tomcat7, Servlet 3.0) 3 - Have a remainder of the existing new stuff (Bayeux, Comet, jdbc-pool, tomcat-lite). 4 - Have well known stuff, like admin/conf stuff, mod_jk/mod_proxy and clustering. +++ mturk: +++ My idea was to give an 'Tomcat community overview' with some directions where are we heading and something short about what's cooking (Tomcat 7, Connectors, Security, etc...) Audience should be both generic (at least for the tech and community overview I plan to do) and technical for an in-depth presentations offered by Mark, Filip and Rainer. +++ rjung: +++ Based on some users list feedback: I could either present on mod_jk (in case there's no conflict with Mladen), or - thinking about André's suggestion, I could give a "Reverse Proxies" talk. That talk would be more for sys admins, not for developers, and would explain the special situation a reverse proxy is in: - Request Routing - Loadbalancing/Stickyness procedures - Changing URLs, Cookies, etc. - Content rewriting - AJP protocol - Keep-Alive issues - Resource issues (blocking) etc. It would include examples from mod_jk, mod_proxy_*, mod_substitute/mod_sed, mod_proxy_html (a module done by Nick Kew) and if available then even the GSOC Tomcat reverse proxy. I think it would be fun, doing a talk that is not directly related to one single software component or project but more focused on a real-life topic and solution ingredients. +++ Yes, for the two proposals coming from me (working titles): - All you want to know about reverse proxies - mod_jk in depth Both of my talks are more directed to admins. +++ - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Tomcat Wiki] Update of "TomcatTrackUs09 PMC Sessions" by JeanFredericClere
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification. The following page has been changed by JeanFredericClere: http://wiki.apache.org/tomcat/TomcatTrackUs09_PMC_Sessions -- TomcatTrackUs09 Sessions Here are the proposals for the PMC (extracted for an email discussion): - jfclere: + jfclere: - Of course if we want to have a day of Tomcat we have to build a track that: + Of course if we want to have a day of Tomcat we have to build a track that: 1 - Have an introduction (something like what Mladen (See below mturk) proposed). 2 - Have more details presentation on the new tech (Tomcat7, Servlet 3.0) 3 - Have a remainder of the existing new stuff (Bayeux, Comet, jdbc-pool, tomcat-lite). 4 - Have well known stuff, like admin/conf stuff, mod_jk/mod_proxy and clustering. +++ - mturk: + mturk: +++ - My idea was to give an 'Tomcat community overview' with some + My idea was to give an 'Tomcat community overview' with some directions where are we heading and something short about what's cooking (Tomcat 7, Connectors, Security, etc...) @@ -23, +23 @@ Mark, Filip and Rainer. +++ - rjung: + rjung: +++ - Based on some users list feedback: I could either present on mod_jk (in + Based on some users list feedback: I could either present on mod_jk (in case there's no conflict with Mladen), or - thinking about André's suggestion, I could give a "Reverse Proxies" talk. @@ -48, +48 @@ one single software component or project but more focused on a real-life topic and solution ingredients. +++ - Yes, for the two proposals coming from me (working titles): + Yes, for the two proposals coming from me (working titles): - All you want to know about reverse proxies - mod_jk in depth - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Tomcat Wiki] Trivial Update of "TomcatTrackUs09 PMC Sessions" by JeanFredericClere
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification. The following page has been changed by JeanFredericClere: http://wiki.apache.org/tomcat/TomcatTrackUs09_PMC_Sessions -- jfclere: Of course if we want to have a day of Tomcat we have to build a track that: - 1 - Have an introduction (something like what Mladen (See below mturk) proposed). + 1 - Have an introduction (something like what Mladen (See below mturk) proposed). - 2 - Have more details presentation on the new tech (Tomcat7, Servlet 3.0) + 2 - Have more details presentation on the new tech (Tomcat7, Servlet 3.0) - 3 - Have a remainder of the existing new stuff (Bayeux, Comet, jdbc-pool, tomcat-lite). + 3 - Have a remainder of the existing new stuff (Bayeux, Comet, jdbc-pool, tomcat-lite). - 4 - Have well known stuff, like admin/conf stuff, mod_jk/mod_proxy and clustering. + 4 - Have well known stuff, like admin/conf stuff, mod_jk/mod_proxy and clustering. +++ mturk: - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Tomcat Wiki] Trivial Update of "TomcatTrackUs09 PMC Sessions" by JeanFredericClere
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification. The following page has been changed by JeanFredericClere: http://wiki.apache.org/tomcat/TomcatTrackUs09_PMC_Sessions -- Here are the proposals for the PMC (extracted for an email discussion): jfclere: - Of course if we want to have a day of Tomcat we have to build a track that: + Of course if we want to have a day of Tomcat we have to build a track that:[[BR]] - 1 - Have an introduction (something like what Mladen (See below mturk) proposed). + 1 - Have an introduction (something like what Mladen (See below mturk) proposed).[[BR]] - 2 - Have more details presentation on the new tech (Tomcat7, Servlet 3.0) + 2 - Have more details presentation on the new tech (Tomcat7, Servlet 3.0)[[BR]] - 3 - Have a remainder of the existing new stuff (Bayeux, Comet, jdbc-pool, tomcat-lite). + 3 - Have a remainder of the existing new stuff (Bayeux, Comet, jdbc-pool, tomcat-lite).[[BR]] - 4 - Have well known stuff, like admin/conf stuff, mod_jk/mod_proxy and clustering. + 4 - Have well known stuff, like admin/conf stuff, mod_jk/mod_proxy and clustering.[[BR]] +++ mturk: @@ -31, +31 @@ That talk would be more for sys admins, not for developers, and would explain the special situation a reverse proxy is in: - + [[BR]] - - Request Routing + - Request Routing[[BR]] - - Loadbalancing/Stickyness procedures + - Loadbalancing/Stickyness procedures[[BR]] - - Changing URLs, Cookies, etc. + - Changing URLs, Cookies, etc.[[BR]] - - Content rewriting + - Content rewriting[[BR]] - - AJP protocol + - AJP protocol[[BR]] - - Keep-Alive issues + - Keep-Alive issues[[BR]] - - Resource issues (blocking) + - Resource issues (blocking)[[BR]] etc. It would include examples from mod_jk, mod_proxy_*, mod_substitute/mod_sed, mod_proxy_html (a module done by Nick Kew) and @@ -49, +49 @@ topic and solution ingredients. +++ Yes, for the two proposals coming from me (working titles): - + [[BR]] - - All you want to know about reverse proxies + - All you want to know about reverse proxies[[BR]] - - mod_jk in depth + - mod_jk in depth[[BR]] Both of my talks are more directed to admins. +++ - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Tomcat Wiki] Trivial Update of "TomcatTrackUs09 Sessions" by JeanFredericClere
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification. The following page has been changed by JeanFredericClere: http://wiki.apache.org/tomcat/TomcatTrackUs09_Sessions -- Presentation â 60 minutes Description - Have you ever wanted to to do more than just download Tomcat and install some web applications? Do you want to learn more about Tomcat internals and how everything fits together? Do you want to be able to apply patches for bugs to your Tomcat installation without having to wait for the next release? If you answered yes to any of the above questions then this presentation is for you. Starting with how the Tomcat subversion repository is structured, this presentation will show you how to build each of the major Tomcat versions from source, how to use your local build to generate binary patches for specific bugs and how to extend Tomcat functionality for your environment. After an overview of the Tomcat request processing architecture, a request will be examined as it passes through Tomcat using remote debugging. Key classes and decision points will be highlighted to provide attendees with potential starting points when debugging their own issues. To finish the presentation, a nd to give a practical example of how the knowledge gained may be put to use, a current bug will be examined, the root cause identified and a patch to fix it generated. + Have you ever wanted to to do more than just download Tomcat and install some web applications? Do you want to learn more about Tomcat internals and how everything fits together? Do you want to be able to apply patches for bugs to your Tomcat installation without having to wait for the next release? If you answered yes to any of the above questions then this presentation is for you. Starting with how the Tomcat subversion repository is structured, this presentation will show you how to build each of the major Tomcat versions from source, how to use your local build to generate binary patches for specific bugs and how to extend Tomcat functionality for your environment. After an overview of the Tomcat request processing architecture, a request will be examined as it passes through Tomcat using remote debugging. Key classes and decision points will be highlighted to provide attendees with potential starting points when debugging their own issues. To finish the presentation, a nd to give a practical example of how the knowledge gained may be put to use, a current bug will be examined, the root cause identified and a patch to fix it generated.[[BR]] - Presenter Bio + Presenter Bio[[BR]] Mark has been using and developing Tomcat for over five years. He first got involved in the development of Tomcat when he needed better control over the SSL configuration than was available at the time. After fixing that first bug, he started working his way through the remaining Tomcat bugs and is still going. Along the way Mark has become a Tomcat committer and PMC member, volunteered to be the Tomcat 4 release manager, created the Tomcat security pages, become a member of the ASF and joined the Apache Security Committee. He also helps maintain the ASF's Bugzilla instances. Mark has a MEng in Electronic and Electrical Engineering from the University of Birmingham, UK and is currently a Senior Software Engineer with the Covalent Products Division of SpringSource. ** @@ -26, +26 @@ Presentation â 60 minutes Description - Provisioning open source software in large server farms can prove to be a real challenge. A lot of software products, Apache Tomcat included, don't come with any tools or frameworks to manage this process. In this session we will dig into the undocumented possibilities that Apache Tomcat offers that makes Apache Tomcat one of the most flexible and powerful application servers in the world when it comes to provisioning. Tomcat offers very unique, but unfortunately undocumented capabilities in this respect. The presentation is focused on managing installations, configurations, upgrades and even downgrades in a way that little or even no configuration and migration efforts have to take place. Using this strategy will save your organization countless hours in managing your Apache Tomcat infrastructure. + Provisioning open source software in large server farms can prove to be a real challenge. A lot of software products, Apache Tomcat included, don't come with any tools or frameworks to manage this process. In this session we will dig into the undocumented possibilities that Apache Tomcat offers that makes Apache Tomcat one of the most flexible and powerful application servers in the world when it comes to provisioning. Tomcat offers very unique, but unfortunately undocumented capabilitie
svn commit: r783724 - /tomcat/trunk/java/org/apache/tomcat/util/http/Parameters.java
Author: markt Date: Thu Jun 11 11:37:17 2009 New Revision: 783724 URL: http://svn.apache.org/viewvc?rev=783724&view=rev Log: Provide a little more information in the logs when parameters are invalid. Speeds up the process of tracking down the broken request in the access log. Don't show the stack trace unless debug is enabled. Modified: tomcat/trunk/java/org/apache/tomcat/util/http/Parameters.java Modified: tomcat/trunk/java/org/apache/tomcat/util/http/Parameters.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/http/Parameters.java?rev=783724&r1=783723&r2=783724&view=diff == --- tomcat/trunk/java/org/apache/tomcat/util/http/Parameters.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/http/Parameters.java Thu Jun 11 11:37:17 2009 @@ -382,7 +382,14 @@ pos=valEnd+1; if( nameEnd<=nameStart ) { -log.warn("Parameters: Invalid chunk ignored."); +StringBuffer msg = new StringBuffer("Parameters: Invalid chunk "); +if (valEnd >= nameStart) { +msg.append('\''); +msg.append(new String(bytes, nameStart, valEnd)); +msg.append("' "); +} +msg.append("ignored."); +log.warn(msg); continue; // invalid chunk - it's better to ignore } @@ -393,8 +400,14 @@ addParam( urlDecode(tmpName, enc), urlDecode(tmpValue, enc) ); } catch (IOException e) { // Exception during character decoding: skip parameter -log.warn("Parameters: Character decoding failed. " + - "Parameter skipped.", e); +String msg = "Parameters: Character decoding failed. " + +"Parameter '" + tmpName + "' with value '" + +tmpValue + "' has been ignored."; +if (log.isDebugEnabled()) { +log.debug(msg, e); +} else { +log.warn(msg); +} } tmpName.recycle(); - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r783727 - /tomcat/tc6.0.x/trunk/STATUS.txt
Author: markt Date: Thu Jun 11 11:48:29 2009 New Revision: 783727 URL: http://svn.apache.org/viewvc?rev=783727&view=rev Log: Diagnostics proposal Modified: tomcat/tc6.0.x/trunk/STATUS.txt Modified: tomcat/tc6.0.x/trunk/STATUS.txt URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=783727&r1=783726&r2=783727&view=diff == --- tomcat/tc6.0.x/trunk/STATUS.txt (original) +++ tomcat/tc6.0.x/trunk/STATUS.txt Thu Jun 11 11:48:29 2009 @@ -149,3 +149,8 @@ http://svn.apache.org/viewvc?rev=783697&view=rev +1: markt -1: + +* Make diagnosing broken requests a little easier + http://svn.apache.org/viewvc?rev=783724&view=rev + +1: markt + -1: - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 47351] Apache with Tomcat invalid response from upstream with mod
https://issues.apache.org/bugzilla/show_bug.cgi?id=47351 Ruediger Pluem changed: What|Removed |Added Component|mod_proxy |mod_jk Version|2.2.4 |unspecified AssignedTo|b...@httpd.apache.org |dev@tomcat.apache.org Product|Apache httpd-2 |Tomcat Connectors -- 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: r783737 - in /tomcat/tc6.0.x/trunk: ./ STATUS.txt res/confinstall/server_2.xml webapps/docs/changelog.xml
Author: kkolinko Date: Thu Jun 11 12:29:46 2009 New Revision: 783737 URL: http://svn.apache.org/viewvc?rev=783737&view=rev Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=44943 Reduce copy/paste issues caused by different engine names. Applying the same fix to exe installations of Tomcat. Modified: tomcat/tc6.0.x/trunk/ (props changed) tomcat/tc6.0.x/trunk/STATUS.txt tomcat/tc6.0.x/trunk/res/confinstall/server_2.xml tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml Propchange: tomcat/tc6.0.x/trunk/ -- --- svn:mergeinfo (original) +++ svn:mergeinfo Thu Jun 11 12:29:46 2009 @@ -1 +1 @@ -/tomcat/trunk:601180,606992,612607,630314,640888,652744,653247,673796,673820,683982,684001,684081,684234,684269-684270,685177,687503,687645,689402,690781,691392,691805,692748,693378,694992,695053,695311,696780,696782,698012,698227,698236,698613,699427,699634,701355,709294,709811,709816,710063,710066,710125,710205,711126,711600,712461,712467,718360,719119,719124,719602,719626,719628,720046,720069,721040,721286,721708,721886,723404,723738,726052,727303,728032,728768,728947,729057,729567,729569,729571,729681,729809,729815,729934,730250,730590,731651,732859,732863,734734,740675,740684,742677,742697,742714,744160,744238,746321,746384,746425,747834,747863,748344,750258,750291,750921,751286-751287,751289,751295,753039,757335,757774,758365,758596,758616,758664,759074,761601,762868,762929,762936-762937,763166,763183,763193,763228,763262,763298,763302,763325,763599,763611,763654,763681,763706,764985,764997,765662,768335,769979,770716,770809,770876,776921,776924,776935,777464,777466,77 7576,777625,778379,781528,782145,782791 +/tomcat/trunk:601180,606992,612607,630314,640888,652744,653247,673796,673820,683982,684001,684081,684234,684269-684270,685177,687503,687645,689402,690781,691392,691805,692748,693378,694992,695053,695311,696780,696782,698012,698227,698236,698613,699427,699634,701355,709294,709811,709816,710063,710066,710125,710205,711126,711600,712461,712467,718360,719119,719124,719602,719626,719628,720046,720069,721040,721286,721708,721886,723404,723738,726052,727303,728032,728768,728947,729057,729567,729569,729571,729681,729809,729815,729934,730250,730590,731651,732859,732863,734734,740675,740684,742677,742697,742714,744160,744238,746321,746384,746425,747834,747863,748344,750258,750291,750921,751286-751287,751289,751295,753039,757335,757774,758365,758596,758616,758664,759074,761601,762868,762929,762936-762937,763166,763183,763193,763228,763262,763298,763302,763325,763599,763611,763654,763681,763706,764985,764997,765662,768335,769979,770716,770809,770876,776921,776924,776935,776945,777464,77 7466,777576,777625,778379,781528,782145,782791 Modified: tomcat/tc6.0.x/trunk/STATUS.txt URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=783737&r1=783736&r2=783737&view=diff == --- tomcat/tc6.0.x/trunk/STATUS.txt (original) +++ tomcat/tc6.0.x/trunk/STATUS.txt Thu Jun 11 12:29:46 2009 @@ -88,13 +88,6 @@ -0: kkolinko: http://marc.info/?l=tomcat-dev&m=124192105131636&w=2 -1: -* Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=44943 - For zip/tgz distributives it was already fixed in 6.0.17, 5.5.27. - Now, apply the same fix to exe distributive. - http://svn.apache.org/viewvc?rev=776945&view=rev - +1: kkolinko, markt,funkman - -1: - * Add missing svn properties http://people.apache.org/~rjung/patches/tc6-svnprops.patch +1: rjung, fhanik, markt,funkman Modified: tomcat/tc6.0.x/trunk/res/confinstall/server_2.xml URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/res/confinstall/server_2.xml?rev=783737&r1=783736&r2=783737&view=diff == --- tomcat/tc6.0.x/trunk/res/confinstall/server_2.xml (original) +++ tomcat/tc6.0.x/trunk/res/confinstall/server_2.xml Thu Jun 11 12:29:46 2009 @@ -29,7 +29,7 @@ Documentation at /docs/config/engine.html --> Modified: tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml?rev=783737&r1=783736&r2=783737&view=diff == --- tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml (original) +++ tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml Thu Jun 11 12:29:46 2009 @@ -83,6 +83,10 @@ name. This corrects a regression introduced by the fix for 42707. (markt) + +44943: Use the same engine name in server.xml comments to +reduce copy and pastes issues. (markt, kkolinko) + - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 44943] Inconsistent engine name Catalina vs Standalone in server.xml
https://issues.apache.org/bugzilla/show_bug.cgi?id=44943 --- Comment #3 from Konstantin Kolinko 2009-06-11 05:33:42 PST --- Applied the same fix to the exe distribution of Tomcat. (It uses a separate copy of server.xml, that missed this fix). This will be in 6.0.21 onwards. Proposed for 5.5.x. -- 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 47351] Apache with Tomcat invalid response from upstream with mod
https://issues.apache.org/bugzilla/show_bug.cgi?id=47351 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID --- Comment #1 from Mark Thomas 2009-06-11 05:47:42 PST --- Looks like your socket_timeout is too low and mod_jk assumes the request has failed before it has had a chance to finish processing. Tomcat/JBoss will continue to process the request to completion. Ask on the tomcat users list if you need further assistance. -- 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
[Tomcat Wiki] Update of "TomcatTrackUs09 PMC Sessions" by JeanFredericClere
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification. The following page has been changed by JeanFredericClere: http://wiki.apache.org/tomcat/TomcatTrackUs09_PMC_Sessions -- Both of my talks are more directed to admins. +++ + funkman: (Tim Funk)[[BR]] + +++ + "Securing your Tomcat installation"[[BR]] + Whether you are new to Tomcat or used it for a long time, we'll walk through ways to make your installation more secure. Even though we make Tomcat secure out of the box, you will make configuration changes. In this talk, we'll give you hints to make sure your changes don't expose you to security issues. We'll also cover items developers should and should not do in their code to keep the installation secure. Out of scope in this discussion: SSL. + +++ + - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Tomcat Wiki] Trivial Update of "TomcatTrackUs09 PMC Sessions" by JeanFredericClere
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification. The following page has been changed by JeanFredericClere: http://wiki.apache.org/tomcat/TomcatTrackUs09_PMC_Sessions -- funkman: (Tim Funk)[[BR]] +++ - "Securing your Tomcat installation"[[BR]] + "Securing your Tomcat installation"[[BR]] Whether you are new to Tomcat or used it for a long time, we'll walk through ways to make your installation more secure. Even though we make Tomcat secure out of the box, you will make configuration changes. In this talk, we'll give you hints to make sure your changes don't expose you to security issues. We'll also cover items developers should and should not do in their code to keep the installation secure. Out of scope in this discussion: SSL. +++ - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 47298] enabled emptysessionpath not checking if route replacement is needed
https://issues.apache.org/bugzilla/show_bug.cgi?id=47298 --- Comment #2 from James Hoare 2009-06-11 06:07:19 PST --- When we take a node down for maintenaince we experience problems with the exisitng sessions that were created on that node. These sessions are bouncing between the other nodes, as the worker has been removed from the mod_jk workers file. Therefore, we need the susbsequent check in ManagerBase to replace the jvm route with the local node if they are different. -- 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: r783756 - /tomcat/trunk/java/org/apache/catalina/startup/HostConfig.java
Author: markt Date: Thu Jun 11 13:13:09 2009 New Revision: 783756 URL: http://svn.apache.org/viewvc?rev=783756&view=rev Log: Log context deployment consistently at info level, regardless of war/dir/xml Modified: tomcat/trunk/java/org/apache/catalina/startup/HostConfig.java Modified: tomcat/trunk/java/org/apache/catalina/startup/HostConfig.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/startup/HostConfig.java?rev=783756&r1=783755&r2=783756&view=diff == --- tomcat/trunk/java/org/apache/catalina/startup/HostConfig.java (original) +++ tomcat/trunk/java/org/apache/catalina/startup/HostConfig.java Thu Jun 11 13:13:09 2009 @@ -582,8 +582,8 @@ DeployedApplication deployedApp = new DeployedApplication(contextPath); // Assume this is a configuration descriptor and deploy it -if(log.isDebugEnabled()) { -log.debug(sm.getString("hostConfig.deployDescriptor", file)); +if(log.isInfoEnabled()) { +log.info(sm.getString("hostConfig.deployDescriptor", file)); } Context context = null; @@ -933,8 +933,8 @@ return; // Deploy the application in this directory -if( log.isDebugEnabled() ) -log.debug(sm.getString("hostConfig.deployDir", file)); +if( log.isInfoEnabled() ) +log.info(sm.getString("hostConfig.deployDir", file)); try { Context context = null; File xml = new File(dir, Constants.ApplicationContextXml); - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r783760 - /tomcat/tc6.0.x/trunk/STATUS.txt
Author: markt Date: Thu Jun 11 13:16:31 2009 New Revision: 783760 URL: http://svn.apache.org/viewvc?rev=783760&view=rev Log: Proposal Modified: tomcat/tc6.0.x/trunk/STATUS.txt Modified: tomcat/tc6.0.x/trunk/STATUS.txt URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=783760&r1=783759&r2=783760&view=diff == --- tomcat/tc6.0.x/trunk/STATUS.txt (original) +++ tomcat/tc6.0.x/trunk/STATUS.txt Thu Jun 11 13:16:31 2009 @@ -147,3 +147,8 @@ http://svn.apache.org/viewvc?rev=783724&view=rev +1: markt -1: + +* Log context deployment consistently for war/dir/xml + http://svn.apache.org/viewvc?rev=783756&view=rev + +1: markt + -1: - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 47349] WAR file deployment doesn't work in WAN
https://issues.apache.org/bugzilla/show_bug.cgi?id=47349 --- Comment #3 from Mark Thomas 2009-06-11 06:22:11 PST --- Hmm. The manager app should stop the deployer from doing anything until the upload is complete to prevent this. Either that isn't working or the upload itself is failing. How long does the upload take when it fails? Is there some upload time above which it always fails? -- 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
[Tomcat Wiki] Update of "TomcatTrackUs09 Sessions" by JeanFredericClere
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification. The following page has been changed by JeanFredericClere: http://wiki.apache.org/tomcat/TomcatTrackUs09_Sessions The comment on the change is: noirin says httpd will not use it. So we could do it :-) -- One of the main new features in Apache 2.2 is the enhancement of the proxy module, allowing Apache to proxy not only HTTP as before, but also AJP. Coupled with the dynamic load balancing capability also new in 2.2, see why Apache is now an even more capable reverse proxy, and see why mod_jk may no longer be required. Included are helpful real-world hints in configuration for high-availability failover environments.[[BR]] Presenter Bio[[BR]] Jim's been active on the 'Net since the early 80's, starting as editor of the A/UX FAQ. He worked on the NCSA server and joined the Apache Group (as it was called back then) at a very early stage. He actively contributes on HTTPD, APR and Tomcat, but also hacks on other projects (ASF and others) as well in addition to mentoring many ASF incubator podlings. In addition to being a charter and core member of the ASF Jim serves as Director and Chairman for the foundation. His real job is as Chief Architect and Principal Software Engineer for the Covalent Products Division of SpringSource. Previously, Jim served at CTO for Covalent Technologies, which was acquired by SpringSource in early 2008. + - Note: - '''The httpd track may use it''' ** Improving mod_proxy : Example of an "home made" balancer: Mod_cluster [acus2009 439] - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r783762 - /tomcat/trunk/build.xml
Author: kkolinko Date: Thu Jun 11 13:35:20 2009 New Revision: 783762 URL: http://svn.apache.org/viewvc?rev=783762&view=rev Log: Fix download task dependency for commons-pool and commons-dbcp. Without this patch the 'ant download' call does not download the updated commons-pool or commons-dbcp version, like the recent update of commons-pool 1.4 -> 1.5, unless you delete existing ${tomcat-dbcp.jar} file before that. Modified: tomcat/trunk/build.xml Modified: tomcat/trunk/build.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/build.xml?rev=783762&r1=783761&r2=783762&view=diff == --- tomcat/trunk/build.xml (original) +++ tomcat/trunk/build.xml Thu Jun 11 13:35:20 2009 @@ -742,11 +742,11 @@ - + - + - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r783766 - /tomcat/trunk/java/org/apache/catalina/startup/HostConfig.java
Author: markt Date: Thu Jun 11 13:48:42 2009 New Revision: 783766 URL: http://svn.apache.org/viewvc?rev=783766&view=rev Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47343 Regression in https://issues.apache.org/bugzilla/show_bug.cgi?id=42747 context.xml can now be edited without resources being deleted Modified: tomcat/trunk/java/org/apache/catalina/startup/HostConfig.java Modified: tomcat/trunk/java/org/apache/catalina/startup/HostConfig.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/startup/HostConfig.java?rev=783766&r1=783765&r2=783766&view=diff == --- tomcat/trunk/java/org/apache/catalina/startup/HostConfig.java (original) +++ tomcat/trunk/java/org/apache/catalina/startup/HostConfig.java Thu Jun 11 13:48:42 2009 @@ -835,8 +835,6 @@ } } context.setConfigFile(xml.getAbsolutePath()); -deployedApp.redeployResources.put -(xml.getAbsolutePath(), new Long(xml.lastModified())); } else { context = (Context) Class.forName(contextClass).newInstance(); } @@ -845,6 +843,11 @@ deployedApp.redeployResources.put (war.getAbsolutePath(), new Long(war.lastModified())); +if (deployXML && xml.exists()) { +deployedApp.redeployResources.put +(xml.getAbsolutePath(), new Long(xml.lastModified())); +} + if (context instanceof Lifecycle) { Class clazz = Class.forName(host.getConfigClass()); LifecycleListener listener = @@ -938,6 +941,7 @@ try { Context context = null; File xml = new File(dir, Constants.ApplicationContextXml); +File xmlCopy = null; if (deployXML && xml.exists()) { // Will only do this on initial deployment. On subsequent // deployments the copied xml file means we'll use @@ -954,7 +958,7 @@ digester.reset(); } } -File xmlCopy = new File(configBase(), file + ".xml"); +xmlCopy = new File(configBase(), file + ".xml"); InputStream is = null; OutputStream os = null; try { @@ -975,8 +979,6 @@ } } context.setConfigFile(xmlCopy.getAbsolutePath()); -deployedApp.redeployResources.put -(xmlCopy.getAbsolutePath(), new Long(xmlCopy.lastModified())); } else { context = (Context) Class.forName(contextClass).newInstance(); } @@ -992,6 +994,10 @@ host.addChild(context); deployedApp.redeployResources.put(dir.getAbsolutePath(), new Long(dir.lastModified())); +if (xmlCopy != null) { +deployedApp.redeployResources.put +(xmlCopy.getAbsolutePath(), new Long(xmlCopy.lastModified())); +} addWatchedResources(deployedApp, dir.getAbsolutePath(), context); } catch (Throwable t) { log.error(sm.getString("hostConfig.deployDir.error", file), t); - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 47343] Fails re-deploying, when we update context.xml.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47343 --- Comment #1 from Mark Thomas 2009-06-11 06:49:56 PST --- This has been fixed in trunk and proposed for 6.0.21 -- 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: r783768 - /tomcat/tc6.0.x/trunk/STATUS.txt
Author: kkolinko Date: Thu Jun 11 13:50:26 2009 New Revision: 783768 URL: http://svn.apache.org/viewvc?rev=783768&view=rev Log: comments and proposal Modified: tomcat/tc6.0.x/trunk/STATUS.txt Modified: tomcat/tc6.0.x/trunk/STATUS.txt URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=783768&r1=783767&r2=783768&view=diff == --- tomcat/tc6.0.x/trunk/STATUS.txt (original) +++ tomcat/tc6.0.x/trunk/STATUS.txt Thu Jun 11 13:50:26 2009 @@ -137,11 +137,22 @@ http://svn.apache.org/viewvc?rev=783696&view=rev +1: markt -1: + kkolinko: A comment in build.xml mentions "${commons-collections.home}". + You may remove that one too. * Update commons-pool to 1.5. http://svn.apache.org/viewvc?rev=783697&view=rev +1: markt -1: + kkolinko: 'and download' won't download the file and will stop with a build + error, unless you manually delete the ${tomcat-dbcp.jar} file or otherwise + start with a clean environment. The rev.783762 proposed below fixes this + issue. + +* Fix download task dependency for commons-pool and commons-dbcp. + http://svn.apache.org/viewvc?rev=783762&view=rev + +1: kkolinko + -1: * Make diagnosing broken requests a little easier http://svn.apache.org/viewvc?rev=783724&view=rev - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: svn commit: r783768 - /tomcat/tc6.0.x/trunk/STATUS.txt
kkoli...@apache.org wrote: > Author: kkolinko > Date: Thu Jun 11 13:50:26 2009 > New Revision: 783768 > > URL: http://svn.apache.org/viewvc?rev=783768&view=rev > Log: > comments and proposal > > Modified: > tomcat/tc6.0.x/trunk/STATUS.txt > > Modified: tomcat/tc6.0.x/trunk/STATUS.txt > URL: > http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=783768&r1=783767&r2=783768&view=diff > == > --- tomcat/tc6.0.x/trunk/STATUS.txt (original) > +++ tomcat/tc6.0.x/trunk/STATUS.txt Thu Jun 11 13:50:26 2009 > @@ -137,11 +137,22 @@ >http://svn.apache.org/viewvc?rev=783696&view=rev >+1: markt >-1: > + kkolinko: A comment in build.xml mentions "${commons-collections.home}". > + You may remove that one too. > > * Update commons-pool to 1.5. >http://svn.apache.org/viewvc?rev=783697&view=rev >+1: markt >-1: > + kkolinko: 'and download' won't download the file and will stop with a build > + error, unless you manually delete the ${tomcat-dbcp.jar} file or otherwise > + start with a clean environment. The rev.783762 proposed below fixes this > + issue. ant clean-depend should fix that for you but your fix is nicer > + > +* Fix download task dependency for commons-pool and commons-dbcp. > + http://svn.apache.org/viewvc?rev=783762&view=rev > + +1: kkolinko > + -1: > > * Make diagnosing broken requests a little easier >http://svn.apache.org/viewvc?rev=783724&view=rev > > > > - > 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: r783779 - /tomcat/trunk/java/org/apache/tomcat/util/buf/HexUtils.java
Author: markt Date: Thu Jun 11 14:16:49 2009 New Revision: 783779 URL: http://svn.apache.org/viewvc?rev=783779&view=rev Log: Experiment with the UCDetector (Unused Code Detector) plug-in for Eclipse. Remove all the code from the class that isn't used anywhere in Tomcat. Modified: tomcat/trunk/java/org/apache/tomcat/util/buf/HexUtils.java Modified: tomcat/trunk/java/org/apache/tomcat/util/buf/HexUtils.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/buf/HexUtils.java?rev=783779&r1=783778&r2=783779&view=diff == --- tomcat/trunk/java/org/apache/tomcat/util/buf/HexUtils.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/buf/HexUtils.java Thu Jun 11 14:16:49 2009 @@ -17,12 +17,9 @@ package org.apache.tomcat.util.buf; -import java.io.ByteArrayOutputStream; -import org.apache.tomcat.util.res.StringManager; - /** - * Library of utility methods useful in dealing with converting byte arrays - * to and from strings of hexadecimal digits. + * Tables useful when converting byte arrays to and from strings of hexadecimal + * digits. * Code from Ajp11, from Apache's JServ. * * @author Craig R. McClanahan @@ -66,136 +63,14 @@ (byte) 'c', (byte) 'd', (byte) 'e', (byte) 'f' }; -/** - * The string manager for this package. - */ -private static StringManager sm = - StringManager.getManager("org.apache.tomcat.util.buf.res"); - - // - Static Methods /** - * Convert a String of hexadecimal digits into the corresponding - * byte array by encoding each two hexadecimal digits as a byte. - * - * @param digits Hexadecimal digits representation - * - * @exception IllegalArgumentException if an invalid hexadecimal digit - * is found, or the input string contains an odd number of hexadecimal - * digits - */ -public static byte[] convert(String digits) { - - ByteArrayOutputStream baos = new ByteArrayOutputStream(); - for (int i = 0; i < digits.length(); i += 2) { - char c1 = digits.charAt(i); - if ((i+1) >= digits.length()) - throw new IllegalArgumentException - (sm.getString("hexUtil.odd")); - char c2 = digits.charAt(i + 1); - byte b = 0; - if ((c1 >= '0') && (c1 <= '9')) - b += ((c1 - '0') * 16); - else if ((c1 >= 'a') && (c1 <= 'f')) - b += ((c1 - 'a' + 10) * 16); - else if ((c1 >= 'A') && (c1 <= 'F')) - b += ((c1 - 'A' + 10) * 16); - else - throw new IllegalArgumentException - (sm.getString("hexUtil.bad")); - if ((c2 >= '0') && (c2 <= '9')) - b += (c2 - '0'); - else if ((c2 >= 'a') && (c2 <= 'f')) - b += (c2 - 'a' + 10); - else if ((c2 >= 'A') && (c2 <= 'F')) - b += (c2 - 'A' + 10); - else - throw new IllegalArgumentException - (sm.getString("hexUtil.bad")); - baos.write(b); - } - return (baos.toByteArray()); - -} - - -/** - * Convert a byte array into a printable format containing a - * String of hexadecimal digit characters (two per byte). - * - * @param bytes Byte array representation - */ -public static String convert(byte bytes[]) { - - StringBuffer sb = new StringBuffer(bytes.length * 2); - for (int i = 0; i < bytes.length; i++) { - sb.append(convertDigit((bytes[i] >> 4))); - sb.append(convertDigit((bytes[i] & 0x0f))); - } - return (sb.toString()); - -} - -/** - * Convert 4 hex digits to an int, and return the number of converted - * bytes. - * - * @param hex Byte array containing exactly four hexadecimal digits - * - * @exception IllegalArgumentException if an invalid hexadecimal digit - * is included - */ -public static int convert2Int( byte[] hex ) { - // Code from Ajp11, from Apache's JServ - - // assert b.length==4 - // assert valid data - int len; - if(hex.length < 4 ) return 0; - if( DEC[hex[0]]<0 ) - throw new IllegalArgumentException(sm.getString("hexUtil.bad")); - len = DEC[hex[0]]; - len = len << 4; - if( DEC[hex[1]]<0 ) - throw new IllegalArgumentException(sm.getString("hexUtil.bad")); - len += DEC[hex[1]]; - len = len << 4; - if( DEC[hex[2]]<0 ) - throw new IllegalArgumentException(sm.getString("hexUtil.bad")); - len += DEC[hex[2]]; - len = len << 4; - if( DEC[hex[3]]<0 ) - throw new IllegalArgumentException(sm.getString("hexUtil.bad")); - len += DEC[hex[3]]; - return len; -} - - - -/** * Provide a mechanism for ensuring this class is
svn commit: r783784 - /tomcat/tc6.0.x/trunk/STATUS.txt
Author: kkolinko Date: Thu Jun 11 14:20:33 2009 New Revision: 783784 URL: http://svn.apache.org/viewvc?rev=783784&view=rev Log: proposal Modified: tomcat/tc6.0.x/trunk/STATUS.txt Modified: tomcat/tc6.0.x/trunk/STATUS.txt URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=783784&r1=783783&r2=783784&view=diff == --- tomcat/tc6.0.x/trunk/STATUS.txt (original) +++ tomcat/tc6.0.x/trunk/STATUS.txt Thu Jun 11 14:20:33 2009 @@ -163,3 +163,10 @@ http://svn.apache.org/viewvc?rev=783756&view=rev +1: markt -1: + +* Add explicit cast, to remove two + "non-varargs call of varargs method with inexact argument type for last parameter" + warnings during the build. + http://people.apache.org/~kkolinko/patches/2009-06-11_manager_SessionUtils_varargs.patch + +1: kkolinko + -1: - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r783788 - /tomcat/tc6.0.x/trunk/STATUS.txt
Author: markt Date: Thu Jun 11 14:23:48 2009 New Revision: 783788 URL: http://svn.apache.org/viewvc?rev=783788&view=rev Log: Proposal Modified: tomcat/tc6.0.x/trunk/STATUS.txt Modified: tomcat/tc6.0.x/trunk/STATUS.txt URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=783788&r1=783787&r2=783788&view=diff == --- tomcat/tc6.0.x/trunk/STATUS.txt (original) +++ tomcat/tc6.0.x/trunk/STATUS.txt Thu Jun 11 14:23:48 2009 @@ -170,3 +170,10 @@ http://people.apache.org/~kkolinko/patches/2009-06-11_manager_SessionUtils_varargs.patch +1: kkolinko -1: + +* Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47343 + Regression in fix for + https://issues.apache.org/bugzilla/show_bug.cgi?id=42747 + Editing context.xml should not delete resources + +1: markt + -1: - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: svn commit: r783779 - /tomcat/trunk/java/org/apache/tomcat/util/buf/HexUtils.java
ma...@apache.org wrote: > Author: markt > Date: Thu Jun 11 14:16:49 2009 > New Revision: 783779 > > URL: http://svn.apache.org/viewvc?rev=783779&view=rev > Log: > Experiment with the UCDetector (Unused Code Detector) plug-in for Eclipse. > Remove all the code from the class that isn't used anywhere in Tomcat. Early indications are that this plug-in is going to find quite a bit of code that can de deleted or restricted in visibility. What are people's thoughts on running this over the entire code base? I would image that, if done, this would be done gradually, like the conversion to use generics. Mark - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 47284] StandardContext instances are not removed from Mapper on undeploy
https://issues.apache.org/bugzilla/show_bug.cgi?id=47284 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WORKSFORME --- Comment #1 from Mark Thomas 2009-06-11 07:43:52 PST --- I can't reproduce this with 6.0.18, 6.0.x or trunk. In all cases a few seconds after removing the dir from the webapps directory, the background thread triggers the undeployment, the associated mbean is de-registered and the mapper updated. Are you removing the context via some other mechanism that is not triggering the mbean removal? If this is the case, please re-open and add the steps to reproduce. -- 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 47349] WAR file deployment doesn't work in WAN
https://issues.apache.org/bugzilla/show_bug.cgi?id=47349 --- Comment #4 from Ingolf Knopf 2009-06-11 08:04:52 PST --- I didn't measure the exact upload time. I think if the upload time is less than a second the deployment is okay, if it takes more than 2 seconds (perhaps more than 5) the deployed WAR file will not work. -- 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: svn commit: r783570 - /tomcat/current/tc4.1.x/STATUS.txt
fha...@apache.org wrote: > Modified: tomcat/current/tc4.1.x/STATUS.txt > URL: > http://svn.apache.org/viewvc/tomcat/current/tc4.1.x/STATUS.txt?rev=783570&r1=783569&r2=783570&view=diff > == > --- tomcat/current/tc4.1.x/STATUS.txt (original) > +++ tomcat/current/tc4.1.x/STATUS.txt Wed Jun 10 23:34:57 2009 > @@ -28,5 +28,5 @@ > * Provide a partial work-around for browsers that ignore charset > requirements of >RFC2616 >http://people.apache.org/~markt/patches/2009-03-03-broken-browser.patch > - +1: markt > + +1: markt, fhanik Folks, This patch is the only thing between me and a 4.1.40 tag. It needs one more +1. Any time people have to look at this will be much appreciated. Mark - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 47354] New: mod_jk does not recognize extension reply_timeout
https://issues.apache.org/bugzilla/show_bug.cgi?id=47354 Summary: mod_jk does not recognize extension reply_timeout Product: Tomcat Connectors Version: 1.2.26 Platform: Sun OS/Version: Solaris Status: NEW Severity: normal Priority: P2 Component: mod_jk AssignedTo: dev@tomcat.apache.org ReportedBy: tsur...@mail.jct.ac.il However i want to set a special reply_timeout for a special url , i am getting strange errors in log and the rule is ignored . Once i add this line: /dataj_mid/controller/finance/*=dataj_mid;reply_timeout=12 (see the full config below) I am getting in jk log this: jk_handler::mod_jk.c (2372): Could not find a worker for worker name=dataj_mid;reply_timeout=12 And i am getting error 500 from apache on those urls. Please help! Evgeny My worker.properties : ### template - applyed to all the others worker.list=dataj,dataj_dev,dataj_mid,test,jkstatus worker.template.type=ajp13 worker.template.host=localhost worker.template.port=8009 ### THE configuration parameter - timeout worker.template.reply_timeout=12 ## workers using ajp3 worker.test.reference=worker.template worker.dataj.reference=worker.template worker.dataj_dev.reference=worker.template worker.dataj_mid.reference=worker.template ### this status worker will be mounted only throught ssl and from my machine worker.jkstatus.type=status worker.jkstatus.read_only=True uriworkers.properties: /dataj_dev=dataj_dev /dataj_dev/controller/finance/*=dataj_dev /dataj_dev/*=dataj_dev; reply_timeout=12 # /dataj_mid/controller/finance/*=dataj_mid;reply_timeout=12 /dataj_mid=dataj_mid /dataj_mid/*=dataj_mid /dataj=dataj /dataj/*=dataj ###test for java env. /jtests=test /jtests/*=test -- 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: svn commit: r783779 - /tomcat/trunk/java/org/apache/tomcat/util/buf/HexUtils.java
2009/6/11 Mark Thomas : > ma...@apache.org wrote: >> Author: markt >> Date: Thu Jun 11 14:16:49 2009 >> New Revision: 783779 >> >> URL: http://svn.apache.org/viewvc?rev=783779&view=rev >> Log: >> Experiment with the UCDetector (Unused Code Detector) plug-in for Eclipse. >> Remove all the code from the class that isn't used anywhere in Tomcat. > > Early indications are that this plug-in is going to find quite a bit of > code that can de deleted or restricted in visibility. > > What are people's thoughts on running this over the entire code base? > > I would image that, if done, this would be done gradually, like the > conversion to use generics. > > Mark > If you want to do it, then why not? It is your time to spend. It is good to have some automated code review now before TC 7, because it may be hard to fix some issues once it is released. My experience with such tools is that you need to specify some set of "entry points", including possible reflection calls and classes specified through configuration, etc. and that may be hard. I do not know how hard it will be with this tool, and how many "// NO_UCD" comments [1] will be needed to dispose most of false positives. That will be your experience. [1] http://www.ucdetector.org/ But, certainly, running a tool must be easier than doing manual review In one of my last projects I used coverage results to find unused code. (Thanks to EclEmma plugin for Eclipse). Those results, though require much more work, are more reliable. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 47298] enabled emptysessionpath not checking if route replacement is needed
https://issues.apache.org/bugzilla/show_bug.cgi?id=47298 --- Comment #3 from Filip Hanik 2009-06-11 09:28:36 PST --- James, I see your issue. While the documentation http://tomcat.apache.org/tomcat-6.0-doc/config/http.html only has the behavior documented as "setting cookie Path=/" it over 4 years ago also introduced a side effect of creating a session with the supplied ID. This behavior is too old to be changed in the way you requested, even though its not properly documented. In Tomcat 7 (Servlet 3.0) there is a standard way of configuring the session cookie paramneters (such as path) so this wont be an issue. For Tomcat 6, I will attach a simple code solution that would work to rewrite the JVM route in a Valve to solve your problem. I will therefor close the issue as WONT FIX. Please see my attached valve for how you could solve your specific use case. -- 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 47298] enabled emptysessionpath not checking if route replacement is needed
https://issues.apache.org/bugzilla/show_bug.cgi?id=47298 --- Comment #4 from Filip Hanik 2009-06-11 09:29:56 PST --- Created an attachment (id=23796) --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23796) Work around for undocumented behavior of emptySessionPath -- 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 47298] enabled emptysessionpath not checking if route replacement is needed
https://issues.apache.org/bugzilla/show_bug.cgi?id=47298 Filip Hanik changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX -- 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 44382] Need to add support for HTTPOnly session cookie parameter
https://issues.apache.org/bugzilla/show_bug.cgi?id=44382 --- Comment #20 from Dillon Sellars 2009-06-11 09:32:19 PST --- (In reply to comment #17) > This has been implemented in 6.0.x and will be included in 6.0.19 onwards. It > is disabled by default so you need to use: > > > > > > to enable it. This was moved out of Manager with http://svn.apache.org/viewvc?rev=750918&view=rev but is still documented in webapps/docs/config/manager.xml - missed removing the documentation in the Standard Manager Implementation section. This is Context only, i.e. the following will do the trick: ... -- 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: r783837 - /tomcat/trunk/webapps/docs/config/http.xml
Author: fhanik Date: Thu Jun 11 16:37:20 2009 New Revision: 783837 URL: http://svn.apache.org/viewvc?rev=783837&view=rev Log: Document emptySessionPath behavior Modified: tomcat/trunk/webapps/docs/config/http.xml Modified: tomcat/trunk/webapps/docs/config/http.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/http.xml?rev=783837&r1=783836&r2=783837&view=diff == --- tomcat/trunk/webapps/docs/config/http.xml (original) +++ tomcat/trunk/webapps/docs/config/http.xml Thu Jun 11 16:37:20 2009 @@ -79,7 +79,13 @@ If set to true, all paths for session cookies will be set to /. This can be useful for portlet specification implementations. - If not specified, this attribute is set to false. + If not specified, this attribute is set to false. + A side effect to setting this to true, is that if Tomcat creates a new session it will attempt to use the + cookie session id if supplied by the client. + http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/connector/Request.java?diff_format=h&view=log#rev303682";>SVN check in + http://tomcat.markmail.org/search/?q=emptysessionpath%20reuse#query:emptysessionpath%20reuse%20date%3A200502%20+page:1+mid:2bocwjhn3cczsoii+state:results";>Dev discussion + https://issues.apache.org/bugzilla/show_bug.cgi?id=47298";>Work around + - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: [VOTE] Release JDBC Pool module v1.0.3
How about a little love here :) my vote [X] STABLE - I couldn't find any bugs Filip Filip Hanik - Dev Lists wrote: The release is located here: http://people.apache.org/~fhanik/jdbc-pool/v1.0.3/ [ ] BETA - I found some bugs but not critical [ ] BROKEN - I found some show stoppers Any comments ? Thanks, Filip - 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: r783839 - /tomcat/tc6.0.x/trunk/STATUS.txt
Author: fhanik Date: Thu Jun 11 16:40:55 2009 New Revision: 783839 URL: http://svn.apache.org/viewvc?rev=783839&view=rev Log: proposal Modified: tomcat/tc6.0.x/trunk/STATUS.txt Modified: tomcat/tc6.0.x/trunk/STATUS.txt URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=783839&r1=783838&r2=783839&view=diff == --- tomcat/tc6.0.x/trunk/STATUS.txt (original) +++ tomcat/tc6.0.x/trunk/STATUS.txt Thu Jun 11 16:40:55 2009 @@ -177,3 +177,10 @@ Editing context.xml should not delete resources +1: markt -1: + +* Document emptySessionPath behavior + Behavior is too old to change the way bug specifier requested, and obsolete in TC 7 + http://svn.apache.org/viewvc?rev=783837&view=rev + https://issues.apache.org/bugzilla/show_bug.cgi?id=47298 + +1: fhanik + -1: - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r783840 - /tomcat/trunk/webapps/docs/config/manager.xml
Author: markt Date: Thu Jun 11 16:43:37 2009 New Revision: 783840 URL: http://svn.apache.org/viewvc?rev=783840&view=rev Log: This was moved to the context Modified: tomcat/trunk/webapps/docs/config/manager.xml Modified: tomcat/trunk/webapps/docs/config/manager.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/manager.xml?rev=783840&r1=783839&r2=783840&view=diff == --- tomcat/trunk/webapps/docs/config/manager.xml (original) +++ tomcat/trunk/webapps/docs/config/manager.xml Thu Jun 11 16:43:37 2009 @@ -264,12 +264,6 @@ The default is 16. - - Should the HttpOnly flag be set on session cookies to prevent client - side script from accessing the session ID? Defaults to - true. - - In order to successfully use a PersistentManager, you must nest inside - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r783841 - /tomcat/tc6.0.x/trunk/webapps/docs/config/manager.xml
Author: markt Date: Thu Jun 11 16:44:01 2009 New Revision: 783841 URL: http://svn.apache.org/viewvc?rev=783841&view=rev Log: This was moved to the context Modified: tomcat/tc6.0.x/trunk/webapps/docs/config/manager.xml Modified: tomcat/tc6.0.x/trunk/webapps/docs/config/manager.xml URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/config/manager.xml?rev=783841&r1=783840&r2=783841&view=diff == --- tomcat/tc6.0.x/trunk/webapps/docs/config/manager.xml (original) +++ tomcat/tc6.0.x/trunk/webapps/docs/config/manager.xml Thu Jun 11 16:44:01 2009 @@ -157,12 +157,6 @@ The default is 16. - - Should the HttpOnly flag be set on session cookies to prevent client - side script from accessing the session ID? Defaults to - false. - - Persistent Manager Implementation - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 44382] Need to add support for HTTPOnly session cookie parameter
https://issues.apache.org/bugzilla/show_bug.cgi?id=44382 --- Comment #21 from Mark Thomas 2009-06-11 09:44:45 PST --- Sorry about that. I just removed it from trunk and 6.0.x -- 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: r783848 - /tomcat/tc6.0.x/trunk/STATUS.txt
Author: fhanik Date: Thu Jun 11 16:58:48 2009 New Revision: 783848 URL: http://svn.apache.org/viewvc?rev=783848&view=rev Log: votes Modified: tomcat/tc6.0.x/trunk/STATUS.txt Modified: tomcat/tc6.0.x/trunk/STATUS.txt URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=783848&r1=783847&r2=783848&view=diff == --- tomcat/tc6.0.x/trunk/STATUS.txt (original) +++ tomcat/tc6.0.x/trunk/STATUS.txt Thu Jun 11 16:58:48 2009 @@ -108,13 +108,14 @@ that was forgotten when applying it to tc6.0 in http://svn.apache.org/viewvc?view=rev&revision=708165 ) - +1: kkolinko, markt + +1: kkolinko, markt, fhanik -1: * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47158 Thread safety issues in AccessLogValve http://svn.apache.org/viewvc?rev=781779&view=rev +1: markt, funkman + +1: fhanik - still has thread safety issues during rotation -1: * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47318 @@ -135,14 +136,14 @@ * Remove commons-collections from the build. It is unused. http://svn.apache.org/viewvc?rev=783696&view=rev - +1: markt + +1: markt, fhanik -1: kkolinko: A comment in build.xml mentions "${commons-collections.home}". You may remove that one too. * Update commons-pool to 1.5. http://svn.apache.org/viewvc?rev=783697&view=rev - +1: markt + +1: markt, fhanik -1: kkolinko: 'and download' won't download the file and will stop with a build error, unless you manually delete the ${tomcat-dbcp.jar} file or otherwise @@ -157,25 +158,26 @@ * Make diagnosing broken requests a little easier http://svn.apache.org/viewvc?rev=783724&view=rev +1: markt + +1: fhanik - StringBuffer never hurts -1: * Log context deployment consistently for war/dir/xml http://svn.apache.org/viewvc?rev=783756&view=rev - +1: markt + +1: markt, fhanik -1: * Add explicit cast, to remove two "non-varargs call of varargs method with inexact argument type for last parameter" warnings during the build. http://people.apache.org/~kkolinko/patches/2009-06-11_manager_SessionUtils_varargs.patch - +1: kkolinko + +1: kkolinko, fhanik -1: * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47343 Regression in fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=42747 Editing context.xml should not delete resources - +1: markt + +1: markt, fhanik -1: * Document emptySessionPath behavior - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: svn commit: r783570 - /tomcat/current/tc4.1.x/STATUS.txt
2009/6/11 Mark Thomas : > fha...@apache.org wrote: >> Modified: tomcat/current/tc4.1.x/STATUS.txt >> URL: >> http://svn.apache.org/viewvc/tomcat/current/tc4.1.x/STATUS.txt?rev=783570&r1=783569&r2=783570&view=diff >> == >> --- tomcat/current/tc4.1.x/STATUS.txt (original) >> +++ tomcat/current/tc4.1.x/STATUS.txt Wed Jun 10 23:34:57 2009 >> @@ -28,5 +28,5 @@ >> * Provide a partial work-around for browsers that ignore charset >> requirements of >> RFC2616 >> http://people.apache.org/~markt/patches/2009-03-03-broken-browser.patch >> - +1: markt >> + +1: markt, fhanik > > Folks, > > This patch is the only thing between me and a 4.1.40 tag. It needs one > more +1. Any time people have to look at this will be much appreciated. > > Mark > It is odd to see that encoding is being set after obtaining a writer, but the old code does effectively the same, isn't it? May be I do not understand something... Best regards, Konstantin Kolinko - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r783863 - /tomcat/trunk/dist.xml
Author: kkolinko Date: Thu Jun 11 17:51:08 2009 New Revision: 783863 URL: http://svn.apache.org/viewvc?rev=783863&view=rev Log: Provide documentation for deployer. We do not have "printer" versions of our documentation pages anymore, so I am using the common version. Also, I removed "failonerror=false" flag, and removed renaming of the document. I see no point in renaming it. It was moved to the root folder, to remain relative to the images. Modified: tomcat/trunk/dist.xml Modified: tomcat/trunk/dist.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/dist.xml?rev=783863&r1=783862&r2=783863&view=diff == --- tomcat/trunk/dist.xml (original) +++ tomcat/trunk/dist.xml Thu Jun 11 17:51:08 2009 @@ -317,13 +317,12 @@ - + - + - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r783864 - /tomcat/tc6.0.x/trunk/STATUS.txt
Author: kkolinko Date: Thu Jun 11 17:54:07 2009 New Revision: 783864 URL: http://svn.apache.org/viewvc?rev=783864&view=rev Log: proposal Modified: tomcat/tc6.0.x/trunk/STATUS.txt Modified: tomcat/tc6.0.x/trunk/STATUS.txt URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=783864&r1=783863&r2=783864&view=diff == --- tomcat/tc6.0.x/trunk/STATUS.txt (original) +++ tomcat/tc6.0.x/trunk/STATUS.txt Thu Jun 11 17:54:07 2009 @@ -186,3 +186,9 @@ https://issues.apache.org/bugzilla/show_bug.cgi?id=47298 +1: fhanik -1: + +* Provide documentation for deployer. + It is a fix for "cannot copy" warning observed during building a release. + http://svn.apache.org/viewvc?rev=783863&view=rev + +1: kkolinko + -1: - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 47354] mod_jk does not recognize extension reply_timeout
https://issues.apache.org/bugzilla/show_bug.cgi?id=47354 Mladen Turk changed: What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID --- Comment #1 from Mladen Turk 2009-06-11 11:13:53 PST --- Please use latest version (1.2.28) We are not going to fix 1.2.26 version of mod_jk -- 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 JDBC Pool module v1.0.3
Sorry for somewhat slow reply, but just on formal grounds it is [x] BROKEN - I found some show stoppers See http://apache.org/legal/src-headers.html#notice http://www.apache.org/dev/release.html#distribute-other-artifacts So, a copy of a LICENSE and NOTICE files is required, at least along with the other files in *.zip and *.tar.gz I would also add a copy of those file into META-INF directory of the tomcat-jdbc.jar, and either in META-INF or in the root directory of tomcat-jdbc-src.jar (why it should be META-INF of src.jar - I do not know, but I see that projects in commons.apache.org are doing so) Minor issues: 1. changelog.html IS MISSING 2009/6/11 Filip Hanik - Dev Lists : > How about a little love here :) > my vote > > [X] STABLE - I couldn't find any bugs > > > Filip > Filip Hanik - Dev Lists wrote: >> >> The release is located here: >> http://people.apache.org/~fhanik/jdbc-pool/v1.0.3/ >> >> >> >> [ ] BETA - I found some bugs but not critical >> [ ] BROKEN - I found some show stoppers >> >> >> Any comments ? >> >> Thanks, >> Filip >> >> >> >> - >> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: dev-h...@tomcat.apache.org >> >> > > > - > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org > > - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: [VOTE] Release JDBC Pool module v1.0.3
2009/6/11 Konstantin Kolinko : > Sorry for somewhat slow reply, > but just on formal grounds it is > > [x] BROKEN - I found some show stoppers > > See > http://apache.org/legal/src-headers.html#notice > http://www.apache.org/dev/release.html#distribute-other-artifacts > > So, a copy of a LICENSE and NOTICE files is required, at least along > with the other files in *.zip and *.tar.gz > > I would also add a copy of those file into META-INF directory of the > tomcat-jdbc.jar, and > either in META-INF or in the root directory of tomcat-jdbc-src.jar > (why it should be META-INF of src.jar - I do not know, but I see that > projects in commons.apache.org are doing so) > > Minor issues: > 1. changelog.html IS MISSING (ops.. sorry -sent unfinished letter) Minor issues: 1. changelog.html is missing from the *.tar.gz file 2. changelog.html, jdbc-pool.html need images: tomcat.gif asf-logo.gif add.gif fix.gif update.gif 3. jdbc-pool.html is hard to read because of horizontal scrolling Is it possible to allow spaces in jdbcInterceptors property, and split that string into several lines? 4. jdbc-pool.html: "tomcat-jdbc-pool, is 8 classes" I see more than 8 :) Best regards, Konstantin Kolinko - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: svn commit: r783570 - /tomcat/current/tc4.1.x/STATUS.txt
Konstantin Kolinko wrote: > 2009/6/11 Mark Thomas : >> fha...@apache.org wrote: >>> Modified: tomcat/current/tc4.1.x/STATUS.txt >>> URL: >>> http://svn.apache.org/viewvc/tomcat/current/tc4.1.x/STATUS.txt?rev=783570&r1=783569&r2=783570&view=diff >>> == >>> --- tomcat/current/tc4.1.x/STATUS.txt (original) >>> +++ tomcat/current/tc4.1.x/STATUS.txt Wed Jun 10 23:34:57 2009 >>> @@ -28,5 +28,5 @@ >>> * Provide a partial work-around for browsers that ignore charset >>> requirements of >>>RFC2616 >>>http://people.apache.org/~markt/patches/2009-03-03-broken-browser.patch >>> - +1: markt >>> + +1: markt, fhanik >> Folks, >> >> This patch is the only thing between me and a 4.1.40 tag. It needs one >> more +1. Any time people have to look at this will be much appreciated. >> >> Mark >> > > It is odd to see that encoding is being set after obtaining a writer, > but the old code does effectively the same, isn't it? May be I do not > understand something... RFC2616 requires that responses without a charset in the content type must be treated as ISO-8859-1. A number of browsers ignore this and try and guess the type. This makes the browsers vulnerable to a UTF-7 based XSS attack. The browser vendors view guessing the charset as a feature. The Tomcat and httpd security teams view it as non-spec compliance that leads to a security vulnerability. As a result of a reported UTF-7 XSS vulnerability (it was rejected by both the httpd and Tomcat security teams as a browser issue) we reviewed the options available in Tomcat for sysadmins to work-around this browser 'feature'. For all versions, app developers can provide their own valve or filter to address this issue. TC5 & TC6 have STRICT_SERVLET_COMPLIANCE which ensures a charset is always sent with the response. We also added the AddDefaultCharset filter to trunk. This mimics httpd's AddDefaultCharset directive. For Tomcat 4 the error reporting valve provided a code path where a UTF-7 XSS code be triggered. Unlike 5.5.x and 6.0.x there was no simple config option that would prevent this. Hence the change in the patch above that prevents this by ensuring that the response sent to the browser includes a charset. So in short, the patch is a sticking plaster for a browser vulnerability. Since the browser issue has been discussed at great length in public, this wasn't handled on the security list. Mark - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: [VOTE] Release JDBC Pool module v1.0.3
Konstantin Kolinko wrote: 2009/6/11 Konstantin Kolinko : Sorry for somewhat slow reply, but just on formal grounds it is [x] BROKEN - I found some show stoppers See http://apache.org/legal/src-headers.html#notice http://www.apache.org/dev/release.html#distribute-other-artifacts will do So, a copy of a LICENSE and NOTICE files is required, at least along with the other files in *.zip and *.tar.gz I would also add a copy of those file into META-INF directory of the tomcat-jdbc.jar, and either in META-INF or in the root directory of tomcat-jdbc-src.jar (why it should be META-INF of src.jar - I do not know, but I see that projects in commons.apache.org are doing so) Minor issues: 1. changelog.html IS MISSING (ops.. sorry -sent unfinished letter) Minor issues: 1. changelog.html is missing from the *.tar.gz file 2. changelog.html, jdbc-pool.html need images: tomcat.gif asf-logo.gif add.gif fix.gif update.gif these will be automatically linked up on the site, when the jdbc-pool gets uploaded to our website 3. jdbc-pool.html is hard to read because of horizontal scrolling Is it possible to allow spaces in jdbcInterceptors property, and split that string into several lines? 4. jdbc-pool.html: "tomcat-jdbc-pool, is 8 classes" I see more than 8 :) Best regards, Konstantin Kolinko - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: [VOTE] Release JDBC Pool module v1.0.3
>> 2. changelog.html, jdbc-pool.html need images: >> tomcat.gif >> asf-logo.gif >> add.gif >> fix.gif >> update.gif >> > > these will be automatically linked up on the site, when the jdbc-pool gets > uploaded to our website These apache-tomcat-jdbc-1.0.3.zip, *.tar.gz are distribution that will be downloadable, aren't they? Unpacking a distribution and clicking those *.html files will open a document with missing images. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r783894 - /tomcat/trunk/java/org/apache/catalina/core/StandardContext.java
Author: markt Date: Thu Jun 11 20:23:37 2009 New Revision: 783894 URL: http://svn.apache.org/viewvc?rev=783894&view=rev Log: Remove some experimental code Modified: tomcat/trunk/java/org/apache/catalina/core/StandardContext.java Modified: tomcat/trunk/java/org/apache/catalina/core/StandardContext.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/StandardContext.java?rev=783894&r1=783893&r2=783894&view=diff == --- tomcat/trunk/java/org/apache/catalina/core/StandardContext.java (original) +++ tomcat/trunk/java/org/apache/catalina/core/StandardContext.java Thu Jun 11 20:23:37 2009 @@ -669,8 +669,6 @@ protected int cacheTTL = 5000; -private boolean lazy=true; - /** * Non proxied resources. */ @@ -1361,16 +1359,6 @@ } -// experimental -public boolean isLazy() { -return lazy; -} - -public void setLazy(boolean lazy) { -this.lazy = lazy; -} - - /** * Return descriptive information about this Container implementation and * the corresponding version number, in the format - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: svn commit: r783570 - /tomcat/current/tc4.1.x/STATUS.txt
Thank you for detailed explanation. My analysis is the following: hres.setLocale(locale); call -> o.a.c.Response.setLocale() -> o.a.c.connector.ResponseBase.setLocale() In o.a.c.connector.ResponseBase.setLocale() it calls CharsetMapper.getCharset(locale) and updates the contentType header. The problem is with those locales for which CharsetMapper.getCharset(locale) returns null. There is an error in ResponseBase.setLocale() that it will set contentType = contentType + ";charset=null" in those cases. How about fixing that? My understanding is that it will solve the issue, and won't change the error page encoding for existing applications. We cannot fix CharsetMapper, because it can be overwritten, but we can fix those places where it is called. Here is the patch: http://people.apache.org/~kkolinko/patches/2009-06-12_tc41_CharsetMapper.patch Best regards, Konstantin Kolinko - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: svn commit: r783570 - /tomcat/current/tc4.1.x/STATUS.txt
Konstantin Kolinko wrote: > Thank you for detailed explanation. > > My analysis is the following: > hres.setLocale(locale); > call -> o.a.c.Response.setLocale() -> > o.a.c.connector.ResponseBase.setLocale() > > In o.a.c.connector.ResponseBase.setLocale() it calls > CharsetMapper.getCharset(locale) > and updates the contentType header. > > The problem is with those locales for which CharsetMapper.getCharset(locale) > returns null. There is an error in ResponseBase.setLocale() that it will set > contentType = contentType + ";charset=null" > in those cases. How about fixing that? > > My understanding is that it will solve the issue, and won't change the > error page encoding for existing applications. > > We cannot fix CharsetMapper, because it can be overwritten, but we can > fix those places where it is called. > > Here is the patch: > http://people.apache.org/~kkolinko/patches/2009-06-12_tc41_CharsetMapper.patch Yep, that would also fix the issue. However, that patch changes the behaviour of setLocale(). Whilst it shouldn't cause a regression there is a risk that it might for some applications. The 'right' / 'proper' fix for TC4 would be to implement STRICT_SERVLET_COMPLIANCE and in particular, the change to getWriter(). Again, there is the risk of regression with this approach. TC6 and TC5 already use UTF-8 for Tomcat's default error page. The proposed TC4 page brings TC4 into line with TC5 and TC6. My personal preference is for the small as possible 'band-aid' approach to minimise the regression risk. Mark - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r783934 - in /tomcat/trunk: dist.xml res/tomcat.nsi
Author: kkolinko Date: Thu Jun 11 21:53:34 2009 New Revision: 783934 URL: http://svn.apache.org/viewvc?rev=783934&view=rev Log: There are no 64-bit GUI binaries. (see rev.779927,-28,-30) The 32-bit version can manage both 32 and 64 bit tomcat(X).exe Updating the build scripts accordingly. Modified: tomcat/trunk/dist.xml tomcat/trunk/res/tomcat.nsi Modified: tomcat/trunk/dist.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/dist.xml?rev=783934&r1=783933&r2=783934&view=diff == --- tomcat/trunk/dist.xml (original) +++ tomcat/trunk/dist.xml Thu Jun 11 21:53:34 2009 @@ -361,13 +361,9 @@ - - Modified: tomcat/trunk/res/tomcat.nsi URL: http://svn.apache.org/viewvc/tomcat/trunk/res/tomcat.nsi?rev=783934&r1=783933&r2=783934&view=diff == --- tomcat/trunk/res/tomcat.nsi (original) +++ tomcat/trunk/res/tomcat.nsi Thu Jun 11 21:53:34 2009 @@ -178,10 +178,10 @@ File /oname=tom...@version_major@w.exe bin\tom...@version_major@w.exe StrCmp $0 "AMD64" 0 +3 File /oname=tom...@version_major@.exe bin\procrun\amd64\tom...@version_major@.exe - File /oname=tom...@version_major@w.exe bin\procrun\amd64\tom...@version_major@w.exe + File /oname=tom...@version_major@w.exe bin\tom...@version_major@w.exe StrCmp $0 "IA64" 0 +3 File /oname=tom...@version_major@.exe bin\procrun\ia64\tom...@version_major@.exe - File /oname=tom...@version_major@w.exe bin\procrun\ia64\tom...@version_major@w.exe + File /oname=tom...@version_major@w.exe bin\tom...@version_major@w.exe InstallRetry: ClearErrors - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r783942 - /tomcat/tc6.0.x/trunk/STATUS.txt
Author: kkolinko Date: Thu Jun 11 22:16:11 2009 New Revision: 783942 URL: http://svn.apache.org/viewvc?rev=783942&view=rev Log: proposal Modified: tomcat/tc6.0.x/trunk/STATUS.txt Modified: tomcat/tc6.0.x/trunk/STATUS.txt URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=783942&r1=783941&r2=783942&view=diff == --- tomcat/tc6.0.x/trunk/STATUS.txt (original) +++ tomcat/tc6.0.x/trunk/STATUS.txt Thu Jun 11 22:16:11 2009 @@ -192,3 +192,12 @@ http://svn.apache.org/viewvc?rev=783863&view=rev +1: kkolinko -1: + +* Update the build scripts, because there are no 64-bit GUI binaries. + (Fixes release build failure caused by +http://svn.apache.org/viewvc?view=rev&revision=779930 + ) + Discussion: http://markmail.org/message/nhkrskh6bwyirwru + http://svn.apache.org/viewvc?rev=783934&view=rev + +1: kkolinko + -1: - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r783943 - /tomcat/current/tc5.5.x/STATUS.txt
Author: kkolinko Date: Thu Jun 11 22:24:18 2009 New Revision: 783943 URL: http://svn.apache.org/viewvc?rev=783943&view=rev Log: proposal Modified: tomcat/current/tc5.5.x/STATUS.txt Modified: tomcat/current/tc5.5.x/STATUS.txt URL: http://svn.apache.org/viewvc/tomcat/current/tc5.5.x/STATUS.txt?rev=783943&r1=783942&r2=783943&view=diff == --- tomcat/current/tc5.5.x/STATUS.txt (original) +++ tomcat/current/tc5.5.x/STATUS.txt Thu Jun 11 22:24:18 2009 @@ -122,9 +122,21 @@ * Make 64-bit binaries/installer available for 5.5.x as well as 6.0.x http://svn.apache.org/viewvc?rev=777624&view=rev +1: markt, fhanik - -1: - kkolinko: good, but needs an amendment, because some files were deleted in + +1: kkolinko (good, +but it won't work without rev=783934 patch that I am proposing below, +because some files were deleted in http://svn.apache.org/viewvc?view=rev&revision=779927 + ) + -1: + +* Update the build scripts, because there are no 64-bit GUI binaries. + Discussion: http://markmail.org/message/nhkrskh6bwyirwru + It is amendment to the rev=777624 patch proposed above. + http://svn.apache.org/viewvc?rev=783934&view=rev + +1: kkolinko + -1: + + * Fix download task for NSIS so that it installs what it downloads, instead of just downloading an exe installer. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r783949 - in /tomcat: container/branches/tc4.1.x/webapps/tomcat-docs/config/context.xml container/tc5.5.x/webapps/docs/config/context.xml tc6.0.x/trunk/webapps/docs/config/context.xml trun
Author: markt Date: Thu Jun 11 22:41:53 2009 New Revision: 783949 URL: http://svn.apache.org/viewvc?rev=783949&view=rev Log: Fix typo in the docs. Modified: tomcat/container/branches/tc4.1.x/webapps/tomcat-docs/config/context.xml tomcat/container/tc5.5.x/webapps/docs/config/context.xml tomcat/tc6.0.x/trunk/webapps/docs/config/context.xml tomcat/trunk/webapps/docs/config/context.xml Modified: tomcat/container/branches/tc4.1.x/webapps/tomcat-docs/config/context.xml URL: http://svn.apache.org/viewvc/tomcat/container/branches/tc4.1.x/webapps/tomcat-docs/config/context.xml?rev=783949&r1=783948&r2=783949&view=diff == --- tomcat/container/branches/tc4.1.x/webapps/tomcat-docs/config/context.xml (original) +++ tomcat/container/branches/tc4.1.x/webapps/tomcat-docs/config/context.xml Thu Jun 11 22:41:53 2009 @@ -225,7 +225,7 @@ -If the value of this flag is true, all case sensitivity +If the value of this flag is false, all case sensitivity checks will be disabled. If not specified, the default value of the flag is true. NOTE: This flag MUST NOT be set to false on the Windows platform Modified: tomcat/container/tc5.5.x/webapps/docs/config/context.xml URL: http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/webapps/docs/config/context.xml?rev=783949&r1=783948&r2=783949&view=diff == --- tomcat/container/tc5.5.x/webapps/docs/config/context.xml (original) +++ tomcat/container/tc5.5.x/webapps/docs/config/context.xml Thu Jun 11 22:41:53 2009 @@ -309,7 +309,7 @@ -If the value of this flag is true, all case sensitivity +If the value of this flag is false, all case sensitivity checks will be disabled. If not specified, the default value of the flag is true. NOTE: This flag MUST NOT be set to false on the Windows platform Modified: tomcat/tc6.0.x/trunk/webapps/docs/config/context.xml URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/config/context.xml?rev=783949&r1=783948&r2=783949&view=diff == --- tomcat/tc6.0.x/trunk/webapps/docs/config/context.xml (original) +++ tomcat/tc6.0.x/trunk/webapps/docs/config/context.xml Thu Jun 11 22:41:53 2009 @@ -319,7 +319,7 @@ -If the value of this flag is true, all case sensitivity +If the value of this flag is false, all case sensitivity checks will be disabled. If not specified, the default value of the flag is true. NOTE: This flag MUST NOT be set to false on the Windows platform Modified: tomcat/trunk/webapps/docs/config/context.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/context.xml?rev=783949&r1=783948&r2=783949&view=diff == --- tomcat/trunk/webapps/docs/config/context.xml (original) +++ tomcat/trunk/webapps/docs/config/context.xml Thu Jun 11 22:41:53 2009 @@ -319,7 +319,7 @@ -If the value of this flag is true, all case sensitivity +If the value of this flag is false, all case sensitivity checks will be disabled. If not specified, the default value of the flag is true. NOTE: This flag MUST NOT be set to false on the Windows platform - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
AJP connector free port scanning
Hi all I¹ve noticed an unexpected and undocumented behaviour in the AJP connector in Tomcat 5.5.27. I¹ve configured the AJP connector to run on port 8009, which is occupied by another process, but instead of failing the connector continues to scan until it hits a free port and uses that. Inspection of the source confirms that the coded behaviour is to scan up to the configured port + 10 to find a free port. I can¹t find any reference to this in the documentation, and I¹m struggling to understand why this is the intended behaviour there¹s nothing in mod_jk that I know of that would reciprocate the port scanning to ensure the newly started AJP connector actually got wired to something (and even if there was, there¹s no way that¹d be safe since it could run into other apps running on the ports the Tomcat side skipped). There are comments in the code that indicate that setting maxPort on the connector to 0 enables backward compatibility¹ by disabling the scanning, but this doesn¹t seem to work via server.xml. Can anyone shed light on the decisions behind this behaviour, and what one can do to get the AJP connector to start on a predictable port? cheers tim
Re: [VOTE] Release JDBC Pool module v1.0.3
Apart from the problems with N&L files etc that have already been mentioned, I found the following: == The changelog.html file refers to Tomcat JDBC Connection Pool *v1.0.5-beta* which looks wrong. == The documentation for the Interceptors appears to be incorrect. For example: The code sample: jdbcInterceptors="ConnectionState;StatementFinalizer(useWeakReferences=true,useEquals=true)" implies that StatementFinalizer has a property useWeakReferences, but that does not appear to be the case - and it is not documented in any sections below. Also SlowQueryReport does not have a threshold attribute. There may be other inconsistencies; I did not check it all The Copyright years in the html files are wrong. == As to the source: There does not appear to be a build file or any test cases so it's not easy to check if the code works as intended. I was able to build the POJO sample, and it worked against Apache Derby after making the necessary changes. However this does not constitute a thorough test. There are some threading issues, e.g. the ConnectionPool.closed boolean field is accessed by multiple threads, but is not synchronized or volatile. This will probably work most of the time, but is not guaranteed to work. It's confusing to have two classes called ConnectionPool (or is this required by JMX/MBean?) Likewise, the class name org.apache.tomcat.jdbc.pool.DataSource shadows the simple name of the implemented interface javax.sql.DataSource. This can cause confusion. == There are some dubious coding practices, e.g. The method Statement#close() throws SQLException, yet the code catches and ignores Exception (e.g. in StatementFinalizer). The fields: interceptor.AbstractCreateStatementInterceptor.statements and interceptor.AbstractCreateStatementInterceptor.executes are both public arrays, which anyone can overwrite. == The code uses generics, but there are some instances of raw types being used. Also a few unnecessary casts, and some unchecked casts. There are a lot of Javadoc errors, and quite a few unused imports. The visibility of fields seems to be generally too permissive; it's much harder to test and maintain code that has lots of non-private variables. Some of the classes have public getters and setters yet the fields they operate on are not private. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Tomcat 6 distro on maven repository?
Is there a public maven repository with a recent version of Tomcat 6 anywhere? We're developing a Tomcat bundle for Apache jUDDI and we're looking to upgrade our bundle from Tomcat 5.5->6.0. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: Restructuring svn
+1 Mark Thomas wrote: Once 4.1.x is archived, there will be no release branches sharing code. We could also pull out mod_jk and tcnative along the lines of /repos/asf/tomcat /mod_jk /tcnative Finally! :) Regards -- ^(TM) - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Tomcat Wiki] Update of "TomcatTrackUs09 PMC Sessions" by MladenTurk
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification. The following page has been changed by MladenTurk: http://wiki.apache.org/tomcat/TomcatTrackUs09_PMC_Sessions -- mturk: +++ - My idea was to give an 'Tomcat community overview' with some - directions where are we heading and something short about - what's cooking (Tomcat 7, Connectors, Security, etc...) - + Tomcat community overview + by Mladen Turk[[BR]] + Presntation - 60 minutes. + The presentation gives current overview of the Apache Tomcat Project and + directions it is heading.[[BR]] + It explains how we work as a community of developers + and how we interact with our community of users. It gives brief overview of + each technology Apache Tomcat Project is developing and maintaining + [[BR]] + - Tomcat versions[[BR]] + - Connectors[[BR]] + - Security[[BR]] + - Bugzill[[BR]] + - Development[[BR]] + [[BR]] Audience should be both generic (at least for the tech and community overview I plan to do) and technical for an in-depth presentations offered by Mark, Filip and Rainer. + [[BR]] + Bio[[BR]] + Mladen Turk is a Principal Software Engineer at JBoss, a division of + Red Hat (Switzerland), where he is responsible + for Native Integration, Enterprise Web Services and Multiplatform technologies. + He is member of JBoss Application Server team and gives more then 20 years of + experience in client/server technologies. + Mladen is currently acting as Apache Tomcat PMC chair, and beside Tomcat, + he actively contributes to APR, Httpd and Commons projects. + [[BR]] +++ rjung: - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org