file:// is missing in the path. Log file are created but tomcat could not write in. I receive permission denied.
De : Yannick MOLINET [mailto:[email protected]] Envoyé : mercredi 11 février 2015 20:27 À : [email protected] Objet : [cas-user] CAS 4.1 - Maven Overlay HI all, I'm trying to install CAS 4.1-SNAPSHOT following the maven overlay installation. I use a fresh overlay installation using this project : https://github.com/leleuj/cas-overlay-demo But when I deploy it on tomcat, I received error about creating log files, so I trying to move WEB-INF/cas.properties and WEB-INF/classes/log4j.xml in /etc/cas an set log to /var/lib/tomcat7/logs (as done in 4.0.1 with any problems). Even with this configuration (propertyFileConfigurer.xml in attachement) I always received error during tomcat startup about log file creation. Error message don't give any information about where it try to create the log file. In addition, I have exclude cas.properties and log4j.xml from pom.xml as <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <version>2.6</version> <configuration> <warName>cas</warName> <overlays> <overlay> <groupId>org.jasig.cas</groupId> <artifactId>cas-server-webapp</artifactId> <excludes> <exclude>WEB-INF/cas.properties</exclude> <exclude>WEB-INF/classes/log4j.xml</exclude> </excludes> </overlay> </overlays> </configuration> </plugin> But after mvn clean package, cas.properties is not present in WEB-INF but log4j.xml is present in WEB-INF/classes/log4j.xml If I manually remove this file, cas don't start So I understand that my propertyFileConfigurer.xml is not working... Could you help me to fix this issue ? Thanks, 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
