2 Replies Latest reply on May 3, 2014 7:44 PM by Bill Pfeiffer

    JBoss 7 jndi names of ejb's package in war

    Bill Pfeiffer Newbie

      Does anyone know how to modify the "module" component of the global jndi names for ejb's deployed in a war under JBoss 7.2 (EAP 6.1)?

      Per spec, the module name is the same as the base war name, which in my case includes a version number.

      Here is the spec from oracle:


      In my case it yeilds:


      What I would like is:


      I know I can modify the name of the war prior to deployment, but would prefer to explicitly name the module via configuration file. I have attempted to use the ejb-jar.xml module-name, but it had no effect.