tomcat真的如此脆弱?求解決辦法!

daquan198163發表於2003-11-11
小弟我剛剛完成了一個網站,採用struts+tomcat+sqlserver2000,在測試的時候,佈署在一臺奔4(1.7G)+512M記憶體的伺服器上,功能基本實現,唯一的問題是當一個使用者訪問網站時,如果他按住F5鍵不停重新整理,用不了一分鐘,tomcat就不行了:
org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging
.LogConfigurationException: org.apache.commons.logging.LogConfigurationException
: Class org.apache.commons.logging.impl.Jdk14Logger does not implement Log
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactory
Impl.java:555)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactory
Impl.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(ThreadP
ool.java:533)
at java.lang.Thread.run(Thread.java:536)
Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.comm
ons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Jdk
14Logger does not implement Log
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogF
actoryImpl.java:420)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactory
Impl.java:548)
... 8 more
Caused by: org.apache.commons.logging.LogConfigurationException: Class org.apach
e.commons.logging.impl.Jdk14Logger does not implement Log
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogF
actoryImpl.java:416)
... 9 more
如果這個問題解決不了,那它功能再好又有何用。請各位高手不吝賜教。

相關文章