I am running the TestServletTestCase3 after deploying the war file for
the sample on IPlanet App Server 6.0 and following is the output. Does
this mean it did not find some class file to run the test case or
something else ?


org.apache.commons.cactus.sample.unit.TestServletTestCase3 
.E.E 
Time: 0

FAILURES!!!

Run 2 
Failed 0 
Errors 2 
testTearDown(org.apache.commons.cactus.sample.unit.TestServletTestCase3)

java.lang.NoClassDefFoundError
        at
org.apache.commons.cactus.ServletTestCase.runTest(ServletTestCase.java:1
28)
        at
org.apache.commons.cactus.AbstractTestCase.runBare(AbstractTestCase.java
:281)
        at junit.framework.TestResult$1.protect(TestResult.java:100)
        at junit.framework.TestResult.runProtected(TestResult.java:117)
        at junit.framework.TestResult.run(TestResult.java:103)
        at junit.framework.TestCase.run(TestCase.java:120)
        at junit.framework.TestSuite.run(TestSuite.java:144)
        at junit.servletui.TestRunner.doRun(TestRunner.java:128)
        at junit.servletui.TestRunner.doGet(TestRunner.java:102)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
        at
com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
Source)
        at
com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unknown
Source)
        at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
        at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
        at com.kivasoft.thread.ThreadBasic.run(Native Method)
        at java.lang.Thread.run(Thread.java:479)


testSetUp(org.apache.commons.cactus.sample.unit.TestServletTestCase3) 
java.lang.NoClassDefFoundError
        at
org.apache.commons.cactus.ServletTestCase.runTest(ServletTestCase.java:1
28)
        at
org.apache.commons.cactus.AbstractTestCase.runBare(AbstractTestCase.java
:281)
        at junit.framework.TestResult$1.protect(TestResult.java:100)
        at junit.framework.TestResult.runProtected(TestResult.java:117)
        at junit.framework.TestResult.run(TestResult.java:103)
        at junit.framework.TestCase.run(TestCase.java:120)
        at junit.framework.TestSuite.run(TestSuite.java:144)
        at junit.servletui.TestRunner.doRun(TestRunner.java:128)
        at junit.servletui.TestRunner.doGet(TestRunner.java:102)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
        at
com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
Source)
        at
com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unknown
Source)
        at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
        at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
        at com.kivasoft.thread.ThreadBasic.run(Native Method)
        at java.lang.Thread.run(Thread.java:479)




Reply via email to