Mick,

There's a tutorial on
http://jakarta.apache.org/cactus/integration/ant/index.html

Let us know if something is not clear in there so that we can improve it.

Thanks
-Vincent

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: mercredi 17 novembre 2004 18:46
> To: [EMAIL PROTECTED]
> Subject: RE: Error running CactusStrutsTest case with an
> ExtendedActionServlet instead of ActionServlet
> 
> That was it.... Thanks.
> Now I just have to work on running this through ant which has been kicking
> my but.
> Is ther some ant.properties file I am suppose to have, and add to my war
> to run in ant?
> 
> --------------------
> Mick Knutson
> Wells Fargo Business Direct
> (415) 222-1020
> 
> "This message may contain confidential and/or privileged information. If
> you are not the addressee or authorized to receive this for the addressee,
> you must not use, copy, disclose, or take any action based on this message
> or any information herein. If you have received this message in error,
> please advise the sender immediately by reply e-mail and delete this
> message. Thank you for your cooperation."
> --------------------
> 
> 
> 
> -----Original Message-----
> From: Vincent Massol [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 17, 2004 8:32 AM
> To: 'Cactus Users List'
> Subject: RE: Error running CactusStrutsTest case with an
> ExtendedActionServlet instead of ActionServlet
> 
> 
> ... then the issue is that you must have some of the cactus related jars
> in
> the system classloader/container CL instead of in your WEB-INF/lib
> directory.
> 
> If you put some of the jars in the system classloader what can happen is
> that your test will call some class found in the system classloader. This
> class will try to load the struts jar but it won't find it as it is not in
> the system classloader (it's only in the Webapp classloader). Not sure I
> was
> clear but basically to avoid any problem put all your jars in WEB-INF/lib
> and ensure there's no leftover in the classpath used to start your
> container.
> 
> -Vincent
> 
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > Sent: mercredi 17 novembre 2004 17:16
> > To: [EMAIL PROTECTED]
> > Subject: RE: Error running CactusStrutsTest case with an
> > ExtendedActionServlet instead of ActionServlet
> >
> > But it is there, as the ear still allows me to run my application, but
> not
> > the tests.
> >
> > --------------------
> > Mick Knutson
> > Wells Fargo Business Direct
> > (415) 222-1020
> >
> > "This message may contain confidential and/or privileged information. If
> > you are not the addressee or authorized to receive this for the
> addressee,
> > you must not use, copy, disclose, or take any action based on this
> message
> > or any information herein. If you have received this message in error,
> > please advise the sender immediately by reply e-mail and delete this
> > message. Thank you for your cooperation."
> > --------------------
> >
> >
> >
> > -----Original Message-----
> > From: Vincent Massol [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, November 16, 2004 11:46 PM
> > To: 'Cactus Users List'
> > Subject: RE: Error running CactusStrutsTest case with an
> > ExtendedActionServlet instead of ActionServlet
> >
> >
> > Hi Mick,
> >
> > The stack strace seems to imply that you do not have the struts jar in
> > your
> > server-side classpath (in your WEB-INF/lib).
> >
> > -Vincent
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > > Sent: mercredi 17 novembre 2004 02:41
> > > To: [EMAIL PROTECTED]
> > > Cc: [EMAIL PROTECTED]
> > > Subject: Error running CactusStrutsTest case with an
> > ExtendedActionServlet
> > > instead of ActionServlet
> > >
> > > Any help with this please...
> > >
> > > We extended our actionServlet with ExtendedActionServlet and when I
> > tried
> > > to run my test from a browser in this fashion:
> > > http://localhost:8080/ServletTestRunner?xsl=cactus-
> > >
> report.xsl&suite=com.wf.bd.ice.creditapplication.CreditapplicationSuite
> > >
> > > I got this error:
> > > --------------------------
> > >
> > >
> > > javax.servlet.ServletException: Failed to load test suite
> > > [com.wf.bd.ice.creditapplication.CreditapplicationSuite], Reason is
> > > [Failed to invoke suite():java.lang.NoClassDefFoundError:
> > > org/apache/struts/action/ActionServlet]
> > >   at
> > >
> >
> org.apache.cactus.server.runner.ServletTestRunner.run(ServletTestRunner.ja
> > > va:309)
> >
> > [snip]
> >
> >
> > ---------------------------------------------------------------------
> > 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]
> 
> 
> 
> ---------------------------------------------------------------------
> 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]



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

Reply via email to