jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cumbers <r...@kent.ac.uk>
Subject Re: Log4J problems
Date Thu, 23 Dec 2004 14:52:19 GMT
Hey

I can't remember how I fixed this but ultimately I did, thanks for 
following up anyway!

Have a good christmas break everyone!!

Cheers

Rich

Vincent Massol wrote:
> Hi Rich,
> 
> 
>>-----Original Message-----
>>From: Cumbers [mailto:rlc5@kent.ac.uk]
>>Sent: mardi 14 d├ęcembre 2004 12:50
>>To: Cactus Users List
>>Subject: Log4J problems
>>
>>Hello
>>
>>Firstly my problem from yesterday was that my web.xml did not conform to
>>the dtd and cactus fails silently, scrambling the web.xml tags. This is
>>a known bug within the cactus project.
> 
> 
> I'd say it's a limitation rather than a bug... ;-)
> 
> 
>>Now however I have another issue, this time with Log4J. I use Log4J
>>within my web application, with no trouble at all. However when I try
>>and test using cactus, it fails on creation of a class that uses Log4J,
>>with the following error message:
>>
>>Caused ERROR org/apache/log4j/Priority
>>java.lang.NoClassDefFoundError: org/apache/log4j/Priority
>>
>>Now I have put in the cactus.classpath in the ant file a reference to
>>the log4j jar file and have also put it as an argument for ant itself.
>>
>>Any ideas what is going wrong?
> 
> 
> There are 2 JVMs in which you cactus tests run: the client side one and the
> server side one. Are you sure you have log4j in both?
> 
> Thanks
> -Vincent
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> 

Mime
View raw message