Hi Kendo,

> -----Original Message-----
> From: kendo [mailto:[EMAIL PROTECTED]]
> Sent: 26 September 2002 15:32
> To: cactus usergroup
> Subject: testing ejb's with cactus
> 
> 
> Hi all
> 
> 
> 
> I have recently downloaded cactus to use for testing ejb's, however
from
> working with junit  I know the setup method should be called before
each
> test method etc. But when using cactus and following your example on
the
> apache site, it seems that the setup method is not called at all but
the
> test methods are.  

This is not supposed to happen and there are tests in the cactus test
suite to ensure the setUp()/tearDown() methods are called before and
after each test. They are called on the server side though.

> Also I can test the ejb using junit by itself and this
> works but rather than extending ServletTestCase, i extend the general
> TestCase.
> 
> However with extending ServletTestCase
> 
> I always get connection refused from the container(which happens to be
> OC4J)
> 

You need to provide us with more details (the stack trace you get would
be useful to start with).

> 
> 
> 
> 
> 1) can you inform me on the proceedure is for testing ejb's with
cactus
> because I have looked the apache site and followed the example :
> 

[snip]

> 
> Can anyone let me know to go about testing ejb's with cactus
> 
>  Many thanks for your help or advice in advance
> 

You need to tell us what problem you are getting before we can help.
Please provide us with stack traces.

-Vincent


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

Reply via email to