Nathan, You can pass path locations as environment variables to the container or java:
-Dcas.standalone.configurationDirectory=/home/uvtomcat/casconfigserver_config/config -Dspring.config.import=optional:file:///home/uvtomcat/casconfigserver_config/config/management.properties The first line is what we used in our previous version of cas management, the second line is the one I added for version 6.5 (not sure why spring no longer finds the file in the directory). Other paths can go in management.properties. Ray On Thu, 2022-07-28 at 01:39 -0700, Nathan Lewan wrote: Notice: This message was sent from outside the University of Victoria email system. Please be cautious with links and sensitive information. hello! So i'm coming off a successful deployment of 6.1 of cas and cas-management, and trying similar deployment practices with the 6.5 branches. I've run into some things I wanted to mention to see if i'm just doing it wrong. I can't leave well enough alone and like to have the cas.properties, and management.properties files in custom locations, along with services, and users.json, etc. I've had great success with using the SPRING_APPLICATION_JSON environment variable to define cas.standalone.configurationDirectory, which tells cas and cas-management where to look for certain config files. CAS 6.5.5 is working beautifully with this, but CAS-Management 6.5.5 is choking. Despite the catalina.out log stating that both cas and cas-management have found the cas.properties and management.properties files, cas-management appears to not read the contents. Settings like the JSON service Registry folder location will not take if I just define them in the management.properties file. CAS picks up on the location defined in its cas.properties file, but not CAS-Management. I have just had luck defining it's location in the SPRING_APPLICATION_JSON environment variable using the same property as is written in the management.properties file. That got that part working, but then cas-management started to say it was looking in /etc/cas for things again, and failing. Anyone have any similar experiences? thanks! -- Ray Bon Programmer Analyst Development Services, University Systems 2507218831 | CLE 019 | r...@uvic.ca<mailto:r...@uvic.ca> I acknowledge and respect the lək̓ʷəŋən peoples on whose traditional territory the university stands, and the Songhees, Esquimalt and WSÁNEĆ peoples whose historical relationships with the land continue to this day. -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- 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+unsubscr...@apereo.org. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/6ecd11be2b70ff018ca06422e0ac3fe473999705.camel%40uvic.ca.