0 Replies Latest reply on Oct 17, 2011 11:40 AM by technokrat

    Log4j logger ins't initiated in Log4jInitServlet in JBoss 6.1.0.

    technokrat

      Logger isn't initiated in init servlet, but the needed classes loaded and started. The appender is created and activated. But if I try to get the created logger, the loger doesn't contain any appenders, and after any time the appender will be closed, in my case also connection to jms queues will be closed by JBoss SA.

       

      In standalone application the all works fine!

      May be problem with SAXParser(now used org.apache.xerces.jaxp.SAXParserFactoryImpl), but I converted log4j configs from xml to properties, it isn't influence on behavior of SA.

       

      All classes and class paths used in log4j confings are correct.