0 Replies Latest reply on Aug 14, 2002 5:56 AM by Peter Hall

    Deployment Descriptors - Local ejb-ref's

    Peter Hall Newbie

      in my ejb-jar.xml is have:


      <ejb-name>Fred</ejb-name>
      ...
      <ejb-local-ref>
      <ejb-ref-name>ejb/Bill</ejb-ref-name>
      ...rest of ejb-local-ref
      </ejb-local-ref>


      and in my jboss.xml:


      <ejb-name>Fred</ejb-name>
      ...
      <ejb-ref>
      <ejb-ref-name>ejb/Bill</ejb-ref-name>
      <jndi-name>beans/Fred</jndi-name>
      </ejb-ref>



      This fails to deploy with the error "Error in jboss.xml for bean Fred: ejb-ref ejb/Bill found in jboss.xml but not in ejb-jar.xml"

      This mssage is correct, the 'ejb/Bill' is defined in ejb-local-ref. Am I doing something wrong, or is this a problem with the container?


      regards,

      HJ