HI,
THank you for your works,
I could run overlay CAS for version 5.1.0.RC2  But not working for  
5.1.0.RC3
5.1.0.RC4
there is this log when i try to run 5.1.0.RC3




   __   ____      _      ____   __  

  / /  / ___|    / \    / ___|  \ \ 

 | |  | |       / _ \   \___ \   | |

 | |  | |___   / ___ \   ___) |  | |

 | |   \____| /_/   \_\ |____/   | |

  \_\                           /_/ 


CAS Version: 5.1.0-RC3

CAS Commit Id: f1303c721e75fd2ed1ff63c7d992844eaaae52c1

CAS Build Date/Time: 2017-05-28T17:31:34Z

Spring Boot Version: 1.5.2.RELEASE

------------------------------------------------------------

System Date/Time: 2017-05-28T19:31:56.638

System Temp Directory: /var/folders/65/wbktg5x91vs838f5mpk_0q9h0000gn/T/

------------------------------------------------------------

Java Home: 
/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/jre

Java Vendor: Oracle Corporation

Java Version: 1.8.0_121

JCE Installed: no

------------------------------------------------------------

OS Architecture: x86_64

OS Name: Mac OS X

OS Version: 10.12.4

------------------------------------------------------------



2017-05-28 19:31:56,867 INFO 
[org.apereo.cas.configuration.config.CasCoreBootstrapStandaloneConfiguration] 
- <Configuration files found at [/etc/cas/config] are 
[[/etc/cas/config/application.yml, /etc/cas/config/cas.properties]]>

2017-05-28 19:31:56,948 INFO 
[org.apereo.cas.configuration.config.CasCoreBootstrapStandaloneConfiguration] 
- <Found and loaded [29] setting(s) from [/etc/cas/config]>

2017-05-28 19:31:56,950 INFO 
[org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration]
 
- <Located property source: PropertiesPropertySource 
[name='standaloneCasConfigService']>

2017-05-28 19:31:57,039 INFO [org.apereo.cas.web.CasWebApplication] - <The 
following profiles are active: standalone>

2017-05-28 19:32:13,060 WARN 
[org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext]
 
- <Exception encountered during context initialization - cancelling refresh 
attempt: org.springframework.context.ApplicationContextException: Unable to 
start embedded container; nested exception is 
org.springframework.context.ApplicationContextException: Unable to start 
EmbeddedWebApplicationContext due to missing 
EmbeddedServletContainerFactory bean.>

2017-05-28 19:32:13,067 WARN 
[com.ryantenney.metrics.spring.config.annotation.MetricsConfigurerAdapter] 
- <Problem stopping reporter>

org.springframework.beans.factory.BeanCreationNotAllowedException: Error 
creating bean with name 'casMetricsConfiguration': Singleton bean creation 
not allowed while singletons of this factory are in destruction (Do not 
request a bean from a BeanFactory in a destroy method implementation!)

at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:216)
 
~[spring-beans-4.3.7.RELEASE.jar!/:4.3.7.RELEASE]

at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
 
~[spring-beans-4.3.7.RELEASE.jar!/:4.3.7.RELEASE]

at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
 
~[spring-beans-4.3.7.RELEASE.jar!/:4.3.7.RELEASE]

at 
org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:372)
 
~[spring-beans-4.3.7.RELEASE.jar!/:4.3.7.RELEASE]

at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1173)
 
~[spring-beans-4.3.7.RELEASE.jar!/:4.3.7.RELEASE]

at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1067)
 
~[spring-beans-4.3.7.RELEASE.jar!/:4.3.7.RELEASE]

at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
 
~[spring-beans-4.3.7.RELEASE.jar!/:4.3.7.RELEASE]

at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
 
~[spring-beans-4.3.7.RELEASE.jar!/:4.3.7.RELEASE]

at 
org.springframework.beans.factory.support.AbstractBeanFactory$2.getObject(AbstractBeanFactory.java:345)
 
~[spring-beans-4.3.7.RELEASE.jar!/:4.3.7.RELEASE]

at 
org.springframework.cloud.context.scope.GenericScope$BeanLifecycleWrapper.getBean(GenericScope.java:359)
 
~[spring-cloud-context-1.1.8.RELEASE.jar!/:1.1.8.RELEASE]

at 
org.springframework.cloud.context.scope.GenericScope.get(GenericScope.java:176) 
~[spring-cloud-context-1.1.8.RELEASE.jar!/:1.1.8.RELEASE]

at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:340)
 
~[spring-beans-4.3.7.RELEASE.jar!/:4.3.7.RELEASE]

at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
 
~[spring-beans-4.3.7.RELEASE.jar!/:4.3.7.RELEASE]

at 
org.springframework.aop.target.SimpleBeanTargetSource.getTarget(SimpleBeanTargetSource.java:35)
 
~[spring-aop-4.3.7.RELEASE.jar!/:4.3.7.RELEASE]

at 
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.getTarget(CglibAopProxy.java:688)
 
~[spring-aop-4.3.7.RELEASE.jar!/:4.3.7.RELEASE]

at 
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:638)
 
~[spring-aop-4.3.7.RELEASE.jar!/:4.3.7.RELEASE]

at 
com.codahale.metrics.MetricRegistry$$EnhancerBySpringCGLIB$$1bc52cf2.removeListener(<generated>)
 
~[metrics-core-3.1.3.jar!/:3.1.3]

at com.codahale.metrics.JmxReporter.stop(JmxReporter.java:722) 
~[metrics-core-3.1.3.jar!/:3.1.3]

at com.codahale.metrics.JmxReporter.close(JmxReporter.java:731) 
~[metrics-core-3.1.3.jar!/:3.1.3]

at 
com.ryantenney.metrics.spring.config.annotation.MetricsConfigurerAdapter.destroy(MetricsConfigurerAdapter.java:77)
 
~[metrics-spring-3.1.3.jar!/:?]

at 
org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:272)
 
~[spring-beans-4.3.7.RELEASE.jar!/:4.3.7.RELEASE]

at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:578)
 
~[spring-beans-4.3.7.RELEASE.jar!/:4.3.7.RELEASE]

at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:554)
 
~[spring-beans-4.3.7.RELEASE.jar!/:4.3.7.RELEASE]

at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingleton(DefaultListableBeanFactory.java:961)
 
~[spring-beans-4.3.7.RELEASE.jar!/:4.3.7.RELEASE]

at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:523)
 
~[spring-beans-4.3.7.RELEASE.jar!/:4.3.7.RELEASE]

at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons(DefaultListableBeanFactory.java:968)
 
~[spring-beans-4.3.7.RELEASE.jar!/:4.3.7.RELEASE]

at 
org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1033)
 
~[spring-context-4.3.7.RELEASE.jar!/:4.3.7.RELEASE]

at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:555)
 
~[spring-context-4.3.7.RELEASE.jar!/:4.3.7.RELEASE]

at 
org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
 
~[spring-boot-1.5.2.RELEASE.jar!/:1.5.2.RELEASE]

at 
org.springframework.boot.SpringApplication.refresh(SpringApplication.java:737) 
~[spring-boot-1.5.2.RELEASE.jar!/:1.5.2.RELEASE]

at 
org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:370)
 
~[spring-boot-1.5.2.RELEASE.jar!/:1.5.2.RELEASE]

at 
org.springframework.boot.SpringApplication.run(SpringApplication.java:314) 
~[spring-boot-1.5.2.RELEASE.jar!/:1.5.2.RELEASE]

at 
org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:134)
 
~[spring-boot-1.5.2.RELEASE.jar!/:1.5.2.RELEASE]

at org.apereo.cas.web.CasWebApplication.main(CasWebApplication.java:73) 
~[cas-server-webapp-init-5.1.0-RC3.jar!/:5.1.0-RC3]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
~[?:1.8.0_121]

at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
~[?:1.8.0_121]

at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 
~[?:1.8.0_121]

at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_121]

at 
org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48) 
~[cas.war:5.1.0-RC3]

at org.springframework.boot.loader.Launcher.launch(Launcher.java:87) 
~[cas.war:5.1.0-RC3]

at org.springframework.boot.loader.Launcher.launch(Launcher.java:50) 
~[cas.war:5.1.0-RC3]

at org.springframework.boot.loader.WarLauncher.main(WarLauncher.java:59) 
~[cas.war:5.1.0-RC3]

2017-05-28 19:32:13,087 ERROR [org.springframework.boot.SpringApplication] 
- <Application startup failed>

org.springframework.context.ApplicationContextException: Unable to start 
embedded container; nested exception is 
org.springframework.context.ApplicationContextException: Unable to start 
EmbeddedWebApplicationContext due to missing 
EmbeddedServletContainerFactory bean.

at 
org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onRefresh(EmbeddedWebApplicationContext.java:137)
 
~[spring-boot-1.5.2.RELEASE.jar!/:1.5.2.RELEASE]

at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:536)
 
~[spring-context-4.3.7.RELEASE.jar!/:4.3.7.RELEASE]

at 
org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
 
~[spring-boot-1.5.2.RELEASE.jar!/:1.5.2.RELEASE]

at 
org.springframework.boot.SpringApplication.refresh(SpringApplication.java:737) 
~[spring-boot-1.5.2.RELEASE.jar!/:1.5.2.RELEASE]

at 
org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:370)
 
~[spring-boot-1.5.2.RELEASE.jar!/:1.5.2.RELEASE]

at 
org.springframework.boot.SpringApplication.run(SpringApplication.java:314) 
~[spring-boot-1.5.2.RELEASE.jar!/:1.5.2.RELEASE]

at 
org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:134)
 
~[spring-boot-1.5.2.RELEASE.jar!/:1.5.2.RELEASE]

at org.apereo.cas.web.CasWebApplication.main(CasWebApplication.java:73) 
~[cas-server-webapp-init-5.1.0-RC3.jar!/:5.1.0-RC3]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
~[?:1.8.0_121]

at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
~[?:1.8.0_121]

at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 
~[?:1.8.0_121]

at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_121]

at 
org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48) 
~[cas.war:5.1.0-RC3]

at org.springframework.boot.loader.Launcher.launch(Launcher.java:87) 
~[cas.war:5.1.0-RC3]

at org.springframework.boot.loader.Launcher.launch(Launcher.java:50) 
~[cas.war:5.1.0-RC3]

at org.springframework.boot.loader.WarLauncher.main(WarLauncher.java:59) 
~[cas.war:5.1.0-RC3]

Caused by: org.springframework.context.ApplicationContextException: Unable 
to start EmbeddedWebApplicationContext due to missing 
EmbeddedServletContainerFactory bean.

at 
org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.getEmbeddedServletContainerFactory(EmbeddedWebApplicationContext.java:189)
 
~[spring-boot-1.5.2.RELEASE.jar!/:1.5.2.RELEASE]

at 
org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.createEmbeddedServletContainer(EmbeddedWebApplicationContext.java:162)
 
~[spring-boot-1.5.2.RELEASE.jar!/:1.5.2.RELEASE]

at 
org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onRefresh(EmbeddedWebApplicationContext.java:134)
 
~[spring-boot-1.5.2.RELEASE.jar!/:1.5.2.RELEASE]


-- 
- 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/98007f39-05df-4ea4-970f-94f77fe9432d%40apereo.org.

Reply via email to