log4j:ERROR Parsing error on line 33 and column 3 log4j:ERROR The markup in the document following the root element must be well-formed. log4j:ERROR Could not parse input source [org.xml.sax.InputSource@76cbf7]. org.xml.sax.SAXParseException: The markup in the document following the root element must be well-formed. at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source) at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:665) at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:616) at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:602) at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:460) at org.apache.log4j.LogManager.<clinit>(LogManager.java:113) at org.apache.log4j.Logger.getLogger(Logger.java:94) at LogClass.<clinit>(LogClass.java:4) log4j:WARN No appenders could be found for logger (LogClass). log4j:WARN Please initialize the log4j system properly.
at a first glance : </log4j:configuration> appears twice in the given xml. Btw, these kind of things can be easily detected by the free tools available on the web.