Tejawini,
Check whether the test class you have written extends CactusStrutsTestCase or You may probably have more than one version of Cactus lying around. For instance, your servlet container be using one version whereas your app is using another.... Just check it out but iam also not sure.... Thanks and Regards Bhanu -----Original Message----- From: Tejaswini Yardi [mailto:[EMAIL PROTECTED] Sent: Thursday, May 10, 2007 9:48 AM To: cactus-user@jakarta.apache.org Subject: RE: Error executing cactus tests Bhanu, I did check the jars and have specified all of them - can you tell me the exact reason why this occurs. As my ant script executing teh cactus tests was working fine some time back but then i started facing this issue - not sure why it occurs. Regards, Tejaswini bhanu_gulbarga wrote: > > > Tejawini, > > Check whether you have all the jar files required for running cactus > tests > > Thanks > Bhanu > > -----Original Message----- > From: Tejaswini Yardi [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 09, 2007 8:48 PM > To: cactus-user@jakarta.apache.org > Subject: Error executing cactus tests > > > Hi > > Please help me out - i m facing an issue with executing cactus tests > from > Ant. I am facing this issue for quite some time and havent been able to > figure out the problem. > > When i try to execute the tests I get this error > > Error instantiating class > [com.inteq.test.integration.testcases.TestUserAuthentication([testUsingV > alidPlatformUserNamePwd], > [null])] > > Error instantiating class > [com.inteq.test.integration.testcases.TestUserAuthentication([testUsingV > alidPlatformUserNamePwd], > [null])] > [cactus] javax.servlet.ServletException: Error instantiating class > [com.inteq.test.integration.testcases.TestUserAuthentication([testUsingV > alidPlatformUserNamePwd], > [null])] > [cactus] at > org.apache.cactus.internal.server.AbstractWebTestCaller.getTestClassInst > ance(AbstractWebTestCaller.java:442) > [cactus] at > org.apache.cactus.internal.server.AbstractWebTestCaller.doTest(AbstractW > ebTestCaller.java:109) > [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:689) > [cactus] at > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > [cactus] at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica > tionFilterChain.java:252) > [cactus] at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt > erChain.java:173) > [cactus] at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv > e.java:213) > [cactus] at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv > e.java:178) > [cactus] at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java > :126) > [cactus] at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java > :105) > [cactus] at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve. > java:107) > [cactus] at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1 > 48) > [cactus] at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:85 > 6) > [cactus] at > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC > onnection(Http11Protocol.java:744) > [cactus] at > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint > .java:527) > [cactus] at > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow > erWorkerThread.java:80) > [cactus] at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool > .java:684) > [cactus] at java.lang.Thread.run(Thread.java:595) > > > > Regards, > TY > -- > View this message in context: > http://www.nabble.com/Error-executing-cactus-tests-tf3716392.html#a10396 > 384 > Sent from the Cactus - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > The information contained in this electronic message and any attachments > to this message are intended for the exclusive use of the addressee(s) and > may contain proprietary, confidential or privileged information. If you > are not the intended recipient, you should not disseminate, distribute or > copy this e-mail. Please notify the sender immediately and destroy all > copies of this message and any attachments. > > WARNING: Computer viruses can be transmitted via email. The recipient > should check this email and any attachments for the presence of viruses. > The company accepts no liability for any damage caused by any virus > transmitted by this email. > > www.wipro.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Error-executing-cactus-tests-tf3716392.html#a10406 919 Sent from the Cactus - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]