Replaced commons-logging with log4j and added log4j.properties to
classpath.