tomcat7.0
15 years agoAdditional tests for https://issues.apache.org/bugzilla/show_bug.cgi?id=48668
kkolinko [Sat, 6 Mar 2010 20:46:06 +0000 (20:46 +0000)]
Additional tests for https://issues.apache.org/bugzilla/show_bug.cgi?id=48668
The TestCase currently passes:
the parts that do not pass currently are commented-out:
- in bug48668a.jsp: those that prevent JSP from being compiled
- in TestParser.java: also those that provide wrong output.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@919847 13f79535-47bb-0310-9956-ffa450edef68

15 years agoremove extra newline character
kkolinko [Sat, 6 Mar 2010 19:36:53 +0000 (19:36 +0000)]
remove extra newline character

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@919828 13f79535-47bb-0310-9956-ffa450edef68

15 years agoShave a few seconds of the rebuild time if the manifests don't need to be updated
markt [Sat, 6 Mar 2010 15:52:40 +0000 (15:52 +0000)]
Shave a few seconds of the rebuild time if the manifests don't need to be updated

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@919790 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdd comment to the tomcat-users.xml template used by the Tomcat exe installer on...
kkolinko [Sat, 6 Mar 2010 15:32:42 +0000 (15:32 +0000)]
Add comment to the tomcat-users.xml template used by the Tomcat exe installer on Windows.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@919788 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdd comment about the "manager" role (copied from TC 5.5)
kkolinko [Sat, 6 Mar 2010 15:14:37 +0000 (15:14 +0000)]
Add comment about the "manager" role (copied from TC 5.5)

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@919782 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdd a comment about comment to tomcat-users.xml
kkolinko [Sat, 6 Mar 2010 15:08:58 +0000 (15:08 +0000)]
Add a comment about comment to tomcat-users.xml

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@919781 13f79535-47bb-0310-9956-ffa450edef68

15 years agotrivial: correct a link on an image on the jsp-examples index page
kkolinko [Sat, 6 Mar 2010 14:28:21 +0000 (14:28 +0000)]
trivial: correct a link on an image on the jsp-examples index page

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@919769 13f79535-47bb-0310-9956-ffa450edef68

15 years agoLifecycle refactoring - Manager
markt [Sat, 6 Mar 2010 13:03:11 +0000 (13:03 +0000)]
Lifecycle refactoring - Manager
Lifecycle.START event fired too early in a number of cases
Added toString() for use in Lifecycle error messages

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@919756 13f79535-47bb-0310-9956-ffa450edef68

15 years agoLine length
markt [Sat, 6 Mar 2010 12:42:36 +0000 (12:42 +0000)]
Line length

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@919753 13f79535-47bb-0310-9956-ffa450edef68

15 years agoLifecycle refactoring - Store
markt [Sat, 6 Mar 2010 12:02:19 +0000 (12:02 +0000)]
Lifecycle refactoring - Store
Added toString() for use in Lifecycle error messages

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@919750 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix two message strings where natively encoded chars
rjung [Sat, 6 Mar 2010 11:49:56 +0000 (11:49 +0000)]
Fix two message strings where natively encoded chars
had been lost and replaced by '?'.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@919748 13f79535-47bb-0310-9956-ffa450edef68

15 years agoCorrection
kkolinko [Sat, 6 Mar 2010 11:41:30 +0000 (11:41 +0000)]
Correction

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@919746 13f79535-47bb-0310-9956-ffa450edef68

15 years agoLifecycle refactoring - Cluster
markt [Sat, 6 Mar 2010 10:54:38 +0000 (10:54 +0000)]
Lifecycle refactoring - Cluster
Added toString() for use in Lifecycle error messages

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@919740 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix utf-8 encoding in message string properties.
rjung [Sat, 6 Mar 2010 10:35:12 +0000 (10:35 +0000)]
Fix utf-8 encoding in message string properties.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@919737 13f79535-47bb-0310-9956-ffa450edef68

15 years agoLifecycle refactoring - Executor
markt [Sat, 6 Mar 2010 10:02:16 +0000 (10:02 +0000)]
Lifecycle refactoring - Executor
The LifecycleState.STARTING event was being fired too early

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@919730 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix some Eclipse warnings
markt [Sat, 6 Mar 2010 09:42:33 +0000 (09:42 +0000)]
Fix some Eclipse warnings

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@919725 13f79535-47bb-0310-9956-ffa450edef68

15 years agoTabs to 8 spaces - no functional change
markt [Sat, 6 Mar 2010 09:34:08 +0000 (09:34 +0000)]
Tabs to 8 spaces - no functional change

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@919724 13f79535-47bb-0310-9956-ffa450edef68

15 years agoLifecycle refactoring - Valves
markt [Sat, 6 Mar 2010 09:31:47 +0000 (09:31 +0000)]
Lifecycle refactoring - Valves
Most valves were firing the LifecycleState.STARTING event too early
Make the toString() consistent for all Valves
Some copy and paste errors in i18n start/stop messages are fixed as a side effect. Some unused messages were also removed.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@919723 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix some inconsistencies identified during lifecycle refactoring for valves
markt [Sat, 6 Mar 2010 09:26:33 +0000 (09:26 +0000)]
Fix some inconsistencies identified during lifecycle refactoring for valves
- don't start a basic valve when adding it to the pipeline if the pipeline is not started
- if pipeline is started when adding a basic valve, register the basic valve

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@919722 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdd some additional debugging information when components are started or stopped...
markt [Fri, 5 Mar 2010 17:11:27 +0000 (17:11 +0000)]
Add some additional debugging information when components are started or stopped multiple times

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@919505 13f79535-47bb-0310-9956-ffa450edef68

15 years agoArrange the french translation submitted by Henri Gomez.
jfclere [Fri, 5 Mar 2010 17:07:14 +0000 (17:07 +0000)]
Arrange the french translation submitted by Henri Gomez.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@919503 13f79535-47bb-0310-9956-ffa450edef68

15 years agoLifecycle refactoring
markt [Fri, 5 Mar 2010 14:49:39 +0000 (14:49 +0000)]
Lifecycle refactoring
o.a.c.loader - Note WebappClassloader only has a stubbed Lifecycle implementation

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@919434 13f79535-47bb-0310-9956-ffa450edef68

15 years agoRevert r919347. On error , we don't need the read lock.
markt [Fri, 5 Mar 2010 14:04:57 +0000 (14:04 +0000)]
Revert r919347. On error , we don't need the read lock.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@919421 13f79535-47bb-0310-9956-ffa450edef68

15 years agoEnsure read lock is obtained before write lock is released on an error condition
markt [Fri, 5 Mar 2010 09:35:17 +0000 (09:35 +0000)]
Ensure read lock is obtained before write lock is released on an error condition

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@919347 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=48861 for Tomcat 7 (missed...
markt [Fri, 5 Mar 2010 09:08:45 +0000 (09:08 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48861 for Tomcat 7 (missed a couple)

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@919341 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=48861 for Tomcat 7. Still...
markt [Fri, 5 Mar 2010 09:03:30 +0000 (09:03 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48861 for Tomcat 7. Still an issue for Tomcat-lite

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@919338 13f79535-47bb-0310-9956-ffa450edef68

15 years agoLifecycle refactoring
markt [Thu, 4 Mar 2010 22:16:50 +0000 (22:16 +0000)]
Lifecycle refactoring
Realm: Note most implementations were firing the start event too early

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@919208 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix svn properties. Patch provided by sebb
markt [Thu, 4 Mar 2010 21:20:59 +0000 (21:20 +0000)]
Fix svn properties. Patch provided by sebb

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@919188 13f79535-47bb-0310-9956-ffa450edef68

15 years agoLifecycle refactoring
markt [Thu, 4 Mar 2010 21:18:03 +0000 (21:18 +0000)]
Lifecycle refactoring
StandardPipeline
(and turn Eclipse compilation warnings up to 11)

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@919187 13f79535-47bb-0310-9956-ffa450edef68

15 years agoLifecycle refactoring
markt [Thu, 4 Mar 2010 19:17:32 +0000 (19:17 +0000)]
Lifecycle refactoring
StandardService - Note use of LifecycleState.MUST_STOP in Catalina to ensure shutdown

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@919138 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix eol-style
markt [Thu, 4 Mar 2010 18:55:30 +0000 (18:55 +0000)]
Fix eol-style

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@919128 13f79535-47bb-0310-9956-ffa450edef68

15 years agoMake toString() consistent with other components
markt [Thu, 4 Mar 2010 18:49:21 +0000 (18:49 +0000)]
Make toString() consistent with other components

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@919123 13f79535-47bb-0310-9956-ffa450edef68

15 years agoLifecycle refactoring
markt [Thu, 4 Mar 2010 18:47:17 +0000 (18:47 +0000)]
Lifecycle refactoring
StandardServer - relatively straight forward

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@919121 13f79535-47bb-0310-9956-ffa450edef68

15 years agoLifecycle refactoring
markt [Thu, 4 Mar 2010 18:34:36 +0000 (18:34 +0000)]
Lifecycle refactoring
Connector - relatively straight forward

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@919115 13f79535-47bb-0310-9956-ffa450edef68

15 years agoLifecycle refactoring.
markt [Thu, 4 Mar 2010 18:07:59 +0000 (18:07 +0000)]
Lifecycle refactoring.
In an effort to reduce code duplication and improve consistency, provide a base Lifecycle implementation. This will be used as the basis of the refactoring of the components that implement Lifecycle

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@919102 13f79535-47bb-0310-9956-ffa450edef68

15 years agoLifecycle refactoring.
markt [Thu, 4 Mar 2010 18:06:21 +0000 (18:06 +0000)]
Lifecycle refactoring.
Part 1 of many.
Better define the start and stop methods as well as the overall component lifecycle and the relationship between start/stop, component state and events.
Add a getState() method but it is commented out in this checkin to prevent compilation errors. It will be uncommented once the method has been added to the components that implement Lifecycle.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@919100 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdd in and document more XA support
fhanik [Thu, 4 Mar 2010 17:21:41 +0000 (17:21 +0000)]
Add in and document more XA support

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@919076 13f79535-47bb-0310-9956-ffa450edef68

15 years agoRevert r917784 and r905722 - changes associated with the invalid bug 48050
markt [Thu, 4 Mar 2010 12:05:06 +0000 (12:05 +0000)]
Revert r917784 and r905722 - changes associated with the invalid bug 48050

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@918957 13f79535-47bb-0310-9956-ffa450edef68

15 years agoMove source/target JDK versions to the main section of the manifest,
kkolinko [Thu, 4 Mar 2010 10:19:52 +0000 (10:19 +0000)]
Move source/target JDK versions to the main section of the manifest,
because these values belong to the JAR file as the whole, not to some subset of it.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@918923 13f79535-47bb-0310-9956-ffa450edef68

15 years agoIf subsection name is not unique, prefix the anchor name with the name of section...
kkolinko [Thu, 4 Mar 2010 09:47:35 +0000 (09:47 +0000)]
If subsection name is not unique, prefix the anchor name with the name of section that contains it.
This is especially useful for the Tomcat configuration docs, where names such as "Introduction" or "Attributes" are not unique. See e.g.
config/filter.html
config/valve.html

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@918914 13f79535-47bb-0310-9956-ffa450edef68

15 years agosvn:eol-style, no functional change
kkolinko [Thu, 4 Mar 2010 08:49:38 +0000 (08:49 +0000)]
svn:eol-style, no functional change
(followup to r918682)

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@918895 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix 1. of https://issues.apache.org/bugzilla/show_bug.cgi?id=48831#c3
kkolinko [Thu, 4 Mar 2010 08:05:36 +0000 (08:05 +0000)]
Fix 1. of https://issues.apache.org/bugzilla/show_bug.cgi?id=48831#c3
Ignore the reset() call from java.util.logging.LogManager.Cleaner,
because we have our own shutdown hook that will take care.

There are three hooks that run at VM shutdown:
1. j.u.l.LogManager.Cleaner
2. o.a.j.ClassLoaderLogManager.Cleaner
3. o.a.c.startup.Catalina.CatalinaShutdownHook
2. vs. 3. was taken care by r910974 and r918594. This takes care of 1. vs. (2.,3.)

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@918885 13f79535-47bb-0310-9956-ffa450edef68

15 years agoIf CATALINA_BASE is not defined we would try to read directly from /bin/setenv.sh...
mturk [Thu, 4 Mar 2010 07:27:32 +0000 (07:27 +0000)]
If CATALINA_BASE is not defined we would try to read directly from /bin/setenv.sh file

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@918883 13f79535-47bb-0310-9956-ffa450edef68

15 years agoUse eval instead direct call or exec command so that arguments with spaces are proper...
mturk [Thu, 4 Mar 2010 06:43:30 +0000 (06:43 +0000)]
Use eval instead direct call or exec command so that arguments with spaces are properly handled

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@918873 13f79535-47bb-0310-9956-ffa450edef68

15 years agoMark JNDIRealm.User class constructor as public. The class itself remains protected.
kkolinko [Thu, 4 Mar 2010 01:01:48 +0000 (01:01 +0000)]
Mark JNDIRealm.User class constructor as public. The class itself remains protected.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@918803 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFollowup to r918594
kkolinko [Thu, 4 Mar 2010 00:46:44 +0000 (00:46 +0000)]
Followup to r918594
Be more strict with try/finally when locking

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@918799 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFollowup to markt's r918594
kkolinko [Thu, 4 Mar 2010 00:28:47 +0000 (00:28 +0000)]
Followup to markt's r918594
Replace tabs with four spaces. No functional change.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@918792 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix 2. of https://issues.apache.org/bugzilla/show_bug.cgi?id=48831#c3
kkolinko [Thu, 4 Mar 2010 00:18:44 +0000 (00:18 +0000)]
Fix 2. of https://issues.apache.org/bugzilla/show_bug.cgi?id=48831#c3
When resetting a logger do not close handlers that do not belong to the current class loader.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@918787 13f79535-47bb-0310-9956-ffa450edef68

15 years agoRevert previous fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=47977...
markt [Wed, 3 Mar 2010 21:00:22 +0000 (21:00 +0000)]
Revert previous fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=47977 that caused regression https://issues.apache.org/bugzilla/show_bug.cgi?id=48827 and implement an alternative fix

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@918684 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdd tests for bugs 47977 and 48827
markt [Wed, 3 Mar 2010 20:59:23 +0000 (20:59 +0000)]
Add tests for bugs 47977 and 48827

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@918682 13f79535-47bb-0310-9956-ffa450edef68

15 years agoEcho tags are not expected to have bodies. Has the happy side-effect of providing...
markt [Wed, 3 Mar 2010 19:27:25 +0000 (19:27 +0000)]
Echo tags are not expected to have bodies. Has the happy side-effect of providing a tag that can be used to test bug 48827.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@918651 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=48831
markt [Wed, 3 Mar 2010 17:26:54 +0000 (17:26 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48831
Address issues 1 & 2 by using a ReadWriteLock to control access to the writer. This ensures messages won't be written while the writer is null. Note there is no (easy) way to not close the handler.
Address issue 3 by re-enabling the JULI shutdown hook if JULI is being used and Tomcat isn't stopped via a shutdown hook.
Address issue 4 by making ClassLoaderLogManager#useShutdownHook volatile

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@918594 13f79535-47bb-0310-9956-ffa450edef68

15 years agoImplement review feedback
markt [Wed, 3 Mar 2010 14:38:01 +0000 (14:38 +0000)]
Implement review feedback

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@918489 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdd generated TOC,
kkolinko [Wed, 3 Mar 2010 14:21:09 +0000 (14:21 +0000)]
Add generated TOC,
replacing manual TOC if it was present earlier

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@918482 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdd generated TOC,
kkolinko [Wed, 3 Mar 2010 13:16:55 +0000 (13:16 +0000)]
Add generated TOC,
replacing manual TOC if it was present earlier

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@918461 13f79535-47bb-0310-9956-ffa450edef68

15 years agoReplaced manual TOC with generated one and corrected tags nesting.
kkolinko [Wed, 3 Mar 2010 12:37:43 +0000 (12:37 +0000)]
Replaced manual TOC with generated one and corrected tags nesting.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@918445 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdded "r" to the text of revision number links generated from <rev> tag.
kkolinko [Wed, 3 Mar 2010 10:53:48 +0000 (10:53 +0000)]
Added "r" to the text of revision number links generated from <rev> tag.
As of now, those are used in changelog.xml only.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@918396 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBetter fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=48660
markt [Tue, 2 Mar 2010 16:02:25 +0000 (16:02 +0000)]
Better fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=48660
As per Konstantin's comments, ensure a single Vary header is used and take account of * if present

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@918093 13f79535-47bb-0310-9956-ffa450edef68

15 years agoImplement support for automatic generation of Table of Contents.
kkolinko [Tue, 2 Mar 2010 15:23:06 +0000 (15:23 +0000)]
Implement support for automatic generation of Table of Contents.
It is triggered by <toc/> element.
Section header is not included into generation, so the complete code fragment to add will be
<section name="Table of Contents">
<toc/>
</section>
The html-manager-howto.xml provides a usage example for this.
Also corrected minor issues with tags nesting, reported by w3c validator.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@918073 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAs per Remy's suggestion use the new ABI only if present
mturk [Tue, 2 Mar 2010 13:08:14 +0000 (13:08 +0000)]
As per Remy's suggestion use the new ABI only if present

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@918017 13f79535-47bb-0310-9956-ffa450edef68

15 years agoUse definitions list instead of unordered list.
kkolinko [Tue, 2 Mar 2010 11:58:28 +0000 (11:58 +0000)]
Use definitions list instead of unordered list.
Add information about extras and sources.
Add charset information to the <META> tag.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@917984 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix typo
mturk [Tue, 2 Mar 2010 11:48:02 +0000 (11:48 +0000)]
Fix typo

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@917978 13f79535-47bb-0310-9956-ffa450edef68

15 years agoWith unsafe reneg, minimum required is 1.2.21 caused by API change
mturk [Tue, 2 Mar 2010 09:19:45 +0000 (09:19 +0000)]
With unsafe reneg, minimum required is 1.2.21 caused by API change

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@917931 13f79535-47bb-0310-9956-ffa450edef68

15 years agoPort SSLInsecureRenegotiation from mod_ssl
mturk [Tue, 2 Mar 2010 09:14:44 +0000 (09:14 +0000)]
Port SSLInsecureRenegotiation from mod_ssl

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@917928 13f79535-47bb-0310-9956-ffa450edef68

15 years agoDo not mention Tomcat version unless necessary.
kkolinko [Tue, 2 Mar 2010 09:04:59 +0000 (09:04 +0000)]
Do not mention Tomcat version unless necessary.
Especially, do not mention Tomcat 6 in Tomcat 7 docs.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@917924 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAmend the documentation
kkolinko [Tue, 2 Mar 2010 08:05:40 +0000 (08:05 +0000)]
Amend the documentation

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@917907 13f79535-47bb-0310-9956-ffa450edef68

15 years agoCorrect fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=48050
markt [Mon, 1 Mar 2010 23:14:12 +0000 (23:14 +0000)]
Correct fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=48050
NamingContext.createSubcontext method returns Context with wrong name

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@917784 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAmend the messages displayed by Find Leaks diagnostics in the Manager application.
kkolinko [Mon, 1 Mar 2010 18:25:39 +0000 (18:25 +0000)]
Amend the messages displayed by Find Leaks diagnostics in the Manager application.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@917633 13f79535-47bb-0310-9956-ffa450edef68

15 years agoMove sessionDetail.jsp sessionsList.jsp of Manager webapp into WEB-INF/jsp/
kkolinko [Mon, 1 Mar 2010 17:16:42 +0000 (17:16 +0000)]
Move sessionDetail.jsp sessionsList.jsp of Manager webapp into WEB-INF/jsp/
Those are not supposed to be callable directly.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@917598 13f79535-47bb-0310-9956-ffa450edef68

15 years agoI suppose no one needs my home dir :) Revert to default
mturk [Fri, 26 Feb 2010 14:51:31 +0000 (14:51 +0000)]
I suppose no one needs my home dir :) Revert to default

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@916701 13f79535-47bb-0310-9956-ffa450edef68

15 years agoUpdate to Commons Daemon 1.0.2 and use procrun from upsream distribution. Axe our...
mturk [Fri, 26 Feb 2010 14:49:15 +0000 (14:49 +0000)]
Update to Commons Daemon 1.0.2 and use procrun from upsream distribution. Axe our binary spins

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@916700 13f79535-47bb-0310-9956-ffa450edef68

15 years agocorrect download location
fhanik [Thu, 25 Feb 2010 19:34:55 +0000 (19:34 +0000)]
correct download location

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@916417 13f79535-47bb-0310-9956-ffa450edef68

15 years agoupgrade location and version of H2, this location should not change as frequently
fhanik [Thu, 25 Feb 2010 17:21:10 +0000 (17:21 +0000)]
upgrade location and version of H2, this location should not change as frequently

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@916361 13f79535-47bb-0310-9956-ffa450edef68

15 years agocorrect a typo
kkolinko [Thu, 25 Feb 2010 09:32:08 +0000 (09:32 +0000)]
correct a typo

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@916196 13f79535-47bb-0310-9956-ffa450edef68

15 years agoCorrect the number
kkolinko [Thu, 25 Feb 2010 08:06:19 +0000 (08:06 +0000)]
Correct the number

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@916170 13f79535-47bb-0310-9956-ffa450edef68

15 years agoImprovements for JspC:
kkolinko [Thu, 25 Feb 2010 07:03:14 +0000 (07:03 +0000)]
Improvements for JspC:
- allow the encoding used for web.xml files to be specified explicitly,
- allow the addWebXmlMappings option to be specified on the command line

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@916157 13f79535-47bb-0310-9956-ffa450edef68

15 years agoRemove unused public methods
kkolinko [Thu, 25 Feb 2010 06:08:58 +0000 (06:08 +0000)]
Remove unused public methods

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@916143 13f79535-47bb-0310-9956-ffa450edef68

15 years agoupdated the JavaDoc
kkolinko [Thu, 25 Feb 2010 06:05:55 +0000 (06:05 +0000)]
updated the JavaDoc

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@916141 13f79535-47bb-0310-9956-ffa450edef68

15 years agofix for #mergeIntoWebXml()
kkolinko [Thu, 25 Feb 2010 02:58:25 +0000 (02:58 +0000)]
fix for #mergeIntoWebXml()
Note that the "inserted" flag was never set to true in the old code.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@916097 13f79535-47bb-0310-9956-ffa450edef68

15 years agohttps://issues.apache.org/bugzilla/show_bug.cgi?id=48392
fhanik [Wed, 24 Feb 2010 19:27:09 +0000 (19:27 +0000)]
https://issues.apache.org/bugzilla/show_bug.cgi?id=48392
Add an interceptor to be able to wrap existing statements and result sets to prevent code from accessing the connection
Patch submitted by gsfernandes@gmail.com

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@915940 13f79535-47bb-0310-9956-ffa450edef68

15 years agoMoved utils to connector ( the servlet part will either go away or be a separate...
costin [Wed, 24 Feb 2010 18:03:00 +0000 (18:03 +0000)]
Moved utils to connector ( the servlet part will either go away or be a separate package ). Make it compile again on android. Few sync
issues found while load testing. SSL fixes. Separate build target for connector.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@915902 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix thrown accept error on shutdown
mturk [Wed, 24 Feb 2010 16:49:19 +0000 (16:49 +0000)]
Fix thrown accept error on shutdown

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@915861 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdd remark about reliability of System.gc() to
rjung [Wed, 24 Feb 2010 11:35:58 +0000 (11:35 +0000)]
Add remark about reliability of System.gc() to
manager diagnostics docs.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@915757 13f79535-47bb-0310-9956-ffa450edef68

15 years agofixes for #getElement():
kkolinko [Wed, 24 Feb 2010 10:12:58 +0000 (10:12 +0000)]
fixes for #getElement():
- avoid infinite looping on unexpected end of file
- fix XML comment reading

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@915737 13f79535-47bb-0310-9956-ffa450edef68

15 years agoUpdate version of native bundled in distributives to 1.1.20.
kkolinko [Tue, 23 Feb 2010 07:36:05 +0000 (07:36 +0000)]
Update version of native bundled in distributives to 1.1.20.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@915226 13f79535-47bb-0310-9956-ffa450edef68

15 years agoRemove comment. jvmRoute replacement happens elsewhere
markt [Mon, 22 Feb 2010 21:45:35 +0000 (21:45 +0000)]
Remove comment. jvmRoute replacement happens elsewhere

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@915076 13f79535-47bb-0310-9956-ffa450edef68

15 years agoRemove comment - odds of session duplication are so small to be insignificant
markt [Mon, 22 Feb 2010 21:44:43 +0000 (21:44 +0000)]
Remove comment - odds of session duplication are so small to be insignificant

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@915075 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=48783
markt [Mon, 22 Feb 2010 21:21:06 +0000 (21:21 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48783
Correct defaults

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@915072 13f79535-47bb-0310-9956-ffa450edef68

15 years agoIn some drivers, the call to setTransactionIsolation should be the very first call
fhanik [Fri, 19 Feb 2010 23:02:49 +0000 (23:02 +0000)]
In some drivers, the call to setTransactionIsolation should be the very first call

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@912026 13f79535-47bb-0310-9956-ffa450edef68

15 years agoComment typo
markt [Thu, 18 Feb 2010 21:35:48 +0000 (21:35 +0000)]
Comment typo

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@911601 13f79535-47bb-0310-9956-ffa450edef68

15 years agoMake sure we favor the values from AjpMessage.processHeader. If the signature is...
mturk [Thu, 18 Feb 2010 16:44:57 +0000 (16:44 +0000)]
Make sure we favor the values from AjpMessage.processHeader. If the signature is invalid len can be any random number in that case

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@911481 13f79535-47bb-0310-9956-ffa450edef68

15 years agoMore (minor) lifecycle clean-up
markt [Wed, 17 Feb 2010 13:53:08 +0000 (13:53 +0000)]
More (minor) lifecycle clean-up

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@910975 13f79535-47bb-0310-9956-ffa450edef68

15 years agoImprove logging behaviour when shutdown occurs via a shutdownhook. If present, use...
markt [Wed, 17 Feb 2010 13:51:37 +0000 (13:51 +0000)]
Improve logging behaviour when shutdown occurs via a shutdownhook. If present, use Catalina's shutdown hook to shutdown Tomcat and JULI. This enables them to be shutdown in the correct order.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@910974 13f79535-47bb-0310-9956-ffa450edef68

15 years agoHold off on update until archive syncs (should be no more than 24 hrs)
markt [Wed, 17 Feb 2010 13:44:28 +0000 (13:44 +0000)]
Hold off on update until archive syncs (should be no more than 24 hrs)

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@910969 13f79535-47bb-0310-9956-ffa450edef68

15 years agoUpdate to latest native connector
markt [Wed, 17 Feb 2010 12:28:13 +0000 (12:28 +0000)]
Update to latest native connector

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@910947 13f79535-47bb-0310-9956-ffa450edef68

15 years agoMore lifecycle clean-up
markt [Wed, 17 Feb 2010 09:38:07 +0000 (09:38 +0000)]
More lifecycle clean-up

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@910883 13f79535-47bb-0310-9956-ffa450edef68

15 years agoRemove unused imports
markt [Wed, 17 Feb 2010 09:21:30 +0000 (09:21 +0000)]
Remove unused imports

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@910879 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdd Lifecycle to Container, Server and Service
markt [Wed, 17 Feb 2010 09:20:59 +0000 (09:20 +0000)]
Add Lifecycle to Container, Server and Service
Remove casts instanceof tests and any other code this makes unnecessary

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@910877 13f79535-47bb-0310-9956-ffa450edef68

15 years agoProvide slightly more efficient implementations for ScopeMap.size() and ScopeMap...
kkolinko [Wed, 17 Feb 2010 02:26:41 +0000 (02:26 +0000)]
Provide slightly more efficient implementations for ScopeMap.size() and ScopeMap.containsKey().

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@910803 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix a bug in ImplicitObjectELResolver.ScopeMap intruduced when applying generics...
kkolinko [Wed, 17 Feb 2010 01:52:41 +0000 (01:52 +0000)]
Fix a bug in ImplicitObjectELResolver.ScopeMap intruduced when applying generics there:
the get(String) and remove(String) methods were not overwriting the ones of AbstractMap,
because those are declared as get(Object) and remove(Object),
thus using ineffective implementations provided by AbstractMap.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@910796 13f79535-47bb-0310-9956-ffa450edef68