Hi Rich,

> -----Original Message-----
> From: Cumbers [mailto:[EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to