Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add optional KeyStoreScanner to jetty server
When a :keystore-scan-interval is provided, a KeyStoreScanner will be added to monitor the keystore. When the keystore is updated, Jetty will gracefully refresh its SSL session.
- Loading branch information
1 parent
73fb267
commit cb28ec5
Showing
1 changed file
with
8 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cb28ec5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit prevents GraalVM compilation because
KeyStoreScanner
has a staticLOG
instance which is initialized during compilation time. So GraalVM build can't progress if this namespace is imported and it fails even if I don't use this key watcher.This is the cause of the random
22-07-28 08:40:21 _ INFO [org.eclipse.jetty.util.log:170] - Logging initialized @15339ms to org.eclipse.jetty.util.log.Slf4jLog
message and15339ms
is the time since the build has started which has nothing to do with the actual jetty start-up.