markt [Tue, 9 Aug 2011 15:41:09 +0000 (15:41 +0000)]
Ideas for Tomcat 8
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1155408 13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 9 Aug 2011 15:36:44 +0000 (15:36 +0000)]
Prep the changelog
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1155406 13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 9 Aug 2011 15:25:46 +0000 (15:25 +0000)]
Missed a version change
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1155400 13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 9 Aug 2011 15:22:38 +0000 (15:22 +0000)]
Update the same Eclipse files
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1155398 13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 9 Aug 2011 15:21:59 +0000 (15:21 +0000)]
Update Maven release versions
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1155397 13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 9 Aug 2011 15:21:14 +0000 (15:21 +0000)]
Remove some old info.
Update the change log info.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1155395 13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 9 Aug 2011 15:18:58 +0000 (15:18 +0000)]
Update version numbers to 8.0.x
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1155393 13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 9 Aug 2011 08:28:18 +0000 (08:28 +0000)]
Update post tag
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1155257 13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 8 Aug 2011 10:42:49 +0000 (10:42 +0000)]
Upadte to 1.1.22 of the native connector
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1154911 13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 8 Aug 2011 10:20:40 +0000 (10:20 +0000)]
Add missing getter and setter for the alwaysUseSession attribute of the authenticators.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1154902 13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 8 Aug 2011 09:57:05 +0000 (09:57 +0000)]
Correctly indicate if socket is closing when calling recycle for the AJP NIO processor. Note since the flag is unused in this case there were no bugs triggered by the re-factoring error. (rjung)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1154897 13f79535-47bb-0310-9956-
ffa450edef68
markt [Sun, 7 Aug 2011 10:47:38 +0000 (10:47 +0000)]
Correctly nest locks and unlocks to resolve FindBugs warning
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1154691 13f79535-47bb-0310-9956-
ffa450edef68
markt [Sun, 7 Aug 2011 10:37:16 +0000 (10:37 +0000)]
Only try and create the dir if it doesn't already exist
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1154689 13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 6 Aug 2011 20:58:51 +0000 (20:58 +0000)]
Rename socket -> socketWrapper
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1154586 13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 6 Aug 2011 20:56:54 +0000 (20:56 +0000)]
Align HTTP NIO with BIO and APR and hold a reference to the socket wrapper not the raw socket in the Processor.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1154584 13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 6 Aug 2011 20:49:52 +0000 (20:49 +0000)]
Start to align process method
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1154583 13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 6 Aug 2011 20:28:35 +0000 (20:28 +0000)]
Fix some false npe warnings
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1154579 13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 6 Aug 2011 20:19:29 +0000 (20:19 +0000)]
Missing @Override markers
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1154575 13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 6 Aug 2011 20:00:39 +0000 (20:00 +0000)]
Fix a small number of warnings reported by FindBugs.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1154574 13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 6 Aug 2011 19:24:49 +0000 (19:24 +0000)]
Remove error message since a) it is provides very little / no useful information and b) writing to stderr is just plain wrong.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1154571 13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 5 Aug 2011 18:08:53 +0000 (18:08 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51621
Add additional required JARs to the deployer distribution.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1154330 13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 5 Aug 2011 17:17:48 +0000 (17:17 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51615
Code clean-up.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1154321 13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 5 Aug 2011 16:31:41 +0000 (16:31 +0000)]
Prevent spurious log warnings on container stop if a child component has previously failed.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1154298 13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 5 Aug 2011 16:29:58 +0000 (16:29 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51610
Make lifecycle transitions more robust at handling unchecked exceptions
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1154297 13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 5 Aug 2011 16:26:21 +0000 (16:26 +0000)]
Expand description
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1154296 13f79535-47bb-0310-9956-
ffa450edef68
kfujino [Thu, 4 Aug 2011 11:45:53 +0000 (11:45 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51614
Avoid two times calls of store.load() and session.expire() in PersistentManager.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1153854 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Thu, 4 Aug 2011 04:01:23 +0000 (04:01 +0000)]
Allow to have several AccessLogValve instances in the same scope (e.g. in the same Context).
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1153745 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Thu, 4 Aug 2011 03:53:27 +0000 (03:53 +0000)]
Split "condition" attribute of AccessLogValve into two, "conditionIf" and "conditionUnless".
Implement conditional logging that logs only if a request attribute is present.
The old attribute "condition" is provided as well, for backwards compatibility, and is equal to "conditionUnless".
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1153742 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Wed, 3 Aug 2011 22:57:35 +0000 (22:57 +0000)]
Update logging documentation
1. Place a better note that Log4J configuration is not needed if it is only osed by one's webapp.
2. Rearrange Log4J configuration section and document how configure it to be used by a single CATALINA_BASE only.
3. Add "productive usage considerations" subsection to JULI one.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1153696 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Wed, 3 Aug 2011 16:41:47 +0000 (16:41 +0000)]
Explicitly configure what icon is used with Tomcat in the list of uninstallable programs on Windows.
Before this it somehow used the icon from Tomcat<N>.exe (feather(, but when the service name contains "-" Windows somehow was not able to find the icon and displayed a default one. With this change the Tomcat (cat) icon will be used.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1153573 13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 3 Aug 2011 10:36:33 +0000 (10:36 +0000)]
Add info on ciphers
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1153423 13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 3 Aug 2011 07:53:29 +0000 (07:53 +0000)]
Update to daemon 1.0.7
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1153379 13f79535-47bb-0310-9956-
ffa450edef68
kfujino [Tue, 2 Aug 2011 11:51:20 +0000 (11:51 +0000)]
Committing connection if autoCommit is false.
Make sure committed connection is returned to the pool if datasource is enabled.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1153099 13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 2 Aug 2011 09:22:24 +0000 (09:22 +0000)]
Prevent direct invocation of the Windows uninstaller without a service name from executing since the uninstall will not be complete.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1153075 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Tue, 2 Aug 2011 09:13:39 +0000 (09:13 +0000)]
Remove path attribute from examples of <Context> where this attribute is not needed.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1153074 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Tue, 2 Aug 2011 03:54:38 +0000 (03:54 +0000)]
Correct relative links. It is followup to r1151537.
CTR: Docs
These pages are already inside "docs", so there should be no "docs/" in relative links.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1153016 13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 2 Aug 2011 00:54:27 +0000 (00:54 +0000)]
Quote the service name parameter in the registry as well as in the shortcut
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1152988 13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 1 Aug 2011 17:03:56 +0000 (17:03 +0000)]
Correctly handle uninstall with the Windows installer of the service is installed with a name that contains a '-' character.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1152863 13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 1 Aug 2011 14:41:28 +0000 (14:41 +0000)]
Remove unused files
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1152805 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Mon, 1 Aug 2011 09:59:44 +0000 (09:59 +0000)]
Simplify mapping for jsp servlet in the default web.xml.
Multiple url-pattern values in the same servlet-mapping are supported since Servlet 2.5.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1152722 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Mon, 1 Aug 2011 09:53:04 +0000 (09:53 +0000)]
Remove resolveHosts attribute from AccessLogValve configuration in the default server.xml.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1152719 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Mon, 1 Aug 2011 09:41:53 +0000 (09:41 +0000)]
Additional comments about resolveHosts attribute of AccessLogValve.
- The resolveHosts attribute could be used to change the meaning of "common" and "combined" patterns (as it still does in JDBCAccessLogValve), so I mentioned in the docs what to do when that is what the admin wants.
- Align Javadoc with Configuration Reference.
- Mention the effect of enableLookups attribute of connector on ExtendedAccessLogValve.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1152716 13f79535-47bb-0310-9956-
ffa450edef68
markt [Sun, 31 Jul 2011 19:34:14 +0000 (19:34 +0000)]
Ensure that calls to StandardWrapper methods() that may trigger creation of a Servlet instance always do so in way that correctly instantiates a Servlet instance.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1152621 13f79535-47bb-0310-9956-
ffa450edef68
markt [Sun, 31 Jul 2011 18:21:56 +0000 (18:21 +0000)]
Remove unnecessary call. Reduce timeout.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1152610 13f79535-47bb-0310-9956-
ffa450edef68
markt [Sun, 31 Jul 2011 17:39:25 +0000 (17:39 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51588
Make it easier to extend the AccessLogValve to add support for custom elements.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1152601 13f79535-47bb-0310-9956-
ffa450edef68
markt [Sun, 31 Jul 2011 17:08:43 +0000 (17:08 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51586
Expand error handling to cover anything that is recoverable (or might be recoverable) when loading classes during HandlesTypes processing.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1152595 13f79535-47bb-0310-9956-
ffa450edef68
markt [Sun, 31 Jul 2011 16:59:39 +0000 (16:59 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51584
Ensure file paths are encoded/decoded when translated to/from URLs so special characters don't cause issues.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1152593 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Sat, 30 Jul 2011 13:57:51 +0000 (13:57 +0000)]
Improve class loading documentation
Improve documentation about $CATALINA_HOME/endorsed.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1152463 13f79535-47bb-0310-9956-
ffa450edef68
rjung [Fri, 29 Jul 2011 22:08:20 +0000 (22:08 +0000)]
Set "reuse" flag of final AJP "END_RESPONSE"
packet to "0" if we plan to close the connection.
mod_jk will respect it and I just committed
the same to mod_proxy_ajp in httpd trunk.
If the web server does not respect it, things do
not get worse by nevertheless setting the flag,
because the patch does not change whether we actually
close the connection or not.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1152385 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Fri, 29 Jul 2011 19:49:58 +0000 (19:49 +0000)]
Improve class loading documentation
Review existing documentation. Rephrase and reformat some statements.
Documented $CATALINA_BASE/bin/tomcat-juli.jar.
Documented new JARs in $CATALINA_HOME/lib, that were not present in Tomcat 6.
More changes to this document are to follow.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1152352 13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 29 Jul 2011 18:28:42 +0000 (18:28 +0000)]
Add a unit test that confirms that comet sockets are closed when the connector is stopped.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1152333 13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 29 Jul 2011 12:52:26 +0000 (12:52 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51567
Update the class loading page of the documentation web application to include information on the search order for the common class loader when separate values are used for $CATALINA_HOME and $CATALINA_BASE.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1152192 13f79535-47bb-0310-9956-
ffa450edef68
markt [Thu, 28 Jul 2011 18:16:39 +0000 (18:16 +0000)]
Ensure APR socket is not added to multiple pollers.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1151953 13f79535-47bb-0310-9956-
ffa450edef68
markt [Thu, 28 Jul 2011 17:12:42 +0000 (17:12 +0000)]
Improve error handling for APR connector if sendfile fails
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1151930 13f79535-47bb-0310-9956-
ffa450edef68
markt [Thu, 28 Jul 2011 12:50:04 +0000 (12:50 +0000)]
Catch less specific exception to deal with intermittent failures with OpenJDK
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1151825 13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 27 Jul 2011 16:58:36 +0000 (16:58 +0000)]
Typo
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1151532 13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 27 Jul 2011 15:11:35 +0000 (15:11 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48997
Fixed some typos and correct cross-referencing to the HTTP Connector documentation with the SSL How-To page of the documentation web application.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1151493 13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 27 Jul 2011 12:23:28 +0000 (12:23 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49122
Layout improvements and tweaks
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1151444 13f79535-47bb-0310-9956-
ffa450edef68
kfujino [Wed, 27 Jul 2011 09:58:20 +0000 (09:58 +0000)]
Correct LocalStrings.properties.
Some invalid messagekeys are removed.
e.g.
remove AsyncSocketSender.XXX and FastAsyncSocketSender.XXX keys.
ReplicationValve.XXX and SimpleTcpCluster.XX are removed from org.apache.catalina.tribes.transport.LocalStrings.properties.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1151408 13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 27 Jul 2011 09:13:36 +0000 (09:13 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51561
Recommend the use of digest.[bat|sh] to generate digests rather than calling RealmBase directly.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1151395 13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 27 Jul 2011 09:10:11 +0000 (09:10 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51557
Ignore HTTP headers that do not comply with RFC 2616 and use header names that are not tokens.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1151394 13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 27 Jul 2011 08:55:02 +0000 (08:55 +0000)]
This is now available
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1151389 13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 26 Jul 2011 20:56:27 +0000 (20:56 +0000)]
Fix SSL unit test failures with APR/native
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1151240 13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 26 Jul 2011 12:28:00 +0000 (12:28 +0000)]
Tests are run with all three HTTP connectors. No need for separate tests.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1151074 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Tue, 26 Jul 2011 09:49:26 +0000 (09:49 +0000)]
Update to checkstyle 5.4
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1151046 13f79535-47bb-0310-9956-
ffa450edef68
timw [Tue, 26 Jul 2011 09:41:36 +0000 (09:41 +0000)]
https://issues.apache.org/bugzilla/show_bug.cgi?id=51545
Adding ability to log current request thread name in ExtendedAccessLogValve using Tomcat specific x-threadname pattern format token.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1151043 13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 26 Jul 2011 08:25:46 +0000 (08:25 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51555
Permit an additional lifecycle transition. Allow destroy() to be called on components that are initialized. This can occur in some start failure scenarios.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1151016 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Tue, 26 Jul 2011 02:58:29 +0000 (02:58 +0000)]
Converting tribes tests to JUnit 4 - done.
Update changelog.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1150975 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Tue, 26 Jul 2011 02:39:35 +0000 (02:39 +0000)]
Converted tribes tests to JUnit 4.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1150974 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Mon, 25 Jul 2011 22:20:19 +0000 (22:20 +0000)]
Conversion of TomcatBaseTest classes to JUnit 4 completed.
Rename TomcatBaseTestJUnit4 -> TomcatBaseTest.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1150939 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Mon, 25 Jul 2011 22:09:37 +0000 (22:09 +0000)]
Converted the tests to JUnit 4.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1150933 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Mon, 25 Jul 2011 21:04:30 +0000 (21:04 +0000)]
Converted the tests to JUnit 4.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1150907 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Mon, 25 Jul 2011 20:46:11 +0000 (20:46 +0000)]
Converted the tests to JUnit 4.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1150899 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Mon, 25 Jul 2011 20:30:58 +0000 (20:30 +0000)]
Converted the tests to JUnit 4.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1150890 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Mon, 25 Jul 2011 20:11:41 +0000 (20:11 +0000)]
Converted the tests to JUnit 4.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1150877 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Mon, 25 Jul 2011 19:54:21 +0000 (19:54 +0000)]
Converted the tests to JUnit 4.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1150866 13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 25 Jul 2011 19:45:04 +0000 (19:45 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51550
Stop the adaptor swallowing internal errors.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1150864 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Mon, 25 Jul 2011 19:25:22 +0000 (19:25 +0000)]
Converted the tests to JUnit 4.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1150855 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Mon, 25 Jul 2011 18:56:58 +0000 (18:56 +0000)]
Converted the tests to JUnit 4.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1150846 13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 25 Jul 2011 16:23:39 +0000 (16:23 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51544
Correctly resolve bean methods in EL so accessible methods that are overridden by inaccessible methods do not cause an IllegalAccessException.
Modify test case to catch this problem on Oracle and OpenJDK JREs.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1150767 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Mon, 25 Jul 2011 16:10:50 +0000 (16:10 +0000)]
Converted the tests to JUnit 4.
TomcatBaseTestJUnit4 is a copy of TomcatBaseTest converted to JUnit 4,
to be used until conversion is completed.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1150764 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Mon, 25 Jul 2011 15:57:51 +0000 (15:57 +0000)]
Converted the tests to JUnit 4.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1150761 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Mon, 25 Jul 2011 15:22:30 +0000 (15:22 +0000)]
Converted the tests to JUnit 4.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1150747 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Mon, 25 Jul 2011 14:45:37 +0000 (14:45 +0000)]
Converted the tests to JUnit 4.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1150727 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Mon, 25 Jul 2011 13:18:20 +0000 (13:18 +0000)]
Update checkstyle rules to treat imports of "org.junit" as a separate group vs. "org".
Convert simple tests in the following packages to JUnit 4:
org.apache.catalina.filters.*
org.apache.catalina.ha.session.*
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1150690 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Mon, 25 Jul 2011 12:04:32 +0000 (12:04 +0000)]
Converted tests in org.apache.catalina.deploy to JUnit 4.
1) textXXX() -> @Test added
2) protected setUp() -> @Before public setUp()
3) in TestSecurityConstraint: There is no assertEquals(boolean, boolean) method in JUnit 4,
so those calls were replaced with assertTrue() and assertFalse().
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1150652 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Mon, 25 Jul 2011 11:54:05 +0000 (11:54 +0000)]
Update checkstyle configuration to allow static imports of org.junit.Assert members.
This is for JUnit 4.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1150644 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Mon, 25 Jul 2011 10:40:03 +0000 (10:40 +0000)]
Update project to use JUnit 4 libraries.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1150623 13f79535-47bb-0310-9956-
ffa450edef68
markt [Sun, 24 Jul 2011 11:12:58 +0000 (11:12 +0000)]
Another test case for bug 51544
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1150339 13f79535-47bb-0310-9956-
ffa450edef68
markt [Sun, 24 Jul 2011 10:59:10 +0000 (10:59 +0000)]
Add tests for bug 51544 (note tests pass - can't reproduce error yet)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1150336 13f79535-47bb-0310-9956-
ffa450edef68
markt [Sun, 24 Jul 2011 10:58:36 +0000 (10:58 +0000)]
Add tests for bug 51544 (note tests pass - can't reproduce error yet)
Fix some find bugs issues
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1150335 13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 23 Jul 2011 08:56:10 +0000 (08:56 +0000)]
Make rules on settng path clearer
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1150070 13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 22 Jul 2011 18:09:54 +0000 (18:09 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=41709
Provide exception messages for ISEs when response is already committed
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1149678 13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 22 Jul 2011 12:09:13 +0000 (12:09 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=41498
Add info for allRolesMode
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1149582 13f79535-47bb-0310-9956-
ffa450edef68
markt [Thu, 21 Jul 2011 18:19:29 +0000 (18:19 +0000)]
AJP NIO is still experimental but is fully functional.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1149294 13f79535-47bb-0310-9956-
ffa450edef68
markt [Thu, 21 Jul 2011 13:29:01 +0000 (13:29 +0000)]
Improve i18n support.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1149172 13f79535-47bb-0310-9956-
ffa450edef68
markt [Thu, 21 Jul 2011 13:20:40 +0000 (13:20 +0000)]
Promote the Set Character Encoding filter to the filters package so it is more widely available.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1149166 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Thu, 21 Jul 2011 11:08:23 +0000 (11:08 +0000)]
Improve wording in a message and in one entry in changelog.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1149118 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Thu, 21 Jul 2011 10:52:46 +0000 (10:52 +0000)]
Trivial improvements to access log valve docs. Fix typos noted by André Warnier.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1149104 13f79535-47bb-0310-9956-
ffa450edef68
jfclere [Thu, 21 Jul 2011 09:40:03 +0000 (09:40 +0000)]
Fix for 51056. remove SSLv2 from all.
Needs native 1.1.21.
Now to allow SSLv2 you have to use:
SSLProtocol="SSLv2+SSLv3" for example.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1149092 13f79535-47bb-0310-9956-
ffa450edef68