You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by ab...@sistinf.it on 2001/12/13 12:10:50 UTC

Problems using XML configuration examples

I'm using log4j  to get a logger with a XML-example to work.
This is the exception I have:

log4j:ERROR Could not find [log4j.dtd]. Used
[sun.misc.Launcher$AppClassLoader@3486] class loader in the search.
log4j:ERROR Could not parse input stream [java.io.FileInputStream@1158].
Can't find resource for base name com.sun.xml.parser.resources.Messages,
locale en
     java.lang.Throwable()
     java.lang.Exception()
     org.xml.sax.SAXException(java.lang.String, java.lang.Exception)
     org.xml.sax.SAXParseException(java.lang.String, java.lang.String,
java.lang.String, int, int, java.lang.Exception)
     void com.sun.xml.parser.Parser.parseInternal(org.xml.sax.InputSource)
     void com.sun.xml.parser.Parser.parse(org.xml.sax.InputSource)
     org.w3c.dom.Document
com.sun.xml.parser.DocumentBuilderImpl.parse(org.xml.sax.InputSource)
     void
org.apache.log4j.xml.DOMConfigurator.doConfigure(java.io.InputStream,
org.apache.log4j.Hierarchy)
     void
org.apache.log4j.xml.DOMConfigurator.doConfigure(java.lang.String,
org.apache.log4j.Hierarchy)
     void org.apache.log4j.xml.DOMConfigurator.configure(java.lang.String)
     void it.sistinf.lab.candido.Log4JSample4.main(java.lang.String [])

Thanks in advance for help me.
A. Candido



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>