jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@octo.com>
Subject FW: Problems with Cactus and commons-logging
Date Fri, 13 Dec 2002 07:39:49 GMT

> -----Original Message-----
> From: Jerome G. Fillon [mailto:softimedia@bigfoot.com]
> Sent: 13 December 2002 06:14
> To: vmassol@octo.com
> Subject: RE: Problems with Cactus and commons-logging
> 
> Indeed it is a classLoader problem.
> 
> I have the same problem with strutsTest.
> 
> I was able to run my test with the junit.textui.TestRunner and not
with
> awtui or swingui.
> 
> The apache code is breaking when trying to validate that a class
(Logger
> JDK1.4 or any other logger) implements the Log Interface... which it
> does when you look at the code.
> If you check the apache code, you will find that the code is quite
> messing around with classloaders to keep the instance of the logger in
> the right classloader...
> 
> The work around when running with junit is:
> 
> 1) use the textui
> 
> 2) unchecked the 'reload classes every run' checkbox
>   when using the gui...
> 
> 
> I'm not registered to the cactus mailing list, so i replied you
directly.
> 
> --
> Jerome



--
To unsubscribe, e-mail:   <mailto:cactus-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:cactus-user-help@jakarta.apache.org>


Mime
View raw message