Hi Bob,

Workaround with modification of 
CasServiceRegistryInitializationConfiguration.java works fine, thank you.
Is it possible to fix this issue via adding some additional dependency 
to build.gradle?

On Thursday, April 2, 2020 at 6:35:51 PM UTC+3, Bob wrote:
>
> Hi Maksim,
>
> I had a similar issue with CAS 6.1.x.
> The workaround from Michele worked for me. Please have a look at it:  
> https://groups.google.com/a/apereo.org/d/msg/cas-user/UZRwiZdgBAA/QixAg4q1AAAJ
> Hope this helps.
> Regards,
>
> Bob
>
>
> On Thursday, April 2, 2020 at 3:58:09 PM UTC+2, Maksim Kopeyka wrote:
>>
>> Hi Guys,
>>
>> I used CAS 6.0.3 with jpa service registry and I have seen records in 
>> database according to content of json files from /etc/cas/services.
>> After migration to CAS 6.1.3 I don't see any records in DB. 
>> I tried 
>> cas.serviceRegistry.jpa.ddlAuto=create-drop
>> and 
>> cas.serviceRegistry.jpa.ddlAuto=update
>>
>> .I deleted tables from DB and CAS recreated it during startup but tables 
>> still empty. Seems to me it's a bug.
>>
>> This is my properties
>> cas.serviceRegistry.json.location=file:/etc/cas/services
>> cas.serviceRegistry.initFromJson=true
>> cas.serviceRegistry.jpa.url=jdbc:mysql:
>> //${MYSQL_DATABASE_URL}:${MYSQL_DATABASE_PORT}/${MYSQL_DATABASE_NAME}
>> cas.serviceRegistry.jpa.dialect=org.hibernate.dialect.MySQL8Dialect
>> cas.serviceRegistry.jpa.user=${MYSQL_USER}
>> cas.serviceRegistry.jpa.password=${MYSQL_PASSWORD}
>> cas.serviceRegistry.jpa.ddlAuto=update
>> cas.serviceRegistry.jpa.driverClass=com.mysql.jdbc.Driver
>>
>>

-- 
- 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/fb47cf10-057a-4301-9f5b-77b937ea69f9%40apereo.org.

Reply via email to