bharath sadanagiri [http://community.jboss.org/people/jayabharath] created the discussion
"How to use ejb3 in ejb2 using xdoclet" To view the discussion, visit: http://community.jboss.org/message/569647#569647 -------------------------------------------------------------- Hi, We have an EJB2 project, in this project xdoclets have been used. I have written an EJB3.0 stateless session bean, I am trying to use the EJB3.0 stateless SB in 2.0 MDB that has xdoclets. I have declared like the following * @jboss.depends * name="jboss.j2ee:jndiName=ERPayrollReceiver/AuditService/local,service=EJB" * * @ejb.ejb-ref ejb-name="AuditService" * view-type="local" * ref-name="ejb/AuditServiceLocal" But I am getting the following compile time exception. [ejbdoclet] Generating EJB deployment descriptor (ejb-jar.xml). [ejbdoclet] (XDocletMain.start 53 ) Running XDoclet failed. [ejbdoclet] (XDocletMain.start 54 ) <<No such EJB defined: AuditService>> [ejbdoclet] C:\SVN_DAS\ERPush\build\macros-include.xml:15: XDoclet failed. [ejbdoclet] at xdoclet.DocletTask.start(DocletTask.java:471) Any help can be appreciated. Thanks, Bharath -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/569647#569647] Start a new discussion in EJB3 at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
