0 Replies Latest reply on Apr 9, 2003 10:39 AM by Lecan

    Log4jService and sar file and path to log4j.xml

    Lecan Newbie


      I would like to have a Log4jService in my application (EAR) and for that I created a SAR file with the description of the Log4jService.

      A jboss-service.xml that contains the configuration is located in META-INF directory in my SAR file, but where to store the log4j.xml file ?
      Also in META-INF ? And what to put as an URL ?
      Sure, "resource:log4j.xml" is read in {jboss.server.home.dir}/conf, but what to write in when the file is in a SAR file, which is in an EAR (may be using JarURLConnection syntax ?)

      Thanks for your help