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:[EMAIL PROTECTED] 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: [EMAIL PROTECTED] FR> For additional commands, e-mail: [EMAIL PROTECTED] Best regards, Cassio --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] 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. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
