CAS does not pick up changes made to service definitions made by the Management application

14 views
Skip to first unread message

Maxwell, Gary

unread,
Aug 7, 2019, 1:27:16 PM8/7/19
to cas-...@apereo.org

Hi all,

 

We are experiencing a problem where we make changes to the service definitions within the CAS Management application however

CAS does not see the changes until CAS is  restarted. We are using JSON files to define the services and we can see that they are being changed.

The log shows that CAS loads the service definitions every 3 minutes. We are currently running CAS 5.3.9 and Cas Management 5.3.6.

 

The Following are  Properties for CAS and Management application :

 

cas.serviceRegistry.watcherEnabled=true

cas.serviceRegistry.schedule.repeatInterval=120000

cas.serviceRegistry.json.location=file:/opt/cas/services

cas.serviceRegistry.initFromJson=false

 

 

Any insight would be great!

 

Thanks Gary

 

 

 

Maxwell, Gary

unread,
Aug 7, 2019, 2:10:21 PM8/7/19
to cas-...@apereo.org

More information:

 

We ran CAS in Debug mode and instead of replacing the updated service, it appears CAS is adding a new service as follows:

 

[DEBUG] 2019-08-07 11:57:44,041 org.apereo.cas.services.AbstractServicesManager lambda$load$1 - Adding registered service [^https://www.yahoo.com.*]

[DEBUG] 2019-08-07 11:57:44,041 org.apereo.cas.services.AbstractServicesManager lambda$load$1 - Adding registered service [^https://www.yahoo2.com.*]

 

-Gary

Reply all
Reply to author
Forward
0 new messages