Same issue here.  It crashes/locks up Tomcat .

r/Chad

On Friday, May 10, 2019 at 10:15:05 AM UTC-4, Alexi Pascual wrote:
>
> hi,
>
> Has anyone managed to install without problems the ca-management- 6.0 ?. I 
> have the same error, without the mongoDB configuration.
>
> Alexi.
> El 07-05-19 a las 13:07, Mathias Rosenberg escribió:
>
> I'm also facing the same problem, did you find some solution for it?
>
> Mathias.
>
> El miércoles, 27 de marzo de 2019, 6:56:34 (UTC-3), Taupasse escribió: 
>>
>> Hello,
>>
>> I'm currently trying to set up the cas management webapp 6.0 against a 
>> working Cas 6.0 with a ticket registry in a replicated MongoDB.
>>
>> When I try to build the cas-management.war from the 
>> cas-management-overlay, I add the following line to the build.gradle :
>>
>> compile "org.apereo.cas:cas-server-support-mongo-service-registry:6.0.2"
>>
>> I build it with 
>>
>> ./build.sh package
>>
>> Everything seems to be fine, but when i'm publishing the war file in my 
>> tomcat, it crashes with some "pretty" java errors :
>>
>> ERROR [org.apereo.cas.CasEmbeddedContainerUtils] - <class org.apereo.cas.
>> CasEmbeddedContainerUtils cannot access a member of class org.apereo.cas.
>> mgmt.CasManagementEmbeddedContainerUtils$1 with modifiers "">
>> java.lang.IllegalAccessException: class org.apereo.cas.
>> CasEmbeddedContainerUtils cannot access a member of class org.apereo.cas.
>> mgmt.CasManagementEmbeddedContainerUtils$1 with modifiers ""
>>         at jdk.internal.reflect.Reflection.newIllegalAccessException(
>> Reflection.java:361) ~[?:?]
>>         at java.lang.reflect.AccessibleObject.checkAccess(
>> AccessibleObject.java:591) ~[?:?]
>>         at java.lang.reflect.Constructor.newInstance(Constructor.java:481
>> ) ~[?:?]
>>         at org.apereo.cas.CasEmbeddedContainerUtils.getCasBannerInstance(
>> CasEmbeddedContainerUtils.java:65) ~[cas-server-webapp-init-6.0.2-
>> SNAPSHOT.jar:6.0.2-SNAPSHOT]
>>         at org.apereo.cas.web.CasWebApplicationServletInitializer.
>> configure(CasWebApplicationServletInitializer.java:23) ~[cas-server-
>> webapp-init-6.0.2-SNAPSHOT.jar:6.0.2-SNAPSHOT]
>>         at org.springframework.boot.web.servlet.support.
>> SpringBootServletInitializer.createRootApplicationContext(
>> SpringBootServletInitializer.java:122) ~[spring-boot-2.1.1.RELEASE.jar:
>> 2.1.1.RELEASE]
>>         at org.springframework.boot.web.servlet.support.
>> SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:
>> 91) ~[spring-boot-2.1.1.RELEASE.jar:2.1.1.RELEASE]
>>         at org.springframework.web.SpringServletContainerInitializer.
>> onStartup(SpringServletContainerInitializer.java:171) ~[spring-web-5.1.
>> 3.RELEASE.jar:5.1.3.RELEASE]
>>
>>
>>
>>
>> And 
>>
>>  ERROR [org.springframework.boot.SpringApplication] - <Application run 
>> failed>
>> java.lang.IllegalStateException: No Scope registered for scope name 
>> 'refresh'
>>         at org.springframework.beans.factory.support.AbstractBeanFactory.
>> doGetBean(AbstractBeanFactory.java:350) ~[spring-beans-5.1.3.RELEASE.jar:
>> 5.1.3.RELEASE]
>>         at org.springframework.beans.factory.support.AbstractBeanFactory.
>> getBean(AbstractBeanFactory.java:199) ~[spring-beans-5.1.3.RELEASE.jar:
>> 5.1.3.RELEASE]
>>         at org.springframework.aop.target.SimpleBeanTargetSource.
>> getTarget(SimpleBeanTargetSource.java:35) ~[spring-aop-5.1.4.RELEASE.jar:
>> 5.1.4.RELEASE]
>>         at org.springframework.aop.framework.
>> CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672) 
>> ~[spring-aop-5.1.4.RELEASE.jar:5.1.4.RELEASE]
>>         at org.apereo.cas.mgmt.web.
>> DefaultCasManagementEventListener$$EnhancerBySpringCGLIB$$5744b79f.
>> handleApplicationReadyEvent(<generated>) ~[cas-mgmt-webapp-init-6.0.2-
>> SNAPSHOT.jar:6.0.2-SNAPSHOT]
>>         at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
>> Method) ~[?:?]
>>         at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(
>> NativeMethodAccessorImpl.java:62) ~[?:?]
>>         at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(
>> DelegatingMethodAccessorImpl.java:43) ~[?:?]
>>         at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
>>         at org.springframework.context.event.
>> ApplicationListenerMethodAdapter.doInvoke(
>> ApplicationListenerMethodAdapter.java:259) ~[spring-context-5.1.3.RELEASE
>> .jar:5.1.3.RELEASE]
>>         at org.springframework.context.event.
>> ApplicationListenerMethodAdapter.processEvent(
>> ApplicationListenerMethodAdapter.java:179) ~[spring-context-5.1.3.RELEASE
>> .jar:5.1.3.RELEASE]
>>         at org.springframework.context.event.
>> ApplicationListenerMethodAdapter.onApplicationEvent(
>> ApplicationListenerMethodAdapter.java:142) ~[spring-context-5.1.3.RELEASE
>> .jar:5.1.3.RELEASE]
>>         at org.springframework.context.event.
>> SimpleApplicationEventMulticaster.doInvokeListener(
>> SimpleApplicationEventMulticaster.java:172) ~[spring-context-5.1.
>> 3.RELEASE.jar:5.1.3.RELEASE]
>>         at org.springframework.context.event.
>> SimpleApplicationEventMulticaster.invokeListener(
>> SimpleApplicationEventMulticaster.java:165) ~[spring-context-5.1.
>> 3.RELEASE.jar:5.1.3.RELEASE]
>>         at org.springframework.context.event.
>> SimpleApplicationEventMulticaster.multicastEvent(
>> SimpleApplicationEventMulticaster.java:139) ~[spring-context-5.1.
>> 3.RELEASE.jar:5.1.3.RELEASE]
>>         at org.springframework.context.support.AbstractApplicationContext
>> .publishEvent(AbstractApplicationContext.java:398) ~[spring-context-5.1.
>> 3.RELEASE.jar:5.1.3.RELEASE]
>>         at org.springframework.context.support.AbstractApplicationContext
>> .publishEvent(AbstractApplicationContext.java:355) ~[spring-context-5.1.
>> 3.RELEASE.jar:5.1.3.RELEASE]
>>         at org.springframework.boot.context.event.
>> EventPublishingRunListener.running(EventPublishingRunListener.java:105) 
>> ~[spring-boot-2.1.1.RELEASE.jar:2.1.1.RELEASE]
>>         at org.springframework.boot.SpringApplicationRunListeners.running
>> (SpringApplicationRunListeners.java:78) ~[spring-boot-2.1.1.RELEASE.jar:
>> 2.1.1.RELEASE]
>>         at org.springframework.boot.SpringApplication.run(
>> SpringApplication.java:332) [spring-boot-2.1.1.RELEASE.jar:2.1.1.RELEASE]
>>         at org.springframework.boot.web.servlet.support.
>> SpringBootServletInitializer.run(SpringBootServletInitializer.java:157) [
>> spring-boot-2.1.1.RELEASE.jar:2.1.1.RELEASE]
>>         at org.springframework.boot.web.servlet.support.
>> SpringBootServletInitializer.createRootApplicationContext(
>> SpringBootServletInitializer.java:137) [spring-boot-2.1.1.RELEASE.jar:2.1
>> .1.RELEASE]
>>         at org.springframework.boot.web.servlet.support.
>> SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:
>> 91) [spring-boot-2.1.1.RELEASE.jar:2.1.1.RELEASE]
>>         at org.springframework.web.SpringServletContainerInitializer.
>> onStartup(SpringServletContainerInitializer.java:171) [spring-web-5.1.
>> 3.RELEASE.jar:5.1.3.RELEASE]
>>
>> When i pick up this version of cas-management.war 
>> https://mvnrepository.com/artifact/org.apereo.cas/cas-mgmt-webapp/6.0.1  
>> everything works, but I don't have the mongoDB support included in the war 
>> file.
>>
>> If someone can help :)
>>
>>
>> Florent
>>
>> -- 
> - 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] <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/446747f7-2ba0-47eb-9fb0-e1bac432f62d%40apereo.org
>  
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/446747f7-2ba0-47eb-9fb0-e1bac432f62d%40apereo.org?utm_medium=email&utm_source=footer>
> .
>
> -- 
> Alexi Pascual García
> Jefe de Arquitectura e Integración
> Subdirección de Operaciones y Plataforma
> Dirección de Informática
> Pontificia Universidad Católica de Chile
> Teléfono: (56 2) 2354 5759
>
>

-- 
- 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/3cd624ff-610e-4968-ba85-d2ae1eeb3b6a%40apereo.org.

Reply via email to