Hi Andy,

Sorry, now i have corrected
'cas.spring.cloud.dynamoDb.preventTableCreationOnStartup'

cas.server.name: https://test.<domain>
cas.server.prefix: https://test.<domain>/cas


logging.config: file:/etc/cas/config/log4j2.xml

cas.authn.accept.users=casuser::Mellon

cas.spring.cloud.dynamodb.credentialAccessKey=xxxxxx
cas.spring.cloud.dynamodb.credentialSecretKey=xxxxxxx
cas.spring.cloud.dynamodb.endpoint=http://localhost:8000
cas.spring.cloud.dynamodb.region=US_EAST_1

cas.spring.cloud.dynamoDb.preventTableCreationOnStartup=false

cas.spring.cloud.dynamoDb.readCapacity=10
cas.spring.cloud.dynamoDb.writeCapacity=10
cas.spring.cloud.dynamoDb.connectionTimeout=5000
cas.spring.cloud.dynamoDb.requestTimeout=5000
cas.spring.cloud.dynamoDb.socketTimeout=5000
cas.spring.cloud.dynamoDb.useGzip=false
cas.spring.cloud.dynamoDb.useReaper=false
cas.spring.cloud.dynamoDb.useThrottleRetries=false
cas.spring.cloud.dynamoDb.useTcpKeepAlive=false
cas.spring.cloud.dynamoDb.protocol=HTTPS
cas.spring.cloud.dynamoDb.clientExecutionTimeout=10000
cas.spring.cloud.dynamoDb.cacheResponseMetadata=false
cas.spring.cloud.dynamoDb.maxConnections=10


2019-11-18 06:49:39,100 INFO
[org.apereo.cas.configuration.DefaultCasConfigurationPropertiesSourceLocator]
- <Configuration files found at [/etc/cas/config] are
[[/etc/cas/config/cas.properties]] under profile(s) [[standalone]]>
2019-11-18 06:49:39,174 INFO
[org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration]
- <Located property source: CompositePropertySource
[name='casCompositePropertySource',
propertySources=[PropertiesPropertySource
{name='applicationProfilesProperties'}, PropertiesPropertySource
{name='embeddedYamlOverriddenProperties'}]]>
2019-11-18 06:49:40,610 ERROR
[org.apereo.cas.config.DynamoDbCloudConfigBootstrapConfiguration] - <null>
java.lang.NullPointerException: null
        at
org.apereo.cas.config.DynamoDbCloudConfigBootstrapConfiguration.locate(DynamoDbCloudConfigBootstrapConfiguration.java:68)
~[cas-server-support-configuration-cloud-dynamodb-5.3.10.jar!/:5.3.10]
        at
org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration.initialize(PropertySourceBootstrapConfiguration.java:93)
~[spring-cloud-context-1.3.0.RELEASE.jar!/:1.3.0.RELEASE]
        at
org.springframework.boot.SpringApplication.applyInitializers(SpringApplication.java:567)
~[spring-boot-1.5.18.RELEASE.jar!/:1.5.18.RELEASE]
        at
org.springframework.boot.SpringApplication.prepareContext(SpringApplication.java:338)
~[spring-boot-1.5.18.RELEASE.jar!/:1.5.18.RELEASE]
        at
org.springframework.boot.SpringApplication.run(SpringApplication.java:301)
~[spring-boot-1.5.18.RELEASE.jar!/:1.5.18.RELEASE]
        at
org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:134)
~[spring-boot-1.5.18.RELEASE.jar!/:1.5.18.RELEASE]
        at
org.apereo.cas.web.CasWebApplication.main(CasWebApplication.java:71)
~[cas-server-webapp-init-5.3.10.jar!/:5.3.10]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[?:1.8.0_131]
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
~[?:1.8.0_131]
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[?:1.8.0_131]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_131]
        at
org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
~[cas.war:5.3.10]
        at
org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
~[cas.war:5.3.10]
        at
org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
~[cas.war:5.3.10]
        at
org.springframework.boot.loader.WarLauncher.main(WarLauncher.java:59)
~[cas.war:5.3.10]
2019-11-18 06:49:40,615 INFO
[org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration]
- <Located property source: PropertiesPropertySource
{name='DynamoDbCloudConfigBootstrapConfiguration$$EnhancerBySpringCGLIB$$d6f1e7c3'}>
2019-11-18 06:49:40,758 INFO [org.apereo.cas.web.CasWebApplication] - <The
following profiles are active: standalone>
2019-11-18 06:49:40,871 INFO [org.apereo.cas.web.CasWebApplicationContext]
- <Refreshing CasWebApplicationContext()>
2019-11-18 06:49:40,881 DEBUG [org.apereo.cas.web.CasWebApplicationContext]
- <Bean factory for org.apereo.cas.web.CasWebApplicationContext@f5958c9:
org.springframework.beans.factory.support.DefaultListableBeanFactory@55b53d44:
defining beans
[org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframework.context.event.internalEventListenerProcessor,org.springframework.context.event.internalEventListenerFactory,casWebApplication];
parent:
org.springframework.beans.factory.support.DefaultListableBeanFactory@78ac1102
>
2019-11-18 06:49:42,359 DEBUG [com.amazonaws.http.IdleConnectionReaper] -
<Reaper thread: >
java.lang.InterruptedException: sleep interrupted
        at java.lang.Thread.sleep(Native Method) [?:1.8.0_131]
        at
com.amazonaws.http.IdleConnectionReaper.run(IdleConnectionReaper.java:181)
~[aws-java-sdk-core-1.11.332.jar!/:?]
2019-11-18 06:49:42,359 DEBUG [com.amazonaws.http.IdleConnectionReaper] -
<Shutting down reaper thread.>
2019-11-18 06:49:48,850 WARN [org.apereo.cas.web.CasWebApplicationContext]
- <Exception encountered during context initialization - cancelling refresh
attempt:
*org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'casBeanValidationPostProcessor' defined in class path
resource [org/apereo/cas/config/CasCoreUtilConfiguration.class]:
BeanPostProcessor before instantiation of bean failed; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name
'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration':
Unsatisfied dependency expressed through method 'setConfigurers' parameter
0; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'casCoreTicketsConfiguration': Unsatisfied
dependency expressed through field 'casProperties'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name
'cas-org.apereo.cas.configuration.CasConfigurationProperties': Could not
bind properties to CasConfigurationProperties (prefix=cas,
ignoreInvalidFields=false, ignoreUnknownFields=false,
ignoreNestedProperties=false); nested exception is
org.springframework.beans.NotWritablePropertyException: Invalid property
'spring[cloud][dynamoDb][protocol]' of bean class
[org.apereo.cas.configuration.CasConfigurationProperties]: Cannot access
indexed value in property referenced in indexed property path
'spring[cloud][dynamoDb][protocol]'; nested exception is
org.springframework.beans.NotReadablePropertyException: Invalid property
'spring[cloud][dynamoDb][protocol]' of bean class
[org.apereo.cas.configuration.CasConfigurationProperties]: Bean property
'spring[cloud][dynamoDb][protocol]' is not readable or has an invalid
getter method: Does the return type of the getter match the parameter type
of the setter?>*
Regards,
Raheem Shaik

On Mon, Nov 18, 2019 at 12:15 PM Andy Ng <[email protected]> wrote:

> Hi Raheem,
>
> Something seems weird about this line:
>
> * Invalid property
> 'spring[cloud][dynamoDb][dynamoDb][preventTableCreationOnStartup]' *
>
> I think there should be only one [dynamoDB], and not two.
>
> Can you show us your newly updated cas.properties? See it is configured
> correctly.
>
> - Andy
>
> --
> - 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/41d1e40c-936e-419e-aa28-0cd71a61a6e2%40apereo.org
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/41d1e40c-936e-419e-aa28-0cd71a61a6e2%40apereo.org?utm_medium=email&utm_source=footer>
> .
>

-- 


********************************************



 

*Inmar Confidentiality 
Note*:  This e-mail and any attachments are confidential and intended to be 
viewed and used solely by the intended recipient.  If you are not the 
intended recipient, be aware that any disclosure, dissemination, 
distribution, copying or use of this e-mail or any attachment is 
prohibited.  If you received this e-mail in error, please notify us 
immediately by returning it to the sender and delete this copy and all 
attachments from your system and destroy any printed copies.  Thank you for 
your cooperation.



 

*Notice of Protected Rights*:  The removal of any 
copyright, trademark, or proprietary legend contained in this e-mail or any 
attachment is prohibited without the express, written permission of Inmar, 
Inc.  Furthermore, the intended recipient must maintain all copyright 
notices, trademarks, and proprietary legends within this e-mail and any 
attachments in their original form and location if the e-mail or any 
attachments are reproduced, printed or distributed.

 


********************************************

-- 
- 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/CAD_gEK6nZH8EkjauUP9pHf88v-E7KoOODXEXYRLo2Bsi%3DwL%2B4g%40mail.gmail.com.

Reply via email to