Cocoon 2.1.8 is looking for log4j.dtd in the webapp directory instead of the log4j jar file.