[cas-user] Cas 5.x on WildFly

98 views
Skip to first unread message

Gokhan Mansuroglu

unread,
Feb 23, 2017, 9:17:06 AM2/23/17
to CAS Community
Hi everybody,

I want to run Cas 5.0.0 on WildFly server but it doesn't start. There are many spring boot related errors as below. Is there anybody working with wildfly or any idea about this ?

Thank you.

16:15:10,183 ERROR [org.springframework.boot.SpringApplication] (ServerService Thread Pool -- 73) Application startup failed: java.lang.IllegalStateException: Cannot load configuration class: org.apereo.cas.config.CasEmbeddedContainerConfiguration
    at org.springframework.context.annotation.ConfigurationClassPostProcessor.enhanceConfigurationClasses(ConfigurationClassPostProcessor.java:419)
    at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanFactory(ConfigurationClassPostProcessor.java:266)
    at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:284)
    at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:130)
    at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:681)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:523)
    at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:761)
    at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:371)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
    at org.springframework.boot.web.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:151)
    at org.springframework.boot.web.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:131)
    at org.springframework.boot.web.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:86)
    at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:169)
    at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:184)
    at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:100)
    at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
    at org.jboss.threads.JBossThread.run(JBossThread.java:320)
Caused by: java.lang.IllegalStateException: Unable to load cache item
    at org.springframework.cglib.core.internal.LoadingCache.createEntry(LoadingCache.java:79)
    at org.springframework.cglib.core.internal.LoadingCache.get(LoadingCache.java:34)
    at org.springframework.cglib.core.AbstractClassGenerator$ClassLoaderData.get(AbstractClassGenerator.java:116)
    at org.springframework.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:291)
    at org.springframework.cglib.proxy.Enhancer.createHelper(Enhancer.java:480)
    at org.springframework.cglib.proxy.Enhancer.createClass(Enhancer.java:337)
    at org.springframework.context.annotation.ConfigurationClassEnhancer.createClass(ConfigurationClassEnhancer.java:135)
    at org.springframework.context.annotation.ConfigurationClassEnhancer.enhance(ConfigurationClassEnhancer.java:107)
    at org.springframework.context.annotation.ConfigurationClassPostProcessor.enhanceConfigurationClasses(ConfigurationClassPostProcessor.java:409)
    ... 22 more
Caused by: java.lang.NoClassDefFoundError: org/apache/catalina/valves/rewrite/RewriteValve
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
    at java.lang.Class.getDeclaredConstructors(Class.java:2020)
    at org.springframework.cglib.proxy.Enhancer.generateClass(Enhancer.java:566)
    at org.springframework.cglib.transform.TransformingClassGenerator.generateClass(TransformingClassGenerator.java:33)
    at org.springframework.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)
    at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanFactoryAwareGeneratorStrategy.generate(ConfigurationClassEnhancer.java:249)
    at org.springframework.cglib.core.AbstractClassGenerator.generate(AbstractClassGenerator.java:329)
    at org.springframework.cglib.proxy.Enhancer.generate(Enhancer.java:492)
    at org.springframework.cglib.core.AbstractClassGenerator$ClassLoaderData$3.apply(AbstractClassGenerator.java:93)
    at org.springframework.cglib.core.AbstractClassGenerator$ClassLoaderData$3.apply(AbstractClassGenerator.java:91)
    at org.springframework.cglib.core.internal.LoadingCache$2.call(LoadingCache.java:54)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at org.springframework.cglib.core.internal.LoadingCache.createEntry(LoadingCache.java:61)
    ... 30 more
Caused by: java.lang.ClassNotFoundException: org.apache.catalina.valves.rewrite.RewriteValve from [Module "deployment.CAS.war:main" from Service Module Loader]
    at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:198)
    at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:363)
    at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:351)
    at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:93)
    ... 44 more

16:15:10,184 INFO  [org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext] (ServerService Thread Pool -- 73) Closing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@3f92b639: startup date [Thu Feb 23 16:15:08 EET 2017]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@5da2b235
16:15:10,184 WARN  [org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext] (ServerService Thread Pool -- 73) Exception thrown from LifecycleProcessor on context close: java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@3f92b639: startup date [Thu Feb 23 16:15:08 EET 2017]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@5da2b235
    at org.springframework.context.support.AbstractApplicationContext.getLifecycleProcessor(AbstractApplicationContext.java:416)
    at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:997)
    at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:956)
    at org.springframework.boot.SpringApplication.handleRunFailure(SpringApplication.java:818)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:326)
    at org.springframework.boot.web.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:151)
    at org.springframework.boot.web.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:131)
    at org.springframework.boot.web.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:86)
    at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:169)
    at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:184)
    at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:100)
    at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
    at org.jboss.threads.JBossThread.run(JBossThread.java:320)

16:15:10,185 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 73) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./CAS: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./CAS: java.lang.RuntimeException: java.lang.IllegalStateException: Cannot load configuration class: org.apereo.cas.config.CasEmbeddedContainerConfiguration
    at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:85)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
    at org.jboss.threads.JBossThread.run(JBossThread.java:320)
Caused by: java.lang.RuntimeException: java.lang.IllegalStateException: Cannot load configuration class: org.apereo.cas.config.CasEmbeddedContainerConfiguration
    at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:231)
    at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:100)
    at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82)
    ... 6 more
Caused by: java.lang.IllegalStateException: Cannot load configuration class: org.apereo.cas.config.CasEmbeddedContainerConfiguration
    at org.springframework.context.annotation.ConfigurationClassPostProcessor.enhanceConfigurationClasses(ConfigurationClassPostProcessor.java:419)
    at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanFactory(ConfigurationClassPostProcessor.java:266)
    at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:284)
    at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:130)
    at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:681)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:523)
    at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:761)
    at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:371)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
    at org.springframework.boot.web.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:151)
    at org.springframework.boot.web.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:131)
    at org.springframework.boot.web.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:86)
    at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:169)
    at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:184)
    ... 8 more
Caused by: java.lang.IllegalStateException: Unable to load cache item
    at org.springframework.cglib.core.internal.LoadingCache.createEntry(LoadingCache.java:79)
    at org.springframework.cglib.core.internal.LoadingCache.get(LoadingCache.java:34)
    at org.springframework.cglib.core.AbstractClassGenerator$ClassLoaderData.get(AbstractClassGenerator.java:116)
    at org.springframework.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:291)
    at org.springframework.cglib.proxy.Enhancer.createHelper(Enhancer.java:480)
    at org.springframework.cglib.proxy.Enhancer.createClass(Enhancer.java:337)
    at org.springframework.context.annotation.ConfigurationClassEnhancer.createClass(ConfigurationClassEnhancer.java:135)
    at org.springframework.context.annotation.ConfigurationClassEnhancer.enhance(ConfigurationClassEnhancer.java:107)
    at org.springframework.context.annotation.ConfigurationClassPostProcessor.enhanceConfigurationClasses(ConfigurationClassPostProcessor.java:409)
    ... 22 more
Caused by: java.lang.NoClassDefFoundError: org/apache/catalina/valves/rewrite/RewriteValve
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
    at java.lang.Class.getDeclaredConstructors(Class.java:2020)
    at org.springframework.cglib.proxy.Enhancer.generateClass(Enhancer.java:566)
    at org.springframework.cglib.transform.TransformingClassGenerator.generateClass(TransformingClassGenerator.java:33)
    at org.springframework.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)
    at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanFactoryAwareGeneratorStrategy.generate(ConfigurationClassEnhancer.java:249)
    at org.springframework.cglib.core.AbstractClassGenerator.generate(AbstractClassGenerator.java:329)
    at org.springframework.cglib.proxy.Enhancer.generate(Enhancer.java:492)
    at org.springframework.cglib.core.AbstractClassGenerator$ClassLoaderData$3.apply(AbstractClassGenerator.java:93)
    at org.springframework.cglib.core.AbstractClassGenerator$ClassLoaderData$3.apply(AbstractClassGenerator.java:91)
    at org.springframework.cglib.core.internal.LoadingCache$2.call(LoadingCache.java:54)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at org.springframework.cglib.core.internal.LoadingCache.createEntry(LoadingCache.java:61)
    ... 30 more
Caused by: java.lang.ClassNotFoundException: org.apache.catalina.valves.rewrite.RewriteValve from [Module "deployment.CAS.war:main" from Service Module Loader]
    at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:198)
    at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:363)
    at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:351)
    at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:93)
    ... 44 more

16:15:10,196 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "CAS.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.undertow.deployment.default-server.default-host./CAS" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./CAS: java.lang.RuntimeException: java.lang.IllegalStateException: Cannot load configuration class: org.apereo.cas.config.CasEmbeddedContainerConfiguration
    Caused by: java.lang.RuntimeException: java.lang.IllegalStateException: Cannot load configuration class: org.apereo.cas.config.CasEmbeddedContainerConfiguration
    Caused by: java.lang.IllegalStateException: Cannot load configuration class: org.apereo.cas.config.CasEmbeddedContainerConfiguration
    Caused by: java.lang.IllegalStateException: Unable to load cache item
    Caused by: java.lang.NoClassDefFoundError: org/apache/catalina/valves/rewrite/RewriteValve
    Caused by: java.lang.ClassNotFoundException: org.apache.catalina.valves.rewrite.RewriteValve from [Module \"deployment.CAS.war:main\" from Service Module Loader]"}}
16:15:10,243 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 33) WFLYSRV0010: Deployed "CAS.war" (runtime-name : "CAS.war")
16:15:10,244 INFO  [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
WFLYCTL0186:   Services which failed to start:      service jboss.undertow.deployment.default-server.default-host./CAS: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./CAS: java.lang.RuntimeException: java.lang.IllegalStateException: Cannot load configuration class: org.apereo.cas.config.CasEmbeddedContainerConfiguration

16:15:10,406 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
16:15:10,407 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990
16:15:10,407 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: JBoss EAP 7.0.0.GA (WildFly Core 2.1.2.Final-redhat-1) started (with errors) in 14807ms - Started 966 of 1258 services (2 services failed or missing dependencies, 390 services are lazy, passive or on-demand)
16:15:10,430 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-3) WFLYJCA0019: Stopped Driver service with driver-name = CAS.war_org.mariadb.jdbc.Driver_1_4
16:15:10,431 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-3) WFLYJCA0019: Stopped Driver service with driver-name = CAS.war_org.hsqldb.jdbc.JDBCDriver_2_3
16:15:10,431 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-3) WFLYJCA0019: Stopped Driver service with driver-name = CAS.war_com.mysql.cj.jdbc.Driver_6_0
16:15:10,434 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-1) WFLYJCA0019: Stopped Driver service with driver-name = CAS.war_net.sourceforge.jtds.jdbc.Driver_1_3
16:15:10,434 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-1) WFLYJCA0019: Stopped Driver service with driver-name = CAS.war_org.postgresql.Driver_9_4
16:15:10,463 INFO  [org.jboss.weld.deployer] (MSC service thread 1-3) WFLYWELD0010: Stopping weld service for deployment CAS.war
16:15:11,172 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0028: Stopped deployment CAS.war (runtime-name: CAS.war) in 746ms
16:15:11,231 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 1) WFLYSRV0009: Undeployed "CAS.war" (runtime-name: "CAS.war")
16:15:11,234 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 1) WFLYCTL0183: Service status report
WFLYCTL0184:    New missing/unsatisfied dependencies:
      service jboss.deployment.unit."CAS.war".component."com.opensymphony.oscache.web.tag.CacheTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."com.opensymphony.oscache.web.tag.FlushTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."com.opensymphony.oscache.web.tag.GroupTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."com.opensymphony.oscache.web.tag.UseCachedTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.common.core.CatchTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.common.core.ChooseTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.common.core.OtherwiseTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.common.core.RemoveTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.common.xml.ForEachTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.common.xml.IfTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.common.xml.SetTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.common.xml.WhenTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.el.core.ForEachTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.el.core.ForTokensTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.el.core.IfTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.el.core.ImportTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.el.core.OutTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.el.core.ParamTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.el.core.RedirectTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.el.core.SetTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.el.core.UrlTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.el.core.WhenTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.el.fmt.BundleTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.el.fmt.FormatDateTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.el.fmt.FormatNumberTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.el.fmt.MessageTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.el.fmt.ParamTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.el.fmt.ParseDateTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.el.fmt.ParseNumberTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.el.fmt.RequestEncodingTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.el.fmt.SetBundleTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.el.fmt.SetLocaleTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.el.fmt.SetTimeZoneTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.el.fmt.TimeZoneTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.el.sql.DateParamTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.el.sql.ParamTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.el.sql.QueryTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.el.sql.SetDataSourceTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.el.sql.TransactionTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.el.sql.UpdateTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.el.xml.ExprTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.el.xml.ParamTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.el.xml.ParseTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.el.xml.TransformTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.rt.core.ForEachTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.rt.core.ForTokensTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.rt.core.IfTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.rt.core.ImportTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.rt.core.OutTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.rt.core.ParamTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.rt.core.RedirectTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.rt.core.SetTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.rt.core.UrlTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.rt.core.WhenTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.rt.fmt.BundleTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.rt.fmt.FormatNumberTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.rt.fmt.MessageTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.rt.fmt.ParamTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.rt.fmt.ParseDateTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.rt.fmt.ParseNumberTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.rt.fmt.RequestEncodingTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.rt.fmt.SetBundleTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.rt.fmt.SetLocaleTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.rt.fmt.SetTimeZoneTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.rt.fmt.TimeZoneTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.rt.sql.DateParamTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.rt.sql.ParamTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.rt.sql.QueryTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.rt.sql.SetDataSourceTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.rt.sql.TransactionTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.rt.sql.UpdateTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.rt.xml.ExprTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.rt.xml.ParamTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.rt.xml.ParseTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tag.rt.xml.TransformTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tlv.JstlCoreTLV".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tlv.JstlFmtTLV".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tlv.JstlSqlTLV".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.apache.taglibs.standard.tlv.JstlXmlTLV".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.jboss.weld.servlet.WeldInitialListener".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.jboss.weld.servlet.WeldTerminalListener".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.springframework.http.server.ServletServerHttpAsyncRequestControl".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.springframework.web.context.request.async.StandardServletAsyncWebRequest".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.springframework.web.servlet.tags.ArgumentTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.springframework.web.servlet.tags.BindErrorsTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.springframework.web.servlet.tags.BindTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.springframework.web.servlet.tags.EscapeBodyTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.springframework.web.servlet.tags.EvalTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.springframework.web.servlet.tags.HtmlEscapeTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.springframework.web.servlet.tags.MessageTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.springframework.web.servlet.tags.NestedPathTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.springframework.web.servlet.tags.ParamTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.springframework.web.servlet.tags.ThemeTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.springframework.web.servlet.tags.TransformTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.springframework.web.servlet.tags.UrlTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.springframework.web.servlet.tags.form.ButtonTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.springframework.web.servlet.tags.form.CheckboxTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.springframework.web.servlet.tags.form.CheckboxesTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.springframework.web.servlet.tags.form.ErrorsTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.springframework.web.servlet.tags.form.FormTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.springframework.web.servlet.tags.form.HiddenInputTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.springframework.web.servlet.tags.form.InputTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.springframework.web.servlet.tags.form.LabelTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.springframework.web.servlet.tags.form.OptionTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.springframework.web.servlet.tags.form.OptionsTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.springframework.web.servlet.tags.form.PasswordInputTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.springframework.web.servlet.tags.form.RadioButtonTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.springframework.web.servlet.tags.form.RadioButtonsTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.springframework.web.servlet.tags.form.SelectTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.deployment.unit."CAS.war".component."org.springframework.web.servlet.tags.form.TextareaTag".START (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
      service jboss.undertow.deployment.default-server.default-host./CAS (missing) dependents: [service jboss.deployment.unit."CAS.war".deploymentCompleteService]
WFLYCTL0186:   Services which failed to start:      service jboss.undertow.deployment.default-server.default-host./CAS

16:15:15,268 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0004: Found CAS.war in deployment directory. To trigger deployment create a file called CAS.war.dodeploy


--
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
---
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 cas-user+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/9e6a8f93-3203-4a3d-926b-067203ebc451%40apereo.org.

Gokhan Mansuroglu

unread,
Feb 23, 2017, 9:24:08 AM2/23/17
to CAS Community
Correction :

The main error is this :
16:21:53,471 INFO  [org.apereo.cas.web.CasWebApplicationServletInitializer] (ServerService Thread Pool -- 139) Started CasWebApplicationServletInitializer in 11.233 seconds (JVM running for 417.921)
16:21:53,485 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 139) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./CAS: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./CAS: java.lang.RuntimeException: java.lang.ClassCastException: org.apache.tomcat.websocket.server.WsServerContainer cannot be cast to io.undertow.websockets.jsr.ServerWebSocketContainer

    at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:85)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
    at org.jboss.threads.JBossThread.run(JBossThread.java:320)
Caused by: java.lang.RuntimeException: java.lang.ClassCastException: org.apache.tomcat.websocket.server.WsServerContainer cannot be cast to io.undertow.websockets.jsr.ServerWebSocketContainer

    at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:231)
    at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:100)
    at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82)
    ... 6 more
Caused by: java.lang.ClassCastException: org.apache.tomcat.websocket.server.WsServerContainer cannot be cast to io.undertow.websockets.jsr.ServerWebSocketContainer
    at io.undertow.websockets.jsr.Bootstrap$WebSocketListener.contextInitialized(Bootstrap.java:111)
    at io.undertow.servlet.core.ApplicationListeners.contextInitialized(ApplicationListeners.java:187)
    at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:198)
    ... 8 more



23 Şubat 2017 Perşembe 17:17:04 UTC+3 tarihinde Gokhan Mansuroglu yazdı:
      service jboss.deployment.unit."CAS.war".component."org.springframework.web.servlet.tags.form.CheckboxesTag".START (missing) dependents...

--
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
---
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 cas-user+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/398bea3d-7a0b-44b9-b4c9-9aba53cf50fa%40apereo.org.

Dmitriy Kopylenko

unread,
Feb 23, 2017, 9:33:59 AM2/23/17
to cas-...@apereo.org

that is - exclude embedded tomcat from either Maven or Gradle overlay build as described there.

D.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/etPan.58aef2d2.7389607b.13a%40unicon.net.
Reply all
Reply to author
Forward
0 new messages