Interesting. That was one configuration I hadn't thought of. Thanks! I'll give it a shot.
Geoff From: Danner, Mearl [mailto:[email protected]] Sent: Monday, February 09, 2015 5:21 PM To: [email protected] Subject: RE:[cas-user] Externalize ehcache-replicated.xml properties? Using this in propertyFileConfigurer.xml I was able to successfully move configuration files to /etc/cas: <bean id="propertyPlaceholderConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer" p:location="file:/etc/cas/cas.properties" /> This from cas.properties ehcache.config.file=/etc/cas/ehcache.xml This allows the distribution of a generic cas war with comfiguration in /etc/cas From: Whittaker, Geoffrey [mailto:[email protected]] Sent: Monday, February 09, 2015 2:22 PM To: [email protected]<mailto:[email protected]> Subject: [cas-user] Externalize ehcache-replicated.xml properties? My ehcache-replicated.xml file is currently sitting in the classes folder of my CAS deployment. I'd like to externalize the properties (the ports, primarily) so that I can make one WAR file and drop it in place on servers of various tiers (dev, test, prod). I've tried referencing an external location in thepropertyFileConfigurer.xml file, but that didn't work. I've also tried inserting property placeholders in the ehcache-replicated.xml file and putting the values in cas.properties. That didn't work either. I'm sure this is incredibly simple, but I'm missing it. How do you do this? Geoff -- You are currently subscribed to [email protected]<mailto:[email protected]> as: [email protected]<mailto:[email protected]> To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to [email protected]<mailto:[email protected]> as: [email protected]<mailto:[email protected]> To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
