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

    Message Driven Bean Referece problem JBoss 3.0

    mlapolla

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

      <ejb-ref>
      <ejb-ref-name>ejb/JVTActivationSession</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      javax.oss.order.JVTActivationHome
      javax.oss.order.JVTActivationSession
      </ejb-ref>


      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.

      Thanks.

        • 1. Re: Message Driven Bean Referece problem JBoss 3.0
          nhebert

          Mark,

          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...

          Cheers,
          Noel.