Start your container with a defined system/environment variable that is: “cas.properties.config.location=/etc/cas/cas.properties”, etc.
--
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 post to this group, send email to cas-...@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/1a541ff8-9ddd-4e2f-b570-e5fdb6db0b88%40apereo.org.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.
You don't modify that file at all.
--
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 post to this group, send email to cas-...@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/aa6cf5ed-a95a-453a-a019-890e639b53c0%40apereo.org.
--
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 post to this group, send email to cas-...@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/64514702-97e7-40f1-95c4-f030b546420a%40apereo.org.
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:p="http://www.springframework.org/schema/p"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd">
<description>
This file lets CAS know where you've stored the cas.properties file which details some of the configuration options
that are specific to your environment. You can specify the location of the file here. You may wish to place the file outside
of the Servlet context if you have options that are specific to a tier (i.e. test vs. production) so that the WAR file
can be moved between tiers without modification.
WM NOTE:
Locations are defined at runtime by Tomcat, look for the setenv.sh file, or,
add this after the JAVA_OPTS= line in /etc/default/tomcat7, for example:
JAVA_OPTS="${JAVA_OPTS} -DCASCONFIGDIR=/etc/tomcat7"
</description>
<bean id="propertyPlaceholderConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="locations">
<list>
<value>${CASCONFIGDIR}/cas.properties</value>
<value>${CASCONFIGDIR}/wm.properties</value>
</list>
</property>
</bean>
</beans>To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/0af20d69-5175-4dca-25ee-2cb716b1456c%40uvic.ca.