[java-support] branch maint-8 updated: IDP-2219 Improve status page / metrics when service fails to start

Scott Cantor cantor.2 at osu.edu
Thu Mar 14 16:28:09 UTC 2024


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch maint-8
in repository java-support.

View the commit online:
http://git.shibboleth.net/view/?p=java-support.git;a=commit;h=efa3ed57f02d3ff5cb829fe65e1743fa804b545a

The following commit(s) were added to refs/heads/maint-8 by this push:
     new efa3ed5  IDP-2219 Improve status page / metrics when service fails to start
efa3ed5 is described below

commit efa3ed57f02d3ff5cb829fe65e1743fa804b545a
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Mon Jan 1 13:55:41 2024 +0000

    IDP-2219 Improve status page / metrics when service fails to start
    
    https://shibboleth.atlassian.net/browse/IDP-2219
    
    Capture initial load failure exception as well as reload failure exception
---
 .../utilities/java/support/service/AbstractReloadableService.java        | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main/java/net/shibboleth/utilities/java/support/service/AbstractReloadableService.java b/src/main/java/net/shibboleth/utilities/java/support/service/AbstractReloadableService.java
index 4bc4e3d..e3c542a 100644
--- a/src/main/java/net/shibboleth/utilities/java/support/service/AbstractReloadableService.java
+++ b/src/main/java/net/shibboleth/utilities/java/support/service/AbstractReloadableService.java
@@ -180,6 +180,7 @@ public abstract class AbstractReloadableService<T> extends AbstractIdentifiableI
                 throw new ComponentInitializationException(getLogPrefix() + " could not perform initial load", e);
             }
             log.error("{} Initial load failed", getLogPrefix(), e);
+            reloadFailureCause = e;
             
             if (reloadCheckDelay.isNegative() || reloadCheckDelay.isZero()) {
                 log.error("{} No further attempts will be made to reload", getLogPrefix());

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list