markt [Sat, 1 May 2010 14:26:50 +0000 (14:26 +0000)]
Minor clean-up having reviewed the diff between current code and the code prior to the Lifecycle re-factoring
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@940038
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 1 May 2010 14:18:05 +0000 (14:18 +0000)]
Get the shutdown hook working again.
Now LifecycleBase uses synchronized methods, Catalina can't extend it else the shutdown hook can't function.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@940036
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 1 May 2010 14:12:34 +0000 (14:12 +0000)]
Clarify
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@940034
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 1 May 2010 14:08:47 +0000 (14:08 +0000)]
Clean up start code. Catalina no longer implements Service. The model is now: Bootstrap sorts out the class loaders, Catalina does the remaining plumbing and holds a reference to a Server object which in turn contains 1 or more services etc. Still need to fix the shutdown hook.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@940031
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 1 May 2010 13:43:03 +0000 (13:43 +0000)]
Document must destroy state
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@940012
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 1 May 2010 13:31:46 +0000 (13:31 +0000)]
Add init() and destroy() to the Lifecycle interface
Note that this commit breaks the shutdown hook. I'll fix that in a following commit.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@940008
13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Sat, 1 May 2010 11:59:54 +0000 (11:59 +0000)]
Fix wrapped and thus broken $Id$. Use $Revision$ instead, because it is shorter.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@939985
13f79535-47bb-0310-9956-
ffa450edef68
pero [Fri, 30 Apr 2010 18:49:52 +0000 (18:49 +0000)]
Space to tab
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@939774
13f79535-47bb-0310-9956-
ffa450edef68
pero [Fri, 30 Apr 2010 12:10:08 +0000 (12:10 +0000)]
Add second resource jar and testcase failed again :-( You can switch assert resourceF and see that also resourceB test failed..
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@939650
13f79535-47bb-0310-9956-
ffa450edef68
pero [Fri, 30 Apr 2010 11:25:10 +0000 (11:25 +0000)]
Fix NPE if no encoding parameter exists at request!
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@939639
13f79535-47bb-0310-9956-
ffa450edef68
pero [Fri, 30 Apr 2010 11:23:41 +0000 (11:23 +0000)]
web.xml or fragment must merge with annotations s. Servlet Spec 3.0 8.2.3
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@939638
13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Fri, 30 Apr 2010 09:56:35 +0000 (09:56 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49236
Do not use indexing when packing Tomcat JARs.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@939612
13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Fri, 30 Apr 2010 04:00:01 +0000 (04:00 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49218
The test runs successfully if JreMemoryLeakPreventionListener is present.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@939553
13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Fri, 30 Apr 2010 03:49:40 +0000 (03:49 +0000)]
Log unexpected runtima and IO errors in ApplicationContext#getResource() and ApplicationContext#getResourceAsStream(). This is inspired by BZ 49218.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@939551
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 29 Apr 2010 22:00:17 +0000 (22:00 +0000)]
Per documentation:
http://java.sun.com/javase/6/docs/api/javax/security/auth/Subject.html
Therefore all concrete Principal implementations associated with Subjects must implement Serializable.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@939491
13f79535-47bb-0310-9956-
ffa450edef68
pero [Thu, 29 Apr 2010 15:21:54 +0000 (15:21 +0000)]
Fix to correct JarScanner (StandardJarScanner) default!
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@939342
13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Thu, 29 Apr 2010 14:23:46 +0000 (14:23 +0000)]
Set svn:keywords=Id where there is unexpanded $Id$ keyword in the files
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@939320
13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Thu, 29 Apr 2010 14:11:01 +0000 (14:11 +0000)]
Replace $Date$ with $Id$ because of its i18n and timezone issues
(http://subversion.tigris.org/issues/show_bug.cgi?id=2332)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@939315
13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Thu, 29 Apr 2010 14:02:25 +0000 (14:02 +0000)]
Replace $Date$ with $Id$ because of its i18n and timezone issues
(http://subversion.tigris.org/issues/show_bug.cgi?id=2332)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@939312
13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Thu, 29 Apr 2010 14:01:02 +0000 (14:01 +0000)]
Replace $Date$ with $Id$ because of its i18n and timezone issues
(http://subversion.tigris.org/issues/show_bug.cgi?id=2332)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@939311
13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Thu, 29 Apr 2010 13:54:26 +0000 (13:54 +0000)]
Replace $Date$ with $Id$ because of its i18n and timezone issues
(http://subversion.tigris.org/issues/show_bug.cgi?id=2332)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@939309
13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Thu, 29 Apr 2010 13:43:39 +0000 (13:43 +0000)]
Replace $Date$ with $Id$ because of its i18n and timezone issues
(http://subversion.tigris.org/issues/show_bug.cgi?id=2332)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@939305
13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Thu, 29 Apr 2010 12:52:36 +0000 (12:52 +0000)]
Remove MultiMap class. It is never used.
Note, that its implementation was incomplete, e.g. MultiMap.Field#name and #value fields are never assigned.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@939299
13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Thu, 29 Apr 2010 11:48:38 +0000 (11:48 +0000)]
Move and rename the aliases support test.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@939287
13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Thu, 29 Apr 2010 10:24:14 +0000 (10:24 +0000)]
Tests for Servlet 3.0 support of bundling static resources in META-INF/resources subdirectory of a jar file.
It is a separate web application, because the old "webapp-3.0" has metadata-complete="true".
The tests in TestStandardContextResources are currently failing,
and thus are disabled until a solution is found. See the comment in TestStandardContextResources.java
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@939253
13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Thu, 29 Apr 2010 07:30:29 +0000 (07:30 +0000)]
$Date$ was wrapped and thus broken in r939212
Replacing with $Id$ because of i18n and timezone issues that $Date$ has
(http://subversion.tigris.org/issues/show_bug.cgi?id=2332)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@939221
13f79535-47bb-0310-9956-
ffa450edef68
pero [Thu, 29 Apr 2010 06:37:20 +0000 (06:37 +0000)]
Fix my IDE and use spaces. - No functional change
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@939212
13f79535-47bb-0310-9956-
ffa450edef68
markt [Thu, 29 Apr 2010 00:36:35 +0000 (00:36 +0000)]
It isn't practical to list every single commit that implemented Servlet 3.0.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@939143
13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 28 Apr 2010 23:07:43 +0000 (23:07 +0000)]
Follow up on pero's review comments.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@939130
13f79535-47bb-0310-9956-
ffa450edef68
pero [Wed, 28 Apr 2010 22:18:24 +0000 (22:18 +0000)]
web.xml and fragments overwrite annotation parameters (s. Servlet API Sepc Nov 2009 Section 8.2.3.3 pages 80-84)
not yet complete -- filter support is missing!
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@939115
13f79535-47bb-0310-9956-
ffa450edef68
pero [Wed, 28 Apr 2010 22:16:49 +0000 (22:16 +0000)]
web.xml and fragments overwrite annotation parameters (s. Servlet API Sepc Nov 2009 Section 8.2.3.3 pages 80-84)
not yet complete -- filter support is missing!
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@939114
13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Wed, 28 Apr 2010 18:49:11 +0000 (18:49 +0000)]
Implement support for running the tests when the build output directory has non-default value.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@939050
13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Wed, 28 Apr 2010 16:21:32 +0000 (16:21 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49207
FilterMap#filterName was null when it was configured dynamically with addMappingForUrlPatterns()
Patch provided by Pid
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@939001
13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Wed, 28 Apr 2010 09:08:52 +0000 (09:08 +0000)]
Mark StandardContext#aliases as private, because there is a getter method.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@938829
13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Wed, 28 Apr 2010 08:21:32 +0000 (08:21 +0000)]
Use a helper class to manage the filter mappings.
Fix ArrayIndexOutOfBoundsException in addFilterMapBefore as reported in re: r937975 thread.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@938814
13f79535-47bb-0310-9956-
ffa450edef68
funkman [Wed, 28 Apr 2010 00:34:46 +0000 (00:34 +0000)]
minor tweaks for versions
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@938739
13f79535-47bb-0310-9956-
ffa450edef68
funkman [Wed, 28 Apr 2010 00:26:27 +0000 (00:26 +0000)]
java 6, not java5
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@938737
13f79535-47bb-0310-9956-
ffa450edef68
funkman [Wed, 28 Apr 2010 00:24:13 +0000 (00:24 +0000)]
s/2.1/2.2/ for jsp spec version
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@938736
13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 27 Apr 2010 12:50:38 +0000 (12:50 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49073
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@938430
13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Tue, 27 Apr 2010 09:01:37 +0000 (09:01 +0000)]
If the class implements both interfaces then call addApplicationLifecycleListener only once.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@938363
13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Tue, 27 Apr 2010 08:04:41 +0000 (08:04 +0000)]
Simplify code
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@938348
13f79535-47bb-0310-9956-
ffa450edef68
pero [Mon, 26 Apr 2010 10:46:01 +0000 (10:46 +0000)]
Include .project and .classpath files to src distribution.
s. http://ant.apache.org/manual/dirtasks.html#defaultexcludes to not include scm files!
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@937993
13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 26 Apr 2010 09:17:46 +0000 (09:17 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49184
Prevent ArrayIndexOutOfBoundsException
Patch provided by Pid
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@937975
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sun, 25 Apr 2010 12:56:32 +0000 (12:56 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48689
Access TLD files through a new JarResource interface to make extending Jasper simpler, particularly in OSGi environments.
Patch provided by Jarek Gawor.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@937791
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sun, 25 Apr 2010 12:19:19 +0000 (12:19 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48358
Add the ability to limit the number of JSPs loaded at any one time.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@937787
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sun, 25 Apr 2010 11:26:29 +0000 (11:26 +0000)]
Fix leftover bug from changing the design
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@937781
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sun, 25 Apr 2010 11:24:41 +0000 (11:24 +0000)]
Fix SCI when there is more than one JAR on the classpath
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@937779
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sun, 25 Apr 2010 11:21:41 +0000 (11:21 +0000)]
Update ignore list now ecj-x.x.x.jar is used directly
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@937778
13f79535-47bb-0310-9956-
ffa450edef68
billbarker [Sun, 25 Apr 2010 01:24:33 +0000 (01:24 +0000)]
Allow time for the OS to do a context switch. Otherwise this fails 100% of the time on my Windows 7 box
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@937733
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 24 Apr 2010 23:30:28 +0000 (23:30 +0000)]
Update
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@937723
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 24 Apr 2010 23:26:20 +0000 (23:26 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49181
Patch provided by Pid
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@937722
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 24 Apr 2010 23:23:23 +0000 (23:23 +0000)]
Trigger a DBCP rebuild if src or bin is missing
Should fix buildbot
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@937721
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 24 Apr 2010 23:11:50 +0000 (23:11 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48222
Provide src JARs for Maven
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@937719
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 24 Apr 2010 21:18:40 +0000 (21:18 +0000)]
Build script improvements:
- build src jars for every jar
- use ecj-x.x.x.jar directly
- add an embed-release target
Note: src JARs are required to fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48222 (providing src JARs for Maven)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@937698
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 24 Apr 2010 21:10:25 +0000 (21:10 +0000)]
The release build doesn't run the tests
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@937697
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 24 Apr 2010 19:26:17 +0000 (19:26 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48644
Don't silently swallow Throwables that need to be re-thrown
Patch provided by Charlotte H (with a few tweaks)
Patch developed during the London GDC OS Jumpstart 2010
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@937680
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 24 Apr 2010 19:21:14 +0000 (19:21 +0000)]
Restore global JNDI support broken in r937542
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@937678
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 23 Apr 2010 22:20:33 +0000 (22:20 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49132
Need to start JNDI before listeners are called
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@937542
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 23 Apr 2010 22:19:12 +0000 (22:19 +0000)]
Add test case for bug 49132.
Check JNDI is available when ServletContextListeners start
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@937541
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 23 Apr 2010 15:09:58 +0000 (15:09 +0000)]
Remove unnecessary instanceof tests ID'd by FindBugs
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@937325
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 23 Apr 2010 15:06:40 +0000 (15:06 +0000)]
Remove impossible tests ID'd by FindBugs
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@937324
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 23 Apr 2010 15:03:28 +0000 (15:03 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49140
Use appropriate iterators and for-each where possible
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@937322
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 23 Apr 2010 14:23:45 +0000 (14:23 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49143
Threading / initialisation issues. Not all were valid. Make them volatile anyway so FindBugs doesn't complain.
Fix some additional issues - use of valueOf() - found along the way
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@937309
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 23 Apr 2010 13:59:54 +0000 (13:59 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49144
Not an issue but stop FindBugs complaining
Also fix one other FindBugs report for this class.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@937302
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 23 Apr 2010 13:48:16 +0000 (13:48 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49164
Improve unit tests by propagating failures from spawned threads to main thread.
Patch provided by Felix Schumacher.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@937298
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 23 Apr 2010 13:43:27 +0000 (13:43 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49171
Fix IDE warning
Patch provided by sebb
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@937292
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 23 Apr 2010 13:34:17 +0000 (13:34 +0000)]
Servlet 3. Implement ServletContainerInitializer support
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@937288
13f79535-47bb-0310-9956-
ffa450edef68
rjung [Fri, 23 Apr 2010 12:16:56 +0000 (12:16 +0000)]
Context aliases:
- add a little to the docs
- disallow an alias for "/"
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@937264
13f79535-47bb-0310-9956-
ffa450edef68
rjung [Thu, 22 Apr 2010 15:14:11 +0000 (15:14 +0000)]
Respect configurable search order in getURLs().
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@936892
13f79535-47bb-0310-9956-
ffa450edef68
rjung [Thu, 22 Apr 2010 13:36:03 +0000 (13:36 +0000)]
Update changelog.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@936840
13f79535-47bb-0310-9956-
ffa450edef68
rjung [Thu, 22 Apr 2010 13:27:38 +0000 (13:27 +0000)]
Add docs about VirtualWebappLoader.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@936837
13f79535-47bb-0310-9956-
ffa450edef68
rjung [Thu, 22 Apr 2010 13:11:24 +0000 (13:11 +0000)]
Expose the new WebappLoader flag in the VirtualWebappLoader,
but allow alternative name searchVirtualFirst to make it
consistent with the "virtual" terminology.
Now you can decide, whether the virtual paths will
be searched before the webapp or after it.
If searched before, external resources take precendence
over internal ones. Before that change one couldn't overwrite
resources already present in the webapp.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@936825
13f79535-47bb-0310-9956-
ffa450edef68
rjung [Thu, 22 Apr 2010 13:08:01 +0000 (13:08 +0000)]
Add property "searchExternalFirst" to WebappLoader:
if set the external repositories will be searched before
the WEB-INF ones. Default (false) is unchanged behaviour.
Expose the new property via JMX and document it..
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@936823
13f79535-47bb-0310-9956-
ffa450edef68
rjung [Thu, 22 Apr 2010 13:00:11 +0000 (13:00 +0000)]
Expose properties of VirtualWebappLoader
and WebappClassLoader via JMX.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@936819
13f79535-47bb-0310-9956-
ffa450edef68
kfujino [Thu, 22 Apr 2010 10:57:55 +0000 (10:57 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49170
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@936777
13f79535-47bb-0310-9956-
ffa450edef68
markt [Thu, 22 Apr 2010 10:06:06 +0000 (10:06 +0000)]
Complete review of spec. One additional requirement
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@936723
13f79535-47bb-0310-9956-
ffa450edef68
markt [Thu, 22 Apr 2010 08:33:53 +0000 (08:33 +0000)]
Update
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@936651
13f79535-47bb-0310-9956-
ffa450edef68
markt [Thu, 22 Apr 2010 08:13:08 +0000 (08:13 +0000)]
Add support for loading static resources from /META-INF/resources inside JARs bundled with a web application
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@936646
13f79535-47bb-0310-9956-
ffa450edef68
markt [Thu, 22 Apr 2010 08:02:14 +0000 (08:02 +0000)]
typos
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@936642
13f79535-47bb-0310-9956-
ffa450edef68
markt [Thu, 22 Apr 2010 08:00:26 +0000 (08:00 +0000)]
Fix Eclipse warnings
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@936641
13f79535-47bb-0310-9956-
ffa450edef68
markt [Thu, 22 Apr 2010 07:59:21 +0000 (07:59 +0000)]
Fix typo in overridden method name
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@936640
13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 21 Apr 2010 22:11:29 +0000 (22:11 +0000)]
Fix CVE-2010-1157.
Prevent possible disclosure of host name or IP address via the HTTP WWW-Authenticate header when using BASIC or DIGEST authentication.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@936539
13f79535-47bb-0310-9956-
ffa450edef68
jfclere [Wed, 21 Apr 2010 12:55:19 +0000 (12:55 +0000)]
Fix for 43642.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@936289
13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 21 Apr 2010 12:07:05 +0000 (12:07 +0000)]
Minor fixes
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@936274
13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 20 Apr 2010 22:19:42 +0000 (22:19 +0000)]
Remove mystery method
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@936091
13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 20 Apr 2010 22:11:15 +0000 (22:11 +0000)]
getCookies is a httpServletRequestMethod, not a httpServletResponseMethod
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@936086
13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 20 Apr 2010 19:49:10 +0000 (19:49 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49141
Stop Findbugs complaining
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@936047
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 20 Apr 2010 17:13:37 +0000 (17:13 +0000)]
https://issues.apache.org/bugzilla/show_bug.cgi?id=49158
Session cookies should only set one header
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@935998
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 20 Apr 2010 16:34:27 +0000 (16:34 +0000)]
Add test case for bug 49158
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@935984
13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Tue, 20 Apr 2010 16:30:52 +0000 (16:30 +0000)]
Additional patch for https://issues.apache.org/bugzilla/show_bug.cgi?id=48589
Do not access JNDIRealm$User class fields directly, but use the getter methods,
as (theoretically) those can be overwritten in subclasses.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@935983
13f79535-47bb-0310-9956-
ffa450edef68
kfujino [Tue, 20 Apr 2010 00:46:19 +0000 (00:46 +0000)]
remove null check.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@935777
13f79535-47bb-0310-9956-
ffa450edef68
kfujino [Mon, 19 Apr 2010 10:12:02 +0000 (10:12 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49151
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@935510
13f79535-47bb-0310-9956-
ffa450edef68
kfujino [Mon, 19 Apr 2010 10:07:16 +0000 (10:07 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49150
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@935509
13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Sat, 17 Apr 2010 01:59:56 +0000 (01:59 +0000)]
Improve the ChatServlet comet example.
1. Fix possible deadlock in ChatServlet$MessageSender, similar to BZ 48843.
2. Properly wake up ChatServlet$MessageSender when the servlet is destroyed.
3. Filter special characters when printing the message in ChatServlet.
4. Provide an explicit charset everywhere.
5. Fix frames layout. Fix redirections.
Use target="<name>" attribute in HTML to send request to a particular frame.
6. Fix DTDs. Use frameset DTD for the page containing frames.
7. Add "xxx joined the chat" message at startup.
8. Rename chat.jsp -> index.jsp, so that the entry point to this example is more visible.
9. Corrected the link that opens a new chat window. It referenced an undefined JavaScript function. Now it is implemented just by using target="_blank".
10. Added submit button to the form pages.
11. Minor message tweaks.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@935105
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 16 Apr 2010 22:39:55 +0000 (22:39 +0000)]
More checking against the spec
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@935092
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 16 Apr 2010 20:41:11 +0000 (20:41 +0000)]
Get build working with relative base.path
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@935077
13f79535-47bb-0310-9956-
ffa450edef68
kkolinko [Fri, 16 Apr 2010 15:44:51 +0000 (15:44 +0000)]
Remove unused dependency on o.a.t.util.collections.MultiMap.
An indication here is that MultiMap$Field.name and .value fields are never assigned.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@934968
13f79535-47bb-0310-9956-
ffa450edef68
jfclere [Fri, 16 Apr 2010 14:44:50 +0000 (14:44 +0000)]
Fix asyn with APR.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@934936
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 16 Apr 2010 06:45:39 +0000 (06:45 +0000)]
Review section 4. More stuff to do.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@934696
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Fri, 16 Apr 2010 03:37:59 +0000 (03:37 +0000)]
Clean up a bit
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@934677
13f79535-47bb-0310-9956-
ffa450edef68