1 Reply Latest reply on Sep 20, 2002 2:29 PM by Adrian Brock

    Can I Use Local Refs to call EJBs in Other Deployment Units

    Jim Boone Newbie

      Hi,

      I am trying to write a Cactus test case to test out a deployed EJB (I am extending Cactus's ServletTestCase). I want to simply create a war file containing the test classes and deploy it to jboss. Everything works fine when I use remote interfaces, but I keep getting the following error message when I try to use local interfaces:

      (javax.naming.NamingException: ejb-local-ref: ejb/TMRConfigurationBeanLocal,target not found, add valid ejb-link)

      I am not deploying the war in the same deployment unit as the EJBs under test. Can I use local interfaces to talk components within the same JVM, but deployed in different "deployment units"? Any insight would be much appreciated. Thanks!