When I added a second properties file, I needed to add the
ignore-unresolvable attribute to the context tag, a la:

        <context:property-placeholder location="file:/etc/cas/cas.properties" 
ignore-unresolvable="true" order="1" />

        <context:property-placeholder location="file:/etc/cas/ldap.properties" 
ignore-unresolvable="true" order="2" />

Maybe you need to do that as well.

Milt Epstein
Applications Developer
Graduate School of Library and Information Science (GSLIS)
University of Illinois at Urbana-Champaign (UIUC)
[email protected]


On Mon, 19 Jan 2015, Yannick MOLINET wrote:

> I have :
> 
> 1.       Add <context:property-placeholder 
> location="file:/etc/cas/cas-management.properties"/> in 
> propertyFileConfigurer.xml
>                 so this file is like :
>                                <context:property-placeholder 
> location="file:/etc/cas/cas.properties"/>
>                                 <context:property-placeholder 
> location="file:/etc/cas/cas-management.properties"/>
> 
> 
> 2.       Adjust my params, in cas-management.properties
> log4j.config.location=/etc/cas/cas-management-log4j.xml (not simple log4j.xml 
> to avoid conflict with cas version)
> log4j.refresh.interval=60000
> 
> 
> 3.       Adjust cas-management-log4j.xml
> <param name="File" value="/var/lib/tomcat7/logs/cas-management.log" />
> 
> But, when I do a ? mvn clean package ?, I'm receiving no error or warning and 
>  I found another version of cas-management.properties in WEB-INF, and a 
> log4j.xml in classes.
> 
> Thanks for help,
> 
> Yannick
> 
> 
> De : Yannick MOLINET [mailto:[email protected]]
> Envoy? : samedi 17 janvier 2015 11:44
> ? : [email protected]
> Objet : [cas-user] CAS Management files
> 
> Hi all,
> 
> I'm using Maven Overlay to install CAS with Management webapp.
> I have added the dependency in pom.xml but I'm searching how I can move 
> cas-management.properies in /etc/cas (same as cas.properties) and also change 
> the log fil (cas-management.log) to a different path (as I do in log4j.xml 
> for cas).
> 
> Thanks for help,
> Yannick
> 
> 
> 
> --
> 
> 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
-- 
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

Reply via email to