In CAS 4.2.7, This Issue is simple. I set :

##
# JSON Service Registry
#
# Directory location where JSON service files may be found.
tomcat.url=C:/Program Files/Apache Software Foundation/Tomcat 8.5/webapps
#service.registry.config.location=classpath:services
#service.registry.config.location=${tomcat.url}/cas-management/WEB-INF/classes/services
service.registry.config.location=${tomcat.url}/cas/WEB-INF/classes/services

=> Then CAS Server and CAS Management will share the same Folder Service in 
Machine.

But CAS 5.0.5 is error ?

Vào 00:31:51 UTC+7 Thứ Năm, ngày 01 tháng 6 năm 2017, Doan Moon đã viết:
>
> Hi all !
>
> I built successfully CAS Server 5.0.5 and CAS Management 5.0.5 in the same 
> Window Server ( Use Service Register is Json). In file 
> application.properties of CAS manamement, I 
> set cas.serviceRegistry.config.location is Absolute path to folder Services 
> of CAS Server 5.0.5
>
> ##
> # Resource-based (JSON/YAML) Service Registry
> #
> tomcat.url=C:/Program Files/Apache Software Foundation/Tomcat 
> 8.5/webapps/cas//WEB-INF/classes/services
> cas.serviceRegistry.config.location=${tomcat.url}
>
> And cas-management.log warning:
>
> 2017-06-01 00:08:54,966 WARN 
> [org.apereo.cas.config.JsonServiceRegistryConfiguration] - The location of 
> service definitions class path resource *[C:/Program Files/Apache 
> Software Foundation/Tomcat 8.5/webapps/cas//WEB-INF/classes/services*] is 
> on the classpath. It is recommended that the location of service 
> definitions be externalized to allow for easier modifications and better 
> sharing of the configuration.
>
> *How to share Services Register Json between CAS Server and CAS manament ?*
>
> *Help me !*
>
> *Thanks.*
>
>

-- 
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
--- 
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/865003de-9235-4f82-a07b-26ea55ca749e%40apereo.org.

Reply via email to