US and Worldwide: +1 (866) 660-7555
Results 1 to 3 of 3

Thread: log4j:WARN No appenders could be found for logger (mondrian.olap.MondrianProperties).

  1. #1
    Join Date
    Sep 2011
    Posts
    2

    Default log4j:WARN No appenders could be found for logger (mondrian.olap.MondrianProperties).

    Hi, I am trying to install Mondrian in my Linux (Centos) server. While I want to Load the Foodmart Sample Data in mysql,I am getting two warning and data is not inserting.

    I am trying with this command:
    java -cp "/usr/share/tomcat/webapps/mondrian/WEB-INF/lib/mondrian.jar:/usr/share/tomcat/webapps/mondrian/WEB-INF/lib/log4j-1.2.8.jar:/usr/share/tomcat/webapps/mondrian/WEB-INF/lib/commons-logging-1.0.4.jar:/usr/share/tomcat/webapps/mondrian/WEB-INF/lib/commons-collections-3.1.jar:/usr/share/tomcat/webapps/mondrian/WEB-INF/lib/eigenbase-xom.jar:/usr/share/tomcat/webapps/mondrian/WEB-INF/lib/eigenbase-resgen.jar:/usr/share/tomcat/webapps/mondrian/WEB-INF/lib/eigenbase-properties.jar:/usr/share/tomcat/webapps/mondrian/WEB-INF/lib/mysql-connector-java-5.1.17-bin.jar" mondrian.test.loader.MondrianFoodMartLoader -verbose -tables -data -indexes - jdbcDrivers=com.mysql.jdbc.Driver -inputFile=/usr/share/mondrian/demo/FoodMartCreateData.sql -outputJdbcURL="jdbc:mysql://localhost/foodmart?user=foodmart&password=foodmart"



    I am getting this message:

    log4j:WARN No appenders could be found for logger (mondrian.olap.MondrianProperties).
    log4j:WARN Please initialize the log4j system properly.

    Can anyone tell me where I did mistake? Thanks in advance.
    Last edited by tuhin; 09-28-2011 at 02:05 AM.

  2. #2
    Join Date
    Sep 2011
    Posts
    2

    Default

    Hi, I am stuck up. Please help me.

  3. #3
    Join Date
    Jul 2013
    Posts
    27

    Default

    Quote Originally Posted by tuhin View Post
    Hi, I am stuck up. Please help me.
    if you are using Eclipse, put the log4j.properties file in your worksapce/project/bin/.
    else,
    export TOMCAT_OPTS="-Dlog4j.debug -Dlog4j.configuration=log4j.properties"
    if you want you can,
    Add 'console'/'warn'/'debug' A1 property to your log4j.rootLogger
    Last edited by LinuxBee; 08-14-2013 at 05:51 AM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •