Sai V [http://community.jboss.org/people/njv] replied to the discussion
"Communication between EJBs across 2 ears" To view the discussion, visit: http://community.jboss.org/message/548290#548290 -------------------------------------------------------------- Thanks for the helpful reply. Here is more information: RoleBean is the class that implements Role ejb-jar.xml of both the calling ear and the ear being called have only <display-name> tag. I do not have jboss.xml. The contents of the Global JNDI namesapce regarding my beans are... +- svc (class: org.jnp.interfaces.NamingContext) | +- UnitBean (class: org.jnp.interfaces.NamingContext) | | +- local (proxy: $Proxy108 implements No ClassLoaders found for: ejb.Unit (no security manager: RMI class loader disabled)) | | +- remote (proxy: $Proxy107 implements No ClassLoaders found for: ejb.Unit (no security manager: RMI class loader disabled)) | +- RoleBean (class: org.jnp.interfaces.NamingContext) | | +- local (proxy: $Proxy104 implements No ClassLoaders found for: ejb.Role (no security manager: RMI class loader disabled)) | | +- remote (proxy: $Proxy103 implements No ClassLoaders found for: ejb.Role (no security manager: RMI class loader disabled)) Both the statements below fail with the name not bound exception(whether I use @EJB or not): RoleBean roleLookup = (ejb.RoleBean) new InitialContext().lookup("svc/RoleBean/remote"); or Role roleLookup = (ejb.Role) new InitialContext().lookup("svc/Role/remote"); Any ideas how to fix this? Thanks -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/548290#548290] Start a new discussion in EJB 3.0 at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
