geronimo-user mailing list archives

I have an EJB that is successfully injected into my web service application:
package com.abc.ivr.scheduler;
@Stateless
public class CallScheduler implements ICallScheduler
it contains an EJB annotation for another EJB:
@EJB
private SysErrorEmail sysErrorEmail;
This ejb is in the same application in a different package:
package com.abc.ivr.common;
@Stateless
public final class SysErrorEmail implements ISysErrorEmail
I have this in my openejb-jar.xml:
</dep:gbean>
<ejb:enterprise-beans>
<ejb:session>
<ejb:ejb-name>CallScheduler</ejb:ejb-name>
<ejb:ejb-ref>
<name:ref-name>com.abc.ivr.scheduler.CallScheduler/sysErrorEmail</name:ref-name>
<name:ejb-link>SysErrorEmail</name:ejb-link>
</ejb:ejb-ref>
</ejb:session>
</ejb:enterprise-beans>
</ejb:openejb-jar>
I get the following error:
10:43:09,611 WARN [OpenEJB] Injection data not found in enc:
jndiName='com.abc.ivr.scheduler.CallScheduler/sysErrorEmail', target=class
com.abc.ivr.scheduler.CallScheduler/sysErrorEmail
What's wrong with my openejb-jar.xml?
Thanks,
Eric
--
View this message in context: http://www.nabble.com/A-little-help-with-openejb-jar.xml-tp19332950s134p19332950.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.