Suddenly Unified Manager fails to start throwing Java error creating bean
Applies to
OnCommand Unified Manager 9.5
Issue
UM fails suddenly and does not start anymore
Server.log
2021-02-16 09:44:11,115 ERROR [stderr] (alert-117) Exception in thread "alert-117" java.lang.NoClassDefFoundError: Could not initialize class com.netapp.dfm.common.BrandApplicationConstants
2021-02-16 09:44:11,116 ERROR [stderr] (alert-117) at deployment.dfm-app.war//com.netapp.dfm.impl.alert.EmailAlertAction.getTemplateData(EmailAlertAction.java:272)
2021-02-16 09:44:11,116 ERROR [stderr] (alert-117) at deployment.dfm-app.war//com.netapp.dfm.impl.alert.EmailAlertAction.execute(EmailAlertAction.java:216)
2021-02-16 09:44:11,116 ERROR [stderr] (alert-117) at deployment.dfm-app.war//com.netapp.dfm.impl.alert.AlertManager$1.run(AlertManager.java:215)
2021-02-16 09:44:11,116 ERROR [stderr] (alert-117) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
2021-02-16 09:44:11,116 ERROR [stderr] (alert-117) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
2021-02-16 09:44:11,117 ERROR [stderr] (alert-117) at deployment.dfm-app.war//com.netapp.dfm.common.logging.MDCClearingThreadFactory$1.run(MDCClearingThreadFactory.java:28)
2021-02-16 09:44:11,117 ERROR [stderr] (alert-117) at java.base/java.lang.Thread.run(Thread.java:834)
followed by
2021-02-16 11:10:50,804 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 114) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'api' defined in com.netapp.ocf.rest.core.docs.config.SwaggerConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [springfox.documentation.spring.web.plugins.Docket]: Factory method 'api' threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.netapp.dfm.common.BrandApplicationConstants
...
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'api' defined in com.netapp.ocf.rest.core.docs.config.SwaggerConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [springfox.documentation.spring.web.plugins.Docket]: Factory method 'api' threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.netapp.dfm.common.BrandApplicationConstants
...
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [springfox.documentation.spring.web.plugins.Docket]: Factory method 'api' threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.netapp.dfm.common.BrandApplicationConstants
at deployment.dfm-app.war//org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
at deployment.dfm-app.war//org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
... 43 more
Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.netapp.dfm.common.BrandApplicationConstants