If I was to guess this is the recent error of requiring the Incommon Federation 
certificate as a requirement to start.

If you search the for incommon.pem over the last few weeks discussion you’ll 
find several answers to this problem.



From: 'Philippe MARASSE' via CAS Community <[email protected]>
Sent: Tuesday, October 6, 2020 10:26 AM
To: CAS Community <[email protected]>
Subject: [EXTERNAL SMIME EMAIL] [cas-user] Cas Management webapp does not start 
anymore

Folks,

I'm upgrading my management webapp from 6.1.0-RC4 to 6.2.2, but unfortunately, 
webapp does not start anymore, raising an exception :

06-Oct-2020 14:45:32.552 GRAVE [Catalina-utility-2] 
org.apache.catalina.startup.HostConfig.deployWAR Erreur lors du déploiement de 
l'archive [/var/lib/tomcat/casmgr/webapps/cas-management.war] de l'application 
web
        java.lang.IllegalStateException: Erreur lors du démarrage du conteneur 
fils
                at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:720)
                at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
                at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)
                at 
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:978)
                at 
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1849)
                at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
                at 
java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
                at 
org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
                at 
java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)
                at 
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:773)
                at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
                at 
org.apache.catalina.startup.HostConfig.check(HostConfig.java:1620)
                at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:305)
                at 
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
                at 
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1151)
                at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1353)
                at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1357)
                at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1335)
                at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
                at 
java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
                at 
java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
                at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
                at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
                at 
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
                at java.base/java.lang.Thread.run(Thread.java:834)
        Caused by: org.apache.catalina.LifecycleException: Echec de démarrage 
du composant 
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/cas-management]]
                at 
org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
                at 
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)
                at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717)
                ... 24 more
        Caused by: org.springframework.beans.factory.BeanCreationException: 
Error creating bean with name 'samlController' defined in class path resource 
[org/apereo/cas/mgmt/config/CasManagementSamlConfiguration.class]: Bean 
instantiation via factory method failed; nested exception is 
org.springframework.beans.BeanInstantiationException: Failed to instantiate 
[org.apereo.cas.mgmt.SamlController]: Factory method 'samlController' threw 
exception; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'metadataAggregateResolver' defined in class path resource 
[org/apereo/cas/mgmt/config/CasManagementSamlConfiguration.class]: Bean 
instantiation via factory method failed; nested exception is 
org.springframework.beans.BeanInstantiationException: Failed to instantiate 
[org.apereo.cas.mgmt.MetadataAggregateResolver]: Factory method 
'metadataAggregateResolver' threw exception; nested exception is 
org.apereo.cas.services.UnauthorizedServiceException: 
screen.service.error.message
...

Any idea ?

If I switch back to 6.1.0-RC4, it works.


Regards.



--

Philippe MARASSE



Responsable pôle Infrastructures

Direction de l'Informatique, Support à la Communication et à l'Organisation 
(DISCO)

Centre Hospitalier Henri Laborit

CS 10587 - 370 avenue Jacques Cœur

86021 Poitiers Cedex

Tel : 05.49.44.57.19
--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/86aef914-c2f8-9e25-8e63-bc7effe6bd71%40ch-poitiers.fr<https://groups.google.com/a/apereo.org/d/msgid/cas-user/86aef914-c2f8-9e25-8e63-bc7effe6bd71%40ch-poitiers.fr?utm_medium=email&utm_source=footer>.

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/5b1e499d4f8446f2bd66041367abd316%40mun.ca.

Reply via email to