> -----Original Message-----
> From: John Lindwall [mailto:[EMAIL PROTECTED]
> Sent: 19 June 2004 00:27
> To: 'Cactus Users List'
> Subject: RE: Help with "Exception in constructor
java.lang.VerifyError"
> 
> Um ... Is it a problem that we're using an older version of log4j,
1.13?

yes! What happens is that commons-logging has been compiled with a given
version of log4j and you're trying to run it with an older version of
log4j which does not have the same signature for
LogFactoryImpl.newInstance().

-Vincent

> 
> John
> 
> PS My custom excluded.properties file looks like this:
> 
> #
> # The list of excluded package paths for the TestCaseClassLoader
> #
> excluded.0=sun.*
> excluded.1=com.sun.*
> excluded.2=org.omg.*
> excluded.3=javax.*
> excluded.4=sunw.*
> excluded.5=java.*
> excluded.6=org.w3c.dom.*
> excluded.7=org.xml.sax.*
> excluded.8=net.jini.*
> excluded.9=org.apache.commons.logging.*
> 
> 
> -----Original Message-----
> From: John Lindwall [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 18, 2004 3:06 PM
> To: '[EMAIL PROTECTED]'
> Subject: Help with "Exception in constructor java.lang.VerifyError"
> 
> 
> Cactus 1.6.1
> 
> With either the provided comnons logging 1.0.3 or the newer 1.0.4 I
get
> the following error when running my test via ant.  I do not get this
error
> when running inside of IntelliJ or via the servlet-based TestRunner
> provided with cactus.
> 
> I tried creating an exlcuded.properties and putting it my classpath to
> exclude org.apache.commons.logging.* but that dfoesn't help.
> 
> Any ideas?  Thanks!
> 
> junit.framework.AssertionFailedError: Exception in constructor:
testGetZip
> (org.apache.commons.logging.LogConfigurationException:
>  java.lang.VerifyError: (class: org/apache/log4j/LogManager, method:
> <clinit> signature: ()V) Incompatible argument to function (Caused by
> java.lang.VerifyError: (class: org/apache/log4j/LogManager, method:
> <clinit> signature: ()V) Incompatible argument to function) at
> 
>
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImp
l.
> java:538) at
> 
>
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImp
l.
> java:235) at
> 
>
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImp
l.
> java:209) at
>  org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351) at
> 
>
org.apache.cactus.internal.server.ServerTestCaseCaller.setDelegatedTest_
ar
> oundBody3$advice(ServerTestCaseCaller.java:109) at
> 
>
org.apache.cactus.internal.server.ServerTestCaseCaller.setDelegatedTest(
Se
> rverTestCaseCaller.java) at
> 
>
org.apache.cactus.internal.server.ServerTestCaseCaller.<init>(ServerTest
Ca
> seCaller.java:66) at
> 
>
org.apache.cactus.internal.AbstractCactusTestCase.init(AbstractCactusTes
tC
> ase.java:200) at
> 
>
org.apache.cactus.internal.AbstractCactusTestCase.<init>(AbstractCactusT
es
> tCase.java:91) at
>  org.apache.cactus.ServletTestCase.<init>(ServletTestCase.java:85) at
> 
>
com.mbasys.mars.ejb.session.util.ServerTestUtilSB.<init>(ServerTestUtilS
B.
> java:13) at
>  java.lang.reflect.Constructor.newInstance(Native Method))
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to