1 Reply Latest reply on Aug 18, 2002 2:27 AM by Noel Hebert

    Message Driven Bean Referece problem JBoss 3.0

    Mark LaPolla Newbie

      We are having problems with the references of a session bean. We are referencing it like:


      When we drop this into JBoss we are told:

      org.jboss.deployment.DeploymentException: ejb-ref ejb/JmsSender, expected either ejb-link in ejb-jar.xml or jndi-name in jboss.xml

      We think we have all this defined so we are not sure what is going on.


        • 1. Re: Message Driven Bean Referece problem JBoss 3.0
          Noel Hebert Newbie


          You mention that you think that you have all this
          defined. Could you post a snippet from your jboss.xml
          that shows the mapping of the ejb-ref to the external
          JNDI namespace?

          It is not enough to have the ejb-ref tags in your
          ejb-jar.xml. You often times than not need a jboss.xml
          file that ties the ejb-ref to something in the external
          or global JNDI namespace...