[Building Sakai] Problem Bringing up a Sakai 2.9.1
Charles Severance
csev at umich.edu
Thu Apr 4 05:06:54 PDT 2013
I am trying to bring up a fresh Sakai 2.9.1 and getting the following error:
INFO: Deploying web application archive accountvalidator.war
log4j:ERROR A "org.apache.log4j.ConsoleAppender" object is not assignable to a "org.apache.log4j.Appender" variable.
log4j:ERROR The class "org.apache.log4j.Appender" was loaded by
log4j:ERROR [org.apache.catalina.loader.StandardClassLoader at 584fce71] whereas object of type
log4j:ERROR "org.apache.log4j.ConsoleAppender" was loaded by [WebappClassLoader^M
context: /accountvalidator^M
delegate: false^M
repositories:^M
/WEB-INF/classes/^M
----------> Parent Classloader:^M
org.apache.catalina.loader.StandardClassLoader at 10f102d3^M
].
log4j:ERROR Could not instantiate appender named "Sakai".
log4j:WARN No appenders could be found for logger (org.sakaiproject.util.ComponentsLoader).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Could not resolve placeholder 'sakai.security' in [file:${sakai.security}security.properties] as system property: neither system property nor environment variable found
EntityProviderManagerImpl init
INFO Registered entity provider (org.sakaiproject.entitybroker.impl.entityprovider.EntityProviderManagerImpl$1) prefix (describe) with 1 capabilities
A quick ski of StackOverflow came up with this:
http://stackoverflow.com/questions/1359708/problem-using-log4j-with-axis2
So I did this:
~/sakai-2.9.1/apache-tomcat-7.0.21$ find . -name '*log4j*jar'
./webapps/mailsender-tool/WEB-INF/lib/log4j-1.2.14.jar
./webapps/profile2-tool/WEB-INF/lib/slf4j-log4j12-1.4.2.jar
./webapps/sitestats-tool/WEB-INF/lib/slf4j-log4j12-1.4.3.jar
./webapps/accountvalidator/WEB-INF/lib/log4j-1.2.14.jar
./shared/lib/slf4j-log4j12-1.4.2.jar
./components/sitestats-components/WEB-INF/lib/slf4j-log4j12-1.4.3.jar
./common/lib/log4j-1.2.16.jar
Any suggestions? I can go in and tart whacking jars - but this was a fresh checkout and compile of 2.9.1-all - so it might be something we need to fix.
Sakai seems to run fine.
Thanks in advance.
/Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130404/db589362/attachment.html
More information about the sakai-dev
mailing list