Message: The following issue has been closed.
--------------------------------------------------------------------- View the issue: http://issues.apache.org/jira/browse/CACTUS-38 Here is an overview of the issue: --------------------------------------------------------------------- Key: CACTUS-38 Summary: Necessary log kit for Cactus Type: Bug Status: Closed Priority: Major Resolution: CANNOT REPRODUCE Project: Cactus Components: Framework Fix Fors: 1.5-beta1 Versions: 1.0 Assignee: Vincent Massol Reporter: hong li Created: Mon, 17 Mar 2003 9:31 AM Updated: Sat, 17 Apr 2004 8:47 AM Environment: Operating System: Linux Platform: Other Description: In Cactus 1.4 package, the documentation said for the logging purpose, all needed is just commons-logging.jar, other such as log4j etc are optional. But actually, what I'd found is not this case. If I dont place package like log4j.jar under TOMCAT_HOME/common/lib, the sample servlet test will not work, instead, print out errors like: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: No suitable Log constructor at org.apache.commons.logging.impl.LogFactoryImpl.newInstance (LogFactoryImpl.java:509) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance (LogFactoryImpl.java:285) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance (LogFactoryImpl.java:255) at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:381) at org.apache.cactus.server.runner.ServletTestRunner.around91_doGet (ServletTestRunner.java;org/apache/cactus/util/log/LogAspect.aj(1k):1142) at org.apache.cactus.server.runner.ServletTestRunner.doGet (ServletTestRunner.java;org/apache/cactus/util/log/LogAspect.aj(1k):101) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) After I place log4j.jar to the common/lib directory, all fine. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
