Seems not working.

My log4j.xml for management is not used. When I launch tomcat I received an 
error about creating the log file (no path mentionned), but if it was the path 
mentionned in my log4j.xml, this could not be occur because tomcat have access 
to this folder (cas.log is correctly write inside).

Yannick


-----Message d'origine-----
De : mepst...@gwork254.lis.illinois.edu 
[mailto:mepst...@gwork254.lis.illinois.edu] De la part de Milt Epstein
Envoyé : lundi 19 janvier 2015 16:04
À : cas-user@lists.jasig.org
Objet : RE:[cas-user] CAS Management files

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) mepst...@illinois.edu


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:yannick.moli...@dixinfor.com]
> Envoyé : samedi 17 janvier 2015 11:44
> À : cas-user@lists.jasig.org
> 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 
> cas-user@lists.jasig.org<mailto:cas-user@lists.jasig.org> as: 
> yannick.moli...@dixinfor.com<mailto:yannick.moli...@dixinfor.com>
> 
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-user
> 
> --
> You are currently subscribed to cas-user@lists.jasig.org as: 
> mepst...@illinois.edu To unsubscribe, change settings or access 
> archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
--
You are currently subscribed to cas-user@lists.jasig.org as: 
yannick.moli...@dixinfor.com To unsubscribe, change settings or access 
archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user

-- 
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