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
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!!!
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 :-)