-
1. Re: ejb-ref found in jboss.xml but not in ejb-jar.xml
haraldgliebe Jul 7, 2003 2:37 AM (in response to gatep5)You don't need the ejb-ref in jboss.xml for a local ejb-reference. Just remove the complete ejb-ref entry from jboss.xml. The reference is already linked to an EJB with the ejb-link element in ejb-jar.xml. However, since the bean you're referencing is in a different jar, you need to specify it in your ejb-link.
<ejb-link>../BlogEJB.jar#BlogEJB</ejb-link>
Regards,
Harald -
2. Re: ejb-ref found in jboss.xml but not in ejb-jar.xml
gatep5 Jul 7, 2003 11:58 AM (in response to gatep5)Ok, the bean will now deploy. I managed to put all the class files and deployment descriptors in the same ejb file. Now, as before when the items were seperated, I am getting a METHOD IS NOT FOUND exception being thrown when trying to use a getBlog method that calles the BlogEJB to findByDate(String date). When I use the other getBlog method that looks up the BlogEJB by primary key, I get:
BlogHomeLocal not bound. Any clues would be very helpful.
Keith