jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Lybarger" <Mark.Lybar...@CBC-Companies.com>
Subject RE: error testing ejb - wls 8.1
Date Thu, 12 Feb 2004 15:02:44 GMT
btw, if i change my classpath in the ant task to:

      <classpath>
		<path refid="ejb.jar.classpath"/>
        <path refid="weblogic.classpath" />
        <path refid="classpath" />
      </classpath>

where, this includes all ejb-jar's, all weblogic jars, and all classes in WEB-INF/classes
(includes test classes), and all classes in WEB-INF/lib (lots of jars including cactus and
such).

i see this different exception:

Exception in constructor: testUpdateEventsStatusByStatusInsertDateNoRecords (org.apache.commons.logging.LogConfigurationException:
java.lang.reflect.InvocationTargetException at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:532)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:272) at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:246) at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:395)
at org.apache.cactus.internal.client.ClientTestCaseDelegate.setDelegatedTest_aroundBody3$advice(ClientTestCaseDelegate.java:143)
at org.apache.cactus.internal.client.ClientTestCaseDelegate.setDelegatedTest(ClientTestCaseDelegate.java)
at org.apache.cactus.internal.client.ClientTestCaseDelegate.<init>(ClientTestCaseDelegate.java:157)
at org.apache.cactus.internal.client.WebClientTestCaseDelegate.<init>(WebClientTestCaseDelegate.java:95)
at org.apache.cactus.ServletTestCase.init(ServletTestCase.java:188) at org.apache.cactus.ServletTestCase.<init>(ServletTestCase.java:164)
at com.cbc.isac.ejb20.event.EventMaintenanceTest.<init>(EventMaintenanceTest.java:36)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at junit.framework.TestSuite.createTest(TestSuite.java:135)
at junit.framework.TestSuite.addTestMethod(TestSuite.java:114) at junit.framework.TestSuite.<init>(TestSuite.java:75)
at com.cbc.isac.ejb20.event.EventMaintenanceTest.suite(EventMaintenanceTest.java:41) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:257)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:210)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:532)
Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:525)
... 25 more Caused by: java.lang.VerifyError: (class: org/apache/log4j/LogManager, method:
<clinit> signature: ()V) Incompatible argument to function at org.apache.log4j.Logger.getLogger(Logger.java:85)
at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:102) ... 30 more
)

junit.framework.AssertionFailedError: Exception in constructor: testUpdateEventsStatusByStatusInsertDateNoRecords
(org.apache.commons.logging.LogConfigurationException: java.lang.reflect.InvocationTargetException
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:532)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:272)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:246)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:395)
at org.apache.cactus.internal.client.ClientTestCaseDelegate.setDelegatedTest_aroundBody3$advice(ClientTestCaseDelegate.java:143)
at org.apache.cactus.internal.client.ClientTestCaseDelegate.setDelegatedTest(ClientTestCaseDelegate.java)
at org.apache.cactus.internal.client.ClientTestCaseDelegate.<init>(ClientTestCaseDelegate.java:157)
at org.apache.cactus.internal.client.WebClientTestCaseDelegate.<init>(WebClientTestCaseDelegate.java:95)
at org.apache.cactus.ServletTestCase.init(ServletTestCase.java:188)
at org.apache.cactus.ServletTestCase.<init>(ServletTestCase.java:164)
at com.cbc.isac.ejb20.event.EventMaintenanceTest.<init>(EventMaintenanceTest.java:36)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at com.cbc.isac.ejb20.event.EventMaintenanceTest.suite(EventMaintenanceTest.java:41)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:525)
... 25 more
Caused by: java.lang.VerifyError: (class: org/apache/log4j/LogManager, method: <clinit>
signature: ()V) Incompatible argument to function
at org.apache.log4j.Logger.getLogger(Logger.java:85)
at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:102)
... 30 more
)


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.574 / Virus Database: 364 - Release Date: 1/29/2004
 


Mime
View raw message