how to change cas.properties location

50 views
Skip to first unread message

Cristina Vlaicu

unread,
Dec 8, 2017, 7:44:44 AM12/8/17
to CAS Community
Hello,

I read in the documentation that for changing cas.properties location I have to change the value of cas.standalone.config property, but I did not understood where this property should be configured ? Should it be configured in file application.properties ? Another question is if for this settings, should I add another dependency in pom.xml file of cas-overlay project?

Thank you,

Cristina

Cristina Vlaicu

unread,
Dec 8, 2017, 8:34:56 AM12/8/17
to CAS Community
Hello,

I found out my response here : https://apereo.github.io/cas/5.2.x/installation/Configuration-Management.html#overview

I added in tomcat in JAVA_OPTS variable the system property -Dcas.standalone.config=/my/config/folder/location

Thank you,
Cristina

Jay

unread,
May 8, 2018, 12:28:07 AM5/8/18
to CAS Community
Hi Cristina,

I tried to define the property in JAVA_OPTS, but still it could not pick up the cas.properties file from the location.

I see the below from the catalina.out log file.
May 07, 2018 11:15:14 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcas.standalone.config={{config_dir}}/etc/cas/config

Any help would be really appreciated.

Thanks,
Jay
Reply all
Reply to author
Forward
0 new messages