Even i am getting the same Exception while deploying.
I am using the local interfaces.
If u have found the solution , pl let us know .
I am alos facing the same problem please let me know if u got solution
ejb-local-ref only works when the .war and target
ejb are in the same ear.
I assume you are using JBoss 3.x.
Sun's DTD for web.xml says that you may specify the jar-file of the EJB in the ejb-link element. The path of the jar should be relative to the war-file. In this case your ejb-link might look like this:
I do not now whether this is supported on JBoss. (Probably not according to the above replay.)
I do have it working with the war and jar packaged together in an ear-file, though. In this case the reference to the jar-file in the ejb-link is not supported ('canliidb.jar#').
My ear contains SomeEJBs.jar and TheWebApp.war on the same level in the ear. The application.xml looks like this:
My ejb-link elements in web.xml refer directly to the ejb-names of the ejb-jar.xml.
Just a thought: Is is possible to use the same name of the ejb-ref (as defined by ejb-ref-name element) as that of your bean (ejb-link element)? The DTD says that ejb-ref-name must be unique within the web-application. It is also recommended to prefix it with 'ejb/'.