首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java Web开发 >

tomcat有关问题,经常挂死!

2012-03-07 
tomcat问题,经常挂死!!jdk:1.4.2_05tomcat:tomcat-4.1.18log包:log4j-1.2.8.jartomcat运行一段时间就会自

tomcat问题,经常挂死!!
jdk:1.4.2_05
tomcat:tomcat-4.1.18
log包:log4j-1.2.8.jar

tomcat运行一段时间就会自动挂死,导致系统无法登陆!!

org.apache.commons.logging.LogConfigurationException:   org.apache.commons.logging.LogConfigurationException:   org.apache.commons.logging.LogConfigurationException:   Class   org.apache.commons.logging.impl.Log4JCategoryLog   does   not   implement   Log
                at   org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:555)
                at   org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:289)
                at   org.apache.commons.logging.LogFactory.getLog(LogFactory.java:409)
                at   org.apache.tomcat.util.log.CommonLogHandler.log(CommonLogHandler.java:97)
                at   org.apache.tomcat.util.log.Log.log(Log.java:198)
                at   org.apache.tomcat.util.log.Log.log(Log.java:192)
                at   org.apache.tomcat.util.log.Log.log(Log.java:174)
                at   org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
                at   java.lang.Thread.run(Thread.java:534)
Caused   by:   org.apache.commons.logging.LogConfigurationException:   org.apache.commons.logging.LogConfigurationException:   Class   org.apache.commons.logging.impl.Log4JCategoryLog   does   not   implement   Log
                at   org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:420)
                at   org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:548)
                ...   8   more
Caused   by:   org.apache.commons.logging.LogConfigurationException:   Class   org.apache.commons.logging.impl.Log4JCategoryLog   does   not   implement   Log
                at   org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:416)
                ...   9   more


[解决办法]
jdk:1.4.2_05
tomcat:tomcat-4.1.18
是你的tomcat和jdk版本不兼容的问题,装个高点的tomcat,最好在5.0以上的吧.
[解决办法]
LogConfigurationException,Log4j配置有问题
[解决办法]
server.xml 配置出问题
[解决办法]
兼容?

热点排行