我尝试将我的应用程序部署到Websphere 8.5。由于某些原因,我需要使用类加载器Parent First。
这是我的耳文档结构
EAR
-|__META-INF
-|__WAR
-----|__META-INF
-----|-----|__MANIFEST
-----|-----|__services
-----|__WEB_INF (included compiled classes, lib, conf files etc.)
我试图将org.apache.commons.logging.LogFactory
文件放在META-INF/services
中,其值为org.apache.commons.logging.impl.Log4JLogger
但不起作用。
任何人都知道如何为Websphere 8.5配置log4j?
由于
PS:我使用了log4j 1.2.17和commons-logging 1.1.3