Thank you very very much for the help. It working yippiiiiiiiiii :) Good night Cheers cosette
-----Ursprungligt meddelande----- Från: Curt Arnold [mailto:[EMAIL PROTECTED] Skickat: den 22 februari 2008 00:02 Till: Log4J Users List Ämne: Re: SV: log4j Guidelines On Feb 21, 2008, at 4:38 PM, Cosette Kamakian wrote: > The problem it is still their. Received the same error > If you are still getting this error: log4j:WARN Fatal parsing error 2 and column 6 log4j:WARN The processing instruction target matching "[xX][mM][lL]" is not allowed. log4j:ERROR Could not parse url [file:/D:/WS/Inca_Dev/Inca/AppROOT/WEB- INF/classes/log4j.xml]. org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed. Then the XML parser provided by the JDK is telling you very precisely that your file contains a "<?xml" in a position other than the very first byte of the file. There are also two missing end-tags in the document as seen in this diff: --- log4j.xml 2008-02-21 16:59:40.000000000 -0600 +++ log4j.fixed 2008-02-21 16:59:12.000000000 -0600 @@ -91,16 +91,17 @@ <appender-ref ref="framework_event"/> </category> <category name="FILE" additivity="false"> <level value="DEBUG"/> -<appender-ref ref="framework_event"/> +<appender-ref ref="framework_event"/> +</category> <category name="CONSOLE" additivity="false"> <level value="DEBUG"/> <appender-ref ref="framework_event"/> - +</category> <!-- Setup the Root category --> <root> <level value="debug"/> <appender-ref ref="ASYNC"/> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
