Hi Kirsten, I don't think it has anything to do with the Cactus install. It looks like a classloader issue to me. If you don't want to have any issue with classloading there is only one way:
Package all your classes, test classes and cactus-related jars inside a webapp, i.e put *all* the libs (commons-logging, junit, aspectjrt, cactus, etc) in WEB-INF/lib. If you put them in the common classpath of your container then you have to understand how it works and how it will mix with the container's own classes. It happens that Tomcat 4.1.10 is also using commons-logging and I guess this is the cause of the problem. Hope it helps, -Vincent > -----Original Message----- > From: Cuvelier Kirsten [mailto:[EMAIL PROTECTED]] > Sent: 21 November 2002 07:40 > To: 'Cactus Users List' > Subject: RE: Problems with Cactus and commons-logging > > Yes, I did. I'm thinking of re-installing Cactus all over again, and start > from scratch... > > Thanks anyway. > > -----Original Message----- > From: Marco Barcella [mailto:[EMAIL PROTECTED]] > Sent: 20 November 2002 17:05 > To: Cactus Users List > Subject: RE: Problems with Cactus and commons-logging > > > I guess you have already looked at: > http://jakarta.apache.org/cactus/faq.html#faq8 > I have a similar problem to yours, I had to erase the application > commons-logging.jar and use the cactus one for now. I am > still looking for a better solution. > Marco > > > <>-----Original Message----- > <>From: Cuvelier Kirsten [mailto:[EMAIL PROTECTED]] > <>Sent: Wednesday, November 20, 2002 2:13 AM > <>To: 'Cactus Users List' > <>Subject: RE: Problems with Cactus and commons-logging > <> > <> > <>I've already tried all logging jars available to man. I still keep on > <>getting the same error. > <> > <>-----Original Message----- > <>From: Vikas Malla [mailto:[EMAIL PROTECTED]] > <>Sent: 19 November 2002 18:30 > <>To: Cactus Users List > <>Subject: Re: Problems with Cactus and commons-logging > <> > <> > <> > <>try commons-logging.jar from the webapplication and then run the > <>tests. See > <>if that works. > <> Cuvelier Kirsten <[EMAIL PROTECTED]> wrote:Does > <>anybode have > <>the answer to the problem described below? > <>I'm getting the same error over and over again..., and I'm > <>getting tired of > <>trying to get Cactus to work... > <> > <>Kirsten Cuvelier > <>Siemens Atea, dep. IC D MS D > <>++ 32 14 252026 > <>[EMAIL PROTECTED] > <> > <> > <>From > <>cactus-user-return-2750-qmlist-jakarta-archive-cactus-user=jakarta > <>.apache.or > <>[EMAIL PROTECTED] Fri Nov 01 14:49:46 2002 > <>Return-Path: > <>[EMAIL PROTECTED]> > <>Delivered-To: [EMAIL PROTECTED] > <>Received: (qmail 41877 invoked from network); 1 Nov 2002 14:49:45 -0000 > <>Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) > <>by daedalus.apache.org with SMTP; 1 Nov 2002 14:49:45 -0000 > <>Received: (qmail 3677 invoked by uid 97); 1 Nov 2002 14:50:34 -0000 > <>Delivered-To: [EMAIL PROTECTED] > <>Received: (qmail 3616 invoked by uid 97); 1 Nov 2002 14:50:33 -0000 > <>Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm > <>Precedence: bulk > <>List-Unsubscribe: > <>List-Subscribe: > <>List-Help: > <>List-Post: > <>List-Id: "Cactus Users List" > <>Reply-To: "Cactus Users List" > <>Delivered-To: mailing list [EMAIL PROTECTED] > <>Received: (qmail 3604 invoked by uid 98); 1 Nov 2002 14:50:32 -0000 > <>X-Antivirus: nagoya (v4218 created Aug 14 2002) > <>Message-ID: <[EMAIL PROTECTED]> > <>Date: Fri, 01 Nov 2002 10:49:48 -0400 > <>From: Colin Kilburn > <>User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) > <>Gecko/20021003 > <>X-Accept-Language: en-us, en > <>MIME-Version: 1.0 > <>To: Cactus Users List > <>Subject: Problems with Cactus and commons-logging > <>Content-Type: text/plain; charset=us-ascii; format=flowed > <>Content-Transfer-Encoding: 7bit > <>X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > <>X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > <> > <>Hi Everyone, > <> > <>I've been trying to get Cactus going for a couple of days now and I keep > <>getting the following exception when I try to run even the simplest > test: > <> > <>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(LogFact > <>oryImpl.ja > <>va:555) > <>at > <>org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFact > <>oryImpl.ja > <>va:289) > <>at > <>org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFact > <>oryImpl.ja > <>va:259) > <>at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:390) > <>at > <>org.apache.cactus.server.runner.ServletTestRunner.around91_doGet(S > <>ervletTest > <>Runner.java;org/apache/cactus/util/log/LogAspect.aj(1k):1142) > <>at > <>org.apache.cactus.server.runner.ServletTestRunner.doGet(ServletTes > <>tRunner.ja > <>va;org/apache/cactus/util/log/LogAspect.aj(1k):101) > <> > <> > <>While the problem is in the commons-logging package, the cactus > <>environment is the only time I get an error like this. I apologize if > <>I've chosen the wrong list. > <> > <>I have scoured google and the mail archives of cactus, struts and > <>commons and the only reference to this error > <>I could find had to do with the commons-logging.jar packaged with > <>struts1.1b2, and the solution didn't do anything for me. > <> > <>Stepping through the code, I don't even understand how this error can > <>occur, as "org.apache.commons.logging.impl.Jdk14Logger" is a hard-coded > <>fallback implementation for logging, and it clearly implements Log. > <> > <>Has anyone else had this problem and/or know what I might be missing? > <>Any suggestions for other things I can check? I'm quite eager to start > <>using Cactus :o) > <> > <>I'm using: > <>cactus-13-1.4.1 > <>tomcat-4.1.10 > <>Struts 1.1b2 > <>j2sdk1.4.0_01 > <> > <>TIA, > <>Colin Kilburn > <> > <> > <> > <> > <> > <>-- > <>To unsubscribe, e-mail: > <>For additional commands, e-mail: > <> > <>Catch all the cricket action. Download Yahoo! Score tracker > <> > <>-- > <>To unsubscribe, e-mail: > <><mailto:[EMAIL PROTECTED]> > <>For additional commands, e-mail: > <><mailto:[EMAIL PROTECTED]> > <> > <> > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe, e-mail: <mailto:cactus-user- > [EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:cactus-user- > [EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
