Check out the docs here:
https://apereo.github.io/cas/development/installation/Configuring-Servlet-Container.html#external
JBoss, Wildfly and EAP all require `jdk.unsupported` with Spring past Java
9.
-Paul
On Wednesday, February 13, 2019 at 12:20:53 PM UTC-7, malomowny wrote:
>
> Hi,
> I'm trying to install CAS (version 6.0.1, JDK 11) in Wildfly 14.
>
> I built overlay using command:
> gradlew clean build -PappServer=
>
> Wildfly is not modified at all (just unzipped). CAS has also clean
> configuration (banner is the only thing I added).
> During deployment there is an error:
>
> [standalone@localhost:9990 /] deploy C:\tmp\cas.war
> {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that
> failed:" => {"Operation step-2" => {"WFLYCTL0080: Failed services" => {
> "jboss.deployment.unit.\"cas.war\".undertow-deployment" =>
> "java.lang.RuntimeExce
> ption: org.springframework.context.ApplicationContextException: Unable to
> start web server; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'threadContextMDCServletFilter' define d in class path
> resource [org/apereo/cas/logging/config/CasLoggingConfiguration.class]:
> Bean instantiation via factory method failed; nested exception is
> org.springframework.beans.BeanInstantiationException: Failed to instantiate
> [org.sp ringframework.boot.web.servlet.FilterRegistrationBean]: Factory
> method 'threadContextMDCServletFilter' threw exception; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'defaultTi cketRegistrySupport' defined in class path
> resource [org/apereo/cas/config/CasCoreTicketsConfiguration.class]:
> Initialization of bean failed; nested exception is
> org.springframework.aop.framework.AopConfigException: Unexpected AOP except
> ion; nested exception is
> org.springframework.aop.framework.AopConfigException: Unable to instantiate
> proxy using Objenesis, and regular proxy instantiation via default
> constructor fails as well; nested exception is java.lang.NoSuchMethod
> Exception:
> org.apereo.cas.ticket.registry.DefaultTicketRegistrySupport$$EnhancerBySpringCGLIB$$24a960d5.<init>()
> Caused by: java.lang.RuntimeException:
> org.springframework.context.ApplicationContextException: Unable to start
> web server; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 't hreadContextMDCServletFilter' defined in class path
> resource [org/apereo/cas/logging/config/CasLoggingConfiguration.class]:
> Bean instantiation via factory method failed; nested exception is
> org.springframework.beans.BeanInstantiationExce ption: Failed to
> instantiate [org.springframework.boot.web.servlet.FilterRegistrationBean]:
> Factory method 'threadContextMDCServletFilter' threw exception; nested
> exception is org.springframework.beans.factory.BeanCreationException: Erro
> r creating bean with name 'defaultTicketRegistrySupport' defined in class
> path resource [org/apereo/cas/config/CasCoreTicketsConfiguration.class]:
> Initialization of bean failed; nested exception is
> org.springframework.aop.framework.AopCo nfigException: Unexpected AOP
> exception; nested exception is
> org.springframework.aop.framework.AopConfigException: Unable to instantiate
> proxy using Objenesis, and regular proxy instantiation via default
> constructor fails as well; nested exception is
> java.lang.NoSuchMethodException:
> org.apereo.cas.ticket.registry.DefaultTicketRegistrySupport$$EnhancerBySpringCGLIB$$24a960d5.<init>()
> Caused by: org.springframework.context.ApplicationContextException:
> Unable to start web server; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'threadContextMDCServletFilter ' defined in class path
> resource [org/apereo/cas/logging/config/CasLoggingConfiguration.class]:
> Bean instantiation via factory method failed; nested exception is
> org.springframework.beans.BeanInstantiationException: Failed to instantiate
> [org.springframework.boot.web.servlet.FilterRegistrationBean]: Factory
> method 'threadContextMDCServletFilter' threw exception; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'd efaultTicketRegistrySupport' defined in class path
> resource [org/apereo/cas/config/CasCoreTicketsConfiguration.class]:
> Initialization of bean failed; nested exception is
> org.springframework.aop.framework.AopConfigException: Unexpected AO P
> exception; nested exception is
> org.springframework.aop.framework.AopConfigException: Unable to instantiate
> proxy using Objenesis, and regular proxy instantiation via default
> constructor fails as well; nested exception is java.lang.NoSu
> chMethodException:
> org.apereo.cas.ticket.registry.DefaultTicketRegistrySupport$$EnhancerBySpringCGLIB$$24a960d5.<init>()
> Caused by: org.springframework.beans.factory.BeanCreationException:
> Error creating bean with name 'threadContextMDCServletFilter' defined in
> class path resource
> [org/apereo/cas/logging/config/CasLoggingConfiguration.class]: Bean inst
> antiation via factory method failed; nested exception is
> org.springframework.beans.BeanInstantiationException: Failed to instantiate
> [org.springframework.boot.web.servlet.FilterRegistrationBean]: Factory
> method 'threadContextMDCServletFi lter' threw exception; nested exception
> is org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'defaultTicketRegistrySupport' defined in class path
> resource [org/apereo/cas/config/CasCoreTicketsConfigur ation.class]:
> Initialization of bean failed; nested exception is
> org.springframework.aop.framework.AopConfigException: Unexpected AOP
> exception; nested exception is
> org.springframework.aop.framework.AopConfigException: Unable to instanti
> ate proxy using Objenesis, and regular proxy instantiation via default
> constructor fails as well; nested exception is
> java.lang.NoSuchMethodException:
> org.apereo.cas.ticket.registry.DefaultTicketRegistrySupport$$EnhancerBySpringCGLIB$$24
>
> a960d5.<init>()
> Caused by: org.springframework.beans.BeanInstantiationException:
> Failed to instantiate
> [org.springframework.boot.web.servlet.FilterRegistrationBean]: Factory
> method 'threadContextMDCServletFilter' threw exception; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'defaultTicketRegistrySupport' defined in class path
> resource [org/apereo/cas/config/CasCoreTicketsConfiguration.class]:
> Initialization of bean faile d; nested exception is
> org.springframework.aop.framework.AopConfigException: Unexpected AOP
> exception; nested exception is
> org.springframework.aop.framework.AopConfigException: Unable to instantiate
> proxy using Objenesis, and regular pro xy instantiation via default
> constructor fails as well; nested exception is
> java.lang.NoSuchMethodException:
> org.apereo.cas.ticket.registry.DefaultTicketRegistrySupport$$EnhancerBySpringCGLIB$$24a960d5.<init>()
> Caused by: org.springframework.beans.factory.BeanCreationException:
> Error creating bean with name 'defaultTicketRegistrySupport' defined in
> class path resource
> [org/apereo/cas/config/CasCoreTicketsConfiguration.class]: Initialization
> of bean failed; nested exception is
> org.springframework.aop.framework.AopConfigException: Unexpected AOP
> exception; nested exception is
> org.springframework.aop.framework.AopConfigException: Unable to instantiate
> proxy using Objenesis, a nd regular proxy instantiation via default
> constructor fails as well; nested exception is
> java.lang.NoSuchMethodException:
> org.apereo.cas.ticket.registry.DefaultTicketRegistrySupport$$EnhancerBySpringCGLIB$$24a960d5.<init>()
> Caused by: org.springframework.aop.framework.AopConfigException:
> Unexpected AOP exception; nested exception is
> org.springframework.aop.framework.AopConfigException: Unable to instantiate
> proxy using Objenesis, and regular proxy insta ntiation via default
> constructor fails as well; nested exception is
> java.lang.NoSuchMethodException:
> org.apereo.cas.ticket.registry.DefaultTicketRegistrySupport$$EnhancerBySpringCGLIB$$24a960d5.<init>()
> Caused by: org.springframework.aop.framework.AopConfigException:
> Unable to instantiate proxy using Objenesis, and regular proxy
> instantiation via default constructor fails as well; nested exception is
> java.lang.NoSuchMethodException:
>
> org.apereo.cas.ticket.registry.DefaultTicketRegistrySupport$$EnhancerBySpringCGLIB$$24a960d5.<init>()
> Caused by: java.lang.NoSuchMethodException:
> org.apereo.cas.ticket.registry.DefaultTicketRegistrySupport$$EnhancerBySpringCGLIB$$24a960d5.<init>()"
> }}}}
>
>
>
>
> Full log is here:
>
> C:\Programs\wildfly-14.0.1.Final\bin
> λ standalone.bat
> Calling "C:\Programs\wildfly-14.0.1.Final\bin\standalone.conf.bat"
> Setting JAVA property to "C:\Program Files\Java\jdk-11.0.1\bin\java"
>
> ===============================================================================
>
> JBoss Bootstrap Environment
>
> JBOSS_HOME: "C:\Programs\wildfly-14.0.1.Final"
>
> JAVA: "C:\Program Files\Java\jdk-11.0.1\bin\java"
>
> JAVA_OPTS: "-Dprogram.name=standalone.bat -Xms64M -Xmx512M
> -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m
> -Djava.net.preferIPv4Stack=true
> -Djboss.modules.system.pkgs=org.jboss.byteman
> -agentlib:jdwp=transport=dt_socket,address=8787,server=y,suspend=n
> -XX:+TieredCompilation -XX:TieredStopAtLevel=1 --add-exports=java.base/
> sun.nio.ch=ALL-UNNAMED --add-exports=jdk.unsupported/sun.misc=ALL-UNNAMED
> --add-exports=jdk.unsupported/sun.reflect=ALL-UNNAMED --add-modules=
> java.se"
>
>
> ===============================================================================
>
> Listening for transport dt_socket at address: 8787
> 20:15:07,326 INFO [org.jboss.modules] (main) JBoss Modules version
> 1.8.6.Final
> 20:15:07,698 INFO [org.jboss.msc] (main) JBoss MSC version 1.4.3.Final
> 20:15:07,707 INFO [org.jboss.threads] (main) JBoss Threads version
> 2.3.2.Final
> 20:15:07,828 INFO [org.jboss.as] (MSC service thread 1-2) WFLYSRV0049:
> WildFly Full 14.0.1.Final (WildFly Core 6.0.2.Final) starting
> 20:15:08,500 INFO [org.wildfly.security] (ServerService Thread Pool --
> 27) ELY00001: WildFly Elytron version 1.6.0.Final
> 20:15:08,963 INFO [org.jboss.as.controller.management-deprecated]
> (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the
> resource at address
> '/core-service=management/management-interface=http-interface' is
> deprecated, and may be removed in a future version. See the attribute
> description in the output of the read-resource-description operation to
> learn more about the deprecation.
> 20:15:08,991 INFO [org.jboss.as.controller.management-deprecated]
> (ServerService Thread Pool -- 9) WFLYCTL0028: Attribute 'security-realm' in
> the resource at address
> '/subsystem=undertow/server=default-server/https-listener=https' is
> deprecated, and may be removed in a future version. See the attribute
> description in the output of the read-resource-description operation to
> learn more about the deprecation.
> 20:15:09,044 INFO [org.jboss.as.server] (Controller Boot Thread)
> WFLYSRV0039: Creating http management service using socket-binding
> (management-http)
> 20:15:09,060 INFO [org.xnio] (MSC service thread 1-5) XNIO version
> 3.6.5.Final
> 20:15:09,071 INFO [org.xnio.nio] (MSC service thread 1-5) XNIO NIO
> Implementation Version 3.6.5.Final
> 20:15:09,135 INFO [org.jboss.as.clustering.infinispan] (ServerService
> Thread Pool -- 48) WFLYCLINF0001: Activating Infinispan subsystem.
> 20:15:09,142 INFO
> [org.wildfly.extension.microprofile.config.smallrye._private]
> (ServerService Thread Pool -- 57) WFLYCONF0001: Activating WildFly
> MicroProfile Config Subsystem
> 20:15:09,139 INFO [org.jboss.as.security] (ServerService Thread Pool --
> 66) WFLYSEC0002: Activating Security Subsystem
> 20:15:09,136 WARN [org.jboss.as.txn] (ServerService Thread Pool -- 68)
> WFLYTX0013: The node-identifier attribute on the /subsystem=transactions is
> set to the default value. This is a danger for environments running
> multiple servers. Please make sure the attribute value is unique.
> 20:15:09,156 INFO [org.jboss.as.webservices] (ServerService Thread Pool
> -- 70) WFLYWS0002: Activating WebServices Extension
> 20:15:09,153 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 60)
> WFLYNAM0001: Activating Naming Subsystem
> 20:15:09,150 INFO [org.jboss.as.jsf] (ServerService Thread Pool -- 55)
> WFLYJSF0007: Activated the following JSF Implementations: [main]
> 20:15:09,147 INFO [org.wildfly.extension.microprofile.opentracing]
> (ServerService Thread Pool -- 59) WFLYTRACEXT0001: Activating MicroProfile
> OpenTracing Subsystem
> 20:15:09,193 INFO [org.jboss.as.jaxrs] (ServerService Thread Pool -- 50)
> WFLYRS0016: RESTEasy version 3.6.1.Final
> 20:15:09,191 INFO [org.jboss.as.connector] (MSC service thread 1-8)
> WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.4.11.Final)
> 20:15:09,229 INFO [org.jboss.as.connector.subsystems.datasources]
> (ServerService Thread Pool -- 41) WFLYJCA0004: Deploying JDBC-compliant
> driver class org.h2.Driver (version 1.4)
> 20:15:09,187 INFO [org.jboss.as.mail.extension] (MSC service thread 1-1)
> WFLYMAIL0002: Unbound mail session [java:jboss/mail/Default]
> 20:15:09,170 INFO [org.wildfly.extension.microprofile.health.smallrye]
> (ServerService Thread Pool -- 58) WFLYHEALTH0001: Activating Eclipse
> MicroProfile Health Subsystem
> 20:15:09,167 INFO [org.jboss.as.security] (MSC service thread 1-4)
> WFLYSEC0001: Current PicketBox version=5.0.3.Final
> 20:15:09,212 INFO [org.wildfly.extension.undertow] (MSC service thread
> 1-3) WFLYUT0003: Undertow 2.0.13.Final starting
> 20:15:09,250 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service
> thread 1-7) WFLYJCA0018: Started Driver service with driver-name = h2
> 20:15:09,317 INFO [org.jboss.as.mail.extension] (MSC service thread 1-7)
> WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]
> 20:15:09,315 INFO [org.jboss.as.naming] (MSC service thread 1-8)
> WFLYNAM0003: Starting Naming Service
> 20:15:09,336 INFO [org.jboss.as.connector.subsystems.datasources] (MSC
> service thread 1-8) WFLYJCA0010: Unbound data source
> [java:jboss/datasources/ExampleDS]
> 20:15:09,381 INFO [org.wildfly.extension.undertow] (ServerService Thread
> Pool -- 69) WFLYUT0014: Creating file handler for path
> 'C:\Programs\wildfly-14.0.1.Final/welcome-content' with options
> [directory-listing: 'false', follow-symlink: 'false', case-sensitive:
> 'true', safe-symlink-paths: '[]']
> 20:15:09,610 INFO [org.wildfly.extension.io] (ServerService Thread Pool
> -- 49) WFLYIO001: Worker 'default' has auto-configured to 16 core threads
> with 128 task threads based on your 8 available processors
> 20:15:09,617 INFO [org.jboss.as.ejb3] (MSC service thread 1-4)
> WFLYEJB0482: Strict pool mdb-strict-max-pool is using a max instance size
> of 32 (per class), which is derived from the number of CPUs on this host.
> 20:15:09,618 INFO [org.jboss.as.ejb3] (MSC service thread 1-1)
> WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max instance size
> of 128 (per class), which is derived from thread worker pool sizing.
> 20:15:09,692 INFO [org.wildfly.extension.undertow] (MSC service thread
> 1-7) WFLYUT0012: Started server default-server.
> 20:15:09,693 INFO [org.jboss.remoting] (MSC service thread 1-4) JBoss
> Remoting version 5.0.8.Final
> 20:15:09,695 INFO [org.wildfly.extension.undertow] (MSC service thread
> 1-7) WFLYUT0018: Host default-host starting
> 20:15:09,744 INFO [org.wildfly.extension.undertow] (MSC service thread
> 1-8) WFLYUT0006: Undertow HTTP listener default listening on
> 127.0.0.1:8080
> 20:15:09,818 INFO [org.jboss.as.ejb3] (MSC service thread 1-8)
> WFLYEJB0493: EJB subsystem suspension complete
> 20:15:09,874 INFO [org.jboss.as.connector.subsystems.datasources] (MSC
> service thread 1-7) WFLYJCA0001: Bound data source
> [java:jboss/datasources/ExampleDS]
> 20:15:09,885 INFO [org.jboss.as.patching] (MSC service thread 1-3)
> WFLYPAT0050: WildFly Full cumulative patch ID is: base, one-off patches
> include: none
> 20:15:09,894 WARN [org.jboss.as.domain.management.security] (MSC service
> thread 1-4) WFLYDM0111: Keystore
> C:\Programs\wildfly-14.0.1.Final\standalone\configuration\application.keystore
>
> not found, it will be auto generated on first use with a self signed
> certificate for host localhost
> 20:15:09,895 INFO [org.jboss.as.server.deployment.scanner] (MSC service
> thread 1-7) WFLYDS0013: Started FileSystemDeploymentService for directory
> C:\Programs\wildfly-14.0.1.Final\standalone\deployments
> 20:15:09,941 INFO [org.wildfly.extension.undertow] (MSC service thread
> 1-7) WFLYUT0006: Undertow HTTPS listener https listening on 127.0.0.1:8443
> 20:15:10,004 INFO [org.jboss.ws.common.management] (MSC service thread
> 1-3) JBWS022052: Starting JBossWS 5.2.3.Final (Apache CXF 3.2.5.jbossorg-1)
> 20:15:10,062 INFO [org.jboss.as.server] (Controller Boot Thread)
> WFLYSRV0212: Resuming server
> 20:15:10,065 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060:
> Http management interface listening on http://127.0.0.1:9990/management
> 20:15:10,065 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051:
> Admin console listening on http://127.0.0.1:9990
> 20:15:10,066 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025:
> WildFly Full 14.0.1.Final (WildFly Core 6.0.2.Final) started in 3016ms -
> Started 306 of 527 services (321 services are lazy, passive or on-demand)
> 20:16:02,175 INFO [org.jboss.as.repository] (management-handler-thread -
> 1) WFLYDR0001: Content added at location
> C:\Programs\wildfly-14.0.1.Final\standalone\data\content\7f\5aa52102d57f30410c964cdbdf9b1450a9cd9f\content
> 20:16:02,192 INFO [org.jboss.as.server.deployment] (MSC service thread
> 1-3) WFLYSRV0027: Starting deployment of "cas.war" (runtime-name: "cas.war")
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by
> org.jboss.as.server.deployment.reflect.ClassReflectionIndex
> (jar:file:/C:/Programs/wildfly-14.0.1.Final/modules/system/layers/base/org/jboss/as/server/main/wildfly-server-6.0.2.Final.jar!/)
>
> to method java.lang.Object.finalize()
> WARNING: Please consider reporting this to the maintainers of
> org.jboss.as.server.deployment.reflect.ClassReflectionIndex
> WARNING: Use --illegal-access=warn to enable warnings of further illegal
> reflective access operations
> WARNING: All illegal access operations will be denied in a future release
> 20:16:12,142 WARN [org.jboss.as.ee] (MSC service thread 1-2) WFLYEE0007:
> Not installing optional component
> org.springframework.http.server.reactive.ServletServerHttpResponse$ResponseAsyncListener
>
> due to an exception (enable DEBUG log level to see the cause)
> 20:16:12,144 WARN [org.jboss.as.ee] (MSC service thread 1-2) WFLYEE0007:
> Not installing optional component
> org.springframework.http.server.reactive.ServletHttpHandlerAdapter$HandlerResultAsyncListener
>
> due to an exception (enable DEBUG log level to see the cause)
> 20:16:12,146 WARN [org.jboss.as.ee] (MSC service thread 1-2) WFLYEE0007:
> Not installing optional component
> org.springframework.http.server.ServletServerHttpAsyncRequestControl due to
> an exception (enable DEBUG log level to see the cause)
>
> 20:16:12,147 WARN [org.jboss.as.ee] (MSC service thread 1-2) WFLYEE0007:
> Not installing optional component
> org.springframework.web.context.request.async.StandardServletAsyncWebRequest
> due to an exception (enable DEBUG log level to see the cause)
> 20:16:12,150 WARN [org.jboss.as.ee] (MSC service thread 1-2) WFLYEE0007:
> Not installing optional component
> org.springframework.http.server.reactive.ServletServerHttpRequest$RequestAsyncListener
>
> due to an exception (enable DEBUG log level to see the cause)
> 20:16:12,266 WARN [org.jboss.as.jaxrs] (MSC service thread 1-2)
> WFLYRS0018: Explicit usage of Jackson annotation in a JAX-RS deployment;
> the system will disable JSON-B processing for the current deployment.
> Consider setting the 'resteasy.preferJacksonOverJsonB' property to 'false'
> to restore JSON-B.
> 20:16:12,267 WARN [org.jboss.as.jaxrs] (MSC service thread 1-2)
> WFLYRS0015: No Servlet declaration found for JAX-RS application. In
> cas.war either provide a class that extends javax.ws.rs.core.Application or
> declare a servlet class in web.xml.
> 20:16:12,269 WARN [org.jboss.weld.deployer] (MSC service thread 1-2)
> WFLYWELD0013: Deployment cas.war contains CDI annotations but no bean
> archive was found (no beans.xml or class with bean defining annotations was
> present).
> 20:16:12,434 INFO [org.infinispan.factories.GlobalComponentRegistry] (MSC
> service thread 1-8) ISPN000128: Infinispan version: Infinispan 'Estrella
> Galicia' 9.3.1.Final
> 20:16:12,645 INFO [org.jboss.as.clustering.infinispan] (ServerService
> Thread Pool -- 72) WFLYCLINF0002: Started client-mappings cache from ejb
> container
> 20:16:13,151 INFO [io.undertow.servlet] (ServerService Thread Pool --
> 104) 2 Spring WebApplicationInitializers detected on classpath
> 20:16:13,533 INFO [stdout] (ServerService Thread Pool -- 104) WARNING:
> sun.reflect.Reflection.getCallerClass is not supported. This will impact
> performance.
> 20:16:13,594 INFO [org.hibernate.validator.internal.util.Version]
> (background-preinit) HV000001: Hibernate Validator 6.0.13.Final
> 20:16:14,890 INFO [org.springframework.cloud.commons.util.InetUtils]
> (ServerService Thread Pool -- 104) Cannot determine local hostname
> 20:16:16,299 INFO
> [org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker]
>
> (ServerService Thread Pool -- 104) Bean
> 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration'
>
> of type
> [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$c8eaeccb]
>
> is not eligible for getting processed by all BeanPostProcessors (for
> example: not eligible for auto-proxying)
> 20:16:18,148 INFO [org.springframework.cloud.commons.util.InetUtils]
> (ServerService Thread Pool -- 104) Cannot determine local hostname
> 20:16:18,521 INFO [stdout] (ServerService Thread Pool -- 104) ____
> ____ _ _ ____ _ ____
> 20:16:18,522 INFO [stdout] (ServerService Thread Pool -- 104) | _ \ |
> _ \ | | | | / ___| / \ / ___|
> 20:16:18,523 INFO [stdout] (ServerService Thread Pool -- 104) | |_) | |
> |_) | | | | | | | / _ \ \___ \
> 20:16:18,524 INFO [stdout] (ServerService Thread Pool -- 104) | __/ |
> _ < | |_| | | |___ / ___ \ ___) |
> 20:16:18,525 INFO [stdout] (ServerService Thread Pool -- 104) |_|
> |_| \_\ \___/ \____| /_/ \_\ |____/
> 20:16:18,525 INFO [stdout] (ServerService Thread Pool -- 104)
> 20:16:18,618 INFO
> [org.apereo.cas.configuration.DefaultCasConfigurationPropertiesSourceLocator]
> (ServerService Thread Pool -- 104) Configuration files found at
> [\etc\cas\config] are [[file [C:\etc\cas\config\cas.properties]]] under
> profile(s) [[standalone]]
> 20:16:18,638 INFO
> [org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration]
>
> (ServerService Thread Pool -- 104) Located property source:
> CompositePropertySource {name='casCompositePropertySource',
> propertySources=[CompositePropertySource
> {name='applicationProfilesCompositeProperties',
> propertySources=[PropertiesPropertySource
> {name='applicationProfilesProperties-cas.properties'}]},
> PropertiesPropertySource {name='embeddedYamlOverriddenProperties'}]}
> 20:16:18,773 INFO
> [org.apereo.cas.web.CasWebApplicationServletInitializer] (ServerService
> Thread Pool -- 104) The following profiles are active: standalone
> 20:16:21,145 INFO [org.springframework.cloud.context.scope.GenericScope]
> (ServerService Thread Pool -- 104) BeanFactory
> id=a6678887-3bad-3ba6-816a-2859030fdcf4
> 20:16:24,306 INFO
> [org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker]
>
> (ServerService Thread Pool -- 104) Bean
> 'cas-org.apereo.cas.configuration.CasConfigurationProperties' of type
> [org.apereo.cas.configuration.CasConfigurationProperties] is not eligible
> for getting processed by all BeanPostProcessors (for example: not eligible
> for auto-proxying)
> 20:16:24,409 INFO
> [org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker]
>
> (ServerService Thread Pool -- 104) Bean 'casCoreTicketsConfiguration' of
> type
> [org.apereo.cas.config.CasCoreTicketsConfiguration$$EnhancerBySpringCGLIB$$d9048801]
>
> is not eligible for getting processed by all BeanPostProcessors (for
> example: not eligible for auto-proxying)
> 20:16:24,421 INFO
> [org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker]
>
> (ServerService Thread Pool -- 104) Bean 'ticketTransactionManager' of type
> [org.apereo.cas.authentication.PseudoPlatformTransactionManager] is not
> eligible for getting processed by all BeanPostProcessors (for example: not
> eligible for auto-proxying)
> 20:16:24,423 INFO
> [org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker]
>
> (ServerService Thread Pool -- 104) Bean
> 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration'
>
> of type
> [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$acd0e9ce]
>
> is not eligible for getting processed by all BeanPostProcessors (for
> example: not eligible for auto-proxying)
>
> 20:16:24,454 INFO
> [org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker]
>
> (ServerService Thread Pool -- 104) Bean 'applicationContextProvider' of
> type [org.apereo.cas.util.spring.ApplicationContextProvider] is not
> eligible for getting processed by all BeanPostProcessors (for example: not
> eligible for auto-proxying)
> 20:16:24,458 INFO
> [org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker]
>
> (ServerService Thread Pool -- 104) Bean 'zonedDateTimeToStringConverter' of
> type [org.apereo.cas.util.spring.Converters$ZonedDateTimeToStringConverter]
> is not eligible for getting processed by all BeanPostProcessors (for
> example: not eligible for auto-proxying)
> 20:16:24,460 INFO
> [org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker]
>
> (ServerService Thread Pool -- 104) Bean 'casCoreUtilConfiguration' of type
> [org.apereo.cas.config.CasCoreUtilConfiguration$$EnhancerBySpringCGLIB$$d93de188]
>
> is not eligible for getting processed by all BeanPostProcessors (for
> example: not eligible for auto-proxying)
> 20:16:24,484 INFO
> [org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker]
>
> (ServerService Thread Pool -- 104) Bean
> 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration'
>
> of type
> [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$c8eaeccb]
>
> is not eligible for getting processed by all BeanPostProcessors (for
> example: not eligible for auto-proxying)
> 20:16:24,648 INFO [io.undertow.servlet] (ServerService Thread Pool --
> 104) Initializing Spring embedded WebApplicationContext
> 20:16:24,649 INFO [org.springframework.web.context.ContextLoader]
> (ServerService Thread Pool -- 104) Root WebApplicationContext:
> initialization completed in 5428 ms
> 20:16:24,807 INFO [org.springframework.aop.framework.CglibAopProxy]
> (ServerService Thread Pool -- 104) Unable to proxy interface-implementing
> method [public final void
> org.springframework.boot.web.servlet.RegistrationBean.onStartup(javax.servlet.ServletContext)
>
> throws javax.servlet.ServletException] because it is marked as final:
> Consider using interface-based JDK proxies instead!
> 20:16:24,869 WARN [org.apereo.cas.config.CasCoreTicketsConfiguration]
> (ServerService Thread Pool -- 104) Runtime memory is used as the
> persistence storage for retrieving and managing tickets. Tickets that are
> issued during runtime will be LOST when the web server is restarted. This
> MAY impact SSO functionality.
> 20:16:24,872 INFO [org.apereo.cas.util.CoreTicketUtils] (ServerService
> Thread Pool -- 104) Ticket registry encryption/signing is turned off. This
> MAY NOT be safe in a clustered production environment. Consider using other
> choices to handle encryption, signing and verification of ticket registry
> tickets, and verify the chosen ticket registry does support this behavior.
> 20:16:24,890 WARN
> [org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext]
>
> (ServerService Thread Pool -- 104) Exception encountered during context
> initialization - cancelling refresh attempt:
> org.springframework.context.ApplicationContextException: Unable to start
> web server; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'threadContextMDCServletFilter' defined in class path
> resource [org/apereo/cas/logging/config/CasLoggingConfiguration.class]:
> Bean instantiation via factory method failed; nested exception is
> org.springframework.beans.BeanInstantiationException: Failed to instantiate
> [org.springframework.boot.web.servlet.FilterRegistrationBean]: Factory
> method 'threadContextMDCServletFilter' threw exception; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'defaultTicketRegistrySupport' defined in class path
> resource [org/apereo/cas/config/CasCoreTicketsConfiguration.class]:
> Initialization of bean failed; nested exception is
> org.springframework.aop.framework.AopConfigException: Unexpected AOP
> exception; nested exception is
> org.springframework.aop.framework.AopConfigException: Unable to instantiate
> proxy using Objenesis, and regular proxy instantiation via default
> constructor fails as well; nested exception is
> java.lang.NoSuchMethodException:
> org.apereo.cas.ticket.registry.DefaultTicketRegistrySupport$$EnhancerBySpringCGLIB$$24a960d5.<init>()
> 20:16:24,904 INFO
> [org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLoggingListener]
>
> (ServerService Thread Pool -- 104)
>
> Error starting ApplicationContext. To display the conditions report re-run
> your application with 'debug' enabled.
> 20:16:24,907 ERROR [org.springframework.boot.SpringApplication]
> (ServerService Thread Pool -- 104) Application run failed:
> org.springframework.context.ApplicationContextException: Unable to start
> web server; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'threadContextMDCServletFilter' defined in class path
> resource [org/apereo/cas/logging/config/CasLoggingConfiguration.class]:
> Bean instantiation via factory method failed; nested exception is
> org.springframework.beans.BeanInstantiationException: Failed to instantiate
> [org.springframework.boot.web.servlet.FilterRegistrationBean]: Factory
> method 'threadContextMDCServletFilter' threw exception; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'defaultTicketRegistrySupport' defined in class path
> resource [org/apereo/cas/config/CasCoreTicketsConfiguration.class]:
> Initialization of bean failed; nested exception is
> org.springframework.aop.framework.AopConfigException: Unexpected AOP
> exception; nested exception is
> org.springframework.aop.framework.AopConfigException: Unable to instantiate
> proxy using Objenesis, and regular proxy instantiation via default
> constructor fails as well; nested exception is
> java.lang.NoSuchMethodException:
> org.apereo.cas.ticket.registry.DefaultTicketRegistrySupport$$EnhancerBySpringCGLIB$$24a960d5.<init>()
> at
> deployment.cas.war//org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:157)
> at
> deployment.cas.war//org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:540)
> at
> deployment.cas.war//org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:142)
> at
> deployment.cas.war//org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775)
> at
> deployment.cas.war//org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)
> at
> deployment.cas.war//org.springframework.boot.SpringApplication.run(SpringApplication.java:316)
> at
> deployment.cas.war//org.springframework.boot.web.servlet.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:157)
> at
> deployment.cas.war//org.springframework.boot.web.servlet.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:137)
> at
> deployment.cas.war//org.springframework.boot.web.servlet.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:91)
> at
> deployment.cas.war//org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:171)
> at
> [email protected]//io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManagerImpl.java:203)
> at
> [email protected]//io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManagerImpl.java:185)
> at
> [email protected]//io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)
> at
> [email protected]//io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
> at
> [email protected]//org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)
> at
> [email protected]//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
> at
> [email protected]//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
> at
> [email protected]//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
> at
> [email protected]//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
> at
> [email protected]//io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:250)
> at
> [email protected]//org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:96)
> at
> [email protected]//org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:78)
> at
> java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
> at
> java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> at
> [email protected]//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
> at
> [email protected]//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
> at
> [email protected]//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
> at
> [email protected]//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
> at java.base/java.lang.Thread.run(Thread.java:834)
> at
> [email protected]//org.jboss.threads.JBossThread.run(JBossThread.java:485)
> Caused by: org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'threadContextMDCServletFilter' defined in class
> path resource
> [org/apereo/cas/logging/config/CasLoggingConfiguration.class]: Bean
> instantiation via factory method failed; nested exception is
> org.springframework.beans.BeanInstantiationException: Failed to instantiate
> [org.springframework.boot.web.servlet.FilterRegistrationBean]: Factory
> method 'threadContextMDCServletFilter' threw exception; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'defaultTicketRegistrySupport' defined in class path
> resource [org/apereo/cas/config/CasCoreTicketsConfiguration.class]:
> Initialization of bean failed; nested exception is
> org.springframework.aop.framework.AopConfigException: Unexpected AOP
> exception; nested exception is
> org.springframework.aop.framework.AopConfigException: Unable to instantiate
> proxy using Objenesis, and regular proxy instantiation via default
> constructor fails as well; nested exception is
> java.lang.NoSuchMethodException:
> org.apereo.cas.ticket.registry.DefaultTicketRegistrySupport$$EnhancerBySpringCGLIB$$24a960d5.<init>()
> at
> deployment.cas.war//org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:627)
> at
> deployment.cas.war//org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:456)
> at
> deployment.cas.war//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1288)
> at
> deployment.cas.war//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1127)
> at
> deployment.cas.war//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:538)
> at
> deployment.cas.war//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:498)
> at
> deployment.cas.war//org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
> at
> deployment.cas.war//org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
> at
> deployment.cas.war//org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
> ...
--
- 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/3d96ea18-f383-4424-992c-300649251326%40apereo.org.