Ok, did not find a solution, but a weird workaround.  I removed the comments
at the very top of the file, and for some reason that caused it to be
parsed.  Strange.


----- Original Message ----- 
From: "Collin VanDyck" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 10, 2004 6:11 PM
Subject: Cocoon2.0 + JBoss3.2 + log4j == ARGH


> Hey!
>
> I have a strong desire to turn off all JBoss debug logging using my
> log4j.xml file, but there's a problem.  Having the three .jars
> (xalan-2.3.1.jar, xml-apis.jar, xercesImpl.jar) in my jre/lib/endorsed
> directory, are required by Cocoon, is preventing JBoss from parsing the
> log4j.xml file.
>
> I get errors like this:
>
> 18:08:15,998 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL:
> resource:log4j.xml
> log4j:ERROR Could not parse input source
[EMAIL PROTECTED]
> java.lang.NullPointerException
>         at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:257)
>         at
>
org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:20
> 9)
>         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.xml.DOMConfigurator.configure(DOMConfigurator.java:697)
>         at
>
org.jboss.logging.Log4jService$URLWatchTimerTask.reconfigure(Log4jService.ja
> va:624)
> ..............
>
> I have tried (unsuccessfully) to move the three .jars to a different
> location without adversely affecting Cocoon in runtime.  If those jars are
> not in my endorsed directory, Cocoon cannot successfully parse any sitemap
> files.
>
> I'd _really_ like to be able to get around this problem -- I'm hoping that
> others have had this experience and have overcome.
>
> At this point, moving to Cocoon2.1 is not an option, unfortunately.
>
> thanks very much!
> Collin
>
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to