0 Replies Latest reply on Nov 14, 2002 11:10 PM by jacky lee

    can't find log4j.properties in jb 3.04

    jacky lee Newbie

      the system report can't find log4j.properties when deploying ear with the following error message:

      12:26:59,054 INFO [Engine] GeneralInit: Initializing the logging system...
      12:26:59,067 INFO [Engine] GeneralInit: Trying to load configuration file: null/WEB-INF/log4j.properties
      12:26:59,075 ERROR [STDERR] log4j:ERROR Could not read configuration file [null/WEB-INF/log4j.properties].
      12:26:59,076 ERROR [STDERR] java.io.FileNotFoundException: null/WEB-INF/log4j.properties (No such file or directory)
      12:26:59,079 ERROR [STDERR] at java.io.FileInputStream.open(Native Method)
      12:26:59,080 ERROR [STDERR] at java.io.FileInputStream.(FileInputStream.java:59)
      12:26:59,080 ERROR [STDERR] at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:296)
      12:26:59,080 ERROR [STDERR] at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:314)
      12:26:m 59,080 ERROR [STDERR] at mobilemode.utilities.web.Log4JInitServlet.init(Log4JInitServlet.java:69)

      I already have log4j.properties
      in both WEB-INF/log4j.properties and WEB-INF/classes/log4j.properties

      the ear have no problem in orion web server
      now doing migration..