CAS Config Server With DynamoDB - Reset Error

21 views
Skip to first unread message

Mike Kromarek

unread,
May 18, 2018, 12:58:59 PM5/18/18
to CAS Community
I'm trying to cas config server to pull configurations details from a DynamoDB instance, but am running into a host of problems.

I've added the dependency to the pom.xml
<dependency>
     <groupId>org.apereo.cas</groupId>
     <artifactId>cas-server-core-configuration-cloud-dynamodb</artifactId>
     <version>${cas.version}</version>
</dependency>

and added the following lines to src/main/resources/bootstrap.properties
cas.spring.cloud.dynamodb.credentialAccessKey= <my key here>
cas.spring.cloud.dynamodb.credentialSecretKey= <secret key here>

running ./build run, it builds and starts, but never talks to dynamodb

If I add the line
cas.spring.cloud.dynamodb.endpoint=http://localhost:8000

2018-05-18 16:39:59,103 WARN [org.springframework.boot.SpringApplication] - <Error handling failed (ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@47428937: startup date [Thu Jan 01 00:00:00 UTC 1970]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@1de5f259)>

I've been pouring over this documentation https://apereo.github.io/cas/5.2.x/installation/Configuration-Server-Management.html for hours and am at a loss as to what I should do to make this work.
Reply all
Reply to author
Forward
0 new messages