-
Notifications
You must be signed in to change notification settings - Fork 4.9k
/
changelog.xml
8064 lines (8055 loc) · 306 KB
/
changelog.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!DOCTYPE document [
<!ENTITY project SYSTEM "project.xml">
]>
<?xml-stylesheet type="text/xsl" href="tomcat-docs.xsl"?>
<document url="changelog.html">
&project;
<properties>
<author email="remm at apache.org">Remy Maucherat</author>
<author email="fhanik at apache.org">Filip Hanik</author>
<author email="rjung at apache.org">Rainer Jung</author>
<author email="kkolinko at apache.org">Konstantin Kolinko</author>
<author email="pero at apache.org">Peter Rossbach</author>
<author email="kfujino at apache.org">Keiichi Fujino</author>
<author email="timw at apache.org">Tim Whittington</author>
<author email="mturk at apache.org">Mladen Turk</author>
<author email="schultz at apache.org">Christopher Schultz</author>
<author email="slaurent at apache.org">Sylvain Laurent</author>
<author email="violetagg at apache.org">Violeta Georgieva</author>
<title>Changelog</title>
<no-comments />
</properties>
<body>
<!--
Subsection ordering:
General, Catalina, Coyote, Jasper, Cluster, Web applications, Extras, Tribes,
jdbc-pool, Other
Item Ordering:
Fixes having an issue number are sorted by their number, ascending.
There is no ordering by add/update/fix.
Other fixed issues are added to the end of the list, chronologically.
They eventually become mixed with the numbered issues. (I.e., numbered
issues to not "pop up" wrt. others).
-->
<section name="Tomcat 7.0.47 (violetagg)">
<subsection name="Coyote">
<changelog>
<fix>
Fix regression with legacy WebSocket implementation in NIO and APR
connectors. (markt)
</fix>
</changelog>
</subsection>
<subsection name="Web applications">
<changelog>
<fix>
Avoid hang observed with Java 6 on Windows when stopping the Tomcat
process via CTRL-C. (markt)
</fix>
</changelog>
</subsection>
<subsection name="Other">
<changelog>
<fix>
<bug>55663</bug>: NOTICE files are corrected according to
<a href="http://www.apache.org/legal/src-headers.html#notice">NOTICE files requirements</a>.
(violetagg)
</fix>
</changelog>
</subsection>
</section>
<section name="Tomcat 7.0.46 (violetagg)" rtext="not released">
<subsection name="Catalina">
<changelog>
<fix>
Only send a WebSocket close message on an IOException if the client has
not yet received a close control message from the server as the
IOException may be in response to the client continuing to send a
message after the server sent a close control message. (markt)
</fix>
<fix>
<bug>49134</bug>: Ensure nested realms are correctly destroyed, when a
CombinedRealm is destroyed. This ensures that the associated MBeans are
deregistered. (markt)
</fix>
</changelog>
</subsection>
<subsection name="Coyote">
<changelog>
<scode>
Refactor APR/native connector to reduce the scope of
<code>localAddList</code>. (markt)
</scode>
<fix>
<bug>55602</bug>: Ensure that sockets removed from the Poller and then
closed in the APR/native connector are removed and then closed in a
thread-safe manner. (markt)
</fix>
<fix>
Update the APR/native connector to version 1.1.29. (violetagg)
</fix>
</changelog>
</subsection>
<subsection name="Jasper">
<changelog>
<fix>
<bug>55642</bug>: Correct logic error in the JSP parser that was
incorrectly identifying EL expressions in jsp:param element values as a
literal string. (markt)
</fix>
</changelog>
</subsection>
<subsection name="Cluster">
<changelog>
<add>
Add support for notify periodic event of cluster. (kfujino)
</add>
</changelog>
</subsection>
<subsection name="Web applications">
<changelog>
<fix>
Correct the javadoc for <code>org.apache.catalina.Lifecycle</code>.
(kfujino)
</fix>
<add>
Add document for sessionIdAttribute attribute in
<code>org.apache.catalina.ha.session.JvmRouteBinderValve</code>.
(kfujino)
</add>
<fix>
Handle the case when a user closes the browser whilst playing the
snake game in the JSR356 WebSocket examples. (markt)
</fix>
<fix>
Ensure Javadoc comments are associated with the correct elements in
<code>org.apache.tomcat.jni.Poll</code>. (markt)
</fix>
<add>
Expand Context documentation for the use of
<code>sessionCookiePath="/"</code> to make the implications
for session fixation protection clearer. (markt)
</add>
<fix>
<bug>55629</bug>: Ensure that the JMX notification listener added during
initialization of the servlet org.apache.catalina.manager.StatusManagerServlet
is removed in the destroy phase. (violetagg)
</fix>
<fix>
Correct the documentation for Deployment Organization in the App Dev
Guide. (violetagg)
</fix>
<add>
<bug>55639</bug>: Add a Drawboard WebSocket example. (kpreisser)
</add>
</changelog>
</subsection>
</section>
<section name="Tomcat 7.0.45 (violetagg)" rtext="not released">
<subsection name="Catalina">
<changelog>
<add>
<bug>55576</bug>: Preserve the order in which request parameters were
received when accessing them via the Servlet API. (markt)
</add>
</changelog>
</subsection>
<subsection name="Cluster">
<changelog>
<fix>
Logger instance of cluster session manager is changed to non-static in
order to enable logging of each application. (kfujino)
</fix>
</changelog>
</subsection>
</section>
<section name="Tomcat 7.0.44 (violetagg)" rtext="not released">
<subsection name="Jasper">
<changelog>
<fix>
<bug>55582</bug>: Correct concurrency issue that can result in two
instances of JspServletWrapper being created for one tag Patch provided
by Sheldon Shao. (markt)
</fix>
</changelog>
</subsection>
</section>
<section name="Tomcat 7.0.43 (violetagg)" rtext="not released">
<subsection name="Catalina">
<changelog>
<add>
<bug>51526</bug>: <code>o.a.catalina.startup.Tomcat#addWebapp</code>
methods now process the web application's <code>META-INF/context.xml</code>
when it is available in the provided path. (violetagg)
</add>
<fix>
<bug>55186</bug>: Ensure local name is recycled between requests so IP
virtual hosting works correctly. (markt)
</fix>
<fix>
<bug>55210</bug>: Correct the processing of the provider-configuration
file for <code>javax.servlet.ServletContainerInitializer</code> in the
resource directory <code>META-INF/services</code> when this file
contains comments and multiple SCIs. Patch provided by Nick Williams.
(violetagg)
</fix>
<fix>
<bug>55230</bug>: Use the correct resource path when obtaining an
InputStream for resources served by a ProxyDirContext. (markt)
</fix>
<fix>
Ensure that the JAR scanning process scans the Apache Log4j version 2
JARs. Patch provided by Nick Williams. (markt)
</fix>
<fix>
<bug>55261</bug>: Fix failing unit test for file upload checks when
running on platform / JVM combinations that have large network buffers.
(markt)
</fix>
<fix>
<bug>55268</bug>: Added optional --service-start-wait-time
command-line option to change service start wait time from default of 10
seconds.
</fix>
<fix>
The <code>contextClass</code> attribute of <code>HostConfig</code>
refers to the value of the <code>contextClass</code> attribute of Host.
(kfujino)
</fix>
<fix>
<bug>55331</bug>: Dispatching to an asychronous servlet from
<code>AsyncListener.onTimeout()</code> should not trigger an
<code>IllegalStateException</code>. (markt)
</fix>
<fix>
<bug>55333</bug>: Correct a regression in the fix for <bug>55071</bug>.
(markt)
</fix>
<fix>
When using a security manager, ensure that calls to the ServletContext
that are routed via an <code>AccessController.doPrivileged</code> block
do not result in a call to a different underlying method on the
ServletContext. (markt)
</fix>
<fix>
<bug>55354</bug>: Ensure that the naming context environment parameters
are restored after associating the Principle with the user name. Based
on patch provided by Richard Begg. (violetagg)
</fix>
<fix>
<bug>55357</bug>: Ensure the web application class loader is set as a
thread context class loader during session deserialization. (violetagg)
</fix>
<fix>
<bug>55404</bug>: Log warnings about using security roles in web.xml
without defining them as warnings. (markt)
</fix>
<fix>
<bug>55439</bug>: Don't try a forced stop when <code>stop
-force</code> is used if Tomcat has already been stopped. This avoids
error messages when the PID file has been cleared. If a forced stop is
required, improve handling of the case when the PID file can be read
from or written to but not deleted. (markt)
</fix>
<fix>
<bug>55454</bug>: Avoid NPE when parsing an incorrect content type.
(violetagg)
</fix>
<update>
Back-port the JSR-356 Java WebSocket 1.0 implementation from Tomcat 8.
Note that use of this functionality requires Java 7. (markt)
</update>
<update>
Deprecate the Tomcat proprietary WebSocket API in favour of the new
JSR-356 implementation. (markt)
</update>
<fix>
<bug>55494</bug>: Reduce severity of log message from warning to
information for JNDI Realm connection issues where the JNDI Realm
automatically re-tries the action that failed. Make clear in the log
message that the action is being re-tried. (markt)
</fix>
<fix>
Correct several incorrect formats of <code>JdkLoggerFormatter</code>.
(kfujino)
</fix>
<fix>
<bug>55521</bug>: Ensure that calls to
<code>HttpSession.invalidate()</code> do not return until the session
has been invalidated. Also ensure that checks on the validity of a
session return a result consistent with any previous call to
<code>HttpSession.invalidate()</code>. (markt)
</fix>
<fix>
<bug>55524</bug>: Refactor to avoid a possible deadlock when handling an
<code>IOException</code> during output when using Tomcat'
proprietary (and deprecated) WebSocket API. (markt)
</fix>
<fix>
The loaded attribute never exists in <code>PersistentManager</code>.
isLoaded is defined as operation in mbeans-descriptors. (kfujino)
</fix>
<add>
Added logging of logging.properties location when system property
<code>org.apache.juli.ClassLoaderLogManager.debug=true</code>
is set.
</add>
<fix>
<bug>55570</bug>: Correctly log exceptions for all error conditions in
the SPNEGO authenticator. (markt)
</fix>
</changelog>
</subsection>
<subsection name="Coyote">
<changelog>
<fix>
<bug>55228</bug>: Allow web applications to set a HTTP Date header.
(markt)
</fix>
<add>
Expose the current connection count for each protocol handler via JMX.
(markt)
</add>
<fix>
<bug>55267</bug>: If an application configures a timeout for a Comet
connection ensure it is only used for read and not write operations.
This prevents a long timeout delaying the closing of the socket
associated with a Comet connection after an error occurs. (markt)
</fix>
<fix>
Ensure that <code>java.lang.VirtualMachineError</code>s are not
swallowed when using the HTTP or AJP NIO connectors. (markt)
</fix>
<fix>
<bug>55399</bug>: Use the response locale to select the language to use
for the status message in the HTTP response. (markt)
</fix>
<update>
Refactor the connectors to support the new JSR-356 Java WebSocket
1.0 implementation. The most noticeable change is that the AJP
APR/native and HTTP APR/native connectors no longer support multiple
poller threads. Both connectors now use a single poller thread. (markt)
</update>
<fix>
Internally, content length is managed as a <code>long</code>. Fix a few
places in the AJP connector where this was restricted to an
<code>int</code>. (markt)
</fix>
<fix>
<bug>55453</bug>: Ensure that the AJP connector does not permit response
bodies to be included for responses with status codes and/or request
methods that are not permitted to have a response body. (markt)
</fix>
<fix>
<bug>55500</bug>: Don't ignore the value of an asynchronous context
timeout when using the AJP NIO connector. (markt)
</fix>
<fix>
Better adherence to RFC2616 for content-length headers. (markt)
</fix>
<fix>
Add support for limiting the size of chunk extensions when using chunked
encoding. (markt)
</fix>
<fix>
Update the APR/native connector to version 1.1.28. Make this the minimum
acceptable version as the correct behaviour of the JSR-356 WebSocket
implementation when using the APR/native HTTP connector depends on a bug
fix in the 1.1.28 release. (markt)
</fix>
</changelog>
</subsection>
<subsection name="Jasper">
<changelog>
<fix>
<bug>55198</bug>: Ensure attribute values in tagx files that include EL
and quoted XML characters are correctly quoted in the output. (markt)
</fix>
<fix>
Ensure that <code>javax.el.ELContext.getContext(Class)</code> will
throw <code>NullPointerException</code> when the provided class is
null. (violetagg)
</fix>
<fix>
Ensure that <code>FeatureDescriptor</code> objects returned by
<code>javax.el.MapELResolver.getFeatureDescriptors(ELContext,Object)</code>
will be created with a correct <code>shortDescription</code> - an empty string and
a named attribute <code>ELResolver.RESOLVABLE_AT_DESIGN_TIME</code> -
true. (violetagg)
</fix>
<fix>
Ensure that <code>FeatureDescriptor</code> objects returned by
<code>javax.el.ResourceBundleELResolver.getFeatureDescriptors(ELContext,Object)</code>
will be created with a correct <code>shortDescription</code> - an empty
string.
<code>javax.el.ResourceBundleELResolver.isReadOnly(ELContext,Object,Object)</code>
returns true if the base object is an instance of ResourceBundle.
(violetagg)
</fix>
<fix>
<bug>55207</bug>: Enforce the restriction that a <jsp:text>
element may not contain any sub-elements from any namespace. Patch
provided by Jeremy Boynes. (markt)
</fix>
<fix>
Ensure that
<code>javax.el.ListELResolver.getFeatureDescriptors(ELContext,Object)</code>
will always return null.
<code>javax.el.ListELResolver.isReadOnly(ELContext,Object,Object)</code>
will return a result when the property cannot be coerced into an
integer. (violetagg)
</fix>
<fix>
Ensure that
<code>javax.el.ArrayELResolver.getFeatureDescriptors(ELContext,Object)</code>
will always return null.
<code>javax.el.ArrayELResolver.isReadOnly(ELContext,Object,Object)</code>
and
<code>javax.el.ArrayELResolver.getType(ELContext,Object,Object)</code>
will return a result when the property cannot be coerced into an
integer. (violetagg)
</fix>
<fix>
<bug>55309</bug>: Fix concurrency issue with JSP compilation and the
tag plug-in manager. Patch provided by Sheldon Shao. (markt)
</fix>
<fix>
Ensure that
<code>javax.el.BeanELResolver.getFeatureDescriptors(ELContext,Object)</code>
and
<code>javax.el.BeanELResolver.getCommonPropertyType(ELContext,Object)</code>
do not throw <code>NullPointerException</code> when the provided context
is null. (violetagg)
</fix>
</changelog>
</subsection>
<subsection name="Cluster">
<changelog>
<add>
Add new attribute terminateOnStartFailure. Set to true if you wish to
terminate replication map when replication map fails to start.
If replication map is terminated, associated context will fail to start.
If you set this attribute to false, replication map does not end.
It will try to join the map membership in the heartbeat. Default value
is false. (kfujino)
</add>
<fix>
Avoid ConcurrentModificationException when sending a heartbeat.
(kfujino)
</fix>
<fix>
Avoid NPE when the channel fails to start. (kfujino)
</fix>
<fix>
<bug>55301</bug>: Fix <code>IllegalArgumentException</code> thrown by
simple test for McastService. (kfujino)
</fix>
<fix>
<bug>55332</bug>: Fix NPE in <code>FileMessageFactory.main</code> when
specify empty file as arguments. (kfujino)
</fix>
<fix>
More definite thread name for <code>MessageDispatch15Interceptor</code>.
(kfujino)
</fix>
</changelog>
</subsection>
<subsection name="Web applications">
<changelog>
<update>
Remove the experimental label from the AJP NIO connector documentation.
(markt)
</update>
<fix>
Correctly associated the default resource bundle with the English locale
so that requests that specify an Accept-Language of English ahead of
French, Spanish or Japanese get the English messages they asked for.
(markt)
</fix>
<fix>
<bug>55469</bug>: Fixed tags that were not properly closed. Based on a
patch provided by Larry Shatzer, jr. (violetagg)
</fix>
<update>
The WebSocket examples in the examples web application have been changed
to use the new JSR-356 Java WebSocket 1.0 implementation. (markt)
</update>
<add>
Add document for
<code>org.apache.catalina.tribes.group.GroupChannel</code>. (kfujino)
</add>
<fix>
Correct Realm Component page of Tomcat documentation. (violetagg)
</fix>
</changelog>
</subsection>
<subsection name="jdbc-pool">
<changelog>
<fix>
<bug>54693</bug>: Add a validationQueryTimeout property. Patch provided
by Daniel Mikusa. (kfujino)
</fix>
<fix>
<bug>54693#c6</bug>: Avoid NPE caused by <code>createConnection()</code>
method returns null. Patch provided by Daniel Mikusa. (kfujino)
</fix>
<fix>
<bug>55342</bug>: Remove unnecessary reset of interrupted flag. If
<code>InterruptedException</code> is thrown, the interrupted flag has
been cleared. (kfujino)
</fix>
<fix>
<bug>55343</bug>: Add flag to ignore exceptions of connection creation
while initializing the pool. (kfujino)
</fix>
<fix>
Add undefined attributes and operations to mbeans-descriptor. (kfujino)
</fix>
</changelog>
</subsection>
<subsection name="Other">
<changelog>
<add>
<bug>45428</bug>: Trigger a thread dump written to standard out if
Tomcat fails to stop in a timely manner to aid diagnostics. This is only
available on platforms that use <code>catalina.sh</code>. (markt)
</add>
<fix>
<bug>55204</bug>: Correct namespace used in Servlet 2.4 test web
application. Patch provided by Jeremy Boynes. (markt)
</fix>
<fix>
<bug>55205</bug>: Reorder elements so web.xml complies with schema for
Servlet 3.0 test web application. Patch provided by Jeremy Boynes.
(markt)
</fix>
<fix>
<bug>55211</bug>: Correct namespace in TLD files used in test web
applications. Rename elements <code>tagclass</code> to
<code>tag-class</code> so TLD files complies with DTD/schema. Patch
provided by Jeremy Boynes. (violetagg)
</fix>
<update>
Update package renamed version of Commons BCEL to the latest code from
Commons BCEL trunk. (markt)
</update>
<update>
Update package renamed version of Commons FileUpload to the latest code
from Commons FileUpload trunk. (markt)
</update>
<fix>
<bug>55297</bug>: When looking for the jsvc executable, if an explicit
path is not set and it is not found in $CATALINA_BASE, look in
$CATALINA_HOME as well. (markt)
</fix>
<fix>
<bug>55336</bug>: Correctly escape parameters passed to eval in the
catalina.sh script to ensure that Tomcat starts when installed on a path
that contains multiple consecutive spaces. (markt)
</fix>
</changelog>
</subsection>
</section>
<section name="Tomcat 7.0.42 (markt)" rtext="2013-07-05">
<subsection name="Catalina">
<changelog>
<fix>
Enforce the restriction described in section 4.4 of the Servlet 3.0
specification that requires the new pluggability methods only to be
available to <code>ServletContextListener</code>s defined in one of the
specified ways. (markt)
</fix>
<fix>
Better handle FORM authentication when requesting a resource as an
unauthenticated user that is only protected for a sub-set of HTTP
methods that does not include GET. (markt)
</fix>
<fix>
<bug>53777</bug>: Add support for a JAAS Realm instance to use a
dedicated configuration rather than the JVM global JAAS configuration.
This is most likely to be useful for per web application JAAS Realms.
Based on a patch by eolivelli. (markt)
</fix>
<fix>
<bug>54745</bug>: Fix JAR file scanning when Tomcat is deployed via Java
Web Start. Patch provided by Nick Williams. (markt)
</fix>
<add>
<bug>55017</bug>: Add the ability to configure the RMI bind address when
using the JMX remote lifecycle listener. Patch provided by Alexey
Noskov. (markt)
</add>
<fix>
<bug>55071</bug>: Ensure original exception is reported if JDBC Realm
fails to read a user's credentials. (markt)
</fix>
<fix>
<bug>55073</bug>, <bug>55108</bug>, <bug>55109</bug>, <bug>55110</bug>,
<bug>55158</bug> & <bug>55159</bug>: Small performance improvements.
Patches provided by Adrian Nistor. (markt/violetagg)
</fix>
<add>
<bug>55102</bug>: Add support for time to first byte in the
AccessLogValve. Patch provided by Jeremy Boynes. (markt)
</add>
<fix>
<bug>55125</bug>: If the Server container fails to start, don't allow
the Catalina wrapper to start (used when running from the command line
and when running as a service) since Tomcat will not be able to do any
useful work. (markt)
</fix>
<fix>
Update the <code>JreMemoryLeakPreventionListener</code> to take account
of changes in the behaviour of
<code>java.beans.Introspector.flushCaches()</code> and
<code>sun.awt.AppContext.getAppContext()</code> in Java 7. (markt)
</fix>
<fix>
Avoid WARNING log message of
<code>Users:type=UserDatabase,database=UserDatabase</code> at Tomcat
shutdown. (pero)
</fix>
<fix>
Avoid <code>ClassCastException</code> when an asynchronous dispatch is
invoked in an asynchronous cycle which is started by a call to
<code>ServletRequest.startAsync(ServletRequest,ServletResponse)</code>
where ServletRequest/ServletResponse are custom implementations.
(violetagg)
</fix>
<fix>
Correct a regression introduced in 7.0.39 (refactoring of base 64
encoding and decoding) that broke the JNDI Realm when
<code>userPassword</code> was set and passwords were hashed with MD5 or
SHA1. (markt/kkolinko)
</fix>
<fix>
Correct the mechanism for the path calculation in
<code>AsyncContext.dispatch()</code>. (violetagg)
</fix>
<fix>
<bug>55155</bug>: Avoid constant focus grabbing when running the Tomcat
unit tests under Java 6 on OSX. Patch provided by Casey Lucas. (markt)
</fix>
<fix>
<bug>55160</bug>: Don't ignore connectionUploadTimeout setting when
using HTTP NIO connector. (markt)
</fix>
<fix>
<bug>55176</bug>: Correctly handle regular expressions within SSI
expressions that contain an equals character. (markt)
</fix>
</changelog>
</subsection>
<subsection name="Coyote">
<changelog>
<fix>
<bug>55177</bug>: Correctly handle infinite soTimeout for BIO HTTP
connector. Based on a patch by Nick Bunn. (markt)
</fix>
<fix>
<bug>55180</bug>: Correctly handle infinite soTimeout when
<code>disableUploadTimeout</code> is set to false. Patch provided by
Nick Bunn. (violetagg)
</fix>
</changelog>
</subsection>
<subsection name="Cluster">
<changelog>
<fix>
Delete leftover of war file from tempDir when removing invalid
<code>FileMessageFactory</code>. (kfujino)
</fix>
<fix>
Ensure that the keepAlive of NioSender works correctly when
<code>keepAliveCount</code>/<code>keepAliveTime</code> is set to a value
greater than 0. (kfujino)
</fix>
<add>
Add logging of when a member is unable to join the cluster. (kfujino)
</add>
<fix>
Replace Tribes's <code>TaskQueue</code> as executor's
workQueue in order to ensure that executor's <code>maxThread</code>
works correctly. (kfujino)
</fix>
<fix>
<bug>54086</bug>: Fix an additional code path that could lead to
multiple threads attempting to modify the same selector key set. (markt)
</fix>
</changelog>
</subsection>
<subsection name="Web applications">
<changelog>
<add>
Complete the document for <code>MessageDispatch15Interceptor</code>.
(kfujino)
</add>
<add>
<bug>53655</bug>: Document the circumstances under which Tomcat will add
a <code>javax.mail.Authenticator</code> to mail sessions created via a
JNDI resource. (markt)
</add>
<fix>
<bug>55179</bug>: Correct the Javadoc for the remote IP valve so the
correct name is used to refer to the <code>proxiesHeader</code>
property. (markt)
</fix>
</changelog>
</subsection>
<subsection name="jdbc-pool">
<changelog>
<fix>
<bug>55031</bug>: Fixed <code>Export-Package</code> header and
<code>uses</code> directives in MANIFEST.MF. Change the version for
package <code>org.apache.juli.logging</code> to "0" in
<code>Import-Package</code> header. Thus any version of that package
can be used. Patch provided by Martin Lichtin. (violetagg)
</fix>
</changelog>
</subsection>
<subsection name="Other">
<changelog>
<update>
Update Maven Cental location used to download dependencies at build time
to be <code>repo.maven.apache.org</code>. (kkolinko)
</update>
<update>
Update JUnit to version 4.11. Configure separate download for Hamcrest
1.3 core library as its classes are no longer included in junit.jar.
(kkolinko)
</update>
<fix>
<bug>54013</bug>: When using a forced stop, allow a short period of time
(5s) for the process to die before returning. Patch provided by
mukarram.baig. (markt)
</fix>
<fix>
<bug>55119</bug>: Ensure that the build process produces Javadoc that is
not vulnerable to CVE-2013-1571. Based on a patch by Uwe Schindler.
(markt)
</fix>
</changelog>
</subsection>
</section>
<section name="Tomcat 7.0.41 (markt)" rtext="2013-06-10">
<subsection name="Catalina">
<changelog>
<fix>
<bug>54703</bug>: Make parsing of HTTP Content-Type headers tolerant of
any CR or LF characters that appear in the value passed by the
application. Also fix some whitespace parsing issues identified by the
additional test cases. (markt)
</fix>
<fix>
Prevent possible WAR file locking when reading a context.xml file from
an unexpanded WAR file. Note that in normal usage, the
<code>JreMemoryLeakPreventionListener</code> would protect against this.
(markt)
</fix>
<fix>
Ensure that when auto deployment runs for a Host, it uses the latest
values for copyXML, deployXML and unpackWARs. (markt)
</fix>
<fix>
<bug>54939</bug>: Provide logging (using a UserDataHelper) when HTTP
header parsing fails (e.g. when maxHeaderCount is exceeded). (markt)
</fix>
<add>
<bug>54944</bug>: Enhancements to the unit tests for FORM
authentication. Patch provided by Brian Burch. (markt)
</add>
<fix>
<bug>54955</bug>: When a reload of the application is performed ensure
that a subsequent request to the context root does not result in a 404
response. (violetagg)
</fix>
<fix>
<bug>54971</bug>: Ensure that the correct location is used when writing
files via <code>javax.servlet.http.Part.write(String)</code>. (markt)
</fix>
<fix>
<bug>54974</bug>: Ensure that
<code>SessionCookieConfig#set<methods></code>
will throw <code>IllegalStateException</code> if the
<code>ServletContext</code> from which this
<code>SessionCookieConfig</code> was acquired has already been
initialized. (violetagg)
</fix>
<fix>
<bug>54981</bug>: Ensure that
<code>ServletContext#getJspConfigDescriptor()</code> will return
<code>null</code> when there is no jsp configuration provided by
web.xml/web-fragment.xml. (violetagg)
</fix>
<fix>
Ensure that when Tomcat's anti-resource locking features are used
that the temporary copy of the web application and not the original is
removed when the web application stops. (markt)
</fix>
<fix>
<bug>54984</bug>: Use the correct encoding when processing a form data
posted as multipart/form-data even when the request parameters are not
parsed. (violetagg)
</fix>
<fix>
<bug>54999</bug>: The old JSESSIONIDSSO needs to be removed when SSO is
being used and logout() and login() occur within a single request. Patch
provided by Keith Mashinter. (markt)
</fix>
<add>
<bug>55035</bug>: Add support for the version attribute to the deploy
command of the Ant tasks for interfacing with the text based Manager
application. Patch provided by Sergey Tcherednichenko. (markt)
</add>
<add>
<bug>55046</bug>: Add a Servlet Filter that implements
<a href="http://www.w3.org/TR/cors/" rel="nofollow">CORS</a>. Patch
provided by Mohit Soni. (markt)
</add>
<add>
<bug>55052</bug>: JULI's LogManager now additionally looks for
logging properties without prefixes if the property cannot be found with
a prefix. (markt)
</add>
<fix>
Ensure that only the first asynchronous dispatch operation for a given
asynchronous cycle will be performed. Any subsequent asynchronous
dispatch operation for the same asynchronous cycle will be ignored and
<code>IllegalStateException</code> will be thrown. (violetagg)
</fix>
</changelog>
</subsection>
<subsection name="Coyote">
<changelog>
<fix>
<bug>54947</bug>: Fix the HTTP NIO connector that incorrectly rejected a
request if the CRLF terminating the request line was split across
multiple packets. Patch by Konstantin Preißer. (markt)
</fix>
</changelog>
</subsection>
<subsection name="Jasper">
<changelog>
<fix>
<bug>54964</bug>: Allow tag plug-ins to be packaged with a web
application. Patch provided by Sheldon Shao. (markt)
</fix>
<fix>
<bug>54968</bug>: Return the correct version number (2.2) of the JSP
specification that is supported by the JSP engine when
<code>javax.servlet.jsp.JspEngineInfo#getSpecificationVersion()</code>
is invoked. (violetagg)
</fix>
</changelog>
</subsection>
<subsection name="Cluster">
<changelog>
<add>
Add <code>maxValidTime</code> attribute to prevent the leak of
<code>FileMessageFactory</code> in <code>FarmWarDeployer</code>.
(kfujino)
</add>
<scode>
Simplify the code of <code>ReplicationValve</code>: Rather than get
cluster instance from container on every request, use instance variable.
(kfujino)
</scode>
<add>
Add <code>maxWait</code> attribute that the senderPool will wait when
there are no available senders. (kfujino)
</add>
<add>
Improve error message by including specified timeout if failed to
retrieve a data sender. (kfujino)
</add>
<add>
Add <code>removeSuspectsTimeout</code> attribute in order to remove a
suspect node in TcpFailureDetector. (kfujino)
</add>
</changelog>
</subsection>
<subsection name="Web applications">
<changelog>
<fix>
<bug>54931</bug>: Add information to the Window Service how-to about
installing and running multiple instances. Based on a patch by Chris
Derham. (markt)
</fix>
<fix>
<bug>54932</bug>: Correct the link to Tribes documentation. (violetagg)
</fix>
<add>
Add document for
<code>o.a.c.tribes.group.interceptors.TcpFailureDetector</code>.
(kfujino)
</add>
</changelog>
</subsection>
</section>
<section name="Tomcat 7.0.40 (markt)" rtext="2013-05-09">
<subsection name="Catalina">
<changelog>
<update>
Update Tomcat's internal copy of Commons FileUpload to FileUpload 1.3.
(markt)
</update>
<fix>
<bug>54178</bug>: Protect against <code>AsyncListener</code>
implementations that throw <code>RuntimeException</code>s in response to
an event. (markt)
</fix>
<fix>
<bug>54791</bug>: Restore <code>tools.jar</code> entry in
<code>jarsToSkip</code> property to prevent warnings when running Tomcat
from Eclipse. (markt)
</fix>
<fix>
<bug>54851</bug>: When scanning for web fragments, directories without
any web-fragment.xml should not impact the status of distributable
element. Patch provided by Trask Stalnaker. (violetagg)
</fix>
<fix>
When an error occurs during the sending of a WebSocket message, notify
the Inbound side (where all the events occur that the application reacts
to) that an error has occurred and that the connection is being closed.
(markt)
</fix>
<fix>
<bug>54906</bug>: Better error message if a
<code>ConcurrentModificationException</code> occurs while checking for
memory leaks when a web application stops. Also ensure that the
exception does not cause remaining checks to be skipped. Based on a
patch by NateC.
</fix>
<fix>
Allow 204 responses (no content) to include entity headers as required
by RFC2616. (markt)
</fix>
</changelog>
</subsection>
<subsection name="Coyote">
<changelog>
<fix>
Ensure write errors when using HTTP Upgrade with the APR/native
connector result in <code>IOException</code>s rather than errors being
silently swallowed. (markt)
</fix>
</changelog>
</subsection>
<subsection name="Jasper">
<changelog>
<fix>
<bug>54802</bug>: Provide location information for exceptions thrown
by JspDocumentParser. (kkolinko)
</fix>
<fix>
<bug>54801</bug>: Do not attempt to parse text that looks like an EL
expressions inside a scriptlet in a JSP document because EL expressions
are not permitted in scriptlets. (kkolinko/markt)
</fix>
<fix>
<bug>54821</bug>: Do not attept to parse text that looks like an EL
expressions in a JSP document if EL expressions have been disabled.
(kkolinko/markt)
</fix>
<fix>
<bug>54888</bug>: Add support for CSV lists with the ForEach tag plugin.
Patch provided by Sheldon Shao. (markt)
</fix>
</changelog>
</subsection>
<subsection name="Cluster">
<changelog>
<fix>
Add several improvements for FarmWarDeployer. (kfujino)
</fix>
</changelog>
</subsection>
<subsection name="Web applications">
<changelog>
<fix>
<bug>54872</bug>: Correct Cluster Receiver page of Tomcat
documentation. (violetagg)
</fix>
</changelog>
</subsection>
<subsection name="jdbc-pool">