...
The build does not add log4j.dtd or log4j.properties so add manually: jar -xvf . You may wish to alter the logging settings of log4j.properties and log4j.xml. log4j.xml is already included in commandrunner.jar but you may have altered the logging options so update it too.
First extract the dtd file from the log4j.jar:
Code Block |
---|
jar \-xvf ../log4j.jar org/apache/log4j/xml/log4j.dtd |
...
inflated: org/apache/log4j/xml/log4j.dtd |
Now update/add the files to cmdrunner.jar:
Code Block |
---|
jar \-uvf cmdrunner.jar org log4j.properties |
...
log4j.xml adding: org/(in = 0) (out= 0)(stored 0%) |
...
adding: org/apache/(in = 0) (out= 0)(stored 0%) |
...
adding: org/apache/log4j/(in = 0) (out= 0)(stored 0%) |
...
adding: org/apache/log4j/xml/(in = 0) (out= 0)(stored 0%) |
...
adding: org/apache/log4j/xml/log4j.dtd(in = 4913) (out= 1489)(deflated 69%) |
To run:
Configure mondrian.properties to contain settings eg:
...