惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Google DeepMind News
Google DeepMind News
aimingoo的专栏
aimingoo的专栏
Microsoft Security Blog
Microsoft Security Blog
A
About on SuperTechFans
月光博客
月光博客
T
The Blog of Author Tim Ferriss
Recorded Future
Recorded Future
T
Threat Research - Cisco Blogs
T
Threatpost
P
Palo Alto Networks Blog
V
V2EX
J
Java Code Geeks
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
L
LangChain Blog
Attack and Defense Labs
Attack and Defense Labs
Simon Willison's Weblog
Simon Willison's Weblog
C
Cybersecurity and Infrastructure Security Agency CISA
人人都是产品经理
人人都是产品经理
Y
Y Combinator Blog
G
GRAHAM CLULEY
T
The Exploit Database - CXSecurity.com
F
Fortinet All Blogs
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Cyberwarzone
Cyberwarzone
Recent Commits to openclaw:main
Recent Commits to openclaw:main
V2EX - 技术
V2EX - 技术
The Last Watchdog
The Last Watchdog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
GbyAI
GbyAI
AWS News Blog
AWS News Blog
美团技术团队
N
Netflix TechBlog - Medium
WordPress大学
WordPress大学
W
WeLiveSecurity
博客园 - 司徒正美
C
CERT Recently Published Vulnerability Notes
雷峰网
雷峰网
U
Unit 42
H
Help Net Security
P
Proofpoint News Feed
F
Full Disclosure
P
Proofpoint News Feed
Security Latest
Security Latest
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
N
News and Events Feed by Topic
S
Security Affairs
C
CXSECURITY Database RSS Feed - CXSecurity.com
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
小众软件
小众软件

博客园 - say3say4的私人空间

期待 突破 未来50家最具商业潜力网站名单(互联网周刊) java 和 c++ 之间通过 控制台 输入输出 传递数据 转贴_vc++ 编译 occi 接口的 环境设置 - say3say4的私人空间 结合开源项目(postgis mapserver ) 研究 oracle spatial oracle9i spatial 开发 occi (基于oci的c++接口) ajax应用体现_无需安装 msn等桌面软件 研习了一下google map api SWIG 万能语言粘合剂 AJAX和webgis在实际项目中的运用(电业局用电检查系统) ant中最基本的设置 虚拟机VMWARE和移动硬盘的合作_移动办公 在C++中使用事件回调机制(通过Observer模式、函数指针等实现) 对DWR的学习告一段落,开发了结合具体应用的DEMO 不错的网站 回忆AOP 被google搜索到了 地震、停水、禽流感 关于讨论ajax,B/S框架,B/S界面的一个有用的站点
解决 jboss和log4j的冲突问题
say3say4的私人空间 · 2006-04-20 · via 博客园 - say3say4的私人空间

方案1:

你先將你程式內部的 log4j.properties or log4j.xml 全部拿掉,再 deploy
看看。如果沒問題再逐一將 自己的 config 一項一項放進
\jboss\server\default\conf\log4j.xml 測試。

方案2:

去[JBOSS_HOME]\server\default\conf\log4j.xml 改或加自己的設定這不太make sense,最好還是要針對個別application有自己的log4j設定檔比較合理。其實application若有自己的log4j war及設定檔,而導致JBoss啟動時出現 "ERROR: invalid console appender config detected, console stream is looping." 錯誤訊息時,只要去JBoss server層的conf資料夾中的jboss-service.xml中的org.jboss.logging.Log4jService的設定區段中加個參數:<attribute name="CatchSystemOut">false</attribute>即可,如:

<mbean code="org.jboss.logging.Log4jService" name="jboss.system:type=Log4jService,service=Logging">
<attribute name="ConfigurationURL">resource:log4j.xml</attribute>
<attribute name="CatchSystemOut">false</attribute>
<attribute name="Log4jQuietMode">true</attribute>
</mbean>