-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Final note, I was able to get this working. I just happened to have the
syntax wrong on my original attempt, as well as missing the extra
comment in cas-servlet.xml.

I now have everything working as I wanted. I am keeping the
cas.properties in side the war, and the host-specific information
outside the war -- so it is not updating when we redeploy. I am very
pleased with how this is working now.

Jeff Chapin


Marvin Addison wrote:
>> I moved some properties from cas.properties and placed them in a
>> file at $CAS_HOME/host.properties, and redeployed.
> 
> If you removed properties from cas.properties, don't forget that you
> may also need to update cas-servlet.xml which makes reference to the
> cas.properties file.  Following is the contents of our
> spring-configuration/propertyFileConfigurer.xml file in case that
> helps:
> 
>   <bean id="propertyPlaceholderConfigurer"
>     
> class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
>     <property name="locations">
>       <list>
>         <value>file://${cas.home}/cas.properties</value>
>         <value>file://${cas.home}/vt-env.properties</value>
>       </list>
>     </property>
>   </bean>
> 
> We have a similar customization in cas-servlet.xml to pick up
> cas.properties from the filesystem:
> 
>   <bean id="casPropertyPlaceholderConfigurer2"
>     
> class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"
>     p:location="file://${cas.home}/cas.properties" />
> 
> M
> 


- --
Jeff Chapin,
Assistant Systems/Applications Administrator
ITS-IS, University of Northern Iowa
Phone: 319-273-3162 Email: jeff.cha...@uni.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkt11QkACgkQQiaEUfQoY7Tj8gCfSEhYUnwjvvhcqbp7DYOwisc/
6L8AnjWpYItHVsM5w4X4OkdJnb19Pu6k
=+9Kb
-----END PGP SIGNATURE-----

-- 
You are currently subscribed to cas-user@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to