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.