Hi,
I'm migrating to Wildfly 10 and CAS 5.x and I'm getting errors deploying
default overlay template...
My pom.xml includes:
<dependency>
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-support-jdbc</artifactId>
<version>${cas.version}</version>
</dependency>
<dependency>
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-support-saml</artifactId>
<version>${cas.version}</version>
</dependency>
...
<cas.version>5.1.4</cas.version>
Deployment fails with following error:
22:16:43,264 WARN
[org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext]
(ServerService Thread Pool -- 112) Exception encountered during context
initialization - cancelling refresh attempt:
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'shibboleth.OpenSAMLConfig' defined in class path resource
[org/apereo/cas/config/CoreSamlConfiguration.class]: Bean instantiation via
factory method failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to instantiate
[org.apereo.cas.support.saml.OpenSamlConfigBean]: Factory method
'openSamlConfigBean' threw exception; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'shibboleth.ParserPool' defined in class path resource
[org/apereo/cas/config/CoreSamlConfiguration.class]: Bean instantiation via
factory method failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to instantiate
[net.shibboleth.utilities.java.support.xml.BasicParserPool]: Factory method
'parserPool' threw exception; nested exception is
java.lang.RuntimeException: java.lang.ClassNotFoundException:
com.sun.org.apache.xerces.internal.util.SecurityManager from [Module
"deployment.cas.war:main" from Service Module Loader]
22:16:43,279 ERROR [org.springframework.boot.SpringApplication]
(ServerService Thread Pool -- 112) Application startup failed:
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'shibboleth.OpenSAMLConfig' defined in class path resource
[org/apereo/cas/config/CoreSamlConfiguration.class]: Bean instantiation via
factory method failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to instantiate
[org.apereo.cas.support.saml.OpenSamlConfigBean]: Factory method
'openSamlConfigBean' threw exception; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'shibboleth.ParserPool' defined in class path resource
[org/apereo/cas/config/CoreSamlConfiguration.class]: Bean instantiation via
factory method failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to instantiate
[net.shibboleth.utilities.java.support.xml.BasicParserPool]: Factory method
'parserPool' threw exception; nested exception is
java.lang.RuntimeException: java.lang.ClassNotFoundException:
com.sun.org.apache.xerces.internal.util.SecurityManager from [Module
"deployment.cas.war:main" from Service Module Loader]
at
org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)
...
Caused by: org.springframework.beans.BeanInstantiationException: Failed to
instantiate [org.apereo.cas.support.saml.OpenSamlConfigBean]: Factory
method 'openSamlConfigBean' threw exception; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'shibboleth.ParserPool' defined in class path resource
[org/apereo/cas/config/CoreSamlConfiguration.class]: Bean instantiation via
factory method failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to instantiate
[net.shibboleth.utilities.java.support.xml.BasicParserPool]: Factory method
'parserPool' threw exception; nested exception is
java.lang.RuntimeException: java.lang.ClassNotFoundException:
com.sun.org.apache.xerces.internal.util.SecurityManager from [Module
"deployment.cas.war:main" from Service Module Loader]
at
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
at
org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
... 37 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'shibboleth.ParserPool' defined in class path
resource [org/apereo/cas/config/CoreSamlConfiguration.class]: Bean
instantiation via factory method failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to instantiate
[net.shibboleth.utilities.java.support.xml.BasicParserPool]: Factory method
'parserPool' threw exception; nested exception is
java.lang.RuntimeException: java.lang.ClassNotFoundException:
com.sun.org.apache.xerces.internal.util.SecurityManager from [Module
"deployment.cas.war:main" from Service Module Loader]
Do I need some special configuration I missed so far?
I followed https://apereo.github.io/cas/5.1.x/protocol/SAML-Protocol.html .
Any help appreciated!
--
- 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/335cd378-631c-430c-beb4-1bd55eec18a9%40apereo.org.