2 Replies Latest reply on Dec 29, 2011 4:16 AM by pushpak1981

    Jboss7 log4j

    pushpak1981

      Hi

       

      My application reads custom log4j.xml file and loads using log4j DOMConfigurator but during calling

       

      DOMConfigurator.configure(docElement);

       

      it throws following exception.

       

      java.lang.NoClassDefFoundError: org/w3c/dom/Node

       

      There are no modules present for org/w3c/dom/Node in Jboss modules folder.

       

      I have configured my application deployment to use JBoss7 log4j.

       

      <module name="org.apache.log4j" export="true"/>

       

      I copied xerces.jar into my ear/lib folder but still no luck.

       

      Is there anything i missing from my side.