Guess: start using file: in front of the path and try to avoid using back slashes. They have cost humanity many lives.
--Misagh
--
- 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 cas-user+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/630d656c-26ed-4398-8e24-fd4ca16ac653%40apereo.org.
set LOGGING_CONFIG=blah-blah
logging.config=classpath:log4j2.xml
--spring.cloud.config.server.native.searchLocations=whatever_you_wish
##
# CAS Spring Cloud Config Client
#
# Name of the application for which environment settings and properties should be fetched.
# This should map to a cas.yml or cas.properties file.
spring.application.name=cas
spring.cloud.config.fail-fast=true
##
# CAS Embedded Cloud Config Server
#
# Native profile in the Config Server that doesn't use Git, but just loads the
# config files from the local classpath or file system.
#
spring.profiles.active=native
spring.cloud.config.server.native.searchLocations=D:\\cas-overlay-template-master\\etc\\cas\\config
# D:\\cas-overlay-template-master\\etc\\cas\\config
# spring.profiles.active=default
# spring.cloud.config.server.git.uri=https://github.com/repoName/config
# spring.cloud.config.server.git.uri=file://${user.home}/config
# spring.cloud.config.server.git.username=
# spring.cloud.config.server.git.password=
spring.cloud.config.server.bootstrap=true
spring.cloud.config.server.prefix=/configserver
spring.jmx.default-domain=server
spring.cloud.config.server.native.searchLocations=file:///D:/your_path
When I deploy the instance on a TC server instance on our production servers above mentioned issue emerges
...
spring.cloud.config.server.native.searchLocations=file:///var/tcserver/current/
...
/var/tcserver/current/cas.properties
...
#uncomment either this:
#logging.config=classpath:/log4j2.xml
#or this:
logging.config=file:///var/tcserver/current/log4j2.xml
...
- your_overlay_project_dir/cas/src/main/resources/bootstrap.properties