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