I'm getting this error if I stuff the instrumented classes in the war. If I don't use the instrumented classes in the war, the error isn't there but the report shows 0% coverage for all tests.
[cactus] ----------------------------------------------------------------- [cactus] Running tests against Tomcat 4.1.27 @ http://localhost:8810 [cactus] ----------------------------------------------------------------- [cactus] Testsuite: com.goldengate.veridata.struts.actions.TestCreateGroupAction [cactus] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.63 sec [cactus] ------------- Standard Error ----------------- [cactus] log4j:WARN No appenders could be found for logger (org.apache.cactus.internal.configuration.ConfigurationInitializer). [cactus] log4j:WARN Please initialize the log4j system properly. [cactus] ------------- ---------------- --------------- [cactus] Testcase: testExceptionBean(org.apache.cactus.ServletTestCase): Caused an ERROR [cactus] Error while initializing ActionServlet: Parsing error processing resource path /WEB-INF/struts-config.xml [cactus] junit.framework.AssertionFailedError: Error while initializing ActionServlet: Parsing error processing resource path /WEB-INF/struts-config. [cactus] at servletunit.struts.CactusStrutsTestCase.getActionServlet(CactusStrutsTes tCase.java:486) [cactus] at servletunit.struts.CactusStrutsTestCase.actionPerform(CactusStrutsTestCa se.java:536) [cactus] at com.goldengate.veridata.struts.actions.TestCreateGroupAction.testExcepti onBean(TestCreateGroupAction.java:63) [cactus] at org.apache.cactus.internal.AbstractCactusTestCase.runBareServer(Abstract CactusTestCase.java:153) [cactus] at org.apache.cactus.internal.server.AbstractWebTestCaller.doTest(AbstractW ebTestCaller.java:119) [cactus] at org.apache.cactus.internal.server.AbstractWebTestController.handleReques t_aroundBody0(AbstractWebTestController.java:93) [cactus] at org.apache.cactus.internal.server.AbstractWebTestController.handleReques t_aroundBody1$advice(AbstractWebTestController.java:217) [cactus] at org.apache.cactus.internal.server.AbstractWebTestController.handleReques t(AbstractWebTestController.java) [cactus] at org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody2(Servle tTestRedirector.java:101) [cactus] at org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody3$advice (ServletTestRedirector.java:217) [cactus] at org.apache.cactus.server.ServletTestRedirector.doPost(ServletTestRedirec tor.java) [cactus] at org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody0(Servlet TestRedirector.java:72) [cactus] at org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody1$advice( ServletTestRedirector.java:217) [cactus] at org.apache.cactus.server.ServletTestRedirector.doGet(ServletTestRedirect or.java) [cactus] at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) [cactus] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) [cactus] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:247) [cactus] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:193) [cactus] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv e.java:256) [cactus] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i nvokeNext(StandardPipeline.java:643) [cactus] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 80) [cactus] at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) [cactus] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv e.java:191) [cactus] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i nvokeNext(StandardPipeline.java:643) [cactus] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 80) [cactus] at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) [cactus] at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:241 6) [cactus] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java :180) [cactus] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i nvokeNext(StandardPipeline.java:643) [cactus] at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa lve.java:171) [cactus] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i nvokeNext(StandardPipeline.java:641) [cactus] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java :172) [cactus] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i nvokeNext(StandardPipeline.java:641) [cactus] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 80) [cactus] at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) [cactus] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve. java:174) [cactus] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i nvokeNext(StandardPipeline.java:643) [cactus] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 80) [cactus] at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) [cactus] at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.j ava:1040) [cactus] at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java: 1151) [cactus] at java.lang.Thread.run(Thread.java:534) -----Original Message----- From: Nicolas Chalumeau [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 24, 2005 8:34 AM To: Cactus Users List; Bret Kumler Subject: Re: Coverage Here is a recent thread about it : http://www.mail-archive.com/cactus-user@jakarta.apache.org/msg06693.html 2005/8/24, Bret Kumler <[EMAIL PROTECTED]>: > Can someone post their ant script who has JCoverage working with Tomcat? > > I want to compare it with mine. > > I'm real close to getting it running. > > Thanks > > > This e-mail message and any attachments may contain private, confidential, proprietary or privileged material of GoldenGate Software, Inc. that is for the sole use of the intended recipient(s) of this e-mail message. Any review, copying or distribution or other use of this e-mail message or any attachments hereto by anyone other than the intended recipient(s) is strictly prohibited. If you are not the intended recipient(s) of this e-mail message, please contact GoldenGate Software, Inc. (415-777-0200) immediately and permanently delete the original e-mail message and any copies of this e-mail message and all attachments, if any. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail message and any attachments may contain private, confidential, proprietary or privileged material of GoldenGate Software, Inc. that is for the sole use of the intended recipient(s) of this e-mail message. Any review, copying or distribution or other use of this e-mail message or any attachments hereto by anyone other than the intended recipient(s) is strictly prohibited. If you are not the intended recipient(s) of this e-mail message, please contact GoldenGate Software, Inc. (415-777-0200) immediately and permanently delete the original e-mail message and any copies of this e-mail message and all attachments, if any. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]