markt [Sat, 27 Nov 2010 13:52:13 +0000 (13:52 +0000)]
Update so this will run
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1039683 13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 27 Nov 2010 13:47:03 +0000 (13:47 +0000)]
Remove attributes from PersistentManager too
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1039680 13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 27 Nov 2010 11:41:10 +0000 (11:41 +0000)]
Drop the entropy attribute. SecureRandom has a sufficiently secure self-seeding mechanism.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1039657 13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 27 Nov 2010 10:41:26 +0000 (10:41 +0000)]
Using SecureRandom makes digesting the ID unnecessary. Dropping the digest gives ~20% performance gain on ID generation.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1039648 13f79535-47bb-0310-9956-
ffa450edef68
markt [Thu, 25 Nov 2010 14:21:52 +0000 (14:21 +0000)]
Make method name consistent with class name
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1039056 13f79535-47bb-0310-9956-
ffa450edef68
markt [Thu, 25 Nov 2010 14:12:24 +0000 (14:12 +0000)]
Fix a couple of clustering issues:
- Don't try and obtain session data from the cluster if the current node is the only node in the cluster.
- Log requesting session data as INFO rather than WARNING.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1039051 13f79535-47bb-0310-9956-
ffa450edef68
markt [Thu, 25 Nov 2010 10:19:33 +0000 (10:19 +0000)]
Correctly validate context path so sessions can be viewed for ROOT webapp
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1038981 13f79535-47bb-0310-9956-
ffa450edef68
markt [Thu, 25 Nov 2010 10:10:31 +0000 (10:10 +0000)]
Update changelog
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1038978 13f79535-47bb-0310-9956-
ffa450edef68
markt [Thu, 25 Nov 2010 10:05:02 +0000 (10:05 +0000)]
Don't use pid file. It is not removed on service stop and prevents the next service start.
https://issues.apache.org/jira/browse/DAEMON-188 has been raised for this issue.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1038975 13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 24 Nov 2010 22:08:38 +0000 (22:08 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49142
Add missing serialVersionUIDs using Eclipse's auto correct and a little manual formatting
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1038846 13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 24 Nov 2010 21:28:33 +0000 (21:28 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48837
Extend thread local memory leak detection to include classes loaded by subordinate class loaders to the web application's class loader such as the Jasper class loader.
Based on a patch by Sylvain Laurent.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1038831 13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 24 Nov 2010 20:55:02 +0000 (20:55 +0000)]
Move to Catalina section
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1038811 13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 24 Nov 2010 20:54:21 +0000 (20:54 +0000)]
https://issues.apache.org/bugzilla/show_bug.cgi?id=50106
Correct several MBean descriptors.
Patch provided by Eiji Takahashi.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1038810 13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 24 Nov 2010 20:33:49 +0000 (20:33 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49650
Remove unnecessary entries package.access property defined in catalina.properties.
Patch provided by Owen Farrell.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1038803 13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 24 Nov 2010 20:16:32 +0000 (20:16 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50108
Add get/set methods for Connector property minSpareThreads.
Patch provided by Eiji Takahashi.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1038799 13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 24 Nov 2010 20:09:26 +0000 (20:09 +0000)]
Add additional trace level logging to Tribes to assist with fault diagnosis.
Based on a patch by Ariel.
Fix Eclipse warnings in file
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1038795 13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 24 Nov 2010 19:59:19 +0000 (19:59 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50294
Add more information to documentation regarding format of configuration files. Patch provided by Luke Meyer.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1038789 13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 24 Nov 2010 18:52:34 +0000 (18:52 +0000)]
Increment version number ready for next release
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1038762 13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 24 Nov 2010 17:36:28 +0000 (17:36 +0000)]
host.removeChild() already calls context.destroy(). Don't call it twice.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1038713 13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 24 Nov 2010 17:28:55 +0000 (17:28 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50201
Track changes that require an update to the default access log.
It isn't perfect but should cover normal usage
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1038711 13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 24 Nov 2010 15:58:46 +0000 (15:58 +0000)]
Don't swallow error
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1038656 13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 23 Nov 2010 22:48:21 +0000 (22:48 +0000)]
NoOp logger is only used in StandardEngine so move it there
Only log to containers that are available
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1038369 13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 23 Nov 2010 21:45:56 +0000 (21:45 +0000)]
Move configuration of trailer header size limit to the connector
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1038351 13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 23 Nov 2010 19:21:09 +0000 (19:21 +0000)]
Add a test case for bug50015
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1038290 13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 23 Nov 2010 19:20:42 +0000 (19:20 +0000)]
Roles are supported
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1038289 13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 23 Nov 2010 17:59:49 +0000 (17:59 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50318
Avoid NPE when viewing session detail for expired sessions
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1038235 13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 23 Nov 2010 16:57:47 +0000 (16:57 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50207
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1038202 13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 23 Nov 2010 10:38:40 +0000 (10:38 +0000)]
Make memory leak prevention code that clears ThreadLocal instances more robust against objects with toString() methods that throw exceptions.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1038041 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Mon, 22 Nov 2010 22:54:51 +0000 (22:54 +0000)]
Remove border-radius.htc until issue with this file is clarified.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1037929 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Mon, 22 Nov 2010 22:43:51 +0000 (22:43 +0000)]
Impose a limit on the total length of the trailing headers.
Otherwise the ByteChunk buffer in the ChunkedInputFilter might grow unlimitedly.
Implemented as a system property. It might be better to implement it as an attribute of a connector (like maxPostSize and maxSavePostSize attributes are), but I am not sure that it is worth the effort.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1037924 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Mon, 22 Nov 2010 20:59:20 +0000 (20:59 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50316
Fix display of negative values
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1037887 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Mon, 22 Nov 2010 17:40:09 +0000 (17:40 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50228
Improve recycling of BodyContentImpl.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1037794 13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 22 Nov 2010 17:19:07 +0000 (17:19 +0000)]
Fix CVE-2010-4172. Multiple XSS in Manager web application
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1037778 13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 22 Nov 2010 14:35:51 +0000 (14:35 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50308
Allow asynchronous request processing to call AsyncContext.dispatch() once the asynchronous request has timed out.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1037735 13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 22 Nov 2010 14:12:05 +0000 (14:12 +0000)]
Additional info for https://issues.apache.org/bugzilla/show_bug.cgi?id=50273
Add the error number to the message
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1037728 13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 22 Nov 2010 13:42:01 +0000 (13:42 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50273
Provide a workaround for an HP-UX issue that can result in large numbers of SEVERE log messages appearing in the logs as a result of normal operation.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1037715 13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 22 Nov 2010 11:49:05 +0000 (11:49 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50310
Ensure Servlet info is displayed in Manager application
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1037683 13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 22 Nov 2010 11:46:46 +0000 (11:46 +0000)]
Update docs to new MBean names
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1037682 13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 22 Nov 2010 11:45:57 +0000 (11:45 +0000)]
Use correct MBean name for Mangers
Fix Eclipse niggle
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1037681 13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 22 Nov 2010 11:41:34 +0000 (11:41 +0000)]
Ensure MBean names are correct generated for version ROOT web applications.
Fix ContextResource case that was using old path=... rather than new context=...
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1037677 13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 22 Nov 2010 11:05:28 +0000 (11:05 +0000)]
Add recent HTML manager app fixes
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1037669 13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 22 Nov 2010 10:32:12 +0000 (10:32 +0000)]
Fix manager app - attribute removed message was not being displayed
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1037663 13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 22 Nov 2010 10:30:05 +0000 (10:30 +0000)]
Fix primary sessions not always treated as such by Manager app.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1037661 13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 22 Nov 2010 10:18:17 +0000 (10:18 +0000)]
Simplify escapeXml(Object)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1037659 13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 22 Nov 2010 10:16:37 +0000 (10:16 +0000)]
Fix ordering functionality for Manager app
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1037658 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Mon, 22 Nov 2010 03:05:44 +0000 (03:05 +0000)]
Revert r1032232
It broke evaluation of <c:set var="v">value<c:set>
https://issues.apache.org/bugzilla/show_bug.cgi?id=50228#c3
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1037594 13f79535-47bb-0310-9956-
ffa450edef68
mturk [Sat, 20 Nov 2010 17:34:56 +0000 (17:34 +0000)]
Use image with tm (the same as tomcat.gif logo)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1037277 13f79535-47bb-0310-9956-
ffa450edef68
mturk [Sat, 20 Nov 2010 17:29:50 +0000 (17:29 +0000)]
Images are not executable
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1037276 13f79535-47bb-0310-9956-
ffa450edef68
mturk [Sat, 20 Nov 2010 17:15:09 +0000 (17:15 +0000)]
Add tm powered by logo
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1037274 13f79535-47bb-0310-9956-
ffa450edef68
mturk [Sat, 20 Nov 2010 12:45:02 +0000 (12:45 +0000)]
Add tm
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1037199 13f79535-47bb-0310-9956-
ffa450edef68
mturk [Sat, 20 Nov 2010 12:41:47 +0000 (12:41 +0000)]
Add tm to logo
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1037197 13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 19 Nov 2010 18:49:11 +0000 (18:49 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50303
Update JavaMail download location
JAF is included in Java SE 6
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1036975 13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 19 Nov 2010 18:31:17 +0000 (18:31 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50293
Increase default resolver array size. (Jasper adds 5 resolvers.)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1036972 13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 19 Nov 2010 18:21:29 +0000 (18:21 +0000)]
Additional fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=49297
Handle tag directives in a similar manner to page directives
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1036969 13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 19 Nov 2010 17:18:04 +0000 (17:18 +0000)]
Add the final component of parallel deployment
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1036949 13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 19 Nov 2010 16:20:09 +0000 (16:20 +0000)]
The 60s timeout waiting for session info from other nodes will block processing of all cluster messages. As well as lost session updates, this can result in lost sessions if a fail-over occurs while the messages are being blocked.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1036918 13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 19 Nov 2010 15:00:32 +0000 (15:00 +0000)]
Parallel deployment
One more place where contexy.getPath() needs to be replaced with context.getName()
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1036882 13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 19 Nov 2010 12:55:27 +0000 (12:55 +0000)]
Changes to Manager and HTML Manager to support parallel deployment
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1036828 13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 19 Nov 2010 10:33:54 +0000 (10:33 +0000)]
Add displayName to ContextName
Fix some bugs in ContextName constructors
Add a test case for ContextName
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1036792 13f79535-47bb-0310-9956-
ffa450edef68
markt [Thu, 18 Nov 2010 19:59:11 +0000 (19:59 +0000)]
Fix expiration statistics broken by r1036281
Add session creation and expiration rate statistics based on the 100 most recently created/expired sessions
Modify average session alive time to also use 100 most recently expired sessions
Update benchmarks - new statistics add overhead but not significant in overall processing chain
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1036595 13f79535-47bb-0310-9956-
ffa450edef68
markt [Thu, 18 Nov 2010 15:49:19 +0000 (15:49 +0000)]
Some additional statistics prompted by Remy's questions in the dev list
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1036500 13f79535-47bb-0310-9956-
ffa450edef68
markt [Thu, 18 Nov 2010 11:05:33 +0000 (11:05 +0000)]
Comment out release notes link since tribes has not been released separately
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1036403 13f79535-47bb-0310-9956-
ffa450edef68
markt [Thu, 18 Nov 2010 10:54:22 +0000 (10:54 +0000)]
Fix issues with tribes docs reported on users list.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1036398 13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 17 Nov 2010 23:36:25 +0000 (23:36 +0000)]
Narrow the manager-wide sync
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1036286 13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 17 Nov 2010 23:24:25 +0000 (23:24 +0000)]
Refactor the calculation of session manager statistics to the session manager as suggested by kkolinko
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1036281 13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 17 Nov 2010 18:06:20 +0000 (18:06 +0000)]
Add recent performance improvements to changelog
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1036150 13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 17 Nov 2010 17:59:49 +0000 (17:59 +0000)]
Session manager performance
Switch to a queue of randomInputStreams
Significant performance improvement on multi-core non-Windows platforms
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1036145 13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 17 Nov 2010 17:37:19 +0000 (17:37 +0000)]
Session manager performance
Switch to only allowing changes to randomFile to take effect when the Manager next starts. This will simplify replacing RandomIS with a queue which is the next step in improving Manager performance on non-Windows platforms
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1036129 13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 17 Nov 2010 17:21:13 +0000 (17:21 +0000)]
Tab police - sorry rebuilt my laptop and forgot to configure Eclipse for spaces
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1036119 13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 17 Nov 2010 16:27:51 +0000 (16:27 +0000)]
Rename attributes to align with getter/setter to make code easier to read
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1036100 13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 17 Nov 2010 16:26:23 +0000 (16:26 +0000)]
Reduce code duplication
Initialise the random number generator once in ManagerBase
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1036099 13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 17 Nov 2010 13:56:37 +0000 (13:56 +0000)]
Update figures
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1036039 13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 17 Nov 2010 13:05:20 +0000 (13:05 +0000)]
Increase length of tests to
a) reduce impact of start-up overhead
b) make it easier to profile
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1036021 13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 17 Nov 2010 12:59:06 +0000 (12:59 +0000)]
Session manager performance
Focused on Windows.
Use a queue of Random's to generate session ID to remove sync bottleneck on random.nextBytes(bytes)
Timings suggest some bottlenecks still present in default Windows code path
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1036019 13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 17 Nov 2010 10:52:58 +0000 (10:52 +0000)]
Session manager performance
Focused on Windows.
No need for DataInputStream, so remove it.
Ensure randomIS is consistent with devRandomSource including when devRandomSource is changed whilst Manager is started
Further reduce scope of syncs
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1035975 13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 17 Nov 2010 10:48:16 +0000 (10:48 +0000)]
Add some test code I used to check thread-safety of FileInputStream on various platforms
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1035974 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Wed, 17 Nov 2010 10:41:03 +0000 (10:41 +0000)]
CoyoteAdapter.parsePathParameters:
- do not reevaluate start/end, because we already have them in local variables
- move warnedEncoding flag outside the loop, because otherwise it was always false and thus useless
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1035973 13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 16 Nov 2010 19:39:07 +0000 (19:39 +0000)]
Additional results for reference
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1035759 13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 16 Nov 2010 18:07:56 +0000 (18:07 +0000)]
Session manager performance
Move sync. No performance change but sync requirements for sub-classes are clearer.
Still looking to remove sync completely.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1035720 13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 16 Nov 2010 17:50:34 +0000 (17:50 +0000)]
Update the metrics - looking a lot better on Windows
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1035711 13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 16 Nov 2010 17:48:07 +0000 (17:48 +0000)]
Session manager performance
Big performance improvement for Windows. Don't try to create randomIS on every single session creation call
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1035709 13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 16 Nov 2010 17:22:45 +0000 (17:22 +0000)]
Session manager performance
Switch to a queue of message digests rather than a single sync'd digest
Small improvement but is part of removing the sync completely that should result in larger improvements
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1035701 13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 16 Nov 2010 17:13:29 +0000 (17:13 +0000)]
Session manager performance
Narrow sync - few % improvement
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1035699 13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 16 Nov 2010 16:46:50 +0000 (16:46 +0000)]
Add some benchmark code for session creation.
A performance presentation at JavaOne 2010 highlighted Tomcat's session creation as a synchronisation bottleneck for multiple production apps
Some optimisations will follow.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1035688 13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 16 Nov 2010 16:41:13 +0000 (16:41 +0000)]
Avoid NPE when removing sessions
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1035685 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Tue, 16 Nov 2010 02:54:12 +0000 (02:54 +0000)]
Improve logging documentation.
I completely rewrote the "Introduction" section of the page, to provide a lot more of details.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1035518 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Tue, 16 Nov 2010 00:23:40 +0000 (00:23 +0000)]
Wrap long lines in a properties file example.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1035505 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Tue, 16 Nov 2010 00:19:36 +0000 (00:19 +0000)]
Move <source> block outside of <ol> list to avoid indent, and thus reduce horizontal scrolling.
Do not nest lists into <p>.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1035502 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Mon, 15 Nov 2010 23:50:18 +0000 (23:50 +0000)]
Reformat the document. Print default values on separate lines, for better readability.
Correctly document the default value of org.apache.jasper.Constants.PRECOMPILE property. The value is "jsp_precompile".
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1035489 13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 15 Nov 2010 17:52:18 +0000 (17:52 +0000)]
Remove unused methods
Reduce visibility of methods where possible
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1035371 13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 15 Nov 2010 17:35:56 +0000 (17:35 +0000)]
Opps. Encoded display text rather than link.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1035366 13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 15 Nov 2010 17:29:45 +0000 (17:29 +0000)]
Parallel deployment
Add a version column to the HTML Manager output.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1035360 13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 15 Nov 2010 14:14:30 +0000 (14:14 +0000)]
Align default with Context Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1035285 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Mon, 15 Nov 2010 03:14:40 +0000 (03:14 +0000)]
Fix wrong path in the "Tomcat Documentation" shortcut.
The webapp is called "docs". ("tomcat-docs" was in TC5.5)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1035132 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Sun, 14 Nov 2010 23:05:17 +0000 (23:05 +0000)]
Do not remove HKCR key "JSPFile", because we do not create it.
(Why was it there? Was somebody configuring Tomcat as the app that runs "*.jsp" files on Windows?)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1035094 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Sun, 14 Nov 2010 22:48:23 +0000 (22:48 +0000)]
Remove "modern.exe" reference from Uninstall section.
There is no such file. It was just part of an old example.
E.g. mentioned here: http://forums.winamp.com/showthread.php?t=150064
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1035093 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Sun, 14 Nov 2010 22:28:31 +0000 (22:28 +0000)]
Move 'FileOpen' command outside from the InstallRetry loop.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1035088 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Sun, 14 Nov 2010 21:59:23 +0000 (21:59 +0000)]
Define a variable to hold a handle to the service-install.log file.
Using $R7 was not clean, because it can be reused in different methods along the way.
Append to the file, instead of overwriting it.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1035083 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Sun, 14 Nov 2010 21:18:29 +0000 (21:18 +0000)]
Simplify logic
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1035071 13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Sun, 14 Nov 2010 21:05:41 +0000 (21:05 +0000)]
- SetOutPath creates the empty folders for us. Thus 'File /nonfatal' trick is not needed.
- Simplify deletion patterns in the Uninstall section
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1035068 13f79535-47bb-0310-9956-
ffa450edef68