Commit Graph

15779 Commits (bb3a4da5000140e38f2547d6d0e2114f9942062a)
 

Author SHA1 Message Date
Andy Wilkinson 145d8d2673 Defer removal of Connectors until after ServletContext initialization
Previously, we removed the Connectors from Tomcat's Service before
the Context was started. The removal of the Connectors is required as
it prevents Tomcat from accepting requests before we're ready to
handle them.

Part of starting the Context is creating and initializing the
ServletContext. ServerProperties uses a ServletContextInitializer to
set the session tracking modes and Tomcat rejects the SSL tracking
mode if there is no SSL-enabled connector available. With the previous
arrangement this led to a failure as the Connectors had been removed
so the SSL-enabled connector could not be found.

This commit updates the embedded Tomcat container to defer the
removal of the Connectors until after the context has been started
but still at a point that is before the Connectors themselves would
have been started.

Closes gh-12058
7 years ago
Andy Wilkinson c587549a68 Switch from webjars-locator to webjars-locator-core
Closes gh-12060
7 years ago
Brian Clozel 1f8d489e5a Improve reference doc for WebTestClient
Closes gh-11203
7 years ago
Andy Wilkinson 17258eeea3 Upgrade to Selenium 3.9.1
Closes gh-12057
7 years ago
Andy Wilkinson 3963303034 Upgrade to Selenium Htmlunit 2.29.2
Closes gh-12056
7 years ago
Andy Wilkinson 78130c16f1 Upgrade to Mongodb 3.6.3
Closes gh-12055
7 years ago
Andy Wilkinson 3def6d6c57 Upgrade to Mockito 2.15.0
Closes gh-12054
7 years ago
Andy Wilkinson 3221896b17 Upgrade to Jolokia 1.5.0
Closes gh-12053
7 years ago
Andy Wilkinson 3fd67880ac Upgrade to Kotlin 1.2.21
Closes gh-12052
7 years ago
Andy Wilkinson 08c08b9403 Upgrade to Infinispan 9.1.5.Final
Closes gh-12051
7 years ago
Andy Wilkinson 26560ef091 Upgrade to Elasticsearch 5.6.7
Closes gh-12050
7 years ago
Andy Wilkinson 9dccb01ca8 Upgrade to Activemq 5.15.3
Closes gh-12049
7 years ago
Andy Wilkinson 2204de4493 Upgrade to Thymeleaf Layout Dialect 2.3.0
Closes gh-12048
7 years ago
Andy Wilkinson 86d34bea0c Upgrade to Byte Buddy 1.7.10
Closes gh-12047
7 years ago
Andy Wilkinson 479d3a08f2 Upgrade to Rest Assured 3.0.7
Closes gh-12046
7 years ago
Andy Wilkinson da36323530 Upgrade to Netty 4.1.21.Final
Closes gh-12045
7 years ago
Andy Wilkinson acfacbd5d2 Upgrade to Embedded Mongo 2.0.3
Closes gh-12044
7 years ago
Andy Wilkinson 32c9847426 Upgrade to Hikaricp 2.7.7
Closes gh-12043
7 years ago
Andy Wilkinson 9e6068a3e4 Upgrade to Javax Mail 1.6.1
Closes gh-12042
7 years ago
Andy Wilkinson 69e0ee7799 Upgrade to Hazelcast Hibernate5 1.2.3
Closes gh-12041
7 years ago
Andy Wilkinson 2129218c4e Upgrade to Couchbase Client 2.5.5
Closes gh-12040
7 years ago
Andy Wilkinson fb38b04089 Merge branch '1.5.x' 7 years ago
Andy Wilkinson f3989b1b95 Upgrade to Spring Session 1.3.2.RELEASE
Closes gh-12038
7 years ago
Andy Wilkinson f8b4b10cdc Upgrade to Liquibase 3.5.4
Closes gh-12037
7 years ago
Andy Wilkinson 1fa45b2890 Upgrade to Tomcat 8.5.28
Closes gh-12036
7 years ago
Phillip Webb 45347af62e Allow lifecycleTimeout to be set for Netty
Update `NettyReactiveWebServerFactory` and `NettyWebServer` to allow
the lifecycle (start/stop) timeout to be configured.

Fixes gh-10977
7 years ago
Phillip Webb 5c80d6dc00 Merge pull request #12029 from dreis2211
* pr/12029:
  Polish BannerTests
7 years ago
dreis2211 cd0c5ba4d5 Polish BannerTests
Closes gh-12029
7 years ago
Phillip Webb a9eefaedcf Merge pull request #12032 from igor-suhorukov
* pr/12032:
  Polish static final usage for constants
7 years ago
igor-suhorukov e98b93844a Polish static final usage for constants
Closes gh-12032
7 years ago
Phillip Webb 94bbaa74e6 Merge pull request #12030 from jkschneider
* pr/12030:
  Fix upstream micrometer renames
7 years ago
Jon Schneider d70594a2b1 Fix upstream micrometer renames
Fix for the rename of `HistogramConfig` to `DistributionStatisticConfig`

Closes gh-12030
7 years ago
Phillip Webb 6771cc9674 Polish 7 years ago
Andy Wilkinson d238a31d3d Polish 7 years ago
Andy Wilkinson 214c7ebdd5 Start building against Spring Framework 5.0.4 snapshots again
This reverts commit 682612efa3.
7 years ago
Brian Clozel 45b63cb1b0 Merge pull request #11909 from sdeleuze:improved-error-logging
* pr/11909:
  Polish
  Improve WebFlux error logging
7 years ago
Brian Clozel 8d22a79eb6 Polish 7 years ago
sdeleuze e399cf6918 Improve WebFlux error logging
This commit avoids printing the stacktrace for ResponseStatusException
in order to be consistent with WebFlux ResponseStatusExceptionHandler
and because this stacktrace is usually not very useful in Reactive
world and mainly pollutes the logs, only the message is logged in that
case.

It also logs a WARN message for Bad Request (400) HTTP responses in
order to have a feedback when an exception is thrown due to client error
(unable to deserialize request body for example).

See related SPR-15083 issue on Spring Framework side.
7 years ago
Andy Wilkinson a19b1946d3 Clarify that both Java 8 and 9 are supported
Closes gh-12027
7 years ago
Andy Wilkinson 42896823a2 Merge pull request #12022 from Tommy Ludwig
* gh-12022:
  Polish “Auto-configure FileDescriptorMetrics”
  Auto-configure FileDescriptorMetrics
  Auto-configure ClassLoaderMetrics
7 years ago
Andy Wilkinson 25520a9e32 Polish “Auto-configure FileDescriptorMetrics”
Closes gh-12022
7 years ago
Tommy Ludwig a51fcd071e Auto-configure FileDescriptorMetrics
See gh-12022
7 years ago
Tommy Ludwig 149963bc61 Auto-configure ClassLoaderMetrics
Auto-configure ClassLoaderMetrics as part of the JVM metrics from
Micrometer.

See gh-12022
7 years ago
Stephane Nicoll 83e0978a03 Polish 7 years ago
Andy Wilkinson 682612efa3 Revert "Start building against Spring Framework 5.0.4 snapshots"
This reverts commit 9dd7b0689d.
7 years ago
Andy Wilkinson e1ab62668f Merge branch '1.5.x' 7 years ago
Andy Wilkinson d59000ceb1 Change ownership when log file is created by launch script
Closes gh-11951
7 years ago
Andy Wilkinson 9dd7b0689d Start building against Spring Framework 5.0.4 snapshots
This reverts commit f24c92c658 which is
no longer necessary as SPR-16456 has no been fixed.

See gh-11894
7 years ago
Stephane Nicoll fd13202b69 Merge pull request #12017 from jkschneider:micrometer-config
* pr/12017:
  Polish "Remove unnecessary config options for metrics"
  Remove unnecessary config options for JDBC, Rabbit, and Cache metrics
7 years ago
Stephane Nicoll b28cabdb12 Polish "Remove unnecessary config options for metrics"
Closes gh-12017"
7 years ago