排除log4j版本问题后,仍出现此问题,解决方法:在Tomcat安装目录下conf/catalina.properties文件中设置org.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false。
去Tomcat网站上查看了它的含义:
http://tomcat.apache.org/tomcat-6.0-doc/config/systemprops.html
If true
, Tomcat attempts to null out any static or final
fields from loaded classes when a web application is stopped as a work
around for apparent garbage collection bugs and application coding errors.
There have been some issues reported with log4j when this option is
true
.
Applications without memory leaks using recent JVMs should operate
correctly with this option set to false
.
If not specified, the default value of true
will be used.
分享到:
相关推荐
1.2.15有个Bug,会提示log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository,大家使用1.2.14替换1.2.15即可解决!
log4j:WARN Please initialize the log4j system properly. 2009-8-29 14:02:12 org.apache.catalina.core.ApplicationContext log 信息: Loading Spring root WebApplicationContext 2009-8-29 14:02:25 org.apache...
DLL: When using J-Trace PRO with IAR EWARM a "failed to allocate x bytes of memory" error could occur. Fixed. DLL: Windows: Renesas RX: When using FINE interface and disabling ongoining debug mode on ...
6 error return: the server side will print error message in /var/log/wasd.log, and the client side will print these to stderr 7 help message (h) 8 see server's log(logv) 9 edit remote file, ...
banner: '5.0.38-Ubuntu_0ubuntu1.1-log' 12、获取当前数据库,当前用户,所有用户,密码,所有可用数据库。 python sqlmap.py -u "http://192.168.1.47/page.php?id=1&cat=2" -- current-db current database...
log.error("session开启失败"); throw e; } return s; } public static void closesession()throws Exception{ s=sessionThread.get(); try{ if(s!=null){ s.close(); sessionThread....
DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 便民设施系统 ; charset=gbk"/> <link rel="stylesheet" type="text/css" href="style.css"> src=...
5 error return: the server side will print error message in /var/log/wasd.log, and the client side will print these to stderr ////////\\\\\\\ || Usage || \\\\\\\\/////// 0 make the server and ...
It was getting a BCD Overflow error when the column value was NULL. I fixed a problem in the IB_Samples.pas unit that was causing programs to sometimes have an AV when the app was shutting down. ...
4 5 4.95/5 - 56 votes μ 4.95, σa 1.05 [?] Is your email address OK? You are signed up for our newsletters but your email address is either unconfirmed, or has not been reconfirmed in a long time...
[BULK-OP-LOG] – Bulk Operation Lock for Log Table Lock Sub-Resources: Full Table Lock (default) [UPD-STATS] – Update statistics Lock [COMPILE] – Compile Lock Index Lock sub-Resources: Full Index ...
TFMTBCDField initializes to size 8 instead of size 4, allowing the system to initialize precision to 7 and size to 8 (Quality Central 5938). * Using a TDBLookupComboBox to display a list of data given...
causing garbage in log messages. [RT #34738] Address a race condition when shutting down a zone. [RT #34750] Address race condition with manual notify requests. [RT #34806] Fix nslookup crash ...
// See if a query was specified in this request. String query = request.getParameter("q"); if (query != null) { // display the query text as a page heading out.println("<h1>" + query + "</h1>")...
browser.Log("There was an error loading the page: " browser.LastWebException.Message); return true; } return false; } static void OnBrowserMessageLogged(Browser browser, ...
4. Recipes: Common Components 41 4.1 Introduction.......................................................41 4.2 The Timer Class....................................................43 4.2.1 Script ...
A B C D E F G H I J L P R S U V -------------------------------------------------------------------------------- A addCookie(Cookie) - Method in class javax.servlet.http.HttpServletResponseWrapper ...
Lesson 4: Information Collection and Analysis 61 Lesson 5: Formulating and Implementing Resolution 75 Module 6: Troubleshooting Query Performance Overview At the end of this module, you ...
I remember, once I was to develop an application, which sends emails at the specific time to specific people with the customized messages. For that I developed a COM service that used MAPI. MAPI, i.e...
* Compile Invalid Objects tool could raise "Null password given" error in single connection mode * Auto Refresh for SQL Window in single record view could steal the focus from the top window * ...