that was it!!
i changed spring.application.name without realizing it has an impact on
property loading.
Thx so much.
Yan
On Friday, September 7, 2018 at 1:24:18 PM UTC-4, rbon wrote:
>
> Yan,
>
> Have you changed spring.application.name (should be cas by default)? See
> https://apereo.github.
Yan,
Have you changed spring.application.name (should be cas by default)? See
https://apereo.github.io/cas/5.3.x/installation/Configuration-Server-Management.html#standalone
In default 5.3, I do not see application.yml. Do you need it? Does
cas.properties load if you delete application.yml?
Ray
Thanks for the suggestion, I figured out something that is strange to me.
I am building cas.war and deploy to tomcat8.
I have externalized a directory containing three configuration files:
application.yml, log4j2.xml and cas.properties.
if I put this following in cas.properties, it does not
Hmm, is your customized cas.properties even getting loaded?
Worth checking is where you are running cas from. If you are developing say
on D: drive it might be looking for the cas.properties in
D:\etc\cas\config.
To debug, I recommend upping the log level to debug in your log4j2.xml for
the core
Yes, I do have the dependency.
I also removed cas.serviceRegistry.initFromJson from cas.properties, so
that it default to false.
I am still not loading any service definition. How can I debug this in CAS?
Yan
On Thursday, September 6, 2018 at 2:19:51 PM UTC-4, David Curry wrote:
>
> Do
Do you have this in pom.xml:
org.apereo.cas
cas-server-support-json-service-registry
${cas.version}
(you should)?
--
DAVID A. CURRY, CISSP
*DIRECTOR OF INFORMATION SECURITY*
INFORMATION TECHNOLOGY
71 FIFTH AVE., 9TH FL., NEW YORK, NY 10003
+1 212 229-5300 x472
Hello,
This is my external cas.properties,
## windows
cas.serviceRegistry.json.location=file:///C:/mydir/cas/services
cas.serviceRegistry.initFromJson=true
Here is my QuestLocal-1001.json under c:/mydir/cas/services, But I am
not loading any service definition. See below for logs.