title: JBoss 5.0 EAR: Locate @Service ejb local interface from struts 1 action in nested war with jndi lookup
body: <p>I have a war (using struts 1) nested in an ear with session ejbs.  If I lookup normal session beans from the war with lookup("earname/beanname/local") everything works.  If I lookup a @Service ejb the same way it fails from the war with a NamingException.</p>
  
  <p>To make sure I was doing the lookup correctly I looked up one @Service bean from another's start() method (instead of injecting with annotations) and the jndi lookup succeeded.</p>
  
  <p>What could be the cause of this behavior?  I am currently stuck with JBoss 5.0.</p>