0 Replies Latest reply on Oct 23, 2002 4:32 AM by eprag

    can not find log4j.properties file

    eprag

      Hello,
      I have a basic beginner's problem.JBOSS 3.0.2 with Jetty.
      In servlet I'am trying to:
      PropertyConfigurator.configure("log4j.properties");
      and have error.
      This file is situated in ear/war/WEB-INF/classes where all my classes are.I tried to put file in others locations but with the same result.
      09:24:31,258 ERROR [STDERR] log4j:ERROR Could not read configuration file [log4j
      .properties].
      09:24:31,258 ERROR [STDERR] java.io.FileNotFoundException: log4j.properties (The
      system cannot find the file specified)...............
      Here is the output.Can anyone teach me how to locate log4j property file on JBOSS ?
      Thanks