- 
        1. Re: LocalHome not accessible on the server sideadrian.brock Sep 2, 2003 6:53 PM (in response to ij_dett)Your test is running inside the eclipse VM. 
 Unless you are also running jboss in the same VM, you
 cannot use the local interface.
 Investigate JUnitEJB or similar
 Regards,
 Adrian
- 
        2. Re: LocalHome not accessible on the server sideij_dett Sep 3, 2003 6:08 AM (in response to ij_dett)Adrian, 
 thank you for the fast answer. But the Cactus tests runs in the same VM jboss is running. The tests for my PartyBean have the same code layout - and they pass.
 PartyBean's local interface can be accessed - SecurityDataBean's local interface not.
 This is what confuses me!!!
 Kind Regards,
 Ingo
- 
        3. Re: LocalHome not accessible on the server sideij_dett Sep 3, 2003 6:28 AM (in response to ij_dett)Argh!!! 
 I am so blind - and Adrian is right. I found the solution. Class SecurityDataTest was extending the wrong superclass. Extending ServletTestCase instead of TestCase solved the problem. I guess I was the victim of the test case creation wizard of Eclipse.
 Well problem solved - topic closed.
 Adrian I appreciate your comment because it openen my eyes :-)
 Ingo
 
    