jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "FrancisJones, Richard" <Richard.FrancisJo...@NBNZ.CO.NZ>
Subject RE: [work] Testing local interface
Date Wed, 18 Jun 2003 04:46:05 GMT
Thanks, that did the trick. The other key thing I missed was a reference in
the war's manifest pointing to the jar containing the EJBs.

-----Original Message-----
From: Cassio [mailto:cassio@softall.com.br]
Sent: Wednesday, 18 June 2003 11:44 a.m.
To: Cactus Users List
Subject: Re: [work] Testing local interface


Hi Richard,

You must deploy an ear with:
-jar: your ejb's
AND
-war: your testcases

Tuesday, June 17, 2003, 8:22:53 PM, you wrote:

FR> Hello All,

FR> I'm intending to use the Cactus framework for testing an EJB application
FR> deployed on WebLogic. I have successfully used it to write and run a
simple
FR> unit test that calls an EJB via the remote interface. I have my unit
tests
FR> deployed in a separate war which has all the cactus jars within it. My
FR> problem arises when I try to use the local interface. I had thought that
a
FR> servlet deployed within the same appserver should have access to the
local
FR> interfaces of the beans within another ear but this does not appear to
be
FR> the case.

FR> So in summary my question is: What is the best way of using cactus to
test
FR> local interfaces?

FR> Thanks,

FR> Richard.

FR> This communication is confidential and may contain privileged material.
FR> If you are not the intended recipient you must not use, disclose, copy
or retain it.
FR> If you have received it in error please immediately notify me by return
email
FR> and delete the emails.
FR> Thank you.

FR> ---------------------------------------------------------------------
FR> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
FR> For additional commands, e-mail: cactus-user-help@jakarta.apache.org



Best regards,
Cassio


---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-user-help@jakarta.apache.org

This communication is confidential and may contain privileged material.
If you are not the intended recipient you must not use, disclose, copy or retain it.
If you have received it in error please immediately notify me by return email
and delete the emails.
Thank you.

Mime
View raw message